:root{--bg:#edf1f3;--surface:#fff;--surface-2:#f4f7f8;--line:#d7e0e4;--ink:#10252f;--muted:#5a6f79;--brand:#145a73;--brand-soft:#dcecf1;--accent:#de5d27;--rail:#0e2e3a;--rail-2:#174352;--rail-ink:#d5e5eb;--rail-muted:#7f9faa;--ok:#1d8455;--ok-soft:#daf0e4;--warn:#a8710a;--warn-soft:#f7ebd0;--bad:#c03a3a;--bad-soft:#f7dcdc;--info:#2a6cae;--info-soft:#dce8f5;--ill-dark:#1d333d;--ill-metal:#c3d1d7;--ill-hi:#eef4f6;--f-disp:"Archivo","Arial Narrow",sans-serif;--f-body:"IBM Plex Sans","Noto Sans Devanagari",system-ui,sans-serif;--f-mono:"JetBrains Mono",monospace;--r:14px;color-scheme:light}

:root[data-theme=dark]{--bg:#0a1519;--surface:#101f25;--surface-2:#15272e;--line:#22383f;--ink:#e2ecef;--muted:#8ea4ac;--brand:#5cb6d3;--brand-soft:#16323c;--accent:#f57a43;--rail:#071014;--rail-2:#11262e;--rail-ink:#d2e2e8;--rail-muted:#6f8f99;--ok:#43c38a;--ok-soft:#123327;--warn:#e2ac3f;--warn-soft:#352a12;--bad:#ef6b6b;--bad-soft:#3a1919;--info:#6aa8e6;--info-soft:#14283b;--ill-dark:#2a434d;--ill-metal:#5d7781;--ill-hi:#9fb6be;color-scheme:dark}

*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{background:var(--bg);color:var(--ink);font:14px/1.5 var(--f-body);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit;color:inherit}
button,a,select{-webkit-tap-highlight-color:transparent}
h1,h2,h3{font-family:var(--f-disp);font-stretch:112%;margin:0;line-height:1.15;letter-spacing:-.01em;font-weight:700}
h1{font-size:2.3rem;font-weight:750;text-wrap:balance}
h2{font-size:1.35rem}
h3{font-size:1rem}
p{margin:0}
a{color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.muted,.eyebrow{color:var(--muted)}
.eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase}
.mono{font: .92em var(--f-mono);letter-spacing:-.01em}
.ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

.app{display:grid;grid-template-columns:256px minmax(0,1fr);min-height:100dvh}
.rail{background:var(--rail);color:var(--rail-ink);position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:18px 14px;overflow-y:scroll;z-index:40;scrollbar-color:#929392 #f3f5f6;scrollbar-width:auto}
.brand{display:flex;gap:10px;align-items:center;padding:4px 8px 18px}
.brand-mark{width:36px;height:36px;border-radius:10px;background:var(--accent);display:grid;place-items:center;flex:none;color:#fff}
.brand-mark svg{width:24px;height:24px}
.brand b{font:700 1.02rem/1.1 var(--f-disp);font-stretch:118%;letter-spacing:.02em;display:block}
.brand small{color:var(--rail-muted);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase}
.nav-group{display:flex;flex-direction:column;gap:2px;margin-bottom:14px}
.nav-group>span{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--rail-muted);padding:6px 10px}
.nav a{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:9px;color:var(--rail-ink);text-decoration:none;font-weight:500;position:relative}
.nav a.on,.nav a:hover{background:var(--rail-2)}
.nav a.on{color:white}
.nav a.on:before{content:"";position:absolute;left:-14px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--accent)}
.cnt{margin-left:auto;font-size:.7rem;background:var(--accent);color:white;border-radius:20px;padding:0 7px;font-weight:600}
.rail-foot{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:12px}
.phase2{border:1px dashed var(--rail-2);border-radius:10px;padding:10px 12px;font-size:.78rem;color:var(--rail-muted)}
.byline{font-size:.72rem;padding:0 8px;color:var(--rail-muted)}
.byline b{color:var(--rail-ink)}
.main{min-width:0;display:flex;flex-direction:column}
.top{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:10px 24px;flex-wrap:wrap}
.top-title{min-width:0;flex:1 1 220px}
.top-title h2{font-size:1.15rem}
.top-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sample{font-size:.72rem;border:1px solid var(--line);border-radius:20px;padding:3px 10px;color:var(--muted);white-space:nowrap}
.role-pick{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:3px 4px 3px 10px}
.role-pick span{font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.role-pick select{border:0;background:transparent;font-weight:600;padding:5px 4px;cursor:pointer;max-width:160px}
.seg{display:inline-flex;background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px}
.seg button{border:0;background:transparent;padding:5px 10px;border-radius:7px;font-weight:500;color:var(--muted);font-size:.85rem}
.seg button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #10252f0f,0 10px 28px -14px #10252f38}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 13px;font-weight:500;white-space:nowrap;text-decoration:none}
.btn:hover{border-color:var(--brand)}
.btn.sm{padding:5px 10px;font-size:.82rem;border-radius:8px}
.btn.icon{padding:7px;border-radius:9px}
.bell{position:relative}
.bell i{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding:0 3px;border-radius:9px;background:var(--accent);color:var(--bg);font:600 11px/17px var(--f-body);box-shadow:0 0 0 2px var(--bg)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rail-close{display:none}
.menu-open{overflow:hidden}
.menu-btn{display:none}
.content{padding:22px 24px 48px;max-width:1360px;width:100%;display:flex;flex-direction:column;gap:18px}
.view{display:flex;flex-direction:column;gap:18px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:18px;min-width:0}
.card-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.card-h p{font-size:.82rem}
.hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;align-items:center;padding:24px;background:linear-gradient(120deg,var(--surface) 55%,var(--brand-soft));overflow:hidden;position:relative}
.hero .lede{color:var(--muted);margin-top:8px;max-width:58ch}
.hero-ill{width:200px;justify-self:end}
.ill{width:100%;height:auto;display:block}
.hero-ill .ill{animation:overview-wheel-spin 8s linear infinite;transform-origin:50% 50%}
@keyframes overview-wheel-spin{to{transform:rotate(360deg)}}
.i-dark{fill:var(--ill-dark)}
.i-metal{fill:var(--ill-metal)}
.i-hi{fill:var(--ill-hi)}
.i-brand{fill:var(--brand)}
.i-acc{fill:var(--accent)}
.journey{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}
.journey a{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:30px;padding:6px 12px 6px 6px;cursor:pointer;font-weight:500;font-size:.84rem;text-decoration:none}
.journey a:hover{border-color:var(--accent)}
.journey b{width:22px;height:22px;border-radius:50%;background:var(--brand);color:var(--surface);display:grid;place-items:center;font-size:.72rem}
.journey .arr{align-self:center;color:var(--muted)}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.kpi{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0;position:relative;overflow:hidden}
.kpi b{font:700 1.75rem/1.1 var(--f-disp);font-stretch:108%;font-variant-numeric:tabular-nums}
.kpi small{font-size:.78rem;color:var(--muted)}
.kpi .spark{position:absolute;right:12px;top:14px;width:84px;height:30px;fill:none;stroke:var(--brand);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.kpi.alert b{color:var(--bad)}
.g-5-7{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:18px}
.stackbar{display:block;height:14px;width:100%;border-radius:8px;overflow:hidden}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:.8rem;color:var(--muted);margin-top:10px}
.legend i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.c-new{background:var(--info);fill:var(--info)}
.c-progress{background:var(--brand);fill:var(--brand)}
.c-hold{background:var(--warn);fill:var(--warn)}
.c-resolved{background:var(--ok);fill:var(--ok)}
.c-closed{background:var(--ill-metal);fill:var(--ill-metal)}
.tickets-list{margin-top:14px}
.li{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);min-width:0}
.li:last-child{border-bottom:0}
.li .grow{flex:1;min-width:0}
.li .grow b{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.li .grow small{color:var(--muted);font-size:.8rem}
.ticket-link{text-decoration:none}
.ticket-link:hover b{color:var(--brand)}
.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:.7rem;font-weight:700;background:var(--brand-soft);color:var(--brand);flex:none}
.chip{display:inline-flex;align-items:center;gap:6px;font-size:.74rem;font-weight:600;padding:3px 9px;border-radius:20px;white-space:nowrap;background:var(--surface-2);color:var(--muted)}
.chip:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.t-new{background:var(--info-soft);color:var(--info)}
.t-progress{background:var(--brand-soft);color:var(--brand)}
.t-hold{background:var(--warn-soft);color:var(--warn)}
.t-resolved{background:var(--ok-soft);color:var(--ok)}
.flame{color:var(--bad);display:inline-flex;gap:3px;font-size:.72rem;font-weight:600;align-items:center}
.flame .ic{width:13px;height:13px}
.chart{width:100%;height:auto;display:block;overflow:visible}
.chart .grid{stroke:var(--line);stroke-width:1}
.chart .ax{fill:var(--muted);font-size:11px;font-family:var(--f-body)}
.chart .line{fill:none;stroke:var(--brand);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.chart .endpt{fill:var(--accent);stroke:var(--surface);stroke-width:3}
.chart .endlbl{fill:var(--ink);font-size:12px;font-weight:600;font-family:var(--f-body)}
.chart .hit{fill:transparent}
.chart .hit:hover,.chart .hit:focus{fill:var(--brand);fill-opacity:.25}
.chart stop{stop-color:var(--brand)}
.chart .fade-top{stop-opacity:.28}
.chart .fade-bottom{stop-opacity:0}
.reference-note{font-size:.78rem;color:var(--muted)}
.empty{display:grid;place-content:center;text-align:center;gap:12px;padding:32px;min-height:220px}
.error-state{border-color:var(--bad)}
.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100%);height:100dvh;max-height:none;border:0;border-left:1px solid var(--line);background:var(--surface);color:var(--ink);padding:24px;overflow:auto}
.drawer::backdrop{background:#06121773}
.drawer .card-h{margin-bottom:20px}
.notif{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:flex-start}
.notif.unread b:after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-left:7px}
.notif .grow{flex:1}
.notif p{font-size:.85rem;color:var(--muted);margin:6px 0}
.notification-delivery{display:flex;flex-wrap:wrap;gap:4px 12px;list-style:none;margin:6px 0 9px;padding:0;color:var(--muted);font-size:.78rem}
.notification-delivery li{display:flex;flex-wrap:wrap;column-gap:5px}
.notification-delivery strong{color:var(--ink);font-weight:600}
.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}
.detail-list dt{font-size:.75rem;color:var(--muted)}
.detail-list dd{margin:4px 0;font-weight:600}
.toast{position:fixed;bottom:20px;right:20px;background:var(--ink);color:var(--surface);padding:12px 20px;border-radius:10px;z-index:100}
.initial-loading{padding:40px}
.skip{position:fixed;top:-100px;left:20px;background:var(--surface);padding:10px;z-index:100}
.skip:focus{top:10px}
.kanban{display:grid;grid-template-columns:repeat(5,minmax(200px,1fr));gap:12px;overflow-x:auto}
.kanban-col{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:12px;min-height:300px}
.kanban-col .li{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px;display:block;margin-top:12px}
.kanban-col small{display:block}
.mobile-scrim{display:none}
button:disabled,select:disabled{opacity:.55;cursor:wait}
::-webkit-scrollbar{width:16px;height:12px}
::-webkit-scrollbar-track{background:#f3f5f6}
::-webkit-scrollbar-thumb{background:#929392;border-radius:12px;border:4px solid #f3f5f6}

@media(max-width:1350px){.top-title{flex-basis:140px}
.sample{display:none}
.hero{grid-template-columns:minmax(0,1fr) 190px}
.hero-ill{width:180px}
.kpi .spark{width:65px}
}

@media(max-width:1000px){
.app{grid-template-columns:1fr;min-height:100dvh}
.rail{position:fixed;left:0;top:0;width:272px;height:100dvh;transform:translateX(-100%);visibility:hidden}
.rail.open{transform:none;visibility:visible}
.rail-close{display:inline-flex;margin-left:auto;color:var(--rail-ink)}
.menu-btn{display:inline-flex}
.mobile-scrim.on{display:block;position:fixed;inset:0;background:#06121773;z-index:35;border:0}
.g-5-7{grid-template-columns:1fr}
.hero{grid-template-columns:minmax(0,1fr) 200px}
.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.drawer{height:100dvh}
.top-title{flex-basis:160px}
.content{max-width:none}
}

@media(max-width:640px){.content,.top{padding-left:16px;padding-right:16px}
.top{gap:8px}
.top-title{flex:1}
.top-tools{width:100%;gap:6px}
.role-pick{flex:1}
.role-pick select{max-width:130px}
.role-pick span{font-size:.65rem}
.seg button{padding:5px 7px}
.hero{display:block;padding:18px}
.hero-ill{display:none}
h1{font-size:1.8rem}
.kpi{padding:12px}
.kpi b{font-size:1.35rem}
.kpi .spark{display:none}
.kpis{gap:10px}
.legend{gap:10px}
.li{gap:8px}
.flame{font-size:.65rem}
.chip{font-size:.65rem;padding:3px 6px}
.mono{font-size:.8em}
.journey{gap:4px}
.journey a{font-size:.75rem}
.top-title h2{font-size:1.15rem}
}

.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

.amount{text-align:right}
.amount b{font-variant-numeric:tabular-nums}

.t-bad{background:var(--bad-soft);color:var(--bad)}

.promo{border-radius:var(--r);border:1px solid var(--line);background:var(--surface);overflow:hidden;display:flex;flex-direction:column}

.promo-art{padding:18px;color:#fff;min-height:132px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;background:linear-gradient(135deg,#0e2e3a,#1f7c99)}

.promo-art h3{font-size:1.15rem;max-width:80%;color:#fff}
.promo-art .eyebrow{color:#fffc}

.promo-art .ill{position:absolute;right:-18px;bottom:-22px;width:120px;opacity:.9}

.promo-b{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1}
.promo-b p{font-size:.86rem}

.rail::-webkit-scrollbar{width:20px}
.rail::-webkit-scrollbar-track{background:#fcfcfc}
.rail::-webkit-scrollbar-thumb{background:#8b8b8b;border:5px solid #fcfcfc}

@media(max-width:640px){.role-pick>span{display:none}
}

@media(max-width:1180px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:640px){.grid-3{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

