@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
:root{--navy:#07111f;--ink:#142238;--muted:#748196;--line:#e7ecf2;--bg:#f7f9fc;--teal:#21b994;--teal-dark:#0d8d71;--purple:#7259df;--amber:#e4a638;--blue:#4985e8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;background:var(--navy);color:#fff;padding:29px 18px 20px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-family:'Plus Jakarta Sans';font-size:22px;font-weight:800;letter-spacing:-1px}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#23c5a1;color:#fff;font-size:18px}.brand-dot{color:#2fd1ae}.workspace-label{color:#607088;font-weight:700;font-size:10px;letter-spacing:1.2px;margin:55px 12px 18px}.nav-item{display:flex;align-items:center;gap:13px;color:#9aa9be;text-decoration:none;padding:13px 14px;border-radius:9px;margin:4px 0;font-weight:600}.nav-item.active,.nav-item:hover{background:#13243a;color:#fff}.nav-icon{width:18px;text-align:center;font-size:19px;font-weight:400}.nav-count{margin-left:auto;background:#21415d;color:#70ddc3;border-radius:20px;padding:2px 8px;font-size:11px}.sidebar-bottom{margin-top:auto}.help-card{background:#11263b;border:1px solid #203a52;padding:14px 12px;border-radius:11px;display:flex;gap:10px;align-items:center;margin-bottom:22px}.help-icon{display:grid;place-items:center;border:1px solid #547089;color:#86a5bd;border-radius:50%;width:25px;height:25px}.help-card strong,.profile strong{display:block;font-size:12px}.help-card small,.profile small{display:block;color:#8090a5;font-size:11px;margin-top:3px}.profile{border-top:1px solid #1a2b40;padding:18px 7px 0;display:flex;gap:10px;align-items:center}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#d9f4ed;color:#12876f;font-weight:700;font-size:11px}.more{margin-left:auto;color:#8191a6;letter-spacing:2px}.main-content{flex:1;min-width:0}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{display:flex;gap:12px;color:#9ba6b5}.breadcrumb strong{color:#24334a}.slash{color:#d3d9e1}.top-actions{display:flex;align-items:center;gap:20px}.icon-button{position:relative;background:none;border:0;color:#718097;font-size:21px}.notification-dot{position:absolute;width:6px;height:6px;background:#ef6f65;border:1px solid #fff;border-radius:50%;top:1px;right:0}.profile-mini{display:flex;align-items:center;gap:9px;background:none;border:0;color:var(--ink);font-weight:600}.avatar.small{width:29px;height:29px;font-size:10px}.content-wrap{max-width:1440px;margin:auto;padding:34px 42px 25px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:25px}.eyebrow{color:#8794a8;font-weight:700;font-size:10px;letter-spacing:1.1px;margin:0 0 10px}.page-heading h1{font-family:'Plus Jakarta Sans';font-size:28px;letter-spacing:-1.1px;margin:0 0 6px}.page-heading h1 span{font-size:22px}.muted{color:var(--muted);margin:0;line-height:1.5}.store-select{height:43px;background:#fff;border:1px solid #dfe6ee;border-radius:9px;padding:0 13px;display:flex;align-items:center;gap:9px;min-width:175px;color:#536176;font-weight:600}.store-select select{border:0;outline:0;background:transparent;color:var(--ink);font:inherit;flex:1;appearance:none}.store-pin{color:var(--teal);font-size:20px}.demo-notice{display:flex;align-items:center;gap:10px;background:#eefaf7;border:1px solid #cdeee5;color:#34796b;border-radius:9px;padding:11px 13px;font-size:12px;margin-bottom:18px}.demo-notice>span:first-child{border:1px solid #53bca7;border-radius:50%;width:18px;height:18px;text-align:center;font-weight:700}.demo-notice button{margin-left:auto;border:0;background:none;color:#709c92;font-size:19px;cursor:pointer}.metrics-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin-bottom:18px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 18px 16px;min-width:0}.metric-card.accent{background:var(--teal);border-color:var(--teal);color:#fff;box-shadow:0 7px 18px #20b89225}.metric-top{display:flex;justify-content:space-between;align-items:center}.metric-label{font-size:10px;font-weight:700;letter-spacing:.7px;color:#8b97a7}.accent .metric-label{color:#c7f6eb}.metric-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;color:var(--teal);background:#e4f8f3;font-size:17px}.metric-icon.sun{color:#dd9a22;background:#fff4db}.metric-icon.violet{color:var(--purple);background:#f0edff}.metric-icon.amber{color:#cc8b1d;background:#fff4dc}.metric-icon.teal{color:#168d78;background:#e2f7f2}.metric-value{font-family:'Plus Jakarta Sans';font-weight:800;font-size:29px;letter-spacing:-1px;margin:13px 0 9px}.metric-footer{display:flex;align-items:center;gap:6px;color:#8a95a5;font-size:11px;white-space:nowrap}.accent .metric-footer{color:#e0faf4}.live-dot,.status-chip i,.health-ok:before{width:7px;height:7px;background:#45ddba;border-radius:50%;display:inline-block}.trend{margin-left:auto;font-weight:700}.positive{color:var(--teal-dark)}.accent .positive{color:#fff}.time-pill{background:#f3f5f8;padding:3px 6px;border-radius:4px;color:#5f6e83;font-weight:600}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin-bottom:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px 21px 17px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.panel h2{font-family:'Plus Jakarta Sans';font-size:15px;margin:0 0 5px;letter-spacing:-.3px}.legend{display:flex;gap:15px;align-items:center;color:#8490a2;font-size:11px}.legend>span{display:flex;align-items:center;gap:5px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.entry{background:var(--teal)}.exit{background:#9a83eb}.period-button{border:1px solid var(--line);background:white;color:#657388;padding:7px 9px;border-radius:6px;font:inherit}.chart-wrap{display:flex;height:215px;margin-top:21px}.y-axis{width:29px;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:28px;color:#a1acbb;font-size:10px}.chart{flex:1;position:relative}.grid-lines{position:absolute;inset:0 0 29px;display:flex;flex-direction:column;justify-content:space-between}.grid-lines i{border-top:1px dashed #e7ebf0}.chart svg{width:100%;height:185px;position:relative;z-index:1;overflow:visible}.area{fill:url(#entryFill)}.line{fill:none;stroke-width:3;stroke-linecap:round}.entry-line{stroke:var(--teal)}.exit-line{stroke:#937ee3;stroke-width:2.5}.chart-point{fill:#fff;stroke:var(--teal);stroke-width:3}.chart-point:last-child{stroke:#937ee3}.x-axis{display:flex;justify-content:space-between;color:#9ca7b6;font-size:10px}.status-chip{display:flex;align-items:center;gap:6px;color:#15977b;font-size:11px;font-weight:700;background:#eaf9f5;border-radius:20px;padding:6px 9px}.camera-feed{height:213px;margin:19px 0 16px;border-radius:9px;overflow:hidden;background:#162637;position:relative;color:#b8d0d7}.feed-top{position:absolute;top:12px;left:13px;right:13px;z-index:3;font-size:9px;letter-spacing:1px;font-weight:700}.rec-dot{display:inline-block;width:6px;height:6px;background:#f06d63;border-radius:50%;margin-right:4px}.feed-time{float:right;font-weight:500;letter-spacing:0}.camera-scene{position:absolute;inset:0;background:linear-gradient(110deg,#294653,#53736d 45%,#273846 46%,#172837);overflow:hidden}.door{position:absolute;right:16%;top:29px;width:38%;height:153px;border:10px solid #203342;border-bottom:0;background:linear-gradient(90deg,#455d5c,#869690 49%,#253942 50%,#516c68)}.person{position:absolute;background:#182b36;border-radius:50% 50% 18% 18%;width:30px;height:84px;bottom:15px;z-index:2}.person:before{content:'';position:absolute;width:23px;height:23px;border-radius:50%;background:#c58b6d;top:-18px;left:4px}.p1{right:44%;transform:scale(.9)}.p2{right:29%;transform:scale(.7);opacity:.85}.scan-line{position:absolute;top:57%;left:0;right:0;border-top:1px solid #4de0be99;box-shadow:0 0 10px #4de0be}.feed-label{position:absolute;left:13px;bottom:12px;font-size:9px;letter-spacing:1px;color:#d2e2e0}.feed-lock{position:absolute;right:12px;bottom:12px;z-index:3;font-size:9px;background:#142634bb;padding:5px 7px;border-radius:4px}.camera-footer{display:flex;justify-content:space-between;align-items:center}.camera-footer strong,.camera-footer small{display:block}.camera-footer strong{font-size:12px}.camera-footer small{font-size:10px;color:#96a1b0;margin-top:4px}.primary-button{border:0;background:#0f9e80;color:#fff;border-radius:7px;padding:10px 13px;font:600 11px 'DM Sans';cursor:pointer}.primary-button:hover{background:#087c65}.bottom-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.mini-kpi{font-size:11px;color:#8894a4}.mini-kpi strong{color:var(--teal-dark);font-size:13px;margin-left:5px}.bars{height:142px;display:flex;align-items:flex-end;gap:13px;padding:17px 5px 0;border-bottom:1px solid var(--line);margin-top:14px}.bars div{height:var(--h);background:#c5eae2;flex:1;border-radius:4px 4px 0 0;position:relative;min-width:10px}.bars div span{position:absolute;top:calc(100% + 7px);font-size:10px;color:#a0aab8;left:50%;transform:translateX(-50%)}.bars .bar-highlight{background:var(--teal)}.bars .bar-highlight:after{content:'142';position:absolute;top:-21px;left:50%;transform:translateX(-50%);color:var(--teal-dark);font-size:10px;font-weight:700}.health-check{background:#e8f9f4;color:#19a180;border-radius:50%;width:25px;height:25px;text-align:center;line-height:25px;font-weight:700}.health-row{display:flex;align-items:center;gap:10px;border-top:1px solid #eef1f5;padding:13px 0 0;margin-top:13px}.health-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;font-size:17px}.health-icon.green{color:#14a27f;background:#e6f8f3}.health-icon.blue{color:#4985e8;background:#edf3ff}.health-icon.purple{color:#765cde;background:#f0edff}.health-row strong,.health-row small{display:block}.health-row strong{font-size:11px}.health-row small{font-size:10px;color:#8b97a6;margin-top:3px}.health-ok{margin-left:auto;color:#17a080;font-size:10px;font-weight:700}.health-ok:before{margin-right:5px;width:5px;height:5px}.footer{display:flex;justify-content:space-between;color:#a0a9b7;font-size:10px;padding:20px 2px 0}.mobile-brand{display:none}@media(max-width:1100px){.metrics-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid,.bottom-grid{grid-template-columns:1fr}}@media(max-width:720px){.sidebar{display:none}.mobile-brand{display:flex;font-size:18px}.topbar{height:65px;padding:0 18px}.breadcrumb{display:none}.profile-mini span:not(.avatar){display:none}.content-wrap{padding:24px 16px}.page-heading{display:block}.page-heading h1{font-size:24px}.store-select{margin-top:18px;width:100%}.metrics-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-card{padding:14px}.metric-card:first-child{grid-column:span 2}.metric-value{font-size:24px}.metric-footer{font-size:10px}.legend{flex-wrap:wrap;justify-content:flex-end}.legend .period-button{width:100%}.panel{padding:17px 14px}.flow-panel .panel-heading{align-items:flex-start}.camera-feed{height:185px}.footer{font-size:9px}.demo-notice{align-items:flex-start}}
\n+.camera-actions{display:flex;gap:8px;align-items:center}.secondary-button{border:1px solid #dce4ec;background:#fff;color:#536176;border-radius:7px;padding:10px 13px;font:600 11px 'DM Sans';cursor:pointer}.secondary-button:hover{border-color:#9fb2c4;background:#f7fafc}.secondary-button.compact{padding:9px 10px}.calibration-modal{width:min(1180px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:14px;padding:24px;box-shadow:0 24px 70px #07111f55}.calibration-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:18px;margin-top:20px}.calibration-stage{position:relative;aspect-ratio:1000/562;background:#07111f;border-radius:10px;overflow:hidden}.calibration-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#07111f}.calibration-stage svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.calibration-line{fill:none;stroke-width:5;filter:drop-shadow(0 2px 3px #0008)}.calibration-line.outer{stroke:#25a9ff}.calibration-line.inner{stroke:#b8ed19}.door-band{stroke:#fff;stroke-width:2;stroke-dasharray:8 8;opacity:.85}.calibration-handle{cursor:pointer;stroke:#fff;stroke-width:3}.calibration-handle.endpoint{fill:#25a9ff}.calibration-handle.mover{fill:#fff;opacity:.95}.calibration-handle.rotator{fill:#f5b13c}.calibration-label{font:700 22px 'DM Sans';fill:#fff;paint-order:stroke;stroke:#07111f;stroke-width:6;stroke-linejoin:round}.calibration-label.inner-label{fill:#b8ed19}.calibration-help{position:absolute;left:12px;right:12px;bottom:10px;background:#07111fcc;color:#d9e8ed;border-radius:6px;padding:8px 10px;font-size:11px}.calibration-controls{display:flex;flex-direction:column;gap:12px}.calibration-card{border:1px solid var(--line);border-radius:9px;padding:14px}.calibration-card strong{font-size:12px}.calibration-card p{color:var(--muted);font-size:11px;line-height:1.45;margin:7px 0 11px}.direction-options{display:grid;gap:9px;color:#526176;font-size:11px}.direction-options input{accent-color:var(--teal)}.line-key{display:flex;align-items:center;gap:8px;margin-top:12px;color:#536176;font-size:11px}.line-key output{margin-left:auto;color:#8592a3}.line-key i{width:20px;border-top:4px solid}.key-outer{border-color:#25a9ff!important}.key-inner{border-color:#b8ed19!important}.calibration-status{min-height:35px;color:#5d6c80;font-size:11px;line-height:1.45}.calibration-actions{margin-top:auto;display:flex;justify-content:flex-end;gap:8px}.modal-backdrop{z-index:20}.modal-backdrop.open{display:flex}@media(max-width:800px){.calibration-layout{grid-template-columns:1fr}.calibration-controls{display:grid;grid-template-columns:1fr 1fr}.calibration-status,.calibration-actions{grid-column:span 2}.calibration-modal{padding:17px}}@media(max-width:520px){.calibration-controls{display:flex}.camera-actions{flex-direction:column;align-items:flex-end}.camera-actions button{width:100%}}
.manual-angle-panel{border:1px solid var(--line);border-radius:9px;padding:12px}.manual-angle-panel strong{display:block;font-size:12px;margin-bottom:10px}.manual-angle-row{display:flex;align-items:center;gap:7px;margin-top:8px;color:#536176;font-size:11px}.manual-angle-row label{width:45px}.angle-input{width:70px;height:28px;border:1px solid #dce4ec;border-radius:5px;padding:0 6px;color:var(--ink);font:600 11px 'DM Sans'}.angle-input:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 2px #21b99422}
.app-toast{position:fixed;top:22px;right:24px;z-index:100;display:flex;align-items:center;gap:10px;min-width:290px;max-width:420px;padding:14px 14px 14px 12px;background:#fff;color:#193047;border:1px solid #ccefe5;border-left:4px solid var(--teal);border-radius:10px;box-shadow:0 12px 30px #07111f25;font-size:12px;font-weight:600;animation:toast-in .22s ease-out}.app-toast.error{border-color:#f3d0d0;border-left-color:#d95f5f}.toast-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e4f8f2;color:#119577;font-weight:800}.app-toast.error .toast-icon{background:#fff0f0;color:#c44d4d}.app-toast button{margin-left:auto;border:0;background:transparent;color:#8492a2;font-size:18px;cursor:pointer;line-height:1}@keyframes toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:520px){.app-toast{top:12px;right:12px;left:12px;min-width:0}}
.metric-card.accent{cursor:pointer}.metric-card.accent:active{transform:translateY(1px)}.flow-details-card{position:fixed;top:96px;left:285px;z-index:30;width:330px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:13px;padding:17px;box-shadow:0 18px 45px #07111f2e;opacity:0;pointer-events:none;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease}.flow-details-card.visible{opacity:1;pointer-events:auto;transform:translateY(0)}.flow-details-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #edf0f4;padding-bottom:12px}.flow-details-header .eyebrow{margin:0 0 4px;color:var(--teal-dark)}.flow-details-header strong{display:block;font-size:14px}.flow-details-header button{border:0;background:#f1f4f7;color:#758397;border-radius:50%;width:25px;height:25px;font-size:18px;line-height:20px;cursor:pointer}.flow-details-items{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.flow-details-items>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.flow-detail-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;font-weight:800}.flow-detail-icon.entry{background:#e3f8f2;color:#119577}.flow-detail-icon.exit{background:#f0edff;color:#765cde}.flow-detail-icon.inside{background:#eaf3ff;color:#4985e8;font-size:11px}.flow-details-items small{color:#8491a3;font-size:10px}.flow-details-items strong{font-family:'Plus Jakarta Sans';font-size:21px}.flow-details-note{display:block;color:#9aa6b5;font-size:10px;margin-top:14px;text-align:right}@media(max-width:720px){.flow-details-card{top:78px;left:16px;right:16px;width:auto}}
.dashboard-grid,.bottom-grid{align-items:stretch}.camera-panel{padding:24px;min-width:0}.camera-panel .panel-heading{margin-bottom:4px}.camera-panel .camera-feed{margin-top:21px;margin-bottom:21px}.camera-footer{gap:18px;padding-top:2px}.camera-footer>div:first-child{min-width:0}.camera-footer strong,.camera-footer small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.camera-actions{flex-shrink:0;gap:10px}.camera-actions .primary-button,.camera-actions .secondary-button{white-space:nowrap}.camera-panel .status-chip{white-space:nowrap}@media(max-width:1100px) and (min-width:721px){.camera-panel .camera-footer{align-items:flex-start;flex-direction:column}.camera-actions{width:100%;justify-content:flex-end}}@media(max-width:720px){.camera-panel{padding:18px 15px}.camera-panel .panel-heading{gap:8px}.camera-panel .camera-feed{margin-top:18px;margin-bottom:18px}.camera-footer{gap:13px;align-items:flex-start}.camera-actions{width:145px}.camera-actions .primary-button,.camera-actions .secondary-button{padding-left:8px;padding-right:8px;font-size:10px}}
.calibration-line{cursor:grab;pointer-events:stroke}.calibration-line:active,.calibration-line.selected{filter:drop-shadow(0 0 5px #fff)}.calibration-line.selected{stroke-width:7}
.calibration-stage,.calibration-stage *{user-select:none;-webkit-user-select:none}.calibration-label,.door-band,.calibration-help{pointer-events:none}.calibration-line{user-select:none;-webkit-user-select:none}
.live-calibration-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}.live-calibration-line{fill:none;stroke-width:5;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 2px #0008)}.live-outer{stroke:#25a9ff}.live-inner{stroke:#b8ed19}.live-calibration-label{font:700 22px 'DM Sans';paint-order:stroke;stroke:#07111f;stroke-width:6;stroke-linejoin:round}.live-outer-label{fill:#25a9ff}.live-inner-label{fill:#b8ed19}
.calibration-line{pointer-events:none;cursor:default}.calibration-handle.endpoint{cursor:grab}.calibration-handle.endpoint:active{cursor:grabbing}
.flow-details-header-actions{display:flex;gap:6px}.flow-refresh-button,.flow-close-button{border:0;background:#f1f4f7;color:#758397;border-radius:50%;width:25px;height:25px;font-size:17px;line-height:20px;cursor:pointer}.flow-refresh-button:disabled{opacity:.5;cursor:wait}.flow-refresh-button:hover,.flow-close-button:hover{background:#e6ebf0}
.flow-refresh-button.spinning{animation:flow-refresh-spin .7s linear;transform-origin:center}@keyframes flow-refresh-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
:root{--bg:#f3f6fa;--line:#e2e8f0;--ink:#142238;--muted:#77869a;--teal:#19b995;--teal-dark:#0b8b71}
body{background:radial-gradient(circle at 78% -10%,#ffffff 0,#f3f6fa 38%,#eef3f8 100%);letter-spacing:.01em}
.sidebar{width:258px;background:linear-gradient(180deg,#06111f 0%,#09192b 100%);padding:31px 19px 22px;box-shadow:8px 0 28px #07111f14;position:relative;z-index:2}.brand{font-size:23px}.brand-mark{box-shadow:0 8px 18px #21b99445}.workspace-label{margin-top:61px;color:#6d8097}.nav-item{padding:14px 15px;margin:6px 0;border:1px solid transparent;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.nav-item:hover{transform:translateX(2px)}.nav-item.active{background:linear-gradient(100deg,#152d47,#11253b);border-color:#24435e;box-shadow:inset 3px 0 #25c7a5}.nav-count{background:#1c405d}
.topbar{height:82px;padding:0 48px;background:#ffffffdf;backdrop-filter:blur(16px);position:sticky;top:0;z-index:8}.breadcrumb{font-size:13px}.top-actions{gap:24px}.profile-mini{padding:7px 10px;border-radius:10px;transition:background .18s ease}.profile-mini:hover{background:#f1f5f8}
.content-wrap{max-width:1500px;padding:42px 48px 30px}.page-heading{margin-bottom:30px}.page-heading h1{font-size:30px}.page-heading .muted{font-size:14px}.store-actions{gap:11px}.store-select{box-shadow:0 5px 16px #15324b0d}.new-store-button{box-shadow:0 5px 14px #21b9941c;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.new-store-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #21b9942b}
.demo-notice{box-shadow:0 5px 16px #15324b08}.metrics-grid{gap:17px;margin-bottom:22px}.metric-card{border-radius:14px;padding:20px 20px 17px;box-shadow:0 5px 18px #15324b08;transition:transform .18s ease,box-shadow .18s ease}.metric-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #15324b14}.metric-card.accent{box-shadow:0 10px 24px #19b99535}.metric-value{font-size:31px}.metric-icon{width:29px;height:29px;border-radius:9px}
.dashboard-grid,.bottom-grid{gap:22px;margin-bottom:22px}.panel{border-radius:14px;padding:23px 23px 19px;box-shadow:0 5px 18px #15324b08}.panel-heading{margin-bottom:3px}.panel h2{font-size:16px}.muted{color:#7a899c}.camera-feed{border-radius:12px;box-shadow:inset 0 0 0 1px #ffffff18,0 8px 20px #07111f17}.camera-footer strong{font-size:13px}.primary-button,.secondary-button,.new-store-button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}.primary-button:hover,.secondary-button:hover{transform:translateY(-1px)}.primary-button{box-shadow:0 5px 14px #0f9e8026}.primary-button:hover{box-shadow:0 8px 18px #0f9e8038}.secondary-button{box-shadow:0 3px 10px #15324b08}
.bottom-grid{margin-bottom:12px}.health-row{padding-top:15px;margin-top:15px}.footer{padding-top:26px}
@media(max-width:1100px){.topbar{padding:0 30px}.content-wrap{padding-left:30px;padding-right:30px}.sidebar{width:238px}}
@media(max-width:720px){.topbar{height:68px;padding:0 16px}.content-wrap{padding:26px 16px 22px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:25px}.metrics-grid{gap:11px}.metric-card{border-radius:12px;padding:16px 15px 14px}.metric-value{font-size:26px}.dashboard-grid,.bottom-grid{gap:14px;margin-bottom:14px}.panel{border-radius:12px;padding:18px 15px 15px}}
.header-popover-wrap{position:relative}.icon-button,.profile-mini{cursor:pointer}.notification-dot[hidden]{display:none}.header-popover{position:absolute;top:calc(100% + 14px);right:0;z-index:40;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 18px 45px #07111f1f;overflow:hidden;animation:popover-in .16s ease-out}.header-popover[hidden]{display:none}.notification-popover{width:310px}.profile-popover{width:260px;padding:16px}.popover-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 17px 13px;border-bottom:1px solid #edf1f5}.popover-heading strong{display:block;font-size:13px}.popover-heading small{display:block;color:#8b97a6;font-size:10px;margin-top:4px}.popover-close{border:0;background:#f1f4f7;color:#718097;border-radius:50%;width:24px;height:24px;line-height:20px;font-size:17px;cursor:pointer}.notification-list{padding:6px 0}.notification-item{display:flex;align-items:flex-start;gap:10px;padding:12px 17px}.notification-item+.notification-item{border-top:1px solid #f0f3f6}.notification-item strong,.notification-item small{display:block}.notification-item strong{font-size:11px;color:#26374d}.notification-item small{font-size:10px;color:#8996a6;margin-top:4px;line-height:1.4}.notification-status{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;font-size:13px;font-weight:800;flex-shrink:0}.notification-status.ok{background:#e5f8f2;color:#119577}.notification-status.info{background:#edf3ff;color:#4985e8}.notification-empty{display:grid;place-items:center;text-align:center;padding:22px 17px;color:#8491a3}.notification-empty>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e5f8f2;color:#119577;font-weight:800;margin-bottom:8px}.notification-empty strong{font-size:11px;color:#26374d}.notification-empty small{font-size:10px;margin-top:4px}.profile-popover-heading{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid #edf1f5}.profile-avatar{width:36px;height:36px}.profile-popover-heading strong,.profile-popover-heading small{display:block}.profile-popover-heading strong{font-size:12px}.profile-popover-heading small{color:#8b97a6;font-size:10px;margin-top:3px}.profile-store-info{padding:14px 0}.profile-store-info small,.profile-store-info strong{display:block}.profile-store-info small{color:#8b97a6;font-size:10px;margin-bottom:5px}.profile-store-info strong{font-size:11px;color:#26374d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-action{width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid #dce4ec;background:#fff;color:#536176;border-radius:8px;padding:10px 11px;font:600 11px 'DM Sans';cursor:pointer}.profile-menu-action:hover{background:#f5faf8;border-color:#b9e6dc;color:#0d8d71}.profile-menu-action span{font-size:16px}@keyframes popover-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.icon-button:focus,.profile-mini:focus{outline:0}.icon-button:focus-visible,.profile-mini:focus-visible{outline:3px solid #21b99455;outline-offset:3px}
@media(max-width:720px){.notification-popover{position:fixed;top:67px;left:16px;right:16px;width:auto}.profile-popover{right:-6px}.top-actions{gap:10px}}
