:root { --ink:#283440; --muted:#627180; --line:#d8e0e7; --blue:#1260c4; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:72px; }
body { margin:0; background:#f4f6f9; color:var(--ink); font-family:Arial,Helvetica,sans-serif; letter-spacing:0; }
.lucide { width:19px; height:19px; flex-shrink:0; }
a { color:var(--blue); }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:3px solid #d99316; outline-offset:3px; }
.preview-header { display:flex; align-items:center; gap:26px; min-height:62px; padding:12px 24px; background:white; border-bottom:1px solid var(--line); }
.preview-brand { display:flex; align-items:center; gap:9px; font-size:20px; font-weight:700; color:var(--ink); text-decoration:none; }
.preview-brand img { border-radius:5px; }
.preview-customer { font-size:13px; background:#f0f4f9; padding:7px 12px; border-radius:5px; }
.preview-header-end { margin-left:auto; display:flex; gap:18px; align-items:center; }
.icon-link { display:grid; place-items:center; width:34px; height:34px; border:1px solid var(--line); border-radius:5px; }
.sample-tag { display:inline-block; color:#5d6570; background:#edf0f4; padding:5px 8px; border-radius:4px; font-size:11px; font-weight:600; white-space:nowrap; }
.preview-shell { display:grid; grid-template-columns:66px minmax(0,1fr); }
.preview-rail { display:flex; flex-direction:column; align-items:center; gap:18px; padding-top:24px; background:#fff; border-right:1px solid var(--line); }
.preview-rail a { color:#647282; padding:9px; border-radius:5px; }
.preview-rail a:first-child { background:#e9f1fc; color:var(--blue); }
.site-workspace { max-width:1580px; width:100%; margin:auto; padding:23px 26px; min-width:0; }
.site-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:12px; }
.site-heading p { font-size:10px; color:var(--muted); margin:0 0 5px; font-weight:700; }
h1 { font-size:27px; font-weight:700; margin:0; }
.site-heading-tools { display:flex; align-items:center; gap:14px; }
.site-heading-tools .btn { font-size:12px; padding:7px 12px; }
.preview-disclosure { font-size:12px; color:#687681; margin:0 0 18px; }
.overview-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,2fr); gap:16px; }
.overview-panel,.system-panel,.environment-metric,.network-item { background:#fff; border:1px solid var(--line); border-radius:6px; min-width:0; }
.panel-title { display:flex; align-items:center; gap:9px; border-bottom:1px solid var(--line); padding:12px 15px; background:#fafdff; }
.panel-title h2,.panel-title h3 { font-size:15px; font-weight:700; margin:0; }
.panel-title .lucide { color:#477396; width:18px; height:18px; }
.planned-label { margin-left:auto; font-size:10px; font-weight:600; color:#80600f; background:#fff4d9; padding:3px 6px; border-radius:3px; }
.panel-body { padding:15px; }
.site-info-list { display:grid; grid-template-columns:90px 1fr; gap:11px; font-size:13px; margin:0; }
.site-info-list dt { color:var(--muted); font-weight:400; }
.site-info-list dd { margin:0; font-weight:600; }
.state-good { color:#15704c; }
.weather-body { display:grid; grid-template-columns:170px minmax(0,1fr); gap:20px; align-items:center; padding:16px; }
.weather-current { border-right:1px solid var(--line); padding-right:15px; }
.weather-current .lucide { width:32px; height:32px; color:#d49615; margin-right:10px; }
.weather-current strong { font-size:35px; line-height:1.1; }
.weather-current p { font-size:12px; color:var(--muted); margin:8px 0 0; }
.forecast-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.forecast-day { text-align:center; font-size:12px; }
.forecast-day .lucide { display:block; width:23px; height:23px; color:#aa801b; margin:10px auto; }
.forecast-day strong { font-size:15px; }
.forecast-day small { display:block; font-size:11px; color:var(--muted); margin-top:5px; }
.reading-section { margin-top:20px; }
.section-title { display:flex; align-items:center; gap:9px; margin-bottom:12px; }
.section-title h2 { font-size:17px; font-weight:700; margin:0; }
.section-title .lucide { color:#657788; }
.environment-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.environment-metric { padding:14px 16px; }
.metric-label { font-size:12px; color:var(--muted); margin:0 0 7px; }
.metric-value { font-size:28px; font-weight:700; line-height:1.1; color:var(--ink); }
.metric-value small { font-size:13px; font-weight:400; margin-left:5px; color:var(--muted); }
.metric-detail { font-size:11px; color:var(--muted); margin-top:7px; }
.door-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:10px; }
.door-reading { display:flex; align-items:center; justify-content:space-between; gap:9px; border-left:3px solid #7ba491; padding:9px 12px; background:#edf5f1; font-size:12px; }
.door-reading strong { font-size:11px; color:#236348; }
.system-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start; }
.system-panel { overflow:hidden; }
.system-panel.wide { grid-column:span 2; }
.metrics-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:14px; }
.metrics-row.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.metrics-row .metric-value { font-size:24px; }
.metrics-row .metric-label { font-size:11px; }
.gauge-layout { display:grid; grid-template-columns:155px minmax(0,1fr); gap:12px; align-items:center; }
.gauge-box { height:124px; position:relative; }
.gauge-box canvas { width:100%!important; height:100%!important; }
.gauge-value { position:absolute; left:0; right:0; bottom:10px; text-align:center; pointer-events:none; }
.gauge-value strong { font-size:25px; display:block; line-height:1; }
.gauge-value span { font-size:11px; color:var(--muted); }
.compact-list { padding:0; margin:0; list-style:none; }
.compact-list li { display:flex; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid #edf1f4; font-size:12px; }
.compact-list strong { text-align:right; }
.chart-box { position:relative; height:138px; margin-top:13px; }
.chart-box canvas { width:100%!important; height:100%!important; }
.chart-heading { font-size:11px; color:var(--muted); margin-top:10px; }
.sample-table { margin-top:10px; font-size:11px; color:var(--muted); }
.sample-table summary { cursor:pointer; padding:5px 0; }
.sample-table table { width:100%; margin-top:8px; }
.sample-table th,.sample-table td { text-align:left; border-bottom:1px solid var(--line); padding:5px; }
.network-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.network-item { display:flex; align-items:center; gap:13px; padding:14px; }
.network-item .lucide { color:#27785b; width:23px; height:23px; }
.network-item strong { display:block; font-size:13px; }
.network-item small { display:block; color:var(--muted); font-size:11px; margin-top:4px; }
.preview-footer { font-size:11px; color:var(--muted); padding:25px 0 5px; }
@media(max-width:1150px) { .system-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .system-panel.wide { grid-column:auto; } .weather-body { grid-template-columns:135px minmax(0,1fr); gap:14px; } .weather-current strong { font-size:28px; } .weather-current .lucide { width:25px; margin-right:5px; } .site-workspace { padding:20px; } .metrics-row .metric-value { font-size:21px; } }
@media(max-width:800px) { .preview-customer { display:none; } .overview-grid { grid-template-columns:1fr; } .preview-shell { grid-template-columns:1fr; } .preview-rail { display:none; } .environment-grid,.door-strip,.network-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .site-heading { align-items:flex-start; } .site-heading-tools { flex-direction:column; align-items:flex-end; gap:7px; } .gauge-layout { grid-template-columns:130px minmax(0,1fr); } .site-workspace { padding:18px; } }
@media(max-width:580px) { .preview-header { gap:12px; padding:10px 12px; } .preview-brand { font-size:18px; } .preview-header-end { gap:10px; } .preview-header-end .sample-tag { display:none; } .site-workspace { padding:18px 12px; } h1 { font-size:23px; } .site-heading { flex-direction:column; gap:12px; } .site-heading-tools { flex-direction:row; align-items:center; justify-content:space-between; width:100%; } .system-grid { grid-template-columns:1fr; } .weather-body { grid-template-columns:1fr; } .weather-current { display:flex; flex-wrap:wrap; align-items:center; border-right:0; gap:8px; border-bottom:1px solid var(--line); padding:0 0 13px; } .weather-current p { margin:0; } .forecast-grid { gap:4px; } .forecast-day { font-size:11px; } .environment-metric { padding:12px; } .metric-value { font-size:25px; } .door-strip { gap:8px; } .door-reading { padding:9px 7px; font-size:11px; } .network-item { padding:12px; gap:8px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; animation:none!important; } }
