:root {
  --ink:#3d2932;
  --muted:#88747c;
  --line:#eadedc;
  --surface:#fff;
  --canvas:#fff7f5;
  --coral:#c95f62;
  --coral-dark:#a9454d;
  --coral-soft:#fbe9e7;
  --rose:#a65478;
  --rose-soft:#f6eaf0;
  --gold:#ad7129;
  --gold-soft:#fff2df;
  --green:#477b69;
  --green-soft:#e8f2ed;
  --shadow:0 14px 40px rgba(91,52,65,.1);
}
*{box-sizing:border-box}
html{background:#eee1df}
body{margin:0;color:var(--ink);background:radial-gradient(circle at 50% -8%,#fff,transparent 34%),#eee1df;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
button{font:inherit;-webkit-tap-highlight-color:transparent}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-shell{position:relative;width:min(100%,480px);min-height:100vh;margin:0 auto;overflow:hidden;background:var(--canvas);box-shadow:0 0 60px rgba(91,52,65,.14)}
.topbar{height:72px;display:flex;align-items:center;gap:9px;padding:12px 20px 8px;background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
.brand-mark{width:32px;height:32px;position:relative;display:grid;place-items:center}.brand-mark span{position:absolute;width:12px;height:21px;border:2px solid var(--coral);border-radius:50%}.brand-mark span:nth-child(2){transform:rotate(60deg)}.brand-mark span:nth-child(3){transform:rotate(120deg)}
.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-size:16px;letter-spacing:-.02em}.brand-copy small{margin-top:5px;color:var(--muted);font-size:7px;font-weight:850;letter-spacing:.15em}
.language-button,.notification-button,.avatar,.status-card,.inline-action,.secondary-button,.suggestion-list button,.ask-button,.symptom-button,.primary-button,.nav-item,.sheet-close{border:0;background:transparent;color:inherit}
.language-button{margin-left:auto;padding:7px 8px;color:var(--coral);background:var(--coral-soft);border-radius:8px;font-size:8px;font-weight:900}.notification-button{position:relative;width:34px;height:34px;display:grid;place-items:center}.notification-button svg{width:20px}.notification-button span{position:absolute;top:0;right:-1px;min-width:16px;height:16px;display:grid;place-items:center;color:#fff;background:var(--coral);border:2px solid #fff;border-radius:9px;font-size:8px;font-weight:900}.avatar{width:36px;height:36px;border-radius:50%;color:#fff;background:linear-gradient(145deg,#8e4963,var(--coral));font-size:10px;font-weight:900}
.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:26px 20px 18px}.eyebrow{margin:0 0 6px;color:var(--coral);font-size:9px;font-weight:900;letter-spacing:.12em}.intro h1{margin:0;font:600 27px/1.12 Georgia,serif;letter-spacing:-.025em}.intro>div>p:not(.eyebrow){margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.privacy-pill{flex:0 0 auto;display:flex;align-items:center;gap:5px;padding:7px 8px;color:var(--green);background:var(--green-soft);border-radius:9px;font-size:7px;font-weight:850}.privacy-pill svg{width:15px}
.case-stage-pill{display:inline-block;margin-top:10px;padding:6px 9px;color:var(--coral-dark);background:var(--coral-soft);border-radius:8px;font-size:8px;font-weight:850}
.journey-card{margin:0 20px 18px;padding:17px;background:linear-gradient(135deg,#fff,#fff9f8);border:1px solid #ebcfcc;border-radius:21px;box-shadow:var(--shadow)}.journey-heading{display:flex;align-items:flex-end;justify-content:space-between}.journey-heading .eyebrow{margin-bottom:3px;font-size:7px}.journey-heading h2,.section-heading h2,.care-sheet h2{margin:0;font-size:18px;letter-spacing:-.02em}.journey-heading>span{color:var(--muted);font-size:7px}.journey-track{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:18px 0 14px}.journey-track::before,.journey-track::after{content:"";position:absolute;top:11px;height:2px;border-radius:2px}.journey-track::before{left:10%;right:10%;background:#e5d9d7}.journey-track::after{left:10%;width:40%;background:var(--coral)}.journey-track div{position:relative;z-index:1;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center}.journey-track i{width:22px;height:22px;display:grid;place-items:center;background:#f0e8e7;border:3px solid #fff;box-shadow:0 0 0 1px #ddd0ce;border-radius:50%;font-style:normal;font-size:8px;font-weight:900}.journey-track .done i{color:#fff;background:var(--coral);box-shadow:0 0 0 1px var(--coral)}.journey-track .done i::after{content:"";width:7px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);margin-top:-1px}.journey-track .current i{color:#fff;background:var(--rose);box-shadow:0 0 0 4px var(--rose-soft)}.journey-track span{margin-top:7px;color:var(--muted);font-size:6px;font-weight:850;line-height:1.15;white-space:normal}.journey-track b{display:none}.ai-cycle-note{display:grid;grid-template-columns:27px 1fr;gap:8px;margin-top:4px;padding:10px;background:var(--coral-soft);border-radius:12px}.ai-cycle-note>span{width:27px;height:27px;display:grid;place-items:center;color:#fff;background:var(--coral);border-radius:9px;font-size:8px;font-weight:900}.ai-cycle-note p{margin:0;color:#74565e;font-size:9px;line-height:1.45}.ai-cycle-note strong{color:var(--ink)}
.status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:0 20px 24px}.status-card{min-width:0;padding:11px 8px;background:#fff;border:1px solid var(--line);border-radius:14px;text-align:left}.status-card.active{color:#fff;background:var(--coral);border-color:var(--coral);box-shadow:0 8px 20px rgba(201,95,98,.2)}.status-card.warning:not(.active){border-color:#edc99f}.status-card strong{display:block;font:600 20px Georgia,serif}.status-card span{display:block;margin-top:4px;font-size:8px;font-weight:850}.status-card small{display:block;margin-top:2px;font-size:7px;opacity:.72}
.dashboard-grid{display:block}.content-section{padding:0 20px 26px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:12px}.section-heading .eyebrow{margin-bottom:3px;font-size:7px}.section-heading h2{font-size:20px}.plan-status,.new-pill,.available-dot{padding:5px 7px;border-radius:7px;font-size:7px;font-weight:900}.plan-status,.available-dot{color:var(--green);background:var(--green-soft)}.new-pill{color:var(--coral);background:var(--coral-soft)}
.action-list{display:flex;flex-direction:column;gap:8px}.action-card{display:grid;grid-template-columns:51px 35px 1fr;gap:10px;align-items:center;padding:13px;background:#fff;border:1px solid var(--line);border-radius:15px;text-align:left}.action-card.current-action{border-color:#dfa7a6;box-shadow:0 7px 18px rgba(201,95,98,.07)}.action-time{display:flex;flex-direction:column}.action-time strong{font-size:11px}.action-time span{margin-top:5px;color:var(--muted);font-size:7px}.current-action .action-time span{color:var(--coral);font-weight:850}.action-icon{width:35px;height:35px;display:grid;place-items:center;color:var(--coral);background:var(--coral-soft);border-radius:11px}.action-icon svg{width:19px}.action-copy h3{margin:0;font-size:11px}.action-copy p{margin:4px 0 0;color:var(--muted);font-size:8px;line-height:1.35}.verified-label{display:inline-block;margin-top:6px;color:var(--green);font-size:7px;font-weight:850}.inline-action{margin-top:6px;padding:3px 0;color:var(--coral);font-size:8px;font-weight:900}
.result-card,.companion-card,.safety-card,.clinic-card{padding:14px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 7px 18px rgba(91,52,65,.04)}.result-header{display:flex;justify-content:space-between;align-items:start;gap:8px}.result-header span{color:var(--muted);font-size:7px}.result-header h3{margin:4px 0 0;font-size:12px}.review-pill{padding:5px 6px;color:var(--gold)!important;background:var(--gold-soft);border-radius:7px;font-weight:850;white-space:nowrap}.result-values{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.result-values div{padding:9px;background:#fff9f8;border-radius:10px}.result-values span,.result-values small{display:block;color:var(--muted);font-size:7px}.result-values strong{display:block;margin:4px 0 2px;font:600 16px Georgia,serif}.plain-explanation{display:grid;grid-template-columns:27px 1fr;gap:8px;margin-top:11px;padding:11px;background:var(--coral-soft);border-radius:12px}.plain-explanation>span{width:27px;height:27px;display:grid;place-items:center;color:#fff;background:var(--coral);border-radius:9px;font-size:8px;font-weight:900}.plain-explanation p{margin:0;color:#74565e;font-size:9px;line-height:1.45}.result-boundary{display:grid;grid-template-columns:20px 1fr;gap:7px;margin-top:10px;padding:9px;background:var(--gold-soft);border-radius:10px}.result-boundary svg{width:19px;color:var(--gold)}.result-boundary p{margin:0;color:#785b38;font-size:8px;line-height:1.4}.secondary-button{width:100%;margin-top:11px;padding:11px;color:var(--coral);border:1px solid #e8c1bf;border-radius:11px;font-size:9px;font-weight:900}
.case-context-button{margin-top:7px}
.suggestion-list{display:flex;flex-direction:column;gap:7px}.suggestion-list button{width:100%;padding:11px;color:#664952;background:#fff9f8;border:1px solid #eedddb;border-radius:11px;text-align:left;font-size:9px}.ask-button{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:10px;padding:12px;color:#fff;background:var(--coral);border-radius:11px;font-size:10px;font-weight:900}.ask-button svg{width:18px}.companion-caption{margin:9px 0 0;color:var(--muted);font-size:7px;line-height:1.45;text-align:center}
.unified-care-card{display:flex;flex-direction:column;gap:10px}.unified-intake{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:12px;background:linear-gradient(135deg,#fff9f8,#f6eaf0);border:1px solid #ebcfcc;border-radius:14px;cursor:pointer}.intake-icon{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:var(--coral);border-radius:13px}.intake-icon svg{width:22px}.unified-intake strong{display:block;font-size:12px}.unified-intake p{margin:4px 0 0;color:var(--muted);font-size:9px;line-height:1.4}.care-team-strip{padding:10px;background:var(--green-soft);border-radius:12px}.team-call-link{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;color:inherit;text-decoration:none}.care-team-strip .team-row{grid-template-columns:35px 1fr}.care-team-strip .team-row>span{width:35px;height:35px;color:var(--green);background:#fff}.call-pill{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;color:#fff;background:var(--green);border-radius:10px;font-size:10px;font-weight:900}.call-pill svg{width:15px}.care-team-strip>p{margin:9px 0 0;color:#496b60;font-size:8px;line-height:1.4}
.companion-column>.team-row{display:none}
.safety-state{display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center}.safety-icon{width:40px;height:40px;display:grid;place-items:center;color:var(--green);background:var(--green-soft);border-radius:12px}.safety-icon svg{width:22px}.safety-state strong{font-size:10px}.safety-state p{margin:4px 0 0;color:var(--muted);font-size:7px}.symptom-button{width:100%;margin-top:11px;padding:11px;color:#fff;background:var(--rose);border-radius:11px;font-size:9px;font-weight:900}.urgent-note{margin-top:10px;padding:10px;background:#fff3ed;border-left:3px solid #d16f4f;border-radius:8px}.urgent-note strong{color:#9e4932;font-size:8px}.urgent-note p{margin:4px 0 0;color:#805d52;font-size:7px;line-height:1.4}
.team-row{display:grid;grid-template-columns:39px 1fr;gap:9px;align-items:center}.team-row>span{width:39px;height:39px;display:grid;place-items:center;color:var(--coral);background:var(--coral-soft);border-radius:12px;font-size:8px;font-weight:900}.team-row strong{font-size:10px}.team-row p{margin:4px 0 0;color:var(--muted);font-size:7px}.handoff-preview{margin-top:11px;padding:10px;background:var(--rose-soft);border-radius:11px}.handoff-preview span{color:var(--rose);font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.handoff-preview p{margin:5px 0 0;color:#765565;font-size:8px;line-height:1.4}.primary-button{width:100%;margin-top:10px;padding:11px;color:#fff;background:var(--coral);border-radius:11px;font-size:9px;font-weight:900}
.bottom-spacer{height:88px}.bottom-nav{position:fixed;z-index:20;left:50%;bottom:0;width:min(100%,480px);height:69px;display:grid;grid-template-columns:repeat(5,1fr);transform:translateX(-50%);padding:8px 8px max(8px,env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);backdrop-filter:blur(20px)}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#9b898f;font-size:7px;font-weight:800}.nav-item svg{width:19px}.nav-item.active{color:var(--coral)}
.modal-backdrop{position:fixed;z-index:50;inset:0;background:rgba(55,31,39,.5);backdrop-filter:blur(3px)}.care-sheet{position:fixed;z-index:60;left:50%;bottom:0;width:min(100%,480px);transform:translateX(-50%);padding:12px 25px 28px;background:#fff;border-radius:27px 27px 0 0;box-shadow:0 -20px 50px rgba(61,34,43,.2)}.sheet-handle{width:42px;height:4px;margin:0 auto 16px;background:#eadedc;border-radius:4px}.sheet-close{position:absolute;right:17px;top:17px;width:32px;height:32px;color:transparent;background:transparent;border-radius:50%;font-size:0}.sheet-back{position:absolute;left:17px;top:17px;padding:7px 9px;color:var(--coral);background:#fff9f8;border:1px solid var(--line);border-radius:10px;font-size:10px;font-weight:900}.sheet-icon{width:56px;height:56px;display:grid;place-items:center;margin:2px auto 14px;color:#fff;background:var(--coral);border:8px solid var(--coral-soft);border-radius:50%;font-size:18px}.care-sheet{text-align:center}.care-sheet .eyebrow{margin-top:0}.care-sheet h2{font-size:21px}.sheet-copy{margin:8px auto 14px;max-width:340px;color:var(--muted);font-size:10px;line-height:1.5}.sheet-options{display:flex;flex-direction:column;gap:7px;text-align:left}.sheet-option{padding:11px;background:#fff9f8;border:1px solid var(--line);border-radius:11px}.sheet-option strong{display:block;font-size:9px}.sheet-option span{display:block;margin-top:4px;color:var(--muted);font-size:8px}.sheet-primary,.sheet-secondary{width:100%;padding:13px;border-radius:12px;font-size:10px;font-weight:900}.sheet-primary{margin-top:12px;color:#fff;background:var(--coral);border:0}.sheet-secondary{margin-top:7px;color:var(--coral);background:#fff;border:1px solid #e8c1bf}.sheet-link-button{display:block;text-align:center;text-decoration:none}.urgent-sheet .sheet-icon{background:#d16f4f;border-color:#fbe7df}.urgent-sheet .sheet-primary{background:#d16f4f}
.sheet-textarea{width:100%;min-height:96px;margin:0 0 10px;padding:12px;color:var(--ink);background:#fff9f8;border:1px solid var(--line);border-radius:12px;resize:vertical;font:inherit;font-size:12px;line-height:1.45;text-align:left}.sheet-textarea:focus{outline:2px solid var(--coral-soft);border-color:#dfa7a6}
.intent-helper{margin:4px 0 7px;color:var(--muted);font-size:9px;font-weight:900;text-align:left;text-transform:uppercase;letter-spacing:.08em}.intent-selector{margin:0 0 10px}.intent-choice{width:100%;text-align:left}.intent-choice.active{color:#fff;background:var(--coral);border-color:var(--coral)}.intent-choice.active span{color:rgba(255,255,255,.82)}.answer-card{margin:10px 0;padding:13px;color:#5f424d;background:#fff9f8;border:1px solid var(--line);border-radius:12px;font-size:12px;line-height:1.55;text-align:left}.loading-answer{color:var(--muted);text-align:center}.rag-citations,.medical-disclaimer{margin:9px 0 0;color:var(--muted);font-size:9px;line-height:1.4;text-align:left}.medical-disclaimer{padding-top:8px;border-top:1px solid var(--line)}
.voice-record-button.recording{background:#d16f4f;box-shadow:0 0 0 5px #fbe7df}.voice-status{margin:10px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.voice-status.error{color:#a33f3f}
.toast{position:fixed;z-index:80;left:50%;bottom:85px;max-width:340px;transform:translate(-50%,20px);padding:11px 15px;color:#fff;background:#66414e;border-radius:12px;box-shadow:var(--shadow);font-size:10px;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}.filtered-out{display:none}
@media(min-width:768px){body{padding:24px}.app-shell{width:min(100%,1120px);min-height:calc(100vh - 48px);border-radius:28px}.topbar{padding-left:30px;padding-right:30px}.intro{padding:34px 30px 20px}.intro h1{font-size:34px}.journey-card{margin:0 30px 20px}.status-grid{padding:0 30px 26px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);column-gap:24px;padding:0 30px}.content-section{padding-left:0;padding-right:0}.primary-column,.companion-column{min-width:0}.companion-column{position:relative}.bottom-nav{bottom:24px;width:min(calc(100% - 48px),1120px);border-radius:0 0 28px 28px}.care-sheet{left:auto;right:32px;bottom:32px;width:440px;transform:none;border-radius:27px}.status-card{padding:14px}.action-card{min-height:91px}}
@media(min-width:1200px){.app-shell{width:min(100%,1280px);padding-left:84px}.bottom-nav{top:24px;bottom:24px;left:max(24px,calc((100vw - 1280px)/2));width:84px;height:auto;grid-template-columns:1fr;grid-template-rows:repeat(5,78px);align-content:center;transform:none;border-top:0;border-right:1px solid var(--line);border-radius:28px 0 0 28px;box-shadow:8px 0 24px rgba(91,52,65,.05)}.nav-item{font-size:8px}.nav-item svg{width:23px}.care-sheet{right:max(32px,calc((100vw - 1280px)/2 + 32px))}.dashboard-grid{grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr)}}
@media(max-width:370px){.intro,.content-section{padding-left:14px;padding-right:14px}.journey-card{margin-left:14px;margin-right:14px}.status-grid{padding-left:14px;padding-right:14px}.privacy-pill{display:none}}
@media(max-width:767px){.journey-heading{display:grid;grid-template-columns:1fr;gap:8px;align-items:start}.journey-heading>span{font-size:11px}.journey-track{margin:20px 0 18px;padding:0 10px}.journey-track::before{left:13%;right:13%}.journey-track::after{left:13%;width:37%}.journey-track i{width:24px;height:24px}.journey-track span{display:none}.ai-cycle-note{grid-template-columns:34px 1fr;gap:10px;padding:13px}.ai-cycle-note>span{width:34px;height:34px;border-radius:11px}.ai-cycle-note p{font-size:12px;line-height:1.55}}

/* Presentation readability pass for the patient companion demo. */
.brand-copy small,
.language-button,
.notification-button span,
.privacy-pill,
.case-stage-pill,
.journey-heading .eyebrow,
.journey-heading>span,
.journey-track i,
.journey-track span,
.ai-cycle-note>span,
.status-card span,
.status-card small,
.section-heading .eyebrow,
.plan-status,
.new-pill,
.available-dot,
.action-time span,
.verified-label,
.inline-action,
.result-header span,
.result-values span,
.result-values small,
.plain-explanation>span,
.secondary-button,
.suggestion-list button,
.unified-intake p,
.care-team-strip>p,
.companion-caption,
.safety-state p,
.urgent-note strong,
.urgent-note p,
.team-row>span,
.team-row p,
.handoff-preview span,
.handoff-preview p,
.primary-button,
.nav-item,
.sheet-option span {
  font-size: 10px;
}

.ai-cycle-note p,
.action-time strong,
.action-copy h3,
.action-copy p,
.plain-explanation p,
.result-boundary p,
.unified-intake strong,
.ask-button,
.safety-state strong,
.symptom-button,
.team-row strong,
.sheet-copy,
.sheet-option strong,
.sheet-primary,
.sheet-secondary,
.toast {
  font-size: 12px;
}

.intro>div>p:not(.eyebrow),
.result-header h3 {
  font-size: 13px;
}
