.tr-patient-report{--report-ink:#203e34;--report-muted:#566a61;color:var(--report-ink);background:#fafbf7;text-align:left;max-width:1120px;margin:24px auto;padding:clamp(22px,4vw,48px);border-radius:16px;font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}.tr-patient-report *{box-sizing:border-box}.tr-patient-report h1{font:500 clamp(32px,5vw,55px)/1.1 Georgia,serif;color:var(--report-ink);margin:18px 0}.tr-patient-report h2{font-size:21px;line-height:1.3;margin:0 0 14px;color:var(--report-ink)}.tr-patient-report h3{font-size:21px;margin:0}.tr-patient-report p{color:var(--report-muted);margin:8px 0 17px}.tr-report-kicker{text-transform:uppercase;letter-spacing:1.8px;font-size:12px}.tr-report-summary{font-size:19px;max-width:850px}.tr-report-toolbar{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;margin-bottom:28px}.tr-patient-report .tr-btn,.tr-patient-report button,.tr-patient-report select{display:inline-block;padding:11px 17px;border-radius:6px;border:1px solid #9cad9d;background:transparent;color:var(--report-ink);font:600 14px/1.4 system-ui;cursor:pointer;text-decoration:none;min-height:44px}.tr-patient-report .tr-btn-primary{background:#285744;color:white}.tr-report-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}.tr-report-metrics section{padding:18px 0;border-top:2px solid #c8d6c3}.tr-report-metrics h2{font:600 15px system-ui}.tr-report-metrics strong{font:500 44px Georgia,serif;display:block;margin:16px 0}.tr-report-metrics small{font:14px system-ui}.tr-report-metrics span{display:block;color:var(--report-muted);font-size:14px}.tr-report-estimate,.tr-report-small{font-size:14px}.tr-report-quality{background:#edf1e8;padding:18px 24px;border-radius:8px;margin:22px 0}.tr-report-quality h2{font-size:17px}.tr-report-quality p{margin-bottom:0}.tr-patient-report>section{margin-top:32px}.tr-report-section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.tr-report-section-heading label{font-size:14px}.tr-report-evolution svg{width:100%;max-height:340px}.tr-report-domains>div{display:grid;grid-template-columns:210px 1fr 40px;gap:18px;align-items:center;padding:11px 0;border-bottom:1px solid #dfe5dc}.tr-report-domains meter{width:100%;height:13px;accent-color:#315f49}.tr-patient-tasks{display:grid;grid-template-columns:1fr 1fr;gap:24px}.tr-patient-task{border-top:1px solid #ccd7c9;padding-top:20px;min-width:0}.tr-patient-task>p{font-size:14px} .tr-patient-report dl{margin:12px 0}.tr-patient-report dl>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e5e9e1;padding:8px 0;font-size:14px}.tr-patient-report dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:65%}.tr-patient-report dt{color:var(--report-muted)}.tr-patient-report summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:650}.tr-report-method{border-top:1px solid #ccd7c9;margin-top:32px}.tr-patient-report footer{font-size:12px;margin-top:32px;color:var(--report-muted)}.tr-memory-symbol{max-width:100%;max-height:100%;vertical-align:middle}.tr-patient-report :focus-visible{outline:3px solid #b98238;outline-offset:3px}@media(max-width:650px){.tr-report-metrics{grid-template-columns:1fr;gap:5px}.tr-report-metrics section{display:grid;grid-template-columns:1fr 120px}.tr-report-metrics strong{font-size:34px;margin:0;text-align:right}.tr-report-metrics span{grid-column:1/-1}.tr-patient-tasks{grid-template-columns:1fr}.tr-report-domains>div{grid-template-columns:135px 1fr 35px;gap:10px;font-size:14px}.tr-report-toolbar{justify-content:flex-start}.tr-patient-report{margin:10px auto}}@media print{body{margin:0;background:white!important}.tr-patient-report{padding:0;margin:0;max-width:none;background:white;font-size:10pt;border-radius:0}.tr-patient-report h1{font-size:30pt}.tr-patient-report h2{font-size:14pt}.tr-report-toolbar{display:none}.tr-report-metrics{grid-template-columns:repeat(3,1fr)}.tr-patient-tasks{grid-template-columns:1fr 1fr}.tr-patient-task,.tr-report-quality,.tr-report-evolution,.tr-report-metrics{break-inside:avoid}.tr-patient-report details{display:block}.tr-patient-report dl>div{font-size:9pt}.tr-patient-report p{font-size:10pt}a{color:inherit}@page{size:A4;margin:16mm}}

.demo-mode{max-width:1120px;margin:12px auto;text-align:right}.demo-mode select{font:inherit;padding:10px;border:1px solid #aebdae;border-radius:6px;color:#23483a;background:white}.tr-report-ideas h3{font-size:17px;margin-top:18px}.tr-report-ideas{border-top:1px solid #ccd7c9;padding-top:24px}
