/* Blue-and-white mobile UI refresh, inspired by the supplied app references. */
:root{--blue:#008bd2;--blue-dark:#006db5;--ink:#173b57;--muted:#7d96aa;--line:#e4eff7;--pale:#edf8ff}
.demo-stage{background:radial-gradient(ellipse at 54% 29%,#fff 0%,#edf7ff 45%,#deedf8 100%)}
.stage-copy h1{color:#154b74}.stage-tagline{color:#477796}
.phone-device{box-shadow:0 38px 90px #244d7529,0 10px 24px #2a57751a,0 0 0 1px #7894aa}
.phone-device .phone-statusbar{background:#f4faff}
.phone-device .workspace{padding-bottom:0;background:#f0f7fd}
.phone-device .topbar{height:59px;min-height:59px;padding:0 19px;background:#f4faff;border-bottom:0}
.phone-device .breadcrumb strong{font-size:13px;letter-spacing:.2px;color:#164966}
.phone-device .breadcrumb small{font-size:8px;color:#90a9bd}
.phone-device .topbar-actions{gap:10px}
.phone-device .topbar .mobile-scan-button{border-color:#deedf7;background:#fff;box-shadow:0 4px 10px #1472a309;border-radius:11px;width:33px;height:33px}
.phone-device .language-toggle{height:33px;min-width:36px;background:white;border-color:#deedf7;border-radius:11px;box-shadow:0 4px 10px #1472a307;font-size:11px}
.phone-device .profile-image-btn .hannah-portrait{width:30px;height:30px;box-shadow:0 0 0 2px #fff,0 0 0 3px #87cbed}
.phone-device .page{padding:21px 18px 117px;background:linear-gradient(180deg,#f4faff 0%,#edf6fd 400px,#f7fbff 100%)}
.phone-device .page-head{margin-bottom:21px}
.phone-device .page-head h1{font-size:27px;line-height:1.45;letter-spacing:-.9px;color:#183f5a}
.phone-device .page-head .muted{font-size:13px;line-height:1.8;color:#8ba0b1}
.phone-device .eyebrow{font-size:9px;letter-spacing:1.8px;color:#5a9bbd;font-weight:650}
.phone-device .card{border-radius:24px;border:1px solid #ffffff;background:#ffffffed;box-shadow:0 8px 28px #1c5f8b07,0 2px 6px #21658e03;padding:21px}
.phone-device .card h2{color:#214a66;font-weight:630}
.phone-device .section-title h2{font-size:17px}
.phone-device .section-title{margin-bottom:18px}
.phone-device .badge{border-radius:9px;background:#f2f9ff;border:1px solid #e5f1fa;color:#4999c3}
.phone-device .btn{border-radius:13px;min-height:45px;font-size:14px;font-weight:600}
.phone-device .btn-primary{background:linear-gradient(125deg,#0899dc,#0078c4);box-shadow:0 7px 15px #007ec51a}
.phone-device .btn-secondary{border-color:#dcecf7;background:#fff;box-shadow:0 2px 4px #1b5b8004}
.phone-device .text-btn{font-size:12px;color:#168dca}
.phone-device .btn:active,.phone-device .quick-action:active,.phone-device .context-card:active{transform:scale(.98)}
.phone-device .main-column,.phone-device .side-column,.phone-device .dashboard-grid{gap:18px}

/* The greeting and home actions take cues from the reference dashboard. */
.phone-device .home-greeting{display:flex;align-items:center;justify-content:space-between;gap:13px;margin:0 0 21px;padding:2px 3px}
.phone-device .home-greeting-copy{min-width:0}
.phone-device .home-greeting .eyebrow{margin-bottom:7px}
.phone-device .home-greeting h1{font-size:28px;line-height:1.35;margin:0 0 7px;letter-spacing:-1px;font-weight:650}
.phone-device .home-greeting .muted{font-size:13px;line-height:1.6;margin:0;color:#8ca3b5;max-width:245px}
.phone-device .home-greeting-avatar{padding:5px;border:1px solid #bce1f5;border-radius:50%;background:linear-gradient(140deg,#fff,#eaf6ff);box-shadow:0 5px 15px #2388bc0c;flex-shrink:0}
.phone-device .home-greeting-avatar .hannah-portrait{width:46px;height:46px;box-shadow:0 0 0 3px #fff}
.phone-device .hero{border-radius:25px;min-height:266px;padding:25px 22px;background:linear-gradient(125deg,#007fc9 0%,#008ed7 56%,#1ba5df 100%);box-shadow:0 12px 24px #0075bc20;border:1px solid #58b7e61f;isolation:isolate}
.phone-device .hero:after{content:"";position:absolute;width:295px;height:295px;border:1px solid #b9eaff24;border-radius:50%;top:-70px;right:-150px;box-shadow:0 0 0 29px #b9eaff08,0 0 0 58px #b9eaff08;z-index:0;pointer-events:none}
.phone-device .hero-copy{width:75%;align-self:center;z-index:2}
.phone-device .hero .hero-kicker{font-size:9px;letter-spacing:2px;color:#b6e9ff;margin-bottom:17px}
.phone-device .hero h2{font-size:26px;line-height:1.4;letter-spacing:-.7px;font-weight:610;max-width:190px;margin-bottom:12px;color:#fff}
.phone-device .hero p{font-size:13px;line-height:1.85;max-width:171px;color:#d2efff;margin-bottom:19px}
.phone-device .hero .btn{background:white;color:#077db9;min-height:41px;padding:10px 13px;font-size:12px;border-radius:12px;box-shadow:0 7px 15px #006dad1a}
.phone-device .hero .btn .icon{width:16px;height:16px}
.phone-device .hero-note{font-size:8px;color:#b9e8fc;line-height:1.65;margin-top:12px;max-width:190px}
.phone-device .hero-art{right:-9px;top:11px;width:44%;height:96%;opacity:1;z-index:1}
.phone-device .hero-hannah{background-size:320% auto;background-position:100% 0%;mask-image:linear-gradient(to bottom,#000 84%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 84%,transparent 100%)}
.phone-device .hero .scan-label{background:#0278bc77;border:1px solid #b3e5ff25;border-radius:7px;right:18px;bottom:11px;letter-spacing:1px;font-size:7px}
.phone-device .quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.phone-device .quick-action{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:132px;padding:17px 16px 15px;gap:5px;border-radius:22px;border:1px solid #fff;background:linear-gradient(145deg,#fff,#f9fcff);box-shadow:0 5px 15px #1b63860a;color:#315a75;text-align:left;overflow:hidden;transition:transform .18s,box-shadow .18s}
.phone-device .quick-action:hover{box-shadow:0 8px 19px #1b638614}
.phone-device .quick-icon{height:37px;width:37px;display:grid;place-items:center;border-radius:13px;background:#ecf7ff;color:#0b90ce;margin-bottom:6px;box-shadow:inset 0 0 0 1px #fff}
.phone-device .quick-icon .icon{width:22px;height:22px;stroke-width:1.55}
.phone-device .quick-title{font-size:15px;font-weight:620;line-height:1.45;position:relative;z-index:1}
.phone-device .quick-desc{font-size:11px;line-height:1.65;color:#8aa2b3;position:relative;z-index:1}
.phone-device .quick-action:first-child{background:linear-gradient(135deg,#139edf,#007ec8);color:#fff;border-color:#5dbbe81f;box-shadow:0 8px 20px #0785c527}
.phone-device .quick-action:first-child:after{content:"";position:absolute;width:104px;height:104px;border:1px solid #ffffff1f;border-radius:50%;right:-35px;top:-23px;box-shadow:0 0 0 17px #ffffff08}
.phone-device .quick-action:first-child .quick-icon{background:#ffffff20;color:white;box-shadow:inset 0 0 0 1px #ffffff2b}
.phone-device .quick-action:first-child .quick-desc{color:#c3edff}

/* Weather-like horizontal capsules are user-selected demo contexts. */
.phone-device .context-section{min-width:0;padding:2px 0}
.phone-device .context-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 2px 13px}
.phone-device .context-heading h2,.phone-device .context-heading h3{font-size:17px;font-weight:630;margin:0;color:#315874}
.phone-device .context-heading .muted,.phone-device .context-heading small{font-size:10px;color:#94abba}
.phone-device .context-scroll{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:1px 1px 12px;scroll-snap-type:x proximity;min-width:0}
.phone-device .context-scroll::-webkit-scrollbar{display:none}
.phone-device .context-card{flex:0 0 183px;display:flex;align-items:center;gap:11px;background:linear-gradient(135deg,#f5fcff,#e3f4ff);border:1px solid #fff;border-radius:21px;padding:15px 13px;text-align:left;color:#326d96;box-shadow:0 5px 12px #20648e06;scroll-snap-align:start;transition:transform .18s}
.phone-device .context-card:nth-child(2){background:linear-gradient(135deg,#edf8ff,#d9efff)}
.phone-device .context-card:nth-child(3){background:linear-gradient(135deg,#fff,#ebf6ff)}
.phone-device .context-icon{height:39px;width:39px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#ffffffb8;color:#2896cd;box-shadow:0 3px 7px #0979b60a}
.phone-device .context-icon .icon{height:24px;width:24px;stroke-width:1.45}
.phone-device .context-text{min-width:0}
.phone-device .context-text strong{display:block;font-size:14px;font-weight:600;line-height:1.45;color:#34769c;margin-bottom:5px}
.phone-device .context-text small{display:block;font-size:10px;line-height:1.55;color:#82a6bd}

/* The dial reflects completed care tasks, not an invented health score. */
.phone-device .care-dial-card{overflow:hidden;background:linear-gradient(140deg,#fff 50%,#eff9ff);position:relative}
.phone-device .care-dial-card:before{content:"";position:absolute;width:165px;height:165px;right:-105px;top:-105px;border:25px solid #e5f5ff70;border-radius:50%;pointer-events:none}
.phone-device .care-dial-layout{display:flex;align-items:center;justify-content:space-between;gap:19px;padding-top:3px}
.phone-device .care-dial{width:143px;height:143px;position:relative;display:block;padding:0;background:transparent;border-radius:50%;flex-shrink:0;color:#168ac6}
.phone-device .care-dial:before{content:"";position:absolute;inset:20px;border-radius:50%;background:linear-gradient(145deg,#fff,#eaf7ff);box-shadow:0 7px 17px #1586bd0d,inset 0 1px 1px #fff}
.phone-device .care-dial>svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible;position:relative;z-index:1}
.phone-device .care-dial circle{fill:none;stroke-width:7}
.phone-device .care-dial circle.bg{stroke:#e5f2fa}
.phone-device .care-dial circle.value{stroke:#0b96d6;stroke-linecap:round;filter:drop-shadow(0 3px 4px #008bd21a);transition:stroke-dasharray .3s}
.phone-device .care-dial-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:2}
.phone-device .care-dial-center b{font-size:31px;font-weight:600;letter-spacing:-1px;line-height:1.2;color:#127db8}
.phone-device .care-dial-center b em{font-size:15px;font-style:normal;font-weight:500;letter-spacing:0;color:#a2bfd1;margin-left:3px}
.phone-device .care-dial-center small{font-size:10px;color:#8aabbe;margin-top:6px}
.phone-device .care-dial-stats{flex:1;min-width:0;display:grid;gap:15px}
.phone-device .care-stat{display:grid;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:5px 6px}
.phone-device .care-stat>.icon{grid-row:1;grid-column:1}
.phone-device .care-stat>span{grid-row:1;grid-column:2}
.phone-device .care-stat>strong,.phone-device .care-stat>b{grid-column:2}
.phone-device .care-dial-stats>p{font-size:10px;line-height:1.6;color:#9cb1bf;margin:0}
.phone-device .care-stat>span,.phone-device .care-stat>small{font-size:11px;color:#95abba;line-height:1.5}
.phone-device .care-stat>b,.phone-device .care-stat>strong{font-size:16px;font-weight:600;color:#437591;line-height:1.5}
.phone-device .care-stat .icon{width:14px;height:14px;margin-right:5px;color:#78b4d3}
.phone-device .journey-strip{width:100%;display:flex;align-items:center;gap:12px;padding:17px 15px;background:linear-gradient(105deg,#e2f3ff,#edf8ff);border:1px solid #fff;border-radius:23px;box-shadow:0 5px 14px #3a7c9e06;text-align:left;color:#367895;min-width:0}
.phone-device .journey-strip-icon{width:40px;height:40px;flex-shrink:0;border-radius:14px;background:#ffffffab;display:grid;place-items:center;box-shadow:0 3px 9px #408eb410;color:#1b98ce}
.phone-device .journey-strip-icon .icon{height:21px;width:21px}
.phone-device .journey-strip-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.phone-device .journey-strip-copy b{font-size:14px;font-weight:600;line-height:1.5}
.phone-device .journey-strip-copy small{font-size:10px;line-height:1.6;color:#83a6bb}
.phone-device .journey-strip-day{font-size:13px;font-weight:600;line-height:1.5;text-align:center;color:#0d8ac4;background:#ffffffb5;padding:8px 10px;border-radius:12px;min-width:47px;flex-shrink:0}
.phone-device .journey-strip-day small{display:block;font-size:9px;color:#a0bfce;font-weight:500}
.phone-device .context-heading .chip{font-size:9px;padding:5px 8px;border-radius:8px;background:#e7f4ff;color:#84acc6;font-weight:500}

/* Native-feeling controls, soft bubbles, pill tabs and a floating dock. */
.phone-device .routine-tabs{background:#eaf4fc;border-radius:15px;padding:5px;gap:4px;margin-bottom:12px}
.phone-device .routine-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;min-height:40px;border-radius:12px;font-size:13px;color:#86a1b4}
.phone-device .routine-tabs button .icon{width:16px;height:16px}
.phone-device .routine-tabs button.active{background:#fff;color:#128dca;box-shadow:0 3px 10px #2b7b9c0b}
.phone-device .routine-icon{border-radius:13px;background:#edf7ff;width:37px;height:40px;box-shadow:inset 0 1px 1px white}
.phone-device .routine-row{padding:14px 0;border-bottom-color:#edf4f9}
.phone-device .step-check{border-color:#deebf3;width:24px;height:24px;box-shadow:0 2px 3px #6599b005}
.phone-device .routine-row.completed .step-check{background:#1598d7;border-color:#1598d7;box-shadow:0 3px 8px #008bd21a}
.phone-device .card-bottom{border-top-color:#edf4f9}
.phone-device .conversation-banner{border-radius:22px;border:1px solid #fff;background:linear-gradient(140deg,#f0f9ff,#e1f2ff);box-shadow:0 5px 15px #1a669008}
.phone-device .chat-card{padding:0;border-radius:25px;background:#fff}
.phone-device .chat-header{padding:17px 15px;background:linear-gradient(100deg,#fff,#f0f9ff);border-bottom-color:#e9f2f8}
.phone-device .assistant-avatar{border-radius:12px;background:linear-gradient(140deg,#15a3df,#0079c1);box-shadow:0 5px 9px #0385c51c}
.phone-device .message-bubble{border-radius:5px 19px 19px 19px;background:#eef7fe;color:#46728f;box-shadow:0 3px 8px #2c6a8a04;font-size:14px;line-height:1.9}
.phone-device .message.user .message-bubble{border-radius:19px 5px 19px 19px;background:linear-gradient(130deg,#109bd9,#027fc4);color:white;box-shadow:0 5px 10px #0088c713}
.phone-device .chat-thread{background:linear-gradient(#fff,#f9fcff)}
.phone-device .quick-prompts{gap:7px}
.phone-device .quick-prompts button{border-radius:20px;border-color:#e1edf6;background:#fff;color:#6a9ab9;font-size:11px;padding:8px 11px}
.phone-device .chat-form{background:#fff;border-top-color:#eaf2f7;padding:13px 12px}
.phone-device .chat-input{border-radius:15px;background:#f0f7fd;min-height:44px}
.phone-device .send-btn{height:42px;width:42px;border-radius:14px}
.phone-device .memory-status,.phone-device .privacy-explainer,.phone-device .journey-callout{border-radius:15px}
.phone-device .field input,.phone-device .field textarea,.phone-device .field select{border-radius:14px;border-color:#e0edf6;background:#fafdff;min-height:46px}
.phone-device .scan-main{padding:14px}
.phone-device .scan-visual{border-radius:20px;background:radial-gradient(ellipse at 50% 30%,#fff,#e4f5ff 80%);border-color:#e1f0fa;box-shadow:inset 0 1px 1px #fff}
.phone-device .scan-frame{border-color:#93cee9;box-shadow:0 0 0 9px #ffffff80,0 0 0 10px #c4e7f54d,0 15px 35px #0c8bc20c;background:#e9f7ff}
.phone-device .scan-controls{padding:23px 8px 7px}
.phone-device .hannah-profile-card{background:linear-gradient(115deg,#fff,#eaf7ff);padding:23px}
.phone-device .hannah-profile-card>.hannah-portrait{box-shadow:0 0 0 3px white,0 0 0 4px #b2dcf2}
.phone-device .journey-days{gap:7px;background:#f0f7fc;border-radius:22px;padding:7px}
.phone-device .day-btn{border:0;border-radius:17px;background:transparent;padding:12px 3px;color:#8ca8bb;gap:8px}
.phone-device .day-btn.active{background:linear-gradient(160deg,#26a4db,#0783c9);box-shadow:0 5px 12px #128cc426;color:#dcf5ff}
.phone-device .day-btn.active .day-circle{background:#ffffff25;color:#fff}
.phone-device .day-btn.active strong,.phone-device .day-btn.active b{color:white}
.phone-device .day-btn.active small{color:#d1efff}
.phone-device .day-circle{background:#fff;box-shadow:0 2px 6px #2c729309}
.phone-device .score-btn{border-radius:15px;padding:14px 3px;border-color:#e7f1f7;background:#f7fbff}
.phone-device .score-btn.active{background:#edf9ff;border-color:#9dd6f0;box-shadow:0 3px 9px #1c99ca0b}
.phone-device .feedback-item{border:1px solid #e7f2f9;background:#f6fbff;border-radius:17px;padding:17px;box-shadow:none}
.phone-device .toggle-row .switch{box-shadow:inset 0 1px 3px #4b759216}
.phone-device .toggle-row input:checked+.switch{background:linear-gradient(110deg,#1da3d9,#0082c8)}
.phone-device .modal{border-radius:27px;box-shadow:0 17px 55px #0b426c25;border:1px solid #fff}
.phone-device .modal-backdrop{background:#1e5d8155;backdrop-filter:blur(7px)}
.phone-device .handover-summary{border-radius:18px;background:#f0f8fe}
.phone-device .mobile-nav{left:15px;right:15px;bottom:19px;height:66px;width:auto;padding:6px;gap:1px;align-items:center;border:1px solid #ffffffd9;border-radius:25px;background:#ffffffed;box-shadow:0 10px 28px #1b5b8420,0 2px 7px #1c5b8209;backdrop-filter:blur(18px)}
.phone-device .mobile-nav .nav-item{height:53px;border-radius:19px;gap:5px;min-width:0;padding:8px 3px 7px;color:#9bb0c0;font-size:9px;transition:background .18s,color .18s,transform .18s}
.phone-device .mobile-nav .nav-item .icon{height:20px;width:20px;stroke-width:1.6}
.phone-device .mobile-nav .nav-item.active{background:linear-gradient(140deg,#edf9ff,#ddf1ff);color:#008bd2;box-shadow:inset 0 1px 1px #fff}
.phone-device .mobile-nav .nav-item.active:before{display:none}
.phone-device .mobile-nav .nav-item:active{transform:scale(.94)}
.phone-device .phone-homebar{bottom:7px;height:4px;width:105px;background:#38566d}
#toast{bottom:12vh;border-radius:15px;background:#175d85;box-shadow:0 8px 24px #174b7a1e;font-size:12px}
html[lang="en"] .phone-device .hero-art{right:-9px;width:44%;opacity:1}
html[lang="en"] .phone-device .hero-copy{width:76%}
html[lang="en"] .phone-device .hero h2{font-size:23px;line-height:1.35;max-width:196px}
html[lang="en"] .phone-device .hero p{font-size:12px;max-width:169px;line-height:1.75}
html[lang="en"] .phone-device .hero-note{max-width:180px;font-size:8px}
html[lang="en"] .phone-device .home-greeting h1{font-size:28px}
html[lang="en"] .phone-device .home-greeting .muted{font-size:12px;max-width:230px}
html[lang="en"] .phone-device .quick-title{font-size:14px}
html[lang="en"] .phone-device .quick-desc{font-size:10px}
html[lang="en"] .phone-device .context-text strong{font-size:13px}
html[lang="en"] .phone-device .care-stat>b,html[lang="en"] .phone-device .care-stat>strong{font-size:14px}
html[lang="en"] .phone-device .journey-strip-copy b{font-size:13px}
html[lang="en"] .phone-device .journey-strip-day{font-size:11px}
html[lang="en"] .phone-device .day-btn strong{font-size:10px}
html[lang="en"] .phone-device .day-btn small{font-size:8px}
@media(max-width:500px){
  .phone-device .workspace{padding-bottom:0}
  .phone-device .topbar{height:61px;min-height:61px;padding:0 20px}
  .phone-device .page{padding:22px 19px calc(113px + env(safe-area-inset-bottom))}
  .phone-device .mobile-nav{left:17px;right:17px;bottom:calc(14px + env(safe-area-inset-bottom));height:67px;padding:6px;border-radius:25px}
  #toast{bottom:calc(104px + env(safe-area-inset-bottom))}
}
@media(max-width:365px){
  .phone-device .page{padding-left:15px;padding-right:15px}
  .phone-device .home-greeting h1{font-size:25px}
  .phone-device .home-greeting-avatar .hannah-portrait{width:39px;height:39px}
  .phone-device .hero{padding:23px 19px}
  .phone-device .hero h2{font-size:24px;max-width:175px}
  .phone-device .hero p{max-width:155px;font-size:12px}
  .phone-device .hero .btn{font-size:11px;padding:9px 11px}
  .phone-device .quick-action{padding:15px 13px;min-height:128px}
  .phone-device .care-dial{width:126px;height:126px}
  .phone-device .care-dial-layout{gap:15px}
  .phone-device .care-stat>b,.phone-device .care-stat>strong{font-size:14px}
  .phone-device .journey-strip{padding:15px 12px;gap:9px}
}
@media(prefers-reduced-motion:reduce){.phone-device *{transition:none!important}}
.phone-device .hero h2{font-size:24px;max-width:205px}html[lang="en"] .phone-device .hero h2{font-size:21px;max-width:212px}
.phone-device .plan-product-section,.phone-device .scan-product-section{margin:22px 0}.phone-device .product-chat-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:calc(100% - 28px);margin:0 14px 8px;padding:11px 13px;border:1px solid #deeff9;border-radius:12px;background:linear-gradient(120deg,#eff9ff,#f9fdff);color:#278dbd;text-align:left}.phone-device .product-chat-link>span{font-size:8px;letter-spacing:1px;color:#8aafc5}.phone-device .product-chat-link>b{font-size:11px;font-weight:550;line-height:1.6}.phone-device .review-share{display:block;text-align:center;width:100%;margin-top:14px}.phone-device .page-products .page-head>.btn{margin-top:16px;min-width:77px;font-size:11px;padding:9px 11px}.phone-device .page-products .page-head h1{font-size:24px}.phone-device .page-products .page-head>div{min-width:0;flex:1}.phone-device .page-products .page-head{align-items:flex-start}
.phone-device .page-privacy{container-type:inline-size}.phone-device .page-privacy .page-head h1{font-size:23px;font-size:clamp(18px,6.5cqw,23px);letter-spacing:-.7px;white-space:nowrap}html[lang="en"] .phone-device .page-privacy .page-head h1{font-size:25px;white-space:normal;letter-spacing:-.7px}
