
[data-patient-space]{max-width:980px;margin:auto;padding:24px 18px 100px;color:#242820;background:#faf8f2;min-height:70vh}
[data-patient-space] h1{font-size:clamp(26px,5vw,38px)}
.space-tabs,.space-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.space-tabs button[aria-pressed=true]{background:#303a2f;color:white}
[data-patient-space] label{display:block;margin:14px 0 6px;font-size:18px}
[data-patient-space] textarea,[data-patient-space] input:not([type=checkbox]),[data-patient-space] select{box-sizing:border-box;width:100%;font:inherit;font-size:18px;line-height:1.7;padding:12px;border:1px solid #aaa38b;border-radius:12px;background:white;color:#242820}
[data-patient-space] button,.save-patient-file{font:inherit;min-height:46px;padding:10px 16px;margin:8px 4px;border:1px solid #aaa38b;border-radius:12px;background:#f6f3e9;color:#273325;cursor:pointer}
[data-patient-space] button:disabled{opacity:.55;cursor:wait}
[data-patient-space] p,[data-patient-space] li{font-size:18px;line-height:1.9}
[data-patient-space] .check{display:flex;gap:10px;align-items:start}
.space-card{border:1px solid #d1cbb9;border-radius:18px;padding:20px;margin:18px 0;background:white;overflow-wrap:anywhere}
.space-card pre{white-space:pre-wrap;font:inherit}.space-card summary{font-size:20px;cursor:pointer}.space-card blockquote{white-space:pre-wrap;border-inline-start:3px solid #987c47;padding:12px}
#space-status{position:sticky;bottom:70px;background:#f5efdd;padding:12px;border-radius:12px;z-index:5}#space-status:empty{display:none}
.journey-question legend{font-size:clamp(21px,4.5vw,26px)!important;line-height:1.65}.journey-question{scroll-margin-top:140px}
.ai-report{overflow-wrap:anywhere}.ai-report h3{font-size:26px}.ai-report p{line-height:1.9}.ai-report details{padding:12px 0}.ai-report summary{font-size:20px;cursor:pointer}
.file-link{display:inline-block;padding:12px;margin:8px;border:1px solid #9c8553;border-radius:12px;color:inherit}
@media print{.space-tabs,.space-actions,[data-patient-space] button,[data-patient-space] input,[data-patient-space] select,#space-status,.save-patient-file{display:none!important}[data-patient-space]{padding:0;max-width:none}.space-card{break-inside:avoid;border:0}.care-dock{display:none!important}}
/* CARE22: progressive disclosure, comfortable mobile interview */
.space-start{display:grid;gap:14px}.space-start a,.space-start button{display:grid;gap:7px;padding:22px;text-align:start;border:1px solid #c9b98e;border-radius:16px;background:#fcfaf3;color:#292e25;text-decoration:none;font:inherit}.space-start b{font-size:22px}.space-start span{font-size:15px;color:#5e6657}.space-tools{margin:18px 0}.space-tools>summary,.space-extra>summary{padding:14px;cursor:pointer}.space-home{margin-bottom:12px}.interview-stage,.interview-count{font-size:14px;color:#6f644e}.journey-question legend{font-size:clamp(21px,3vw,27px);line-height:1.6}.journey-options{gap:10px}.journey-options button{min-height:50px;font-size:17px}.interview-nav{position:sticky;bottom:0;background:#fffdf8;padding:12px;border-top:1px solid #ddd3bd;z-index:6;display:flex;justify-content:space-between;gap:16px}.report-more>summary{padding:15px;cursor:pointer}.care-assistant-output,.care-result{scroll-margin-top:100px}

/* Visit notebook: existing visual language, one clear action row. */
.visit-toolbar{display:flex;flex-wrap:wrap;gap:8px}.visit-entry{border-color:#a5884c!important;background:#ede4ce!important}#visit-workspace summary{min-height:44px;line-height:1.7}#visit-workspace h2,#visit-output{scroll-margin-top:140px}#visit-workspace textarea{font-size:18px}#visit-output[hidden]{display:none}
