/* Approved Tenuta Virgilio dashboard reference — DESKTOP ONLY.
   Mobile/tablet intentionally keep the previously approved UI. */
@media (min-width:1100px){
:root{--ref-bg:#f8f4ec;--ref-card:#fffdf9;--ref-green:#315b3b;--ref-green-dark:#23452e;--ref-gold:#b88a44;--ref-ink:#101827;--ref-muted:#697386;--ref-line:#e7dfd2;--ref-shadow:0 10px 30px rgba(31,45,35,.055)}
html{background:var(--ref-bg)!important;color:var(--ref-ink)!important;min-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;scroll-behavior:smooth!important}body{background:var(--ref-bg)!important;color:var(--ref-ink)!important;min-height:100vh!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important}.sidebar{position:fixed!important;inset:12px auto 12px 12px!important;width:184px!important;height:calc(100vh - 24px)!important;padding:22px 12px!important;background:rgba(255,253,249,.94)!important;border:1px solid var(--ref-line)!important;border-radius:18px!important;box-shadow:var(--ref-shadow)!important;color:var(--ref-ink)!important;overflow-y:auto!important;overscroll-behavior:contain!important}.sidebar::after{display:none!important}.brand{display:grid!important;justify-items:center!important;text-align:center!important;padding:4px 4px 22px!important;border-bottom:1px solid var(--ref-line)!important}.brand-mark{width:82px!important;height:82px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}.brand-mark img{object-fit:contain!important}.brand strong{max-width:150px!important;color:#273326!important;font-size:14px!important;line-height:1.25!important;letter-spacing:.08em!important;text-transform:uppercase!important}.nav{gap:7px!important;margin-top:18px!important}.nav a{min-height:48px!important;padding:0 12px!important;color:#26302b!important;border:0!important;border-radius:12px!important;font-size:14px!important}.nav a span{display:none!important}.nav a::before{position:static!important;display:inline-flex!important;width:22px!important;height:22px!important;align-items:center!important;justify-content:center!important;color:#6b745f!important;border:0!important;transform:none!important}.nav a.active,.nav a:first-child,.nav a:hover{color:#fff!important;background:linear-gradient(135deg,var(--ref-green),var(--ref-green-dark))!important;box-shadow:0 8px 20px rgba(49,91,59,.18)!important;transform:none!important}.nav a.active::before,.nav a:first-child::before,.nav a:hover::before{color:#fff!important}.app-shell{margin-left:208px!important;width:calc(100vw - 208px)!important;max-width:none!important;min-height:100vh!important;height:auto!important;padding:12px 16px 40px!important;background:transparent!important;overflow:visible!important}.topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;align-items:start!important;min-height:96px!important;margin:0 0 12px!important;padding:16px 18px!important;background:rgba(255,253,249,.92)!important;border:1px solid var(--ref-line)!important;border-radius:16px!important;box-shadow:var(--ref-shadow)!important;overflow:visible!important}.topbar::after{display:none!important}.hero-copy{max-width:none!important}.hero-copy .eyebrow{display:none!important}.topbar h1{margin:0 0 3px!important;color:var(--ref-ink)!important;font-size:0!important;line-height:1!important;text-shadow:none!important}.topbar h1::before{content:"Executive";font-family:Georgia,"Times New Roman",serif;font-size:38px;font-weight:500}.topbar #sourceMeta{display:block!important;margin:0!important;color:var(--ref-muted)!important;font-size:13px!important}.quick-filters{display:grid!important;grid-template-columns:repeat(2,minmax(145px,1fr))!important;width:min(100%,390px)!important;margin-top:10px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.quick-filters span{color:#8a6a3c!important;font-size:9px!important;letter-spacing:.12em!important}.quick-filters select{min-height:38px!important;color:var(--ref-ink)!important;background:#fff!important;border:1px solid var(--ref-line)!important;border-radius:9px!important;font-size:13px!important}.toolbar{display:flex!important;flex-wrap:wrap!important;gap:7px!important;justify-content:flex-end!important;max-width:420px!important}.toolbar button,.auth-logout,.auth-pill{min-height:34px!important;padding:0 12px!important;border-radius:10px!important;font-size:11px!important}.toolbar button{color:#fff!important;background:var(--ref-green)!important;border-color:var(--ref-green)!important}.auth-pill{color:var(--ref-green-dark)!important;background:#f1f5ef!important;border:1px solid #dce7d9!important}.executive-strip{margin:0 0 12px!important}.hero-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.hero-kpi,.kpi,.panel,.chart-panel,.table-wrap,.analysis-operational-panel,.costs-total-card,.cost-split-card,.cost-top-panel,.cost-detail-panel,.lucia-panel{background:var(--ref-card)!important;border:1px solid var(--ref-line)!important;border-radius:15px!important;box-shadow:var(--ref-shadow)!important}.hero-kpi{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;min-height:105px!important;padding:14px 16px!important}.hero-kpi::before,.hero-kpi::after{display:none!important}.hero-kpi i{width:36px!important;height:36px!important;color:var(--ref-green)!important;background:#f0f5ef!important;border:1px solid #dbe6d9!important;font-size:18px!important}.hero-kpi span{color:#4e5a51!important;font-size:9px!important;letter-spacing:.11em!important}.hero-kpi strong{margin:5px 0 4px!important;color:var(--ref-ink)!important;font-size:30px!important;font-weight:500!important}.hero-kpi small{color:var(--ref-muted)!important;font-size:11px!important;min-height:0!important}.hero-detail-pill{min-height:28px!important;margin-top:5px!important;padding:0 9px!important;color:#fff!important;background:var(--ref-green)!important;border:0!important;font-size:10px!important}.section{overflow:visible!important;max-height:none!important;height:auto!important}.section.active{overflow:visible!important;max-height:none!important;height:auto!important;padding:0 2px 22px!important}.section-head{margin-bottom:10px!important}.section-head h2,.panel-head h2{color:var(--ref-ink)!important;font-size:25px!important}.eyebrow{color:#718063!important}.panel,.chart-panel{padding:16px!important}.kpi-grid{gap:10px!important}.kpi{min-height:96px!important;padding:14px!important}.kpi::before{display:none!important}.kpi span{color:#59665d!important;font-size:9px!important;letter-spacing:.1em!important}.kpi strong{margin:8px 0 5px!important;color:var(--ref-ink)!important;font-size:28px!important}.summary-pill{color:#6e5631!important;background:#fbf6eb!important;border-color:#e7d8bd!important}.detail-pill,.inline-action{color:var(--ref-green-dark)!important;background:#f3f7f1!important;border-color:#d7e3d4!important}.detail-pill:hover,.inline-action:hover{background:#eaf2e7!important;border-color:#b9cdb4!important}#executive #kpiGrid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-bottom:12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.manager-insight-title{display:none!important}.manager-insight{display:block!important;min-height:92px!important;padding:14px!important;color:var(--ref-ink)!important;background:var(--ref-card)!important;border:1px solid var(--ref-line)!important;border-radius:14px!important}.manager-insight i{display:none!important}.manager-insight span,.manager-insight small{color:var(--ref-muted)!important}.manager-insight strong{display:block!important;margin:6px 0 4px!important;color:var(--ref-ink)!important;font-family:Georgia,"Times New Roman",serif!important;font-size:27px!important}.executive-detail-actions{padding:8px!important;background:transparent!important;border:0!important}.executive-detail-actions .detail-pill{color:var(--ref-green-dark)!important;background:#f3f7f1!important;border:1px solid #d7e3d4!important}#executive .executive-month-strategy,#executive .revenue-yoy-panel{display:none!important}#executive .split{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(360px,.9fr)!important;gap:12px!important;margin-top:12px!important}#executive .split .panel{min-height:320px!important;padding:16px!important}#monthlyChart.chart,#categoryChart.chart{min-height:250px!important;height:250px!important}#monthlyChart svg{height:250px!important}#categoryChart .donut-chart{grid-template-columns:170px minmax(0,1fr)!important;gap:12px!important;min-height:250px!important;height:250px!important}#categoryChart .donut-visual svg{width:170px!important;height:170px!important}.donut-total strong{color:var(--ref-ink)!important}.donut-legend-row{border-color:#eee7db!important}.donut-legend-row span,.donut-legend-row strong{color:var(--ref-ink)!important}th{color:#fff!important;background:var(--ref-green-dark)!important}tbody tr{background:#fff!important}tbody tr:nth-child(even){background:#fbf8f1!important}tbody tr:hover{background:#f2f6ef!important}.filter-bar{background:var(--ref-card)!important;border-color:var(--ref-line)!important}.cost-segment-toggle button.active,.entry-tabs button.active{background:var(--ref-green)!important}.liquidity-metric.available{background:var(--ref-green-dark)!important;border-color:var(--ref-green-dark)!important}
}
