.practice-insights,.insight-calendar{color:var(--pf-ink);min-width:0}
.practice-insights>h2{margin-bottom:.15rem}.practice-insights>p{margin-top:.35rem;color:var(--pf-muted)}
.basis-notice,.review-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6rem;padding:.65rem .85rem;margin:.5rem 0;border-inline-start:4px solid var(--pf-warning-fg);background:var(--pf-muted-surface)}
.basis-notice span,.review-banner span{flex:1 1 23rem}
.review-banner[data-state=passed]{border-color:var(--pf-success-fg)}
.review-banner[data-state=blocked]{border-color:var(--pf-danger-fg,var(--pf-warning-fg))}
.insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin:1rem 0}
.insight-panel{min-width:0;background:var(--pf-surface);padding:clamp(.75rem,1.4vw,1.3rem);border:1px solid var(--pf-line);border-radius:.55rem}
.insight-panel>h3{font-size:1.13rem;margin:0 0 .75rem}.insight-panel>p,.insight-panel>small{display:block;margin:.6rem 0;color:var(--pf-muted)}
.insight-panel meter{width:100%;height:1.1rem;accent-color:var(--pf-chart-care)}
.insight-value{display:block;font-size:clamp(1.55rem,2.8vw,2.35rem);font-variant-numeric:tabular-nums;line-height:1.2}
.insight-keys{list-style:none;margin:.4rem 0;padding:0}.insight-keys li,.insight-line,.insight-detail{display:flex;align-items:center;gap:.5rem;padding:.28rem 0;border-bottom:1px solid var(--pf-line)}
.insight-keys li b,.insight-line b{margin-inline-start:auto;font-variant-numeric:tabular-nums;white-space:nowrap}
.insight-line meter{width:32%;margin-inline-start:auto}.insight-line meter+b{margin-inline-start:0}
.insight-detail{justify-content:space-between;flex-wrap:wrap}.insight-detail button{font-size:.9rem}
.insight-panel details>.table,.insight-panel .table{overflow:auto}.insight-wide{grid-column:1/-1}
.board-day-list{border-inline-start:.25rem solid var(--pf-line);padding-inline-start:.8rem;margin-block:.65rem}
.board-day-list.agenda-weekend{border-inline-start-style:double;border-inline-start-color:var(--pf-accent)}
.staff-plan-actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin:.45rem 0}.staff-plan-actions+details{margin:.4rem 0}
.agenda-empty,.agenda-mark{color:var(--pf-muted);margin:.3rem 0}
@media(max-width:800px){.insight-grid{grid-template-columns:minmax(0,1fr)}.insight-panel .fields{flex-wrap:wrap}}
@media print{
 html:has(.board-print),body:has(.board-print){background:white!important;color:#111!important;color-scheme:light!important}
 #area:has(.board-print) :has(.board-print)>:not(.board-print,:has(.board-print)){display:none!important}
 @page plan-a3{size:A3 landscape;margin:8mm}
 .board-print[data-paper=A3]{page:plan-a3}
 .board-print section{break-inside:auto}
 .board-print.print-short section{break-inside:avoid}
 .board-print.print-short section+section{break-before:auto;margin-top:5mm}
 .board-print .board-print-version h2{font-size:14pt;letter-spacing:-.02em}
 .board-print .board-print-version p{font-size:8.5pt}
 .board-print .board-print-version small{font-size:7.5pt;color:#333}
 .board-print thead tr:last-child th{background:#e3e9eb;border-bottom:1.2pt solid #394953}
 .board-print .print-weekend{border-left:1.2pt double #48545b;background:#f0f0f0}
 .board-print[data-show-hours=true] tbody tr:last-child td{border-top:1.25pt solid #394953;font-weight:700}
 .board-print tbody td:first-child{background:#f2f4f5}
 .board-print[data-paper=A3] table{font-size:9pt;line-height:1.18}
 .board-print.print-short table{font-size:9pt;line-height:1.2}
 .plan-board:has(.insight-calendar)>.insight-calendar{display:block!important}
 .insight-calendar>:not(.board-print){display:none!important}
}
