:root{--navy:#102A56;--navy-2:#0B1F42;--navy-3:#1C3B70;--ivory:#F7F5F0;--ivory-2:#EFEBE2;--ink:#0D1B33;--ink-2:#3C4659;--mute:#5F697D;--line:#E3E0D8;--line-2:#D4D0C6;--card:#fff;--ok:#2F6B4F;--ok-bg:#E7F1EB;--warn:#8A5A12;--warn-bg:#FBF1DE;--bad:#A23B32;--bad-bg:#F8E6E3;--info:#2B4F8C;--info-bg:#E6EDF8;--r:10px;--r-s:7px;--sh:0 1px 2px rgba(13,27,51,.05),0 4px 14px rgba(13,27,51,.05);--sh-2:0 12px 40px rgba(13,27,51,.16);--side:248px;--top:64px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Paperlogy',system-ui,-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;background:var(--ivory);color:var(--ink);font-size:15px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}
button,input,select,textarea{font:inherit;color:inherit}
a{color:inherit}
:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* 본문 바로가기(Round 4 G1 R4-05) — .sr 은 늘 화면 밖(clip)이라 키보드 사용자가 Tab 을 눌러도
   링크가 보이지 않았다. 포커스가 오면 화면 위에 실제로 드러난다. */
.sr:focus,.sr:focus-visible{position:fixed;left:16px;top:12px;z-index:300;width:auto;height:auto;overflow:visible;clip:auto;
  padding:9px 16px;border-radius:999px;background:var(--navy);color:#fff;font-weight:600;font-size:.85rem;text-decoration:none;
  box-shadow:0 10px 26px rgba(13,27,51,.24)}
.sr:focus:not(:focus-visible){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);padding:0;background:none;box-shadow:none}
svg.i{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 15px;border-radius:var(--r-s);border:1px solid var(--line-2);background:var(--card);color:var(--ink);font-weight:500;font-size:.92rem;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}
.btn:hover{background:var(--surf-2);border-color:var(--line-strong)}
.btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}
.btn.primary:hover{background:var(--navy-3)}
.btn.danger{color:var(--bad);border-color:var(--bad-line)}
.btn.danger:hover{background:var(--bad-bg)}
.btn.ghost{border-color:transparent;background:transparent}
.btn.ghost:hover{background:rgba(124,155,230,.06)}
.btn.sm{min-height:32px;padding:0 10px;font-size:.84rem}
.btn.icon{width:40px;padding:0}
.btn.sm.icon{width:32px}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.btn .i{width:16px;height:16px}

