:root{--sidebar-width:260px;--sidebar-collapsed-width:64px;--color-bg:#f0f2f5;--color-surface:#fff;--color-text:#1a1d23;--color-text-muted:#6b7280;--color-border:#e5e7eb;--color-brand:#0071ce;--color-brand-yellow:#ffc220;--color-brand-navy:#041e42;--color-sidebar-bg:#041e42;--color-sidebar-text:#e8eef6;--color-sidebar-muted:#9eb0c8;--color-sidebar-active:#0071ce;--color-red:#dc2626;--color-red-bg:#fef2f2;--color-red-border:#fecaca;--color-yellow:#ca8a04;--color-yellow-bg:#fefce8;--color-yellow-border:#fef08a;--color-green:#16a34a;--color-green-bg:#f0fdf4;--color-green-border:#bbf7d0;--color-blue:#0071ce;--color-blue-bg:#eff6ff;--color-blue-border:#bfdbfe;--color-grey:#475569;--color-grey-bg:#f8fafc;--color-grey-border:#cbd5e1;--shadow-sm:0 1px 2px #0000000d;--shadow-md:0 4px 6px -1px #00000014, 0 2px 4px -2px #0000000f;--radius:12px}*,:before,:after{box-sizing:border-box}body{background:var(--color-bg);color:var(--color-text);-webkit-font-smoothing:antialiased;margin:0;font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}#root{min-height:100vh}.app{min-height:100vh;display:flex}.app__main{flex-direction:column;flex:1;min-width:0;display:flex}.app__as-of{border-bottom:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);justify-content:space-between;align-items:center;gap:1rem;margin:0;padding:.55rem 1.5rem;font-size:.85rem;display:flex}.app__as-of-time{min-width:0;margin:0}.app__hello{color:var(--color-text);white-space:nowrap;margin:0 0 0 auto;font-weight:600}.sidebar{width:var(--sidebar-width);background:var(--color-sidebar-bg);color:var(--color-sidebar-text);flex-direction:column;flex-shrink:0;transition:width .2s;display:flex;overflow:hidden}.sidebar--collapsed{width:var(--sidebar-collapsed-width)}.sidebar__header{border-bottom:1px solid #ffffff14;grid-template-columns:minmax(0,1fr) auto;justify-content:space-between;align-items:start;gap:.55rem .5rem;padding:1.25rem 1rem .9rem;display:grid}.sidebar__toggle{grid-area:1/2;justify-self:end}.sidebar__session-actions{grid-column:1/-1;justify-content:flex-end;gap:.4rem;display:flex}.sidebar__signout{color:var(--color-sidebar-text);font:inherit;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:8px;padding:.35rem .55rem;font-size:.75rem;font-weight:600}.sidebar__signout:hover{background:#ffffff1f}.sidebar--collapsed .sidebar__signout{width:36px;padding:.35rem .15rem;font-size:.65rem;line-height:1.1}.sidebar__brand{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:.75rem;padding:0;display:flex}.sidebar__brand:hover .sidebar__brand-icon{background:#ffd45a}.sidebar__brand:focus-visible{outline:2px solid var(--color-brand-yellow);outline-offset:2px}.sidebar__brand-icon{background:var(--color-brand-yellow);width:36px;height:36px;color:var(--color-brand-navy);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;font-size:1rem;font-weight:700;display:flex}.sidebar__brand-title{margin:0;font-size:.95rem;font-weight:600;line-height:1.2}.sidebar__brand-subtitle{color:var(--color-sidebar-muted);margin:0;font-size:.75rem}.sidebar__toggle{color:var(--color-sidebar-text);cursor:pointer;background:#ffffff14;border:none;border-radius:6px;flex-shrink:0;width:28px;height:28px;font-size:.85rem}.sidebar__toggle:hover{background:#ffffff24}.sidebar__archive{width:100%;color:var(--color-sidebar-text);font:inherit;cursor:pointer;text-align:left;background:#ffffff0f;border:1px solid #ffffff29;border-radius:8px;margin-bottom:.55rem;padding:.45rem .6rem;font-size:.8rem;font-weight:600}.sidebar__archive:hover,.sidebar__archive--active{background:#ffffff1f}.sidebar__controls{flex-direction:column;gap:.65rem;padding:.85rem .85rem 0;display:flex}.sidebar__search{position:relative}.sidebar__search-icon{color:var(--color-sidebar-muted);pointer-events:none;position:absolute;top:50%;left:.7rem;transform:translateY(-50%)}.sidebar__search-input{width:100%;color:var(--color-sidebar-text);background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;outline:none;padding:.5rem .65rem .5rem 2rem;font-size:.8rem}.sidebar__search-input::placeholder{color:var(--color-sidebar-muted)}.sidebar__search-input:focus{border-color:#0071cebf;box-shadow:0 0 0 2px #0071ce38}.sidebar__filter{grid-template-columns:1fr 1fr;gap:.45rem;display:grid}.sidebar__filter-btn{color:var(--color-sidebar-muted);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;padding:.4rem .5rem;font-size:.8rem;font-weight:600}.sidebar__filter-btn:hover{color:var(--color-sidebar-text);background:#ffffff1a}.sidebar__filter-btn--active{color:#fff;background:#0071ce59;border-color:#ffc220b3}.sidebar__empty{color:var(--color-sidebar-muted);margin:.5rem .85rem;font-size:.8rem}.sidebar__section-label{text-transform:uppercase;letter-spacing:.06em;color:var(--color-sidebar-muted);margin:1rem 1rem .5rem;font-size:.7rem;font-weight:600}.sidebar__nav{flex:1;padding:0 .5rem 1rem;overflow-y:auto}.sidebar__device-list{margin:0;padding:0;list-style:none}.sidebar__device{width:100%;color:var(--color-sidebar-text);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:flex-start;gap:.6rem;padding:.55rem .75rem;font-size:.875rem;transition:background .15s;display:flex}.sidebar__device:hover{background:#ffffff0f}.sidebar__device--active{color:#fff;background:#0071ce61}.sidebar__store{flex-direction:column;gap:.1rem;min-width:0;display:flex}.sidebar__store-id-row{align-items:center;gap:.35rem;display:inline-flex}.sidebar__store-id{font-size:.85rem;font-weight:600}.sidebar__store-location{color:var(--color-sidebar-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.sidebar__store-devices{flex-wrap:wrap;gap:.2rem .35rem;display:flex}.sidebar__store-device{color:var(--color-sidebar-muted);font-size:.68rem;line-height:1.2}.sidebar__device--active .sidebar__store-location,.sidebar__device--active .sidebar__store-device{color:#d6e6f5}.sidebar__device-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:.35rem}.dashboard{flex-direction:column;flex:1;gap:1.25rem;padding:1.5rem;display:flex;overflow-y:auto}.dashboard__data-note{color:var(--color-text-muted);margin:0;font-size:.85rem}.dashboard__data-note--error{color:var(--color-red)}.dashboard__kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;display:grid}.dashboard__spotlight{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:stretch;gap:.85rem;display:grid}.dashboard__spotlight .priority-sites{flex-direction:column;align-self:stretch;height:404px;max-height:404px;display:flex}.dashboard__spotlight .priority-sites__table-wrap{flex:1;min-height:0;overflow:auto}.dashboard__spotlight .fleet-metrics{height:100%;min-height:0}.dashboard__spotlight .fleet-metrics__list{justify-content:space-evenly}.dashboard__spotlight .fleet-metrics__item{flex:1}.dashboard__layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"pies pies""map trend";align-items:stretch;gap:.75rem;display:grid}.dashboard__map{grid-area:map;width:100%;min-width:0;height:280px;min-height:0;display:flex}.dashboard__layout>.health-trend{grid-area:trend;min-width:0;height:280px}.dashboard__map .site-map,.dashboard__layout>.health-trend{gap:.35rem;min-height:0;padding:.65rem .8rem .6rem}.dashboard__map .site-map{width:100%;height:100%}.dashboard__map .site-map__canvas{flex:1;min-height:0}.dashboard__map .site-map__svg{aspect-ratio:auto;flex:auto;width:100%;height:100%;min-height:0;max-height:none}.dashboard__layout>.health-trend .health-trend__chart{flex:1;width:100%;height:100%;min-height:0;max-height:none}.dashboard__layout>.health-trend .health-trend__tick,.dashboard__layout>.health-trend .health-trend__label{font-size:12px}.dashboard__layout>.health-trend .health-trend__legend{font-size:.8rem}.dashboard__pies{grid-area:pies;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;min-width:0;display:grid}.dashboard__pies .donut-card{text-align:center;align-self:stretch;align-items:center;gap:.45rem;min-height:0;padding:.75rem .9rem .7rem}.dashboard__pies .donut-card__chart{width:168px;height:168px}.dashboard__pies .donut-card__body{flex-direction:column;align-items:center;gap:.65rem;width:100%}.dashboard__pies .donut-card__legend{align-items:center;gap:.35rem;width:100%}.dashboard__pies .donut-card__legend-item{justify-content:center;align-items:center;gap:.4rem;font-size:.95rem;display:flex}.dashboard__pies .donut-card__swatch{grid-row:auto}.dashboard__pies .donut-card__legend-value{font-size:1.05rem}.dashboard__pies .donut-card__total{font-size:32px}.dashboard__pies .donut-card__caption{font-size:12px}.dashboard__pies .panel-card__title{text-align:center;width:100%;font-size:1.15rem}.priority-sites{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.priority-sites--red{border-top:3px solid var(--color-red)}.priority-sites--yellow{border-top:3px solid var(--color-yellow)}.priority-sites__header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .85rem;display:flex}.priority-sites__title{margin:0;font-size:1.35rem;font-weight:700;line-height:1.2}.priority-sites--red .priority-sites__title{color:var(--color-red)}.priority-sites--yellow .priority-sites__title{color:var(--color-yellow)}.priority-sites__subtitle{color:var(--color-text-muted);margin:.15rem 0 0;font-size:.82rem}.priority-sites__toggle{background:var(--color-bg);border:1px solid var(--color-border);border-radius:999px;flex-shrink:0;align-items:center;gap:.2rem;padding:.2rem;display:inline-flex}.priority-sites__toggle-btn{color:var(--color-text-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:.4rem;padding:.4rem .8rem;font-size:.82rem;font-weight:600;display:inline-flex}.priority-sites__toggle-btn:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px}.priority-sites__toggle-btn--red[aria-pressed=true]{background:var(--color-red);color:#fff}.priority-sites__toggle-btn--yellow[aria-pressed=true]{background:var(--color-yellow);color:#1a1d23}.priority-sites__dot{background:currentColor;border-radius:50%;width:.5rem;height:.5rem}.priority-sites__count{text-align:center;background:#00000014;border-radius:999px;min-width:1.25rem;padding:0 .3rem;font-size:.72rem;line-height:1.3rem}.priority-sites__toggle-btn--red[aria-pressed=true] .priority-sites__count{background:#ffffff38}.priority-sites__toggle-btn--yellow[aria-pressed=true] .priority-sites__count{background:#0000001f}.priority-sites__table-wrap{overflow-x:auto}.priority-sites__condition{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.priority-sites__table{border-collapse:collapse;width:100%;font-size:.92rem}.priority-sites__table th,.priority-sites__table td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--color-border);padding:.5rem .85rem}.priority-sites__table th{z-index:1;background:var(--color-bg);letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);font-size:.8rem;font-weight:600;position:sticky;top:0}.priority-sites__table tbody tr:last-child td{border-bottom:none}.priority-sites__table tbody tr:hover{background:var(--color-bg)}.priority-sites__date{white-space:nowrap;color:var(--color-text-muted)}.priority-sites__empty{color:var(--color-text-muted);text-align:center}.panel-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-sm);flex-direction:column;gap:.65rem;min-width:0;min-height:280px;padding:.9rem 1rem .85rem;display:flex}.panel-card__title{color:var(--color-text);margin:0;font-size:.95rem;font-weight:700}.donut-card{align-self:start;min-height:0}.donut-card__body{align-items:center;gap:.75rem;min-width:0;display:flex}.donut-card__chart{flex-shrink:0;width:148px;height:148px}.donut-card__slice{stroke:#fff;stroke-width:2px;transition:opacity .15s}.donut-card__slice--clickable{cursor:pointer}.donut-card__slice--clickable:hover,.donut-card__slice--clickable:focus{opacity:.88;outline:none}.donut-card__total{fill:#1a1d23;font-family:Segoe UI,system-ui,sans-serif;font-size:28px;font-weight:700}.donut-card__caption{fill:#6b7280;letter-spacing:.02em;font-size:9px;font-weight:600}.donut-card__legend{flex-direction:column;flex:1;gap:.55rem;min-width:0;margin:0;padding:0;list-style:none;display:flex}.donut-card__legend-item{grid-template-rows:auto auto;grid-template-columns:10px minmax(0,1fr);align-items:center;gap:.1rem .45rem;font-size:.78rem;display:grid}.donut-card__legend-item--clickable{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:.15rem .2rem}.donut-card__legend-item--clickable:hover .donut-card__legend-label,.donut-card__legend-item--clickable:focus-visible .donut-card__legend-label{color:var(--color-blue);text-decoration:underline}.donut-card__legend-item--clickable:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px}.donut-card__swatch{border-radius:3px;grid-row:1/span 2;width:10px;height:10px}.donut-card__legend-label{color:var(--color-text);line-height:1.2}.donut-card__legend-value{color:var(--color-text);font-weight:700}.donut-card__legend-percent{color:var(--color-text-muted);font-weight:500}.donut-card__empty{color:var(--color-text-muted);margin:0;font-size:.875rem}.site-map__header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.site-map__controls{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;display:flex}.site-map__control{border:1px solid var(--color-border);color:var(--color-text);font:inherit;cursor:pointer;background:#fff;border-radius:999px;padding:.2rem .6rem;font-size:.72rem;font-weight:650}.site-map__control:disabled{opacity:.45;cursor:default}.site-map__backdrop{z-index:40;background:#0f172a8c;position:fixed;inset:0}.dashboard__map .site-map.site-map--expanded{z-index:41;width:auto;height:auto;max-height:none;position:fixed;inset:1.25rem}.site-map__svg--expanded{cursor:grab;touch-action:none;height:100%}.site-map__canvas{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.site-map__svg{border-radius:12px;width:100%;height:auto;display:block}.site-map__dot{cursor:pointer}.site-map__dot:hover,.site-map__dot:focus{stroke-width:2.5px;outline:none}.site-map__legend{color:var(--color-text-muted);flex-wrap:wrap;gap:.55rem .85rem;margin:.45rem 0 0;padding:0;font-size:.72rem;list-style:none;display:flex}.site-map__legend li{align-items:center;gap:.35rem;display:flex}.site-map__swatch{border-radius:50%;width:8px;height:8px}.fleet-metrics__list{flex-direction:column;flex:1;justify-content:flex-start;display:flex}.fleet-metrics__item{border:0;border-top:1px solid var(--color-border);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;flex:none;align-items:center;gap:.75rem;padding:.75rem .15rem;display:flex}.fleet-metrics__item:first-child{border-top:0}.fleet-metrics__item:hover .fleet-metrics__label{color:var(--color-blue)}.fleet-metrics__item:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px;border-radius:8px}.fleet-metrics__item--developing{cursor:default;position:relative}.fleet-metrics__item--developing:hover .fleet-metrics__label{color:inherit}.fleet-metrics__overlay{color:#374151;letter-spacing:.01em;text-align:center;background:#ffffffc7;border:1px dashed #d1d5db;border-radius:8px;justify-content:center;align-items:center;padding:.35rem .75rem;font-size:.95rem;font-weight:700;display:flex;position:absolute;inset:.15rem 0}.fleet-metrics__icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.fleet-metrics__icon svg{width:28px;height:28px}.fleet-metrics__icon--blue{color:#0071ce;background:#e5f2fb}.fleet-metrics__icon--red{color:#dc2626;background:#fee2e2}.fleet-metrics__icon--purple{color:#7c3aed;background:#ede9fe}.fleet-metrics__copy{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.fleet-metrics__label{font-size:1.05rem;font-weight:700;line-height:1.2}.fleet-metrics__value{font-size:.92rem;font-weight:600;line-height:1.1}.fleet-metrics__hint{color:var(--color-text-muted);flex-shrink:0;font-size:.72rem}.health-trend__header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.health-trend__range{color:var(--color-text-muted);background:#f3f4f6;border-radius:999px;padding:.2rem .55rem;font-size:.72rem;font-weight:600}.health-trend__stage{flex-direction:column;flex:1;gap:.35rem;min-height:0;display:flex;position:relative}.health-trend__overlay{color:#374151;letter-spacing:.01em;text-align:center;background:#ffffffc7;border:1px dashed #d1d5db;border-radius:8px;justify-content:center;align-items:center;padding:1rem;font-size:.95rem;font-weight:700;display:flex;position:absolute;inset:0}.health-trend__chart{flex:1;width:100%;height:auto}.health-trend__grid{stroke:#e5e7eb;stroke-width:1px}.health-trend__tick,.health-trend__label{fill:#6b7280;font-size:10px}.health-trend__legend{color:var(--color-text-muted);flex-wrap:wrap;gap:.65rem .9rem;margin:0;padding:0;font-size:.72rem;list-style:none;display:flex}.health-trend__legend li{align-items:center;gap:.35rem;display:flex}.health-trend__legend span{border-radius:2px;width:10px;height:10px}.status-pie-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-sm);flex-direction:column;gap:.65rem;min-height:140px;padding:1.15rem 1.25rem 1rem;display:flex}.status-pie-card__title{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin:0;font-size:.8rem;font-weight:600}.status-pie-card__body{flex:1;align-items:center;gap:1rem;display:flex}.status-pie-card__chart{flex-shrink:0;width:150px;height:150px}.status-pie-card__slice{stroke:#fff;stroke-width:2px;transition:opacity .15s}.status-pie-card__slice--clickable{cursor:pointer}.status-pie-card__slice--clickable:hover,.status-pie-card__slice--clickable:focus{opacity:.88;outline:none}.status-pie-card__slice--clickable:focus-visible{stroke:#0a2540;stroke-width:3px}.status-pie-card__legend{flex-direction:column;flex:1;gap:.55rem;min-width:0;margin:0;padding:0;list-style:none;display:flex}.status-pie-card__legend-item{grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:.5rem;font-size:.8rem;display:grid}.status-pie-card__swatch{border-radius:3px;width:12px;height:12px}.status-pie-card__legend-label{color:var(--color-text);line-height:1.25}.status-pie-card__legend-value{color:var(--color-text);font-weight:700}.status-pie-card__hint{color:var(--color-text-muted);margin:0;font-size:.75rem}.status-pie-card__empty{color:var(--color-text-muted);margin:0;font-size:.875rem}.metric-card{background:var(--color-surface);border-radius:var(--radius);box-shadow:var(--shadow-md);text-align:left;min-height:140px;font:inherit;color:inherit;border:2px solid #0000;flex-direction:column;gap:.75rem;padding:1.5rem 1.75rem;display:flex}.metric-card--clickable{cursor:pointer;width:100%;transition:transform .15s,box-shadow .15s}.metric-card--clickable:hover{transform:translateY(-2px);box-shadow:0 8px 16px -4px #0000001f}.metric-card--clickable:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px}.metric-card--compact{min-height:0;box-shadow:var(--shadow-sm);text-align:center;border-width:1px;align-items:center;gap:.3rem;padding:.8rem .9rem .7rem}.metric-card__head{align-items:flex-start;gap:.45rem;display:flex}.metric-card--compact .metric-card__head{grid-template-columns:22px minmax(0,1fr) 22px;align-items:center;gap:.35rem;width:100%;display:grid}.metric-card--compact .metric-card__title{grid-column:2}.metric-card--compact .metric-card__icon{grid-column:3;justify-self:end}.metric-card--compact .metric-card__value,.metric-card--compact .metric-card__hint{text-align:center;width:100%}.metric-card__icon{flex-shrink:0;width:22px;height:22px;display:inline-flex}.metric-card__icon svg{width:22px;height:22px}.metric-card--compact .metric-card__title{font-size:1rem;font-weight:600;line-height:1.3}.metric-card--compact .metric-card__value{font-size:1.7rem}.metric-card--compact.metric-card--blue .metric-card__value{font-size:1.35rem}.metric-card--compact .metric-card__hint{margin-top:.15rem}.metric-card__hint{opacity:.75;margin-top:auto;font-size:.75rem;font-weight:500}.metric-card__title{margin:0;font-size:.95rem;font-weight:600;line-height:1.35}.metric-card__value{margin:0;font-size:2.75rem;font-weight:700;line-height:1}.metric-card--red{background:var(--color-red-bg);border-color:var(--color-red-border)}.metric-card--red .metric-card__title,.metric-card--red .metric-card__value{color:var(--color-red)}.metric-card--yellow{background:var(--color-yellow-bg);border-color:var(--color-yellow-border)}.metric-card--yellow .metric-card__title,.metric-card--yellow .metric-card__value{color:var(--color-yellow)}.metric-card--green{background:var(--color-green-bg);border-color:var(--color-green-border)}.metric-card--green .metric-card__title,.metric-card--green .metric-card__value{color:var(--color-green)}.metric-card--blue{background:var(--color-blue-bg);border-color:var(--color-blue-border)}.metric-card--blue .metric-card__title,.metric-card--blue .metric-card__value{color:var(--color-blue)}.metric-card--grey{background:var(--color-grey-bg);border-color:var(--color-grey-border)}.metric-card--grey .metric-card__title{color:var(--color-grey)}.metric-card--grey .metric-card__value{color:var(--color-grey);font-size:1.85rem}.resolution-card{position:relative}.resolution-card__top{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.resolution-card__preview{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:.35rem;display:flex}.resolution-card__trend{white-space:nowrap;font-size:.72rem;font-weight:600}.resolution-card__trend--positive{color:var(--color-green)}.resolution-card__trend--negative{color:var(--color-red)}.sparkline__line--positive{stroke:var(--color-green)}.sparkline__line--negative{stroke:var(--color-red)}.detail-view{flex:1;padding:1.5rem;overflow-y:auto}.detail-view__header{align-items:flex-start;gap:1.5rem;margin-bottom:1.5rem;display:flex}.detail-view__back{background:var(--color-surface);border:1px solid var(--color-border);cursor:pointer;color:var(--color-text);border-radius:8px;flex-shrink:0;padding:.5rem .85rem;font-size:.875rem}.detail-view__back:hover{background:var(--color-bg)}.detail-view__title{margin:0;font-size:1.35rem;font-weight:600}.detail-view--red .detail-view__title{color:var(--color-red)}.detail-view--yellow .detail-view__title{color:var(--color-yellow)}.detail-view--blue .detail-view__title{color:var(--color-blue)}.detail-view__subtitle{color:var(--color-text-muted);margin:.35rem 0 0;font-size:.9rem}.detail-view__body{flex-direction:column;gap:1.75rem;display:flex}.detail-view__section-title{margin:0 0 .5rem;font-size:1rem;font-weight:600}.detail-view__section-desc{color:var(--color-text-muted);margin:0 0 .85rem;font-size:.875rem;line-height:1.45}.detail-view__sort{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:.4rem;padding:0;font-weight:600;display:inline-flex}.detail-view__sort span{color:var(--color-text-muted);font-size:.75rem;font-weight:600}.detail-view__reference{border-top:1px solid var(--color-border);margin-top:.5rem;padding-top:1.25rem}.detail-view__reference-title{text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted);margin:0;font-size:.8rem;font-weight:600}.detail-view__reference-desc{color:var(--color-text-muted);margin:.35rem 0 .85rem;font-size:.8rem}.detail-view__reference-list{flex-direction:column;gap:.65rem;margin:0;padding:0;list-style:none;display:flex}.detail-view__reference-list--compact{grid-template-columns:repeat(2,1fr);gap:.5rem 1.25rem;display:grid}.detail-view__reference-item{color:var(--color-text-muted);font-size:.8rem;line-height:1.4}.detail-view__reference-name{color:var(--color-text);margin:0;font-size:.85rem;font-weight:600}.detail-view__reference-tag{color:var(--color-text-muted);margin-left:.5rem;font-size:.7rem;font-weight:500}.detail-view__reference-meta{margin:.2rem 0 0}.detail-view__reference-label{color:var(--color-text-muted);font-weight:600}.detail-view__alarm-group{margin-top:.5rem;padding-left:.25rem}.detail-view__alarm-group-title{color:var(--color-text);margin:0 0 .35rem;font-size:.75rem;font-weight:600}.detail-view__alarm-table-wrap{margin-bottom:.65rem;overflow-x:auto}.detail-view__alarm-table{border-collapse:collapse;width:100%;font-size:.75rem}.detail-view__alarm-table th,.detail-view__alarm-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--color-border);padding:.35rem .55rem}.detail-view__alarm-table th{color:var(--color-text-muted);background:var(--color-bg);font-weight:600}.detail-view__alarm-table td{color:var(--color-text-muted)}.detail-view__alarm-table td:first-child{color:var(--color-text);font-weight:500}.detail-view__table-wrap{background:var(--color-surface);border-radius:var(--radius);box-shadow:var(--shadow-md);border:1px solid var(--color-border);overflow-x:auto}.detail-view__table{border-collapse:collapse;width:100%;font-size:.9rem}.detail-view__table th,.detail-view__table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--color-border);padding:1rem 1.25rem}.detail-view__table th{background:var(--color-bg);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);font-size:.8rem;font-weight:600}.detail-view__table tbody tr:last-child td{border-bottom:none}.detail-view__ack-button{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:8px;padding:.4rem .65rem;font-size:.8rem;font-weight:600}.detail-view__ack-button:hover{background:var(--color-bg)}.detail-view__ack-button:disabled{opacity:.65;cursor:default}.ack-confirm{z-index:50;background:#0f172a73;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.ack-confirm__card{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);width:min(100%,420px);box-shadow:var(--shadow-md);padding:1.25rem 1.35rem 1.15rem}.ack-confirm__title{margin:0;font-size:1.05rem}.ack-confirm__text{color:var(--color-text);margin:.75rem 0 0;font-size:.95rem;line-height:1.45}.ack-confirm__event{color:var(--color-text-muted);margin:.55rem 0 0;font-size:.85rem}.ack-confirm .detail-view__ack-error{max-width:none}.ack-confirm__actions{justify-content:flex-end;gap:.5rem;margin-top:1.1rem;display:flex}.ack-confirm__cancel,.ack-confirm__confirm{font:inherit;cursor:pointer;border-radius:8px;padding:.55rem .8rem;font-size:.85rem;font-weight:600}.ack-confirm__cancel{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text)}.ack-confirm__confirm{border:1px solid var(--color-red);background:var(--color-red);color:#fff}.ack-confirm__confirm--restore{border-color:var(--color-blue);background:var(--color-blue)}.ack-confirm__cancel:disabled,.ack-confirm__confirm:disabled{opacity:.65;cursor:default}.detail-view__ack-error{color:#b91c1c;max-width:12rem;margin:.35rem 0 0;font-size:.75rem;line-height:1.35}.detail-view__table tbody tr:hover{background:var(--color-bg)}.jockey-row__store{align-items:flex-start;gap:.55rem;display:flex}.jockey-row__toggle{border:1px solid var(--color-border);background:var(--color-surface);width:1.6rem;height:1.6rem;color:var(--color-text-muted);cursor:pointer;border-radius:6px;flex:none;justify-content:center;align-items:center;margin-top:.1rem;padding:0;display:inline-flex}.jockey-row__toggle svg{width:.95rem;height:.95rem;transition:transform .15s}.jockey-row--open .jockey-row__toggle svg{transform:rotate(90deg)}.jockey-row--open td{border-bottom-color:#0000}.jockey-months-row:hover,.jockey-months-row td{background:var(--color-bg)}.jockey-months{margin-left:2.15rem;padding:.15rem 0 .35rem}.jockey-months__title{letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);margin:0 0 .45rem;font-size:.78rem;font-weight:700}.jockey-months__empty{color:var(--color-text-muted);margin:0}.jockey-months__table{border-collapse:collapse;width:min(280px,100%);font-size:.86rem}.jockey-months__table th,.jockey-months__table td{border-bottom:1px solid var(--color-border);text-transform:none;letter-spacing:0;background:0 0;padding:.35rem .75rem .35rem 0;font-size:.86rem;font-weight:500}.jockey-months__table th{color:var(--color-text-muted);font-size:.75rem;font-weight:600}.jockey-months__table td:last-child,.jockey-months__table th:last-child{text-align:right}.jockey-months__table tbody tr:last-child td{border-bottom:none}.detail-view__store-id{font-weight:600}.store-id-link__id{flex-wrap:wrap;align-items:center;gap:.35rem;display:inline-flex}.store-id-link__type{letter-spacing:.01em;color:var(--color-brand-navy);font-size:.75rem;font-weight:700}.store-id-link__device{color:var(--color-text-muted);font-size:.75rem;font-weight:600}.offline-flag{color:#b45309;vertical-align:middle;flex-shrink:0;align-items:center;display:inline-flex}.offline-flag svg{width:14px;height:14px}.sidebar .offline-flag{color:#fbbf24}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.detail-view__store-location{color:var(--color-text-muted);margin-top:.15rem;font-size:.8rem;display:block}.store-id-link{text-align:left;cursor:pointer;font:inherit;color:inherit;background:0 0;border:none;flex-direction:column;align-items:flex-start;gap:0;padding:0;display:inline-flex}.store-id-link:hover .detail-view__store-id{color:var(--color-blue);text-decoration:underline}.impairment-drive{border-radius:999px;padding:.2rem .55rem;font-size:.75rem;font-weight:600;display:inline-block}.impairment-drive--red{background:var(--color-red-bg);color:var(--color-red)}.impairment-drive--yellow{background:var(--color-yellow-bg);color:var(--color-yellow)}.impairment-drive--none{background:var(--color-grey-bg);color:var(--color-grey)}.detail-view__change--negative{color:var(--color-red);font-weight:600}.store-detail{flex:1;padding:1.5rem;overflow-y:auto}.store-detail__header{margin-bottom:1.5rem}.store-detail__heading{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-top:1rem;display:flex}.store-detail__title{margin:0;font-size:1.5rem;font-weight:600}.store-detail__subtitle{color:var(--color-text-muted);margin:.35rem 0 0;font-size:.9rem}.store-detail__status{white-space:nowrap;border-radius:999px;padding:.45rem .85rem;font-size:.8rem;font-weight:600}.store-detail__fuel{flex-direction:column;gap:.15rem;font-weight:700;display:flex}.store-detail__fuel-time{color:var(--color-text-muted);font-size:.75rem;font-weight:500}.store-detail__status--red{background:var(--color-red-bg);color:var(--color-red);border:1px solid var(--color-red-border)}.store-detail__status--yellow{background:var(--color-yellow-bg);color:var(--color-yellow);border:1px solid var(--color-yellow-border)}.store-detail__status--green{background:var(--color-green-bg);color:var(--color-green);border:1px solid var(--color-green-border)}.store-detail__tabs{border-bottom:1px solid var(--color-border);gap:.25rem;margin-bottom:1.5rem;display:flex}.store-detail__tab{color:var(--color-text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom:none;border-radius:8px 8px 0 0;margin-bottom:-1px;padding:.7rem 1.1rem;font-size:.9rem;font-weight:600}.store-detail__tab:hover{color:var(--color-text);background:#ffffff8c}.store-detail__tab--active{color:var(--color-text);background:var(--color-surface);border-color:var(--color-border);box-shadow:inset 0 -2px #0a2540}.store-detail__panel{min-width:0}.store-detail__section{margin-bottom:1.5rem}.acceptance-form__intro{margin-bottom:1.1rem}.acceptance-form__title{margin:0 0 .35rem;font-size:1.1rem;font-weight:600}.acceptance-form__subtitle{color:var(--color-text-muted);margin:0;font-size:.9rem}.acceptance-form__form{gap:1rem;display:grid}.acceptance-form__card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.25rem}.acceptance-form__card-title{color:#0a2540;border-bottom:2px solid #e2000f;margin:0 0 1rem;padding-bottom:.65rem;font-size:1rem;font-weight:600}.acceptance-form__field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem 1rem;display:grid}.acceptance-form__field-grid--single{grid-template-columns:minmax(0,320px)}.acceptance-form__field{flex-direction:column;gap:.35rem;display:flex}.acceptance-form__field span{color:var(--color-grey);font-size:.8rem;font-weight:600}.acceptance-form__field input,.acceptance-form__readings input{border:1px solid var(--color-grey-border);background:var(--color-grey-bg);width:100%;min-height:42px;color:var(--color-text);font:inherit;border-radius:8px;padding:.5rem .75rem}.acceptance-form__field input:focus,.acceptance-form__readings input:focus{outline-offset:1px;background:#fff;outline:2px solid #0a2540}.acceptance-form__readings-wrap{overflow-x:auto}.acceptance-form__readings{border-collapse:collapse;width:100%}.acceptance-form__readings th,.acceptance-form__readings td{text-align:left;vertical-align:middle;padding:.5rem}.acceptance-form__readings thead th{color:#0a2540;border-bottom:1px solid var(--color-border);font-size:.8rem;font-weight:700}.acceptance-form__readings tbody th{width:180px;color:var(--color-grey);white-space:nowrap;font-size:.85rem;font-weight:600}.acceptance-form__readings tbody td{min-width:140px}.acceptance-form__fixed-reading{min-height:42px;color:var(--color-text-muted);align-items:center;padding:.5rem .75rem;font-weight:600;display:flex}.acceptance-form__actions{justify-content:flex-end;padding-bottom:.5rem;display:flex}.acceptance-form__save{color:#fff;cursor:pointer;background:#0a2540;border:0;border-radius:8px;min-height:44px;padding:0 1.35rem;font-size:.9rem;font-weight:600}.acceptance-form__save:hover{background:#16375a}.acceptance-form__save:disabled{opacity:.65;cursor:not-allowed}.acceptance-form__error{background:var(--color-red-bg);border:1px solid var(--color-red-border);color:var(--color-red);border-radius:8px;margin:0;padding:.75rem 1rem;font-size:.875rem}.acceptance-form__banner{background:var(--color-yellow-bg);border:1px solid var(--color-yellow-border);color:var(--color-yellow);border-radius:8px;margin:0 0 1rem;padding:.75rem 1rem;font-size:.875rem}.acceptance-form__readonly{border:1px solid var(--color-border);background:var(--color-bg);min-height:42px;color:var(--color-text);border-radius:8px;align-items:center;padding:.5rem .75rem;font-weight:500;display:flex}.store-detail__section-title{margin:0 0 .85rem;font-size:1rem;font-weight:600}.store-detail__info-grid{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-sm);grid-template-columns:repeat(3,1fr);gap:1rem;padding:1.25rem;display:grid}.store-detail__info-item{flex-direction:column;gap:.25rem;display:flex}.store-detail__info-label{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);font-size:.75rem;font-weight:600}.store-detail__info-value{font-size:.95rem;font-weight:500}.store-detail__empty{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);color:var(--color-text-muted);margin:0;padding:1rem 1.25rem}.store-detail__status-pill{border-radius:999px;padding:.2rem .55rem;font-size:.75rem;font-weight:600;display:inline-block}.store-detail__status-pill--red{background:var(--color-red-bg);color:var(--color-red)}.store-detail__status-pill--yellow{background:var(--color-yellow-bg);color:var(--color-yellow)}.sidebar__device-dot--red{background:var(--color-red)}.sidebar__device-dot--yellow{background:var(--color-yellow)}.sidebar__device-dot--green{background:#22c55e}.sidebar__device--active .sidebar__device-dot--green,.sidebar__device--active .sidebar__device-dot--yellow,.sidebar__device--active .sidebar__device-dot--red{box-shadow:0 0 0 2px #ffffff59}@media (width<=1100px){.detail-view__reference-list--compact{grid-template-columns:1fr}.store-detail__info-grid{grid-template-columns:repeat(2,1fr)}.acceptance-form__field-grid,.dashboard__kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard__spotlight{grid-template-columns:1fr}.dashboard__layout{grid-template-columns:1fr;grid-template-areas:"pies""map""trend"}}@media (width<=768px){.app{flex-direction:column}.sidebar{width:100%;max-height:220px}.sidebar--collapsed{width:100%;max-height:120px}.store-detail__heading{flex-direction:column}.store-detail__info-grid,.acceptance-form__field-grid,.acceptance-form__field-grid--single{grid-template-columns:1fr}.store-detail__tabs{overflow-x:auto}.dashboard__kpis,.dashboard__spotlight,.dashboard__pies{grid-template-columns:1fr}.priority-sites__header{flex-direction:column;align-items:stretch}.priority-sites__toggle{width:100%}.priority-sites__toggle-btn{flex:1;justify-content:center}}.login-page{background:radial-gradient(circle at top left, #0071ce29, transparent 42%), radial-gradient(circle at bottom right, #ffc22047, transparent 36%), var(--color-bg);justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;display:flex}.login-page__card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);width:100%;max-width:420px;box-shadow:var(--shadow-md);padding:1.75rem}.login-page__brand{text-align:center;flex-direction:column;align-items:center;gap:.85rem;margin-bottom:1.5rem;display:flex}.login-page__logo{object-fit:contain;width:100%;max-width:240px;height:auto;display:block}.login-page__title{margin:0;font-size:1.2rem;font-weight:600}.login-page__subtitle{color:var(--color-text-muted);margin:.2rem 0 0;font-size:.85rem}.login-page__timeout{background:var(--color-yellow-bg);border:1px solid var(--color-yellow-border);color:var(--color-yellow);border-radius:8px;margin:0 0 1rem;padding:.7rem .85rem;font-size:.85rem}.login-page__form{flex-direction:column;gap:.45rem;display:flex}.login-page__label{color:var(--color-text-muted);margin-top:.5rem;font-size:.8rem;font-weight:600}.login-page__input{border:1px solid var(--color-border);background:var(--color-bg);border-radius:8px;outline:none;width:100%;padding:.7rem .85rem;font-size:.95rem}.login-page__input:focus{border-color:var(--color-blue);background:var(--color-surface);box-shadow:0 0 0 3px #0071ce29}.login-page__error{color:var(--color-red);margin:.5rem 0 0;font-size:.85rem}.login-page__submit{background:var(--color-blue);color:#fff;cursor:pointer;border:none;border-radius:8px;margin-top:1rem;padding:.75rem 1rem;font-size:.95rem;font-weight:600}.login-page__submit:hover{background:#005a9e}.login-page__submit:disabled{opacity:.65;cursor:default}.login-page__actions{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}.login-page__actions .login-page__submit{margin-top:0}.login-page__secondary{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);cursor:pointer;border-radius:8px;padding:.75rem 1rem;font-size:.95rem;font-weight:600}.login-page__success{color:#15803d;margin:.5rem 0 0;font-size:.85rem}.create-user{justify-content:center;padding:1.5rem 0 2rem;display:flex}.create-user .login-page__card{max-width:480px}.login-page__hint{color:var(--color-text-muted);margin:1.25rem 0 0;font-size:.75rem;line-height:1.45}.login-page__hint code{background:var(--color-bg);border-radius:4px;padding:.1rem .35rem;font-size:.72rem}
