:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color-scheme:light;--bg:#f7f9fc;--surface:#fff;--surface-alt:#fbfcfe;--text:#151d2d;--muted:#74849d;--subtle:#a0adc0;--line:#e8edf5;--soft:#f2f5f9;--accent:#fa1535;--accent-dark:#e90028;--accent-pale:#fff0f2;--green:#0cbd69;--green-pale:#e9fbf1;--blue:#536783;--shadow:0 3px 16px rgba(35,53,85,.035);--radius:13px}
*{box-sizing:border-box}html{min-width:320px}body{margin:0;background:var(--bg);color:var(--text);font-size:13px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(250,21,53,.25);outline-offset:2px}button,select{transition:background .2s,border-color .2s,color .2s,transform .15s}button:active{transform:scale(.985)}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.ico{width:19px;height:19px;flex-shrink:0;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.fill-ico{fill:currentColor;stroke:currentColor;stroke-width:1.2}.app-shell{display:flex;min-height:100vh;max-width:1900px;margin:auto;background:var(--bg)}.sidebar{width:210px;flex:0 0 210px;position:sticky;top:0;height:100vh;min-height:650px;border-right:1px solid var(--line);background:var(--surface);padding:30px 13px 20px;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:7px;white-space:nowrap}.brand-shield{height:39px;width:38px;color:var(--accent);stroke:var(--accent);flex-shrink:0}.brand-wordmark{display:flex;flex-direction:column;align-items:flex-end;font-size:25px;font-weight:820;color:var(--text);letter-spacing:-1.45px;line-height:1}.brand-red{color:var(--accent)}.brand-wordmark small{font-size:8px;letter-spacing:4.5px;font-weight:760;color:var(--text);margin-right:3px;margin-top:1px}.sidebar-brand{padding:0 6px 31px}.sidebar-nav{display:grid;gap:5px}.nav-btn{height:42px;width:100%;border:0;background:transparent;border-radius:9px;color:#243147;display:flex;gap:16px;align-items:center;text-align:left;padding:0 13px;font-weight:570;font-size:13px;position:relative}.nav-btn .ico{width:19px;height:19px}.nav-btn:hover{background:var(--soft)}.nav-btn.active{color:var(--accent-dark);background:linear-gradient(90deg,#ffe6e9,#ffeff1)}.nav-btn.active:before{content:"";position:absolute;left:0;top:3px;bottom:3px;background:var(--accent);width:3px;border-radius:3px}.sidebar-bottom{margin-top:auto}.demo-note{display:flex;align-items:center;gap:10px;padding:13px 9px;border:1px solid var(--line);border-radius:11px;background:var(--surface-alt)}.demo-note strong,.demo-note small{display:block}.demo-note strong{font-size:11px}.demo-note small{font-size:10px;margin-top:3px;color:var(--muted)}.demo-pulse{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(10,190,102,.12);animation:pulse 2.5s infinite;display:inline-block;flex-shrink:0}@keyframes pulse{50%{box-shadow:0 0 0 7px rgba(10,190,102,0)}}.version{font-size:10px;color:var(--subtle);text-align:center;margin-top:14px}.main-content{min-width:0;flex:1;padding:23px 22px 17px}.content-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;min-height:55px}.header-title{min-width:0}.header-title h1{font-size:27px;line-height:1.16;margin:0 0 3px;font-weight:800;letter-spacing:-1.25px}.header-title p{margin:0;color:#7788a3;font-size:13.5px;font-weight:470}.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.live-demo-pill{display:inline-flex;align-items:center;gap:8px;color:#2a8968;font-size:10px;font-weight:750;letter-spacing:.35px;border:1px solid #d5f1e4;background:#f1fdf7;padding:8px 10px;border-radius:20px}.live-demo-pill .demo-pulse{width:6px;height:6px;box-shadow:none}.demo-pill-muted{color:#7a9a8d;font-weight:550;letter-spacing:0}.icon-button{height:40px;width:40px;border:1px solid var(--line);border-radius:11px;background:var(--surface);display:grid;place-items:center;color:#394960}.icon-button:hover{border-color:#f4b5be;color:var(--accent)}.icon-button .ico{width:19px;height:19px}.device-menu-wrap{position:relative}.device-menu-trigger{display:flex;align-items:center;gap:10px;min-width:156px;justify-content:flex-start;background:transparent;border:0;color:var(--text);padding:2px}.device-tile{width:43px;height:43px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.device-title{text-align:left;font-size:11.5px;font-weight:650;line-height:1.2}.device-title small{display:flex;align-items:center;gap:5px;color:var(--green);font-size:11px;font-weight:550;margin-top:4px}.status-dot,.dot{width:8px;height:8px;display:inline-block;border-radius:50%;background:var(--green);flex-shrink:0}.status-dot.offline{background:var(--accent)}.dot.green{background:var(--green)}.dot.red{background:var(--accent)}.chevron-down{width:13px;height:13px;transform:rotate(90deg);color:var(--muted)}.device-dropdown{position:absolute;top:54px;right:0;width:260px;background:var(--surface);padding:12px;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px rgba(20,35,60,.14);z-index:20}.device-dropdown[hidden]{display:none}.dropdown-heading{font-weight:750;margin:1px 5px 3px}.device-dropdown p{font-size:11px;color:var(--muted);margin:0 5px 12px}.device-dropdown button{border:0;background:transparent;width:100%;text-align:left;padding:10px 6px;color:var(--text);border-radius:7px;display:flex;align-items:center;gap:10px}.device-dropdown button:hover{background:var(--soft)}.device-dropdown .ico{width:16px;height:16px}.mobile-header,.bottom-nav{display:none}.page-section{display:none;animation:enter .22s ease both}.page-section.active{display:block}@keyframes enter{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.hero-panel{height:143px;position:relative;display:flex;align-items:center;gap:25px;background:linear-gradient(105deg,#fff0f2 0%,#fffcfd 60%,#fff0f2 100%);border:1px solid #f8e2e6;border-radius:12px;overflow:hidden;padding:16px 20px;margin-bottom:13px}.hero-mark{z-index:1;width:93px;height:93px;flex:0 0 93px;border:3px solid #ff3249;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.35)}.hero-mark svg{width:70%;height:70%;color:#ef1232;stroke:#ef1232}.hero-copy{position:relative;z-index:1;flex:1;min-width:180px}.eyebrow{display:block;font-size:11px;font-weight:650;color:#697c97;letter-spacing:.5px;margin-bottom:2px}.hero-copy h2{font-size:28px;line-height:1.1;margin:0 0 3px;letter-spacing:-.75px;color:#121a27}.hero-copy p{font-size:12px;color:#586b84;line-height:1.52;max-width:440px;margin:0}.hero-dots{position:absolute;right:0;top:0;width:42%;height:100%;opacity:.72;background-image:radial-gradient(circle,#ff294a 1.2px,transparent 1.5px);background-size:12px 12px;transform:skewX(-28deg) translateX(40px) rotate(-10deg);mask-image:linear-gradient(to right,transparent,black 80%);pointer-events:none}.hero-checklist{display:grid;gap:10px;z-index:1;position:relative;margin-left:auto;min-width:180px}.hero-checklist span{display:flex;gap:7px;align-items:center;color:#43516a;font-size:11px;white-space:nowrap}.hero-checklist .ico{color:var(--green);width:16px;height:16px}.metrics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:11px}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:11px 10px;min-width:0;min-height:102px;display:flex;gap:10px;box-shadow:var(--shadow)}.metric-icon{width:39px;height:39px;border-radius:50%;background:#f6f8fb;display:grid;place-items:center;color:#17243d;flex:0 0 39px}.metric-icon.red{color:var(--accent);background:#fff2f4}.metric-icon .ico{width:23px;height:23px;stroke-width:2.2}.metric-main{min-width:0;flex:1}.metric-main p{margin:3px 0 5px;font-size:10.5px;color:#6f819d;white-space:normal}.metric-main .number{display:block;font-size:22px;letter-spacing:-.7px;white-space:nowrap;line-height:1.1;color:var(--text)}.change{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:10px;font-weight:720}.positive{color:var(--green)}.bars{display:flex;align-items:flex-end;gap:3px;height:28px;margin-left:auto;overflow:hidden}.bars i{display:block;width:3px;background:#9aaac3;border-radius:2px 2px 0 0}.bars.red-bars i{background:var(--accent)}.metric-mini-icons{display:flex;gap:6px;align-items:center;justify-content:flex-end;margin-top:10px;color:#9aa7b9}.metric-mini-icons .ico{height:17px;width:17px;stroke-width:1.6}.metric-main .status-value{font-size:14px;display:flex;gap:5px;align-items:center;white-space:nowrap;margin-top:9px}.metric-main small{font-size:10px;color:#77869b;display:block;margin-top:7px;white-space:nowrap}.green-check{width:16px!important;height:16px!important;color:var(--green)}
.dashboard-triple,.dashboard-bottom{display:grid;gap:10px;margin-bottom:11px}.dashboard-triple{grid-template-columns:minmax(0,1.28fr) minmax(0,1fr) minmax(0,1.08fr)}.dashboard-bottom{grid-template-columns:repeat(4,minmax(0,1fr))}.panel{background:var(--surface);border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);min-width:0}.dashboard-triple>.panel{height:266px;overflow:hidden}.dashboard-bottom>.panel{height:214px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 12px 8px;min-height:40px}.panel-heading h3{font-size:12px;font-weight:760;display:flex;align-items:center;gap:8px;white-space:nowrap;line-height:1.25;margin:0;min-width:0}.panel-heading h3 .ico{width:17px;height:17px;color:#15213a}.panel-heading h3 .ico.red-ink{color:var(--accent)}.text-link{font-size:10px;color:var(--accent);display:inline-flex;align-items:center;gap:2px;white-space:nowrap;background:transparent;border:0;padding:0}.text-link .ico{width:13px;height:13px}.text-link:hover{text-decoration:underline}.panel-caption{padding:0 12px;margin:0;color:#7b8aa1;font-size:10.5px}.chart-legend{display:flex;gap:12px;font-size:10px;color:#7f8da2}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-container{height:199px;padding:4px 7px 9px 5px}.chart-container svg{display:block;width:100%;height:100%;overflow:visible}.chart-gridline{stroke:#e6edf5;stroke-width:1}.chart-axis-label{fill:#8c9bb1;font-size:10px}.chart-allowed-line{stroke:#00b96e;stroke-width:2.6;fill:none;stroke-linejoin:round;stroke-linecap:round}.chart-blocked-line{stroke:#fe183a;stroke-width:2.6;fill:none;stroke-linejoin:round;stroke-linecap:round}.table-wrap{padding:0 10px 9px;overflow:hidden}.compact-table{width:100%;border-collapse:collapse;font-size:10px;table-layout:fixed}.compact-table th{padding:6px 3px;color:#708099;font-size:9.7px;text-align:left;font-weight:550;border-bottom:1px solid var(--line);white-space:nowrap}.compact-table td{height:19px;padding:3px 3px;color:#405271;border-bottom:1px solid #f1f3f7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-table tbody tr:last-child td{border-bottom:0}.compact-table .align-right{text-align:right}.event-table th:first-child{width:37px}.event-table th:nth-child(2){width:66px}.event-state{display:flex;align-items:center;gap:5px;font-weight:570}.event-state .dot{width:7px;height:7px}.event-state.blocked{color:var(--accent)}.event-state.allowed{color:var(--green)}.domain-table th:first-child,.domain-table td:first-child{width:19px;color:#73859b}.domain-table th:nth-child(2){width:50%}.domain-table th:last-child{width:54px}.domain-table td:nth-child(3){width:46px}.domain-table td:nth-child(4){width:40px;text-align:right}.domain-bar{height:7px;background:var(--accent);max-width:100%;display:block;border-radius:1px}.panel-heading select{font-size:10px;padding:4px 6px;border:1px solid var(--line);background:var(--surface);border-radius:5px;color:var(--text);max-width:70px}.report-tiles{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:1px 9px 9px}.report-tile{height:77px;border:1px solid var(--line);border-radius:7px;padding:7px 4px 5px 31px;position:relative;display:flex;flex-direction:column;align-items:flex-start}.report-tile>.ico{width:17px;height:17px;position:absolute;left:7px;top:9px}.report-tile strong{font-size:10px;font-weight:660;white-space:nowrap}.report-tile small{font-size:9px;color:var(--muted);white-space:nowrap;margin-top:3px}.small-button{background:#edf2f6;border:0;border-radius:5px;height:21px;min-width:76px;font-size:9.7px;color:#27334a;margin-top:auto;align-self:center}.small-button:hover{color:var(--accent);background:#ffe8ed}.devices-compact th:first-child{width:41%}.devices-compact th:not(:first-child){text-align:right}.devices-compact td:not(:first-child){text-align:right}.devices-compact td{height:24px}.device-mini-name{display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-mini-name .ico{height:13px;width:13px}.red-number{color:var(--accent)!important}.online-status{display:inline-flex;gap:4px;align-items:center;color:var(--green)}.online-status .dot{width:7px;height:7px}.overview-filter-list{padding:0 11px}.filter-mini-row{display:flex;align-items:center;gap:7px;min-height:27px;font-size:10px;border-bottom:1px solid #f4f5f9}.filter-mini-row>.ico{width:15px;height:15px;stroke-width:1.7;color:#4d5d77}.filter-mini-row>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-mini-row .filter-state{color:var(--green);font-size:9px;margin-left:auto}.filter-mini-row .filter-state.off{color:var(--muted)}.custom-rule-link{display:flex;gap:7px;align-items:center;padding:8px 11px;width:100%;background:none;border:0;text-align:left;color:var(--text);font-size:10px}.custom-rule-link>.ico{width:14px;height:14px}.custom-rule-link span{margin-left:auto;color:var(--muted);font-size:9px}.custom-rule-link>.ico:last-child{color:var(--accent);width:13px;height:13px}.health-list{padding:0 12px}.health-row{display:flex;align-items:center;gap:7px;height:23px;font-size:10px;color:#4d5b70;border-bottom:1px solid #f3f5f9}.health-row:last-child{border-bottom:0}.health-row>.dot{width:8px;height:8px}.health-row .health-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.health-value{font-size:10px;white-space:nowrap;color:#3f4d64}.health-track{height:7px;width:70px;border:1px solid #dbe4ef;background:#f8fbfd;border-radius:3px;overflow:hidden;flex:0 0 70px}.health-track span{height:100%;display:block;background:var(--green);transition:width 1s}.mobile-shortcuts{display:none}.main-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#a2afc1;margin-top:8px}
/* Detail sections */
.section-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:7px 0 18px}.section-intro h2{font-size:21px;letter-spacing:-.6px;margin:0 0 4px}.section-intro p{margin:0;color:var(--muted);font-size:12px}.soft-tag{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:620;color:#6c7a8e;background:var(--surface);border:1px solid var(--line);padding:8px 11px;border-radius:8px;white-space:nowrap}.soft-tag.success{color:var(--green);background:var(--green-pale);border-color:#d5f2e4}.soft-tag .ico{width:16px;height:16px}.section-panel{padding:20px;margin-bottom:15px}.section-panel-heading{margin-bottom:20px}.section-panel-heading h3{font-size:16px;letter-spacing:-.3px;margin:0 0 5px}.section-panel-heading p{margin:0;color:var(--muted);font-size:12px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.search-field{height:42px;max-width:370px;flex:1;border:1px solid var(--line);border-radius:9px;display:flex;gap:8px;align-items:center;color:var(--muted);padding:0 12px;background:var(--surface-alt)}.search-field .ico{width:17px;height:17px}.search-field input{border:0;background:transparent;outline:0;width:100%;min-width:0;color:var(--text);font-size:12px}.toolbar-hint{font-size:11px;color:var(--muted)}.device-list{display:grid;gap:7px}.device-list-item{display:flex;width:100%;align-items:center;gap:13px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 14px;text-align:left;color:var(--text)}.device-list-item:hover,.device-list-item.selected{background:var(--surface-alt);border-color:#ffb6c2}.device-list-icon{height:40px;width:40px;display:grid;place-items:center;border-radius:10px;background:var(--soft);color:#42536c;flex-shrink:0}.device-list-icon .ico{width:21px;height:21px}.device-list-name{flex:1;min-width:0}.device-list-name strong,.device-list-name small{display:block}.device-list-name strong{font-size:13px}.device-list-name small{font-size:11px;color:var(--muted);margin-top:4px}.device-list-numbers{display:flex;gap:35px;margin-right:20px}.device-list-numbers span{display:block;min-width:70px}.device-list-numbers strong,.device-list-numbers small{display:block}.device-list-numbers strong{font-size:14px}.device-list-numbers small{font-size:10px;color:var(--muted);margin-top:3px}.device-list-item>.ico{width:14px;color:var(--subtle)}.detail-panel{padding:22px}.empty-detail{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted)}.empty-detail .ico{width:23px;height:23px}.device-detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.device-detail-head h3{margin:0 0 5px;font-size:16px}.device-detail-head p{margin:0;color:var(--muted);font-size:12px}.detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}.detail-stat{border:1px solid var(--line);padding:15px;border-radius:10px}.detail-stat span,.detail-stat strong{display:block}.detail-stat span{font-size:11px;color:var(--muted)}.detail-stat strong{font-size:20px;margin-top:6px}.primary-button,.secondary-button{min-height:37px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:650;padding:9px 14px}.primary-button{background:var(--accent);border:1px solid var(--accent);color:#fff}.primary-button:hover{background:#e90028}.secondary-button{background:var(--surface);border:1px solid #d9e1ec;color:var(--text)}.secondary-button:hover{border-color:#f6a4b3;background:var(--accent-pale)}.primary-button .ico,.secondary-button .ico{width:16px;height:16px}.filter-layout{display:grid;grid-template-columns:1.03fr 1fr;gap:15px}.full-filter-list{display:grid;gap:10px}.full-filter-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.full-filter-row:last-child{border-bottom:0}.full-filter-icon{width:38px;height:38px;background:var(--soft);border-radius:10px;display:grid;place-items:center;color:var(--blue)}.full-filter-icon .ico{width:20px;height:20px}.full-filter-copy{flex:1}.full-filter-copy strong,.full-filter-copy small{display:block}.full-filter-copy strong{font-size:12.5px}.full-filter-copy small{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.35}.filter-toggle,.toggle-ui{width:38px;height:21px;border-radius:15px;background:#cbd4e1;border:0;display:inline-flex;align-items:center;position:relative;flex-shrink:0;transition:background .2s}.filter-toggle:after,.toggle-ui:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:white;left:3px;top:3px;box-shadow:0 1px 3px #0002;transition:transform .2s}.filter-toggle.on,.toggle-input:checked+.toggle-ui{background:var(--green)}.filter-toggle.on:after,.toggle-input:checked+.toggle-ui:after{transform:translateX(17px)}.filter-toggle:focus-visible{outline:3px solid #a5ddc1}.domain-form{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;align-items:flex-end}.domain-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:650;color:#5b6b83;min-width:0}.domain-form label:first-child{flex:1 1 170px}.domain-form label:nth-child(2){flex:0 1 100px}.domain-form input,.domain-form select{height:38px;padding:0 10px;background:var(--surface);color:var(--text);border:1px solid #dce4ef;border-radius:8px;font-size:12px;width:100%}.domain-form button{height:38px;white-space:nowrap}.custom-domains-list{display:grid;gap:6px}.custom-rule-item{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:10px}.custom-rule-item>.ico{width:16px;height:16px;color:var(--muted)}.custom-rule-item>div{flex:1;min-width:0}.custom-rule-item strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.custom-rule-item small{font-size:10px;color:var(--muted)}.rule-pill{font-size:10px;font-weight:700;color:var(--accent);background:var(--accent-pale);border-radius:5px;padding:5px 7px}.rule-pill.allow{color:#098b52;background:var(--green-pale)}.delete-rule{border:0;background:transparent;color:#8795a8;padding:4px}.delete-rule:hover{color:var(--accent)}.delete-rule .ico{width:16px;height:16px}.security-grid{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:15px}.security-summary{display:flex;align-items:center;gap:17px;padding:9px 0 25px;border-bottom:1px solid var(--line)}.security-summary-icon{width:65px;height:65px;background:var(--accent-pale);border-radius:50%;display:grid;place-items:center;color:var(--accent)}.security-summary-icon .ico{width:33px;height:33px}.security-summary span{color:var(--muted);font-size:12px}.security-summary strong{display:block;font-size:27px;letter-spacing:-.7px;margin:2px 0}.security-summary p{color:var(--muted);font-size:11px;margin:0}.security-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.security-mini-grid>div{border:1px solid var(--line);border-radius:10px;padding:15px}.security-mini-grid span{display:block;color:var(--muted);font-size:11px}.security-mini-grid strong{display:block;font-size:25px;margin-top:5px}.security-full-events{max-height:500px;overflow-y:auto}.security-event-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.security-event-row:last-child{border-bottom:0}.security-event-icon{height:35px;width:35px;border-radius:9px;background:var(--accent-pale);color:var(--accent);display:grid;place-items:center;flex-shrink:0}.security-event-icon.allowed{background:var(--green-pale);color:var(--green)}.security-event-icon .ico{width:18px;height:18px}.security-event-info{flex:1;min-width:0}.security-event-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.security-event-info small{color:var(--muted);display:block;margin-top:3px;font-size:10px}.security-event-row time{color:var(--muted);font-size:10px}.report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.report-big{padding:20px;display:flex;flex-direction:column;align-items:flex-start;min-height:235px}.report-icon{width:45px;height:45px;border-radius:12px;background:var(--accent-pale);color:var(--accent);display:grid;place-items:center}.report-icon .ico{width:24px;height:24px}.report-big h3{font-size:14px;margin:18px 0 6px}.report-big p{color:var(--muted);font-size:11.5px;line-height:1.6;margin:0 0 20px;flex:1}.report-big button{max-width:100%;font-size:11px}.report-insight{max-width:640px}.ratio-bar{display:flex;width:100%;border-radius:15px;overflow:hidden;height:16px;background:var(--soft)}#ratio-allowed-bar{background:var(--green);transition:width .6s}#ratio-blocked-bar{background:var(--accent);transition:width .6s}.ratio-labels{display:flex;gap:25px;margin-top:15px;color:var(--muted);font-size:12px}.ratio-labels span{display:flex;align-items:center;gap:6px}.ratio-labels strong{color:var(--text)}.update-grid,.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:15px}.update-headline{display:flex;align-items:center;gap:13px;padding-bottom:20px;border-bottom:1px solid var(--line)}.update-icon{display:grid;place-items:center;background:var(--soft);border-radius:11px;width:50px;height:50px;color:var(--blue)}.update-icon .ico{width:26px;height:26px}.update-headline div{flex:1;min-width:0}.update-headline div span{display:block;color:var(--muted);font-size:11px}.update-headline div strong{display:block;margin:5px 0;font-size:15px}.update-headline div small{font-size:11px;color:var(--muted)}.update-details{padding:15px 0 25px;display:grid;gap:13px}.update-details>div,.about-line{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.update-details>div span,.about-line span{color:var(--muted)}.update-details strong,.about-line strong{font-size:12px;font-weight:650}.setting-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);cursor:pointer}.setting-row:last-child{border-bottom:0}.setting-label{display:flex;align-items:center;gap:12px;flex:1}.setting-label>.ico{color:var(--blue)}.setting-label strong,.setting-label small{display:block}.setting-label strong{font-size:12px}.setting-label small{font-size:11px;color:var(--muted);margin-top:4px}.toggle-input{position:absolute;opacity:0;width:1px;height:1px}.toggle-input:focus-visible+.toggle-ui{outline:3px solid rgba(250,21,53,.25);outline-offset:2px}.demo-actions{display:flex;gap:10px;flex-wrap:wrap}.demo-information{display:flex;align-items:flex-start;gap:10px;background:var(--soft);padding:12px;border-radius:10px;font-size:11px;color:var(--muted);line-height:1.55;margin-top:23px}.demo-information .ico{width:18px;height:18px;flex-shrink:0}.about-line{padding:13px 0;border-bottom:1px solid var(--line)}.about-line:last-child{border:0}.toast{position:fixed;bottom:30px;right:30px;background:#1a2637;color:#fff;padding:12px 16px;border-radius:10px;box-shadow:0 13px 35px #12203540;font-size:12px;max-width:min(360px,calc(100vw - 40px));z-index:60;opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .25s,transform .25s}.toast.visible{opacity:1;transform:translateY(0)}
/* Screens like the design reference */
@media(min-width:1600px){.main-content{padding:30px 36px}.hero-panel{height:162px}.metrics-grid{gap:14px;margin-bottom:14px}.dashboard-triple,.dashboard-bottom{gap:14px;margin-bottom:14px}.metric-card{min-height:117px;padding:15px}.dashboard-triple>.panel{height:285px}.dashboard-bottom>.panel{height:230px}}
@media(min-width:768px) and (max-width:1270px){.sidebar{width:179px;flex-basis:179px;padding-left:11px;padding-right:9px}.sidebar-brand{padding-left:0}.brand-wordmark{font-size:22px}.brand-shield{width:33px;height:35px}.main-content{padding:18px 14px}.header-title h1{font-size:24px}.header-title p{font-size:12px}.header-actions{gap:7px}.live-demo-pill{font-size:9px;padding:6px 8px}.metric-card{gap:7px;padding:9px 7px}.metric-icon{width:31px;height:31px;flex-basis:31px}.metric-icon .ico{width:19px;height:19px}.metric-main .number{font-size:19px}.metric-main p{font-size:9.5px}.metric-main .status-value{font-size:12px}.bars{gap:2px}.panel-heading{padding:10px 8px 8px}.panel-heading h3{font-size:11px;gap:5px}.panel-heading h3 .ico{width:15px;height:15px}.compact-table{font-size:9px}.compact-table th{font-size:8.5px}.table-wrap{padding:0 6px 6px}.chart-legend{gap:6px;font-size:9px}.report-tiles{gap:4px;padding:1px 5px 5px}.report-tile{padding-left:24px}.report-tile>.ico{left:5px;width:14px;height:14px}.report-tile strong{font-size:8.5px}.report-tile small{font-size:8px}.small-button{min-width:60px}.filter-mini-row{font-size:9px;min-height:25px}.filter-mini-row .filter-state{font-size:8px}.health-row{height:25px;font-size:9px}.health-track{flex-basis:45px;width:45px}.hero-panel{padding:12px 15px;gap:18px}.hero-mark{width:80px;height:80px;flex-basis:80px}.hero-checklist{min-width:160px}.hero-checklist span{font-size:10px}}
@media(max-width:930px) and (min-width:768px){.live-demo-pill{display:none}.dashboard-triple{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.dashboard-triple>.panel:last-child{grid-column:1/-1;height:250px}.dashboard-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-bottom>.panel{height:228px}.hero-checklist{min-width:145px}.hero-checklist span{font-size:9px}.hero-copy p{font-size:11px}.hero-dots{opacity:.4}}
@media(max-width:767px){:root{--radius:12px}.app-shell{display:block;min-height:100vh}.sidebar,.content-header,.main-footer{display:none}.main-content{padding:0 16px calc(94px + env(safe-area-inset-bottom));min-height:100vh;max-width:580px;margin:0 auto}.mobile-header{display:flex;align-items:center;justify-content:space-between;height:72px;padding:10px 2px 7px}.mobile-header .brand{gap:5px}.mobile-header .brand-shield{height:36px;width:34px}.mobile-header .brand-wordmark{font-size:23px}.mobile-header .brand-wordmark small{font-size:7px;letter-spacing:3.8px}.mobile-header .icon-button{border:0;background:transparent}.mobile-demo-label{display:flex;align-items:center;gap:7px;font-size:8.5px;font-weight:750;color:#238960;letter-spacing:.2px;white-space:nowrap;margin-left:auto;margin-right:7px}.mobile-demo-label .demo-pulse{width:6px;height:6px;box-shadow:none}.page-section{padding-top:2px}.hero-panel{height:133px;gap:16px;padding:13px 15px;margin:4px 0 13px;border-radius:14px}.hero-mark{width:80px;height:80px;flex-basis:80px;border-width:3px}.hero-copy{min-width:0}.eyebrow{font-size:10px;margin-bottom:2px}.hero-copy h2{font-size:25px;margin-bottom:4px}.hero-copy p{font-size:10.5px;line-height:1.55;max-width:245px}.hero-dots{width:58%;opacity:.35}.hero-checklist{display:none}.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:14px}.metric-card{padding:11px 5px 10px;min-height:120px;display:flex;align-items:center;flex-direction:column;gap:5px}.metric-icon{width:34px;height:34px;flex-basis:34px}.metric-icon .ico{width:20px;height:20px}.metric-main{text-align:center;width:100%}.metric-main p{font-size:9px;line-height:1.3;margin:0 0 5px;min-height:22px;white-space:normal}.desktop-word{display:none}.metric-main .number{font-size:20px}.metric-main .change{font-size:10px;margin-top:7px;justify-content:center;gap:4px}.metric-main .bars{height:17px;margin:0}.bars i{width:2px}.metric-mini-icons{justify-content:center;gap:4px;margin-top:7px}.metric-mini-icons .ico{width:13px;height:13px}.extended-metric{display:none}.mobile-shortcuts{display:grid;gap:8px;margin-bottom:14px}.shortcut-row{width:100%;display:flex;align-items:center;gap:13px;min-height:60px;text-align:left;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:11px 13px;box-shadow:var(--shadow)}.shortcut-row:hover{border-color:#ffd0d7;background:var(--surface-alt)}.shortcut-icon{width:29px;display:grid;place-items:center;flex-shrink:0;color:#26374f}.shortcut-icon .ico{width:22px;height:22px}.shortcut-row>span:nth-child(2){flex:1;min-width:0}.shortcut-row strong,.shortcut-row small{display:block}.shortcut-row strong{font-size:12.5px;margin-bottom:4px;font-weight:680}.shortcut-row small{font-size:10px;color:var(--muted);line-height:1.4}.shortcut-chevron{width:15px;height:15px;color:#9ba8bb;margin-left:auto}.up-to-date{display:inline-flex;gap:3px;align-items:center;background:var(--green-pale);color:var(--green);font-size:9px;border-radius:15px;padding:5px 7px;white-space:nowrap}.up-to-date .ico{width:13px;height:13px}.dashboard-triple{display:block}.dashboard-triple>.panel{height:260px;margin-bottom:10px}.dashboard-triple>.panel:not(.traffic-panel){display:none}.dashboard-bottom{display:none}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:calc(67px + env(safe-area-inset-bottom));padding:3px max(12px,calc((100vw - 570px)/2)) env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface);border-top:1px solid var(--line);z-index:10;box-shadow:0 -5px 20px rgba(30,45,70,.035)}.bottom-nav-btn{border:0;background:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#7789a2;font-size:10px;font-weight:500;position:relative}.bottom-nav-btn .ico{width:23px;height:23px}.bottom-nav-btn.active{color:var(--accent);font-weight:710}.bottom-nav-btn.active:after{content:"";width:28px;height:2px;border-radius:3px;background:var(--accent);position:absolute;bottom:5px}.section-intro{margin:11px 0 17px}.section-intro h2{font-size:22px}.section-intro p{line-height:1.5}.section-intro .soft-tag{display:none}.section-panel{padding:17px}.filter-layout,.security-grid,.update-grid,.settings-layout{grid-template-columns:1fr;gap:0}.list-toolbar{gap:8px}.toolbar-hint{display:none}.search-field{max-width:none}.device-list-item{padding:10px;gap:9px}.device-list-icon{width:35px;height:35px}.device-list-numbers{gap:13px;margin-right:0}.device-list-numbers span{min-width:0}.device-list-numbers span:nth-child(2){display:none}.device-list-numbers strong{font-size:12px}.device-list-numbers small{font-size:9px}.device-list-name strong{font-size:11.5px}.device-list-name small{font-size:10px}.detail-stats{gap:5px}.detail-stat{padding:10px}.detail-stat strong{font-size:16px}.domain-form button{flex:1 1 100%;margin-top:6px}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-big{padding:13px;min-height:240px}.report-big h3{font-size:12px}.report-big p{font-size:10.5px}.report-big button{font-size:10px;padding:8px 9px}.ratio-labels{gap:16px;font-size:10px;flex-wrap:wrap}.toast{bottom:86px;right:16px;left:16px;max-width:none;text-align:center}.more-shortcuts{display:grid}.security-summary{gap:12px}.security-summary-icon{width:53px;height:53px}.security-summary strong{font-size:22px}}
@media(max-width:380px){.main-content{padding-left:12px;padding-right:12px}.hero-mark{width:70px;height:70px;flex-basis:70px}.hero-panel{gap:11px;padding:11px}.hero-copy h2{font-size:23px}.hero-copy p{font-size:10px}.metric-card{padding:9px 2px}.metric-main .number{font-size:18px}.up-to-date{display:none}}
/* Dark theme, all controls retain the same layout. */
body.dark{color-scheme:dark;--bg:#0e121a;--surface:#171e29;--surface-alt:#1d2633;--text:#edf2fa;--muted:#9aaac0;--subtle:#65778e;--line:#2b3544;--soft:#243040;--accent-pale:#3d202b;--green-pale:#18372c;--shadow:0 4px 15px #0001}body.dark .nav-btn{color:#c7d2e0}body.dark .nav-btn.active{background:linear-gradient(90deg,#422431,#2b202a);color:#ff566e}body.dark .hero-panel{background:linear-gradient(105deg,#3a1e28 0%,#24212b 55%,#34212a 100%);border-color:#532633}body.dark .hero-copy h2{color:#fff}body.dark .hero-copy p{color:#c8b5c2}body.dark .eyebrow{color:#b7a7b6}body.dark .hero-checklist span{color:#e5d5dd}body.dark .metric-icon{background:#222c3b;color:#c9d6e9}body.dark .metric-icon.red{background:#422431;color:#ff4b66}body.dark .metric-main .number{color:#f3f6fd}body.dark .panel-heading h3 .ico{color:#dae4f3}body.dark .panel-heading h3 .ico.red-ink{color:#ff405c}body.dark .compact-table td{border-color:#263242;color:#cad6e6}body.dark .compact-table th{border-color:var(--line)}body.dark .filter-mini-row,body.dark .health-row{border-color:#263242}body.dark .chart-gridline{stroke:#314050}body.dark .chart-axis-label{fill:#9eacc0}body.dark .report-tile{background:var(--surface-alt)}body.dark .small-button{background:#29374a;color:#e5ebf5}body.dark .live-demo-pill{background:#19352d;border-color:#2a5242;color:#6cdda4}body.dark .demo-pill-muted{color:#8bbfa5}body.dark .brand-wordmark{color:#f7f8fa}body.dark .up-to-date{background:#1e4231}body.dark .device-list-item.selected{border-color:#7d3d4c}body.dark .device-list-icon,body.dark .full-filter-icon,body.dark .update-icon{color:#c6d0dc}body.dark .domain-form input,body.dark .domain-form select{border-color:var(--line)}body.dark .secondary-button{border-color:#425063}body.dark .secondary-button:hover{background:#35252e}body.dark .search-field input::placeholder{color:#798ca5}body.dark .hero-mark{background:#ffffff05}body.dark .device-menu-trigger{color:var(--text)}body.dark .icon-button{color:var(--text)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(min-width:768px) and (max-width:1270px){
 .report-tile{padding-left:19px}.report-tile>.ico{left:3px;width:12px;height:12px}
 .devices-compact th:first-child{width:43%}.devices-compact th:nth-child(2){width:18%}.devices-compact th:nth-child(3){width:18%}.devices-compact th:nth-child(4){width:21%}
 .devices-compact th{font-size:7.7px}.devices-compact td{font-size:8.4px;padding-left:2px;padding-right:2px}
}
body.dark .secondary-button{background:#202c3b;color:#e7edf8;border-color:#3c4b60}
body.dark .secondary-button:hover{background:#342631;border-color:#d15a70}

/* Product switcher: Mini / Lite follow the simpler browser UI from the product plan. */
[hidden]{display:none!important}
.demo-model-picker{margin:4px 0 18px;padding:16px;border-radius:13px;background:var(--soft,#f7f8fa);border:1px solid var(--border,#e9edf2)}
.demo-model-picker label{display:block;font-size:13px;font-weight:750;margin-bottom:9px;color:var(--text,#141926)}
.demo-model-picker select{width:100%;height:44px;padding:0 14px;border:1px solid var(--border,#dde3eb);border-radius:9px;font:inherit;font-weight:700;background:var(--card,#fff);color:var(--text,#141926);cursor:pointer}
.demo-model-picker p{margin:10px 0 0;color:var(--muted,#708097);font-size:12px;line-height:1.55}
.basic-overview{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:12px}
body.basic-mode .basic-overview{display:grid}
body.basic-mode .dashboard-triple,body.basic-mode .dashboard-bottom{display:none}
body.basic-mode .hero-checklist{display:none}
body.basic-mode .metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body.basic-mode .extended-metric:not(:last-child){display:none}
body.basic-mode .metrics-grid .metric-card:last-child{display:block}
body.basic-mode .hero-panel .hero-copy p{max-width:490px}
body.basic-mode .hero-panel{min-height:140px}
body.basic-mode .basic-panel{padding:16px 18px;min-height:195px;display:flex;flex-direction:column}
.basic-panel .panel-heading{margin-bottom:12px}
.basic-panel .panel-heading h3{font-size:13px}
.basic-details{display:grid;gap:10px}
.basic-details>div{display:grid;grid-template-columns:1fr 1.25fr;gap:12px;font-size:12px;border-bottom:1px solid var(--border,#eff0f3);padding-bottom:8px}
.basic-details>div:last-child{border:0}
.basic-details span{color:var(--muted,#8190a6)}
.basic-details strong{font-size:12px;font-weight:650;overflow-wrap:anywhere}
.basic-success{color:var(--green,#0aaf6d)}
.basic-bottom-action{margin-top:auto;align-self:end;padding-top:9px}
.basic-domain-list,.basic-event-list{display:flex;flex-direction:column;gap:0;flex:1}
.basic-domain-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(75px,.65fr) 65px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--border,#edf0f4);font-size:12px}
.basic-domain-row:last-child,.basic-event-row:last-child{border:0}
.basic-domain-row>span,.basic-event-row>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.basic-domain-row small,.basic-domain-row time,.basic-event-row time{font-size:11px;color:var(--muted,#8490a3)}
.basic-domain-row time{text-align:right}
.basic-event-row{display:grid;grid-template-columns:40px 80px minmax(0,1fr);gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid var(--border,#edf0f4);font-size:12px}
.basic-update-button{align-self:start;margin-top:auto}
body.basic-mode .sidebar-bottom .version{font-size:10px}
body.basic-mode .mobile-shortcuts .shortcut-row[data-page="security"]{display:none}
@media(max-width:1100px) and (min-width:768px){body.basic-mode .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 body.basic-mode .hero-panel{min-height:0}
 body.basic-mode .metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.basic-mode .metrics-grid .metric-card:last-child{display:none}
 body.basic-mode .basic-overview{grid-template-columns:1fr;gap:10px;margin-top:14px}
 body.basic-mode .basic-panel{min-height:0;padding:16px}
 body.basic-mode .mobile-shortcuts{display:grid;grid-template-columns:minmax(0,1fr)}
}
@media(max-width:390px){.basic-domain-row{grid-template-columns:minmax(0,1fr) 62px 56px;gap:6px}}
