.reports-page{padding-bottom:0}
.reports-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#102b4e,#173b68);color:#fff;padding:30px 34px;border-radius:18px;margin-bottom:22px;box-shadow:0 12px 30px rgba(15,39,71,.18)}
.reports-hero h1{margin:3px 0 8px;font-size:34px;line-height:1.12;color:#fff!important}
.reports-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.reports-eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:12px!important;font-weight:700;color:#d7b65d!important}
.reports-hero-icon{width:72px;height:72px;flex:0 0 72px;border-radius:18px;background:rgba(255,255,255,.1);display:grid;place-items:center;font-size:30px;color:#d7b65d}
.reports-toolbar{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;background:#fff;padding:18px 20px;border-radius:14px;box-shadow:0 4px 18px rgba(15,39,71,.08);margin-bottom:20px}
.report-control{display:flex;flex-direction:column;gap:6px;min-width:210px}
.report-control label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#64748b}
.report-control select,.report-search input{border:1px solid #dbe2ea;border-radius:9px;padding:10px 12px;background:#fff;color:#172033}
.reports-toolbar-actions{margin-left:auto;display:flex;gap:9px}
.reports-message{margin:0 0 18px;padding:12px 15px;border-radius:10px;background:#fff4d6;color:#6b4c00;border:1px solid #ead28f}

.reports-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.report-kpi{appearance:none;position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:14px;align-items:center;min-height:132px;text-align:left;border:1px solid transparent;background:#fff;border-radius:14px;padding:18px 20px;box-shadow:0 4px 16px rgba(15,39,71,.08);cursor:pointer;transition:.2s transform,.2s border-color,.2s box-shadow;overflow:hidden}
.report-kpi:hover{transform:translateY(-2px);border-color:#d7b65d;box-shadow:0 8px 22px rgba(15,39,71,.12)}
.report-kpi:focus-visible{outline:3px solid rgba(215,182,93,.4);outline-offset:2px}
.report-kpi-icon{grid-row:1/4;display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#eef3f8;color:#173b68;margin:0;font-size:18px}
.report-kpi-label{display:block;min-width:0;color:#64748b;font-size:12px;line-height:1.25;font-weight:750;text-transform:uppercase;letter-spacing:.035em;white-space:normal}
.report-kpi strong{display:block;min-width:0;font-size:30px;line-height:1.05;color:#102b4e;margin:5px 0 3px;overflow-wrap:anywhere}
.report-kpi small{display:block;min-width:0;color:#8a96a8;font-size:12px;line-height:1.3;white-space:normal}

.reports-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-bottom:18px}
.report-card{background:#fff;border-radius:14px;padding:22px;box-shadow:0 4px 18px rgba(15,39,71,.08)}
.report-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.report-card-heading h2{margin:0 0 4px;color:#102b4e;font-size:19px}
.report-card-heading p{margin:0;color:#7b8797;font-size:13px}
.breakdown-list{display:grid;gap:12px}
.breakdown-row{display:grid;grid-template-columns:150px 1fr 44px;align-items:center;gap:12px}
.breakdown-label{font-weight:600;color:#334155}
.breakdown-track{height:10px;background:#edf1f5;border-radius:999px;overflow:hidden}
.breakdown-fill{height:100%;background:linear-gradient(90deg,#b99135,#d8bb70);border-radius:999px}
.breakdown-value{text-align:right;font-weight:700;color:#102b4e}
.attention-summary{display:grid;gap:10px}
.attention-summary a{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#334155;padding:14px;border:1px solid #e5eaf0;border-radius:10px}
.attention-summary a:hover{border-color:#d7b65d;background:#fffcf3}
.attention-summary strong{font-size:20px;color:#102b4e}
.report-table-card{margin-bottom:24px}
.report-table-heading{align-items:center}
.report-search{position:relative;min-width:260px}
.report-search i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8}
.report-search input{width:100%;padding-left:36px}
.report-table-wrap{overflow:auto}
.report-table{width:100%;border-collapse:collapse;min-width:780px}
.report-table th{padding:12px 14px;text-align:left;background:#f7f9fb;color:#526173;font-size:12px;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #dfe6ed}
.report-table td{padding:14px;border-bottom:1px solid #edf1f4;color:#334155}
.report-table tbody tr:hover{background:#fbfcfd}
.report-table a{color:#173b68;font-weight:650;text-decoration:none}
.report-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef3f8;color:#315070;font-size:12px;font-weight:700}
.report-empty,.report-loading{text-align:center;color:#7b8797;padding:26px!important}
.report-status-error{color:#a23636}
.report-status-planned{display:inline-flex;gap:7px;align-items:center;color:#86661d}
.reports-page .footer{margin-top:28px}

@media(max-width:1100px){.reports-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-grid{grid-template-columns:1fr}}
@media(max-width:720px){.reports-kpi-grid{grid-template-columns:1fr}.reports-toolbar-actions{margin-left:0}.reports-hero{padding:24px}.reports-hero-icon{display:none}.report-table-heading{align-items:stretch;flex-direction:column}.report-search{min-width:100%;width:100%}}
@media(max-width:560px){.report-control,.report-search{min-width:100%;width:100%}.reports-toolbar-actions{width:100%}.reports-toolbar-actions button{flex:1}.report-kpi{grid-template-columns:42px minmax(0,1fr);padding:16px}.report-kpi-icon{width:40px;height:40px}}

/* KPI interaction states - keep cards visually consistent after click */
.reports-page button.report-kpi,
.reports-page button.report-kpi:hover,
.reports-page button.report-kpi:focus,
.reports-page button.report-kpi:focus-visible,
.reports-page button.report-kpi:active {
  background: #fff !important;
  color: #172033 !important;
}

.reports-page button.report-kpi:hover {
  transform: translateY(-2px);
  border-color: #d7b65d !important;
  box-shadow: 0 8px 22px rgba(15, 39, 71, .12) !important;
}

.reports-page button.report-kpi:focus,
.reports-page button.report-kpi:focus-visible {
  border-color: #d7b65d !important;
  box-shadow: 0 0 0 3px rgba(215, 182, 93, .20), 0 6px 18px rgba(15, 39, 71, .10) !important;
}

.reports-page button.report-kpi:active {
  transform: translateY(0);
  border-color: #c8a24d !important;
  box-shadow: 0 3px 10px rgba(15, 39, 71, .10) !important;
}

.reports-page button.report-kpi .report-kpi-label { color: #64748b !important; }
.reports-page button.report-kpi strong { color: #102b4e !important; }
.reports-page button.report-kpi small { color: #8a96a8 !important; }


/* Reports v1.2.1 - Executive insights */
.reports-executive-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);gap:18px;margin-bottom:20px}
.reports-card-eyebrow{margin:0 0 4px!important;text-transform:uppercase;letter-spacing:.09em;font-size:11px!important;font-weight:800;color:#b08a2e!important}
.executive-card-heading{align-items:flex-start}
.executive-heading-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:12px;background:#f7f0df;color:#b08a2e;font-size:18px}
.morning-brief-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.morning-brief-item{display:flex;align-items:center;gap:11px;min-height:58px;padding:11px 13px;border:1px solid #e7ebf0;border-radius:11px;background:#fbfcfe;color:#25334a;text-decoration:none;transition:.18s ease}
.morning-brief-item:hover{transform:translateY(-1px);border-color:#d7b65d;background:#fffaf0;box-shadow:0 6px 16px rgba(15,39,71,.08)}
.morning-brief-item-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:9px;background:#edf3fa;color:#173b68}
.morning-brief-item.warning .morning-brief-item-icon{background:#fff3d6;color:#a76f00}
.morning-brief-item.urgent .morning-brief-item-icon{background:#fde9e9;color:#b42318}
.morning-brief-item.positive .morning-brief-item-icon{background:#e9f7ef;color:#18794e}
.morning-brief-item-copy{display:flex;min-width:0;flex-direction:column}
.morning-brief-item-copy strong{font-size:18px;line-height:1.1;color:#102b4e}
.morning-brief-item-copy span{margin-top:3px;font-size:12px;line-height:1.3;color:#64748b}
.health-score-layout{display:flex;align-items:center;gap:20px;margin-top:13px}
.health-score-ring{--health-score:0;position:relative;width:126px;height:126px;flex:0 0 126px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#d7b65d calc(var(--health-score)*1%),#e8edf3 0)}
.health-score-ring::before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}
.health-score-ring>div{position:relative;z-index:1;display:flex;align-items:baseline;gap:3px}
.health-score-ring strong{font-size:34px;line-height:1;color:#102b4e}
.health-score-ring span{font-size:12px;color:#7b8798}
.health-score-copy{min-width:0}
.health-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf3fa;color:#173b68;font-size:12px;font-weight:800}
.health-status.health-good{background:#e9f7ef;color:#18794e}
.health-status.health-watch{background:#fff3d6;color:#8a5b00}
.health-status.health-action{background:#fde9e9;color:#a61b1b}
.health-score-copy p{margin:9px 0;color:#64748b;font-size:13px;line-height:1.45}
.health-score-copy small{color:#8792a2}
.report-kpi small{white-space:normal}
@media(max-width:1050px){.reports-executive-grid{grid-template-columns:1fr}.portfolio-health-card{min-height:auto}}
@media(max-width:680px){.morning-brief-list{grid-template-columns:1fr}.health-score-layout{align-items:flex-start;flex-direction:column}.health-score-ring{width:112px;height:112px;flex-basis:112px}}
