@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap";.app-shell{background:linear-gradient(#0a1221cc,#0a12218c),radial-gradient(circle at 0 0,#4770ef14,#0000 24%);grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.app-main{min-width:0;padding:1.25rem 1.25rem 1.25rem 0}.sidebar{flex-direction:column;justify-content:space-between;gap:.8rem;min-height:100vh;padding:1.25rem 0 1.25rem 1.25rem;display:flex;position:sticky;top:0}.sidebar-top,.sidebar-bottom,.sidebar-nav,.stack,.hero-meta,.sidebar-status,.sidebar-activity,.sidebar-user-copy,.user-trigger-copy,.user-dropdown-meta{gap:.8rem;display:grid}.sidebar-top{align-content:start}.sidebar-bottom{align-content:end}.sidebar-brand{grid-template-columns:74px minmax(0,1fr);align-items:start;gap:.8rem;display:grid}.sidebar-brand-mark,.sidebar-link-icon,.user-avatar{border-radius:18px;justify-content:center;align-items:center;display:inline-flex}.sidebar-brand-mark,.user-avatar{letter-spacing:.08em;font-weight:800}.sidebar-brand-mark{width:74px;height:74px;color:var(--text-primary);background:linear-gradient(145deg,#6692ffeb,#3761cde6),radial-gradient(circle at 0 0,#ffffff4d,#0000 45%);overflow:hidden;box-shadow:inset 0 1px #ffffff38}.sidebar-brand-image{object-fit:cover;object-position:center 18%;filter:drop-shadow(0 10px 18px #08142c2e);width:100%;height:100%;transform:scale(1.08)}.sidebar-brand-copy{gap:.18rem;display:grid}.sidebar-brand h1{font-size:1.15rem;line-height:1.15}.sidebar-group-label{color:var(--text-soft);letter-spacing:.22em;text-transform:uppercase;padding-left:.25rem;font-size:.68rem;font-weight:700}.sidebar-nav{gap:.38rem}.sidebar-link{background:#0b1323b3;border:1px solid #0000;border-radius:16px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:.65rem;min-height:44px;padding:.58rem .72rem;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:grid}.sidebar-link:hover{border-color:var(--border);background:#101c30e6;transform:translate(2px);box-shadow:0 12px 24px #040c1c3d}.sidebar-link.active{background:linear-gradient(#192b4ff5,#111f39f5),radial-gradient(circle at 0 0,#6691ff38,#0000 48%);border-color:#6e9bff6b;box-shadow:inset 0 1px #ffffff0a,0 18px 32px #060e1f47}.sidebar-link-icon{width:34px;height:34px;color:var(--accent-strong);background:#111e35c2;border:1px solid #8fb1eb1f;border-radius:12px;box-shadow:inset 0 1px #ffffff0f,0 10px 18px #0710222e}.sidebar-link.active .sidebar-link-icon{color:var(--text-primary);background:#284884c7;border-color:#91bbff47}.menu-icon{opacity:.85;width:20px;height:20px;transition:opacity .16s,filter .16s,transform .16s}.sidebar-link:hover .menu-icon{opacity:1;filter:drop-shadow(0 0 6px #8fb3ff80);transform:scale(1.03)}.sidebar-link.active .menu-icon{opacity:1;filter:drop-shadow(0 0 8px #8fb3ff6b)}.sidebar-link-copy{min-width:0;display:block}.sidebar-link-topline{justify-content:space-between;align-items:center;gap:.45rem;display:flex}.sidebar-link-label{color:var(--text-primary);font-size:.88rem;font-weight:700;line-height:1.2}.sidebar-link-copy small{color:var(--text-soft)}.sidebar-link-dot{background:var(--danger);border-radius:999px;flex:none;width:6px;height:6px;box-shadow:0 0 0 3px #ff6f7826}.sidebar-status-row,.section-head,.incident-head,.row,.page-header-badges,.button-row,.actions,.tabs,.filter-row{flex-wrap:wrap;gap:.75rem;display:flex}.sidebar-status-row,.section-head,.incident-head,.row{justify-content:space-between;align-items:center}.sidebar-status-row strong,.sidebar-activity strong,.row strong,h1,h2{color:var(--text-primary)}.sidebar-activity strong{font-size:.98rem;line-height:1.45;display:block}.page-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin:0;padding-right:19rem;display:flex;overflow:visible}.page-header-copy,.page-header-meta{gap:.9rem;display:grid}.page-header-copy{flex:520px;min-width:0}.page-header-meta{place-items:stretch end;width:auto;position:absolute;top:1.1rem;right:1.1rem;overflow:visible}.user-avatar{width:40px;height:40px;color:var(--text-primary);background:linear-gradient(160deg,#5f8cffeb,#4459d7d1),radial-gradient(circle at 0 0,#ffffff38,#0000 44%)}.user-menu{z-index:5;width:224px;max-width:224px;position:relative}.user-trigger{width:100%;min-width:0;color:var(--text-primary);cursor:pointer;box-shadow:var(--shadow-md);background:linear-gradient(#121e34f0,#0b1221fa),radial-gradient(circle at 0 0,#598aff1a,#0000 40%);border:1px solid #7b9ddc33;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.42rem .52rem .42rem .42rem;transition:border-color .15s,transform .15s,box-shadow .15s;display:grid}.user-trigger:hover,.user-trigger.open{border-color:#8eb6fa4d}.user-trigger-copy{justify-items:start;gap:.08rem;min-width:0}.user-trigger-copy strong{font-size:.92rem;line-height:1.2}.user-trigger-copy span{color:var(--text-muted);white-space:nowrap;font-size:.76rem;line-height:1.2}.user-trigger-chevron{width:14px;color:var(--text-soft);justify-content:center;align-items:center;font-size:.9rem;line-height:1;transition:transform .15s;display:inline-flex;transform:rotate(0)}.user-trigger-chevron.open{transform:rotate(180deg)}.user-dropdown.panel{z-index:9999;gap:.9rem;padding:.95rem;display:grid;position:absolute;box-shadow:0 26px 50px #01081480}.user-dropdown-head{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;display:grid}.user-dropdown-section{gap:.45rem;padding-top:.1rem;display:grid}.user-dropdown .secondary-button,.theme-toggle-dropdown{width:100%}.theme-toggle{border:1px solid var(--border);border-radius:var(--radius-pill);box-shadow:var(--shadow-md);background:#0e182ad1;align-items:center;gap:.25rem;padding:.24rem;display:inline-flex}.theme-toggle-option{border-radius:var(--radius-pill);min-height:40px;color:var(--text-soft);font:inherit;cursor:pointer;background:0 0;border:0;flex:1 1 0;padding:.65rem .95rem;font-size:.82rem;font-weight:700;transition:background .15s,color .15s,box-shadow .15s,transform .15s}.theme-toggle-option:hover{color:var(--text-primary)}.theme-toggle-option.active{color:var(--text-primary);background:#4f8cff2e;box-shadow:inset 0 1px #ffffff14,0 10px 18px #040c1c33}.app-loading-shell,.login-screen{place-items:center;min-height:100vh;padding:2rem;display:grid}.login-card{gap:1.25rem;width:min(100%,540px);display:grid}.login-card-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.auth-mode-switch{gap:.75rem;margin-top:1rem;display:flex}.auth-mode-switch>*{flex:1 1 0}.auth-inline-actions{justify-content:flex-start;display:flex}.auth-helper,.feedback{background:#0c1627d1;border:1px solid #7fa1e02e;border-radius:18px;padding:.85rem .95rem}.feedback.error{color:#ffd8db;background:#4c152257;border-color:#ff798142}.shell{gap:1.25rem;padding-top:1.1rem;display:grid}.shell-content{min-width:0}.grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem;display:grid}.two-column-grid{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);align-items:start;gap:1rem;display:grid}.checkbox-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.7rem;margin-top:1rem;display:grid}.check-row{color:var(--text-primary);align-items:flex-start;gap:.65rem;display:flex}.check-row input{margin-top:.22rem}.message-preview{white-space:pre-wrap}.broadcast-layout{grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:1rem;margin-top:1rem;display:grid}.broadcast-composer,.broadcast-sidebar{align-content:start;gap:1rem;display:grid}.broadcast-card{background:linear-gradient(#0e1728f0,#09101dfa),radial-gradient(circle at 0 0,#598aff0f,#0000 46%);border:1px solid #81a1db29;border-radius:12px;gap:.9rem;padding:1rem;display:grid}.broadcast-card-head{gap:.25rem;display:grid}.broadcast-card-head small,.broadcast-target-row small{color:var(--text-soft)}.broadcast-field-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem;display:grid}.broadcast-field{color:var(--text-secondary);gap:.42rem;display:grid}.broadcast-field>span{color:var(--text-primary);font-size:.94rem}.broadcast-field input,.broadcast-field select,.broadcast-field textarea{width:100%;color:var(--text-primary);background:#080e1aeb;border:1px solid #7b9ddc3d;border-radius:10px;padding:.85rem .95rem;transition:border-color .14s,box-shadow .14s,background .14s}.broadcast-field input::placeholder,.broadcast-field textarea::placeholder{color:#bcceee6b}.broadcast-field input:focus,.broadcast-field select:focus,.broadcast-field textarea:focus{box-shadow:var(--focus-ring);background:#0b1221fa;border-color:#77a8ff80;outline:none}.broadcast-field input:disabled{color:var(--text-soft);background:#161f32e6}.broadcast-textarea{resize:vertical;min-height:260px;font:inherit;line-height:1.55}.broadcast-chip-row{flex-wrap:wrap;gap:.65rem;display:flex}.broadcast-chip-row .secondary-button{min-height:38px;padding:.45rem .8rem}.broadcast-check-row{padding-top:.25rem}.broadcast-preview-card .message-preview{background:#080e1ab8;border:1px solid #7b9ddc2e;border-radius:10px;min-height:220px;margin:0;padding:1rem;line-height:1.65}.broadcast-target-row{background:#0e1626d1;border:1px solid #81a1db24;border-radius:10px;padding:.85rem .95rem}.broadcast-picklist{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:1rem;display:grid}.broadcast-picklist-column{gap:.45rem;display:grid}.broadcast-picklist-column strong{color:var(--text-primary)}.broadcast-picklist-column small{color:var(--text-muted)}.broadcast-picklist-select{width:100%;min-height:280px;color:var(--text-primary);font:inherit;background:#080e1aeb;border:1px solid #7b9ddc3d;border-radius:12px;padding:.4rem}.broadcast-picklist-select:focus{box-shadow:var(--focus-ring);border-color:#77a8ff80;outline:none}.broadcast-picklist-select option{border-radius:8px;padding:.6rem .7rem}.broadcast-picklist-controls{gap:.6rem;display:grid}.broadcast-picklist-controls .secondary-button{justify-content:center;min-width:58px}.detail-grid{grid-template-columns:minmax(320px,420px) minmax(0,1fr);align-items:start}.forms-grid{align-items:start}.panel{border-radius:var(--radius-panel);border:1px solid var(--border);box-shadow:var(--shadow-lg);background:linear-gradient(#131f35f2,#0a1221fa),radial-gradient(circle at 0 0,#4d83ff24,#0000 42%);padding:1.3rem;position:relative;overflow:hidden}.panel:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(#ffffff08,#0000 18%);position:absolute;inset:0}.panel>*{z-index:1;position:relative}.page-header.panel,.page-header.panel:before,.page-header-meta{overflow:visible}.hero{grid-template-columns:minmax(0,1.7fr) minmax(240px,.9fr);align-items:end;gap:1rem;display:grid}.overview-hero{min-height:190px}.eyebrow{color:var(--accent-strong);text-transform:uppercase;letter-spacing:.2em;font-size:.72rem;font-weight:700}.lead{max-width:62ch;color:var(--text-secondary);line-height:1.65}.muted,.caption,small{color:var(--text-muted)}.caption{font-size:.9rem}.stats{grid-template-columns:repeat(auto-fit,minmax(172px,1fr))}.stat{background:linear-gradient(#15233cf0,#0c1424fa),radial-gradient(circle at 100% 0,#6695ff29,#0000 42%);align-content:space-between;gap:.7rem;min-height:146px;display:grid}.stat strong{font-size:clamp(2rem,4vw,2.85rem);line-height:1}.metric-card{border-color:#7ca0e233}.panel>.section-head+.table,.panel>.section-head+.stack,.panel>.section-head+.plain-list,.panel>.section-head+.filters-grid,.panel>.section-head+.form,.panel>.section-head+.stack-form{margin-top:1rem}.section-head h2{font-size:1.15rem}.plain-list,.table,.stack{margin:0;padding:0;list-style:none}.plain-list li,.row,.incident-card,.route-card,.compact-card,.micro-card,.incident-select-card{border-radius:var(--radius-card);box-shadow:var(--shadow-md);background:linear-gradient(#0f182aeb,#0b1221f5),radial-gradient(circle at 0 0,#598aff14,#0000 44%);border:1px solid #81a1db24}.plain-list{gap:.75rem;display:grid}.plain-list li{padding:1rem 1.1rem}.table,.section-stack{gap:.8rem;display:grid}.row{align-items:center;padding:1rem 1.1rem}.row>span,.row>div{min-width:0}.row small{margin-top:.2rem;display:block}.chat-stats-line{color:var(--text-soft);margin-top:.38rem;line-height:1.5}.stack{gap:.8rem}.form,.stack-form{gap:.85rem;margin-top:1rem;display:grid}.form label,.stack-form label,.filters-grid label{color:var(--text-secondary);gap:.38rem;display:grid}.filters-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;margin-bottom:.25rem;display:grid}.form input,.stack-form input,.filters-grid input,.filters-grid select,.form select,.form textarea,.route-card select,.route-card textarea{background:var(--bg-input);width:100%;color:var(--text-primary);border:1px solid #7b9ddc38;border-radius:16px;padding:.9rem 1rem;transition:border-color .14s,box-shadow .14s,background .14s}.form input:focus,.stack-form input:focus,.filters-grid input:focus,.filters-grid select:focus,.form select:focus,.form textarea:focus,.route-card select:focus,.route-card textarea:focus{box-shadow:var(--focus-ring);background:#0d182bf5;border-color:#77a8ff70;outline:none}.form textarea,.route-card textarea{resize:vertical;min-height:112px}.checkbox{color:var(--text-secondary);align-items:center;gap:.7rem;display:flex}.checkbox input{width:18px;height:18px;accent-color:var(--accent)}.actions{justify-content:flex-end;margin-left:auto}.inline-select{background-color:var(--bg-input);min-width:156px;min-height:44px;color:var(--text-primary);font:inherit;appearance:none;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 17px) calc(50% - 2px),calc(100% - 11px) calc(50% - 2px);background-repeat:no-repeat;background-size:6px 6px,6px 6px;border:1px solid #7b9ddc38;border-radius:16px;padding:.78rem 2.6rem .78rem .95rem;line-height:1.2;transition:border-color .14s,box-shadow .14s,background-color .14s,color .14s;box-shadow:0 10px 24px #040c1c1f}.inline-select:focus{box-shadow:var(--focus-ring);border-color:#77a8ff70;outline:none}.inline-select:disabled{cursor:not-allowed;opacity:.72;box-shadow:none}.actions .inline-select{flex:none}.button-row{align-items:center}.badge,.status{border-radius:var(--radius-pill);white-space:nowrap;background:#121d32b8;border:1px solid #ffffff17;justify-content:center;align-items:center;gap:.4rem;min-height:32px;padding:.3rem .78rem;font-size:.82rem;font-weight:700;display:inline-flex}.primary-button,.secondary-button,.tab-button,.incident-select-card{color:var(--text-primary);border:1px solid #7b9ddc38;transition:transform .15s,border-color .15s,box-shadow .15s,background .15s,opacity .15s}.primary-button,.secondary-button,.tab-button{border-radius:var(--radius-pill);cursor:pointer;justify-content:center;align-items:center;min-height:44px;padding:.7rem 1.1rem;display:inline-flex}.primary-button{background:linear-gradient(135deg,#538afff5,#3259d6f5);box-shadow:0 14px 28px #2653be47}.secondary-button,.tab-button{background:#16233ae6}.primary-button:hover,.secondary-button:hover,.tab-button:hover,.incident-select-card:hover{border-color:#94b7f152;transform:translateY(-1px);box-shadow:0 12px 28px #050c1a42}.primary-button:disabled,.secondary-button:disabled{cursor:wait;opacity:.68;box-shadow:none;transform:none}.tab-button.active,.active-card{background:linear-gradient(#243d6ef0,#172543f5),radial-gradient(circle at 0 0,#6fa6ff29,#0000 42%);border-color:#68abff6b}.incident-select-card{border-radius:var(--radius-card);text-align:left;cursor:pointer;background:linear-gradient(#101a2ef0,#0b1221fa),radial-gradient(circle at 0 0,#5487ff14,#0000 44%);gap:.55rem;width:100%;padding:1rem 1.05rem;display:grid}.badge.api,.status.ok{color:#90f3be;background:#3bd28d1f;border-color:#3bd28d33}.badge.fallback,.badge.warn,.status.warn,.stat.warning{color:#ffd983;background:#f4bf491f;border-color:#f4bf4933}.badge.neutral,.badge.loading,.status.neutral{color:#c8dcff;background:#6f8dbf29;border-color:#89a3d233}.status.danger,.stat.danger{color:#ffbdc2;background:#ff6f781f;border-color:#ff6f7833}.incident-card,.route-card{gap:.75rem;padding:1rem 1.1rem;display:grid}.warning-card{background:linear-gradient(#3a2b1185,#1b140975),linear-gradient(#0f182aeb,#0b1221f5);border-color:#f4bf4947}.chat-row-group{gap:.8rem;display:grid}.chat-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:1rem;display:grid}.chat-summary{gap:.55rem;min-width:0;display:grid}.chat-meta-line{color:var(--text-secondary);flex-wrap:wrap;gap:.45rem 1rem;display:flex}.chat-status-list{flex-wrap:wrap;gap:.55rem;display:flex}.pagination-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;display:flex}.moderation-resident-row{text-align:left;width:100%}.moderation-inline-detail{border-top:1px solid #81a1db1f;margin:-.1rem 0 .4rem;padding:.5rem 0 0}.resident-row-card{text-align:left;width:100%}.resident-inline-detail{border-top:1px solid #81a1db1f;margin:-.1rem 0 .4rem;padding:.5rem 0 0}.chat-inline-thread{border-top:1px solid #81a1db1f;margin:-.1rem 0 .4rem;padding:.25rem 0 0}.chat-conversation-feed{gap:.45rem;max-height:68vh;padding-right:.25rem;display:grid;overflow-y:auto}.chat-message-row{display:flex}.chat-message-row.incoming{justify-content:flex-start}.chat-message-row.outgoing{justify-content:flex-end}.chat-message-bubble{background:linear-gradient(#101a2ef0,#0b1221fa),radial-gradient(circle at 0 0,#5487ff14,#0000 44%);border:1px solid #81a1db24;border-radius:8px;gap:.28rem;max-width:min(560px,100% - 1.5rem);padding:.48rem .68rem .5rem;display:grid}.chat-message-bubble.bot{background:linear-gradient(#192b4ff0,#101c34fa),radial-gradient(circle at 0 0,#59a1ff24,#0000 42%);border-color:#589aff42}.chat-message-meta,.chat-message-foot{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.chat-message-meta{justify-content:space-between;font-size:.74rem;line-height:1.25}.chat-message-meta strong{font-size:.78rem;font-weight:600}.chat-message-meta span,.chat-message-foot small{color:var(--text-soft);font-size:.72rem;line-height:1.2}.chat-message-bubble p{white-space:pre-wrap;word-break:break-word;margin:0;font-size:.9rem;line-height:1.38}.chat-message-foot{min-height:1rem}.chat-message-foot .badge{border-radius:999px;padding:.12rem .4rem;font-size:.68rem;line-height:1.1}.entity-card{position:relative;overflow:hidden}.entity-card:before{content:"";background:#7cb5ffbf;border-radius:4px;width:4px;position:absolute;inset:0 auto 0 0}.entity-card-danger:before{background:#ff6f78cc}.entity-card-resident:before{background:#f4bf49d9}.entity-card-history:before{background:#3bd28dd1}.entity-form-card{padding:1rem 1.05rem}.compact-stack{gap:.65rem}.compact-card{gap:.35rem;padding:.85rem .95rem;display:grid}.micro-card{gap:.38rem;padding:.8rem .9rem;display:grid}.feedback{color:var(--text-secondary)}.floating-feedback{z-index:40;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.9rem;width:min(420px,100vw - 2rem);display:grid;position:fixed;bottom:1.25rem;right:1.25rem;box-shadow:0 18px 36px #040a176b}.floating-feedback-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;padding:.1rem;font-size:1.1rem;line-height:1}.floating-feedback-close:hover{color:var(--text-primary)}.feedback code,.caption code,.plain-list code,small code{color:#cbe0ff;background:#5f84d024;border-radius:10px;padding:.14rem .38rem;font-family:JetBrains Mono,monospace;font-size:.82em;display:inline-block}.plain-list a,.caption a,.lead a,.feedback a{color:var(--accent-strong)}:root[data-theme=light] .app-shell{background:linear-gradient(#fbf7f0eb,#f4eee5c7),radial-gradient(circle at 0 0,#c2b2922e,#0000 26%)}:root[data-theme=light] .sidebar-brand-mark{color:var(--accent-strong);background:linear-gradient(145deg,#e8f4effa,#d2ece5f5),radial-gradient(circle at 0 0,#fffc,#0000 50%);box-shadow:inset 0 1px #fffc,0 12px 26px #343f531a}:root[data-theme=light] .sidebar-brand-image{filter:drop-shadow(0 8px 16px #343f531f)}:root[data-theme=light] .sidebar-link{background:#ffffff94;border-color:#1a2c450d}:root[data-theme=light] .sidebar-link:hover{background:#ffffffdb;border-color:#1a2c451a;box-shadow:0 14px 28px #343f5314}:root[data-theme=light] .sidebar-link.active{background:linear-gradient(#ebf6f2fa,#f7f1e9f5),radial-gradient(circle at 0 0,#158a761a,#0000 48%);border-color:#158a762e;box-shadow:inset 0 1px #fffc,0 18px 32px #343f531a}:root[data-theme=light] .sidebar-link-icon{color:var(--accent-strong);background:#f5efe7eb;border-color:#1a2c4514}:root[data-theme=light] .sidebar-link.active .sidebar-link-icon{color:var(--accent-strong);background:#158a7624;border-color:#158a762e}:root[data-theme=light] .sidebar-link:hover .menu-icon{filter:drop-shadow(0 0 6px #158a7647)}:root[data-theme=light] .sidebar-link.active .menu-icon{filter:drop-shadow(0 0 7px #158a763d)}:root[data-theme=light] .user-avatar{background:linear-gradient(160deg,#199780f5,#107262e0),radial-gradient(circle at 0 0,#fff6,#0000 44%)}:root[data-theme=light] .user-trigger{background:linear-gradient(#fffffff0,#f8f2eafa),radial-gradient(circle at 0 0,#158a760f,#0000 40%);border-color:#1a2c451a}:root[data-theme=light] .user-trigger:hover,:root[data-theme=light] .user-trigger.open{border-color:#158a7629}:root[data-theme=light] .theme-toggle{background:#ffffffc7}:root[data-theme=light] .theme-toggle-option.active{background:#158a7624;box-shadow:inset 0 1px #ffffffd9,0 8px 16px #343f5314}:root[data-theme=light] .auth-helper,:root[data-theme=light] .feedback{background:#ffffffd1;border-color:#1a2c4514}:root[data-theme=light] .feedback.error{color:#8d3746;background:#fcedefeb;border-color:#d4616a2e}:root[data-theme=light] .broadcast-card,:root[data-theme=light] .plain-list li,:root[data-theme=light] .row,:root[data-theme=light] .incident-card,:root[data-theme=light] .route-card,:root[data-theme=light] .compact-card,:root[data-theme=light] .micro-card,:root[data-theme=light] .incident-select-card{box-shadow:var(--shadow-md);background:linear-gradient(#fffffff0,#f8f2eafa),radial-gradient(circle at 0 0,#158a760f,#0000 44%);border-color:#1a2c4514}:root[data-theme=light] .panel{box-shadow:var(--shadow-lg);background:linear-gradient(#fffffff5,#f8f2eafa),radial-gradient(circle at 0 0,#c2b29229,#0000 42%);border-color:#1a2c451a}:root[data-theme=light] .page-header h2,:root[data-theme=light] .section-head h2,:root[data-theme=light] .broadcast-card-head strong,:root[data-theme=light] .sidebar-brand h1{color:#13243b}:root[data-theme=light] .lead,:root[data-theme=light] .caption,:root[data-theme=light] .muted,:root[data-theme=light] small,:root[data-theme=light] .broadcast-card-head small,:root[data-theme=light] .broadcast-target-row small,:root[data-theme=light] .broadcast-picklist-column small,:root[data-theme=light] .row small{color:#566980}:root[data-theme=light] .row,:root[data-theme=light] .route-card,:root[data-theme=light] .incident-card,:root[data-theme=light] .compact-card,:root[data-theme=light] .micro-card,:root[data-theme=light] .incident-select-card{color:#31455e}:root[data-theme=light] .row strong,:root[data-theme=light] .route-card strong,:root[data-theme=light] .incident-card strong,:root[data-theme=light] .compact-card strong,:root[data-theme=light] .micro-card strong,:root[data-theme=light] .incident-select-card strong{color:#13243b}:root[data-theme=light] .chat-stats-line,:root[data-theme=light] .chat-meta-line,:root[data-theme=light] .chat-row .caption,:root[data-theme=light] .chat-row small,:root[data-theme=light] .route-card small,:root[data-theme=light] .incident-card small{color:#4c6078}:root[data-theme=light] .form label,:root[data-theme=light] .stack-form label,:root[data-theme=light] .filters-grid label,:root[data-theme=light] .broadcast-field,:root[data-theme=light] .broadcast-field>span,:root[data-theme=light] .check-row,:root[data-theme=light] .checkbox{color:#334760}:root[data-theme=light] .panel:before{background:linear-gradient(#fff9,#0000 18%)}:root[data-theme=light] .stat{background:linear-gradient(#fffffffa,#f7f1e9fa),radial-gradient(circle at 100% 0,#158a761f,#0000 42%)}:root[data-theme=light] .form input:focus,:root[data-theme=light] .stack-form input:focus,:root[data-theme=light] .filters-grid input:focus,:root[data-theme=light] .filters-grid select:focus,:root[data-theme=light] .form select:focus,:root[data-theme=light] .form textarea:focus,:root[data-theme=light] .route-card select:focus,:root[data-theme=light] .route-card textarea:focus,:root[data-theme=light] .broadcast-field input:focus,:root[data-theme=light] .broadcast-field select:focus,:root[data-theme=light] .broadcast-field textarea:focus,:root[data-theme=light] .broadcast-picklist-select:focus{background:#fff}:root[data-theme=light] .broadcast-field input,:root[data-theme=light] .broadcast-field select,:root[data-theme=light] .broadcast-field textarea,:root[data-theme=light] .broadcast-picklist-select{color:var(--text-primary);background:#fffffff2;border-color:#1a2c451f}:root[data-theme=light] .broadcast-field input::placeholder,:root[data-theme=light] .broadcast-field textarea::placeholder{color:#4d6079c7}:root[data-theme=light] .broadcast-field input:disabled{color:#667992;background:#f0eae2eb}:root[data-theme=light] .form input::placeholder,:root[data-theme=light] .stack-form input::placeholder,:root[data-theme=light] .filters-grid input::placeholder,:root[data-theme=light] .form textarea::placeholder,:root[data-theme=light] .route-card textarea::placeholder{color:#4d6079c7}:root[data-theme=light] .broadcast-preview-card .message-preview,:root[data-theme=light] .broadcast-target-row{background:#ffffffd6;border-color:#1a2c4514}:root[data-theme=light] .badge,:root[data-theme=light] .status{background:#ffffffc7;border-color:#1a2c4514}:root[data-theme=light] .primary-button{color:#f4fbf8;background:linear-gradient(135deg,#1b9a82fa,#116f60fa);box-shadow:0 16px 30px #13786638}:root[data-theme=light] .secondary-button,:root[data-theme=light] .tab-button{color:var(--text-primary);background:#ffffffd1;border-color:#1a2c451f}:root[data-theme=light] .inline-select{color:var(--text-primary);background-color:#fffffff2;border-color:#1a2c451f;box-shadow:0 10px 22px #343f5314}:root[data-theme=light] .primary-button:hover,:root[data-theme=light] .secondary-button:hover,:root[data-theme=light] .tab-button:hover,:root[data-theme=light] .incident-select-card:hover{border-color:#158a7629;box-shadow:0 14px 28px #343f531a}:root[data-theme=light] .tab-button.active,:root[data-theme=light] .active-card{background:linear-gradient(#ecf7f3fa,#f8f2eafa),radial-gradient(circle at 0 0,#158a761f,#0000 42%);border-color:#158a762e}:root[data-theme=light] .badge.api,:root[data-theme=light] .status.ok{color:#197457;background:#1f9c761f;border-color:#1f9c762e}:root[data-theme=light] .badge.fallback,:root[data-theme=light] .badge.warn,:root[data-theme=light] .status.warn,:root[data-theme=light] .stat.warning{color:#8a6313;background:#bf8a271f;border-color:#bf8a272e}:root[data-theme=light] .badge.neutral,:root[data-theme=light] .badge.loading,:root[data-theme=light] .status.neutral{color:#435b79;background:#526d921f;border-color:#526d9229}:root[data-theme=light] .status.danger,:root[data-theme=light] .stat.danger{color:#9b3b4b;background:#d4616a1f;border-color:#d4616a2e}:root[data-theme=light] .warning-card{background:linear-gradient(#fff9f0fa,#f8f2eafa),radial-gradient(circle at 0 0,#bf8a271f,#0000 44%);border-color:#bf8a2729}:root[data-theme=light] .chat-message-bubble{background:linear-gradient(#fffffff5,#f8f2eafa),radial-gradient(circle at 0 0,#c2b2921a,#0000 44%);border-color:#1a2c4514}:root[data-theme=light] .chat-message-bubble.bot{background:linear-gradient(#ebf6f2fa,#f6f0e8fa),radial-gradient(circle at 0 0,#158a761f,#0000 42%);border-color:#158a7629}:root[data-theme=light] .feedback code,:root[data-theme=light] .caption code,:root[data-theme=light] .plain-list code,:root[data-theme=light] small code{color:#0f6c60;background:#158a761a}@media (width<=1180px){.app-shell{grid-template-columns:232px minmax(0,1fr)}}@media (width<=980px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto;padding:1rem 1rem 0;position:static}.app-main{padding:1rem}.sidebar-bottom{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-content:start}.shell{padding-top:1rem}.hero,.detail-grid,.broadcast-layout,.broadcast-picklist{grid-template-columns:1fr}.broadcast-picklist-controls{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=720px){.panel{border-radius:22px;padding:1rem}.sidebar-brand{grid-template-columns:64px minmax(0,1fr)}.sidebar-brand-mark{width:64px;height:64px}.sidebar-link{grid-template-columns:32px minmax(0,1fr);min-height:40px;padding:.52rem .65rem}.sidebar-link-icon{border-radius:11px;width:32px;height:32px}.stats,.grid,.two-column-grid,.filters-grid{grid-template-columns:1fr}.row,.section-head,.incident-head{align-items:flex-start}.chat-row{grid-template-columns:1fr}.actions{justify-content:flex-start;width:100%;margin-left:0}.button-row,.filter-row{width:100%}.page-header{flex-direction:column;padding-right:1rem}.page-header-meta{flex:auto;justify-items:start;width:100%;position:static}.user-menu{max-width:min(320px,100%)}.user-trigger,.user-dropdown{width:100%;min-width:0}.button-row>*,.filter-row>*,.actions>*{flex:100%}.actions .inline-select{min-width:100%}.login-card-head{flex-direction:column}.theme-toggle,.theme-toggle-auth{width:100%}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#dce8ff;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg-app:#070f1c;--bg-shell:#0a1324;--bg-sidebar:#0a1324e6;--bg-panel:#0e182ae6;--bg-panel-strong:#131f35f0;--bg-card:#111d32b8;--bg-card-soft:#0c1526c2;--bg-card-strong:#1d345f57;--bg-input:#0b1526e6;--bg-active:#2e5dc452;--text-primary:#f4f8ff;--text-secondary:#dce8ff;--text-muted:#8da2c7;--text-soft:#6f86aa;--accent:#4f8cff;--accent-strong:#7cb5ff;--accent-soft:#4f8cff24;--success:#3bd28d;--warning:#f4bf49;--danger:#ff6f78;--border:#7b9ddc2e;--border-strong:#7b9ddc47;--shadow-lg:0 28px 80px #0208157a;--shadow-md:0 14px 34px #030a185c;--radius-panel:28px;--radius-card:22px;--radius-pill:999px;--focus-ring:0 0 0 3px #64a3ff2e;--body-background:radial-gradient(circle at top left, #5589ff1f, transparent 20%), linear-gradient(180deg, #07101f 0%, #091222 40%, #060c15 100%);--selection-background:#5f95ff4d;background:radial-gradient(circle at 0 0,#4576ff38,#0000 24%),radial-gradient(circle at 100% 0,#284caa2e,#0000 28%),linear-gradient(#07101f 0%,#091222 34%,#080f1c 68%,#060b15 100%);font-family:Manrope,sans-serif;font-weight:400;line-height:1.5}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#44556d;--bg-app:#f3ede4;--bg-shell:#f9f5ee;--bg-sidebar:#fbf7f0eb;--bg-panel:#fffcf8eb;--bg-panel-strong:#fffffffa;--bg-card:#ffffffe0;--bg-card-soft:#f9f3ebeb;--bg-card-strong:#152b460f;--bg-input:#fffffff5;--bg-active:#158a761f;--text-primary:#16263d;--text-secondary:#44556d;--text-muted:#6d7d94;--text-soft:#8190a4;--accent:#158a76;--accent-strong:#0f6c60;--accent-soft:#158a7624;--success:#1f9c76;--warning:#bf8a27;--danger:#d4616a;--border:#1a2c451f;--border-strong:#1a2c4533;--shadow-lg:0 30px 70px #343f531f;--shadow-md:0 16px 32px #343f5317;--focus-ring:0 0 0 3px #158a7624;--body-background:radial-gradient(circle at top left, #c4b29229, transparent 22%), radial-gradient(circle at top right, #158a7614, transparent 26%), linear-gradient(180deg, #fbf7f0 0%, #f5eee4 48%, #efe7db 100%);--selection-background:#158a762e;background:radial-gradient(circle at 0 0,#c2b2923d,#0000 24%),radial-gradient(circle at 100% 0,#198a7614,#0000 30%),linear-gradient(#fbf7f0 0%,#f6f1e9 52%,#f1ebe1 100%)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--body-background);min-width:320px;min-height:100vh;color:var(--text-secondary);margin:0}body,button,input,textarea,select{font-family:Manrope,sans-serif}#root{width:100%;min-height:100vh}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button,input,select,textarea{color:inherit}::selection{background:var(--selection-background);color:var(--text-primary)}
