/* HSMAP 3.0 Smart Hybrid shared design layer; non-destructive overrides */
:root{--hs-navy:#11182e;--hs-navy2:#202a49;--hs-violet:#7456e8;--hs-teal:#139f9c;--hs-canvas:#f3f5fb;--hs-ink:#1c2941;--hs-border:#dce3f0;--hs-shadow:0 10px 32px rgba(23,33,67,.09)}
html{scroll-behavior:smooth}body{font-family:Inter,'Segoe UI',Arial,sans-serif!important}button,a,input,select,textarea{font-family:inherit}button,a{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a68aff!important;outline-offset:2px}button:not(:disabled){cursor:pointer}
body.hs-smart-hybrid{--hs-top-height:52px}body.hs-smart-hybrid .sidebar,body.hs-smart-hybrid .side{background:linear-gradient(175deg,#141b34,#1d2544 70%,#141b32)!important;border-color:#323a5d!important}body.hs-smart-hybrid .sidebar .brand-mark{background:linear-gradient(135deg,#8063ef,#24b2b0)!important}body.hs-smart-hybrid .sidebar nav button.active,body.hs-smart-hybrid .sidebar nav a.active,body.hs-smart-hybrid .side .nav a.active{background:#6553c9!important;color:#fff!important;border-color:#897af1!important}body.hs-smart-hybrid .sidebar nav button:hover,body.hs-smart-hybrid .sidebar nav a:hover,body.hs-smart-hybrid .side .nav a:hover{background:#30395c!important;color:#fff!important}body.hs-smart-hybrid .main{background:#f3f5fb!important;color:#1c2941}body.hs-smart-hybrid .topbar,body.hs-smart-hybrid .top{background:rgba(255,255,255,.94)!important;color:#1c2941!important;border-color:#dce3f0!important;backdrop-filter:blur(16px)}body.hs-smart-hybrid .page-head{background:#f3f5fb!important;color:#1c2941}body.hs-smart-hybrid .page-head h1{color:#192440!important}body.hs-smart-hybrid .page-head p{color:#66758c!important}body.hs-smart-hybrid .eyebrow,body.hs-smart-hybrid .kicker{color:#7558d9!important}body.hs-smart-hybrid .content{color:#24314a}body.hs-smart-hybrid .card,body.hs-smart-hybrid .table-card,body.hs-smart-hybrid .kpi{background:#fff!important;color:#24314a!important;border:1px solid #dfe5f0!important;box-shadow:var(--hs-shadow)!important;border-radius:16px!important}body.hs-smart-hybrid .card h2,body.hs-smart-hybrid .card h3,body.hs-smart-hybrid .kpi b{color:#202d48!important}body.hs-smart-hybrid .primary{background:linear-gradient(110deg,#7456e8,#5d73e9)!important;border-color:#7456e8!important;color:#fff!important}body.hs-smart-hybrid .search{background:#f6f7fd!important;border:1px solid #dce3f0!important}body.hs-smart-hybrid .search input{color:#202c45!important}body.hs-smart-hybrid .search input::placeholder{color:#718096!important}body.hs-smart-hybrid .context-project,body.hs-smart-hybrid .context-project span{color:#52617b!important}body.hs-smart-hybrid .top-action,body.hs-smart-hybrid .user,body.hs-smart-hybrid .quick-launch a{background:#f1f2fb!important;color:#4d4388!important;border-color:#dce0f0!important}body.hs-smart-hybrid .central-workspace{border-color:#d9def0!important;box-shadow:0 18px 46px rgba(24,31,65,.12)!important}body.hs-smart-hybrid .operations-strip .op-kpi{background:#fff!important;color:#25314b!important;border-color:#dfe5f0!important}body.hs-smart-hybrid .operations-strip .op-kpi b{color:#312a68!important}body.hs-smart-hybrid .operations-strip .op-kpi span,body.hs-smart-hybrid .operations-strip .op-kpi small{color:#64748b!important}body.hs-smart-hybrid .operations-strip .op-kpi.alert b{color:#d34b68!important}
/* common utility bar intentionally outside app components */
#hs3-toolbar{position:fixed;right:18px;bottom:18px;z-index:950;display:flex;align-items:center;gap:7px;background:#17203c;color:#fff;padding:8px;border:1px solid #455078;border-radius:16px;box-shadow:0 12px 35px #11172c55}#hs3-toolbar button{background:#2a3456;color:#eaf0ff;border:1px solid #465179;border-radius:10px;min-height:36px;padding:7px 11px;font-size:12px;font-weight:650}#hs3-toolbar button:hover{background:#6654ce}#hs3-toolbar .hs3-accent{background:#7357e6}#hs3-command{position:fixed;inset:0;z-index:3000;background:#10162b9c;display:none;align-items:flex-start;justify-content:center;padding:12vh 14px 20px;backdrop-filter:blur(5px)}#hs3-command.open{display:flex}#hs3-command .hs3-dialog{width:min(620px,100%);max-height:78vh;overflow:hidden;display:flex;flex-direction:column;background:#fff;color:#1d2944;border-radius:20px;border:1px solid #dfe4ef;box-shadow:0 35px 100px #070d2099}#hs3-command .hs3-command-head{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #e3e8f2}#hs3-command input{flex:1;min-width:0;background:transparent;border:0;outline:0!important;font-size:16px;color:#1e2a43}#hs3-command .hs3-close{border:0;background:#f0f2fa;color:#475674;border-radius:9px;padding:8px 10px}#hs3-command .hs3-results{overflow:auto;padding:9px}#hs3-command .hs3-result{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;text-decoration:none;color:#26334f;font-size:14px}#hs3-command .hs3-result:hover,#hs3-command .hs3-result:focus{background:#f0efff;color:#5b46c3}#hs3-command .hs3-result span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eae8ff;color:#654dd3;font-size:17px}#hs3-command .hs3-result small{display:block;color:#738098;margin-top:2px}#hs3-command .hs3-empty{padding:22px;text-align:center;color:#7b879c}#hs3-command .hs3-foot{padding:10px 16px;border-top:1px solid #e4e9f2;color:#718096;font-size:11px}body.hs3-focus #hs3-toolbar{opacity:.45}body.hs3-focus #hs3-toolbar:hover{opacity:1}body.hs3-focus .sidebar,body.hs3-focus .side{filter:saturate(.7)}@media(max-width:700px){#hs3-toolbar{right:8px;bottom:8px;padding:5px;gap:4px}#hs3-toolbar button{font-size:11px;padding:6px 8px}#hs3-command{padding-top:7vh}}
/* WebGIS: preserve map controls and layer stacking */
body.hs-smart-hybrid:has(#map) {--hs-violet:#7456e8}body.hs-smart-hybrid .leaflet-container{font-family:Inter,'Segoe UI',Arial,sans-serif}body.hs-smart-hybrid .leaflet-control{border-radius:10px;overflow:hidden}body.hs-smart-hybrid .panel,body.hs-smart-hybrid .system{border-radius:15px}body.hs-smart-hybrid .chat{box-shadow:var(--hs-shadow)}body.hs-smart-hybrid .chat .user .bubble{background:#7057dc}body.hs-smart-hybrid .composer button{background:#7357e6}body.hs-smart-hybrid .quick button:hover{border-color:#9887f1;background:#30285c}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
