/* Approved Analyse reference: white working surface, navy typography, blue/green data visuals. */
@media(min-width:721px){body .content:has(>.insights.analysis-workspace){background:#f4f7fb!important;}}
body .content>.insights.analysis-workspace{box-sizing:border-box;width:100%;max-width:none;min-height:calc(100dvh - 90px);margin:0;padding:20px 22px 26px;border:0;border-radius:0;background:#f8fafc!important;box-shadow:none;color:#10284f!important}
body .content .insights.analysis-workspace>.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;margin:0 0 8px;padding:4px 6px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#082856!important}
body .content .insights.analysis-workspace>.page-head>div:first-child{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap}
body .content .insights.analysis-workspace>.page-head h1{margin:0;color:#092653!important;-webkit-text-fill-color:#092653!important;font-size:clamp(28px,2.2vw,38px);line-height:1.1}
body .content .insights.analysis-workspace>.page-head p{margin:0;color:#163c68!important;-webkit-text-fill-color:#163c68!important;font-size:16px;font-weight:500}
body .content .insights.analysis-workspace .insight-actions{display:flex;align-items:center;gap:11px}
body .content .insights.analysis-workspace .analysis-period-label{display:block;font-size:0}
body .content .insights.analysis-workspace .analysis-period-label select{height:44px;min-width:185px;margin:0;padding:0 14px;border:1px solid #cbdcec;border-radius:9px;background:#fff;color:#173962;font-size:14px;font-weight:650}
body .content .insights.analysis-workspace .analysis-export{height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 16px;border:1px solid #0b3358;border-radius:9px;background:#0b3358;color:#fff;font-size:14px;font-weight:750;cursor:pointer}
body .content .insights.analysis-workspace .analysis-export svg{width:18px;height:18px}
body .content .insights.analysis-workspace .analysis-tabs{display:flex;gap:3px;overflow-x:auto;padding:0;margin:0 0 12px;border-bottom:1px solid #dae5f0;scrollbar-width:thin}
body .content .insights.analysis-workspace .analysis-tab{flex:none;min-height:40px;padding:9px 15px;border:1px solid #e2e9f2;border-bottom:0;border-radius:6px 6px 0 0;background:#f2f6fa;color:#173964;font:650 13px Manrope,sans-serif;cursor:pointer}
body .content .insights.analysis-workspace .analysis-tab.selected{position:relative;background:#fff;color:#092b59;font-weight:850}
body .content .insights.analysis-workspace .analysis-tab.selected:after{position:absolute;bottom:0;left:0;right:0;height:2px;background:#0d4c9d;content:""}
body .content .insights.analysis-workspace button:focus-visible{outline:3px solid #1b80e4;outline-offset:2px}body .content .insights.analysis-workspace select:focus-visible{outline:3px solid #1b80e4;outline-offset:2px}
body .content .insights.analysis-workspace .analysis-pane[hidden]{display:none!important}
body .content .insights.analysis-workspace .analysis-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:11px}
body .content .insights.analysis-workspace .analysis-metric{position:relative;min-height:100px;padding:15px 17px;border:1px solid #d7e4f0;border-radius:10px;background:#fff;box-shadow:0 2px 6px #12345408;color:#0b2b59}
body .content .insights.analysis-workspace .analysis-metric-heading{display:flex;align-items:center;gap:11px;color:#0a2b5f;font-size:13px;font-weight:800}
body .content .insights.analysis-workspace .analysis-metric-heading svg{width:27px;height:27px;flex:none}
body .content .insights.analysis-workspace .analysis-metric-value{margin:7px 0 2px 38px;color:#09275a;font-size:clamp(23px,2vw,31px);font-weight:850;line-height:1.1}
body .content .insights.analysis-workspace .analysis-metric small{display:block;margin-left:38px;color:#385579;font-size:12px;line-height:1.35}
body .content .insights.analysis-workspace .analysis-metric em{position:absolute;right:15px;top:51px;color:#129d66;font-size:12px;font-style:normal;font-weight:800}
body .content .insights.analysis-workspace .analysis-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
body .content .insights.analysis-workspace .analysis-card{min-width:0;min-height:205px;padding:13px 14px 12px;border:1px solid #d8e5f1;border-radius:10px;background:#fff;box-shadow:0 2px 8px #17365508;color:#142e55}
body .content .insights.analysis-workspace .analysis-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
body .content .insights.analysis-workspace .analysis-card h2{margin:0;color:#102f60!important;-webkit-text-fill-color:#102f60!important;font-size:15px;font-weight:850;line-height:1.3}
body .content .insights.analysis-workspace .analysis-card>header button{padding:4px;border:0;background:none;color:#0d6ad0;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
body .content .insights.analysis-workspace .analysis-card-tag{display:inline-block;padding:6px 8px;border:1px solid #d6e3f0;border-radius:7px;background:#fbfdff;color:#315270;font-size:11px;white-space:nowrap}
body .content .insights.analysis-workspace .analysis-svg{display:block;width:100%;height:auto;min-height:150px;max-height:220px;color:#546987}
body .content .insights.analysis-workspace .analysis-svg text{fill:#46617e;font-size:11px;font-family:Manrope,Arial,sans-serif}
body .content .insights.analysis-workspace .analysis-chart-note{display:block;margin:8px 0 0;color:#57708c!important;-webkit-text-fill-color:#57708c!important;font-size:11px;line-height:1.4}
body .content .insights.analysis-workspace .analysis-no-data{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:12px;border:1px dashed #ccdbe8;border-radius:8px;background:repeating-linear-gradient(0deg,#fff,#fff 35px,#f1f5f9 36px);text-align:center}
body .content .insights.analysis-workspace .analysis-no-data strong{color:#21466d!important;font-size:14px}
body .content .insights.analysis-workspace .analysis-no-data span{max-width:250px;color:#5a7188;font-size:12px;line-height:1.4}
body .content .insights.analysis-workspace .analysis-legend{display:flex;justify-content:center;gap:16px;margin-top:4px;color:#284b71;font-size:12px}
body .content .insights.analysis-workspace .analysis-legend span{display:flex;align-items:center;gap:5px}
body .content .insights.analysis-workspace .analysis-legend i{display:inline-block;width:11px;height:11px;border-radius:50%}body .content .insights.analysis-workspace .analysis-donut-legend i{display:inline-block;width:11px;height:11px;border-radius:50%}
body .content .insights.analysis-workspace .analysis-donut-layout{display:grid;grid-template-columns:minmax(100px,44%) 1fr;align-items:center;gap:13px;min-height:175px}
body .content .insights.analysis-workspace .analysis-donut{display:grid;place-items:center;width:min(170px,100%);aspect-ratio:1;border-radius:50%}
body .content .insights.analysis-workspace .analysis-donut>div{display:flex;flex-direction:column;align-items:center;justify-content:center;width:63%;height:63%;border-radius:50%;background:#fff;text-align:center}
body .content .insights.analysis-workspace .analysis-donut strong{color:#09295d!important;font-size:26px;line-height:1.05}
body .content .insights.analysis-workspace .analysis-donut small{color:#45617b;font-size:11px}
body .content .insights.analysis-workspace .analysis-donut-legend{display:grid;gap:9px}
body .content .insights.analysis-workspace .analysis-donut-legend>div{display:grid;grid-template-columns:11px minmax(0,1fr) auto;align-items:center;gap:7px;font-size:11px;color:#305178}
body .content .insights.analysis-workspace .analysis-donut-legend strong{color:#183e6a!important;font-size:11px;white-space:nowrap}
body .content .insights.analysis-workspace .analysis-property-bars{display:grid;gap:10px;margin-top:14px}
body .content .insights.analysis-workspace .analysis-property-bars>div{display:grid;grid-template-columns:minmax(88px,1fr) minmax(55px,1.25fr) 38px;align-items:center;gap:8px;font-size:12px;color:#264b70}
body .content .insights.analysis-workspace .analysis-property-bars meter{width:100%;height:14px;accent-color:#20af78}
body .content .insights.analysis-workspace .analysis-property-bars strong{color:#1e4367!important;font-size:12px;text-align:right}
body .content .insights.analysis-workspace .analysis-activity{display:grid}body .content .insights.analysis-workspace .analysis-deadlines{display:grid}body .content .insights.analysis-workspace .analysis-recommendations{display:grid}
body .content .insights.analysis-workspace .analysis-activity button{display:flex;align-items:center;gap:9px;width:100%;min-height:34px;padding:4px 2px;border:0;border-bottom:1px solid #e7edf4;background:transparent;color:#284b75;text-align:left;cursor:pointer}body .content .insights.analysis-workspace .analysis-deadlines button{display:flex;align-items:center;gap:9px;width:100%;min-height:34px;padding:4px 2px;border:0;border-bottom:1px solid #e7edf4;background:transparent;color:#284b75;text-align:left;cursor:pointer}
body .content .insights.analysis-workspace .analysis-activity svg{width:18px;height:18px;flex:none;color:#103f85}body .content .insights.analysis-workspace .analysis-deadlines svg{width:18px;height:18px;flex:none;color:#103f85}
body .content .insights.analysis-workspace .analysis-activity span{flex:1;font-size:12px}
body .content .insights.analysis-workspace .analysis-activity strong{color:#138d5e!important;font-size:12px}
body .content .insights.analysis-workspace .analysis-deadlines button>span{display:flex;flex:1;flex-direction:column;min-width:0}
body .content .insights.analysis-workspace .analysis-deadlines button>span strong{overflow:hidden;color:#264771!important;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
body .content .insights.analysis-workspace .analysis-deadlines button>span small{color:#617a94;font-size:10px}
body .content .insights.analysis-workspace .analysis-deadlines time{color:#426484;font-size:10px;white-space:nowrap}
body .content .insights.analysis-workspace .analysis-deadlines b{min-width:45px;padding:5px;border-radius:15px;background:#e4f2e8;color:#198057;font-size:10px;text-align:center;white-space:nowrap}
body .content .insights.analysis-workspace .analysis-deadlines b.soon{background:#fff0d3;color:#956a13}
body .content .insights.analysis-workspace .analysis-deadlines b.late{background:#ffe4e5;color:#b43a3f}
body .content .insights.analysis-workspace .analysis-recommendations>div{display:flex;align-items:center;gap:9px;min-height:48px;padding:6px 0;border-bottom:1px solid #e8eef4}
body .content .insights.analysis-workspace .analysis-recommendations>div>span{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:50%;background:#e4f5ec;color:#159c65}
body .content .insights.analysis-workspace .analysis-recommendations p{margin:0;color:#264b72!important;-webkit-text-fill-color:#264b72!important;font-size:11px;line-height:1.35}
body .content .insights.analysis-workspace .analysis-report-actions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}
body .content .insights.analysis-workspace .analysis-pane>.occupancy-panel{margin-top:15px}body .content .insights.analysis-workspace .analysis-pane>.insight-kpis{margin-top:15px}body .content .insights.analysis-workspace .analysis-pane>.insight-section{margin-top:15px}body .content .insights.analysis-workspace .analysis-pane>.field-insight{margin-top:15px}
body .content .insights.analysis-workspace .analysis-pane .analysis-card+ .analysis-card{margin-top:12px}
body .content .insights.analysis-workspace .analysis-pane>.insight-section{background:#fff!important;border:1px solid #d8e5f1!important;color:#17385f!important;box-shadow:none!important}body .content .insights.analysis-workspace .analysis-pane>.field-insight{background:#fff!important;border:1px solid #d8e5f1!important;color:#17385f!important;box-shadow:none!important}body .content .insights.analysis-workspace .analysis-pane>.occupancy-panel{background:#fff!important;border:1px solid #d8e5f1!important;color:#17385f!important;box-shadow:none!important}body .content .insights.analysis-workspace .analysis-pane .insight-kpi{background:#fff!important;border:1px solid #d8e5f1!important;color:#17385f!important;box-shadow:none!important}
body .content .insights.analysis-workspace .analysis-pane>.insight-section h2{color:#102f60!important;-webkit-text-fill-color:#102f60!important}body .content .insights.analysis-workspace .analysis-pane>.insight-section strong{color:#102f60!important;-webkit-text-fill-color:#102f60!important}body .content .insights.analysis-workspace .analysis-pane>.occupancy-panel h2{color:#102f60!important;-webkit-text-fill-color:#102f60!important}body .content .insights.analysis-workspace .analysis-pane .insight-kpi strong{color:#102f60!important;-webkit-text-fill-color:#102f60!important}
body .content .insights.analysis-workspace .analysis-pane>.insight-section p{color:#345879!important;-webkit-text-fill-color:#345879!important}body .content .insights.analysis-workspace .analysis-pane>.insight-section li{color:#345879!important;-webkit-text-fill-color:#345879!important}body .content .insights.analysis-workspace .analysis-pane>.insight-section td{color:#345879!important;-webkit-text-fill-color:#345879!important}body .content .insights.analysis-workspace .analysis-pane>.insight-section th{color:#345879!important;-webkit-text-fill-color:#345879!important}body .content .insights.analysis-workspace .analysis-pane>.occupancy-panel p{color:#345879!important;-webkit-text-fill-color:#345879!important}
body .content .insights.analysis-workspace .analysis-pane .insight-kpi p{color:#345879!important}body .content .insights.analysis-workspace .analysis-pane .insight-kpi>span{color:#345879!important}
body .content .insights.analysis-workspace .analysis-pane .insight-kpi small{color:#23669a!important}
body .content .insights.analysis-workspace .analysis-source{color:#4c6986!important;font-size:13px;line-height:1.5}
@media(max-width:1120px){body .content .insights.analysis-workspace .analysis-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}body .content .insights.analysis-workspace .analysis-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){body .content .insights.analysis-workspace>.page-head{align-items:flex-start;flex-direction:column}body .content .insights.analysis-workspace .analysis-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body .content .insights.analysis-workspace .analysis-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:720px){body.field-mode .content:has(>.insights.analysis-workspace){padding-left:0 !important;padding-right:0 !important;}body .content>.insights.analysis-workspace{padding:15px 14px 25px!important;min-height:calc(100dvh - 80px)}body .content .insights.analysis-workspace>.page-head{min-height:0;margin:0 0 12px!important;padding:12px 0 6px!important}body .content .insights.analysis-workspace>.page-head>div:first-child{display:block}body .content .insights.analysis-workspace>.page-head h1{font-size:32px}body .content .insights.analysis-workspace>.page-head p{margin-top:4px;font-size:15px}body .content .insights.analysis-workspace .insight-actions{width:100%;display:grid;grid-template-columns:1fr auto}body .content .insights.analysis-workspace .analysis-period-label select{width:100%;min-width:0}body .content .insights.analysis-workspace .analysis-export{padding:0 10px;font-size:12px}body .content .insights.analysis-workspace .analysis-tab{min-height:44px;font-size:13px}body .content .insights.analysis-workspace .analysis-metric{min-height:105px;padding:13px}body .content .insights.analysis-workspace .analysis-metric-heading{gap:6px;font-size:12px}body .content .insights.analysis-workspace .analysis-metric-heading svg{width:22px;height:22px}body .content .insights.analysis-workspace .analysis-metric-value{margin-left:28px;font-size:24px}body .content .insights.analysis-workspace .analysis-metric small{margin-left:28px;font-size:11px}body .content .insights.analysis-workspace .analysis-card{min-height:205px;padding:13px}body .content .insights.analysis-workspace .analysis-card h2{font-size:16px}body .content .insights.analysis-workspace .analysis-donut-layout{grid-template-columns:minmax(110px,42%) 1fr}body .content .insights.analysis-workspace .analysis-deadlines button{min-height:44px}body .content .insights.analysis-workspace .analysis-activity button{min-height:44px}}
@media print{@media(min-width:721px){body .content:has(>.insights.analysis-workspace){background:#fff!important;}}body .content>.insights.analysis-workspace{padding:0!important;background:#fff!important}body .content .insights.analysis-workspace .analysis-tabs{display:none!important}body .content .insights.analysis-workspace .insight-actions{display:none!important}body .content .insights.analysis-workspace .analysis-report-actions{display:none!important}body .content .insights.analysis-workspace .analysis-pane[hidden]{display:none!important}body .content .insights.analysis-workspace .analysis-card{break-inside:avoid;border-color:#cbd8e4!important;box-shadow:none!important}}

/* Keep the reference layout, with type that remains readable on a regular laptop and phone. */
body .content .insights.analysis-workspace{font-size:16px;line-height:1.5}
body .content .insights.analysis-workspace .analysis-tab{font-size:15px;min-height:46px}
body .content .insights.analysis-workspace .analysis-period-label select{font-size:15px}body .content .insights.analysis-workspace .analysis-export{font-size:15px}
body .content .insights.analysis-workspace .analysis-metric-heading{font-size:15px}
body .content .insights.analysis-workspace .analysis-metric small{font-size:14px}body .content .insights.analysis-workspace .analysis-metric em{font-size:14px}
body .content .insights.analysis-workspace .analysis-card{padding:17px 18px}
body .content .insights.analysis-workspace .analysis-card h2{font-size:18px}
body .content .insights.analysis-workspace .analysis-card>header button{font-size:14px}body .content .insights.analysis-workspace .analysis-card-tag{font-size:14px}body .content .insights.analysis-workspace .analysis-chart-note{font-size:14px}body .content .insights.analysis-workspace .analysis-no-data span{font-size:14px}body .content .insights.analysis-workspace .analysis-legend{font-size:14px}body .content .insights.analysis-workspace .analysis-donut small{font-size:14px}body .content .insights.analysis-workspace .analysis-donut-legend>div{font-size:14px}body .content .insights.analysis-workspace .analysis-donut-legend strong{font-size:14px}body .content .insights.analysis-workspace .analysis-property-bars>div{font-size:14px}body .content .insights.analysis-workspace .analysis-property-bars strong{font-size:14px}body .content .insights.analysis-workspace .analysis-activity span{font-size:14px}body .content .insights.analysis-workspace .analysis-activity strong{font-size:14px}body .content .insights.analysis-workspace .analysis-deadlines button>span strong{font-size:14px}body .content .insights.analysis-workspace .analysis-deadlines button>span small{font-size:14px}body .content .insights.analysis-workspace .analysis-deadlines time{font-size:14px}body .content .insights.analysis-workspace .analysis-deadlines b{font-size:14px}body .content .insights.analysis-workspace .analysis-recommendations p{font-size:14px}
body .content .insights.analysis-workspace .analysis-svg text{font-size:17px}
body .content .insights.analysis-workspace .analysis-activity button{min-height:44px}body .content .insights.analysis-workspace .analysis-deadlines button{min-height:44px}
body .content .insights.analysis-workspace .analysis-donut-layout{grid-template-columns:minmax(110px,40%) 1fr}
body .content .insights.analysis-workspace .analysis-donut-legend>div{grid-template-columns:11px minmax(0,1fr);gap:5px 8px}
body .content .insights.analysis-workspace .analysis-donut-legend strong{grid-column:2;white-space:normal}
body .content .insights.analysis-workspace .analysis-property-bars>div{grid-template-columns:minmax(90px,1fr) minmax(55px,1.1fr) 46px}
@media(max-width:720px){
 body .content .insights.analysis-workspace .analysis-tab{font-size:15px;min-height:48px}
 body .content .insights.analysis-workspace .analysis-export{font-size:14px;min-height:48px}
 body .content .insights.analysis-workspace .analysis-metric-heading{font-size:14px}
 body .content .insights.analysis-workspace .analysis-metric small{font-size:13px}
 body .content .insights.analysis-workspace .analysis-card{padding:16px}
 body .content .insights.analysis-workspace .analysis-card h2{font-size:18px}
 body .content .insights.analysis-workspace .analysis-svg{min-width:510px}
 body .content .insights.analysis-workspace .analysis-card:has(.analysis-svg){overflow-x:auto}
}
/* The task modal has a global print rule. Restore the analysis page for PDF export. */
@media print{
 body:has(.analysis-workspace)>.app-shell{display:block!important}
 body:has(.analysis-workspace)>.app-shell main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding-left:0 !important;padding-right:0 !important;}@media(min-width:721px){body:has(.analysis-workspace)>.app-shell main{padding:0!important;}}body:has(.analysis-workspace)>.app-shell .content{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding-left:0 !important;padding-right:0 !important;}@media(min-width:721px){body:has(.analysis-workspace)>.app-shell .content{padding:0!important;}}
 body:has(.analysis-workspace) .sidebar{display:none!important}@media(min-width:721px){body:has(.analysis-workspace) .topbar{display:none!important;}}body:has(.analysis-workspace) .bottom-nav{display:none!important}body:has(.analysis-workspace) .welcome-screen{display:none!important}body:has(.analysis-workspace) .demo-ribbon{display:none!important}
 body:has(.analysis-workspace) .analysis-workspace{display:block!important}
 body:has(.analysis-workspace) .analysis-workspace .analysis-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:has(.analysis-workspace) .analysis-workspace .analysis-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body:has(.analysis-workspace) .analysis-workspace .analysis-card:has(.analysis-svg){overflow:visible}
 body:has(.analysis-workspace) .analysis-workspace .analysis-svg{min-width:0}
}
