.insurance-performance-report{--report-ink:#132b45;--report-muted:#64748b;--report-line:#dbe4ec;--report-soft:#f6f9fc;display:grid;gap:1rem;min-width:0;color:var(--report-ink)}
.performance-report-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem 1.5rem;padding:1.2rem 1.35rem;border:1px solid var(--report-line);border-radius:.8rem;background:#fff;box-shadow:0 2px 9px rgba(15,39,65,.04)}
.performance-heading h1{margin:.18rem 0 .2rem;font-size:clamp(1.55rem,2.4vw,2.15rem);font-weight:750;letter-spacing:-.035em}.performance-heading>p:last-child{margin:0;color:var(--report-muted)}.performance-eyebrow,.performance-section-kicker{margin:0;color:var(--brand-primary,#1769aa);font-size:.69rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.performance-breadcrumb{margin-bottom:.7rem;color:var(--report-muted);font-size:.72rem}.performance-breadcrumb span{padding:0 .32rem;color:#a4b1bf}
.performance-actions{display:flex;align-items:flex-start;gap:.5rem}.performance-actions .btn{white-space:nowrap}.performance-period-meta{grid-column:1/-1;display:flex;gap:0;margin:0;padding-top:.8rem;border-top:1px solid var(--report-line)}.performance-period-meta div{padding:0 1.4rem;border-right:1px solid var(--report-line)}.performance-period-meta div:first-child{padding-left:0}.performance-period-meta div:last-child{border:0}.performance-period-meta dt{color:var(--report-muted);font-size:.67rem;font-weight:650;text-transform:uppercase}.performance-period-meta dd{margin:.16rem 0 0;font-size:.79rem;font-weight:700}
.performance-integrity{display:flex;gap:.75rem;padding:.85rem 1rem;border:1px solid #ead9a2;border-radius:.65rem;background:#fffaf0;color:#654f13}.performance-integrity i{font-size:1.15rem}.performance-integrity p{margin:.15rem 0 0;font-size:.78rem}
.performance-toolbar{position:relative;display:flex;align-items:end;gap:.6rem;padding:.75rem;border:1px solid var(--report-line);border-radius:.7rem;background:#fff}.performance-search{position:relative;flex:1 1 380px}.performance-search>i{position:absolute;top:50%;left:.8rem;transform:translateY(-50%);color:#718096}.performance-search input{padding-left:2.35rem}.performance-month{flex:0 0 170px}.performance-month label{display:block;margin-bottom:.2rem;color:var(--report-muted);font-size:.68rem;font-weight:700}.performance-filter-menu{position:relative}.performance-filter-menu summary{list-style:none;white-space:nowrap}.performance-filter-menu summary::-webkit-details-marker{display:none}.performance-filter-panel{position:absolute;z-index:30;top:calc(100% + .55rem);right:0;width:min(760px,calc(100vw - 3rem));padding:1rem;border:1px solid var(--report-line);border-radius:.75rem;background:#fff;box-shadow:0 16px 36px rgba(15,39,65,.16)}.performance-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.performance-filter-grid label{font-size:.72rem;font-weight:650}.performance-filter-grid .form-control,.performance-filter-grid .form-select{margin-top:.25rem}.performance-clear{align-self:center;white-space:nowrap;font-size:.76rem}.performance-filter-chips{flex-basis:100%;display:flex;flex-wrap:wrap;gap:.4rem}.performance-filter-chips a{padding:.32rem .52rem;border:1px solid #d8e2ec;border-radius:999px;background:#f5f8fb;color:#41546a;font-size:.7rem;text-decoration:none}.performance-filter-chips span{font-weight:700}.performance-filter-chips b{margin-left:.2rem}.performance-toolbar:has(.performance-filter-chips){flex-wrap:wrap}
.performance-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.performance-kpi{position:relative;display:flex;min-height:142px;min-width:0;flex-direction:column;padding:1rem 1rem .85rem;border:1px solid var(--report-line);border-radius:.72rem;background:#fff;box-shadow:0 2px 8px rgba(15,39,65,.035)}.performance-kpi>i{position:absolute;top:1rem;right:1rem;display:grid;width:2rem;height:2rem;place-items:center;border-radius:.5rem;background:#edf5fb;color:var(--brand-primary,#1769aa)}.performance-kpi>span{max-width:75%;color:var(--report-muted);font-size:.72rem;font-weight:650}.performance-kpi>strong{margin:.45rem 0 .25rem;padding-right:1.8rem;font-size:clamp(1.12rem,1.8vw,1.55rem);line-height:1.12;overflow-wrap:anywhere}.performance-kpi small{color:var(--report-muted);font-size:.69rem}.performance-kpi a{margin-top:auto;padding-top:.55rem;font-size:.69rem;font-weight:700;text-decoration:none}.trend-up{color:#226b49!important}.trend-down{color:#9a433c!important}.trend-neutral{color:var(--report-muted)!important}
.performance-insights{display:grid;grid-template-columns:210px 1fr;gap:1rem;padding:1rem 1.15rem;border-left:3px solid var(--brand-accent,#0f9f8f);border-radius:.65rem;background:#edf8f7}.performance-insights h2{margin:.15rem 0 0;font-size:1rem}.performance-insights ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1.2rem;margin:0;padding:0;list-style:none}.performance-insights li{display:flex;gap:.45rem;font-size:.76rem}.performance-insights i{color:#277b70}
.performance-panel{min-width:0;border:1px solid var(--report-line);border-radius:.75rem;background:#fff;box-shadow:0 2px 8px rgba(15,39,65,.035);overflow:hidden}.performance-panel>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border-bottom:1px solid var(--report-line)}.performance-panel h2{margin:.12rem 0 0;font-size:1rem}.performance-panel>header>p,.performance-panel>header>span,.performance-panel>header>strong{margin:0;color:var(--report-muted);font-size:.7rem}.trend-chart{display:grid;grid-template-columns:repeat(6,minmax(68px,1fr));gap:.75rem;height:220px;padding:1rem 1rem .85rem;overflow-x:auto}.trend-column{display:grid;grid-template-rows:auto 1fr auto auto;gap:.25rem;min-width:68px;text-align:center}.trend-value{font-size:.72rem;font-weight:750}.trend-track{position:relative;min-height:100px;border-radius:.35rem .35rem 0 0;background:linear-gradient(to top,#f2f6fa 1px,transparent 1px);background-size:100% 25%}.trend-track span{position:absolute;right:18%;bottom:0;left:18%;min-height:3px;border-radius:.35rem .35rem 0 0;background:var(--brand-primary,#1769aa)}.trend-column strong{font-size:.72rem}.trend-column small{color:var(--report-muted);font-size:.61rem;white-space:nowrap}
.performance-visual-grid,.performance-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.performance-bars,.frequency-bars{display:grid;gap:.8rem;padding:1rem}.performance-bar-row{display:grid;grid-template-columns:minmax(125px,1.3fr) minmax(80px,2fr) 34px 42px;align-items:center;gap:.55rem;color:inherit;font-size:.72rem;text-decoration:none}.performance-bar-row:hover{color:inherit}.performance-bar-row>strong,.performance-bar-row>small{text-align:right}.bar-track{display:block;height:.48rem;border-radius:99px;background:#e9eff4;overflow:hidden}.bar-fill{display:block;height:100%;border-radius:inherit;background:var(--brand-primary,#1769aa)}.status-pill{display:inline-flex;width:max-content;max-width:100%;padding:.25rem .48rem;border-radius:999px;font-size:.65rem;font-weight:700}.status-positive{background:#e8f5ef;color:#266747}.status-warning{background:#fff4d8;color:#775b13}.status-negative{background:#faecea;color:#8b3d37}.status-neutral{background:#edf2f7;color:#526273}.bar-fill.status-positive{background:#4b9471}.bar-fill.status-warning{background:#c79b37}.bar-fill.status-negative{background:#be6a63}.bar-fill.status-neutral{background:#71869b}
.frequency-row{display:grid;grid-template-columns:1fr auto;gap:.45rem}.frequency-row div{display:flex;gap:.5rem;align-items:baseline}.frequency-row strong,.frequency-row b{font-size:.76rem}.frequency-row span{color:var(--report-muted);font-size:.67rem}.frequency-row>.bar-track{grid-column:1/-1}.frequency-total{display:flex;justify-content:space-between;padding-top:.75rem;border-top:1px solid var(--report-line);font-size:.75rem}.frequency-total strong{font-size:.82rem}
.unassigned-notice{display:flex;align-items:center;gap:.65rem;margin:.85rem 1rem 0;padding:.65rem .75rem;border:1px solid #ead9a2;border-radius:.55rem;background:#fffaf0}.unassigned-notice>i{color:#8a6a18}.unassigned-notice div{display:flex;min-width:0;flex:1;flex-direction:column}.unassigned-notice strong{font-size:.76rem}.unassigned-notice span{color:var(--report-muted);font-size:.68rem}.unassigned-notice a{font-size:.7rem;font-weight:700}.performance-table{margin:0}.performance-table th{padding:.65rem 1rem;background:#f8fafc}.performance-table td{padding:.72rem 1rem;vertical-align:middle}.performance-table td a{display:flex;flex-direction:column;text-decoration:none}.performance-table td small{display:block;color:var(--report-muted);font-size:.64rem}.performance-table td strong{font-size:.73rem}.rank-mark{display:grid;width:1.55rem;height:1.55rem;place-items:center;border-radius:50%;background:#eef3f7;font-size:.68rem;font-weight:750}.rank-first .rank-mark{background:#e5f1fb;color:#155c90}.performance-pagination{display:flex;justify-content:flex-end;gap:.3rem;padding:.75rem 1rem;border-top:1px solid var(--report-line)}
.performance-lifecycle>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--report-line);gap:1px}.performance-lifecycle>div>*{display:flex;min-height:76px;flex-direction:column;justify-content:center;padding:.75rem;background:#fff;text-decoration:none}.performance-lifecycle span{color:var(--report-muted);font-size:.66rem}.performance-lifecycle strong{margin-top:.2rem;color:var(--report-ink);font-size:1.05rem}.performance-empty{display:flex;min-height:230px;flex-direction:column;align-items:center;justify-content:center;padding:2rem;border:1px dashed #cbd7e2;border-radius:.75rem;background:#fff;text-align:center}.performance-empty>i{font-size:2rem;color:#8da1b4}.performance-empty h2{margin:.6rem 0 .2rem;font-size:1.05rem}.performance-empty p,.performance-empty span{color:var(--report-muted);font-size:.76rem}.performance-empty.compact{min-height:120px;border:0}.performance-notes{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;color:var(--report-muted);font-size:.66rem}.performance-notes p{margin:0}.performance-notes p:last-child{text-align:right}
@media(max-width:1100px){.performance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-lifecycle>div{grid-template-columns:repeat(4,minmax(0,1fr))}.performance-insights{grid-template-columns:1fr}.performance-toolbar{flex-wrap:wrap}.performance-search{flex-basis:calc(100% - 180px)}.performance-filter-chips{order:5}}
@media(max-width:767.98px){.performance-report-header{grid-template-columns:1fr}.performance-actions{grid-row:2}.performance-period-meta{flex-direction:column;gap:.55rem}.performance-period-meta div{padding:0;border:0}.performance-visual-grid,.performance-detail-grid{grid-template-columns:1fr}.performance-insights ul{grid-template-columns:1fr}.performance-filter-panel{position:fixed;inset:auto 1rem 1rem;width:auto;max-height:75vh;overflow:auto}.performance-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-lifecycle>div{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-notes{flex-direction:column}.performance-notes p:last-child{text-align:left}}
@media(max-width:575.98px){.performance-report-header{padding:1rem}.performance-breadcrumb{line-height:1.6}.performance-actions{display:grid;grid-template-columns:1fr 1fr}.performance-kpi-grid{grid-template-columns:1fr}.performance-toolbar>*{flex:1 1 auto}.performance-search{flex-basis:100%}.performance-month{flex-basis:100%}.performance-filter-grid{grid-template-columns:1fr}.performance-bar-row{grid-template-columns:1fr 38px 42px}.performance-bar-row .bar-track{grid-column:1/-1;grid-row:2}.performance-table-panel .table-responsive{overflow:visible}.performance-table-panel .performance-table thead{display:none}.performance-table-panel .performance-table,.performance-table-panel .performance-table tbody,.performance-table-panel .performance-table tr,.performance-table-panel .performance-table td{display:block;width:100%}.performance-table-panel .performance-table tr{padding:.6rem .8rem;border-bottom:1px solid var(--report-line)}.performance-table-panel .performance-table td{display:flex;justify-content:space-between;gap:1rem;padding:.32rem 0!important;border:0;text-align:right!important;white-space:normal}.performance-table-panel .performance-table td:before{content:attr(data-label);color:var(--report-muted);font-size:.67rem}.performance-table-panel .performance-detail-grid td:before{display:none}.unassigned-notice{align-items:flex-start;flex-wrap:wrap}.unassigned-notice a{margin-left:1.8rem}.performance-lifecycle>div{grid-template-columns:1fr 1fr}}
@media print{@page{size:A4 landscape;margin:9mm;@bottom-center{content:"Page " counter(page) " of " counter(pages);font-size:8pt;color:#64748b}}body{font-size:9pt}.insurance-performance-report{gap:5mm}.performance-report-header,.performance-panel,.performance-kpi,.performance-integrity{box-shadow:none}.performance-report-header{padding:4mm}.performance-actions,.performance-toolbar,.performance-pagination,.performance-panel a:after,.performance-kpi a,.unassigned-notice a{display:none!important}.performance-kpi-grid{grid-template-columns:repeat(3,1fr);gap:3mm}.performance-kpi{min-height:27mm;padding:4mm}.performance-kpi>i{display:none}.performance-insights{grid-template-columns:45mm 1fr;padding:3mm}.performance-visual-grid,.performance-detail-grid{grid-template-columns:1fr 1fr;gap:4mm}.performance-trend,.performance-visual-grid,.performance-table-panel,.performance-lifecycle{break-inside:avoid}.trend-chart{height:45mm;padding:3mm}.performance-table tr{break-inside:avoid}.performance-table thead{display:table-header-group}.performance-lifecycle>div{grid-template-columns:repeat(7,1fr)}.performance-lifecycle>div>*{min-height:18mm}.performance-notes{padding-top:3mm;border-top:1px solid #cbd5df}.app-footer{display:none!important}}
