.report-inbox{--report-blue:#0058de;--report-line:#cbdff8;--report-ink:#0b2048;color:var(--report-ink);display:grid;gap:16px}
.report-inbox .report-icon{display:block;width:25px;height:25px;object-fit:contain;flex-shrink:0}
.report-hero{min-height:118px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;gap:12px;padding:20px 26px;border-radius:18px;color:#fff;background:radial-gradient(ellipse at 100% 105%,#002557 23%,transparent 24%),radial-gradient(ellipse at 100% 115%,#0489ee 38%,transparent 39%),linear-gradient(115deg,#052149,#005cb9 75%,#004691)}
.report-hero h2{margin:0 0 5px;font-size:clamp(1.35rem,2vw,2rem);line-height:1.15;color:inherit}
.report-hero p{margin:0;color:#eef7ff}
.report-hero-art{display:flex;align-items:center;gap:10px;flex-shrink:0}
.report-hero-art .report-icon{width:clamp(48px,7vw,100px);height:auto;transform:rotate(-9deg);filter:drop-shadow(0 8px 10px #001b4c80)}
.report-hero-art .report-icon+.report-icon{transform:rotate(9deg)}
.report-metrics,.report-filters,.report-columns{display:grid;gap:14px}
.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.report-inbox button{cursor:pointer}
.report-inbox button:disabled{cursor:default;opacity:.58}
.report-metric{--tint:#d8f3ff;--edge:#b6defa;display:flex;align-items:center;gap:10px;padding:12px;text-align:left;border:1px solid var(--edge);border-radius:17px;color:inherit;background:radial-gradient(ellipse at 80% 140%,var(--tint) 60%,transparent 61%),linear-gradient(130deg,#fff,var(--tint));box-shadow:0 3px 8px #133b7421;font-weight:700}
.report-metric.tone-1{--tint:#ffedd4;--edge:#f6ddba}
.report-metric.tone-2{--tint:#d9f9e9;--edge:#bcebd8}
.report-metric.tone-3{--tint:#eee5ff;--edge:#dfd1fc}
.report-metric .report-icon{width:clamp(32px,4vw,62px);height:auto}
.report-metric strong{display:block;font-size:clamp(1.45rem,2.6vw,2.25rem);line-height:1.08}
.report-filters{grid-template-columns:minmax(200px,2fr) repeat(3,minmax(0,1fr))}
.report-filters label{margin:0;display:flex;align-items:center;min-width:0;gap:6px;padding:0 8px;background:#fff;border:1px solid var(--report-line);border-radius:12px}
.report-filters input,.report-filters select,.report-detail textarea,.report-template select{width:100%;min-width:0;min-height:42px;padding:8px 10px;color:inherit;border:1px solid var(--report-line);border-radius:10px;background:#fff;font:inherit}
.report-filters select{border:none}
.report-columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}
.report-panel{min-width:0;background:linear-gradient(#fff,#f4f8fe);border:1px solid var(--report-line);border-radius:17px;padding:12px;box-shadow:0 4px 12px #133b7418}
.report-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.report-tabs button,.report-pages button{display:inline-flex;align-items:center;gap:4px;color:inherit;background:#eff5fe;border:1px solid #dce8fa;border-radius:9px;padding:6px 8px;font:inherit;font-weight:700;font-size:.83rem}
.report-tabs .report-icon{width:18px;height:18px}
.report-tabs button[aria-pressed=true]{background:var(--report-blue);color:#fff;border-color:var(--report-blue)}
.report-table-wrap{overflow-x:auto}
.report-table{width:100%;border-collapse:collapse;font-size:.86rem}
.report-table th,.report-table td{padding:9px 6px;text-align:left;border-bottom:1px solid #dce7f7}
.report-table th,.report-table tr.chosen{background:#e3efff}
.report-table small{display:block;color:#375780}
.report-table td button{font:inherit;font-weight:700;border:0;background:none;padding:0;color:#064aab;text-align:left;text-decoration:underline}
.report-category,.report-badge{border-radius:20px;background:#e6f0ff;padding:4px 8px;font-size:.78rem;font-weight:700;display:inline-block}
.report-badge.pending{background:#ffe9c7;color:#7a3900}
.report-badge.read{background:#d9f6e8;color:#086744}
.report-badge.answered{background:#ebddff;color:#55228e}
.report-pages,.report-detail-title,.report-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.report-pages{padding-top:12px;font-size:.85rem}
.report-pages div{display:flex;align-items:center;gap:8px}
.report-detail-title{justify-content:start;border-bottom:1px solid var(--report-line);padding-bottom:10px}
.report-detail-title h3,.report-detail h4{margin:0;color:inherit}
.report-detail-title .report-badge{margin-left:auto}
.report-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.report-detail-grid>div{display:flex;align-items:center;gap:6px;border-bottom:1px solid #dfebfc;padding:5px 0}
.report-detail-grid dt,.report-template{font-weight:700;font-size:.85rem}
.report-detail-grid dd{margin:0;overflow-wrap:anywhere}
.report-description,.report-response{background:#e8f1ff;border-radius:9px;padding:8px;margin:5px 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.report-response p{margin:4px 0 0}
.report-receipt,.report-count,.report-file{font-size:.84rem;color:#305280}
.report-file{display:block}
.report-template{display:block;margin:8px 0}
.report-template select{display:block;margin-top:5px}
.report-count{text-align:right}
.report-actions{margin-top:10px;justify-content:flex-end}
.report-actions [data-report-read]{margin-right:auto}
.report-empty{color:#3b5274;text-align:center;padding:15px 8px;margin:0}
@media(max-width:1150px){.report-columns{grid-template-columns:1fr}.report-table th,.report-table td{padding:8px}}
@media(max-width:760px){.report-metrics,.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.report-hero{padding:16px}.report-hero-art .report-icon+.report-icon{display:none}}
@media(max-width:480px){.report-filters{grid-template-columns:1fr}.report-metric{font-size:.82rem}.report-detail-grid{grid-template-columns:1fr}.report-actions{justify-content:start}}
.interface-switch{position:relative}
.interface-switch summary{cursor:pointer;list-style:none;white-space:nowrap}
.interface-switch summary::-webkit-details-marker{display:none}
.interface-switch nav{position:absolute;right:0;z-index:25;min-width:210px;padding:6px;background:#fff;border:1px solid #cbdff8;border-radius:12px;box-shadow:0 8px 24px #10245126}
.interface-switch a,.interface-switch nav button{display:block;width:100%;padding:9px 10px;border:0;border-radius:7px;color:#102451;background:none;text-align:left;text-decoration:none;font:inherit;font-weight:650;cursor:pointer}
.interface-switch a:hover,.interface-switch a[aria-current],.interface-switch nav button:hover{background:#e7f0ff}
.family-demo{width:min(850px,calc(100% - 32px));margin:24px auto;color:#102451}
.family-demo header{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.family-demo header p,.family-demo h1{margin:0}
.family-notice{background:#e3efff;border-radius:12px;padding:14px}
.family-demo .card{margin:12px 0}
.family-demo dl{display:flex;gap:24px;flex-wrap:wrap}.family-demo dd{margin:0;font-weight:700}
