:root{--bg: #ffffff;--surface-subtle: #fafafb;--sidebar: #f7f7f8;--surface-raised: #ffffff;--surface-hover: #f2f2f4;--surface-selected: #ebebee;--border: #e7e7ea;--border-strong: #d6d6db;--ink: #0e0f11;--ink-2: #50525a;--ink-3: #6d6f78;--primary: #1f4fd8;--primary-hover: #1943b8;--on-primary: #ffffff;--primary-subtle: #eff3ff;--primary-ink: #1a44be;--focus: #1f4fd8;--success: #157043;--success-subtle: #e8f5ee;--warning: #8f5400;--warning-subtle: #fdf4e2;--danger: #b42323;--danger-subtle: #fdecec;--hue-orange: #d45f26;--hue-orange-bg: #fdf1ea;--hue-orange-ink: #9a3e0f;--hue-amber: #b07a05;--hue-amber-bg: #fbf5df;--hue-amber-ink: #7a5300;--hue-green: #1c8a58;--hue-green-bg: #e7f5ed;--hue-green-ink: #11633d;--hue-teal: #12807d;--hue-teal-bg: #e3f3f2;--hue-teal-ink: #0b6361;--hue-blue: #3460d4;--hue-blue-bg: #edf2fd;--hue-blue-ink: #1e47b6;--hue-violet: #7148ca;--hue-violet-bg: #f2eefc;--hue-violet-ink: #592eae;--hue-pink: #bf4379;--hue-pink-bg: #fcedf3;--hue-pink-ink: #982b5a;--hue-neutral: #6d6f78;--hue-neutral-bg: #efeff2;--hue-neutral-ink: #50525a;--shadow-card: 0 1px 2px rgba(14, 15, 17, .05);--shadow-pop: 0 16px 40px rgba(14, 15, 17, .14), 0 2px 6px rgba(14, 15, 17, .06);--font-sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;--font-mono: "Geist Mono", ui-monospace, Consolas, monospace;--r-sm: 4px;--r-md: 6px;--r-lg: 10px;--r-xl: 12px;--sidebar-w: 244px;--topbar-h: 52px;--inspector-w: 380px;--row-h: 38px;--control-h: 32px;--control-h-sm: 26px;color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #0e0f11;--surface-subtle: #131417;--sidebar: #111215;--surface-raised: #18191c;--surface-hover: #1e1f23;--surface-selected: #25262b;--border: #232428;--border-strong: #303137;--ink: #ececef;--ink-2: #a2a4ad;--ink-3: #80828c;--primary: #3a68f0;--primary-hover: #5079f5;--on-primary: #ffffff;--primary-subtle: #172241;--primary-ink: #93b0ff;--focus: #7b9dff;--success: #5ccf95;--success-subtle: #13281d;--warning: #eeb257;--warning-subtle: #2b2111;--danger: #f48a8a;--danger-subtle: #2e1717;--hue-orange-bg: #33200f;--hue-orange-ink: #ffab7e;--hue-amber-bg: #30270c;--hue-amber-ink: #efc75a;--hue-green-bg: #12291c;--hue-green-ink: #6fd5a0;--hue-teal-bg: #0e2a29;--hue-teal-ink: #5fd0cc;--hue-blue-bg: #16213d;--hue-blue-ink: #93b0ff;--hue-violet-bg: #251b3c;--hue-violet-ink: #c3a5f5;--hue-pink-bg: #331625;--hue-pink-ink: #f39bc1;--hue-neutral-bg: #222327;--hue-neutral-ink: #a2a4ad;--shadow-card: 0 1px 2px rgba(0, 0, 0, .4);--shadow-pop: 0 16px 40px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);color-scheme:dark}}:root[data-theme=dark]{--bg: #0e0f11;--surface-subtle: #131417;--sidebar: #111215;--surface-raised: #18191c;--surface-hover: #1e1f23;--surface-selected: #25262b;--border: #232428;--border-strong: #303137;--ink: #ececef;--ink-2: #a2a4ad;--ink-3: #80828c;--primary: #3a68f0;--primary-hover: #5079f5;--on-primary: #ffffff;--primary-subtle: #172241;--primary-ink: #93b0ff;--focus: #7b9dff;--success: #5ccf95;--success-subtle: #13281d;--warning: #eeb257;--warning-subtle: #2b2111;--danger: #f48a8a;--danger-subtle: #2e1717;--hue-orange-bg: #33200f;--hue-orange-ink: #ffab7e;--hue-amber-bg: #30270c;--hue-amber-ink: #efc75a;--hue-green-bg: #12291c;--hue-green-ink: #6fd5a0;--hue-teal-bg: #0e2a29;--hue-teal-ink: #5fd0cc;--hue-blue-bg: #16213d;--hue-blue-ink: #93b0ff;--hue-violet-bg: #251b3c;--hue-violet-ink: #c3a5f5;--hue-pink-bg: #331625;--hue-pink-ink: #f39bc1;--hue-neutral-bg: #222327;--hue-neutral-ink: #a2a4ad;--shadow-card: 0 1px 2px rgba(0, 0, 0, .4);--shadow-pop: 0 16px 40px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--ink);font:400 13px/20px var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"ss01","cv11"}h1,h2,h3,h4,p{margin:0}h1{font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.01em;text-wrap:balance}h2{font-size:15px;line-height:22px;font-weight:600}h3{font-size:13px;line-height:20px;font-weight:600}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}:where(button,a,input,textarea,select,[tabindex]):focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:var(--r-sm)}::selection{background:var(--primary-subtle)}.num{font-variant-numeric:tabular-nums}.mono{font-family:var(--font-mono);font-size:12px}.muted{color:var(--ink-3)}.secondary{color:var(--ink-2)}.strong{font-weight:500}.small{font-size:12px;line-height:16px}.label{font-size:11px;line-height:16px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-3)}.row{display:flex;align-items:center;gap:8px}.grow{flex:1;min-width:0}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}kbd,.kbd{font-family:var(--font-mono);font-size:11px;line-height:16px;padding:0 5px;border:1px solid var(--border);border-bottom-width:2px;border-radius:var(--r-sm);color:var(--ink-3);background:var(--bg)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:10px;border:3px solid transparent;background-clip:padding-box}::-webkit-scrollbar-track{background:transparent}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.app{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr) auto;height:100%}.app-main{min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0}.sb-top{padding:12px 10px 8px;display:flex;flex-direction:column;gap:10px}.sb-workspace{display:flex;align-items:center;gap:10px;padding:4px 6px;border-radius:var(--r-md);border:0;background:none;cursor:pointer;text-align:left}.sb-workspace:hover{background:var(--surface-hover)}.sb-logo{width:28px;height:28px;border-radius:8px;background:var(--ink);color:var(--bg);display:grid;place-items:center;font:600 13px/1 var(--font-sans);flex:none}.sb-ws-name{font-weight:600;line-height:18px}.sb-ws-sub{font-size:12px;line-height:16px;color:var(--ink-3)}.sb-search{display:flex;align-items:center;gap:8px;height:30px;padding:0 8px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg);color:var(--ink-3);cursor:pointer;width:100%}.sb-search:hover{border-color:var(--border-strong)}.sb-search span{flex:1;text-align:left}.sb-scroll{flex:1;overflow-y:auto;padding:0 10px 12px}.sb-section{margin-top:14px}.sb-section-h{display:flex;align-items:center;justify-content:space-between;padding:0 8px 4px}.nav{display:flex;align-items:center;gap:9px;height:30px;padding:0 8px;border-radius:var(--r-md);color:var(--ink)}.nav>svg.lucide{color:var(--ink-2);flex:none}.nav:hover{background:var(--surface-hover)}.nav.active{background:var(--surface-selected);font-weight:500}.nav.active>svg.lucide{color:var(--ink)}.nav-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-count{font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums}.nav-count.badge{color:var(--on-primary);background:var(--primary);border-radius:999px;padding:0 6px;font-weight:500;line-height:18px}.sb-foot{border-top:1px solid var(--border);padding:10px;display:flex;align-items:center;gap:8px;white-space:nowrap}.sb-foot .seg button{padding:0 5px}.sb-foot .seg{flex:none}.page{display:flex;flex-direction:column;height:100%;min-height:0}.page-header{height:var(--topbar-h);flex:none;display:flex;align-items:center;gap:10px;padding:0 20px;border-bottom:1px solid var(--border);background:var(--bg)}.crumbs{display:flex;align-items:center;gap:6px;color:var(--ink-2);min-width:0}.crumbs a:hover{color:var(--ink)}.crumbs .current{color:var(--ink);font-weight:500}.crumbs svg{color:var(--ink-3)}.header-meta{font-size:12px;color:var(--ink-3);white-space:nowrap}.page-tabs{padding:0 20px;flex:none}.toolbar{display:flex;align-items:center;gap:6px;padding:10px 20px;flex:none;flex-wrap:wrap}.toolbar .end{margin-left:auto;display:flex;align-items:center;gap:10px}.page-body{flex:1;min-height:0;overflow:auto}.page-pad{padding:20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:var(--control-h);padding:0 12px;border-radius:var(--r-md);border:1px solid transparent;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s,color .12s}.btn svg.lucide{flex:none}.btn-sm{height:var(--control-h-sm);padding:0 8px;font-size:12px;gap:5px}.btn-icon{width:var(--control-h);padding:0}.btn-sm.btn-icon{width:var(--control-h-sm)}.btn-primary{background:var(--primary);color:var(--on-primary);box-shadow:inset 0 1px #ffffff1f,0 1px 2px #0e0f111f}.btn-primary:hover{background:var(--primary-hover)}.btn-secondary{background:var(--bg);border-color:var(--border-strong);box-shadow:var(--shadow-card)}.btn-secondary:hover{background:var(--surface-hover)}.btn-ghost{background:transparent;color:var(--ink-2)}.btn-ghost:hover{background:var(--surface-hover);color:var(--ink)}.btn-ghost.on{background:var(--surface-selected);color:var(--ink)}.btn-danger{background:var(--bg);color:var(--danger);border-color:var(--border-strong)}.btn-danger:hover{background:var(--danger-subtle)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn kbd{margin-left:2px}.btn-primary kbd{background:transparent;border-color:#ffffff4d;color:var(--on-primary)}.input{display:flex;align-items:center;gap:8px;height:var(--control-h);padding:0 10px;background:var(--bg);border:1px solid var(--border);border-radius:var(--r-md);color:var(--ink-3)}.input:hover{border-color:var(--border-strong)}.input:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px var(--primary-subtle)}.input input,.input textarea{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);padding:0}.input input::placeholder,.input textarea::placeholder{color:var(--ink-3)}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:12px;font-weight:500;color:var(--ink-2)}.select{height:var(--control-h);padding:0 8px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg)}textarea.area{width:100%;min-height:96px;resize:vertical;padding:8px 10px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg);line-height:20px}textarea.area:focus{outline:0;border-color:var(--focus);box-shadow:0 0 0 3px var(--primary-subtle)}.tag{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 6px;border-radius:var(--r-sm);font-size:12px;line-height:16px;font-weight:500;white-space:nowrap;background:var(--hue-neutral-bg);color:var(--hue-neutral-ink)}.tag-outline{background:var(--bg);border:1px solid var(--border);color:var(--ink-2)}.tag button{border:0;background:none;padding:0;cursor:pointer;color:inherit;display:inline-flex}.hue-orange{--h: var(--hue-orange);--h-bg: var(--hue-orange-bg);--h-ink: var(--hue-orange-ink)}.hue-amber{--h: var(--hue-amber);--h-bg: var(--hue-amber-bg);--h-ink: var(--hue-amber-ink)}.hue-green{--h: var(--hue-green);--h-bg: var(--hue-green-bg);--h-ink: var(--hue-green-ink)}.hue-teal{--h: var(--hue-teal);--h-bg: var(--hue-teal-bg);--h-ink: var(--hue-teal-ink)}.hue-blue{--h: var(--hue-blue);--h-bg: var(--hue-blue-bg);--h-ink: var(--hue-blue-ink)}.hue-violet{--h: var(--hue-violet);--h-bg: var(--hue-violet-bg);--h-ink: var(--hue-violet-ink)}.hue-pink{--h: var(--hue-pink);--h-bg: var(--hue-pink-bg);--h-ink: var(--hue-pink-ink)}.hue-neutral{--h: var(--hue-neutral);--h-bg: var(--hue-neutral-bg);--h-ink: var(--hue-neutral-ink)}.tag[class*=hue-]{background:var(--h-bg);color:var(--h-ink)}.status{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:16px;font-weight:500;color:var(--ink-2);white-space:nowrap}.status i{width:6px;height:6px;border-radius:50%;background:var(--ink-3)}.status.live,.status.done,.status.good{color:var(--success)}.status.live i,.status.done i,.status.good i{background:var(--success)}.status.live i{box-shadow:0 0 0 3px var(--success-subtle)}.status.paused,.status.risk{color:var(--warning)}.status.paused i,.status.risk i{background:var(--warning)}.status.error{color:var(--danger)}.status.error i{background:var(--danger)}.avatar{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;background:var(--h-bg);color:var(--h-ink);font:600 9.5px/1 var(--font-sans);letter-spacing:.02em}.avatar.md{width:24px;height:24px;font-size:10.5px}.avatar.lg{width:32px;height:32px;font-size:12px}.avatars{display:inline-flex}.avatars .avatar{box-shadow:0 0 0 2px var(--bg)}.avatars .avatar+.avatar{margin-left:-6px}.obj{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;border-radius:5px;background:var(--h);color:#fff}.obj.lg{width:32px;height:32px;border-radius:8px}.obj.xl{width:44px;height:44px;border-radius:10px}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border)}.tab{position:relative;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 10px;border:0;background:none;color:var(--ink-2);font-weight:500;cursor:pointer}.tab:hover,.tab.active{color:var(--ink)}.tab.active:after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:2px;border-radius:2px;background:var(--ink)}.tab .count{font-size:12px;font-weight:400;color:var(--ink-3);font-variant-numeric:tabular-nums}.seg{display:inline-flex;padding:2px;gap:2px;background:var(--surface-hover);border-radius:var(--r-md)}.seg button{height:24px;padding:0 10px;border:0;border-radius:4px;background:none;color:var(--ink-2);font-size:12px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:5px}.seg button.on{background:var(--bg);color:var(--ink);box-shadow:var(--shadow-card)}.panel{background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--r-xl)}.panel-h{display:flex;align-items:center;gap:8px;padding:14px 16px 10px}.panel-h h2{flex:1;font-size:14px}.panel-b{padding:0 16px 16px}.divider{height:1px;background:var(--border);margin:0;border:0}.empty{display:grid;place-items:center;gap:6px;text-align:center;padding:48px 16px;color:var(--ink-2)}.table-wrap{overflow:auto}.table{width:100%;border-collapse:separate;border-spacing:0}.table th{position:sticky;top:0;z-index:1;height:34px;padding:0 12px;background:var(--surface-subtle);border-bottom:1px solid var(--border);text-align:left;font-size:12px;font-weight:500;color:var(--ink-2);white-space:nowrap}.table td{height:var(--row-h);padding:0 12px;border-bottom:1px solid var(--border);white-space:nowrap}.table th+th,.table td+td{border-left:1px solid var(--border)}.table tbody tr{cursor:pointer}.table tbody tr:hover td{background:var(--surface-hover)}.table tr.selected td{background:var(--primary-subtle)}.table .right{text-align:right}.table .check{width:40px;padding:0 0 0 14px}.table input[type=checkbox]{accent-color:var(--primary);margin:0}.cell-obj{display:inline-flex;align-items:center;gap:8px}.bulkbar{display:flex;align-items:center;gap:6px;padding:8px 20px;background:var(--primary-subtle);border-bottom:1px solid var(--border);color:var(--primary-ink);font-weight:500}.board{display:flex;gap:12px;padding:4px 20px 20px;height:100%;align-items:flex-start}.column{width:272px;flex:none;display:flex;flex-direction:column;max-height:100%;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--r-xl)}.column.drop{border-color:var(--primary);background:var(--primary-subtle)}.column-h{display:flex;align-items:center;gap:8px;padding:10px 12px 8px}.column-h .name{font-weight:600}.column-h .total{margin-left:auto;font-size:12px;color:var(--ink-2);font-variant-numeric:tabular-nums}.column-b{display:flex;flex-direction:column;gap:8px;padding:0 8px 8px;overflow-y:auto;min-height:60px}.kcard{display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-card);cursor:grab;text-align:left}.kcard:hover{border-color:var(--border-strong)}.kcard.selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.kcard.dragging{opacity:.5}.kcard-title{font-weight:500}.kcard-sub{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-2)}.kcard-warn{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:500;color:var(--warning)}.kcard-foot{display:flex;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid var(--border);font-size:12px;color:var(--ink-3)}.kcard-foot .value{font-size:13px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}.drawer{width:var(--inspector-w);height:100%;border-left:1px solid var(--border);background:var(--bg);display:flex;flex-direction:column;min-height:0}.drawer-h{height:var(--topbar-h);flex:none;display:flex;align-items:center;gap:10px;padding:0 12px 0 16px;border-bottom:1px solid var(--border)}.drawer-b{flex:1;overflow-y:auto}.kv{display:grid;grid-template-columns:120px minmax(0,1fr);gap:2px 12px;padding:12px 16px}.kv dt{color:var(--ink-2);line-height:32px}.kv dd{margin:0;line-height:32px;display:flex;align-items:center;gap:6px;min-width:0}.progress{height:6px;border-radius:6px;background:var(--surface-selected);overflow:hidden}.progress>i{display:block;height:100%;background:var(--primary);border-radius:6px}.progress.good>i{background:var(--hue-green)}.progress.risk>i{background:var(--hue-amber)}.toasts{position:fixed;left:20px;bottom:20px;display:flex;flex-direction:column;gap:8px;z-index:60}.toast{display:flex;align-items:center;gap:10px;min-width:260px;padding:10px 12px;border-radius:var(--r-lg);background:var(--ink);color:var(--bg);box-shadow:var(--shadow-pop);font-weight:500;animation:toast-in .16s ease-out}.toast svg{color:var(--success)}@keyframes toast-in{0%{transform:translateY(6px);opacity:0}}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0e0f1152;z-index:50;display:flex;justify-content:center;align-items:flex-start;padding-top:12vh}.palette{width:min(620px,calc(100vw - 32px));background:var(--surface-raised);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-pop);overflow:hidden}.palette-in{display:flex;align-items:center;gap:10px;padding:0 16px;height:52px;border-bottom:1px solid var(--border);color:var(--ink-3)}.palette-in input{flex:1;border:0;outline:0;background:none;font-size:15px;color:var(--ink)}.palette-list{max-height:380px;overflow-y:auto;padding:6px}.palette-group{padding:8px 10px 4px}.palette-item{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:var(--r-md);cursor:pointer}.palette-item.on{background:var(--surface-hover)}.palette-item .hint{margin-left:auto;font-size:12px;color:var(--ink-3)}.palette-foot{display:flex;gap:16px;padding:8px 16px;border-top:1px solid var(--border);font-size:12px;color:var(--ink-3)}.ai{width:var(--inspector-w);border-left:1px solid var(--border);background:var(--bg);display:flex;flex-direction:column;height:100%;min-height:0}.ai-h{height:var(--topbar-h);flex:none;display:flex;align-items:center;gap:10px;padding:0 10px 0 16px;border-bottom:1px solid var(--border)}.ai-b{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:14px}.ai-u{align-self:flex-end;max-width:88%;padding:8px 12px;border-radius:12px 12px 4px;background:var(--surface-selected)}.ai-a{display:flex;flex-direction:column;gap:10px}.ai-a p{color:var(--ink)}.ai-card{border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;background:var(--surface-raised)}.ai-card-h{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--surface-subtle);border-bottom:1px solid var(--border);font-size:12px;font-weight:500;color:var(--ink-2)}.ai-card .kv{grid-template-columns:90px 1fr;padding:8px 12px}.ai-card .kv dt,.ai-card .kv dd{line-height:28px}.ai-card-f{display:flex;justify-content:flex-end;gap:8px;padding:8px 12px;border-top:1px solid var(--border)}.ai-card.saved .ai-card-f{justify-content:flex-start;color:var(--success);font-weight:500}.old{color:var(--ink-3);text-decoration:line-through}.ai-suggest{display:flex;flex-wrap:wrap;gap:6px}.ai-suggest button{border:1px solid var(--border);background:var(--bg);border-radius:999px;padding:4px 10px;font-size:12px;color:var(--ink-2);cursor:pointer}.ai-suggest button:hover{border-color:var(--border-strong);color:var(--ink)}.ai-f{padding:12px 16px 16px;border-top:1px solid var(--border)}.ai-compose{border:1px solid var(--border);border-radius:var(--r-lg);padding:8px 8px 8px 12px;display:flex;align-items:flex-end;gap:8px;background:var(--bg)}.ai-compose:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px var(--primary-subtle)}.ai-compose textarea{flex:1;border:0;outline:0;resize:none;background:none;min-height:40px;max-height:120px;line-height:20px}.mini-table{width:100%;border-collapse:collapse;font-size:12px}.mini-table td{padding:6px 12px;border-top:1px solid var(--border)}.mini-table td:last-child{text-align:right;font-variant-numeric:tabular-nums}.typing{display:inline-flex;gap:3px}.typing i{width:5px;height:5px;border-radius:50%;background:var(--ink-3);animation:blink 1s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes blink{50%{opacity:.25}}.list-dot{width:10px;height:10px;margin:0 3px;border-radius:3px;background:var(--h);flex:none}.agent-fab{position:fixed;right:20px;bottom:20px;z-index:55;width:48px;height:48px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--primary);color:var(--on-primary);box-shadow:0 6px 18px #1f4fd852,0 1px 3px #0e0f1133;cursor:pointer;transition:transform .15s ease,background .15s ease}.agent-fab:hover{background:var(--primary-hover);transform:translateY(-1px)}.agent-fab.open{background:var(--ink);box-shadow:var(--shadow-pop)}.agent-fab:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.agent-pop{position:fixed;right:20px;bottom:80px;z-index:54;width:410px;height:min(640px,calc(100vh - 110px));display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-pop);overflow:hidden;animation:pop-in .16s ease-out;transform-origin:bottom right}@keyframes pop-in{0%{opacity:0;transform:translateY(8px) scale(.98)}}.agent-h{flex:none;display:flex;align-items:center;gap:10px;padding:10px 8px 10px 14px;border-bottom:1px solid var(--border)}.agent-mark{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--primary-subtle);color:var(--primary-ink)}.agent-b{flex:1;min-height:0;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:12px}.agent-hello h2{font-size:16px;font-weight:600;margin:4px 0 6px}.agent-text{white-space:pre-line;line-height:20px}.agent-f{flex:none;padding:10px 12px 12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:10px}.agent-f .ai-compose textarea{min-height:22px}.agent-list{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden}.agent-list li+li{border-top:1px solid var(--border)}.agent-list button{width:100%;display:flex;align-items:center;gap:10px;padding:7px 10px;border:0;background:var(--surface-raised);text-align:left;color:inherit;font:inherit;cursor:pointer}.agent-list button:hover{background:var(--surface-hover)}.agent-list .block{display:block}.agent-val{min-width:54px;text-align:right;font-size:12px}.agent-links{display:flex;flex-wrap:wrap;gap:6px}.agent-links button{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--border);background:var(--bg);border-radius:var(--r-md);padding:4px 6px 4px 10px;font:inherit;font-size:12px;color:var(--primary-ink);cursor:pointer}.agent-links button:hover{background:var(--primary-subtle)}.agent-draft{padding:10px 12px;display:flex;flex-direction:column;gap:6px}.agent-draft textarea{width:100%;resize:vertical;min-height:84px;line-height:19px}.agent-draft textarea.wa{background:var(--hue-green-bg);border-color:transparent}.agent-done{display:inline-flex;align-items:center;gap:6px}.ai-card.cancelled{opacity:.7}.ai-card.saved .ai-card-f{justify-content:space-between;align-items:center}@media(max-width:520px){.agent-pop{right:8px;left:8px;bottom:76px;width:auto;height:calc(100vh - 96px)}.agent-fab{right:16px;bottom:16px}}.sb-signout{flex:none;width:26px;height:26px;display:grid;place-items:center;border:0;background:none;border-radius:var(--r-md);color:var(--ink-3);cursor:pointer}.sb-signout:hover{background:var(--surface-hover);color:var(--ink)}.tb-sep{width:1px;height:18px;background:var(--border);margin:0 4px}.split{flex:1;min-height:0;display:flex}.split>.page-body{flex:1;min-width:0}.link{color:var(--primary-ink);font-weight:500}.link:hover{text-decoration:underline}.hot{color:var(--hue-pink)}.violet{color:var(--hue-violet)}.teal{color:var(--hue-teal)}.blue{color:var(--hue-blue)}.good-text{color:var(--success)}.warn-text{color:var(--warning)}.list{display:flex;flex-direction:column}.list-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 0;border-top:1px solid var(--border)}.list-row:first-child{border-top:0}.check-row{display:flex;align-items:center;gap:10px;min-height:36px;cursor:pointer}.check-row input{accent-color:var(--primary)}.empty-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--surface-hover);color:var(--ink-2);margin-bottom:4px}.dot{width:8px;height:8px;border-radius:50%;background:var(--h);flex:none}.home{max-width:1240px;margin:0 auto;padding:28px 28px 40px;display:flex;flex-direction:column;gap:20px}.home-hello h1{font-size:24px;line-height:32px;letter-spacing:-.02em;margin-bottom:2px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border);border-radius:var(--r-xl);background:var(--surface-raised)}.kpi{display:flex;flex-direction:column;gap:4px;padding:16px 18px}.kpi+.kpi{border-left:1px solid var(--border)}.kpi strong{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.02em}.kpi-bar{height:4px;border-radius:4px;background:var(--surface-selected);overflow:hidden;margin:2px 0}.kpi-bar i{display:block;height:100%;background:var(--hue-green);border-radius:4px}.home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span-2{grid-column:span 2}.bars{display:flex;flex-direction:column;gap:10px;padding-top:4px}.bar-row{display:grid;grid-template-columns:120px 1fr 64px 24px;align-items:center;gap:12px}.bar-track{height:8px;border-radius:8px;background:var(--surface-hover);overflow:hidden}.bar-track i{display:block;height:100%;border-radius:8px;background:var(--h)}.bar-val{text-align:right;font-weight:500}.bar-n{text-align:right;font-size:12px}.list-row .time{width:44px;font-size:12px;color:var(--ink-2)}.home-table td{padding:8px 16px;font-size:13px}.home-table td:first-child .muted{margin-left:4px}.drawer-hero{padding:16px;display:flex;flex-direction:column;gap:8px}.hero-num{font-size:26px;line-height:32px;font-weight:600;letter-spacing:-.02em}.stage-track{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;padding:14px 16px 2px}.stage-track button{height:26px;border:0;border-radius:4px;background:var(--surface-hover);color:var(--ink-2);font-size:11px;font-weight:500;cursor:pointer;padding:0 2px}.stage-track button.done{background:var(--primary);color:var(--on-primary)}.stage-track button:hover:not(.done){background:var(--surface-selected);color:var(--ink)}.record-head{display:flex;align-items:center;gap:16px;padding:24px 20px 16px;flex-wrap:wrap}.record-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;padding:20px;align-items:start}.attrs{display:flex;flex-direction:column;gap:16px}.attrs .kv{padding-top:0}.timeline{display:flex;flex-direction:column}.composer{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-lg);margin-bottom:16px}.composer input{flex:1;border:0;outline:0;background:none}.tl-item{position:relative;display:flex;gap:12px;padding-bottom:20px}.tl-item:before{content:"";position:absolute;left:13px;top:30px;bottom:2px;width:1px;background:var(--border)}.tl-item:last-child:before{display:none}.tl-icon{width:28px;height:28px;border-radius:50%;flex:none;display:grid;place-items:center;background:var(--h-bg);color:var(--h-ink)}.tl-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding-top:3px}.tl-body{color:var(--ink-2)}.tl-body.ai-note{color:var(--ink);background:var(--hue-violet-bg);border:1px solid transparent;border-radius:var(--r-lg);padding:10px 12px}.list-cards{display:flex;flex-direction:column;gap:8px;max-width:900px}.row-card{display:flex;align-items:center;gap:12px;padding:12px 14px}a.row-card:hover{border-color:var(--border-strong)}.inbox{flex:1;min-height:0;display:grid;grid-template-columns:340px minmax(0,1fr) var(--inspector-w)}.inbox-list{border-right:1px solid var(--border);overflow-y:auto}.inbox-list-h{position:sticky;top:0;background:var(--bg);padding:12px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--border);z-index:1}.conv{width:100%;display:flex;gap:10px;padding:12px;border:0;border-bottom:1px solid var(--border);background:none;text-align:left;cursor:pointer}.conv:hover{background:var(--surface-hover)}.conv.on{background:var(--surface-selected)}.conv .grow{display:flex;flex-direction:column;gap:2px}.conv-av{position:relative;flex:none}.conv-ch{position:absolute;right:-2px;bottom:-2px;width:14px;height:14px;border-radius:50%;display:grid;place-items:center;background:var(--h);color:#fff;box-shadow:0 0 0 2px var(--bg)}.thread{display:flex;flex-direction:column;min-height:0;background:var(--surface-subtle)}.thread-h{height:56px;flex:none;display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--border);background:var(--bg)}.thread-b{flex:1;overflow-y:auto;padding:16px 24px;display:flex;flex-direction:column;gap:8px}.day-sep{text-align:center;margin:4px 0 8px}.day-sep span{font-size:11px;font-weight:500;color:var(--ink-3);background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:2px 10px}.bubble-row{display:flex}.bubble-row.out{justify-content:flex-end}.bubble{max-width:66%;padding:8px 12px 6px;border-radius:12px;background:var(--surface-raised);border:1px solid var(--border);line-height:20px}.bubble.me,.bubble.agent{background:var(--hue-teal-bg);border-color:transparent;color:var(--ink)}.bubble-row.in .bubble{border-bottom-left-radius:4px}.bubble-row.out .bubble{border-bottom-right-radius:4px}.bubble-by{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--hue-violet-ink);margin-bottom:2px}.bubble-t{display:block;text-align:right;font-size:11px;color:var(--ink-3);margin-top:2px}.thread-f{padding:12px 16px 16px;display:flex;flex-direction:column;gap:10px;background:var(--bg);border-top:1px solid var(--border)}.window{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500}.window.ok{color:var(--success)}.window.closed{color:var(--warning)}.ai-draft{border:1px solid var(--border);border-radius:var(--r-lg);padding:8px 10px 10px 12px;background:var(--hue-violet-bg);display:flex;flex-direction:column;gap:6px}.composer-box{border:1px solid var(--border);border-radius:var(--r-lg);padding:8px;display:flex;flex-direction:column;gap:6px}.composer-box:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px var(--primary-subtle)}.composer-box textarea{border:0;outline:0;resize:none;background:none;padding:2px 4px;line-height:20px}.contact{height:auto}.contact-hero{display:flex;flex-direction:column;align-items:center;gap:4px;padding:24px 16px 16px;text-align:center}.contact-hero .avatar{width:48px;height:48px;font-size:16px;margin-bottom:6px}.gantt{display:grid;grid-template-columns:300px minmax(0,1fr);border-top:1px solid var(--border)}.gantt-names{border-right:1px solid var(--border)}.gantt-hcell{height:48px;display:flex;align-items:flex-end;padding:0 16px 8px;border-bottom:1px solid var(--border);background:var(--surface-subtle)}.gantt-name{height:40px;display:flex;align-items:center;gap:8px;padding:0 12px 0 16px;border-bottom:1px solid var(--border)}.gantt-grid{overflow-x:auto}.gantt-scale{display:flex;height:48px;border-bottom:1px solid var(--border);background:var(--surface-subtle)}.gantt-day{position:relative;flex:none;display:flex;align-items:flex-end;justify-content:center;padding-bottom:8px;font-size:11px;color:var(--ink-3);font-variant-numeric:tabular-nums}.gantt-day.we{color:var(--ink-3);opacity:.7}.gantt-day.today span:last-child{background:var(--primary);color:var(--on-primary);border-radius:4px;padding:0 4px;font-weight:600}.gantt-month{position:absolute;top:8px;left:4px;font-size:11px;font-weight:600;color:var(--ink-2);white-space:nowrap}.gantt-body{position:relative;background-image:repeating-linear-gradient(to bottom,transparent 0 39px,var(--border) 39px 40px);min-height:100%}.gantt-body{height:calc(var(--rows, 7) * 40px)}.gantt-we{position:absolute;top:0;bottom:0;background:var(--surface-subtle)}.gantt-now{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--primary);z-index:1}.gantt-bar{position:absolute;height:20px;border-radius:6px;background:var(--h-bg);border:1px solid var(--h);color:var(--h-ink);font-size:11.5px;font-weight:500;padding:0 8px;display:flex;align-items:center;z-index:2}.gantt-ms{position:absolute;width:14px;height:14px;transform:rotate(45deg);background:var(--hue-violet);border-radius:2px;z-index:2}.myday{flex:1;min-height:0;display:flex}.myday>.page-body{flex:1}.day{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);margin:8px 20px 24px 0}.day-hours{position:relative}.day-hour{position:absolute;right:12px;transform:translateY(-8px);font-size:11px;color:var(--ink-3);font-variant-numeric:tabular-nums}.day-lane{position:relative}.day-line{position:absolute;left:0;right:0;height:1px;background:var(--border)}.day-now{position:absolute;left:-6px;right:0;height:2px;background:var(--primary);z-index:3}.day-now:before{content:"";position:absolute;left:0;top:-3px;width:8px;height:8px;border-radius:50%;background:var(--primary)}.day-now span{position:absolute;left:-58px;top:-9px;font-size:11px;font-weight:600;color:var(--primary-ink);background:var(--bg);padding:0 4px}.tblock{position:absolute;left:8px;right:8px;display:flex;gap:8px;padding:6px 10px;border-radius:var(--r-md);background:var(--h-bg);border:1px solid transparent;overflow:hidden;z-index:2}.tblock.now{border-color:var(--h);box-shadow:0 0 0 1px var(--h)}.tblock.done .tblock-title{text-decoration:line-through;opacity:.65}.tblock.proposed{background:var(--bg);border:1.5px dashed var(--h)}.tblock-check{flex:none;width:16px;height:16px;margin-top:2px;padding:0;border-radius:50%;border:1.5px solid var(--h-ink);background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer}.tblock.done .tblock-check{background:var(--h);border-color:var(--h)}.tblock-title{display:flex;align-items:center;gap:6px;font-weight:500;color:var(--h-ink);line-height:18px}.tblock-meta{font-size:12px;line-height:16px;color:var(--h-ink)}.tblock-tag{align-self:flex-start;font-size:11px;font-weight:600;color:var(--h-ink)}.day-inbox{width:320px}.inbox-item{display:flex;align-items:center;gap:8px;padding:10px;margin-bottom:8px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);cursor:grab}.inbox-item:hover{border-color:var(--border-strong)}.agent-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px;padding:20px}.agent-card{display:flex;flex-direction:column;gap:12px;padding:16px;text-align:left;cursor:pointer}.agent-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-card)}.agent-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.agent-stats div{display:flex;flex-direction:column;gap:2px}.agent-stats b{font-weight:600}.approvals{display:flex;flex-direction:column;gap:12px;max-width:860px}.approval{display:flex;flex-direction:column;gap:12px;padding:14px 16px}.approval-msg{padding:10px 12px;border-radius:var(--r-lg);background:var(--surface-subtle);border:1px solid var(--border);line-height:20px}.approval-msg.wa{background:var(--hue-teal-bg);border-color:transparent}.panel-table{border:1px solid var(--border);border-radius:var(--r-xl);overflow:hidden}.panel-table tr:last-child td{border-bottom:0}.settings-form{max-width:760px;display:flex;flex-direction:column;gap:18px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.autonomy{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.auto-opt{display:flex;flex-direction:column;gap:2px;padding:12px;border:1px solid var(--border);border-radius:var(--r-lg);cursor:pointer}.auto-opt input{accent-color:var(--primary);margin:0 0 6px}.auto-opt:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);background:var(--primary-subtle)}.wf{flex:1;min-height:0;display:grid;grid-template-columns:220px minmax(0,1fr) 340px}.wf-lib{border-right:1px solid var(--border);padding:12px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}.wf-lib-group{display:flex;flex-direction:column;gap:4px}.wf-lib-group .label{padding:0 2px 2px}.wf-lib-item{display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg);color:var(--ink);cursor:grab;text-align:left}.wf-lib-item svg{color:var(--ink-2)}.wf-lib-item:hover{border-color:var(--border-strong);background:var(--surface-hover)}.wf-canvas{overflow:auto;background-color:var(--surface-subtle);background-image:radial-gradient(var(--border-strong) 1px,transparent 1px);background-size:16px 16px}.wf-flow{display:flex;flex-direction:column;align-items:center;padding:32px 24px 48px;width:max-content;min-width:100%}.wf-node{display:flex;flex-direction:column;align-items:center}.wf-line{width:1px;height:28px;background:var(--border-strong)}.wf-step{width:264px;padding:4px;border-radius:14px;background:var(--surface-subtle);border:1px solid var(--border)}.wf-step.selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.wf-card{display:block;width:100%;padding:0;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface-raised);box-shadow:var(--shadow-card);text-align:left;cursor:pointer;overflow:hidden}.wf-head{display:flex;align-items:center;gap:8px;padding:7px 10px;background:var(--h-bg);color:var(--h-ink)}.wf-kind{flex:1;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.wf-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:2px}.wf-meta{padding:6px 8px 2px}.wf-split{position:relative;display:flex;gap:24px;padding-top:28px}.wf-split:before{content:"";position:absolute;top:0;left:25%;right:25%;height:28px;border:1px solid var(--border-strong);border-bottom:0;border-radius:10px 10px 0 0}.wf-branch{position:relative;display:flex;flex-direction:column;align-items:center}.wf-branch-l{position:absolute;top:-38px;z-index:1}.wf-add{margin-top:24px;width:28px;height:28px;border-radius:50%;border:1px dashed var(--border-strong);background:var(--bg);color:var(--ink-2);display:grid;place-items:center;cursor:pointer}.wf-add:hover{border-color:var(--primary);color:var(--primary)}.wf-inspector{border-left:1px solid var(--border);display:flex;flex-direction:column;min-height:0}.wf-inspector .drawer-h{height:64px}.wf-insp-b{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px}.wf-insp-f{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--border)}.out-row{display:flex;justify-content:space-between;align-items:center;height:32px;padding:0 10px;border:1px solid var(--border);border-radius:var(--r-md)}.cond{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid var(--border);border-radius:var(--r-md)}@media(max-width:1180px){.record-grid{grid-template-columns:1fr}.inbox{grid-template-columns:300px minmax(0,1fr)}.inbox .contact{display:none}.wf{grid-template-columns:220px minmax(0,1fr)}.wf-inspector{display:none}}@media(max-width:900px){.app{grid-template-columns:1fr}.sidebar{display:none}.kpis{grid-template-columns:repeat(2,1fr)}.kpi:nth-child(3){border-left:0}.home-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.ai{position:fixed;right:0;top:0;bottom:0;z-index:40;box-shadow:var(--shadow-pop)}}.login{min-height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--bg)}.login-main{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:48px 24px 24px}.login-form{width:100%;max-width:360px;margin:auto 0;display:flex;flex-direction:column;gap:8px}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.login-fields{display:flex;flex-direction:column;gap:14px;margin-top:20px}.login-input{height:38px}.login-input input{height:100%}.login-eye{border:0;background:none;padding:4px;margin-right:-4px;color:var(--ink-3);cursor:pointer;display:grid;place-items:center;border-radius:var(--r-sm)}.login-eye:hover{color:var(--ink)}.login-submit{height:38px;margin-top:4px}.login-error{color:var(--danger);background:var(--danger-subtle);border-radius:var(--r-md);padding:8px 10px}.login-foot{margin-top:24px}.login-side{position:relative;overflow:hidden;background:#101216;color:#eceef2;display:flex;align-items:center;justify-content:center;padding:48px}.login-side-inner{position:relative;width:100%;max-width:500px;display:flex;flex-direction:column;gap:28px}.lp-eyebrow{font:500 11px/16px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:#8ea6ff}.login-side h2{margin-top:10px;font-size:28px;line-height:34px;font-weight:600;letter-spacing:-.02em;color:#fff}.login-art{width:100%;max-width:400px;height:auto;display:block;margin:0 auto}.la-float{animation:la-float 7s ease-in-out infinite}@keyframes la-float{50%{transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.la-float{animation:none}}.lp-points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;color:#b4b8c2}.lp-points li{display:flex;align-items:center;gap:10px}.lp-points svg{color:#8ea6ff;flex:none}@media(max-width:900px){.login{grid-template-columns:1fr}.login-side{display:none}}.block{display:block}.mod-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.mod-card{display:flex;flex-direction:column;gap:10px;padding:14px 16px}.score{display:inline-flex;align-items:center;gap:8px}.score-track{display:block;width:48px;height:6px;border-radius:6px;background:var(--surface-hover);overflow:hidden}.score-track i{display:block;height:100%;border-radius:6px;background:var(--h)}.score b{font-weight:600;color:var(--h-ink);min-width:18px}.cols{display:flex;align-items:flex-end;gap:10px}.col{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}.col-bars{position:relative;width:100%;max-width:36px}.col-bars i{position:absolute;bottom:0;left:0;right:0;border-radius:4px 4px 0 0;background:var(--primary)}.col-bars i.ghost{background:var(--primary-subtle)}.funnel{display:flex;flex-direction:column;gap:10px}.funnel-row{display:grid;grid-template-columns:100px 1fr 64px 40px;align-items:center;gap:12px}.funnel-bar{height:22px;border-radius:4px;background:var(--surface-hover);overflow:hidden}.funnel-bar i{display:block;height:100%;background:var(--primary);border-radius:4px}.funnel-row .num{text-align:right}.tasks{max-width:920px;display:flex;flex-direction:column;gap:20px}.tasks .composer{margin:0}.task-group{display:flex;flex-direction:column}.task-group-h{padding:0 2px 6px}.task-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 12px;border:1px solid var(--border);border-top-width:0;background:var(--surface-raised);cursor:pointer}.task-group-h+.task-row{border-top-width:1px;border-radius:var(--r-lg) var(--r-lg) 0 0}.task-row:last-child{border-radius:0 0 var(--r-lg) var(--r-lg)}.task-group-h+.task-row:last-child{border-radius:var(--r-lg)}.task-row input{accent-color:var(--primary)}.task-row:hover{background:var(--surface-hover)}.task-row.done .task-title{text-decoration:line-through;color:var(--ink-3)}.task-title{font-weight:500}.notif-list{display:flex;flex-direction:column;gap:8px;max-width:860px}.notif{display:flex;align-items:center;gap:12px;padding:12px 14px;text-align:left;cursor:pointer;font:inherit;color:inherit;width:100%}.notif:hover{border-color:var(--border-strong)}.notif.unread{background:var(--primary-subtle);border-color:transparent}.unread-dot{width:8px;height:8px;border-radius:50%;background:var(--primary);flex:none}.notif-prefs td{text-align:left!important}.notif-prefs input{accent-color:var(--primary)}.week{padding:0 20px 24px;min-width:760px}.week-head{display:grid;grid-template-columns:56px repeat(5,1fr);position:sticky;top:0;background:var(--bg);z-index:4;border-bottom:1px solid var(--border)}.week-head span{padding:10px 8px}.week-head .today{color:var(--primary-ink)}.week-body{position:relative;display:grid;grid-template-columns:56px repeat(5,1fr);margin-top:10px}.week-hours{position:relative}.week-hours span{position:absolute;right:10px;transform:translateY(-8px);font-size:11px;color:var(--ink-3)}.week-day{position:relative;border-left:1px solid var(--border)}.week-day .tblock{left:4px;right:4px;padding:4px 8px;font:inherit}.week-day .day-now{left:0}.player{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--r-lg)}.wave{flex:1;display:flex;align-items:center;gap:2px;height:22px}.wave i{flex:1;border-radius:2px;background:var(--hue-teal);opacity:.55}.dialer{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface-subtle)}.ivr{display:flex;flex-direction:column;gap:10px}.ivr-branches{display:flex;flex-direction:column;gap:6px;padding-left:24px;border-left:2px solid var(--border);margin-left:10px}.ivr-node{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-raised)}.creative{overflow:hidden}.creative-img{height:120px;display:grid;place-items:center;background:var(--h-bg);color:var(--h-ink);border-bottom:1px solid var(--border)}.report-nav{width:220px;flex:none;border-right:1px solid var(--border);padding:10px;overflow-y:auto}.quote-doc{margin:16px;padding:16px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface-raised);display:flex;flex-direction:column;gap:12px}.quote-lines td{padding:6px 0!important;border-top:1px solid var(--border);vertical-align:top;text-align:left!important}.quote-lines td:last-child{text-align:right!important}.quote-lines td+td{padding-left:10px!important}.chip{border:1px solid var(--border);background:var(--bg);border-radius:999px;padding:3px 10px;font-size:12px;color:var(--ink-2);cursor:pointer}.chip:hover{border-color:var(--border-strong);color:var(--ink)}.pack-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}.pack{display:flex;flex-direction:column;gap:4px;padding:10px 12px;text-align:left;cursor:pointer;font:inherit;color:inherit}.pack:hover{border-color:var(--border-strong)}.pack.on{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);background:var(--primary-subtle)}.pipe-steps{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.int-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px}.int{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--r-md)}.mini-table tr.label td{font-size:11px}.mobile-wrap{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap}.phone{width:260px;flex:none;padding:14px 12px 18px;border:8px solid var(--ink);border-radius:32px;background:var(--surface-subtle);display:flex;flex-direction:column;gap:8px}.phone-bar{display:flex;justify-content:space-between;align-items:baseline;padding:4px 4px 6px}.phone-card{display:flex;align-items:center;gap:10px;padding:10px;border-radius:var(--r-lg);background:var(--surface-raised);border:1px solid var(--border);line-height:18px}.wizard-steps{display:flex;gap:4px;padding:10px 12px;border-bottom:1px solid var(--border);overflow-x:auto;flex:none}.wizard-steps button{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:4px 8px;border-radius:var(--r-md);font-size:12px;color:var(--ink-3);cursor:pointer;white-space:nowrap}.wizard-steps button.on{background:var(--primary-subtle);color:var(--primary-ink);font-weight:500}.wizard-steps button.done{color:var(--success)}.wizard-steps button span{display:none}.wizard-steps button.on span{display:inline}.tv{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;background:#0b0c0f;color:#eceef2;padding:32px 40px;display:flex;flex-direction:column;gap:28px;overflow:auto}.tv h1{font-size:30px;line-height:38px;color:#fff}.tv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.tv-tile{padding:20px;border-radius:14px;background:#16181d;display:flex;flex-direction:column;gap:6px;color:#9ca1ad}.tv-tile strong{font-size:40px;line-height:48px;font-weight:600;letter-spacing:-.02em;color:#fff}.tv-board{display:flex;flex-direction:column;gap:14px}.tv-rep{display:grid;grid-template-columns:30px 220px 1fr 140px;align-items:center;gap:16px;font-size:18px}.tv-bar{height:14px;border-radius:10px;background:#23262d;overflow:hidden}.tv-bar i{display:block;height:100%;background:#3fbf86;border-radius:10px}.tv .btn{position:absolute;top:24px;right:24px}.bubble.note{background:var(--warning-subtle);border-style:dashed;border-color:var(--hue-amber)}.dup-banner{display:flex;align-items:center;gap:10px;margin:0 20px 10px;padding:8px 12px;border-radius:var(--r-lg);background:var(--warning-subtle);color:var(--warning);font-weight:500}@media(max-width:1180px){.report-nav{width:180px}}@media(max-width:900px){.report-nav{display:none}.tv-grid{grid-template-columns:repeat(2,1fr)}}.agent-chart{display:flex;flex-direction:column;gap:8px;padding:10px 12px}.agent-chart-row{display:grid;grid-template-columns:120px 1fr 62px;align-items:center;gap:8px;font-size:12px}.agent-chart-row .num{text-align:right}.agent-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px}.agent-form .select,.login-fields .seg{width:100%}.login-fields .seg button{flex:1;justify-content:center;height:28px}.task-empty{padding:12px;border:1px dashed var(--border);border-radius:var(--r-lg)}.task-done-h{display:inline-flex;align-items:center;gap:4px;border:0;background:none;cursor:pointer;padding:0 2px 6px}.task-form{padding:16px;display:flex;flex-direction:column;gap:14px}.task-form h2{font-size:15px}.task-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.task-form .select{width:100%}@media(max-width:900px){.task-form-grid{grid-template-columns:1fr 1fr}}.tk-drawer{width:360px;flex:none}.tk-cell{max-width:0;width:100%}.tk-cell .cell-obj{min-width:0}.tk-cell .block{margin:2px 0 0 19px}@media(max-width:1200px){.tk-drawer{width:320px}}.src-bars .bar-row{grid-template-columns:104px 1fr 40px 96px}.src-head{padding-bottom:2px}.src-head .bar-val{font-weight:400}.src-deals{text-align:right;white-space:nowrap}.src-note{margin:4px 0 0;padding-top:10px;border-top:1px solid var(--border);line-height:1.5}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#00000052;display:grid;place-items:start center;padding:12vh 16px 16px}.modal{width:min(560px,100%);padding:18px;display:flex;flex-direction:column;gap:14px;box-shadow:0 16px 48px #0003;background:var(--bg)}.tk-cell .cell-obj{display:flex;overflow:hidden}.tk-cell .cell-obj>*{flex:none}.tk-cell .cell-obj>.strong{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-drawer .kv{grid-template-columns:80px minmax(0,1fr)}.deal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}@media(max-width:560px){.deal-form-grid{grid-template-columns:1fr}}.field-hint{font-size:11px;color:var(--ink-3)}.select.invalid{border-color:var(--danger);box-shadow:0 0 0 3px var(--danger-subtle)}.modal-lg{width:min(780px,100%);padding:0;gap:0;max-height:84vh}.modal-back:has(.modal-lg){padding-top:6vh}.modal-h{display:flex;align-items:center;padding:14px 18px;border-bottom:1px solid var(--border)}.modal-b{overflow-y:auto;padding:4px 18px 8px}.modal-f{display:flex;align-items:center;gap:8px;padding:12px 18px;border-top:1px solid var(--border)}.nd-sec{padding:14px 0;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:10px}.nd-sec:last-child{border-bottom:0}.nd-sec-h{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-2);min-height:26px;display:flex;align-items:center}.nd-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;align-items:start}.nd-grid-inner{gap:14px}.nd-span2{grid-column:span 2}.nd-check{grid-column:span 2;display:flex;gap:8px;align-items:center;font-size:12px;color:var(--ink-2)}.nd-notes{height:auto;padding-top:8px;padding-bottom:8px;resize:vertical;font:inherit}.nd-items{width:100%;border-collapse:collapse;font-size:12px}.nd-items th{text-align:left;font-weight:500;color:var(--ink-2);padding:0 6px 6px 0}.nd-items td{padding:0 6px 8px 0;vertical-align:top}.nd-items td:nth-child(2),.nd-items td:nth-child(4){width:70px}.nd-items td:nth-child(3){width:100px}.nd-items td:nth-child(5){width:96px;padding-top:8px}.nd-items .right{text-align:right}.nd-items .field-hint{margin-top:3px}.select.warn{border-color:var(--warning)}.nd-total{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:baseline;padding:10px 12px;border-radius:8px;background:var(--surface-hover);font-size:12px}.nd-total b{font-size:15px;margin-left:4px}.nd-flag{padding:0 2px}.nd-amount{max-width:320px}.kcard-next{margin-top:2px}@media(max-width:640px){.nd-grid{grid-template-columns:1fr}.nd-span2,.nd-check{grid-column:auto}.nd-items th:nth-child(3),.nd-items td:nth-child(3){display:none}}.sheet-back{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#00000047;display:flex;justify-content:flex-end;animation:sheet-fade .15s ease-out}.sheet{width:min(440px,100%);height:100%;background:var(--bg);border-left:1px solid var(--border);box-shadow:-12px 0 40px #00000029;display:flex;flex-direction:column;animation:sheet-in .2s ease-out}.sheet-h{display:flex;align-items:flex-start;gap:8px;padding:16px 18px 14px;border-bottom:1px solid var(--border)}.sheet-h h2{font-size:15px;margin:0 0 2px}.sheet-b{flex:1;overflow-y:auto;padding:16px 18px;display:flex;flex-direction:column;gap:18px}.sheet-b .select{width:100%}.sheet-chips{display:flex;flex-wrap:wrap;gap:6px}.sheet-chips .chip{display:inline-flex;align-items:center;gap:5px}.chip.on{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.sheet-row{display:flex;gap:10px}.sheet-row>*{flex:1;min-width:0}.sheet-f{border-top:1px solid var(--border);padding:12px 18px;display:flex;flex-direction:column;gap:10px}.sheet-summary{padding:8px 10px;border-radius:8px;background:var(--surface-hover);line-height:1.5}@keyframes sheet-in{0%{transform:translate(24px);opacity:.6}to{transform:none;opacity:1}}@keyframes sheet-fade{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.sheet,.sheet-back{animation:none}}.menu-wrap{position:relative;display:inline-flex}.menu{position:absolute;top:calc(100% + 4px);left:0;z-index:70;min-width:220px;max-height:360px;overflow-y:auto;background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-pop);padding:4px}.menu.right{left:auto;right:0}.menu-title{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-3);padding:6px 8px 4px}.menu-item{width:100%;display:flex;align-items:center;gap:6px;padding:6px 8px;border:0;background:none;border-radius:var(--r-md);font:inherit;font-size:13px;color:var(--ink);text-align:left;cursor:pointer}.menu-item:hover,.menu-item:focus-visible{background:var(--surface-hover);outline:none}.menu-item.danger{color:var(--danger)}.menu-check{width:14px;display:inline-flex;color:var(--primary)}.menu-sep{border:0;border-top:1px solid var(--border);margin:4px 0}.sb-top .menu-wrap{display:block}.sb-top .menu{width:100%}.call-live{display:flex;flex-direction:column;align-items:center;gap:6px;padding:40px 0 20px;text-align:center}.call-av{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:600;background:var(--hue-teal-bg);color:var(--hue-teal-ink);margin-bottom:6px;animation:call-pulse 1.6s ease-in-out infinite}@keyframes call-pulse{0%,to{box-shadow:0 0 #12807d40}50%{box-shadow:0 0 0 12px #12807d00}}@media(prefers-reduced-motion:reduce){.call-av{animation:none}}.tpl-chip{text-align:left;border-radius:var(--r-md);margin-bottom:6px;line-height:1.45}.tpl-chip b{color:var(--ink);margin-right:4px}.wa-preview{align-self:flex-start;max-width:85%;padding:8px 10px;border-radius:10px 10px 10px 2px;background:#dcf8c6;color:#111}.drop{border:1.5px dashed var(--border-strong);border-radius:var(--r-lg);padding:20px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:var(--surface-subtle)}.day-empty{position:absolute;top:40px;left:0;right:0;text-align:center}.wave i.played{opacity:1}.wf-add.on{border-color:var(--primary);color:var(--primary)}@media print{body.print-quote .sidebar,body.print-quote .page-header,body.print-quote .page-tabs,body.print-quote .split>.page-body,body.print-quote .fab,body.print-quote .ai-fab{display:none!important}body.print-quote .drawer{width:100%!important;border:0}body.print-quote .drawer .panel-b.row,body.print-quote .drawer-h button{display:none!important}}
