/* The patient app's Today, Plan and Journey (patient-today.js), redesign v5: warm neutrals, navy ink,
   Newsreader titles and Inter text, as the landing and the clinician's view. Text keeps 4.5:1. */
#app .patient-app #patientToday,#app .patient-app #patientPlan,#app .patient-app #patientJourney{display:grid;gap:12px}
#app .patient-app .pt-card{background:#fff;border:1px solid #E5E2DA;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px;color:#192436}
#app .patient-app .pt-h1{margin:0;font:500 30px/36px Newsreader,Georgia,serif;letter-spacing:-.01em;color:#192436}
#app .patient-app .pt-h2{margin:0;font:500 22px/28px Newsreader,Georgia,serif;color:#192436}
#app .patient-app .pt-h3{margin:0;font:600 16px/22px Inter,system-ui,sans-serif;color:#192436;padding:0}
#app .patient-app .pt-sub{margin:0;font:400 15px/21px Inter,system-ui,sans-serif;color:#4A5366}
#app .patient-app .pt-eyebrow{margin:0;font:600 13px/18px Inter,system-ui,sans-serif;color:#4A5366}
#app .patient-app .pt-count{font:600 13px Inter,system-ui,sans-serif;color:#1B605C}
#app .patient-app .pt-wave-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
#app .patient-app .pt-wave-art{display:block;width:calc(100% + 32px);height:auto;margin:0 -16px;aspect-ratio:340/84}
#app .patient-app .pt-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #EFEDE7;min-height:44px}
#app .patient-app .pt-row-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left;font:inherit;color:#192436;background:none;border:0;padding:0}
#app .patient-app .pt-row-text strong{font:600 17px/24px Inter,system-ui,sans-serif}
#app .patient-app .pt-row-text small{font:400 15px/21px Inter,system-ui,sans-serif;color:#4A5366}
#app .patient-app .pt-row-go{cursor:pointer;min-height:48px}
#app .patient-app .pt-row-faces{flex-wrap:wrap;gap:6px}
#app .patient-app .pt-row-faces .pt-row-text{flex-basis:100%}
#app .patient-app .pt-faces{flex:1;display:flex;justify-content:space-between;gap:2px}
#app .patient-app .pt-face{display:flex;border:0;background:none;padding:3px;border-radius:999px;cursor:pointer;min-width:48px;min-height:48px;align-items:center;justify-content:center}
#app .patient-app .pt-face:focus-visible,#app .patient-app .pt-chip:focus-visible,#app .patient-app .pt-check:focus-visible,#app .patient-app .pt-btn:focus-visible,#app .patient-app .pt-link:focus-visible,#app .patient-app .pt-day-row:focus-visible,#app .patient-app .pt-row-go:focus-visible{outline:2px solid #237873;outline-offset:2px}
#app .patient-app .pt-check{flex:none;width:44px;height:44px;border-radius:999px;border:2px solid #192436;background:#fff;color:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;box-sizing:border-box}
#app .patient-app .pt-check[aria-pressed="true"],#app .patient-app .pt-check[data-on="true"]{background:#192436;color:#F6F5F1}
#app .patient-app span.pt-check{cursor:default}
#app .patient-app .pt-tags,#app .patient-app .pt-scale{display:flex;flex-wrap:wrap;gap:8px}
#app .patient-app .pt-chip{min-height:48px;padding:0 16px;border-radius:999px;border:1px solid #CFCAC0;background:#fff;color:#192436;font:500 15px Inter,system-ui,sans-serif;cursor:pointer;display:inline-flex;align-items:center}
#app .patient-app .pt-chip[aria-pressed="true"],#app .patient-app .pt-radio:has(input:checked){background:#192436;border-color:#192436;color:#fff;font-weight:600}
#app .patient-app .pt-radio input{position:absolute;opacity:0;width:1px;height:1px}
#app .patient-app .pt-radio:has(input:focus-visible){outline:2px solid #237873;outline-offset:2px}
#app .patient-app .pt-link{border:0;background:none;padding:6px 0;min-height:48px;color:#1B605C;font:600 15px Inter,system-ui,sans-serif;text-decoration:underline;cursor:pointer}
#app .patient-app .pt-reasons{display:grid;gap:8px;padding:0 0 10px}
#app .patient-app .pt-btn{min-height:52px;padding:0 20px;border-radius:12px;border:0;background:#192436;color:#F6F5F1;font:600 17px Inter,system-ui,sans-serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
#app .patient-app .pt-btn[disabled]{opacity:.6;cursor:default}
#app .patient-app .pt-btn-quiet{background:#fff;color:#192436;border:1.5px solid #192436}
#app .patient-app .pt-btn-light{background:#F6F5F1;color:#192436;min-height:48px}
#app .patient-app .pt-actions{display:flex;gap:10px;flex-wrap:wrap}
#app .patient-app .pt-status{margin:0;font:400 15px/21px Inter,system-ui,sans-serif;color:#192436}
#app .patient-app .pt-status a,#app .patient-app .pt-done a{color:#8E2424;font-weight:600}
#app .patient-app .pt-week{display:flex;align-items:center;gap:8px;padding:0 4px;min-width:0}
#app .patient-app .pt-week-title{flex:none;font:600 13px Inter,system-ui,sans-serif;color:#4A5366}
/* Seven equal columns that shrink with the screen (320 px phones included). */
#app .patient-app .pt-week-days{flex:1;min-width:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
#app .patient-app .pt-week-day{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;font:600 13px Inter,system-ui,sans-serif;color:#4A5366;border-radius:8px;padding:2px 0}
#app .patient-app .pt-week-day svg{width:100%;max-width:34px;height:auto}
#app .patient-app .pt-week-day.pt-today{color:#192436;background:#E9F0EF}
#app .patient-app .pt-notes{list-style:none;margin:0;padding:0;display:grid}
#app .patient-app .pt-notes li{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid #EFEDE7;font:400 17px/24px Inter,system-ui,sans-serif}
#app .patient-app .pt-notes small{font:600 13px Inter,system-ui,sans-serif;color:#1B605C}
#app .patient-app .pt-note-form{display:grid;gap:10px}
#app .patient-app .pt-note-form textarea,#app .patient-app .pt-input{width:100%;box-sizing:border-box;border:1px solid #7E8798;border-radius:12px;padding:12px;font:400 17px/24px Inter,system-ui,sans-serif;color:#192436;background:#fff}
#app .patient-app input.pt-input{min-height:48px;max-width:200px}
/* Plan */
#app .patient-app .pt-plan-progress{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#app .patient-app .pt-squares{display:flex;flex-wrap:wrap;gap:4px}
#app .patient-app .pt-sq{width:14px;height:14px;border-radius:4px;background:#EFEDE7;box-sizing:border-box}
#app .patient-app .pt-sq[data-state="done"]{background:#192436}
#app .patient-app .pt-sq[data-state="today"]{border:2px solid #237873;background:#fff}
#app .patient-app .pt-days{list-style:none;margin:0;padding:0;display:grid}
#app .patient-app .pt-days>li{border-top:1px solid #EFEDE7}
#app .patient-app .pt-days>li:first-child{border-top:0}
#app .patient-app .pt-day-row{width:100%;display:flex;align-items:center;gap:12px;padding:12px 4px;min-height:56px;border:0;background:none;text-align:left;font:inherit;color:#192436;box-sizing:border-box}
#app .patient-app button.pt-day-row{cursor:pointer;border-radius:12px;background:#E9F0EF}
#app .patient-app .pt-day-row[data-state="later"],#app .patient-app .pt-day-row[data-state="skipped"]{color:#4A5366}
#app .patient-app .pt-dn{flex:none;width:32px;height:32px;border-radius:999px;display:flex;align-items:center;justify-content:center;font:600 13px Inter,system-ui,sans-serif;background:#EFEDE7;color:#33425E}
#app .patient-app .pt-dn[data-state="done"]{background:#192436;color:#F6F5F1}
#app .patient-app .pt-dn[data-state="today"]{background:#fff;box-shadow:inset 0 0 0 2px #1B605C;color:#1B605C}
#app .patient-app .pt-day{display:grid;gap:12px;padding:12px 4px 16px}
#app .patient-app .pt-cards{display:grid;gap:10px}
#app .patient-app .pt-story-card{margin:0;padding:14px 16px;border-radius:16px;background:#F6F5F1;font:400 17px/26px Inter,system-ui,sans-serif;color:#192436}
#app .patient-app .pt-from{margin:0;padding:12px 16px;border-radius:16px;background:#E9F0EF;font:400 17px/24px Inter,system-ui,sans-serif;display:grid;gap:4px}
#app .patient-app .pt-from strong{font-size:13px;color:#1B605C}
#app .patient-app .pt-practice{padding:12px 16px;border-radius:16px;border:1px dashed #CFCAC0;display:grid;gap:8px;font:400 17px/24px Inter,system-ui,sans-serif}
#app .patient-app .pt-practice p{margin:0}
#app .patient-app .pt-question{border:0;margin:0;padding:0;display:grid;gap:10px}
#app .patient-app .pt-scale-ends{display:flex;justify-content:space-between;margin:0;font:400 15px Inter,system-ui,sans-serif;color:#4A5366}
#app .patient-app .pt-media{font:600 15px/21px Inter,system-ui,sans-serif;color:#1B605C}
#app .patient-app .pt-done{margin:0;padding:12px 16px;border-radius:12px;background:#E9F0EF;font:600 17px/24px Inter,system-ui,sans-serif;color:#1B605C}
/* The next-session card: "I'll be there", done, and the online link */
#app .patient-app [data-session-confirm-slot]{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#app .patient-app [data-session-confirm-slot]:empty{display:none}
#app .patient-app .pt-confirmed{display:inline-flex;align-items:center;gap:8px;margin:0;font:600 15px Inter,system-ui,sans-serif;color:#1B605C}
/* Journey */
#app .patient-app .pt-legend{display:flex;gap:16px;margin:0;font:600 13px Inter,system-ui,sans-serif;color:#4A5366}
#app .patient-app .pt-legend span{display:inline-flex;align-items:center;gap:6px}
#app .patient-app .pt-journey{list-style:none;margin:0;padding:0;position:relative}
#app .patient-app .pt-journey::before{content:"";position:absolute;left:19px;top:14px;bottom:28px;width:2px;background:#192436}
#app .patient-app .pt-jses{display:flex;align-items:center;gap:10px;min-height:32px;position:relative}
#app .patient-app .pt-jnode{flex:none;width:14px;height:14px;border-radius:999px;background:#192436;margin:0 13px;box-shadow:0 0 0 4px #F6F5F1}
#app .patient-app .pt-jboat{flex:none;width:40px;display:flex;justify-content:center;background:#F6F5F1;position:relative}
#app .patient-app .pt-jdate{flex:none;font:600 13px Inter,system-ui,sans-serif;color:#4A5366}
#app .patient-app .pt-jtitle{font:600 17px/24px Inter,system-ui,sans-serif;color:#192436}
#app .patient-app .pt-jweek{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin:4px 0 12px 40px;padding:8px 4px;background:#fff;border:1px solid #E5E2DA;border-radius:16px}
#app .patient-app .pt-jcell{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 0;border-radius:10px;font:600 13px Inter,system-ui,sans-serif;color:#4A5366}
#app .patient-app .pt-jcell.pt-today{background:#E9F0EF;color:#192436}
#app .patient-app .pt-jnext .pt-jtitle{font-family:Newsreader,Georgia,serif;font-weight:500;font-size:19px}
/* The opening */
.pt-opening{position:fixed;inset:0;z-index:100;background:#F6F5F1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;transition:opacity .4s ease;cursor:pointer}
.pt-opening svg{width:min(390px,100vw);height:auto}
.pt-opening-word{font:500 32px Montserrat,Inter,sans-serif;color:#192436;letter-spacing:-.01em}
.pt-opening-word b{font-weight:600}
.pt-opening-out{opacity:0}
@media (prefers-reduced-motion:reduce){.pt-opening{transition:none}}

/* The chat's permissions in one card (patient-portal.js askStart): one tap, each full text folded. */
#app .patient-app .pa-start{display:grid;gap:12px}
#app .patient-app .pa-start h3{margin:0;font:500 22px/28px Newsreader,Georgia,serif;color:#192436}
#app .patient-app .pa-start>p{margin:0;font:400 17px/24px Inter,system-ui,sans-serif;color:#192436}
#app .patient-app .pa-start-list{list-style:none;margin:0;padding:0;display:grid}
#app .patient-app .pa-start-item{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid #EFEDE7}
#app .patient-app .pa-start-item:first-child{border-top:0}
#app .patient-app .pa-start-item input{flex:none;width:24px;height:24px;margin:2px 0 0;accent-color:#1B605C}
#app .patient-app .pa-start-dot{flex:none;width:10px;height:10px;margin-top:8px;border-radius:999px;background:#1B605C}
#app .patient-app .pa-start-item div{display:grid;gap:4px;min-width:0}
#app .patient-app .pa-start-item strong{font:600 17px/24px Inter,system-ui,sans-serif;color:#192436}
#app .patient-app .pa-start-item span{font:400 15px/21px Inter,system-ui,sans-serif;color:#4A5366}
#app .patient-app .pa-start-item summary{min-height:44px;display:flex;align-items:center;font:600 15px Inter,system-ui,sans-serif;color:#1B605C;cursor:pointer}
#app .patient-app .pa-start .action-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#app .patient-app .pa-start .button{min-height:52px;font-size:17px}
#app .patient-app .pa-start .text-link{min-height:48px;font-size:15px}
/* Shared with the clinician's view (bb, DESIGN_SPEC): one main button in ink, radius 12. */
#app .patient-app .pa-start .button-primary{flex:1 1 100%;background:#192436;border-color:#192436;color:#fff;border-radius:12px}
#app .patient-app .pa-start .quiet-note a{color:#8E2424;font-weight:600}

/* The session card (patient-portal.js loadNextStep) at a third of the screen or less: day and time on one
   line, "With …" under them, and the two buttons the same size side by side (DESIGN_SPEC §4b). */
#app .patient-app #patientNextStep .patient-next-grid>.patient-next-visit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:8px;row-gap:2px;padding:16px;border-radius:22px}
#app .patient-app .patient-next-visit .patient-next-label{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#app .patient-app .patient-next-visit .patient-next-day{grid-column:1;align-self:center}
#app .patient-app .patient-next-visit .patient-next-day strong{font:500 20px/26px Newsreader,Georgia,serif}
#app .patient-app .patient-next-visit .patient-next-time{grid-column:2;justify-self:end;align-self:center;font:700 32px/36px Inter,system-ui,sans-serif;letter-spacing:-.02em}
#app .patient-app .patient-next-visit .patient-next-with{grid-column:1/-1}
#app .patient-app .patient-next-visit [data-session-confirm-slot]{grid-column:1;justify-self:stretch;min-width:0;margin-top:12px;display:flex;flex-direction:column;gap:8px}
#app .patient-app .patient-next-visit [data-session-confirm-slot]:empty{display:none}
#app .patient-app .patient-next-visit>.action-row{grid-column:2;justify-self:stretch;min-width:0;margin-top:12px;display:flex}
#app .patient-app .patient-next-visit [data-session-confirm-slot]:empty+.action-row{grid-column:1/-1}
#app .patient-app .patient-next-visit [data-session-confirm-slot] .pt-btn,#app .patient-app .patient-next-visit>.action-row .button{width:100%;min-height:48px;margin:0;padding:0 12px;border-radius:12px;font:600 15px Inter,system-ui,sans-serif}
#app .patient-app .patient-next-visit>.action-row .button{flex:1;background:transparent;border:1.5px solid #6B7A93;color:#fff}
#app .patient-app .patient-next-visit .pt-confirmed{color:#7CC7B8;min-height:48px}
#app .patient-app .patient-next-visit form,#app .patient-app .patient-next-visit #patientCantAttendDone,#app .patient-app .patient-next-visit>:not(.patient-next-label):not(.patient-next-day):not(.patient-next-time):not(.patient-next-with):not([data-session-confirm-slot]):not(.action-row){grid-column:1/-1}
#app .patient-app .pt-dots{display:inline-flex;gap:6px;align-items:center}
#app .patient-app .pt-dots i{width:10px;height:10px;border-radius:999px;box-sizing:border-box;border:2px solid #192436}
#app .patient-app .pt-dots i[data-on="true"]{background:#192436}
#app .patient-app .pt-wave{overflow:hidden}
#app .patient-app .pt-wave .pt-tags{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px 4px}
#app .patient-app .pt-wave .pt-tags::-webkit-scrollbar{display:none}
#app .patient-app .pt-wave .pt-chip{flex:none}
/* "I can't make it" in the session card: three taps, real times. */
#app .patient-app .pt-move{grid-column:1/-1;display:grid;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #2E3D57;color:#fff}
#app .patient-app .pt-move-title{margin:0;font:500 20px/26px Newsreader,Georgia,serif;color:#fff}
#app .patient-app .pt-move-sub{margin:-8px 0 0;font:400 15px/21px Inter,system-ui,sans-serif;color:#C9D1DE}
#app .patient-app .pt-move-options{display:grid;gap:8px}
#app .patient-app .pt-move-option,#app .patient-app .pt-move-ask{min-height:48px;border-radius:12px;border:1.5px solid #6B7A93;background:transparent;color:#fff;font:600 17px Inter,system-ui,sans-serif;cursor:pointer}
#app .patient-app .pt-move-ask{background:#F6F5F1;border-color:#F6F5F1;color:#192436}
#app .patient-app .pt-move-day{display:grid;gap:6px}
#app .patient-app .pt-move-day>span{font:600 13px Inter,system-ui,sans-serif;color:#C9D1DE}
#app .patient-app .pt-move-times{display:flex;flex-wrap:wrap;gap:8px}
#app .patient-app .pt-move-time{min-height:48px;min-width:76px;padding:0 14px;border-radius:12px;border:1.5px solid #6B7A93;background:transparent;color:#fff;font:600 17px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;cursor:pointer}
#app .patient-app .pt-move-time[aria-pressed="true"]{background:#F6F5F1;border-color:#F6F5F1;color:#192436}
#app .patient-app .pt-move-link{justify-self:start;min-height:48px;padding:0;border:0;background:none;color:#fff;font:600 15px Inter,system-ui,sans-serif;text-decoration:underline;cursor:pointer}
#app .patient-app .pt-move-note{display:grid;gap:6px;font:600 15px Inter,system-ui,sans-serif;color:#fff}
#app .patient-app .pt-move-note textarea{border:1px solid #6B7A93;border-radius:12px;padding:12px;font:400 17px/24px Inter,system-ui,sans-serif;color:#192436;background:#fff}
#app .patient-app .pt-move-status{margin:0;font:400 15px/21px Inter,system-ui,sans-serif;color:#fff}
#app .patient-app .pt-move-status a{color:#FBF1F1;font-weight:700}
#app .patient-app .pt-move :is(button,textarea):focus-visible{outline:2px solid #7CC7B8;outline-offset:2px}
#app .patient-app .pt-moving{margin:0;font:600 15px/21px Inter,system-ui,sans-serif;color:#7CC7B8}
/* The drawn Today (MINDELINE_FLAGS.patientArtboards, patient-today.js): the artboard covers the phone below the demo bar (its light DOM is empty, hence the !important over .pa-view>div:empty); the rest of the view waits hidden for the screens not drawn yet, which open in a sheet. */
#app .patient-app .pt-art{display:block!important;position:fixed;left:0;right:0;top:var(--pt-top,0px);bottom:0;height:auto;z-index:40;background:#F6F5F1}
#app .patient-app [data-patient-view].pt-art-on>:not(.pt-art):not(.pt-art-live){display:none!important}
#app .patient-app .pt-art-live{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.pt-art-lock{overflow:hidden}
#app .patient-app .pt-sheet{width:100%;max-width:520px;height:100%;max-height:100%;margin:0 auto;padding:12px 16px 24px;border:0;box-sizing:border-box;background:#F6F5F1;overflow-y:auto}
#app .patient-app .pt-sheet::backdrop{background:rgba(25,36,54,.4)}
#app .patient-app .pt-sheet-bar{display:flex;margin-bottom:8px}

/* The patient app at phone size on a wide screen (tablet, computer): a 390 px column, the size the artboards are drawn for, centered over a quiet neutral. Fixed bars and top-layer dialogs measure from the window, so each one is brought into the column here. At 600 px or less none of this applies. */
@media (min-width:601px){
  body.patient-app-open{background:#E5E2DA}
  html:has(body.patient-app-open){scrollbar-width:none}
  body.patient-app-open .app-shell,body.patient-app-open .main-area,body.patient-app-open #app.page-content{background:transparent}
  #app .patient-app{width:390px;max-width:390px;min-height:100vh;background:#F6F5F1;box-shadow:0 0 0 1px #D8D4CA}
  #app .patient-app .pt-art,#app .patient-app .pa-tabs,.pt-opening{left:calc(50% - 195px);right:calc(50% - 195px)}
  .pt-notice{left:calc(50% - 179px)!important;right:calc(50% - 179px)!important;max-width:none!important}
  body.patient-app-open .toast{right:calc(50% - 171px);max-width:366px}
  /* The demo bar runs the width of the window above the column, as the staff's does. */
  body.demo-mode #app .patient-app{padding-top:56px}
  #app .patient-app .pa-demo{position:fixed;top:0;left:0;right:0;z-index:50;margin:0;flex-wrap:nowrap}
  body.demo-mode .pt-opening{top:40px}
  /* Dialogs: width and shade inside the column. */
  #app .patient-app .pt-form{left:calc(50% - 195px)!important;right:auto!important;width:390px!important}
  #app .patient-app .pt-sheet{max-width:390px;scrollbar-width:none}
  #app .patient-app .pt-sheet::backdrop{background:transparent}
  body.demo-mode #app .patient-app .pt-sheet{top:40px;height:calc(100% - 40px);max-height:calc(100% - 40px)}
  body.patient-app-open .modal::backdrop{left:calc(50% - 195px);right:calc(50% - 195px)}
  body.demo-mode.patient-app-open .modal::backdrop{top:40px}
  body.patient-app-open .action-dialog{width:352px;padding:20px;scrollbar-width:none}
  body.patient-app-open .action-dialog__actions{flex-direction:column-reverse}
  body.patient-app-open .action-dialog__actions .button{width:100%;justify-content:center}
  body.patient-app-open .patient-ai-context .action-row{width:100%}
  body.patient-app-open .patient-ai-context .action-row .button{flex:1 1 0;justify-content:center}
  /* What a 390 px window gets from the other sheets' width queries, which measure the window and not the column. :where keeps each rule at its own weight. */
  :where(body.patient-app-open) #app h1{font-size:25px;line-height:32px}
  :where(body.patient-app-open) #app h2{font-size:21px;line-height:28px}
  :where(body.patient-app-open) #app [class]{line-height:1.45}
  :where(body.patient-app-open) .action-row .button{flex:1 1 0;justify-content:center}
  :where(body.patient-app-open) .stat-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  :where(body.patient-app-open) .stat-card{padding:12px}
  :where(body.patient-app-open) .stat-card strong{font-size:18px}
  :where(body.patient-app-open) .participant-thread{max-height:360px}
  :where(body.patient-app-open) .appointment-card{grid-template-columns:1fr}
  :where(body.patient-app-open) .appointment-card>.agenda-task-actions{grid-column:1;grid-template-columns:1fr}
  :where(body.patient-app-open) .appointment-time{grid-template-columns:auto 1fr;align-items:center}
  :where(body.patient-app-open) :is(.patient-community-list,.patient-program-grid,.patient-course-list,.patient-preferences-form,.patient-info-list,.patient-learning-resource-grid,.patient-learning-filters,.patient-activity-plan-form){grid-template-columns:1fr}
  :where(body.patient-app-open) .patient-agenda-item{align-items:flex-start;flex-wrap:wrap}
  :where(body.patient-app-open) .patient-agenda-date{flex-basis:52px}
  :where(body.patient-app-open) .patient-activity-title{display:grid}
  :where(body.patient-app-open) :is(.patient-community-title,.patient-community-event){align-items:flex-start;flex-direction:column}
  :where(body.patient-app-open) .patient-program-row{align-items:flex-start;flex-wrap:wrap}
  :where(body.patient-app-open) .patient-questionnaire-head{display:grid}
  :where(body.patient-app-open) .patient-ai-message-own{max-width:96%}
  :where(body.patient-app-open) .patient-ai-actions .button{width:100%}
  :where(body.patient-app-open) .patient-call-slots .button{flex:1 1 calc(50% - 8px);justify-content:center}
  :where(body.patient-app-open) :is(.patient-planner-submit,.patient-activity-plan-form>p){grid-column:auto}
  :where(body.patient-app-open) .patient-learning-activity-list article{align-items:flex-start;flex-direction:column}
  :where(body.patient-app-open) .patient-reschedule form{align-items:flex-start;flex-direction:column}
  :where(body.patient-app-open) .patient-reschedule input{max-width:100%}
  :where(body.patient-app-open) .patient-personal-activity-actions .button{width:auto}
  :where(body.patient-app-open) .patient-week-grid{grid-template-columns:repeat(7,minmax(150px,1fr))}
  :where(body.patient-app-open) .patient-week-controls strong{min-width:110px;font-size:.75rem}
  :where(body.patient-app-open) .patient-ai-starters button{font-size:.72rem}
  :where(body.patient-app-open) .patient-checkin-history article>div{align-items:flex-start;flex-direction:column}
}
