/* AI 워크스페이스 기본 토큰 — 원형(devstudio ds) 과 같은 이름 체계. 색은 여기 토큰만 쓴다 */
:root{--ws-bg:#f7f8fa;--ws-surface:#fff;--ws-text:#172b4d;--ws-subtle:#626f86;--ws-border:#dcdfe4;--ws-brand:#0c66e4;--ws-brand-text:#fff;--ws-danger:#c9372c;--ws-ok:#1f845a;--ws-radius:6px;--ws-space:8px;font-family:system-ui,-apple-system,"Noto Sans KR",sans-serif}
body{margin:0;background:var(--ws-bg);color:var(--ws-text)}
.ws-login{max-width:360px;margin:12vh auto;background:var(--ws-surface);border:1px solid var(--ws-border);border-radius:var(--ws-radius);padding:calc(var(--ws-space)*3)}
.ws-login h1{font-size:20px;margin:0 0 var(--ws-space)}
.ws-in{width:100%;box-sizing:border-box;padding:var(--ws-space);border:1px solid var(--ws-border);border-radius:var(--ws-radius);margin:4px 0 var(--ws-space);font:inherit}
.ws-btn{padding:6px 12px;border:1px solid var(--ws-border);border-radius:var(--ws-radius);background:var(--ws-surface);font:inherit;cursor:pointer}
.ws-btn.primary{background:var(--ws-brand);color:var(--ws-brand-text);border-color:var(--ws-brand)}
.ws-err{color:var(--ws-danger)}.ws-sub{color:var(--ws-subtle)}
.ws-top{display:flex;align-items:center;gap:var(--ws-space);padding:var(--ws-space) calc(var(--ws-space)*2);background:var(--ws-surface);border-bottom:1px solid var(--ws-border)}
.ws-top .sp{flex:1}
.ws-menu{max-width:720px;margin:calc(var(--ws-space)*3) auto;background:var(--ws-surface);border:1px solid var(--ws-border);border-radius:var(--ws-radius);padding:calc(var(--ws-space)*2)}
.ws-node{padding:4px 0}.ws-node.l1{padding-left:16px}.ws-node.l2{padding-left:32px}.ws-node.l3{padding-left:48px}
.ws-shell{display:grid;grid-template-rows:minmax(0,1fr);height:100vh;height:100dvh}
.ws-body{min-height:0;min-width:0;overflow:hidden}
.ws-ok{color:var(--ws-ok)}
.ws-dim{position:fixed;inset:0;background:rgba(9,30,66,.45);display:flex;align-items:flex-start;justify-content:center;z-index:100}
.ws-dlg{margin-top:10vh}
@media (max-width:760px){.ws-top{flex-wrap:wrap;padding:6px 8px;gap:6px}.ws-top .ws-sub{font-size:13px}.ws-btn{padding:4px 8px}}
.ws-logo{width:22px;height:22px;border-radius:5px;vertical-align:middle}
.ws-chk{display:flex;gap:6px;align-items:center;margin:0 0 var(--ws-space)}
/* 앱 셸(R-0210) — 아래 띠 · 종 단추 · 알림 목록 · 설치 안내 */
.sh-bars{position:fixed;left:0;right:0;bottom:0;z-index:90;padding-bottom:env(safe-area-inset-bottom)}
.sh-bar{display:flex;align-items:center;gap:var(--ws-space);padding:var(--ws-space) calc(var(--ws-space)*2);background:var(--ws-text);color:var(--ws-brand-text)}
.sh-bar.warn{background:var(--ws-danger)}.sh-bar-t{flex:1}
.sh-x{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:2px 6px}
.sh-bell{position:relative}.sh-bell .n{position:absolute;top:-4px;right:-4px;min-width:16px;border-radius:8px;background:var(--ws-danger);color:var(--ws-brand-text);font-size:11px;line-height:16px;text-align:center}
.sh-bell .n:empty{display:none}
.sh-noti{position:fixed;top:48px;right:8px;width:min(380px,calc(100vw - 16px));max-height:70vh;display:flex;flex-direction:column;background:var(--ws-surface);border:1px solid var(--ws-border);border-radius:var(--ws-radius);box-shadow:0 8px 24px rgba(9,30,66,.25);z-index:95}
.sh-noti-h{display:flex;align-items:center;gap:var(--ws-space);padding:var(--ws-space);border-bottom:1px solid var(--ws-border)}.sh-noti-h .sp{flex:1}
.sh-noti-b{overflow:auto;padding:4px}
.sh-noti-i{display:flex;gap:var(--ws-space);padding:var(--ws-space);border-radius:var(--ws-radius);cursor:pointer}
.sh-noti-i:hover{background:var(--ws-bg)}.sh-noti-i.new{background:#e9f2ff}
.sh-noti-i .t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.sh-noti-i .w{font-size:12px}
.sh-inst h1{display:flex;align-items:center;gap:8px}.sh-inst h1 img{width:36px;height:36px;border-radius:8px}
.sh-inst ol{padding-left:20px;line-height:1.6}.sh-inst-b{display:flex;gap:var(--ws-space);flex-wrap:wrap}
.ws-help{margin-top:calc(var(--ws-space)*2);font-size:13px}
.sh-users td,.sh-users th{padding:4px 6px;font-size:13px;vertical-align:middle}.sh-acts{white-space:nowrap}
.sh-st{display:inline-block;padding:1px 8px;border-radius:10px;font-size:12px;background:var(--ws-bg)}
.sh-st.ok{background:#dcfff1;color:var(--ws-ok)}.sh-st.wait{background:#fff7d6;color:#7f5f01}.sh-st.err{background:#ffeceb;color:var(--ws-danger)}
.sh-uadd{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:var(--ws-space)}.sh-uadd .ws-in{width:auto;flex:1 1 140px;margin:0}
.sh-out{margin-top:var(--ws-space)}.sh-out .ws-in{flex:1;margin:0}
.sh-prof{position:fixed;z-index:96;width:260px;background:var(--ws-surface);border:1px solid var(--ws-border);border-radius:var(--ws-radius);box-shadow:0 8px 24px rgba(9,30,66,.25);padding:6px}
.sh-prof-h{display:flex;gap:10px;align-items:center;padding:8px;border-bottom:1px solid var(--ws-border);margin-bottom:4px}
.sh-prof-h img,.sh-prof-h .ph{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}.sh-prof-h .ph{display:inline-flex;align-items:center;justify-content:center;background:var(--ws-brand);color:var(--ws-brand-text);font-weight:600;font-size:18px}
.sh-prof-i{display:block;width:100%;text-align:left;border:0;background:transparent;padding:8px 10px;border-radius:var(--ws-radius);font:inherit;cursor:pointer;color:inherit}
.sh-prof-i:hover{background:var(--ws-bg)}
.sh-noti{top:44px;left:8px;right:auto}
[data-onebell]:empty{display:none}
