.companion-heading{font-size:.8rem;color:var(--muted);font-weight:600;margin:0 0 5px}.bodymap{max-width:270px}.bodymap .reg:focus-visible{outline:none;stroke:var(--accent);stroke-width:4}.bodymap .reg.sel{stroke-width:4}.bodymap .limb,.bodymap text{pointer-events:none}
.companion-legend{display:flex;gap:8px 12px;flex-wrap:wrap;font-size:.75rem;color:var(--muted)}.companion-legend span{display:flex;align-items:center;gap:5px}.companion-legend i{width:12px;height:12px;border:1px solid #796a8966;border-radius:4px;flex:none}.region-options summary{min-height:44px;cursor:pointer;font-weight:600;padding:10px 0}.region-options .chip{min-height:44px;text-align:left}.region-options .chips{margin-top:8px}.report-bodies{display:grid;grid-template-columns:1fr 1fr;gap:8px}.report-bodies figure{margin:0;text-align:center}.report-bodies figcaption{font-size:.8rem;color:var(--muted)}.report-bodies .bodymap{max-width:155px}.report-options{border:0;padding:0;margin:0}.report-options legend{font-weight:600;margin-bottom:8px}.report-options label{display:flex;gap:8px;align-items:center;min-height:44px}.report-options input{width:20px;height:20px;accent-color:var(--accent)}.period-comparison{width:100%;border-collapse:collapse;font-size:.8rem}.period-comparison th,.period-comparison td{text-align:left;padding:8px 5px;border-bottom:1px solid var(--line);vertical-align:top}.period-comparison caption{text-align:left;color:var(--muted);padding-bottom:10px}.print-report{display:none}.report-summary{white-space:pre-wrap;overflow-wrap:anywhere}.metric-lines{display:flex;flex-direction:column;gap:8px}.metric-line{display:grid;grid-template-columns:85px 1fr 55px;align-items:center;gap:8px;font-size:.8rem}.metric-line meter{width:100%;accent-color:var(--accent)}@media print{@page{size:A4;margin:15mm}html,body{height:auto!important;background:#fff!important;color:#231a3d!important}body>#app,body>#toast{display:none!important}.print-report{display:block!important;--surface:#fff;--ink:#231a3d;--muted:#695f86;--line:#dcd3ef;--accent:#6a3fd6;--body:#d9cdf3;color:#231a3d;font:11pt/1.45 Georgia,serif}.print-report h1{font-size:23pt;margin-bottom:10px}.print-report h2{font:600 13pt system-ui;margin:18px 0 10px}.print-report .report-bodies{max-width:350px;margin:auto;break-inside:avoid}.print-report .chart{max-width:500px;margin:auto;break-inside:avoid}.print-report .bodymap{max-width:155px}.print-report p,.print-report .small{color:#473a5c}.print-report .report-summary{font:10pt/1.5 system-ui}.print-report .companion-legend{color:#473a5c}.print-report .companion-legend i,.print-report .bodymap{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* The approved mascot is deliberately separate from .bodymap. */
.companion-greeting{display:flex;align-items:center;gap:8px;margin:0 0 6px;min-width:0}.dashboard-face{width:56px;height:56px;flex:none}.dashboard-face .bubble-face{display:block;width:100%;height:100%;overflow:visible}.dashboard-face .mouth{fill:none;stroke:#59416f;stroke-width:4;stroke-linecap:round}.dashboard-face .eye{fill:#59416f}.dashboard-face .lid{fill:none;stroke:#59416f;stroke-width:4;stroke-linecap:round}.dashboard-face .cheek{fill:#d88ec4;opacity:.25}.companion-greeting .companion-heading{margin:0;line-height:1.3}.companion-expression{font-size:.74rem;color:var(--muted);line-height:1.3}.dashboard-face svg[data-state=tired]{filter:saturate(.85)}
@media(prefers-reduced-motion:no-preference){.dashboard-face .bubble-face{animation:draugs-float 5s ease-in-out infinite}.dashboard-face [data-state=happy] .eyes,.dashboard-face [data-state=neutral] .eyes,.dashboard-face [data-state=uncomfortable] .eyes,.dashboard-face [data-state=sad] .eyes{transform-box:fill-box;transform-origin:center;animation:draugs-blink 7s ease-in-out infinite}.dashboard-face [data-state=tired] .yawn{transform-box:fill-box;transform-origin:center;animation:draugs-yawn 5s ease-in-out infinite}@keyframes draugs-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes draugs-blink{0%,44%,48%,100%{transform:scaleY(1)}46%{transform:scaleY(.12)}}@keyframes draugs-yawn{0%,20%,80%,100%{transform:scaleY(.7)}50%{transform:scaleY(1.15)}}}

@media print{.print-report table,.print-report tr,.print-report figure,.print-report svg{break-inside:avoid;page-break-inside:avoid}.print-report thead{display:table-header-group}.print-report h2{break-after:avoid}.print-report table{width:100%;table-layout:fixed}.print-report th,.print-report td{overflow-wrap:anywhere}.print-report .chart{display:block;width:100%;height:auto;max-height:200mm}}