/* forms */
.field{display:block;margin:0 0 16px}
.field>span,.lbl{display:block;font-size:.82rem;font-weight:600;color:var(--ink-2);margin-bottom:7px}
.field small,.hint{display:block;font-size:.78rem;color:var(--mute);margin-top:6px;line-height:1.5}
input[type=text],input[type=password],input[type=search],input[type=date],input[type=datetime-local],input[type=email],input[type=tel],input:not([type]),select,textarea{width:100%;min-height:44px;border:1px solid var(--line-2);border-radius:var(--r-s);background:var(--card);padding:10px 12px;font-size:.95rem;transition:border-color .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(124,155,230,.12)}
textarea{resize:vertical;line-height:1.7;min-height:120px}
input[readonly]{background:var(--surf-3);color:var(--mute)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.check{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;cursor:pointer}
.check input{width:17px;height:17px;accent-color:var(--navy)}

/* login */
.login{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:var(--card)}
.login-art{background:var(--navy);color:var(--ivory);padding:56px 64px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.login-art::after{content:"";position:absolute;right:-180px;bottom:-180px;width:520px;height:520px;border-radius:50%;border:1px solid rgba(247,245,240,.12);box-shadow:0 0 0 70px rgba(247,245,240,.03),0 0 0 140px rgba(247,245,240,.025)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand img{height:26px;width:auto}
.brand b{font-weight:700;letter-spacing:.12em;font-size:1.05rem}
.login-art h1{font-size:clamp(2rem,3.4vw,2.9rem);line-height:1.25;font-weight:700;margin:0 0 18px;max-width:12em}
.login-art p{color:#C9D1DF;max-width:30em;margin:0}
.login-art .foot{font-size:.8rem;color:#93A0B8;position:relative;z-index:1}
.login-form{display:flex;align-items:center;justify-content:center;padding:48px 28px}
.login-card{width:min(400px,100%)}
.eyebrow{font-size:.74rem;letter-spacing:.16em;color:var(--mute);font-weight:600;margin:0 0 10px}
.login-card h2{font-size:1.7rem;margin:0 0 6px}
.login-card .sub{color:var(--mute);font-size:.9rem;margin:0 0 28px}
.pw{position:relative}
.pw input{padding-right:64px}
.pw button{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;font-size:.8rem;color:var(--ink-2);padding:6px 8px;cursor:pointer;border-radius:5px}
.pw button:hover{background:var(--ivory)}
.login-card .btn.primary{width:100%;min-height:48px;margin-top:6px;font-size:1rem}
.status{font-size:.86rem;margin:14px 0 0;min-height:1.4em}
.status.err{color:var(--bad)}
.status.ok{color:var(--ok)}
.login-links{display:flex;justify-content:space-between;margin-top:28px;font-size:.82rem;color:var(--mute)}
.login-links a{color:var(--ink-2)}
.otp{letter-spacing:.5em;text-align:center;font-size:1.3rem!important;font-weight:600}

/* shell */
.shell{display:grid;grid-template-columns:var(--side) minmax(0,1fr);min-height:100vh}
.side{position:sticky;top:0;height:100vh;background:var(--navy-2);color:#DCE2EC;display:flex;flex-direction:column;padding:20px 14px;z-index:30}
.side .brand{padding:6px 10px 22px;color:#fff}
.side .brand span{font-size:.72rem;color:#93A0B8;letter-spacing:.06em;margin-left:2px}
.nav{display:flex;flex-direction:column;gap:2px;overflow-y:auto;flex:1}
.nav-sec{font-size:.68rem;letter-spacing:.14em;color:#7F8DA6;padding:16px 12px 6px;font-weight:600}
.nav a{display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:8px;text-decoration:none;font-size:.92rem;color:#C9D1DF;position:relative}
.nav a:hover{background:rgba(255,255,255,.06);color:#fff}
.nav a.on{background:rgba(247,245,240,.12);color:#fff;font-weight:600}
.nav a.on::before{content:"";position:absolute;left:-14px;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:var(--ivory)}
.nav .badge{margin-left:auto}
.me{display:flex;align-items:center;gap:10px;padding:12px 10px 4px;border-top:1px solid rgba(255,255,255,.08);margin-top:10px}
.me .who{min-width:0;flex:1}
.me b{display:block;font-size:.88rem;color:#fff;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.me small{display:block;font-size:.74rem;color:#93A0B8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.me .btn{color:#C9D1DF}
.me .btn:hover{background:rgba(255,255,255,.08)}
.av{width:34px;height:34px;border-radius:50%;background:var(--ivory);color:var(--navy);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;flex:none}
.av.lg{width:52px;height:52px;font-size:1.1rem}
.main{min-width:0;display:flex;flex-direction:column}
.top{position:sticky;top:0;z-index:20;height:var(--top);display:flex;align-items:center;gap:14px;padding:0 32px;background:rgba(247,245,240,.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.top .menu{display:none}
.search{position:relative;flex:1;max-width:460px}
.search .i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--mute)}
.search input{padding-left:38px;min-height:40px;background:var(--card)}
.search kbd{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-family:inherit;font-size:.72rem;color:var(--mute);border:1px solid var(--line-2);border-radius:4px;padding:1px 6px;background:var(--surf-2)}
.top .sp{flex:1}
.content{padding:30px 32px 80px;width:100%;max-width:1280px}
.ph{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap}
.ph h1{font-size:1.75rem;line-height:1.3;margin:0;font-weight:700}
.ph p{margin:6px 0 0;color:var(--mute);font-size:.92rem}
.ph .acts{display:flex;gap:8px;flex-wrap:wrap}
.crumb{display:flex;gap:6px;align-items:center;font-size:.82rem;color:var(--mute);margin-bottom:12px}
.crumb a{text-decoration:none}
.crumb a:hover{color:var(--ink)}

/* cards */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh)}
.card.pad{padding:22px}
.card-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
.card-h h2,.card-h h3{font-size:1rem;margin:0;font-weight:600;display:flex;align-items:center;gap:8px}
.card-h a{font-size:.82rem;color:var(--mute);text-decoration:none}
.card-h a:hover{color:var(--ink)}
.grid{display:grid;gap:18px}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.stat{padding:18px 20px;display:flex;flex-direction:column;gap:6px;text-decoration:none}
.stat:hover{border-color:var(--line-2)}
.stat .k{font-size:.82rem;color:var(--mute);display:flex;align-items:center;gap:7px}
.stat .v{font-size:1.9rem;font-weight:700;line-height:1.1}
.stat .d{font-size:.8rem;color:var(--mute)}
.hello{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--navy);color:var(--ivory);border-radius:var(--r);padding:26px 28px;margin-bottom:18px;flex-wrap:wrap}
.hello h1{font-size:1.5rem;margin:0 0 4px}
.hello p{margin:0;color:#C9D1DF;font-size:.9rem}
.hello .btn{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#fff}
.hello .btn:hover{background:rgba(255,255,255,.14)}

/* lists */
.list{list-style:none;margin:0;padding:0}
.li{display:flex;align-items:center;gap:14px;padding:14px 20px;border-bottom:1px solid var(--line);text-decoration:none;min-width:0}
.li:last-child{border-bottom:0}
a.li:hover,.li.click:hover{background:var(--surf-2);cursor:pointer}
.li .t{flex:1;min-width:0}
.li .t b{display:block;font-weight:500;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li .t small{display:flex;gap:8px;flex-wrap:wrap;font-size:.78rem;color:var(--mute);margin-top:2px}
.li .r{font-size:.8rem;color:var(--mute);white-space:nowrap;display:flex;align-items:center;gap:8px}
.li.unread .t b{font-weight:700}
.dot{width:7px;height:7px;border-radius:50%;background:var(--navy);flex:none}
.dot.off{background:transparent}
.empty{padding:44px 20px;text-align:center;color:var(--mute);font-size:.9rem}
.empty .i{width:28px;height:28px;color:#B8B3A7;margin-bottom:8px}
.more{display:flex;justify-content:center;padding:14px}

.badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--ivory);color:var(--navy);font-size:.72rem;font-weight:700}
.side .badge{background:var(--line-soft);color:var(--navy-2)}
.pill{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:12px;font-size:.75rem;font-weight:600;background:var(--surf-3);color:var(--ink-2);white-space:nowrap}
.pill.ok{background:var(--ok-bg);color:var(--ok)}
.pill.warn{background:var(--warn-bg);color:var(--warn)}
.pill.bad{background:var(--bad-bg);color:var(--bad)}
.pill.info{background:var(--info-bg);color:var(--info)}
.pill.navy{background:var(--navy);color:#fff}
.tag{font-size:.75rem;color:var(--ink-2);background:var(--surf-3);border-radius:4px;padding:1px 7px}

.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{border:1px solid var(--line-2);background:var(--card);border-radius:18px;padding:5px 13px;font-size:.84rem;cursor:pointer;color:var(--ink-2)}
.chip:hover{border-color:var(--line-strong)}
.chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.toolbar .search{max-width:300px}
.seg{display:inline-flex;border:1px solid var(--line-2);border-radius:var(--r-s);overflow:hidden;background:var(--card)}
.seg button{border:0;background:transparent;padding:8px 14px;font-size:.86rem;cursor:pointer;color:var(--ink-2)}
.seg button.on{background:var(--navy);color:#fff}
.seg button+button{border-left:1px solid var(--line-2)}

/* article */
.art{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;align-items:start}
.art.single{grid-template-columns:minmax(0,1fr)}
.doc{padding:34px 40px}
.doc h1.title{font-size:1.65rem;line-height:1.35;margin:10px 0 12px}
.meta{display:flex;gap:14px;flex-wrap:wrap;align-items:center;font-size:.83rem;color:var(--mute);padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:26px}
.meta .who{display:flex;align-items:center;gap:8px;color:var(--ink-2);font-weight:500}
.meta .av{width:26px;height:26px;font-size:.72rem;background:var(--ivory-2)}
.md{font-size:1rem;line-height:1.85;color:#1B2638}
.md>*:first-child{margin-top:0}
.md h2{font-size:1.3rem;margin:34px 0 12px;padding-bottom:8px;border-bottom:1px solid var(--line);scroll-margin-top:90px}
.md h3{font-size:1.12rem;margin:26px 0 10px;scroll-margin-top:90px}
.md h4{font-size:1rem;margin:20px 0 8px}
.md p{margin:0 0 14px}
.md ul,.md ol{margin:0 0 14px;padding-left:1.4em}
.md li{margin:4px 0}
.md li.task{list-style:none;margin-left:-1.4em;display:flex;gap:8px;align-items:flex-start}
.md li.task i{width:16px;height:16px;border:1.5px solid var(--navy);border-radius:4px;flex:none;margin-top:6px;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;color:#fff}
.md li.task.done i{background:var(--navy)}
.md li.task.done span{color:var(--mute);text-decoration:line-through}
.md blockquote{margin:0 0 14px;padding:12px 16px;border-left:3px solid var(--navy);background:var(--surf-3);border-radius:0 6px 6px 0;color:var(--ink-2)}
.md pre{background:#0F1E38;color:#E6EBF3;padding:14px 16px;border-radius:8px;overflow:auto;font-size:.86rem;line-height:1.6;margin:0 0 14px}
.md code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;background:var(--surf-3);padding:1px 5px;border-radius:4px}
.md pre code{background:none;padding:0;color:inherit}
.md hr{border:0;border-top:1px solid var(--line);margin:26px 0}
.md a{color:var(--navy);text-underline-offset:3px}
.md strong{font-weight:700}
.toc{position:sticky;top:calc(var(--top) + 24px);padding:18px}
.toc h4{font-size:.78rem;letter-spacing:.12em;color:var(--mute);margin:0 0 10px}
.toc a{display:block;font-size:.85rem;text-decoration:none;color:var(--ink-2);padding:5px 0 5px 10px;border-left:2px solid var(--line)}
.toc a.l3{padding-left:22px;font-size:.82rem}
.toc a:hover{color:var(--ink);border-left-color:var(--navy)}
.files{display:flex;flex-direction:column;gap:8px;margin-top:26px}
.file{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--surf-2)}
.file .ext{width:38px;height:38px;border-radius:6px;background:var(--ivory-2);color:var(--navy);display:flex;align-items:center;justify-content:center;font-size:.66rem;font-weight:700;letter-spacing:.04em;flex:none;text-transform:uppercase}
.file .n{flex:1;min-width:0}
.file .n b{display:block;font-weight:500;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file .n small{font-size:.76rem;color:var(--mute)}
.thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.thumbs img{width:150px;height:110px;object-fit:cover;border-radius:6px;border:1px solid var(--line);cursor:zoom-in;background:var(--ivory)}
.side-box{padding:18px}
.side-box h4{font-size:.8rem;color:var(--mute);margin:0 0 10px;font-weight:600}
.side-box .btn{width:100%;justify-content:flex-start;margin-bottom:6px}

/* comments */
.comments{margin-top:22px}
.comments h3{font-size:1rem;margin:0 0 14px}
.cmt{display:flex;gap:12px;padding:14px 0;border-top:1px solid var(--line)}
.cmt .av{width:32px;height:32px;font-size:.78rem;background:var(--ivory-2)}
.cmt .b{flex:1;min-width:0}
.cmt .b header{display:flex;gap:10px;align-items:center;font-size:.82rem;color:var(--mute)}
.cmt .b header b{color:var(--ink);font-weight:600}
.cmt .b p{margin:4px 0 0;white-space:pre-wrap;font-size:.94rem}
.cform{display:flex;gap:10px;align-items:flex-end;margin-top:12px}
.cform textarea{min-height:52px;height:52px}

/* editor */
.editor .bar{display:flex;gap:2px;flex-wrap:wrap;padding:6px;border:1px solid var(--line-2);border-bottom:0;border-radius:var(--r-s) var(--r-s) 0 0;background:var(--surf-2);align-items:center}
.editor .bar button{border:0;background:transparent;border-radius:5px;padding:5px 9px;font-size:.82rem;cursor:pointer;color:var(--ink-2);min-height:30px}
.editor .bar button:hover{background:var(--surf-3);color:var(--ink)}
.editor .bar .sep{width:1px;height:18px;background:var(--line-2);margin:0 4px}
.editor .bar .tabs{margin-left:auto;display:flex;gap:2px}
.editor .bar .tabs button.on{background:var(--navy);color:#fff}
.editor textarea{border-radius:0 0 var(--r-s) var(--r-s);min-height:360px;font-size:.95rem}
.editor .pv{border:1px solid var(--line-2);border-radius:0 0 var(--r-s) var(--r-s);padding:20px 22px;min-height:360px;background:var(--card)}
.drop{border:1.5px dashed var(--line-2);border-radius:var(--r-s);padding:18px;text-align:center;color:var(--mute);font-size:.86rem;background:var(--surf-2);cursor:pointer;transition:border-color .15s,background .15s}
.drop:hover,.drop.over{border-color:var(--navy);background:var(--surf-2);color:var(--ink-2)}
.drop .i{width:22px;height:22px;display:block;margin:0 auto 6px}
.form-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:18px;border-top:1px solid var(--line);margin-top:20px;flex-wrap:wrap}
.form-foot .l{font-size:.8rem;color:var(--mute)}
.form-foot .r{display:flex;gap:8px}

/* reports */
.sheet{padding:36px 42px}
.sheet .hd{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:2px solid var(--navy);padding-bottom:18px;margin-bottom:6px}
.sheet .hd h1{font-size:1.5rem;margin:8px 0 0}
.kv{display:grid;grid-template-columns:120px 1fr;border-bottom:1px solid var(--line)}
.kv>div{padding:10px 0;font-size:.9rem}
.kv>div:nth-child(odd){color:var(--mute)}
.sec{margin-top:26px}
.sec h3{font-size:.95rem;margin:0 0 10px;display:flex;align-items:center;gap:8px;color:var(--navy)}
.sec h3::before{content:"";width:4px;height:16px;background:var(--navy);border-radius:2px}
.review{margin-top:28px;padding:18px 20px;border-radius:8px;background:var(--surf-3);border:1px solid var(--line)}
.review h3{margin:0 0 8px;font-size:.92rem}
.review p{margin:0;white-space:pre-wrap;font-size:.92rem}
.review small{display:block;margin-top:8px;color:var(--mute);font-size:.78rem}
.steps{display:flex;gap:6px;align-items:center;font-size:.78rem;color:var(--mute)}
.steps span{display:inline-flex;align-items:center;gap:6px}
.steps span::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--line-2)}
.steps span.on{color:var(--ink);font-weight:600}
.steps span.on::before{background:var(--navy)}
.steps i{width:16px;height:1px;background:var(--line-2)}

/* kanban */
.kanban{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.col{background:var(--surf-3);border-radius:var(--r);padding:12px;min-height:240px;transition:background .15s}
.col.over{background:var(--line-soft)}
.col-h{display:flex;align-items:center;justify-content:space-between;padding:4px 6px 12px}
.col-h b{font-size:.9rem;display:flex;gap:8px;align-items:center}
.col-h b::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--c,#999)}
.tcard{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:12px 13px;margin-bottom:10px;cursor:grab;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.tcard:hover{border-color:var(--line-2);box-shadow:var(--sh)}
.tcard.drag{opacity:.45}
.tcard b{display:block;font-weight:500;font-size:.92rem;margin-bottom:8px}
.tcard .m{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.76rem;color:var(--mute)}
.tcard .m .av{width:22px;height:22px;font-size:.66rem;background:var(--ivory-2)}
.prio{display:inline-flex;align-items:center;gap:5px}
.prio::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--p,#9AA3B5)}
.due.late{color:var(--bad);font-weight:600}
.due.soon{color:var(--warn);font-weight:600}

/* calendar */
.cal-h{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.cal-h h2{font-size:1.25rem;margin:0 8px 0 0;min-width:130px}
.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}
.cal .dw{padding:9px 10px;font-size:.76rem;color:var(--mute);font-weight:600;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surf-2)}
.cal .dw.sun{color:var(--bad)}
.cal .day{min-height:112px;padding:6px 6px 8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--card);cursor:pointer;display:flex;flex-direction:column;gap:3px;min-width:0}
.cal .day:hover{background:var(--surf-2)}
.cal .day.out{background:var(--surf-2);color:#B3AEA2}
.cal .day .n{font-size:.8rem;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.cal .day.today .n{background:var(--navy);color:#fff;font-weight:700}
.ev{display:block;font-size:.74rem;padding:2px 6px;border-radius:4px;background:var(--ec-bg,var(--info-bg));color:var(--ec,#1C3B70);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;text-align:left;cursor:pointer;width:100%}
.ev.navy{--ec-bg:#E3E9F4;--ec:#102A56}.ev.teal{--ec-bg:#E1F0EE;--ec:#1F5F57}.ev.amber{--ec-bg:#FBF0DA;--ec:#7A520F}.ev.rose{--ec-bg:#F8E5E3;--ec:#8E352D}.ev.gray{--ec-bg:#EEEDEA;--ec:#4C5466}
.swatches{display:flex;gap:8px}
.swatches label{cursor:pointer}
.swatches input{position:absolute;opacity:0}
.swatches span{display:block;width:28px;height:28px;border-radius:50%;border:2px solid var(--card);box-shadow:0 0 0 1px var(--line-2)}
.swatches input:checked+span{box-shadow:0 0 0 2px var(--navy)}

/* table */
.tbl{width:100%;border-collapse:collapse;font-size:.88rem}
.tbl th{text-align:left;font-weight:600;color:var(--mute);font-size:.78rem;padding:11px 14px;border-bottom:1px solid var(--line);background:var(--surf-2);white-space:nowrap}
.tbl td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
.tbl tr:last-child td{border-bottom:0}
.tbl tr:hover td{background:var(--surf-2)}
.tbl .nm{display:flex;align-items:center;gap:10px;min-width:0}
.tbl .nm .ext{width:32px;height:32px;font-size:.6rem}
.tbl .acts{display:flex;gap:4px;justify-content:flex-end}
.scroll{overflow-x:auto}

/* people */
.person{padding:20px;display:flex;gap:14px;align-items:flex-start}
.person b{display:block;font-size:1rem}
.person small{display:block;color:var(--mute);font-size:.82rem}
.person .c{display:flex;flex-direction:column;gap:3px;margin-top:10px;font-size:.84rem}
.person .c a{text-decoration:none;color:var(--ink-2);display:flex;gap:6px;align-items:center}
.person .c a:hover{color:var(--navy)}
.person .c .i{width:14px;height:14px}
.person p{margin:8px 0 0;font-size:.84rem;color:var(--ink-2)}

/* modal, toast */
.ov{position:fixed;inset:0;background:rgba(11,22,42,.45);display:flex;align-items:flex-start;justify-content:center;z-index:100;padding:8vh 16px 16px;overflow-y:auto;animation:fade .15s}
.modal{background:var(--card);border-radius:12px;box-shadow:var(--sh-2);width:min(560px,100%);animation:pop .18s}
.modal.wide{width:min(760px,100%)}
.modal-h{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}
.modal-h h3{margin:0;font-size:1.08rem}
.modal-b{padding:22px}
.modal-f{display:flex;justify-content:flex-end;gap:8px;padding:14px 22px;border-top:1px solid var(--line);background:var(--surf-2);border-radius:0 0 12px 12px;flex-wrap:wrap}
.modal-f .l{margin-right:auto}
.lightbox{position:fixed;inset:0;background:rgba(5,12,25,.88);z-index:120;display:flex;align-items:center;justify-content:center;padding:24px;cursor:zoom-out}
.lightbox img{max-width:100%;max-height:100%;border-radius:6px}
@keyframes fade{from{opacity:0}}
@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.98)}}
.toasts{position:fixed;right:22px;bottom:22px;display:flex;flex-direction:column;gap:8px;z-index:200}
.toast{background:var(--ink);color:#fff;padding:12px 16px;border-radius:8px;font-size:.88rem;box-shadow:var(--sh-2);max-width:360px;animation:pop .2s;display:flex;gap:10px;align-items:center}
.toast.err{background:var(--bad)}
.toast.ok{background:#21483A}
.skel{background:linear-gradient(90deg,var(--surf-3) 25%,var(--surf-3) 37%,var(--surf-3) 63%);background-size:400% 100%;animation:sk 1.3s infinite;border-radius:6px;height:14px;margin:10px 0}
@keyframes sk{from{background-position:100% 50%}to{background-position:0 50%}}
.perm{width:100%;border-collapse:collapse;font-size:.88rem}
.perm td{padding:10px 0;border-bottom:1px solid var(--line)}
.perm td:last-child{text-align:right}
.meter{height:5px;border-radius:3px;background:var(--line);overflow:hidden;margin-top:8px}
.meter i{display:block;height:100%;width:0;background:var(--bad);transition:width .2s,background .2s}
.qr{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:12px 0}
.qr img{width:160px;height:160px;border:1px solid var(--line);border-radius:8px;background:var(--card)}
.qr code{font-size:.78rem;word-break:break-all}
.notice-bar{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:8px;background:var(--warn-bg);color:var(--warn);font-size:.86rem;margin-bottom:16px}
.notice-bar.info{background:var(--info-bg);color:var(--info)}
.scrim{display:none}

@media (max-width:1100px){.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.art{grid-template-columns:minmax(0,1fr)}.art>aside{order:-1}.toc{position:static}}
@media (max-width:860px){
 .login{grid-template-columns:1fr}.login-art{padding:32px 26px;min-height:auto}.login-art h1{font-size:1.7rem;margin-top:34px}.login-art .foot{display:none}
 .shell{grid-template-columns:1fr}
 .side{position:fixed;left:0;top:0;bottom:0;width:276px;transform:translateX(-100%);transition:transform .22s;box-shadow:var(--sh-2)}
 .side.open{transform:none}
 .scrim{display:block;position:fixed;inset:0;background:rgba(11,22,42,.4);z-index:25}
 .top{padding:0 16px}.top .menu{display:inline-flex}.search kbd{display:none}
 .content{padding:20px 16px 90px}
 .g3,.g2{grid-template-columns:1fr}
 .kanban{grid-template-columns:1fr}
 .doc,.sheet{padding:22px 18px}
 .row2,.row3{grid-template-columns:1fr}
 .cal .day{min-height:74px}.cal .ev{font-size:0;height:6px;padding:0}
 .ph h1{font-size:1.45rem}
 .tbl .hide-m{display:none}
}
@media (max-width:520px){.g4{grid-template-columns:1fr 1fr}.stat .v{font-size:1.5rem}.li{padding:13px 16px}}
@media print{
 .side,.top,.ph .acts,.no-print,.toasts,.comments .cform{display:none!important}
 .shell{display:block}.content{padding:0;max-width:none}
 body{background:var(--card)}.card{box-shadow:none;border:0}.doc,.sheet{padding:0}
 .art{display:block}.art>aside{display:none}
}
.hello .acts{display:flex;gap:8px;flex-wrap:wrap}
@media (min-width:861px){.shell{background:linear-gradient(90deg,var(--navy-2) var(--side),transparent 0)}}
mark{background:var(--warn-line);color:inherit;border-radius:2px;padding:0 1px}
.tbl tr.click{cursor:pointer}
@media (max-width:860px){.top .sp{display:none}.search{max-width:none}}

/* partner & admin */
.row-between{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.h2s{font-size:1rem;margin:0 0 14px;font-weight:700}
.h4s{font-size:.86rem;color:var(--mute);margin:20px 0 10px;font-weight:600}
.pad-x{padding:0 20px 16px}
.pad-x summary{cursor:pointer;color:var(--mute);font-size:.88rem;padding:6px 0}
.kv.sm{grid-template-columns:96px 1fr;border-bottom:0}
.kv.sm>div{padding:6px 0;font-size:.85rem}
.acts.wrap{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.tabsbar{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 18px;overflow-x:auto}
.thread{display:flex;flex-direction:column;gap:14px;padding:20px}
.msg{max-width:min(720px,92%);background:var(--card);border:1px solid var(--line);border-radius:14px 14px 14px 4px;padding:12px 16px;align-self:flex-start}
.msg.mine{align-self:flex-end;background:var(--surf-2);border-color:#D9E1EE;border-radius:14px 14px 4px 14px}
.msg.internal{background:var(--warn-bg);border:1px dashed var(--warn-line);align-self:stretch;max-width:none}
.msg header{display:flex;align-items:center;gap:8px;font-size:.84rem;margin-bottom:6px;flex-wrap:wrap}
.msg header .av{width:26px;height:26px;font-size:.72rem}
.msg header time,.msg header small{color:var(--mute);font-size:.78rem}
.mb{font-size:.93rem;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.reply{border-top:1px solid var(--line);padding:16px 20px;display:flex;flex-direction:column;gap:10px;background:var(--surf-2);border-radius:0 0 var(--r) var(--r)}
.reply textarea{width:100%;min-height:96px;resize:vertical}
.phead{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.pinfo{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.pn{font-size:1.08rem}
.reqs{display:flex;flex-direction:column}
.req{padding:16px 20px;border-top:1px solid var(--line)}
.req:first-child{border-top:0}
.req-h{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}
.req-h b{margin-right:6px}
.req p{margin:6px 0 0}
.review-note{background:var(--ivory);border-left:3px solid var(--navy);padding:8px 12px;border-radius:0 6px 6px 0;font-size:.88rem}
.prog{position:relative;height:10px;background:var(--ivory-2);border-radius:6px;margin:12px 0 4px;overflow:visible}
.prog i{position:absolute;inset:0 auto 0 0;background:var(--navy);border-radius:6px;width:var(--width,0);transition:width .4s}
.prog.warn i{background:var(--bad)}
.prog span{position:absolute;right:0;top:12px;font-size:.75rem;color:var(--mute)}
.proj{display:flex;flex-direction:column;gap:6px}
.proj p{margin:14px 0 0;font-size:.92rem}
.proj .prog{margin-bottom:10px}
.next{background:var(--info-bg);color:var(--info);padding:8px 12px;border-radius:8px}
.ms{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}
.ms li{display:grid;grid-template-columns:18px 1fr auto;gap:10px;align-items:center;font-size:.88rem;padding:5px 0;position:relative}
.ms li i{width:12px;height:12px;border-radius:50%;border:2px solid var(--line-2);background:var(--card);justify-self:center}
.ms li.done i{background:var(--ok);border-color:var(--ok)}
.ms li.done span{color:var(--mute);text-decoration:line-through}
.ms time{font-size:.78rem;color:var(--mute)}
.range{display:flex;align-items:center;gap:10px}
.range input{flex:1;accent-color:var(--navy)}
.use{margin-bottom:22px}
.use .prog{margin-bottom:22px}
.pm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.pm{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;background:var(--card)}
.pm b{font-size:.88rem}
.pm small{font-size:.76rem;min-height:2.4em;line-height:1.3}
.acct-tools{margin-top:18px;border:1px solid var(--line);border-radius:10px}
.acct-tools .btn{width:auto;margin:0}
@media (max-width:860px){.pm-grid{grid-template-columns:1fr 1fr}.phead{align-items:flex-start}.msg{max-width:100%}.thread,.reply{padding:14px}}
@media (max-width:520px){.pm-grid{grid-template-columns:1fr}}
.upl{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.upl details summary{cursor:pointer}
.pad-f{padding:8px 20px 16px}
.top-title{font-size:.95rem;color:var(--ink-2)}
.form-card{max-width:860px}
.form-card .row-between{margin-top:6px}
.li.unread .t b{font-weight:700}
.li .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--bad);margin-right:8px;vertical-align:middle}
.li div.r{flex-direction:column;align-items:flex-end;gap:4px}
.partner-art{background:#1C2B45}
.mgr a{font-size:.88rem;color:var(--info);text-decoration:none}
.mgr a:hover{text-decoration:underline}
.req .files{margin-top:10px}
@media (max-width:860px){.top-title{display:none}}
.top>.btn.primary.sm:last-child{margin-left:auto}

.tbl.dev th,.tbl.dev td{white-space:nowrap}.tbl.dev td .pill{vertical-align:middle}
.shell>*,.content,.card{min-width:0}
.scroll{position:relative}

/* ---------- v10: 메신저 · 알림 · 소속 · 용량 ---------- */
.mt8{margin-top:8px}.mt12{margin-top:12px}.mt18{margin-top:18px}.mb12{margin-bottom:12px}.mb18{margin-bottom:18px}
.acts.nowrap{flex-wrap:nowrap}
.field.end{justify-content:flex-end;display:flex;flex-direction:column}
.row4{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:14px}
select.sel-sm{min-height:34px;padding:5px 30px 5px 10px;font-size:.84rem;width:auto;max-width:190px;border-radius:999px}
/* 알림 벨 */
.bell-w{position:relative;flex:none}
.bell-b{position:relative}
.bell-n{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--bad);color:#fff;font-size:.68rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px var(--ivory)}
.bell-p{position:absolute;right:0;top:calc(100% + 10px);width:min(380px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 100px));display:flex;flex-direction:column;background:var(--paper,var(--card));border:1px solid var(--line);border-radius:16px;box-shadow:var(--sh-2);z-index:60;overflow:hidden;animation:pop .18s}
.bell-h{display:flex;align-items:center;gap:6px;padding:12px 12px 12px 18px;border-bottom:1px solid var(--line)}
.bell-h b{font-size:.98rem}
.bell-l{overflow-y:auto;flex:1;padding:6px}
.bell-l .empty{padding:36px 16px}
.bell-i{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;border:0;background:none;padding:11px 12px;border-radius:12px;cursor:pointer}
.bell-i:hover,.bell-i:focus-visible{background:var(--ivory)}
.bell-i.un{background:rgba(124,155,230,.045)}
.bell-i .dot{margin-top:8px}
.bi{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--ivory-2);color:var(--navy)}
.bi svg.i{width:16px;height:16px}
.bi.k-message,.bi.k-mention{background:var(--info-bg);color:var(--info)}
.bi.k-mention{background:var(--navy);color:#fff}
.bi.k-task{background:var(--ok-bg);color:var(--ok)}
.bi.k-partner,.bi.k-report{background:var(--warn-bg);color:var(--warn)}
.bi.k-system{background:var(--bad-bg);color:var(--bad)}
.bt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.bt b{font-size:.88rem;font-weight:600;line-height:1.4}
.bt .cnt{color:var(--mute);font-weight:500}
.bt small{color:var(--ink-2);font-size:.82rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bt time{color:var(--mute);font-size:.74rem;margin-top:2px}
.bell-f{border-top:1px solid var(--line);padding:12px 16px;display:flex;justify-content:center}
.toast.nt{cursor:pointer;align-items:flex-start}
.toast.nt small{opacity:.85}
/* 알림 설정 · 앱 설치 */
.tog{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}
.steps-l{margin:6px 0 12px;padding-left:20px;font-size:.9rem;color:var(--ink-2)}
.steps-l li{margin:4px 0}
/* 용량 */
.cap-ban{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:var(--card);margin-bottom:18px;font-size:.9rem;text-decoration:none}
.cap-ban.ok{background:var(--ok-bg);border-color:transparent}
.cap-ban.warn{background:var(--warn-bg);border-color:transparent;color:var(--warn)}
.cap-ban.high,.cap-ban.full{background:var(--bad-bg);border-color:transparent;color:var(--bad)}
.cap-ban.app{background:var(--info-bg);border-color:transparent;color:var(--info)}
.cap-ban.app>span{flex:1;min-width:200px}
a.cap-ban:hover{filter:brightness(.98)}
.prog.cap{background:var(--ivory-2)}
.prog.cap.mid i{background:var(--warn)}
.prog.cap em{position:absolute;top:-3px;bottom:-3px;width:1px;background:rgba(0,0,0,.25)}
.prog.cap em.t70{left:70%}.prog.cap em.t85{left:85%}.prog.cap em.t95{left:95%;background:var(--bad)}
/* 소속 조직 */
.org,.org-c{list-style:none;margin:0;padding:0}
.org-c{margin-left:18px;padding-left:14px;border-left:1px dashed var(--line-2)}
.org-n{margin:6px 0}
.org-r{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--card);flex-wrap:wrap}
.org-r.root{background:var(--navy);color:#F7F5F0;border-color:var(--navy)}
.org-r.root .pill{background:rgba(247,245,240,.16);color:#F7F5F0}
.org-r.root .btn{color:#F7F5F0}
.org-r.root .btn:hover{color:var(--navy)}
.org-r .sp{flex:1}
/* 메신저 이용 안내 */
.consent{max-width:720px}
.consent ul{padding-left:20px;color:var(--ink-2)}
.consent li{margin:6px 0}
/* 구성원 선택 */
.pick{display:flex;flex-direction:column;max-height:46vh;overflow-y:auto;border:1px solid var(--line);border-radius:12px}
.pick-i{display:flex;align-items:center;gap:12px;padding:10px 14px;border:0;border-bottom:1px solid var(--line);background:var(--card);text-align:left;cursor:pointer;width:100%}
.pick-i:last-child{border-bottom:0}
.pick-i:hover{background:var(--ivory)}
.pick-i .t{flex:1;min-width:0;display:flex;flex-direction:column}
.pick-i .t small{color:var(--mute);font-size:.8rem}
.pick-i input{width:17px;height:17px;accent-color:var(--navy);flex:none}
/* 메신저 */
.mx-ph .page-h,.mx-ph>*{margin-bottom:14px}
.mx-card{overflow:hidden;padding:0}
.mx{display:grid;grid-template-columns:320px minmax(0,1fr);height:max(480px,calc(100vh - var(--top) - 200px));height:max(480px,calc(100dvh - var(--top) - 200px))}
.mx-list{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:rgba(247,245,240,.45)}
.mx-lh{padding:12px;border-bottom:1px solid var(--line)}
.mx-lh .search{max-width:none}
.mx-ll{flex:1;overflow-y:auto;padding:6px}
.mx-ri{display:flex;align-items:center;gap:11px;padding:10px;border-radius:12px;text-decoration:none;min-width:0}
.mx-ri:hover{background:var(--card)}
.mx-ri.on{background:var(--card);box-shadow:inset 3px 0 0 var(--navy),var(--sh)}
.mx-ri .t{flex:1;min-width:0;display:flex;flex-direction:column}
.mx-ri .t b{font-size:.9rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:4px}
.mx-ri .t b small{color:var(--mute);font-weight:500}
.mx-ri .t>small{color:var(--mute);font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-ri.un .t b{font-weight:700}.mx-ri.un .t>small{color:var(--ink-2)}
.mx-ri .r{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.mx-ri .r time{font-size:.72rem;color:var(--mute)}
.mx-ri .r .badge{background:var(--navy);color:#fff}
.av.grp{background:var(--navy);color:#F7F5F0}
.av.grp svg.i{width:16px;height:16px}
.mut{display:inline-flex;color:var(--mute)}.mut svg.i{width:13px;height:13px}
.mx-room{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative;background:var(--card)}
.mx-room.over::after{content:"여기에 놓으면 첨부합니다";position:absolute;inset:10px;border:2px dashed var(--navy);border-radius:14px;background:rgba(247,245,240,.88);display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--navy);z-index:5;pointer-events:none}
.mx-rh{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line);min-height:62px}
.mx-rh .t{min-width:0;display:flex;flex-direction:column}
.mx-rh .t b{font-size:.96rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-rh .t small{color:var(--mute);font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-rh .sp{flex:1}
.mx-back{display:none}
.mx-ban{display:flex;gap:10px;align-items:center;padding:9px 16px;font-size:.84rem;background:var(--ivory);color:var(--ink-2);border-bottom:1px solid var(--line)}
.mx-ban.warn{background:var(--warn-bg);color:var(--warn)}
.mx-body{flex:1;min-height:0;position:relative;display:flex}
.mx-msgs{flex:1;overflow-y:auto;padding:16px 18px 10px;display:flex;flex-direction:column;gap:2px;overscroll-behavior:contain}
.mx-more{align-self:center;margin-bottom:8px}
.mx-day{display:flex;align-items:center;gap:12px;margin:14px 0 8px;color:var(--mute);font-size:.76rem}
.mx-day::before,.mx-day::after{content:"";flex:1;height:1px;background:var(--line)}
.mx-sys{align-self:center;font-size:.78rem;color:var(--mute);background:var(--ivory);padding:3px 12px;border-radius:999px;margin:6px 0;text-align:center;max-width:90%}
.mx-first{margin:auto;text-align:center;color:var(--mute);display:flex;flex-direction:column;align-items:center;gap:6px}
.mx-first svg.i{width:28px;height:28px}
.mx-m{display:flex;gap:10px;align-items:flex-start;margin-top:10px;border-radius:12px}
.mx-m.cont{margin-top:2px}
.mx-m.hit .mx-bub{box-shadow:0 0 0 3px rgba(43,79,140,.35)}
.mx-m .av,.av-sp{width:34px;flex:none}
.mx-c{min-width:0;display:flex;flex-direction:column;max-width:min(78%,640px)}
.mx-n{font-size:.78rem;color:var(--ink-2);margin:0 0 3px 2px;font-weight:600}
.mx-row{display:flex;align-items:flex-end;gap:6px;min-width:0}
.mx-bub{background:var(--ivory);border-radius:4px 16px 16px 16px;padding:9px 13px;font-size:.92rem;line-height:1.55;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.mx-m.cont .mx-bub{border-radius:16px}
.mx-bub.del{background:var(--card);border:1px dashed var(--line-2);color:var(--mute)}
.mx-bub a{color:inherit;text-decoration:underline}
.mx-at{font-weight:700;color:var(--info)}
.mx-meta{display:flex;flex-direction:column;align-items:flex-start;font-size:.68rem;color:var(--mute);flex:none;line-height:1.3}
.mx-meta .rc{color:var(--warn);font-weight:700}
.mx-acts{display:none;gap:2px;flex:none}
.mx-acts .btn.sm{min-height:28px;padding:0 9px;font-size:.76rem}
.mx-m:hover .mx-acts,.mx-m:focus-within .mx-acts{display:inline-flex}
.mx-m.mine{flex-direction:row-reverse}
.mx-m.mine .av-sp{display:none}
.mx-m.mine .mx-c{align-items:flex-end}
.mx-m.mine .mx-row{flex-direction:row-reverse}
.mx-m.mine .mx-bub{background:var(--navy);color:#F7F5F0;border-radius:16px 4px 16px 16px}
.mx-m.mine.cont .mx-bub{border-radius:16px}
.mx-m.mine .mx-bub.del{background:var(--card);color:var(--mute)}
.mx-m.mine .mx-at{color:#BFD0F0}
.mx-m.mine .mx-meta{align-items:flex-end}
.mx-files{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.mx-files:first-child{margin-top:0}
.mx-bub .file{background:var(--card);color:var(--ink);border-radius:10px}
.mx-bub .file.gone{opacity:.7;cursor:default}
.mx-img{border:0;padding:0;background:none;cursor:zoom-in;border-radius:10px;overflow:hidden;display:block;max-width:260px}
.mx-img img{display:block;max-width:100%;max-height:260px;object-fit:cover}
.mx-jump{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);box-shadow:var(--sh-2);z-index:3}
.mx-comp{border-top:1px solid var(--line);padding:10px 12px;position:relative;background:var(--card)}
.mx-in{display:flex;align-items:flex-end;gap:8px}
.mx-in textarea{flex:1;min-height:44px;max-height:180px;resize:none;border-radius:22px;padding:11px 16px;line-height:1.45}
.mx-send{flex:none;width:44px;height:44px;min-height:44px}
.mx-pend{display:flex;flex-wrap:wrap;gap:6px}
.mx-pend:not(:empty){margin-bottom:8px}
.mx-pend .chip{display:inline-flex;align-items:center;gap:5px;cursor:default}
.mx-pend .chip button{border:0;background:none;padding:0;display:inline-flex;cursor:pointer;color:var(--mute)}
.mx-pend .chip svg.i{width:14px;height:14px}
.mx-sugg{position:absolute;left:12px;bottom:calc(100% - 4px);width:min(280px,calc(100% - 24px));background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh-2);padding:4px;z-index:6}
.mx-si{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;padding:7px 9px;border-radius:9px;cursor:pointer;text-align:left;font-size:.88rem}
.mx-si .av{width:26px;height:26px;font-size:.7rem}
.mx-si small{color:var(--mute)}
.mx-si.on,.mx-si:hover{background:var(--ivory)}
.mx-empty,.mx-load{margin:auto;padding:30px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--ink-2)}
.mx-load{width:100%;align-items:stretch}
.mx-empty svg.i{width:34px;height:34px;color:var(--mute)}
.mx-empty .hint{margin:0 0 6px}
@media (max-width:1100px){.row4{grid-template-columns:1fr 1fr}}
@media (max-width:860px){
 .mx{grid-template-columns:minmax(0,1fr);height:max(440px,calc(100dvh - var(--top) - 170px))}
 .mx-list{border-right:0}
 .mx.has-room .mx-list{display:none}
 .mx:not(.has-room) .mx-room{display:none}
 .mx-back{display:inline-flex}
 .mx-c{max-width:86%}
 .mx-acts{display:inline-flex}
 .mx-acts .btn.sm{padding:0 7px}
 .tog{grid-template-columns:1fr}
 .bell-p{position:fixed;right:12px;left:12px;top:calc(var(--top) + 6px);width:auto}
 .mx-msgs{padding:12px 12px 8px}
}
@media (max-width:520px){.row4{grid-template-columns:1fr}.mx-m .av,.av-sp{width:28px}.mx-m .av{height:28px;font-size:.72rem}}
@media print{.bell-w,.mx-comp{display:none!important}}
/* 명함 편집 */
.ce{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:20px;align-items:start}
.ce-form{display:grid;gap:16px;min-width:0}
.ce-sec .h2s{margin-bottom:6px}.ce-sec>.hint{margin:0 0 14px}
.ce-prev{position:sticky;top:calc(var(--top) + 12px)}
.ce-prev .card{display:grid;gap:14px}
.ce-top{position:relative;border-radius:12px;overflow:visible;padding-bottom:34px}
.ce-ban{border-radius:12px;overflow:hidden}.ce-ban .cb{aspect-ratio:2.4/1}
.ce-av{position:absolute;left:16px;bottom:0}.ce-av .cv,.ce-av-row .cv{width:72px;height:72px;font-size:10px;box-shadow:0 0 0 3px var(--card),0 6px 16px -8px rgba(0,0,0,.5)}
.ce-av-row{display:flex;align-items:center;gap:16px;margin:0 0 16px}
.ce-slug{display:flex;align-items:center;gap:6px}.ce-slug .hint{margin:0;white-space:nowrap;font-size:.86rem}.ce-slug input{flex:1;min-width:0}
.field small.ok{color:var(--ok)}.field small.bad{color:var(--bad)}
.ce-st{margin:0 4px 0 0;align-self:center}.ce-st.warn{color:var(--warn)}
.cc-edit{cursor:pointer}
.rep{display:grid;gap:10px}
.rep-i{border:1px solid var(--line);border-radius:var(--r);padding:10px 12px 2px;background:var(--surf-2)}
.rep-t{display:flex;align-items:center;gap:4px;margin:0 0 8px}.rep-t b{font-size:.78rem;color:var(--mute);min-width:20px}.rep-t .sp{flex:1}
.rep-g{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.rep-g .field{margin-bottom:10px}.rep-g .field.wide{grid-column:1/-1}
.rep-im{display:flex;align-items:center;gap:10px;margin:0 0 10px}.rep-im img{width:96px;height:64px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}.rep-im .hint{margin:0}
.ce-foot{margin-top:0}
@media (max-width:1100px){.ce{grid-template-columns:1fr}.ce-prev{position:static;order:-1}}
@media (max-width:640px){.rep-g{grid-template-columns:1fr}}
.ce-foot .sp{flex:1}.ce .mt12{margin-top:12px}
.chip[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.ce input[type=number]{width:140px;min-height:44px;border:1px solid var(--line-2);border-radius:var(--r-s);background:var(--card);padding:10px 12px;font-size:.95rem}
.app-card{display:flex;align-items:center;gap:14px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line,rgba(0,0,0,.08))}
.app-card img{flex:none;border-radius:12px}
.app-card>div{flex:1;min-width:0}
.app-card b{display:block;margin-bottom:2px}
.app-card .hint{margin:0}
@media (max-width:560px){.app-card{flex-wrap:wrap}.app-card .btn{width:100%;justify-content:center}}
/* 앱 다운로드 */
.dev-now{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 16px;font-size:.9rem;color:var(--ink-2)}
.dev-now svg{width:18px;height:18px}
.app-tile{display:flex;flex-direction:column;gap:12px}
.app-tile-hd{display:flex;gap:16px;align-items:center}
.app-tile-hd img{flex:none;width:64px;height:64px;border-radius:16px;box-shadow:0 8px 20px -10px rgba(7,20,46,.5)}
.app-tile-hd .h2s{margin:0 0 2px}
.app-tile-hd .hint{margin:0}
.app-tile>.pill{align-self:flex-start}
.app-tile>.hint{margin:0}
.app-tile .acts{margin-top:auto}
.copyline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 12px;border:1px dashed var(--line-2);border-radius:var(--r-s);background:var(--surf-2)}
.copyline code{flex:1;min-width:0;font-size:.85rem;overflow-wrap:anywhere}
.steps-n{list-style:none;counter-reset:s;margin:4px 0 12px;padding:0;display:grid;gap:10px}
.steps-n li{counter-increment:s;display:flex;gap:12px;align-items:flex-start;font-size:.92rem;line-height:1.6}
.steps-n li::before{content:counter(s);flex:none;width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;font-size:.78rem;font-weight:700;display:grid;place-items:center;margin-top:1px}
.btn.login-app{width:100%;margin-top:14px;justify-content:center}
.dl-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:12px;border-top:1px solid var(--line-2,var(--line))}
.dl-a{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid var(--line-2,var(--line));border-radius:var(--r-s,10px);color:inherit;text-decoration:none;background:var(--card,var(--card));min-height:40px}
.dl-a:hover{border-color:currentColor}
.dl-a:focus-visible{outline:2px solid #2F6BFF;outline-offset:2px}
.dl-a svg{width:16px;height:16px;flex:none}
.dl-a span{display:flex;flex-direction:column;line-height:1.2}
.dl-a b{font-size:13px}
.dl-a small{font-size:11.5px;opacity:.7}
.dl-v{flex-basis:100%;font-size:12px;opacity:.65}

/* v16 구성원 상태·팀 연락처 */
.av.pic{overflow:hidden;padding:0;background:var(--ivory-2)}.av.pic img{width:100%;height:100%;object-fit:cover;display:block}
.person .row-between{gap:8px;align-items:center}.person .pr-note{margin:6px 0 0}
.toolbar select{width:auto;flex:none;min-width:130px}
.dnd-r .chips{gap:6px}.dnd-r input[type=time]{width:auto}
.mb18{margin-bottom:18px}
.ct-adm select{width:auto;min-width:200px;max-width:100%}
.pj-x{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px}.pj-x .acts{display:flex;gap:6px;flex-wrap:wrap}

/* v17 ext */
.x-tbl td small{display:block;color:var(--mute);font-size:.76rem;margin-top:2px}
.x-sev{display:inline-block;min-width:44px;text-align:center}
.x-steps{display:flex;flex-direction:column;gap:10px;padding:14px}
.x-step{border:1px solid var(--line);border-radius:var(--r-s,10px);padding:12px 14px;background:var(--card)}
.x-step-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.x-step-h b{font-weight:600}
.x-step .x-args{margin:8px 0 0;font-size:.84rem;color:var(--ink-2,#333);display:grid;grid-template-columns:96px 1fr;gap:4px 10px}
.x-step .x-args span:nth-child(odd){color:var(--mute)}
.x-hash{font-family:ui-monospace,Menlo,monospace;font-size:.74rem;color:var(--mute);letter-spacing:.02em}
.x-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.x-brief{margin-bottom:18px}
.x-brief ul{list-style:none;margin:0;padding:6px 18px 14px}
.x-brief li{display:flex;gap:10px;align-items:baseline;padding:7px 0;border-bottom:1px dashed var(--line);font-size:.92rem}
.x-brief li:last-child{border-bottom:0}
.x-brief li b{min-width:28px;text-align:right;font-variant-numeric:tabular-nums}
.x-brief li a{margin-left:auto;font-size:.82rem}
.x-src{font-size:.78rem;color:var(--mute)}
.x-hit{padding:14px 18px;border-bottom:1px solid var(--line)}
.x-hit:last-child{border-bottom:0}
.x-hit p{margin:6px 0 0;font-size:.88rem;line-height:1.6;color:var(--ink-2,#333)}
.x-hit mark{background:var(--warn-line);color:inherit;padding:0 1px}
.x-tpl{white-space:pre-wrap;font-size:.84rem;background:var(--surf-2);border:1px solid var(--line);border-radius:8px;padding:12px;margin:8px 0;max-height:220px;overflow:auto}
.x-bar{height:8px;border-radius:4px;background:var(--line);overflow:hidden}
.x-bar i{display:block;height:100%;background:var(--navy,var(--navy))}
.x-dom{display:grid;grid-template-columns:90px 1fr 48px;gap:10px;align-items:center;font-size:.86rem;margin:6px 0}
.x-note{font-size:.82rem;color:var(--mute);background:var(--surf-2);border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin:0 0 14px;line-height:1.55}
.x-q{border:1px solid var(--line);border-radius:8px;padding:12px;margin-bottom:10px}
.x-q p{margin:0 0 8px;font-weight:500}
.x-q label{display:block;font-size:.88rem;padding:3px 0}
.x-rep{max-width:820px;margin:0 auto;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:34px 38px}
.x-rep h2{font-family:Paperlogy,Pretendard,sans-serif;font-size:1.35rem;margin:0 0 4px}
.x-rep h3{font-size:1rem;margin:22px 0 8px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.x-rep table{width:100%;border-collapse:collapse;font-size:.86rem}
.x-rep td,.x-rep th{border-bottom:1px solid var(--line);padding:7px 6px;text-align:left;vertical-align:top}
@media print{.side,.top,.crumb,.ph .acts,.no-print{display:none!important}.main,.content{margin:0!important;padding:0!important}.x-rep{border:0;padding:0}}
.seg.tabsbar{max-width:100%;overflow-x:auto;scrollbar-width:none}.seg.tabsbar::-webkit-scrollbar{display:none}.seg.tabsbar button{white-space:nowrap;flex:0 0 auto}
/* v18 새 버전 배너 */
.upd-bar{position:fixed;left:50%;transform:translateX(-50%);top:max(10px,env(safe-area-inset-top));z-index:1200;display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:calc(100% - 20px);background:var(--ink);color:#fff;padding:8px 10px 8px 14px;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.25);font-size:.86rem}
.upd-bar span{min-width:0;flex:1 1 220px}
.upd-bar .btn.ghost{color:#fff}
/* v18: 오류코드 매뉴얼 · 참가자 앱 운영 · 로컬 AI */
.ec-top{display:grid;gap:8px;margin-bottom:14px}.ec-top .x-q{width:100%;font-size:1rem;padding:12px 14px}
.ec-list{display:grid;gap:10px}.ec{padding:14px 16px;min-width:0}
.ec-h{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:8px}.ec-h b{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
.ec-c{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;background:#0F1E3A;color:#fff;padding:3px 8px;border-radius:6px;font-size:.84rem;letter-spacing:.02em}
.ec-dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:6px 14px;margin:0;font-size:.9rem}.ec-dl dt{color:var(--mute);font-size:.8rem;padding-top:2px}.ec-dl dd{margin:0;overflow-wrap:anywhere}.ec-f{font-weight:600}
@media(max-width:640px){.ec-dl{grid-template-columns:1fr}.ec-dl dt{padding-top:6px}}
.ec-big{font-size:1.5rem;text-align:center;margin:14px 0}.ec-big code{font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.06em;user-select:all;overflow-wrap:anywhere}
.brk{overflow-wrap:anywhere;word-break:break-word}
.clip2{max-width:280px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tbl td.clip2{display:table-cell}.tbl td.clip2{white-space:normal;overflow-wrap:anywhere}
.checks{display:flex;flex-wrap:wrap;gap:6px 16px}
.ai-stat{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;padding-bottom:6px}.ai-stat>div{display:grid;gap:2px;min-width:0}.ai-stat b{font-size:1.15rem}
.ai-io blockquote{margin:6px 0;padding:8px 12px;border-left:3px solid var(--line);background:var(--surf-2);white-space:pre-wrap;overflow-wrap:anywhere}
.ai-io p{margin:4px 0;overflow-wrap:anywhere}
/* v18: 파트너 SkillBridge 과제 */
.sbp-t{margin-bottom:12px;display:grid;gap:8px;min-width:0}.sbp-t p{margin:0;overflow-wrap:anywhere}
.sbp-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}.sbp-h h2{font-size:1.05rem;margin:0;flex:1 1 200px;min-width:0;overflow-wrap:anywhere}
.sbp-p{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:grid;gap:8px}
.sbp-m{display:grid;gap:6px}.sbp-mi{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px}
.x-acts select{width:auto;min-width:96px;flex:0 0 auto}
.scroll>.tbl{min-width:680px}.scroll>.tbl td,.scroll>.tbl th{word-break:keep-all}.scroll>.tbl td code{white-space:nowrap}
@media(max-width:640px){.scroll{margin:0 -2px;-webkit-overflow-scrolling:touch}.clip2{max-width:220px}}
/* CONDERI People (v19) */
.ppl-flow{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;margin:0 0 16px}
.ppl-step{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:grid;gap:2px;background:var(--card,var(--card))}
.ppl-step b{font-size:1.25rem;font-weight:700;color:var(--mute)}
.ppl-step span{font-size:.78rem;color:var(--mute)}
.ppl-step.on b{color:var(--ink,#17191d)}
.ppl-quotes{margin:0;padding:0 0 0 20px;display:grid;gap:14px}
.ppl-quotes blockquote{margin:0 0 6px;padding:8px 12px;border-left:3px solid var(--line);font-size:.95rem;line-height:1.65;white-space:pre-wrap}
.ppl-cm{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:10px}
.ppl-cm li{border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.ppl-cm li.partner{background:var(--surf-2)}
.ppl-cm p{margin:6px 0 0;white-space:pre-wrap;line-height:1.6}
.ppl-log{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:.88rem}
@media (max-width:640px){.ppl-flow{grid-template-columns:repeat(3,1fr)}}
.ppl-draft p{margin:0 0 14px;line-height:1.8;white-space:pre-wrap;max-width:68ch}
.ppl-q{margin:0 0 6px;padding:8px 12px;border-left:3px solid var(--line);line-height:1.65;white-space:pre-wrap}
.ppl-ql{margin:0;padding:0 0 0 20px;display:grid;gap:14px}
.ppl-cons{display:grid;gap:10px}
.ppl-ci{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.ppl-cl{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ppl-cl li{border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.ppl-cl li.staff{background:var(--surf-2)}
.ppl-cl p{margin:6px 0 0;white-space:pre-wrap;line-height:1.6}

/* People 상세 섹션 본문 여백 */
.ppl-sec{margin-bottom:18px}
.ppl-bd{padding:18px 22px;display:grid;gap:14px;min-width:0}
.ppl-bd>.scroll:only-child{margin:-18px -22px}
.ppl-bd>.scroll{margin-left:-22px;margin-right:-22px}
.ppl-bd .row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ppl-langs{display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:4px}
.ppl-langs .check{display:inline-flex;align-items:center;gap:6px}
@media (max-width:640px){.ppl-bd{padding:14px 16px}.ppl-bd>.scroll:only-child{margin:-14px -16px}.ppl-bd>.scroll{margin-left:-16px;margin-right:-16px}.ppl-bd .row2{grid-template-columns:1fr}}
.ppl-ps{margin-bottom:18px}
.ppl-ps>h2{font-size:1.05rem;font-weight:600;margin:0 0 10px;letter-spacing:-.01em}
.ppl-ps .ppl-q{margin-top:6px}
/* 오늘의 브리핑 헤더: 좁은 화면에서 제목이 한 글자씩 세로로 접히던 문제 */
.x-brief .card-h{flex-wrap:wrap;row-gap:6px}
.x-brief .card-h h2{white-space:nowrap;flex:0 0 auto}
@media (max-width:640px){.x-brief .card-h .x-src{order:3;flex-basis:100%}}
/* 목록 도구줄: 좁은 화면에서 검색칸이 70px대로 눌리던 문제. 검색칸을 한 줄 전체로 */
@media (max-width:640px){.toolbar .search{flex:1 1 100%;max-width:none;order:-1}.toolbar>select{flex:1 1 0;min-width:0}}
.x-pre{white-space:pre-wrap;line-height:1.75;margin:0;max-width:72ch;overflow-wrap:anywhere}
.x-clip{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:46ch;color:var(--ink-2,inherit)}
/* 전사 공통 할인코드·협의 단가 패널 (promo-panel.js) */
.pp-wrap{display:flex;flex-direction:column;gap:14px}
.pp-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pp-kpi{background:var(--card,transparent);border:1px solid var(--line,#E7E3D9);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.pp-kpi span{font-size:12px;color:var(--ink-2,#6B7280)}
.pp-kpi strong{font-size:18px}
.pp-card{background:var(--card,transparent);border:1px solid var(--line,#E7E3D9);border-radius:14px;padding:16px}
.pp-card h3{margin:0 0 6px;font-size:15px}
.pp-hint{margin:0 0 12px;font-size:12.5px;color:var(--ink-2,#6B7280);line-height:1.6}
.pp-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.pp-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--ink-2,#6B7280)}
.pp-form input,.pp-form select{width:100%;padding:8px 10px;border:1px solid var(--line,#D9D4C7);border-radius:8px;background:transparent;color:inherit;font-size:13px;color-scheme:light dark}
.pp-wide{grid-column:1/-1}
.pp-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.pp-table-wrap{overflow-x:auto}
.pp-table{width:100%;border-collapse:collapse;font-size:12.5px}
.pp-table th,.pp-table td{padding:8px 10px;border-bottom:1px solid var(--line,#E7E3D9);text-align:left;white-space:nowrap}
.pp-table th{font-weight:600;color:var(--ink-2,#6B7280)}
.pp-row-actions{display:flex;gap:6px}
.pp-empty{margin:8px 0;font-size:13px;color:var(--ink-2,#6B7280)}
.pp-err{margin:0;padding:10px 12px;border-radius:10px;background:#FDECEC;color:#A1281F;font-size:13px}
.pp-note{margin:0;padding:10px 12px;border-radius:10px;background:#EEF7EE;color:#1E6B2F;font-size:13px}
@media (max-width:640px){.pp-kpis{grid-template-columns:1fr}.pp-form{grid-template-columns:1fr}}

/* 본문 바로가기(2026-11-19 R5-08) — /staff/·/partner/ 로그인 화면에 스킵 링크가 없었다. */
.skip-link{position:fixed;left:12px;top:-64px;z-index:400;padding:0 16px;min-height:44px;display:inline-flex;align-items:center;border-radius:999px;background:var(--ink,#0B1F42);color:var(--ivory,#f7f5f0);font-size:.86rem;text-decoration:none;transition:top .2s ease}
.skip-link:focus,.skip-link:focus-visible{top:12px;outline:2px solid #FFB703;outline-offset:2px}

/* 파트너 로그인 '이 기기에 앱 설치' — .btn.sm(28~30px)보다 우선해 터치 타깃 44px 확보(2026-11-19 R5-07). */
.btn.sm.login-app{min-height:44px;padding:0 14px}

/* ── 이용자별 권한 게이트웨이(gateway.js) — 2026-11-19 대표 지시 [#74863] ──
   운영키 입력칸을 없애고 "자동 인증" 상태를 보여 준다. 비상 직접 연결은 접이식으로 남긴다. */
.cg-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:600;white-space:nowrap}
.cg-chip::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.cg-chip.on{background:rgba(31,122,76,.12);color:#1F7A4C}
.cg-chip.off{background:rgba(118,126,139,.14);color:#5C636E}
.cg-chip.warn{background:rgba(176,106,12,.14);color:#8A5306}
.cg-chip.err{background:rgba(163,46,35,.12);color:#A32E23}
.cg-who{font-size:12.5px;color:var(--ink-2,#6B7280)}
.cg-who b{color:inherit;font-weight:600}
.cg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px 14px;margin:10px 0 0}
.cg-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cg-alt{margin-top:12px;border-top:1px solid var(--line,#E7E3D9);padding-top:10px}
.cg-alt>summary{cursor:pointer;font-size:12.5px;color:var(--ink-2,#6B7280);min-height:32px;display:flex;align-items:center;gap:6px}
.cg-alt[open]>summary{color:inherit}
.cg-alt .field{margin-top:8px}
.cg-svc{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.cg-svc span{font-size:11px;border:1px solid var(--line,#E7E3D9);border-radius:999px;padding:2px 8px;color:var(--ink-2,#6B7280)}
.cg-svc span.w{color:#1F7A4C;border-color:rgba(31,122,76,.35)}
.cg-svc span.x{opacity:.45;text-decoration:line-through}
.cg-scrim{position:fixed;inset:0;z-index:320;background:rgba(8,16,32,.5);display:flex;align-items:center;justify-content:center;padding:16px}
.cg-dialog{width:min(440px,100%);max-height:86vh;overflow:auto;background:var(--paper,#fff);color:var(--ink,#0B1F42);border-radius:16px;padding:18px;box-shadow:0 24px 60px rgba(8,16,32,.28)}
.cg-dialog h3{margin:0 0 6px;font-size:1rem;font-weight:700}
.cg-dialog .field{margin-top:10px}
.cg-dialog .cg-msg{margin:10px 0 0;font-size:12.5px;min-height:1em;color:var(--ink-2,#6B7280)}
.cg-dialog .cg-msg.err{color:#A32E23}
.cg-dialog .cg-acts{justify-content:flex-end}
@media (max-width:640px){.cg-scrim{align-items:flex-end;padding:0}.cg-dialog{width:100%;border-radius:16px 16px 0 0;max-height:92vh;padding:18px 16px 22px}}
