:root{--bg: #f6f5f3;--surface: #ffffff;--surface-2: #faf9f7;--border: #e9e6e1;--border-strong: #d9d5ce;--text: #1d1b18;--muted: #77716a;--faint: #a49e96;--accent: #4f46e5;--accent-soft: #eef0ff;--accent-text: #3d35c9;--red: #dc2626;--red-soft: #fdecec;--amber: #d97706;--amber-soft: #fdf3e2;--green: #16a34a;--green-soft: #e8f6ec;--sky: #0284c7;--sky-soft: #e5f3fb;--violet: #7c3aed;--violet-soft: #f1ebfe;--slate: #64748b;--slate-soft: #eef1f5;--shadow-sm: 0 1px 2px rgba(29,27,24,.06);--shadow: 0 1px 2px rgba(29,27,24,.05), 0 4px 14px rgba(29,27,24,.06);--shadow-lg: 0 10px 40px rgba(29,27,24,.18);--radius: 14px;--radius-sm: 10px;--safe-b: env(safe-area-inset-bottom, 0px)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #121110;--surface: #1b1a18;--surface-2: #201f1c;--border: #2c2a27;--border-strong: #3a3733;--text: #f2f0ec;--muted: #a39d95;--faint: #6f6a63;--accent: #8b85ff;--accent-soft: #24234a;--accent-text: #b3afff;--red: #f87171;--red-soft: #3a1d1d;--amber: #fbbf24;--amber-soft: #3a2e15;--green: #4ade80;--green-soft: #173222;--sky: #38bdf8;--sky-soft: #142c3a;--violet: #a78bfa;--violet-soft: #2a2140;--slate: #94a3b8;--slate-soft: #24282e;--shadow: 0 1px 2px rgba(0,0,0,.4);--shadow-lg: 0 10px 40px rgba(0,0,0,.6)}}:root[data-theme=dark]{--bg: #121110;--surface: #1b1a18;--surface-2: #201f1c;--border: #2c2a27;--border-strong: #3a3733;--text: #f2f0ec;--muted: #a39d95;--faint: #6f6a63;--accent: #8b85ff;--accent-soft: #24234a;--accent-text: #b3afff;--red: #f87171;--red-soft: #3a1d1d;--amber: #fbbf24;--amber-soft: #3a2e15;--green: #4ade80;--green-soft: #173222;--sky: #38bdf8;--sky-soft: #142c3a;--violet: #a78bfa;--violet-soft: #2a2140;--slate: #94a3b8;--slate-soft: #24282e;--shadow: 0 1px 2px rgba(0,0,0,.4);--shadow-lg: 0 10px 40px rgba(0,0,0,.6)}:root[data-theme=dark]{color-scheme:dark}:root[data-theme=light]{color-scheme:light}.theme-btn{width:38px;height:38px;border-radius:10px;border:1px solid var(--border);background:var(--surface);display:grid;place-items:center;color:var(--muted);flex:none}.theme-btn:hover{color:var(--text);border-color:var(--border-strong)}*{box-sizing:border-box}html,body{margin:0;height:100%}html{-webkit-text-size-adjust:100%}html.locked,html.locked body{overflow:hidden}button,a,select,label{touch-action:manipulation}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0}input,select,textarea{font:inherit;color:inherit;font-size:16px}svg.i{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}.app{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.side{position:sticky;top:0;height:100vh;padding:20px 14px;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:4px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;padding:4px 10px 18px;letter-spacing:-.01em}.logo{width:28px;height:28px;border-radius:8px;background:var(--text);color:var(--bg);display:grid;place-items:center;font-size:14px}.nav{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;color:var(--muted);font-weight:500;width:100%;text-align:left}.nav:hover{background:var(--surface);color:var(--text)}.nav.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.nav .count{margin-left:auto;font-size:12px;color:var(--faint);font-weight:500}.nav .count.red{color:var(--red)}.side h6{margin:18px 10px 6px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--faint);font-weight:600}.dot{width:8px;height:8px;border-radius:99px;flex:none;display:inline-block}.side .spacer{flex:1}.me{display:flex;align-items:center;gap:10px;padding:10px;border-top:1px solid var(--border);margin-top:8px}.main{min-width:0;padding:0 32px 48px}.top{position:sticky;top:0;z-index:5;background:var(--bg);display:flex;align-items:center;gap:12px;padding:22px 0 16px}.top h1{font-size:22px;letter-spacing:-.02em;margin:0;font-weight:700}.top .sub{color:var(--muted);font-size:13px}.top .grow{flex:1}.search{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:0 10px;height:38px;width:260px;color:var(--muted)}.search input{border:0;outline:0;background:none;width:100%;font-size:14px}.search kbd{font:11px Inter;border:1px solid var(--border);border-radius:5px;padding:1px 5px;color:var(--faint)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 14px;border-radius:10px;font-weight:600;font-size:14px;white-space:nowrap}.btn.primary{background:var(--text);color:var(--bg)}.btn.primary:hover{opacity:.9}.btn.accent{background:var(--accent);color:#fff}.btn.ghost{background:var(--surface);border:1px solid var(--border)}.btn.ghost:hover{border-color:var(--border-strong)}.btn.danger{color:var(--red);background:var(--surface);border:1px solid var(--border)}.btn.sm{height:30px;padding:0 10px;font-size:13px;border-radius:8px}.icon-btn{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:var(--muted)}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:28px}.kpi{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;text-align:left;transition:border-color .15s}.kpi:hover{border-color:var(--border-strong)}.kpi .lbl{color:var(--muted);font-size:12.5px;font-weight:500;display:flex;align-items:center;gap:6px}.kpi .val{font-size:28px;font-weight:700;letter-spacing:-.03em;margin-top:4px}.kpi .hint{font-size:12px;color:var(--faint)}.kpi.red .val{color:var(--red)}.kpi.amber .val{color:var(--amber)}.kpi.green .val{color:var(--green)}.section{margin-bottom:30px}.section-h{display:flex;align-items:baseline;gap:10px;margin:0 0 12px}.section-h h2{font-size:15px;margin:0;font-weight:650;letter-spacing:-.01em}.section-h .n{color:var(--faint);font-size:13px;font-weight:500}.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}.empty{color:var(--faint);font-size:13px;padding:18px;border:1px dashed var(--border-strong);border-radius:var(--radius);text-align:center}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:13px 14px 12px;box-shadow:var(--shadow-sm);cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s;position:relative;display:flex;flex-direction:column;gap:10px}.card:hover{border-color:var(--border-strong);box-shadow:var(--shadow)}.card.overdue{box-shadow:inset 3px 0 0 var(--red),var(--shadow-sm)}.card.is-done .title{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--faint)}.trow{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.trow.late{box-shadow:inset 3px 0 0 var(--red)}.check{width:22px;height:22px;border-radius:99px;border:2px solid var(--border-strong);display:grid;place-items:center;flex:none;margin-top:1px;color:transparent}.check:hover{border-color:var(--green)}.check.on{background:var(--green);border-color:var(--green);color:#fff}.check svg.i{width:13px;height:13px;stroke-width:3}.tmain{flex:1;min-width:0;text-align:left}.tmain .t{font-weight:600;display:flex;gap:6px;align-items:flex-start}.trow.done .tmain .t{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--faint)}.tmain .meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px;align-items:center}.pill{height:24px;padding:0 9px;border-radius:99px;font-size:11.5px;font-weight:600;flex:none;border:1px solid var(--border);white-space:nowrap;display:inline-flex;align-items:center;background:var(--surface)}.card.dragging{opacity:.4;transform:rotate(1.5deg)}.card .row{display:flex;align-items:center;gap:8px;min-width:0}.card .title{font-weight:600;font-size:14px;line-height:1.35;letter-spacing:-.005em}.card .who{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card .foot{display:flex;align-items:center;gap:6px;justify-content:space-between;flex-wrap:wrap}.card .foot>.row{flex:1 1 auto}.card .actions{display:flex;gap:4px;margin-left:auto}.card .actions button{height:26px;padding:0 8px;border-radius:7px;font-size:12px;font-weight:600;color:var(--muted);display:inline-flex;align-items:center;gap:4px}.card .actions button:hover{background:var(--surface-2);color:var(--text)}.card .actions svg.i{width:14px;height:14px}.avatar{width:24px;height:24px;border-radius:99px;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:700;flex:none;letter-spacing:.02em}.avatar.lg{width:64px;height:64px;font-size:22px}.avatar.md{width:40px;height:40px;font-size:14px}.chip{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:99px;font-size:11.5px;font-weight:600;white-space:nowrap;background:var(--slate-soft);color:var(--slate)}.chip svg.i{width:12px;height:12px}.chip.red{background:var(--red-soft);color:var(--red)}.chip.amber{background:var(--amber-soft);color:var(--amber)}.chip.green{background:var(--green-soft);color:var(--green)}.chip.sky{background:var(--sky-soft);color:var(--sky)}.chip.violet{background:var(--violet-soft);color:var(--violet)}.chip.accent{background:var(--accent-soft);color:var(--accent-text)}.chip.plain{background:transparent;color:var(--muted);padding:0}.pri{color:var(--amber);display:inline-flex}.pri.urgent{color:var(--red)}.pri svg.i{width:14px;height:14px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px;align-items:center}.seg{display:inline-flex;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:3px;gap:2px}.seg button{height:28px;padding:0 11px;border-radius:7px;font-size:13px;font-weight:500;color:var(--muted);white-space:nowrap}.seg button.on{background:var(--text);color:var(--bg)}.fchip{height:30px;padding:0 11px;border-radius:99px;border:1px solid var(--border);background:var(--surface);font-size:12.5px;font-weight:500;color:var(--muted);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none}.fchip.on{border-color:var(--text);color:var(--text)}.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:14px;overflow-x:auto;padding-bottom:8px;align-items:start}.col{background:var(--surface-2);border:1px solid var(--border);border-radius:16px;padding:10px;min-height:300px;display:flex;flex-direction:column;gap:10px;transition:background .15s}.col.over{background:var(--accent-soft);border-color:var(--accent)}.col-h{display:flex;align-items:center;gap:8px;padding:4px 4px 2px;font-weight:650;font-size:13px}.col-h .n{color:var(--faint);font-weight:500}.table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.table th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:10px 14px;border-bottom:1px solid var(--border);background:var(--surface-2);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none}.table td{padding:11px 14px;border-bottom:1px solid var(--border);vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tbody tr{cursor:pointer}.table tbody tr:hover td{background:var(--surface-2)}.table .t{font-weight:600}.cell-person{display:flex;align-items:center;gap:8px;white-space:nowrap}.dept-block{margin-bottom:28px}.dept-h{display:flex;align-items:center;gap:10px;margin-bottom:12px}.dept-h h2{margin:0;font-size:15px;font-weight:650}.dept-h .meta{color:var(--muted);font-size:12.5px}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.pcard{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;display:flex;gap:12px;align-items:center;text-align:left;transition:border-color .15s}.pcard:hover{border-color:var(--border-strong)}.pcard .nm{font-weight:600;display:flex;align-items:center;gap:6px}.pcard .tt{color:var(--muted);font-size:12.5px}.pcard .badges{display:flex;gap:6px;margin-top:6px}.ring{--p: 0;--c: var(--green);width:44px;height:44px;border-radius:99px;flex:none;margin-left:auto;background:conic-gradient(var(--c) calc(var(--p) * 1%),var(--border) 0);display:grid;place-items:center}.ring span{width:36px;height:36px;border-radius:99px;background:var(--surface);display:grid;place-items:center;font-size:11px;font-weight:700}.dept-h{flex-wrap:wrap}.dept-h .mgr{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px;padding:3px 10px 3px 8px;border-radius:99px;background:var(--surface);border:1px solid var(--border)}.dept-h .mgr b{color:var(--text);font-weight:600}.dept-h .mgr .avatar{width:20px;height:20px;font-size:9px}.dept-h .meta{margin-left:auto}.people-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}.ecard{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;gap:10px;text-align:left;width:100%;transition:border-color .15s,box-shadow .15s}.ecard:hover{border-color:var(--border-strong);box-shadow:var(--shadow)}.ecard.warn{box-shadow:inset 3px 0 0 var(--red)}.ecard .top{display:flex;gap:12px;align-items:center}.ecard .nm{font-weight:600;display:flex;align-items:center;gap:6px}.ecard .tt{color:var(--muted);font-size:12.5px}.ecard .ring{margin-left:0}.ecard .org,.org-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}.ecard .org b,.org-line b,.org-line a{color:var(--text);font-weight:600}.ecard .badges{display:flex;gap:6px;flex-wrap:wrap}.sbar{display:flex;gap:2px;height:6px;border-radius:99px;overflow:hidden;background:var(--border)}.sbar i{display:block;height:100%}.fselect{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 4px 0 12px;border:1px solid var(--border);background:var(--surface);border-radius:10px;font-size:12.5px;color:var(--muted);font-weight:500;flex:none}.fselect select{border:0;background:none;font-size:13px;font-weight:600;outline:none;padding:4px}.mgr-wrap{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--muted);font-size:12.5px}.add-card{border:1.5px dashed var(--border-strong);border-radius:var(--radius);min-height:96px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-weight:600;font-size:13px}.add-card:hover{color:var(--text);border-color:var(--text)}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.swatches{display:flex;gap:8px;flex-wrap:wrap}.swatches button{width:30px;height:30px;border-radius:99px;box-shadow:inset 0 0 0 2px #ffffff59}.swatches button.on{outline:2px solid var(--text);outline-offset:2px}.field .bad{border-color:var(--red)!important}.err-msg{color:var(--red);font-size:12px;margin-top:5px;font-weight:500}.who-list .add-new{border-top:1px solid var(--border);border-radius:0 0 8px 8px}.who-list .add-new svg.i{width:14px;height:14px}.table.imp{font-size:13px}.table.imp td{padding:8px 10px}.mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mini .kpi{padding:10px 12px}.mini .val{font-size:22px}.col-h .icon-btn{width:26px;height:26px;margin-left:auto}.col-h .icon-btn svg.i{width:15px;height:15px}.kadd{color:var(--faint);font-size:13px;font-weight:500;padding:8px;border-radius:10px;text-align:left;display:flex;gap:6px;align-items:center}.kadd:hover{background:var(--surface);color:var(--text)}.kadd svg.i{width:15px;height:15px}.col-row{display:flex;gap:8px;align-items:center}.col-row input{flex:1;border:1px solid var(--border);background:var(--surface-2);border-radius:10px;padding:9px 12px}.col-row .bad{border-color:var(--red)}.kind{display:grid;grid-template-columns:1fr 1fr;gap:8px}.kind button{text-align:left;border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface)}.kind button b{display:flex;align-items:center;gap:6px;margin-bottom:2px}.kind button span{font-size:12px;color:var(--muted)}.kind button.on{border-color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}.dcard{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px;text-align:left;display:flex;flex-direction:column;gap:12px;position:relative;overflow:hidden;transition:border-color .15s,box-shadow .15s}.dcard:hover{border-color:var(--border-strong);box-shadow:var(--shadow)}.dcard:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--c)}.dcard h3{margin:0;font-size:17px;letter-spacing:-.01em}.stack{display:flex}.stack .avatar{margin-left:-6px;box-shadow:0 0 0 2px var(--surface)}.stack .avatar:first-child{margin-left:0}.dstats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.dstats div{background:var(--surface-2);border-radius:10px;padding:8px 10px}.dstats b{display:block;font-size:18px;letter-spacing:-.02em}.dstats span{font-size:11.5px;color:var(--muted)}.lead-group{margin-bottom:22px}.lead-group h2{font-size:14px;margin:0 0 10px;display:flex;align-items:center;gap:8px;font-weight:650}.lead-group h2 span{color:var(--faint);font-weight:500}.d-title{margin:0;font-size:20px;letter-spacing:-.02em;line-height:1.3}.d-notes{margin-top:8px;color:var(--muted);white-space:pre-wrap;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:10px 12px}.d-link{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:2px 6px 2px 2px;font-weight:600}.d-link svg.i{width:15px;height:15px}.lead-tag{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--accent-text);background:var(--accent-soft);padding:1px 6px;border-radius:5px}.back{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-weight:500;margin-bottom:4px}.profile-h{display:flex;gap:18px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:20px;margin-bottom:16px;flex-wrap:wrap}.profile-h h2{margin:0;font-size:20px;letter-spacing:-.02em}.profile-h .meta{color:var(--muted);display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:4px;font-size:13px}.profile-h .acts{margin-left:auto;display:flex;gap:8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#14121061;z-index:40;opacity:0;pointer-events:none;transition:opacity .2s}.scrim.on{opacity:1;pointer-events:auto}.sheet{position:fixed;z-index:50;background:var(--surface);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;left:50%;top:50%;width:min(540px,calc(100vw - 32px));max-height:calc(100vh - 48px);border-radius:20px;transform:translate(-50%,-46%) scale(.98);opacity:0;pointer-events:none;transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .18s}.sheet.on{transform:translate(-50%,-50%);opacity:1;pointer-events:auto}.drawer{position:fixed;z-index:50;top:0;right:0;bottom:0;width:min(460px,100vw);background:var(--surface);box-shadow:var(--shadow-lg);transform:translate(100%);transition:transform .25s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}.drawer.on{transform:none}.drawer .ov-b{flex:1}.ov-h{display:flex;align-items:center;gap:8px;padding:16px 18px 10px}.ov-h h3{margin:0;font-size:16px;font-weight:650;flex:1}.ov-b{padding:4px 18px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}.ov-f{padding:12px 18px calc(14px + var(--safe-b));border-top:1px solid var(--border);display:flex;gap:8px;align-items:center}.grab{display:none}.field label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--border);background:var(--surface-2);border-radius:10px;padding:10px 12px;outline:none;transition:border-color .15s,background .15s}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);background:var(--surface)}.field textarea{resize:vertical;min-height:60px}.field .big{font-size:17px;font-weight:600;padding:12px}.three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.cascade summary{display:none}@media (max-width: 820px){.cascade summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;font-size:13px;font-weight:600;color:var(--accent-text);padding:4px 0}.cascade summary::-webkit-details-marker{display:none}.cascade summary:after{content:"›";font-size:16px;transition:transform .15s}.cascade[open] summary:after{transform:rotate(90deg)}.cascade[open] summary{margin-bottom:8px}}.chips{display:flex;gap:6px;flex-wrap:wrap}.chips button{height:32px;padding:0 12px;border-radius:99px;border:1px solid var(--border);background:var(--surface);font-size:13px;font-weight:500;color:var(--muted)}.chips button.on{background:var(--text);color:var(--bg);border-color:var(--text)}.who-wrap{position:relative}.who-list{position:absolute;left:0;right:0;top:calc(100% + 4px);background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);z-index:3;max-height:240px;overflow-y:auto;padding:4px;display:none}.who-list.on{display:block}.who-list button{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border-radius:8px;text-align:left}.who-list button:hover,.who-list button.hl{background:var(--surface-2)}.who-list small{color:var(--muted);display:block;font-size:12px}.picked{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--accent-soft);border-radius:12px}.picked .nm{font-weight:600}.picked small{color:var(--muted);display:block}.picked button{margin-left:auto;color:var(--accent-text);font-weight:600;font-size:13px}.hint-line{font-size:12px;color:var(--faint)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.steps button{padding:10px 4px;border-radius:10px;border:1px solid var(--border);font-size:13px;font-weight:600;color:var(--muted);background:var(--surface)}.steps button.on{color:#fff;border-color:transparent}.kv{display:grid;grid-template-columns:110px 1fr;gap:8px 12px;align-items:center;font-size:13.5px}.kv dt{color:var(--muted)}.kv dd{margin:0}.timeline{list-style:none;margin:0;padding:0;position:relative}.timeline li{display:flex;gap:12px;padding:0 0 14px;position:relative;font-size:13px}.timeline li:before{content:"";position:absolute;left:11px;top:24px;bottom:0;width:1px;background:var(--border)}.timeline li:last-child:before{display:none}.timeline .tdot{width:23px;height:23px;border-radius:99px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--border);color:var(--muted);flex:none}.timeline .tdot svg.i{width:12px;height:12px}.timeline small{color:var(--faint);display:block;font-size:12px}.timeline .note{margin-top:4px;background:var(--surface-2);border:1px solid var(--border);padding:7px 10px;border-radius:10px}.sub-h{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin:6px 0 -4px}.banner{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;font-size:13px}.banner.red{background:var(--red-soft);color:var(--red)}.banner.violet{background:var(--violet-soft);color:var(--violet)}.banner b{display:block}.toast{position:fixed;z-index:60;left:50%;bottom:calc(24px + var(--safe-b));transform:translate(-50%,20px);opacity:0;transition:.2s;pointer-events:none;background:var(--text);color:var(--bg);border-radius:12px;padding:11px 14px;display:flex;gap:14px;align-items:center;font-weight:500;box-shadow:var(--shadow-lg);max-width:calc(100vw - 32px)}.toast.on{opacity:1;transform:translate(-50%);pointer-events:auto}.toast button{color:var(--accent-soft);font-weight:700}.tabbar,.fab,.mob-only{display:none}@media (max-width: 820px){.app{grid-template-columns:1fr}.side{display:none}.main{padding:0 16px calc(96px + var(--safe-b))}.top{padding:calc(14px + env(safe-area-inset-top,0px)) 0 12px;flex-wrap:wrap}.top h1{font-size:26px}.top .desk-only,.desk-only{display:none!important}.mob-only{display:initial}.search{width:100%;order:5}.kpis{grid-template-columns:repeat(5,132px);overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px 24px;padding:0 16px;scrollbar-width:none}.kpis::-webkit-scrollbar{display:none}.kpi{scroll-snap-align:start}.grid-cards{grid-template-columns:1fr}.board{grid-auto-columns:84vw;scroll-snap-type:x mandatory;margin:0 -16px;padding:0 16px 8px;scrollbar-width:none}.col{scroll-snap-align:center}.toolbar{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px 14px;padding:0 16px;scrollbar-width:none}.table thead{display:none}.table,.table tbody,.table tr,.table td{display:block}.table tr{padding:12px 14px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:1fr auto;gap:6px 10px}.table td{padding:0;border:0}.table td.hide-m{display:none}.stats{grid-template-columns:1fr 1fr}.profile-h .acts{margin-left:0;width:100%}.profile-h .acts .btn{flex:1}.sheet,.drawer{left:0;right:0;top:auto;bottom:0;width:100%;max-height:92vh;max-height:92dvh;border-radius:22px 22px 0 0;transform:translateY(100%);opacity:1}.sheet.on,.drawer.on{transform:none}.drawer{height:92vh;height:92dvh}.grab{display:block;width:38px;height:5px;border-radius:9px;background:var(--border-strong);margin:8px auto 0}.tabbar{display:flex;position:fixed;z-index:30;left:0;right:0;bottom:0;padding:6px 8px calc(6px + var(--safe-b));background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-top:1px solid var(--border)}.tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;font-weight:600;color:var(--faint);padding:4px 0}.tabbar button.on{color:var(--text)}.tabbar svg.i{width:22px;height:22px}.tabbar .plus{flex:none;width:54px;height:54px;margin:-20px 6px 0;border-radius:18px;background:var(--text);color:var(--bg);justify-content:center;box-shadow:var(--shadow-lg)}.tabbar .plus svg.i{width:26px;height:26px}.card .actions button span,.top .grow{display:none}.top>div:first-child{flex:1 1 0;min-width:0}.top h1{line-height:1.15}.top .sub{font-size:12.5px}.desk-text{display:none}.theme-btn{width:40px;height:40px}.three{grid-template-columns:1fr;gap:0}.ov-b{gap:16px;overscroll-behavior:contain}.chips button{height:38px;padding:0 14px}.seg button{height:34px;padding:0 13px}.field input,.field select,.field textarea{padding:12px}.icon-btn{width:40px;height:40px}.ov-h{padding:12px 16px 8px}.ov-b,.ov-f{padding-left:16px;padding-right:16px}.card{padding:14px}.card .actions button{width:40px;height:36px;justify-content:center;padding:0;border:1px solid var(--border);border-radius:10px}.card .actions svg.i{width:18px;height:18px}.check{width:28px;height:28px}.check svg.i{width:15px;height:15px}.trow{padding:13px 12px}.fchip{height:36px;padding:0 13px}.kpi{padding:12px 14px}.card:active,.ecard:active,.pcard:active,.dcard:active,.trow:active,.kpi:active{transform:scale(.985)}.btn:active,.fchip:active,.chips button:active{opacity:.75}.section-h .hint-line{display:none}.toast{bottom:calc(88px + var(--safe-b))}.two,.kind{grid-template-columns:1fr}.dstats{grid-template-columns:repeat(2,1fr)}.table.imp tr{grid-template-columns:1fr 1fr}.table.imp td:last-child{grid-column:1 / -1;text-align:left!important}.dept-h .meta{margin-left:0;width:100%}.ov-f{flex-wrap:wrap}.ov-f .btn.sm{height:38px;flex:1}.ov-f>div[style*="flex:1"]{display:none}}a.nav,.tabbar a,a.fchip,.seg a,a.btn{text-decoration:none;color:inherit}a.nav.on{color:var(--text)}.seg a{height:28px;padding:0 11px;border-radius:7px;font-size:13px;font-weight:500;color:var(--muted);white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.seg a.on{background:var(--text);color:var(--bg)}.seg a svg.i{width:15px;height:15px}a.fchip.on{color:var(--text)}.back{text-decoration:none}button:disabled{cursor:default}.btn:disabled{opacity:.5}.d-link{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:2px 6px 2px 2px;font-weight:600;color:var(--text)}.d-link:hover{background:var(--surface-2)}.me .icon-btn{margin-left:auto}.timeline .note{white-space:pre-wrap}.splash{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.splash .logo,.login .logo{width:32px;height:32px;border-radius:9px;background:var(--text);color:var(--bg);display:grid;place-items:center;font-weight:700}.splash .logo{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.4}}.login{min-height:100vh;display:grid;place-items:center;padding:24px 16px}.login form{width:min(380px,100%);background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow)}.login .brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px}.login .btn{height:44px}.login p{margin:0;color:var(--muted)}.code{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:12px;font-size:12.5px;white-space:pre-wrap;word-break:break-all;margin:0}.demo-bar{background:var(--amber-soft);color:var(--amber);font-size:12.5px;font-weight:600;text-align:center;padding:6px 12px;position:relative;z-index:6}.demo-bar button{color:inherit;text-decoration:underline;font-weight:700;margin-left:6px}.welcome{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:22px;max-width:640px}.welcome h2{margin:0 0 6px;font-size:18px;letter-spacing:-.01em}.welcome p{margin:0 0 12px;color:var(--muted)}.welcome ol{margin:0 0 16px;padding-left:20px;display:flex;flex-direction:column;gap:6px}.welcome li.done{color:var(--muted);text-decoration:line-through}.page-head{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:18px}.page-head h1{margin:0;font-size:24px;letter-spacing:-.02em;display:flex;align-items:center;gap:10px}.page-head .sub{color:var(--muted);font-size:13px}.who-list .add-new{width:100%}.ov-h h3{min-width:0;overflow:hidden;text-overflow:ellipsis}@media (max-width: 820px){.tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;font-weight:600;color:var(--faint);padding:4px 0}.tabbar a.on{color:var(--text)}.tabbar a svg.i{width:22px;height:22px}.seg a{height:34px;padding:0 13px}.page-head .btn{flex:1}}
