/* StyleShop 관리자 v2 (design/cs.pen A2). 옅은 돌색 ㄱ자 틀 + 흰 시트, 그림자 없음, 색은 데이터에만 */
:root{
  --ground:#f4f4f2;--surface:#fff;--raised:#f3f3f1;--active:#ebebe8;--border:#e8e7e3;--rule:#f0efec;--control:#cfcec9;
  --text:#131416;--muted:#5d5f60;--accent:#1b6c80;--accent-soft:#e3eff2;--primary:#1d1f20;
  --pos:#1e7b4f;--neg:#c4242a;--memo:#fff6dc;
  --pill-bg:#ebedee;--pill-ink:#353736;--pos-bg:#dcfae5;--pos-ink:#04250e;--neg-bg:#ffedea;--neg-ink:#831c1e;--warn-bg:#fffbeb;--warn-ink:#92400e;
  --sidebar:228px;--inset:8px;--radius-sheet:16px;--radius-control:6px;--pad:24px;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{background:var(--ground);color:var(--text);font:14px/1.5 "IBM Plex Sans KR",system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased}
button,select,input,textarea{font:inherit;color:inherit}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mono{font-family:"IBM Plex Mono",monospace;font-size:.92em}
.num{font-variant-numeric:tabular-nums}
.mark{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:7px;background:var(--accent);color:#fff;font-size:14px;font-weight:600;flex:none}
.av{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:12px;font-weight:600;flex:none;background:var(--active);color:var(--pill-ink)}
.av.xs{width:20px;height:20px;font-size:11px}
.t-sky{background:#dbeaf7;color:#1f4f7a}.t-sea{background:#fde8d0;color:#7a3e0c}.t-moss{background:#e2f2df;color:#245b22}
.pill{display:inline-block;padding:1px 8px;border-radius:4px;background:var(--pill-bg);color:var(--pill-ink);font-size:12px;font-weight:500;line-height:20px;white-space:nowrap}
.pill.pos{background:var(--pos-bg);color:var(--pos-ink)}.pill.neg{background:var(--neg-bg);color:var(--neg-ink)}.pill.warn{background:var(--warn-bg);color:var(--warn-ink)}

/* 틀 */
.frame{display:flex;height:100%}
.sidebar{width:var(--sidebar);flex:none;display:flex;flex-direction:column;gap:2px;padding:14px 10px}
.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 18px;text-decoration:none}
.brand span:last-child{display:flex;flex-direction:column;line-height:1.3}
.brand strong{font-weight:600}.brand small{font-size:12px;color:var(--muted)}
.sidebar nav{display:flex;flex-direction:column;gap:2px;flex:1}
.sidebar nav a,.sidebar nav .off{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:8px;text-decoration:none;color:#45474a}
.sidebar nav a:hover{background:var(--active)}
.sidebar nav a.on{background:var(--active);color:var(--text);font-weight:500}
.sidebar nav .off{color:#8b8d8f;cursor:default}
.sidebar nav a>span,.sidebar nav .off>span{flex:1}
.sidebar nav b{font-size:12px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.sidebar .me{display:flex;align-items:center;gap:10px;padding:8px 4px 4px 10px}
.me>span:not(.av){flex:1;display:flex;flex-direction:column;line-height:1.35;min-width:0}
.me strong{font-size:13px;font-weight:500}
.me small{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.live{width:7px;height:7px;border-radius:50%;background:#a3a5a7}.live.on{background:var(--pos)}
.ib{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--muted);border:0;background:none;cursor:pointer;flex:none}
.ib:hover{background:var(--active);color:var(--text)}
.main{flex:1;min-width:0;display:flex;flex-direction:column;padding:0 var(--inset) var(--inset) 0}
.topbar{height:48px;flex:none;display:flex;align-items:center;justify-content:center;gap:12px}
.mbrand{display:none}
.search{display:flex;align-items:center;gap:8px;width:min(480px,100%);height:32px;padding:0 12px;border:1px solid var(--control);border-radius:8px;background:#fff;color:var(--muted)}
.search input{flex:1;min-width:0;border:0;outline:0;background:none;font-size:13px;color:var(--text)}
.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(27,108,128,.12)}
.sheet{flex:1;min-height:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sheet);overflow:hidden;display:flex;flex-direction:column}

/* 버튼 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 12px;border-radius:var(--radius-control);border:1px solid var(--control);background:#fff;cursor:pointer;font-size:13px;font-weight:500;white-space:nowrap;transition:background .12s ease,transform .12s ease}
.btn:hover{background:var(--raised)}.btn:active{transform:scale(.97)}
.btn.dark{background:var(--primary);color:#fff;border-color:var(--primary)}.btn.dark:hover{background:#000}
.btn.link{height:auto;border:0;padding:0;background:none;color:var(--accent);font-size:12px}
.btn.link:hover{text-decoration:underline;text-underline-offset:3px}

/* 상담 3칸 */
.cs{display:grid;grid-template-columns:340px minmax(0,1fr) 320px;flex:1;min-height:0}
.queue{display:flex;flex-direction:column;border-right:1px solid var(--border);min-height:0}
.qh{padding:22px 20px 0}
.qh h1{margin:0;font-size:22px;font-weight:600;letter-spacing:-.01em}
.finding{margin:4px 0 0;min-height:20px;font-size:13px;color:var(--muted)}.finding.late{color:var(--neg)}
.tabs{display:flex;gap:18px;margin-top:14px;border-bottom:1px solid var(--border)}
.tabs button{background:none;border:0;padding:0 0 10px;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;font-size:13px;white-space:nowrap}
.tabs button:hover{color:var(--text)}
.tabs button[aria-selected=true]{color:var(--text);font-weight:600;border-color:var(--text)}
.tabs b{font-weight:400;color:var(--muted);font-variant-numeric:tabular-nums}
.convs{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}
.cv button{width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--rule);padding:14px 20px;cursor:pointer;display:flex;flex-direction:column;gap:4px}
.cv button:hover{background:var(--raised)}
.cv.sel button{background:var(--active);box-shadow:inset 2px 0 0 var(--accent)}
.l1,.l3{display:flex;align-items:center;gap:8px}
.l1 strong{font-weight:400}.l1 strong.unread{font-weight:600}
.sp{flex:1}
.dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none}
.w{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.w.late{color:var(--neg);font-weight:500}
.cv .msg{margin:0;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.l3{font-size:12px;color:var(--muted);white-space:pre}
.un{font-size:12px;color:var(--neg)}
.none{padding:24px 20px;color:var(--muted);list-style:none;font-size:13px}

.conv{display:flex;flex-direction:column;min-height:0;min-width:0}
.empty{flex:1;display:grid;place-items:center;color:var(--muted);text-align:center;font-size:14px}
.ch{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px var(--pad);border-bottom:1px solid var(--border)}
.hl{min-width:0}
.t1{display:flex;align-items:center;gap:8px}
.ch h2{margin:0;font-size:16px;font-weight:600}
.ch .sub{margin:2px 0 0;font-size:12px;color:var(--muted);white-space:pre}
.acts{display:flex;gap:8px;flex:none}
.back{display:none}
.thread{flex:1;overflow-y:auto;padding:20px var(--pad);display:flex;flex-direction:column;gap:14px}
.cust,.mine{display:flex;flex-direction:column;gap:4px;max-width:min(520px,80%)}
.mine{align-self:flex-end;align-items:flex-end}
.b{padding:10px 14px;line-height:1.5}
.cust .b{background:var(--raised);border-radius:14px 14px 14px 4px}
.mine .b{background:var(--accent-soft);border-radius:14px 14px 4px 14px}
.note .b{background:var(--memo);border-radius:14px 14px 4px 14px}
.nk{display:block;font-size:12px;font-weight:600;color:var(--warn-ink);margin-bottom:2px}
.b p{margin:0}.pre{white-space:pre-wrap;word-break:break-word}
.att{display:block;color:inherit}
.att img{display:block;max-width:220px;max-height:280px;border-radius:8px}
.att.file{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:var(--raised);font-size:13px;text-decoration:none}
.meta{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:pre}
.sys{margin:0;text-align:center;font-size:12px;color:var(--muted);white-space:pre}
.fbox{width:360px;max-width:100%;display:flex;flex-direction:column;gap:2px;padding:14px;border:1px solid var(--border);border-radius:8px;background:#fff}
.fh{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.fh strong{font-weight:600}
.fbox .kv,.side .kv{display:flex;justify-content:space-between;gap:12px;min-height:28px;align-items:center;font-size:13px}
.kv span{color:var(--muted)}.kv b{font-weight:400;text-align:right}
.kv b.pos{color:var(--pos)}.kv b.mute{color:var(--muted)}
.ocard{display:flex;gap:12px;align-items:center;width:340px;max-width:100%;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff}
.thumb{width:48px;height:60px;border-radius:4px;background:#dcd8d1;overflow:hidden;flex:none}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.oc{display:flex;flex-direction:column;gap:2px;min-width:0}
.oc strong{font-size:13px;font-weight:500}
.oc .mono{font-size:12px;color:var(--muted)}
.op{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;font-variant-numeric:tabular-nums}
.op .eta{color:var(--muted)}

.comp{padding:0 var(--pad) 20px;display:flex;flex-direction:column;gap:8px}
.away{margin:0;font-size:12px;color:var(--muted)}.away:empty{display:none}
.card{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid var(--control);border-radius:12px;background:#fff;transition:border-color .12s ease,background .12s ease}
.card:focus-within{border-color:var(--accent)}
.noting .card{background:var(--memo);border-color:#e9d9a8}
.box{width:100%;min-height:44px;max-height:200px;border:0;outline:0;background:none;resize:none;font-size:14px;line-height:1.5}
.box:focus-visible{outline:0}
.box:disabled{opacity:.55}
.files{margin:0;font-size:12px;color:var(--muted)}.files:empty{display:none}
.tools{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.tool{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 8px;border:0;border-radius:6px;background:none;color:#45474a;cursor:pointer;font-size:13px;list-style:none}
.tool svg{color:var(--muted)}
.tool:hover{background:var(--raised)}
.tool[aria-pressed=true]{background:var(--warn-bg);color:var(--warn-ink)}.tool[aria-pressed=true] svg{color:var(--warn-ink)}
.btn.send{height:30px;padding:0 14px;background:var(--accent);color:#fff;border-color:var(--accent)}.btn.send:hover{background:#155a6b}
.menu{position:relative}.menu summary::-webkit-details-marker{display:none}
.menu[open] summary{background:var(--active)}
.pop{position:absolute;bottom:calc(100% + 6px);left:0;min-width:240px;max-width:360px;padding:4px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.08);display:flex;flex-direction:column;z-index:5}
.btn.item{justify-content:flex-start;height:auto;min-height:34px;padding:6px 10px;border:0;border-radius:6px;font-weight:400;white-space:normal;text-align:left}
.pe{margin:0;padding:8px 10px;font-size:13px;color:var(--muted)}

.side{border-left:1px solid var(--border);padding:22px 20px;display:flex;flex-direction:column;gap:24px;overflow-y:auto}
.side section{display:flex;flex-direction:column}
.side h3{margin:0 0 4px;font-size:12px;font-weight:400;color:var(--muted)}
.side .name{margin:0 0 4px;font-size:16px;font-weight:600}
.side .kv{min-height:30px}
.order{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--rule)}
.order:last-child{border-bottom:0}
.order .btn.link{align-self:flex-start;margin-top:4px}

dialog.assign{border:1px solid var(--border);border-radius:12px;padding:24px;background:#fff;width:min(380px,calc(100% - 32px));box-shadow:0 16px 48px rgba(0,0,0,.12)}
dialog.assign::backdrop{background:rgba(19,20,22,.28)}
dialog.assign h3{margin:0;font-size:16px;font-weight:600}
dialog.assign .d{margin:4px 0 16px;font-size:13px;color:var(--muted)}
dialog.assign label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;margin-bottom:14px}
dialog.assign select{height:36px;padding:0 10px;border:1px solid var(--control);border-radius:var(--radius-control);background:#fff;font-weight:400}
dialog.assign .row{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);margin:0;padding:10px 16px;border-radius:8px;background:var(--primary);color:#fff;z-index:10;font-size:13px}.toast.bad{background:var(--neg)}

/* 상담 기록 */
.rec{padding:22px var(--pad) var(--pad);display:flex;flex-direction:column;gap:28px;overflow-y:auto}
.rec h1{margin:0;font-size:22px;font-weight:600}.rec h2{margin:0 0 8px;font-size:16px;font-weight:600}
.rec p.d{margin:4px 0 0;color:var(--muted);font-size:13px}
.rec .wrap{max-height:360px;overflow:auto;border:1px solid var(--border);border-radius:8px}
.rec table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.rec th,.rec td{padding:0 12px;height:40px;border-bottom:1px solid var(--rule);text-align:left;vertical-align:middle}
.rec th{font-weight:500;color:var(--muted);background:var(--raised);position:sticky;top:0;font-size:12px}
.rec th,.rec td.mono,.rec td:nth-child(3){white-space:nowrap}
.rec tr:hover td{background:var(--raised)}

/* 로그인 */
.login{display:grid;place-items:center;min-height:100%;padding:16px}
.login-box{width:min(380px,100%);display:flex;flex-direction:column;gap:16px;padding:28px;background:#fff;border:1px solid var(--border);border-radius:16px}
.login .logo{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;margin-bottom:4px}
.login .logo span:last-child{display:flex;flex-direction:column;line-height:1.35}
.login .logo small{font-size:12px;font-weight:400;color:var(--muted)}
.login-box label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500}
.login-box input,.login-box select{height:40px;padding:0 12px;border:1px solid var(--control);border-radius:8px;background:#fff;font-size:14px;font-weight:400}
.login-box input:focus,.login-box select:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px rgba(27,108,128,.12)}
.login-box button{height:44px;border-radius:8px;background:var(--primary);color:#fff;border:0;font-weight:500;cursor:pointer}
.login-box button:hover{background:#000}
.login-box a{font-size:13px;color:var(--muted);text-align:center}
.err{margin:0;color:var(--neg);font-size:13px}

/* 좁은 화면 */
@media (max-width:1180px){.cs{grid-template-columns:300px minmax(0,1fr)}.side{display:none}}
@media (max-width:860px){
  .sidebar{display:none}
  .main{padding:0}
  .topbar{justify-content:space-between;padding:0 12px 0 16px}
  .mbrand{display:flex;align-items:center;gap:8px;font-weight:600;text-decoration:none;flex:none}.mbrand .mark{width:24px;height:24px;font-size:12px}
  .search{width:auto;flex:1;max-width:320px}
  .sheet{border-radius:0;border-width:1px 0 0}
}
@media (max-width:720px){
  .cs{grid-template-columns:1fr}.conv{display:none}.cs.open .queue{display:none}.cs.open .conv{display:flex}
  .back{display:inline-grid}
  .ch{flex-wrap:wrap;padding:12px 16px}.acts{flex-wrap:wrap}
  .thread{padding:16px}.comp{padding:0 12px 12px}
  .cust,.mine{max-width:88%}
  .fbox,.ocard{width:100%}
  .rec{padding:16px}
}
.btn.ib{width:32px;height:32px;padding:0;border:0;background:none}.btn.ib:hover{background:var(--active)}

/* 배정과 평가 (design/cs.pen A3) */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.mystatus{display:flex;align-items:center;gap:6px}
.mystatus select{border:0;background:none;padding:0;font-size:12px;color:var(--muted);cursor:pointer}
.mystatus select:hover{color:var(--text)}
.live.lost{background:#fff;box-shadow:0 0 0 1.5px var(--neg)}
.btn.danger{color:var(--neg)}
.btn.danger-solid{background:var(--neg);border-color:var(--neg);color:#fff}.btn.danger-solid:hover{background:#a31d22}
.kv b.neg{color:var(--neg)}
dialog.assign.wide{width:min(560px,calc(100% - 32px))}
dialog.assign .lab{display:block;font-size:13px;font-weight:500;margin-bottom:6px}
dialog.assign .field{margin-bottom:14px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{position:relative;display:inline-flex !important;margin:0 !important;cursor:pointer}
.chip input{position:absolute;opacity:0;pointer-events:none}
.chip span{display:inline-block;padding:5px 12px;border:1px solid var(--control);border-radius:16px;font-size:13px;font-weight:400}
.chip input:checked+span{border-color:var(--text);background:var(--text);color:#fff}
.chip input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
fieldset.agents{border:0;padding:0;margin:0 0 14px}
fieldset.agents legend{font-size:13px;font-weight:500;padding:0;margin-bottom:6px}
.opt{display:flex !important;flex-direction:row !important;align-items:center;gap:10px;min-height:38px;padding:0 10px;margin:0 !important;border-radius:6px;cursor:pointer;font-weight:400 !important}
.opt:hover{background:var(--raised)}
.opt:has(input:checked){background:var(--active)}
.opt .n{flex:1;font-size:14px}
.opt .m{font-size:12px;color:var(--muted);white-space:pre}.opt .m.warn{color:var(--neg)}
dialog.assign textarea{width:100%;padding:8px 10px;border:1px solid var(--control);border-radius:6px;font-weight:400;resize:none}
dialog.assign .cnt{align-self:flex-end;font-size:12px;font-weight:400;color:var(--muted)}
.why{margin:0 0 12px;white-space:pre-line;line-height:1.5}
.cands{width:100%;border-collapse:collapse;font-size:13px;margin-bottom:14px}
.cands th{text-align:left;font-weight:400;font-size:12px;color:var(--muted);padding:0 8px 6px 0;border-bottom:1px solid var(--rule)}
.cands td{padding:8px 8px 8px 0;border-bottom:1px solid var(--rule);vertical-align:top}
.cands tr.pick td{font-weight:600}.cands tr.pick td:last-child{color:var(--accent)}
.cands td:last-child{color:var(--muted)}
.hist{margin-bottom:10px}.hist p{margin:2px 0;font-size:12px;color:var(--muted);white-space:pre}
.quote{margin:0 0 16px;padding:12px 14px;border-radius:8px;background:var(--raised);font-size:14px}
.fq{margin:4px 0 0;font-size:13px}
.flagbox{display:flex;flex-direction:column;gap:6px;padding:12px;margin:4px 0 8px;border-radius:8px;background:var(--warn-bg)}
.flagbox .fr{display:flex;align-items:center;gap:8px}.flagbox strong{font-weight:500}
.flagbox p{margin:0;font-size:12px;color:var(--warn-ink)}
.flagacts{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.btn.wide{width:100%}
.flaghist summary{font-size:12px;color:var(--accent);cursor:pointer}
.fh2{display:flex;flex-direction:column;gap:2px;padding:8px 0;border-bottom:1px solid var(--rule)}
.fh2 p{margin:0;font-size:13px;white-space:pre-line}.fh2.off{opacity:.55}
.fh2 .btn.link{align-self:flex-start}
.hint{margin:0;font-size:12px;color:var(--muted)}

/* 상담원 화면 */
.agentsp{padding:22px var(--pad) var(--pad);display:flex;flex-direction:column;gap:28px;overflow-y:auto}
.agentsp h1{margin:0;font-size:22px;font-weight:600}.agentsp h2{margin:0 0 8px;font-size:16px;font-weight:600}
.agentsp p.d{margin:4px 0 0;color:var(--muted);font-size:13px;max-width:70ch}
.agentsp table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.agentsp th{text-align:left;font-weight:500;font-size:12px;color:var(--muted);padding:0 12px;height:36px;background:var(--raised)}
.agentsp td{padding:0 12px;height:52px;border-bottom:1px solid var(--rule)}
.agentsp .wrap{border:1px solid var(--border);border-radius:8px;overflow:auto}
.agentsp select,.agentsp input[type=number]{height:30px;padding:0 8px;border:1px solid var(--control);border-radius:6px;background:#fff;font-size:13px}
.agentsp input[type=number]{width:56px}
.who{display:flex;align-items:center;gap:10px}
.meter{display:flex;align-items:center;gap:8px}
.meter i{display:block;width:72px;height:6px;border-radius:3px;background:var(--rule);overflow:hidden}
.meter i b{display:block;height:100%;background:var(--accent)}
.meter i b.full{background:var(--neg)}
.hl{flex:1;min-width:0}
.t1 h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.subrow{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
@media (max-width:1320px){.ch{flex-wrap:wrap}.acts{flex-wrap:wrap}}
/* 상담 기록 표: 내용은 넓게, 첨부와 입력값은 한 줄로 자름 */
td.wide{min-width:360px}
td.cut{max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 상담을 여는 동안 스켈레톤 */
.sk{display:block;flex:none;border-radius:6px;background:linear-gradient(90deg,#efeeea 25%,#f7f6f3 45%,#efeeea 65%);background-size:300% 100%;animation:sk 1.3s ease-in-out infinite}
.sk.r8{border-radius:8px}.sk.r12{border-radius:12px}.sk.r16{border-radius:16px}
@keyframes sk{from{background-position:100% 0}to{background-position:0 0}}
@media (prefers-reduced-motion:reduce){.sk{animation:none}}
.skconv{flex:1;display:flex;flex-direction:column;min-height:0}
.skcol{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
.skrow{display:flex;gap:8px}
.skmsg{display:flex;flex-direction:column;gap:6px}
.skmsg.r{align-items:flex-end}
.sksec{display:flex;flex-direction:column;gap:10px}
.skkv{display:flex;justify-content:space-between;align-items:center;min-height:20px}
.skord{display:flex;gap:12px;align-items:center}
/* 대화 머리: 좁을 때 설명 줄이 버튼 밑으로 들어가지 않고 줄바꿈 */
.ch .sub{white-space:pre-wrap}
.subrow{min-width:0}
.skcol .sk{max-width:100%}
/* 스크롤은 되고 막대는 안 보이게 */
*{scrollbar-width:none}
::-webkit-scrollbar{display:none;width:0;height:0}
/* 커스텀 셀렉트 자리별 크기 (csel.css) */
label>.csel,dialog.assign .csel,.login-box .csel{display:flex;width:100%}
.login-box button.csel-b{height:40px;border-radius:8px;background:#fff;color:var(--text);font-weight:400;font-size:14px;padding:0 12px;border:1px solid var(--control);margin:0}
.agentsp .csel-b{height:30px;font-size:13px;padding:0 8px 0 10px}
.mystatus .csel-b{height:auto;padding:0;gap:4px;border:0;background:none;box-shadow:none;font-size:12px;color:var(--muted)}
.mystatus .csel-b:hover,.mystatus .csel.is-open .csel-b{color:var(--text);box-shadow:none}
.mystatus>.csel{display:inline-flex;width:auto}
.login-box button.csel-b:hover{background:#fff;border-color:var(--muted)}
.login-box .hint{margin:-6px 0 0;font-size:12px;color:var(--muted)}
