.family-view .family-hero{padding:32px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,#3d34231f,var(--panel));margin-bottom:24px}.family-hero h1{font-size:32px;line-height:1.4}.family-view .initial{width:56px;height:56px;font-size:23px;background:#c9ad6430;color:var(--text);border-radius:18px}.family-view .panel{padding:28px}.family-view .callout{border-left-color:var(--gold);background:#b49b4d12;color:var(--text)}.family-view .list-item{gap:16px}.family-quest{border:1px solid var(--line);border-radius:12px;padding:18px;margin:12px 0;background:var(--bg)}.family-quest button{font-size:12px;min-height:48px}.family-quest [aria-pressed=true]{border-color:var(--cyan)}.family-report-summary{background:#62a795;padding:24px;border-radius:12px;margin:24px 0;color:#233433;break-inside:avoid}.family-report-summary>span{font-size:11px;letter-spacing:1px}.family-report-summary h3{margin:14px 0 8px}.family-report-summary p{margin:8px 0;font-size:14px;color:#334b3b}.family-report-chart{margin:24px 0;padding:20px;border:1px solid #b9c8b9;border-radius:12px;break-inside:avoid}.family-chart-row{display:grid;grid-template-columns:125px 1fr 100px;gap:12px;align-items:center;margin:16px 0;font-size:12px}.family-chart-track{height:8px;background:#d4ddd2;border-radius:5px;overflow:hidden}.family-chart-track i{display:block;height:100%;background:#35626d}.family-chart-row b{font-size:11px;text-align:right}.family-print-controls{display:flex;justify-content:flex-end;margin:12px 0 20px}.director-preview h1{font-size:30px}.director-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.director-grid h2{font-size:17px;margin-top:18px;line-height:1.5}.director-index{font-size:12px;color:var(--muted)}.director-placeholder{font-size:40px;color:var(--muted);padding:12px 0}.director-grid p{font-size:12px}.director-preview>.btn{display:inline-flex;align-items:center}@media(max-width:760px){.family-view .family-hero{padding:24px}.family-hero h1{font-size:27px}.family-view .grid{gap:16px}.family-view .panel{padding:22px}.family-quest{padding:16px}.family-quest button{width:100%}.family-report-chart{padding:16px}.family-chart-row{grid-template-columns:105px 1fr 76px;gap:8px;font-size:11px}.family-chart-row b{font-size:10px}.family-print-controls button{width:100%}.director-grid{grid-template-columns:1fr}.report h2{font-size:25px}.report .list-item{padding:16px 0}.report p{font-size:13px}}
@media print{body:has(#modal[open] .report)>*:not(#modal){display:none!important}body:has(#modal[open] .report){background:white!important;color:#172022!important;overflow:visible!important}#modal[open]:has(.report){position:static;display:block;width:100%;max-width:none;max-height:none;height:auto;overflow:visible;border:0;padding:0;margin:0;box-shadow:none;background:white}#modal[open]:has(.report) #modalBody>*:not(.report){display:none!important}#modal .report{padding:0;background:white;box-shadow:none}#modal .report h3{break-after:avoid}#modal .report .list-item{break-inside:avoid}.family-report-summary,.family-report-chart{print-color-adjust:exact;-webkit-print-color-adjust:exact}#modal::backdrop{background:none}}
