:root{--viz-1: #2a78d6;--viz-2: #eb6834;--viz-3: #1baf7a;--viz-crit: #d03b3b;--viz-r0: #3987e5;--viz-r1: #2a78d6;--viz-r2: #256abf;--viz-r3: #1c5cab;--viz-r4: #184f95;--viz-r5: #104281;--viz-r6: #0d366b;--viz-grid: #e3ecef;--viz-axis: var(--muted)}:root[data-theme=dark]{--viz-1: #3987e5;--viz-2: #d95926;--viz-3: #199e70;--viz-crit: #e66767;--viz-r0: #9ec5f4;--viz-r1: #86b6ef;--viz-r2: #6da7ec;--viz-r3: #5598e7;--viz-r4: #3987e5;--viz-r5: #2a78d6;--viz-r6: #256abf;--viz-grid: #2c3a44}.viz{position:relative;display:flex;flex-direction:column;gap:6px}.viz svg{width:100%;height:auto;display:block;overflow:visible}.viz-grid{stroke:var(--viz-grid);stroke-width:1}.viz-axis{fill:var(--viz-axis);font-size:11px;font-variant-numeric:tabular-nums}.viz-label{fill:var(--ink);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.viz-cross{stroke:var(--line-strong);stroke-width:1;stroke-dasharray:3 3}.viz-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.viz-s1{stroke:var(--viz-1)}.viz-s2{stroke:var(--viz-2)}.viz-s3{stroke:var(--viz-3)}.viz-scrit{stroke:var(--viz-crit)}.viz-f1{fill:var(--viz-1)}.viz-f2{fill:var(--viz-2)}.viz-f3{fill:var(--viz-3)}.viz-fcrit{fill:var(--viz-crit)}.viz-dot{stroke:var(--surface);stroke-width:2}.viz-ramp0{fill:var(--viz-r0)}.viz-ramp1{fill:var(--viz-r1)}.viz-ramp2{fill:var(--viz-r2)}.viz-ramp3{fill:var(--viz-r3)}.viz-ramp4{fill:var(--viz-r4)}.viz-ramp5{fill:var(--viz-r5)}.viz-ramp6{fill:var(--viz-r6)}.viz path[tabindex]:focus-visible{outline:2px solid var(--primary)}.viz-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.viz-legend span{display:inline-flex;align-items:center;gap:6px}.viz-sw{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:4px;vertical-align:-1px}.viz-c1{background:var(--viz-1)}.viz-c2{background:var(--viz-2)}.viz-c3{background:var(--viz-3)}.viz-ccrit{background:var(--viz-crit)}.viz-tip{position:absolute;z-index:5;transform:translate(12px,-110%);pointer-events:none;background:var(--surface);color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;box-shadow:var(--shadow);padding:6px 10px;font-size:12px;white-space:nowrap}.viz-bars{display:flex;flex-direction:column;gap:6px}.viz-bar-row{display:grid;grid-template-columns:minmax(90px,34%) minmax(0,1fr) auto;gap:10px;align-items:center;font-size:13px}.viz-bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viz-bar-svg{height:14px!important}.viz-bar-val{font-weight:700;min-width:2.5ch;text-align:right}.viz-card{display:flex;flex-direction:column;gap:10px;min-width:0}.dash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px;align-items:start}.dash-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.dash-kpi{display:flex;flex-direction:column;gap:2px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;font:inherit;color:inherit}button.dash-kpi{cursor:pointer}button.dash-kpi:hover{border-color:var(--primary)}.dash-kpi b{font-family:var(--f-head);font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}.dash-kpi .label-sm{color:var(--muted)}.dash-kpi.is-bad{border-left:4px solid var(--danger)}.staff-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line);font-size:13px}.staff-row:first-of-type{border-top:0}.ast-fab{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:60;width:52px;height:52px;border-radius:50%;border:0;background:var(--primary-strong);color:var(--on-primary);display:grid;place-items:center;cursor:pointer;box-shadow:var(--shadow-lg)}.ast-fab:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.ast-panel{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:82px;z-index:60;width:min(380px,calc(100vw - 32px));height:min(560px,calc(100dvh - 120px));display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden}.ast-head{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line)}.ast-head b{flex:1}.ast-mode{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--surface-sunk);color:var(--muted)}.ast-mode.on{background:var(--primary-soft);color:var(--primary-ink)}.ast-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.ast-hints{display:flex;flex-wrap:wrap;gap:6px}.ast-msg{max-width:88%;display:flex;flex-direction:column;gap:6px;align-items:flex-start}.ast-msg p{margin:0;padding:8px 12px;border-radius:12px;white-space:pre-wrap;font-size:14px;line-height:1.5}.ast-msg.user{align-self:flex-end;align-items:flex-end}.ast-msg.user p{background:var(--primary-strong);color:var(--on-primary)}.ast-msg.assistant p{background:var(--surface-sunk)}.ast-form{display:flex;gap:6px;align-items:flex-end;padding:10px;border-top:1px solid var(--line)}.ast-form textarea{flex:1;resize:none}:root{--mv-brand: #079a9b;--mv-brand-deep: #05696a;--mv-coral: #eb6834;--mv-soft: #d7efef;--mv-track: #eef4f5;--mv-hatch: #d6e3e6;--mv-r0: #cfeeee;--mv-r1: #9bdcdc;--mv-r2: #4fbcbc;--mv-r3: #079a9b;--mv-r4: #05797a;--mv-r5: #0b4f63}:root[data-theme=dark]{--mv-brand: #1ba3a3;--mv-brand-deep: #7fd6d5;--mv-coral: #d95926;--mv-soft: #143d40;--mv-track: #1c2a31;--mv-hatch: #2a3a42;--mv-r0: #164a4c;--mv-r1: #13696a;--mv-r2: #138788;--mv-r3: #1ba3a3;--mv-r4: #4fbcbc;--mv-r5: #9bdcdc}.dash{gap:20px}.dash-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}.dash-head h1{font-size:28px;margin:0}.dash-head p{margin:2px 0 0}.dash .card{border-radius:22px;border-color:transparent;box-shadow:0 1px 2px #0f27390d,0 10px 30px #0f27390f;padding:20px 22px}.dash-top{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,1fr));gap:16px}.mv-hero{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:4px;text-align:left;color:#fff;border:0;cursor:pointer;font:inherit;border-radius:22px;padding:18px 20px 14px;background:linear-gradient(135deg,#0aa6a5,#079a9b 38%,#0b6496 78%,#17306b);box-shadow:0 14px 34px #079a9b47}.mv-hero:after{content:"";position:absolute;right:-60px;top:-70px;width:220px;height:220px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.22),transparent)}.mv-hero-top{display:flex;justify-content:space-between;align-items:center;font-weight:600;opacity:.95}.mv-hero-n{font-family:var(--f-head);font-size:46px;line-height:1;letter-spacing:-.02em}.mv-hero-sub{font-size:13px;opacity:.92;display:flex;gap:6px;align-items:center}.mv-spark{width:100%;height:56px;margin-top:6px}.mv-hero-foot{display:flex;gap:14px;font-size:12.5px;font-weight:600;opacity:.95}.mv-hero .mv-delta{background:#fff3;color:#fff}.mv-tile{display:flex;flex-direction:column;gap:4px;text-align:left;border:0;cursor:pointer;font:inherit;color:var(--ink);background:var(--surface);border-radius:22px;padding:18px 20px;box-shadow:0 1px 2px #0f27390d,0 10px 30px #0f27390f;transition:transform .15s ease}.mv-tile:hover{transform:translateY(-2px)}.mv-tile-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}.mv-ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--mv-soft);color:var(--mv-brand-deep)}.mv-tile-l{font-size:13px;color:var(--muted);margin-top:6px}.mv-tile-n{font-family:var(--f-head);font-size:32px;line-height:1.1;letter-spacing:-.01em}.mv-tile-s{font-size:12.5px;color:var(--muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap}.mv-delta{display:inline-flex;align-items:center;gap:2px;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--surface-sunk);color:var(--muted)}.mv-delta.up{background:var(--ok-bg);color:var(--ok)}.mv-delta.down{background:var(--danger-bg);color:var(--danger)}.mv-alerts{display:flex;gap:10px;flex-wrap:wrap}.mv-alert{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 8px 7px 14px;font:inherit;font-size:13px;color:var(--ink);cursor:pointer}.mv-alert b{min-width:26px;height:26px;border-radius:999px;display:grid;place-items:center;background:var(--surface-sunk);font-size:12px;padding:0 6px}.mv-alert.is-bad b{background:var(--ink);color:var(--surface)}.mv-alert:hover{border-color:var(--mv-brand)}.dash-grid2{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px;align-items:stretch}.dash-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.mv{position:relative;display:flex;flex-direction:column;gap:8px}.mv svg{width:100%;height:auto;display:block;overflow:visible}.mv-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.mv-legend span{display:inline-flex;align-items:center;gap:6px}.mv-sw{width:10px;height:10px;border-radius:999px;display:inline-block}.mv-sw.mv-brand{background:var(--mv-brand)}.mv-sw.mv-coral{background:var(--mv-coral)}.mv-axis{fill:var(--muted);font-size:11.5px}.mv-axis.is-on{fill:var(--ink);font-weight:700}.mv-grid{stroke:var(--viz-grid);stroke-dasharray:3 5}.mv-hatch{stroke:var(--mv-hatch);stroke-width:3}.mv-track{opacity:.9}rect.mv-brand{fill:var(--mv-brand)}rect.mv-coral{fill:var(--mv-coral)}rect.is-dim{opacity:.55}.mv svg rect[tabindex]:focus-visible{outline:2px solid var(--primary)}.mv-line{fill:none;stroke:var(--mv-brand);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.mv-grad-a{stop-color:var(--mv-brand);stop-opacity:.32}.mv-grad-b{stop-color:var(--mv-brand);stop-opacity:0}.mv-cross{stroke:var(--mv-brand);stroke-dasharray:3 4}.mv-dot{fill:var(--surface);stroke:var(--mv-brand);stroke-width:3}.mv-pill{fill:var(--ink)}.mv-pill-t{fill:var(--surface);font-size:12px;font-weight:700}.mv-bubble{position:absolute;z-index:5;transform:translate(-50%,calc(-100% - 8px));pointer-events:none;background:var(--ink);color:var(--surface);border-radius:999px;padding:4px 12px;font-size:12px;white-space:nowrap;box-shadow:var(--shadow)}.mv-gauge{position:relative;display:grid;justify-items:center;margin:0 auto 8px;width:min(100%,260px)}.mv-gauge svg{width:100%;height:auto}.mv-gauge-track{fill:none;stroke:var(--mv-track);stroke-width:18;stroke-linecap:round}.mv-gauge-fill{fill:none;stroke:var(--mv-brand);stroke-width:18;stroke-linecap:round;transition:stroke-dasharray .6s ease}.mv-gauge-c{position:absolute;top:42%;display:grid;justify-items:center}.mv-gauge-c b{font-family:var(--f-head);font-size:34px;line-height:1}.mv-gauge-c span{font-size:12px;color:var(--muted)}.mv-gauge-sub{font-size:12.5px;color:var(--muted)}.mv-rank{display:flex;flex-direction:column;gap:10px}.mv-rank-row{display:grid;grid-template-columns:minmax(90px,46%) minmax(0,1fr) auto;gap:10px;align-items:center;font-size:13px}.mv-rank-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-rank-track{display:flex;height:12px;border-radius:999px;background:var(--mv-track);overflow:hidden;gap:2px}.mv-rank-fill{background:var(--mv-brand);border-radius:999px;transition:width .5s ease}.mv-rank-fill.is-soft{background:var(--mv-r2)}.mv-rank-rest{background:var(--mv-coral);border-radius:999px}.mv-rank-v{font-weight:700;font-variant-numeric:tabular-nums;text-align:right;min-width:3ch}.mv-rank-v em{font-style:normal;font-weight:600;color:var(--muted);margin-left:4px;font-size:12px}.mv-funnel{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.mv-funnel li{display:grid;grid-template-columns:minmax(70px,28%) minmax(0,1fr) 42px;gap:10px;align-items:center;font-size:13px}.mv-funnel-track{display:flex;justify-content:center}.mv-funnel-bar{display:flex;align-items:center;justify-content:center;height:30px;border-radius:999px;font-variant-numeric:tabular-nums;transition:width .5s ease}.mv-funnel-bar b{font-size:12.5px}.mv-funnel-bar.r0{background:var(--mv-r0);color:var(--ink)}.mv-funnel-bar.r1{background:var(--mv-r1);color:var(--ink)}.mv-funnel-bar.r2{background:var(--mv-r3);color:#fff}.mv-funnel-bar.r3{background:var(--mv-r4);color:#fff}.mv-funnel-bar.r4{background:var(--mv-r5);color:#fff}.mv-funnel-bar.r5{background:#17306b;color:#fff}:root[data-theme=dark] .mv-funnel-bar.r0,:root[data-theme=dark] .mv-funnel-bar.r1{color:#fff}:root[data-theme=dark] .mv-funnel-bar.r4,:root[data-theme=dark] .mv-funnel-bar.r5{color:#0f2739}.mv-funnel-c{font-size:11.5px;font-weight:700;color:var(--mv-brand-deep);text-align:right}.mv-team,.mv-tasks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.mv-team li,.mv-tasks li{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line)}.mv-team li:first-child,.mv-tasks li:first-child{border-top:0}.mv-team .grow,.mv-tasks .grow{display:flex;flex-direction:column;min-width:0;font-size:13px}.mv-team .grow>*,.mv-tasks .grow>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-load{display:flex;gap:2px;height:6px;margin-top:5px;border-radius:999px;background:var(--mv-track);overflow:hidden}.mv-load .ok{background:var(--mv-brand);border-radius:999px}.mv-load .late{background:var(--viz-crit);border-radius:999px}.mv-team-n{display:flex;flex-direction:column;align-items:flex-end;font-size:12px}.mv-team-n b{font-size:16px;font-family:var(--f-head)}.mv-team-n em{font-style:normal}.mv-task-dot{width:10px;height:10px;border-radius:50%;background:var(--mv-brand);flex:none}.mv-tasks li.is-late .mv-task-dot{background:var(--viz-crit)}@media(max-width:1100px){.dash-top,.dash-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid2{grid-template-columns:minmax(0,1fr)}}@media(max-width:700px){.dash-top,.dash-grid3{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.mv-tile,.mv-rank-fill,.mv-funnel-bar,.mv-gauge-fill{transition:none}}.viz-card .seg{flex-wrap:nowrap}.viz-card .seg button{padding:5px 10px;white-space:nowrap}.viz-card>.row h3{min-width:0}.mail-html{width:100%;height:640px;border:1px solid var(--line);border-radius:var(--r);background:#f2f7f8;margin-bottom:10px}.ho-group{border-top:1px solid var(--line);padding-top:10px}.ho-group:first-of-type{border-top:0;padding-top:0}.ho-items{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}.ho-items label{min-height:40px;gap:10px;cursor:pointer;padding:2px 4px;border-radius:8px}.ho-items label:hover{background:var(--sunk)}.ho-items input{width:18px;height:18px;accent-color:var(--accent);flex:none}.phase-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;counter-reset:ph}.phase-steps li{counter-increment:ph;font-size:12.5px;font-weight:600;color:var(--muted);border-top:4px solid var(--line);padding-top:6px}.phase-steps li:before{content:counter(ph) ". "}.phase-steps li.done{border-color:var(--accent);color:var(--ink)}.phase-steps li.cur{border-color:var(--accent);color:var(--accent)}
