/* Calm information hierarchy: teal actions, navy structure, warm uncertainty. */
.r3-overview{max-width:1180px;margin:auto;color:#19354a}.r3-greeting{display:flex;justify-content:space-between;align-items:center;padding:12px 0 28px}.r3-greeting h1{font-size:clamp(28px,3vw,40px);letter-spacing:-1.2px;line-height:1.13;margin:10px 0 12px}.r3-greeting p{font-size:15px;color:#52697b;max-width:560px;line-height:1.6}.r3-purpose{padding:26px 28px;background:#eaf5f4;border:1px solid #cce3df;border-left:5px solid #14837e;border-radius:14px;display:flex;gap:28px;justify-content:space-between;margin:0 0 26px}.r3-purpose h2{font-size:21px;line-height:1.5;max-width:760px;margin:8px 0 14px;font-weight:600}.r3-purpose-actions{display:flex;flex-direction:column;gap:10px;justify-content:center;flex-shrink:0}.r3-panel{background:white;border:1px solid #dce5ec;border-radius:14px;padding:24px;margin:0 0 22px;box-shadow:0 3px 10px #163a5404}.r3-section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.r3-overview h2,.r3-summary h2{font-size:21px;line-height:1.4;letter-spacing:-.3px}.r3-section-heading h2{margin:6px 0}.r3-measures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.r3-measure{padding:8px 24px;border-left:1px solid #d9e4ea;min-width:0}.r3-measure:first-child{border-left:0;padding-left:0}.r3-measure h3{font-size:15px;margin:0 0 10px;color:#3b5367}.r3-value{font-size:38px!important;font-weight:600;letter-spacing:-1.5px;margin:8px 0!important;color:#173d54}.r3-value small{font-size:16px;letter-spacing:0;font-weight:400}.r3-measure p{font-size:15px;line-height:1.55;margin:10px 0}.r3-measure small{font-size:12px;color:#52697b}.r3-measure a{font-size:13px}.r3-caption{font-size:12px;color:#52697b;line-height:1.6;margin:20px 0 0}.r3-context-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.r3-context-grid p{font-size:14px;line-height:1.65}.r3-open-questions{background:#fffdf7;border-color:#e7dfc9}.r3-source{padding:13px 0;border-bottom:1px solid #e1e8ed}.r3-source summary{font-size:13px;color:#23516d;line-height:1.6;cursor:pointer}.r3-source p{white-space:pre-line;overflow-wrap:anywhere}.r3-source .r3-quote{border-left:3px solid #b5d8d2;padding-left:12px}.r3-next{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;border-radius:14px;background:#173d54;color:white;margin:4px 0 24px}.r3-next h2{color:white;margin:8px 0;font-size:22px}.r3-next p{color:#e0edf4;margin:6px 0;line-height:1.55}.r3-next .eyebrow{color:#b4ded9}.r3-next .primary{background:#fff;color:#17475d;border-color:#fff;flex-shrink:0}.r3-overview>.quick-paths{margin:22px 0}.r3-summary-dialog{width:min(1060px,95vw);max-width:1060px}.r3-summary-tabs{display:flex;gap:10px;margin-bottom:16px}.r3-summary-tabs [aria-pressed=true]{background:#173d54;color:white}.r3-summary>.r3-caption{margin-bottom:20px}.r3-summary blockquote{margin:12px 0;padding:12px 15px;border-left:3px solid #a8cfc8;background:#f5f9fa;font-size:14px;line-height:1.65}.r3-summary blockquote footer{font-size:11px;margin:10px 0 0;padding:0;color:#587082;background:none}.r3-timeline{list-style:none;padding:0;margin:18px 0 26px}.r3-timeline li{display:grid;grid-template-columns:125px 1fr;gap:20px;border-top:1px solid #dce5ec;padding:15px 0}.r3-timeline time{font-size:13px;color:#506b7c}.r3-timeline span{display:block;font-size:11px;overflow-wrap:anywhere;color:#536e80;margin:7px 0}.r3-timeline details{font-size:13px}.r3-questions{padding-left:24px}.r3-questions li{padding:8px 0}.r3-questions p{font-size:14px;line-height:1.6}.r3-summary .actions{flex-wrap:wrap;margin:20px 0}.r3-summary-entry{margin-top:22px}.r3-overview button,.r3-summary button{min-height:42px}.r3-overview .eyebrow{font-size:11px;letter-spacing:.09em}.r3-overview details>summary{cursor:pointer}.r3-overview .buddy-greeting{background:transparent}.r3-summary-dialog .dialog-head{position:sticky;top:0;background:white;z-index:2}
@media(max-width:760px){.r3-purpose,.r3-next{flex-direction:column;align-items:stretch;padding:22px;gap:14px}.r3-purpose h2{font-size:18px}.r3-purpose-actions{flex-direction:row;flex-wrap:wrap}.r3-context-grid{grid-template-columns:1fr;gap:0}.r3-greeting{padding:6px 0 16px}.r3-greeting .buddy-greeting{width:85px;flex-shrink:0}.r3-greeting .buddy-greeting img{width:62px}.r3-panel{padding:20px}.r3-section-heading{align-items:flex-start;flex-direction:column;gap:8px}.r3-measures{grid-template-columns:1fr}.r3-measure,.r3-measure:first-child{border-left:0;border-top:1px solid #dce5ec;padding:18px 0;display:grid;grid-template-columns:1fr auto;gap:2px 16px}.r3-measure:first-child{border-top:0}.r3-measure h3{grid-column:1}.r3-measure .r3-value{grid-column:2;grid-row:1/3;margin:0!important}.r3-measure p{margin:4px 0}.r3-measure .meta,.r3-measure a{grid-column:1/-1}.r3-timeline li{grid-template-columns:1fr;gap:5px}.r3-summary-dialog{padding:18px}.r3-summary h2{font-size:20px}}
/* A date list is the care-event interaction at every width: no hidden overlapping marks. */
body .progress-v2 .event-lane{display:none}body .mobile-event-list{display:block;margin-top:22px;padding-top:16px;border-top:1px solid #dce5ec}.mobile-event-list>h3{font-size:17px}.mobile-event-button{display:grid;grid-template-columns:145px 1fr;gap:5px 16px;width:100%;margin:0;padding:15px 10px;min-height:64px;text-align:left;white-space:normal;background:white;border:0;border-bottom:1px solid #dce5ec;border-radius:0;overflow-wrap:anywhere}.mobile-event-button:hover{background:#eef7f6}.mobile-event-date{font-size:12px;color:#486779;grid-row:1/3}.mobile-event-button strong{font-size:14px;line-height:1.5}.mobile-event-source{font-size:11px;color:#587082;font-weight:400}.mobile-event-button:focus-visible{outline:3px solid #173d54;outline-offset:2px}.selected-view-summary p{max-width:80ch}.progress-v2 .explorer-lane{grid-template-columns:190px minmax(0,1fr)}@media(max-width:700px){.mobile-event-button{display:flex;flex-direction:column}.progress-v2 .explorer-lane{grid-template-columns:1fr}}
.r3-goal-controls{display:flex;gap:10px;flex-wrap:wrap}.r3-goal-controls button{min-width:94px;min-height:44px}.r3-goal-controls button:disabled{opacity:1;background:#e2efe9;color:#315d4d;border-color:#a7c9b8}.r3-purpose>.r3-purpose-actions{align-self:center}.r3-purpose .meta{max-width:65ch}#r3-goal-form textarea{width:100%;min-height:110px}

/* Patient home: a clear daily path, with optional planning detail kept close. */
.r3-home-flow{max-width:1180px;margin:auto}.r3-home-flow .welcome{margin-bottom:18px;min-height:110px}.r3-home-flow .welcome h1{margin:8px 0 12px}.r3-home-flow .welcome p{max-width:48ch;line-height:1.6}.r3-home-flow .buddy-greeting img{width:90px;height:96px}.r3-home-flow .buddy-greeting{flex-basis:104px}
.r3-home-flow .r3-home-goal{padding:20px 24px;margin:0 0 20px;border-left:4px solid #14837e;border-radius:20px;background:linear-gradient(110deg,#edf7f5,#f8fbfd);box-shadow:none}.r3-home-goal>div{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px}.r3-home-goal .eyebrow{grid-column:1}.r3-home-goal h2{grid-column:1;font-size:18px;line-height:1.5;margin:5px 0 4px;font-weight:600}.r3-home-goal .r3-goal-controls{grid-column:2;grid-row:1/4;align-content:center;margin:0}.r3-home-goal .meta{grid-column:1;margin:4px 0 0;font-size:12px}.r3-home-goal .r3-goal-controls button{min-width:0;padding:9px 13px}
.r3-home-flow .r3-daily-actions{gap:18px}.r3-home-flow .r3-daily-actions .card{padding:22px;margin:0}.r3-home-flow .r3-daily-actions h2{font-size:21px}.r3-home-flow .r3-daily-actions p{max-width:48ch;line-height:1.55}.r3-home-flow .r3-daily-actions .visit-card{background:#fff}.r3-home-flow .r3-daily-actions .text-button{display:inline-flex;min-height:44px;align-items:center}.r3-home-flow .r3-daily-actions .actions{gap:10px;flex-wrap:wrap}.r3-home-flow .r3-daily-actions .action-link{background:#f1f6fb;color:#17577d}.r3-home-flow .overview-card{padding:24px}.r3-home-flow .overview-card .card-head{align-items:center}.r3-home-flow .overview-card .meta{line-height:1.6}
.r3-home-flow .r3-context-slot:empty,.r3-home-flow .r3-journey-slot:empty,.r3-home-flow .r3-visit-slot:empty{display:none}.r3-planning-details{margin:22px 0;padding:0!important;overflow:hidden}.r3-planning-details>summary{padding:22px 24px;cursor:pointer;color:#193f56;font-size:17px;font-weight:650;list-style-position:inside}.r3-planning-details>summary small{display:block;font-size:12px;font-weight:400;color:#536d7e;margin:7px 0 0 20px}.r3-planning-details[open]>summary{border-bottom:1px solid #e2eaf0}.r3-planning-details>.r3-plan-followthrough,.r3-planning-details>.experience-grid{margin:0;padding:22px 24px}.r3-plan-followthrough{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.r3-plan-followthrough h2{font-size:19px;margin:0 0 8px}.r3-plan-followthrough p{font-size:14px;line-height:1.5;margin:0;max-width:52ch}.r3-plan-followthrough .actions{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:6px 0 0}.r3-plan-followthrough .actions a{font-size:13px;padding:10px 0}.r3-plan-followthrough .actions button{font-size:13px;min-height:44px}.r3-planning-details>.experience-grid{padding-top:0}.r3-planning-details .card{box-shadow:none;padding:20px}.r3-planning-details h2{font-size:19px}.r3-home-flow>.quick-paths{margin:20px 0}.r3-home-flow>.quick-paths a{min-height:76px;line-height:1.45}
.r3-written-summary{border:1px solid #dce5ec;border-radius:14px;background:#f8fbfd;padding:17px 20px;margin:16px 0}.r3-written-summary>summary{font-size:15px;font-weight:600;color:#245570;cursor:pointer;min-height:24px}.r3-written-summary>p{font-size:13px;line-height:1.6;max-width:75ch}.r3-written-summary .actions{display:flex;gap:10px;flex-wrap:wrap}.r3-written-summary button{min-height:44px}
@media(max-width:760px){.r3-home-flow .welcome-copy{max-width:calc(100% - 82px)}.r3-home-flow .buddy-greeting{flex-basis:76px}.r3-home-flow .buddy-greeting img{width:72px;height:78px}.r3-home-flow .r3-home-goal{padding:18px}.r3-home-goal>div{display:block}.r3-home-goal .r3-goal-controls{margin:12px 0 10px}.r3-home-goal h2{font-size:17px}.r3-home-flow .r3-daily-actions{grid-template-columns:1fr;gap:14px}.r3-home-flow .r3-daily-actions .card,.r3-home-flow .overview-card{padding:20px}.r3-planning-details>summary{padding:20px}.r3-planning-details>.r3-plan-followthrough,.r3-planning-details>.experience-grid{padding:20px}.r3-planning-details>.experience-grid{padding-top:0;grid-template-columns:1fr}.r3-plan-followthrough{align-items:stretch;flex-direction:column}.r3-plan-followthrough .action-link{justify-content:center;text-align:center}.r3-written-summary{padding:16px}.r3-written-summary .actions button{flex:1 1 170px}}
/* Deeper case detail is available after daily tasks and county context. */
.r3-journey-details{margin:18px 0;padding:0!important;overflow:hidden}.r3-journey-details>summary{cursor:pointer;padding:18px 22px;font-size:15px;line-height:1.5;font-weight:650;color:#28565d;list-style-position:inside}.r3-journey-details[open]>summary{border-bottom:1px solid #d6e4df}.r3-journey-details>.evidence-portal-host,.r3-journey-details>.tick-portal-host{padding:18px}.r3-journey-details>summary:focus-visible,.r3-planning-details>summary:focus-visible{outline:3px solid #9a5929;outline-offset:-4px}.r3-home-flow .symptom-entry{margin:0 0 20px}.r3-home-flow .r3-context-slot>.card{margin:20px 0}
@media(max-width:480px){.r3-journey-details>summary{padding:16px}.r3-journey-details>.evidence-portal-host,.r3-journey-details>.tick-portal-host{padding:12px}}
