:root { --ink: #102038; --slate: #637087; --mist: #eef2f6; --brand: #0d887c; --brand-dark: #09675f; --positive: #17845f; --negative: #cf4350; --gold: #c79b42; }
body { background: radial-gradient(circle at 78% 4%,rgba(30,120,137,.08),transparent 28%),#f1f4f8; }
.topbar { border-top: 4px solid var(--gold); background: linear-gradient(110deg,#0d1b2e,#122740); }
.page-shell { max-width: 1440px; }
.hero { padding: 18px 0 8px; }
.hero h1 { font-weight: 720; letter-spacing: -1.8px; }
.demo-notice { display: flex; gap: 12px; align-items: center; margin: 0 0 20px; padding: 12px 16px; border: 1px solid #d8e3ed; border-radius: 10px; background: #f8fafc; color: var(--slate); font-size: 12px; }
.demo-notice strong { color: var(--ink); text-transform: uppercase; letter-spacing: .8px; }
.dashboard-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: stretch; }
.system-card { background: linear-gradient(145deg, #102038, #1a3753); color: #fff; border-radius: 15px; padding: 26px; margin-bottom: 20px; box-shadow: 0 18px 40px rgba(16,29,50,.19); position:relative; overflow:hidden; }
.system-card:after { content:""; position:absolute; width:140px; height:140px; border:1px solid rgba(255,255,255,.08); border-radius:50%; right:-55px; top:-60px; }
.system-card h2 { margin: 7px 0 20px; font-size: 20px; }
.health-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #b8c5d5; font-size: 13px; }
.health-row strong { color: #fff; font-size: 13px; }
.health-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: #4dd7ae; box-shadow: 0 0 10px #4dd7ae; }
.report-link { display: flex; justify-content: space-between; margin-top: 19px; color: #8ee0d4; text-decoration: none; font-weight: 700; font-size: 13px; }
.capture,.capture-placeholder { width: 132px!important; height: 74px!important; border-radius:9px!important; }
.capture { box-shadow:0 5px 14px rgba(16,32,56,.14); }
.capture-placeholder { display: grid; place-items: center; color: #8b9aab; background: linear-gradient(135deg,#e7ecf2,#f5f7fa); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.secondary-action { border: 1px solid #cdd7e2; border-radius: 9px; padding: 12px 17px; color: var(--ink); background: #fff; text-decoration: none; font-weight: 700; font-size: 13px; }
.report-actions{display:flex;gap:10px;align-items:center}.pdf-action{border:0;border-radius:9px;padding:13px 18px;color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-dark));font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(13,136,124,.22)}.pdf-action:before{content:"↓";margin-right:8px}.print-report-header{display:none}
.report-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 20px; }
.report-kpis article { background: linear-gradient(145deg,#fff,#fbfcfd); padding: 22px; border: 1px solid #dfe6ef; border-radius: 14px; box-shadow:0 8px 22px rgba(16,29,50,.045); position:relative; overflow:hidden; }.report-kpis article:after{content:"";position:absolute;left:0;top:0;width:4px;height:100%;background:var(--brand)}
.report-kpis span { display: block; color: #7a8799; font-size: 10px; letter-spacing: 1.1px; font-weight: 800; }
.report-kpis strong { display: block; color: var(--ink); font-size: 30px; margin: 9px 0 3px; }
.report-kpis small { color: #8b98a9; }
.reports-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.report-card { background: #fff; border: 1px solid #dfe6ef; border-radius: 13px; padding: 22px; box-shadow: 0 8px 24px rgba(16,29,50,.05); min-height: 310px; }
.report-card.wide { min-height: 340px; }
.report-heading { display: flex; justify-content: space-between; align-items: start; }
.report-heading h2 { margin: 6px 0 0; color: var(--ink); font-size: 18px; }
.legend { color: #7d8998; font-size: 11px; }
.legend i { display: inline-block; width: 7px; height: 7px; background: #92a3b8; border-radius: 2px; margin: 0 5px 0 10px; }
.legend i.green { background: var(--brand); }
.vertical-chart { height: 250px; display: flex; align-items: end; gap: 12px; padding-top: 36px; }
.bar-column { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 6px; }
.bar-track { height: 185px; width: min(38px,70%); background: #edf1f5; border-radius: 7px 7px 3px 3px; position: relative; overflow: hidden; }
.bar-track i,.bar-track b { position: absolute; bottom: 0; width: 100%; background: #9cabbc; border-radius: 6px 6px 2px 2px; }
.bar-track b { width: 48%; left: 26%; background: var(--brand); }
.bar-column span,.bar-value { color: #7b8899; font-size: 10px; }
.bar-value { color: var(--ink); font-weight: 800; }
.donut-wrap { display: grid; place-items: center; padding: 26px 0 19px; }
.donut { --granted: 50%; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(var(--brand) 0 var(--granted), #e75a64 var(--granted) 100%); display: grid; place-items: center; position: relative; }
.donut:after { content: ""; position: absolute; width: 104px; height: 104px; background: #fff; border-radius: 50%; }
.donut span { z-index: 1; display: flex; flex-direction: column; text-align: center; color: #8995a5; font-size: 10px; text-transform: uppercase; }
.donut strong { color: var(--ink); font-size: 25px; }
.decision-summary { display: flex; justify-content: center; gap: 25px; color: #6d798b; font-size: 11px; }
.decision-summary span { display: grid; grid-template-columns: auto auto; gap: 2px 7px; }
.decision-summary strong { grid-column: 2; color: var(--ink); font-size: 16px; }
.decision-summary i { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); margin-top: 3px; }.decision-summary i.no { background: var(--negative); }
.horizontal-chart { margin-top: 28px; display: grid; gap: 20px; }
.hbar>div { display: flex; justify-content: space-between; color: #56657a; font-size: 12px; }.hbar>div strong { color: var(--ink); }.hbar>i { display: block; height: 8px; background: #edf1f5; border-radius: 10px; margin: 8px 0 5px; overflow: hidden; }.hbar>i b { display: block; height: 100%; background: linear-gradient(90deg,var(--brand),#2ca89c); border-radius: 10px; }.hbar small { color: #99a4b2; }
.hourly-chart { display: grid; gap: 13px; margin-top: 25px; }.hourly-chart>div { display: grid; grid-template-columns: 50px 1fr 28px; gap: 10px; align-items: center; color: #798698; font-size: 10px; }.hourly-chart i { height: 9px; background: #edf1f5; border-radius: 10px; overflow: hidden; }.hourly-chart b { display: block; height: 100%; background: #71869e; border-radius: 10px; }.hourly-chart strong { color: var(--ink); font-size: 11px; text-align: right; }
@media(max-width:1000px){.dashboard-split,.reports-grid{grid-template-columns:1fr}.report-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.demo-notice{align-items:flex-start;flex-direction:column}.report-kpis{grid-template-columns:1fr 1fr;gap:8px}.report-kpis article{padding:15px}.report-kpis strong{font-size:24px}.vertical-chart{gap:5px}.reports-hero .secondary-action{display:inline-block;margin-top:18px}.dashboard-split{display:block}}
@media print{
  @page{size:A4 landscape;margin:12mm}
  body{background:#fff!important;color:#111}.topbar,footer,.reports-hero,.report-actions{display:none!important}.page-shell{max-width:none;padding:0!important}.print-report-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #102038;padding-bottom:12px;margin-bottom:16px}.print-report-header img{width:42px;height:42px;object-fit:contain}.print-report-header div{display:flex;flex-direction:column;text-align:right}.print-report-header strong{font-size:18px;color:#102038}.print-report-header span{font-size:10px;color:#68778a;margin-top:4px}.report-kpis{gap:8px;margin-bottom:10px}.report-kpis article{box-shadow:none;padding:12px}.report-kpis strong{font-size:22px}.reports-grid{grid-template-columns:1.5fr 1fr;gap:9px}.report-card{box-shadow:none;min-height:230px;padding:14px;break-inside:avoid}.report-card.wide{min-height:250px}.vertical-chart{height:180px;padding-top:20px}.bar-track{height:125px}.donut{width:115px;height:115px}.donut:after{width:78px;height:78px}.donut-wrap{padding:14px 0}.horizontal-chart{margin-top:16px;gap:12px}.hourly-chart{margin-top:14px;gap:8px}}
