:root{color-scheme:light;--page: #f4f4f1;--surface: #fcfcfb;--surface-2: #f0efec;--ink: #0b0b0b;--ink-2: #52514e;--muted: #898781;--line: #e1e0d9;--ring: rgba(11, 11, 11, .1);--s1: #2a78d6;--s2: #1baf7a;--s3: #eda100;--s4: #008300;--s5: #4a3aa7;--s6: #e34948;--s7: #e87ba4;--s8: #eb6834;--s1-soft: #cde2fb;--ok: #0ca30c;--warn: #fab219;--serious: #ec835a;--crit: #d03b3b;--ok-text: #006300;--accent: #2a78d6;--accent-ink: #ffffff;--shadow: 0 1px 2px rgba(11,11,11,.05), 0 4px 16px rgba(11,11,11,.06);--shadow-lg: 0 8px 40px rgba(11,11,11,.18);--r: 12px}[data-theme=dark]{color-scheme:dark;--page: #0d0d0d;--surface: #1a1a19;--surface-2: #242422;--ink: #ffffff;--ink-2: #c3c2b7;--muted: #898781;--line: #2c2c2a;--ring: rgba(255,255,255,.1);--s1: #3987e5;--s2: #199e70;--s3: #c98500;--s4: #008300;--s5: #9085e9;--s6: #e66767;--s7: #d55181;--s8: #d95926;--s1-soft: #184f95;--ok-text: #0ca30c;--accent: #3987e5;--shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.35);--shadow-lg: 0 8px 40px rgba(0,0,0,.6)}*{box-sizing:border-box;margin:0}html,body,#root{height:100%}body{font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:var(--page);color:var(--ink);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased}button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}input,select,textarea{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px 10px;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:transparent}label{font-size:12px;font-weight:600;color:var(--ink-2);display:block;margin-bottom:4px}.app{display:grid;grid-template-columns:232px 1fr;height:100%}.main{overflow-y:auto;padding:24px 28px 48px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.page-title{font-size:22px;font-weight:700;letter-spacing:-.02em}.page-sub{color:var(--muted);font-size:13px;margin-top:2px}.sidebar{background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:16px 12px;gap:4px}.brand{display:flex;align-items:center;gap:10px;padding:6px 10px 16px}.brand-logo{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--s1),var(--s5));display:grid;place-items:center;color:#fff;font-weight:800;font-size:16px}.brand-name{font-weight:800;font-size:16px;letter-spacing:-.02em}.brand-sub{font-size:11px;color:var(--muted)}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;color:var(--ink-2);font-weight:500;text-align:left;width:100%}.nav-item:hover{background:var(--surface-2);color:var(--ink)}.nav-item.active{background:var(--s1-soft);color:var(--ink);font-weight:600}[data-theme=dark] .nav-item.active{color:#fff}.nav-item svg{flex:0 0 18px}.nav-badge{margin-left:auto;background:var(--crit);color:#fff;font-size:11px;font-weight:700;border-radius:99px;padding:1px 7px}.sidebar-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding:8px 4px 0;border-top:1px solid var(--line)}.role-box{background:var(--surface-2);border-radius:10px;padding:10px}.role-box .cap{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700;margin-bottom:6px}.role-box select{padding:6px 8px;font-size:13px}.role-desc{font-size:11px;color:var(--muted);margin-top:6px}.card{background:var(--surface);border:1px solid var(--ring);border-radius:var(--r);box-shadow:var(--shadow);padding:16px}.grid{display:grid;gap:14px}.g2{grid-template-columns:1fr 1fr}.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}@media (max-width: 1100px){.g4{grid-template-columns:1fr 1fr}.g3,.g2{grid-template-columns:1fr}}.btn{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:9px;font-weight:600;font-size:13.5px;background:var(--surface-2);color:var(--ink);border:1px solid var(--line);transition:filter .12s}.btn:hover{filter:brightness(.96)}[data-theme=dark] .btn:hover{filter:brightness(1.15)}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:transparent}.btn.danger{background:var(--crit);color:#fff;border-color:transparent}.btn.ghost{background:transparent;border-color:transparent;color:var(--ink-2)}.btn.sm{padding:5px 10px;font-size:12.5px;border-radius:7px}.btn:disabled{opacity:.5;cursor:default}.chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:3px 9px;border-radius:99px;background:var(--surface-2);color:var(--ink-2);white-space:nowrap}.chip .dot{width:7px;height:7px;border-radius:50%;background:currentColor}.dot{display:inline-block;width:8px;height:8px;border-radius:50%}.avatar{width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;font-size:12px;font-weight:700;color:#fff;flex:0 0 30px}.tabs{display:inline-flex;background:var(--surface-2);border-radius:10px;padding:3px;gap:2px}.tabs button{padding:6px 14px;border-radius:8px;font-weight:600;font-size:13px;color:var(--ink-2)}.tabs button.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.empty{text-align:center;color:var(--muted);padding:48px 16px}.empty .big{font-size:34px;margin-bottom:8px}.stat{display:flex;flex-direction:column;gap:2px}.stat .cap{font-size:12px;font-weight:600;color:var(--muted)}.stat .val{font-size:28px;font-weight:750;letter-spacing:-.02em}.stat .sub{font-size:12px;color:var(--ink-2)}.stat .delta-up{color:var(--ok-text);font-weight:600}.stat .delta-down{color:var(--crit);font-weight:600}.tlist{display:flex;flex-direction:column;gap:10px}.trow{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--ring);border-radius:var(--r);padding:12px 16px;cursor:pointer;box-shadow:var(--shadow);transition:transform .1s;text-align:left;width:100%}.trow:hover{transform:translateY(-1px)}.trow .tid{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.trow .ttl{font-weight:650}.trow .meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--muted);margin-top:3px}.prio-bar{width:4px;height:40px;border-radius:4px}.kanban{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:12px;overflow-x:auto;align-items:start}.kcol{background:var(--surface-2);border-radius:var(--r);padding:10px;min-height:120px}.kcol-head{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13px;padding:2px 6px 10px}.kcol-head .n{margin-left:auto;color:var(--muted);font-weight:600}.kcard{background:var(--surface);border-radius:10px;border:1px solid var(--ring);box-shadow:var(--shadow);padding:10px 12px;margin-bottom:8px;cursor:pointer;width:100%;text-align:left;display:block}.kcard .ttl{font-weight:600;font-size:13px;margin:4px 0 6px}.kcard:hover{border-color:var(--accent)}.sla-ok{color:var(--ok-text)}.sla-soon{color:var(--serious);font-weight:700}.sla-overdue{color:var(--crit);font-weight:700}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b0b0b73;display:grid;place-items:center;z-index:50;padding:24px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:var(--surface);border-radius:16px;box-shadow:var(--shadow-lg);width:min(680px,100%);max-height:88vh;overflow-y:auto;padding:22px 24px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.modal h2{font-size:18px;letter-spacing:-.01em}.x{color:var(--muted);font-size:20px;line-height:1;padding:4px 8px;border-radius:8px}.x:hover{background:var(--surface-2);color:var(--ink)}.timeline{display:flex;flex-direction:column;gap:0;margin-top:8px}.tl-item{display:grid;grid-template-columns:20px 1fr;gap:10px}.tl-rail{display:flex;flex-direction:column;align-items:center}.tl-dot{width:9px;height:9px;border-radius:50%;background:var(--muted);margin-top:5px;flex:0 0 auto}.tl-item.msg .tl-dot{background:var(--s1)}.tl-line{width:2px;flex:1;background:var(--line);margin:3px 0}.tl-body{padding-bottom:14px}.tl-who{font-weight:650;font-size:13px}.tl-when{color:var(--muted);font-size:11.5px;margin-left:6px}.tl-text{font-size:13px;color:var(--ink-2);margin-top:2px}.tl-item.msg .tl-text{background:var(--surface-2);border-radius:0 10px 10px;padding:8px 12px;color:var(--ink)}.chart-title{font-weight:700;font-size:14px;margin-bottom:2px}.chart-sub{font-size:12px;color:var(--muted);margin-bottom:12px}.hbar-row{display:grid;grid-template-columns:120px 1fr 40px;align-items:center;gap:10px;margin-bottom:8px;font-size:12.5px}.hbar-track{background:var(--surface-2);border-radius:4px;height:18px;overflow:hidden}.hbar-fill{height:100%;border-radius:0 4px 4px 0;min-width:2px}.hbar-val{text-align:right;font-variant-numeric:tabular-nums;color:var(--ink-2);font-weight:600}.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--ink-2);margin-top:10px}.legend span{display:inline-flex;align-items:center;gap:6px}.pbar{background:var(--surface-2);border-radius:99px;height:8px;overflow:hidden}.pbar>div{height:100%;border-radius:99px;background:var(--accent);transition:width .3s}.vopt{display:block;width:100%;text-align:left;border:1.5px solid var(--line);border-radius:10px;padding:10px 14px;margin-bottom:8px;font-weight:600}.vopt:hover{border-color:var(--accent)}.vopt.sel{border-color:var(--accent);background:var(--s1-soft)}table.tbl{width:100%;border-collapse:collapse;font-size:13.5px}.tbl th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line)}.tbl td{padding:10px;border-bottom:1px solid var(--line)}.tbl tr:last-child td{border-bottom:none}.tbl .num{text-align:right;font-variant-numeric:tabular-nums}.news-card{position:relative}.news-tag{position:absolute;top:16px;right:16px}.news-body{color:var(--ink-2);margin-top:6px;font-size:13.5px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.searchbox{position:relative;flex:1;min-width:180px;max-width:320px}.searchbox input{padding-left:32px}.searchbox svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--muted)}.rating-stars button{font-size:22px;color:var(--line)}.rating-stars button.on{color:var(--s3)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--line);border-radius:6px;border:2px solid var(--page)}@media (max-width: 860px){.app{grid-template-columns:64px 1fr}.sidebar .brand-name,.sidebar .brand-sub,.nav-item span,.role-box,.sidebar-foot .btn span{display:none}.nav-item{justify-content:center}.nav-badge{display:none}.main{padding:16px}.kanban{grid-template-columns:repeat(4,240px)}}
