/* Shared patient experience: typography, touch targets and responsive surfaces. */
:root{--ui-ink:#183b43;--ui-muted:#526d73;--ui-line:#dfe8e7;--ui-surface:#fff;--ui-radius:22px;--ui-shadow:0 8px 30px #183b4307}
html{scroll-padding-block:24px 110px}
.skip-link{top:-100px}.skip-link:focus:not(:focus-visible){top:-100px}.skip-link:focus-visible{top:10px}
body{font-size:15px;line-height:1.75;background:#f3f6f5;color:var(--ui-ink)}
.app-shell{background:#fcfdfc}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
button:disabled{cursor:not-allowed}
:is(input,select,textarea):focus-visible{outline:2px solid var(--red);outline-offset:3px}
:is(.dark-btn,.outline-btn,.danger-btn,.text-btn,.wizard-back){min-height:46px;font-size:14px;line-height:1.6}
.dark-btn,.outline-btn{border-radius:14px;padding:11px 18px}
.dark-btn{box-shadow:0 4px 12px #173c4310}
.field>span{font-size:14px;font-weight:650;color:var(--ui-ink)}
.field small,.form-help,.medicine-help{font-size:12px;line-height:1.9;color:var(--ui-muted)}
.field :is(input,select,textarea),.search-box input{font-size:16px;min-height:50px;border-radius:13px}
.field textarea{line-height:1.9;min-height:106px}
.field input:disabled{background:#f1f5f4;color:#647875}
.field input[type=tel],.otp-input{direction:ltr;text-align:center;font-variant-numeric:tabular-nums}
.main{padding-bottom:32px}
.app-shell .main small{font-size:12px;line-height:1.85}
.app-shell .main time{font-size:12px;line-height:1.8}
.order-status-card h2{font-size:21px;line-height:1.8}.order-status-card p{font-size:13px;line-height:1.9}
.order-snapshot :is(p,dt,dd){font-size:13px;line-height:1.9}.order-snapshot-items b{font-size:14px;line-height:1.8}
.order-snapshot-items strong,.order-timeline-card li b{font-size:13px;line-height:1.8}
.track-step b{font-size:11px;line-height:1.8}.order-status-tools button{min-height:44px;font-size:13px}
.profile-dashboard :is(.profile-shortcuts b,.profile-menu b){font-size:14px}.profile-dashboard input{min-height:50px}
.product-drawer nav button>b{font-size:14px}.product-drawer .drawer-profile em{font-size:12px}.product-drawer .drawer-nav-title{font-size:12px}.product-drawer .drawer-foot span{font-size:11px}
.otp-resend{color:var(--red);width:100%;font-size:13px}.otp-resend:disabled{color:var(--ui-muted);opacity:1}
.page-heading{padding-block:25px 18px}
.page-heading h1{font-size:24px;letter-spacing:-.6px}
.topbar{border-bottom:1px solid #e7eeec;background:#ffffffed;backdrop-filter:blur(16px)}
.menu-btn,.topbar .notification-button{min-width:44px;min-height:44px}
.home-section-title h2{font-size:23px;line-height:1.6}
.home-section-title small,.home-section-title p{font-size:12px;line-height:1.9}
.home-greeting small{font-size:12px;color:var(--ui-muted)}
.home-greeting b{font-size:16px}
.home-search{height:54px;background:white;border-color:var(--ui-line);box-shadow:var(--ui-shadow)}
.home-search input{font-size:15px}
.home-command-actions .notification-button{min-width:48px;min-height:48px}
.product-hero{box-shadow:var(--ui-shadow)}
.product-hero .hero-kicker{font-size:12px}
.product-hero .hero-copy p{font-size:14px;line-height:1.95;max-width:36ch}
.product-hero .hero-copy h1{line-height:1.65;letter-spacing:-.7px}
.product-hero .hero-actions button{font-size:13px;min-height:44px}
.hero-dots button{position:relative;min-height:0;width:7px;height:7px;padding:0;box-sizing:border-box}
.hero-dots button::after{content:'';position:absolute;inset:-10px -5px}
.hero-dots button.active{width:26px}
.hero-dots{bottom:8px}
.service-card{border-radius:24px;box-shadow:var(--ui-shadow)}
.service-card .service-copy h3{font-size:22px;line-height:1.6}
.service-card .service-copy p{font-size:13px;line-height:1.95;color:var(--ui-muted)}
.service-card .service-copy>small,.service-card .service-copy>b{font-size:12px}
.active-order-entry b{font-size:15px}
.active-order-entry small{font-size:12px;line-height:1.9}
.care-path-grid article b,.home-assurance b{font-size:14px}
.care-path-grid article small,.home-assurance small{font-size:12px;line-height:1.9}
.product-info h3{font-size:14px;line-height:1.85}
.product-info p{font-size:12px;line-height:1.8}
.product-info strong{font-size:13px}
.product-card>[data-product-actions]{position:static;display:flex;justify-content:flex-end;align-items:center;min-height:54px;padding:0 12px 12px;inset:auto}
.product-card .add-mini{position:static;min-width:44px;min-height:44px}
.product-card .quantity-mini{height:auto;min-height:48px;min-width:130px;padding:2px;box-shadow:none}
.product-card .quantity-mini button{width:44px;height:44px}
.catalog-grid .product-art{grid-row:1/3}
.catalog-grid .product-card>[data-product-actions]{grid-column:2}
.product-info button,.product-qty button{min-width:44px;min-height:44px}
.order-start-hero h2,.page-dashboard-head h2{font-size:25px;line-height:1.65}
.order-start-hero p,.page-dashboard-head p{font-size:14px;line-height:1.9}
.order-choice-card .choice-copy p{font-size:14px;line-height:1.95}
.order-choice-card .choice-copy small,.order-choice-card .choice-copy b{font-size:13px}
.patient-wizard{max-width:800px;margin-inline:auto;box-shadow:var(--ui-shadow);border-radius:var(--ui-radius);scroll-margin-top:20px}
.wizard-header{padding:28px 30px 22px}
.wizard-header h2{font-size:25px;line-height:1.7;letter-spacing:-.6px}
.wizard-header p{font-size:14px;line-height:1.9;color:var(--ui-muted);margin-top:8px}
.wizard-header small{font-size:12px}
.wizard-header>strong{font-size:13px;white-space:nowrap;flex-shrink:0}
.wizard-panel{padding:26px 30px;min-height:0}
.wizard-step-labels{font-size:13px;padding-block:16px}
.wizard-step-labels .done{color:#137a61}
.wizard-actions{gap:14px;padding:18px 30px;border-top:1px solid var(--ui-line);background:#fff}
.wizard-safe-note{font-size:12px;line-height:1.9}
.wizard-back{padding-inline:12px}
.entry-block-heading h4,.selection-basket h3{font-size:17px}
.entry-block-heading p{font-size:13px;line-height:1.9}
.medicine-search input{font-size:16px}
.live-search-badge{font-size:11px}
.medicine-results button{min-height:58px;padding:14px}
.medicine-results button b{font-size:14px}
.medicine-empty{font-size:13px;padding:22px 14px;line-height:1.9}
.manual-medicine-entry summary{font-size:13px;min-height:48px;display:flex;align-items:center;gap:8px}
.medicine-selected-name b{font-size:14px;line-height:1.9}
.medicine-selected-name small,.medicine-form-field span{font-size:12px}
.medicine-selected select{font-size:16px;min-height:46px}
.medicine-quantity button,.medicine-remove{min-width:44px;min-height:44px}
.saved-address{padding:18px;border-radius:16px;min-height:110px;transition:border-color .15s,background .15s}
.saved-address b{font-size:14px}
.saved-address small{font-size:13px;line-height:1.9}
.saved-address.selected{border:2px solid var(--red);background:var(--blush)}
.address-section .subhead h3{font-size:18px}
.address-section .subhead small,.address-section .subhead>span{font-size:12px}
.address-section.has-saved-address:not(.editing-saved-address) .address-editor{display:none}
.address-edit-toggle{color:var(--red);margin-top:8px;text-align:right;padding:8px 0;background:transparent;border:0}
.location-tools{gap:12px}
.location-btn{min-height:46px;font-size:13px}
.location-preview{font-size:12px;line-height:1.9}
.address-section{margin-top:22px}.address-section .subhead p{margin:5px 0 0;font-size:13px;color:var(--ui-muted);line-height:1.9}
.address-section .saved-address-grid{margin-top:18px;gap:12px}.address-section .saved-address{padding:17px;gap:8px 10px;align-content:start;border-radius:18px;min-height:138px}
.address-section .saved-address>span{width:32px;height:32px;border-radius:10px;background:#f5f8f7;display:grid;place-items:center;grid-row:1/4}.address-section .saved-address{grid-template-columns:32px minmax(0,1fr)}
.address-section .saved-address b{display:flex;align-items:center;gap:8px;padding-left:18px;flex-wrap:wrap}.saved-address b em{font-size:10px;font-style:normal;font-weight:500;padding:2px 7px;border-radius:8px;background:#eef4f1;color:#496e62}
.address-section .saved-address small{white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.9;color:var(--ui-muted)}
.address-readiness{grid-column:2;display:flex;align-items:center;gap:5px;font-size:11px;font-style:normal;color:#8e6224}.address-readiness.is-ready{color:#287153}
.address-section .new-address{border-style:dashed;background:#fafcfb;align-content:center;min-height:100px}.address-section .new-address>.icon{grid-row:1/3;align-self:center;justify-self:center}
.address-section .saved-address:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.location-tools.address-location-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:18px;margin-top:16px;border:1px solid #eadfc7;background:#fffaf0;border-radius:18px}
.address-location-card[data-location-ready="true"]{background:#f3faf7;border-color:#d8e9df}.address-location-icon{width:44px;height:44px;background:#fff;border-radius:14px;display:grid;place-items:center;color:#a77430}
.address-location-card[data-location-ready="true"] .address-location-icon{color:#287153}.address-location-copy{min-width:0}.address-location-copy>b{font-size:14px}.address-location-copy>p{font-size:12px;line-height:1.95;margin:3px 0 6px;color:#607570}
.address-location-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.address-location-actions .map-open-btn{background:var(--ink);border-color:var(--ink);color:#fff;font-size:13px;min-height:46px;flex:1}
.address-location-actions .location-btn{background:#fff;border:1px solid #dbe5e1;color:var(--ui-ink);justify-content:center;flex:1}.address-location-card .location-preview a{color:#346c5b;text-decoration:none;display:inline-flex;align-items:center;gap:5px}.address-location-card .location-preview>span{color:#92733a;font-size:11px}
.address-section .address-editor{margin-top:15px;padding:18px;border:1px solid var(--ui-line);border-radius:17px;background:#fff}.address-edit-toggle{min-height:44px;font-size:13px}
.address-map-overlay{align-items:center;justify-content:center;padding:24px;z-index:90}.address-map-overlay .map-picker{width:min(720px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;border:1px solid #e1e9e5;box-shadow:0 24px 80px #16393233;border-radius:26px}
.map-picker>header{min-height:78px;flex:none;padding:12px 22px}.map-picker header small{font-size:11px}.map-picker header h3{font-size:19px;line-height:1.6}.map-picker header button{width:44px;height:44px;flex:none}
.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px 10px}.map-toolbar button,.map-toolbar select{min-height:46px;border:1px solid #dce7e2;border-radius:13px;background:#f5f9f7;padding:9px 12px;color:var(--ui-ink);font:inherit;font-size:13px}
.map-toolbar .map-current-location{display:flex;align-items:center;justify-content:center;gap:7px;flex:1}.map-toolbar label{max-width:45%;min-width:0}.map-toolbar select{width:100%;outline-color:var(--red)}
.map-guidance{margin:0;padding:0 22px 13px;color:var(--ui-muted);font-size:12px;line-height:1.9;min-height:36px}.map-picker .map-viewport{height:min(49dvh,410px);min-height:200px;flex:1 1 auto;direction:ltr;background-color:#e8efeb;background-image:linear-gradient(#dbe5df 1px,transparent 1px),linear-gradient(90deg,#dbe5df 1px,transparent 1px);background-size:40px 40px}
.map-picker .map-zoom button{width:44px;height:44px}.map-picker .map-zoom{right:14px;top:14px;border:1px solid #d8e2dc;border-radius:13px}.map-picker .map-center-pin{pointer-events:none;color:var(--red)}
.map-load-state{position:absolute;left:50%;bottom:42px;transform:translateX(-50%);width:max-content;max-width:90%;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;background:#ffffffed;z-index:4;box-shadow:0 4px 20px #173c4320;font-size:12px;direction:rtl;flex-wrap:wrap;text-align:center}
.map-load-state[hidden],.map-load-state [hidden]{display:none!important}.map-load-state button{border:0;background:var(--ink);color:white;min-height:40px;border-radius:10px;padding:8px 12px;font:inherit}.map-picker .map-credit{font:11px/1.6 Arial,sans-serif;padding:3px 6px;left:0;bottom:0;color:#34574b;background:#fffffff0}
.map-picker-foot{flex:none;padding:16px 22px 20px;gap:14px;background:#fff}.map-selection-state{display:flex;align-items:center;gap:10px}.map-selection-state>span{color:var(--red);flex:none}.map-selection-state>div{display:grid;gap:2px}.map-selection-state b{font-size:13px}.map-selection-state small{font-size:11px;color:var(--ui-muted);line-height:1.8}.map-picker-foot .dark-btn{margin:0;min-height:50px}
@media(max-width:700px){.address-section .saved-address-grid{grid-template-columns:1fr}.address-section .saved-address{min-height:100px;padding:15px}.address-location-actions{flex-direction:column}.address-map-overlay{padding:10px;align-items:center}.address-map-overlay .map-picker{max-height:calc(100dvh - 20px);border-radius:22px}.map-picker>header{padding:12px 16px;min-height:72px}.map-picker header h3{font-size:16px}.map-toolbar{padding-inline:14px;gap:8px}.map-toolbar button,.map-toolbar select{font-size:12px;padding-inline:8px}.map-guidance{padding-inline:16px;font-size:11px}.map-picker-foot{padding:14px 16px max(16px,env(safe-area-inset-bottom))}.map-picker .map-viewport{height:42dvh;min-height:160px}.map-picker-foot .dark-btn{font-size:14px}.address-section .address-editor{padding:14px}}
.friendly-hint,.decision-note{font-size:13px;line-height:1.95;padding:16px;border-radius:14px}
.dropzone{min-height:200px;padding:28px 20px}
.dropzone b{font-size:16px}
.dropzone small{font-size:12px}
.invoice-card,.waiting-card,.tracking-card{border-radius:var(--ui-radius);box-shadow:var(--ui-shadow)}
.invoice-head h3{font-size:19px;line-height:1.8}
.quote-items label{padding:16px;gap:12px;min-height:76px;border-radius:14px}
.quote-items b{font-size:15px;line-height:1.9}
.quote-items small{font-size:12px;line-height:1.85}
.quote-items input{width:22px;height:22px;accent-color:var(--red);flex-shrink:0}
.quote-items label:has(input:checked){background:var(--blush);border-color:var(--red)}
.quote-items .unavailable{opacity:1;background:#f4f6f5;color:#60716e}
.selection-summary{font-size:13px;line-height:1.9;color:var(--ui-muted);margin-block:18px}
.payment-options label:has(input:checked){border-color:var(--red);background:var(--blush)}
.payment-options b{font-size:15px}
.payment-options small{font-size:12px}
.payment-options input{width:20px;height:20px;accent-color:var(--red)}
.order-mini>div{font-size:14px;line-height:1.8;padding-block:13px}
.order-mini .grand{font-size:16px}
.patient-login-card h2{font-size:26px}
.patient-login-card header p{font-size:14px;line-height:2}
.login-security{font-size:12px;line-height:1.9}
.patient-login-card .otp-input{font-size:24px;letter-spacing:8px}
.empty-state p,.empty p{font-size:14px;line-height:1.95;max-width:44ch;margin-inline:auto}
.empty-state h2{font-size:22px;line-height:1.8}
.support-center-hero p,.support-faq .faq p{font-size:14px;line-height:2}
.support-faq summary{font-size:14px;min-height:56px;line-height:1.9}
.notification-copy small,.prescription-copy em{font-size:13px;line-height:1.9}
.notification-copy b,.prescription-copy b{font-size:15px}
.notification-copy time,.prescription-copy small{font-size:12px}
.form-feedback{border:1px solid #f0bcc6;background:#fff3f5;color:#9b2340;padding:12px 16px;border-radius:12px;font-size:14px;line-height:1.9;grid-column:1/-1}
.confirmation-overlay{display:grid;place-items:center;padding:20px}
.confirmation-dialog{width:min(100%,440px);background:#fff;border-radius:26px;padding:28px;box-shadow:0 24px 80px #102d3933}
.confirmation-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:var(--blush);color:var(--red)}
.confirmation-dialog h2{font-size:21px;margin:20px 0 8px}
.confirmation-dialog p{font-size:14px;color:var(--ui-muted);line-height:2;margin:0 0 24px}
.confirmation-actions{display:flex;gap:12px}
.confirmation-actions>button{flex:1}
.page-skeleton{max-width:900px;padding:32px 20px;display:grid;gap:22px;margin:auto;min-height:75vh;align-content:start}
.page-skeleton>div{background:linear-gradient(100deg,#edf2ef 25%,#f7faf8 50%,#edf2ef 75%);background-size:200% 100%;animation:skeleton-wave 1.6s ease-in-out infinite;border-radius:20px;height:80px}
.page-skeleton>div:nth-child(2){height:280px}.page-skeleton>div:nth-child(n+3){height:140px}
@keyframes skeleton-wave{to{background-position:-200% 0}}
@media(min-width:701px){.product-home{gap:36px;padding-top:8px}.patient-wizard .wizard-panel{min-height:280px}}
@media(max-width:700px){
  .main{padding-inline:16px}.page-heading{padding:22px 16px 16px}.page-heading h1{font-size:22px}
  .topbar{height:68px;padding-inline:16px}.bottom-nav{height:76px;padding-bottom:env(safe-area-inset-bottom)}
  .bottom-nav button{font-size:11px;min-height:48px}.bottom-nav button svg{width:23px;height:23px}
  .product-home{gap:24px;padding-top:8px}.home-command{gap:18px}.home-greeting b{font-size:14px}.home-greeting small{font-size:12px}
  .home-command-actions{gap:10px}.home-search{height:52px}.home-search input{font-size:16px}.home-greeting>span{width:42px;height:42px}
  .home-section-title h2{font-size:20px}.home-section-title small{font-size:12px}.home-section-title p{font-size:13px}
  .product-hero{height:332px;min-height:332px;border-radius:24px}
  .product-hero .hero-slide{height:332px;min-height:332px}
  .product-hero .hero-slide>img{width:100%;height:100%;object-position:65% center;opacity:.8}
  .product-hero .hero-copy{width:75%!important;padding:26px 18px 32px!important;background:transparent;height:100%;justify-content:center}
  .product-hero .hero-kicker{font-size:11px!important;padding:5px 9px}
  .product-hero .hero-copy h1{font-size:22px;line-height:1.65;margin-block:12px 8px}
  .product-hero .hero-copy p{font-size:12px;line-height:1.9;margin-bottom:14px}
  .product-hero .hero-actions{gap:8px;flex-wrap:wrap}.product-hero .hero-actions button{font-size:12px;padding:9px 12px}
  .hero-dots{bottom:4px}.service-launch-grid{gap:14px}
  .service-card{grid-template-columns:minmax(0,1fr) 104px;min-height:208px;padding:20px 16px;gap:8px}
  .service-card img{width:112px;height:126px}.service-card .service-copy h3{font-size:19px}
  .service-card .service-copy p{font-size:12px;margin-block:8px 10px}.service-card .service-copy>small,.service-card .service-copy>b{font-size:12px}
  .service-card .service-icon{width:40px;height:40px;margin-bottom:6px}
  .active-order-entry{padding:16px;gap:12px}.active-order-entry b{font-size:14px}.active-order-entry small{font-size:12px}
  .care-path{padding:22px 16px}.care-path-grid article{padding:16px;min-height:90px}.care-path-grid article b{font-size:14px}.care-path-grid article small{font-size:12px}
  .home-assurance article{padding:18px}.home-assurance b{font-size:14px}.home-assurance small{font-size:12px}
  .products-section .product-grid{grid-auto-columns:180px;gap:12px}.product-info{padding:14px}.product-info h3{font-size:14px}.product-info p{font-size:12px}
  .product-home .products-section .product-card{flex:0 0 180px;min-width:180px;width:180px}
  .order-start-hero h2,.page-dashboard-head h2{font-size:22px}.order-start-hero p,.page-dashboard-head p{font-size:13px}
  .order-choice-card{min-height:246px}.order-choice-card .choice-copy h3{font-size:21px}.order-choice-card .choice-copy p{font-size:13px}.order-choice-card .choice-copy b{font-size:13px}
  .patient-wizard{border-radius:22px;margin-bottom:12px;padding-bottom:0;overflow:visible}
  .wizard-header{padding:22px 18px 18px;gap:10px}.wizard-header h2{font-size:21px}.wizard-header p{font-size:13px}.wizard-header small{font-size:12px}
  .wizard-header>strong{font-size:12px}.wizard-panel{padding:22px 18px;min-height:0}.wizard-step-labels{font-size:12px}
  .wizard-actions{position:static;transform:none;width:auto;left:auto;bottom:auto;padding:18px;flex-wrap:wrap;border-radius:0 0 22px 22px;box-shadow:none}
  .patient-wizard .wizard-panel{padding-bottom:24px}
  .patient-wizard .wizard-actions{position:static;display:flex;transform:none;left:auto;right:auto;bottom:auto;width:auto;min-height:0;border-inline:0}
  .wizard-actions .wizard-safe-note{flex-basis:100%;font-size:12px;order:3}.wizard-actions .dark-btn{flex:1;font-size:14px;min-height:50px}
  .wizard-panel>.wizard-actions{padding:20px 0 0;margin-top:20px}.wizard-actions .wizard-back{font-size:13px}
  .entry-block-heading{align-items:start;gap:8px}.entry-block-heading h4{font-size:16px}.entry-block-heading p{font-size:12px}
  .live-search-badge{font-size:10px}.medicine-selected{gap:12px;padding:16px}.medicine-selected-name b{font-size:14px}
  .medicine-results button b{font-size:14px}.saved-address-grid{grid-template-columns:1fr}.saved-address{min-height:96px}
  .address-section .subhead{align-items:start;gap:8px}.address-section .subhead>span{display:none}
  .invoice-card,.waiting-card{padding:22px 18px}.invoice-head{gap:12px;flex-wrap:wrap}.invoice-head h3{font-size:18px}
  .quote-items label{display:flex;flex-wrap:wrap;gap:10px}.quote-items label>span{flex:1;min-width:170px}.quote-items label>strong{font-size:11px;margin-inline-start:32px}
  .invoice-actions{gap:10px;display:flex;flex-wrap:wrap}.invoice-actions>button{flex:1;min-width:120px;font-size:13px}.invoice-actions.three>[type=submit]{order:-1;flex-basis:100%}
  .patient-login-card{padding:26px 20px}.patient-login-card header h2{font-size:24px}.patient-login-card header p{font-size:14px}
  .support-center-hero h2{font-size:23px}.support-center-hero p{font-size:14px}.support-faq summary{font-size:14px}
  .toast{top:78px;font-size:13px;line-height:1.9;padding:13px 16px}.confirmation-dialog{padding:24px}
}
@media(prefers-reduced-motion:reduce){.page-skeleton>div{animation:none}*{scroll-behavior:auto!important}}

/* Feedback stays beside the action and never hides an unfinished form. */
.button-spinner{display:inline-block;width:19px;height:19px;flex:none;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:upmed-spin .8s linear infinite;vertical-align:middle}
button[aria-busy=true]{cursor:wait;opacity:.85;pointer-events:none}
.loading-state{display:grid;justify-items:center;align-content:center;gap:12px;min-height:240px;padding:32px 20px;text-align:center;color:var(--ink)}
.loading-state>b{font-size:16px}.loading-state>p{font-size:13px;color:var(--ui-muted);margin:0;line-height:1.9}
.loading-emblem{width:66px;height:66px;border-radius:22px;background:var(--blush);color:var(--red);position:relative;display:grid;place-items:center;margin-bottom:6px}
.loading-emblem>i{position:absolute;inset:-6px;border:2px solid transparent;border-block-start-color:var(--red);border-inline-end-color:var(--red);border-radius:26px;animation:upmed-spin 1.5s linear infinite}
.loading-lines{display:grid;gap:8px;width:min(250px,80%);margin-top:8px}
.loading-lines>i{height:9px;border-radius:20px;background:linear-gradient(100deg,#edf2ef 25%,#f9fcfa 50%,#edf2ef 75%);background-size:200% 100%;animation:skeleton-wave 1.6s ease-in-out infinite}
.loading-lines>i:nth-child(2){width:80%;justify-self:center}.loading-lines>i:last-child{width:55%;justify-self:center}
.medicine-detail-overlay{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;justify-content:stretch!important;padding:24px}
.modal-open .skip-link{display:none}
.medicine-detail-dialog{width:min(100%,520px);max-height:calc(100dvh - 48px);overflow:auto;background:#fff;border-radius:26px;padding:28px;box-shadow:0 24px 80px #102d3933;overscroll-behavior:contain}
.medicine-detail-dialog>header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:26px}
.medicine-detail-dialog header small{color:var(--red);font-size:12px}.medicine-detail-dialog h2{margin:6px 0 0;font-size:21px;line-height:1.8;overflow-wrap:anywhere}
.medicine-detail-dialog header button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;border:0;border-radius:14px;background:#f2f6f4}
.dosage-choices{border:0;padding:0;margin:0 0 26px;display:flex;gap:10px;flex-wrap:wrap}
.dosage-choices legend{padding:0;margin-bottom:14px;font-size:15px;font-weight:700}
.dosage-choices label{position:relative;flex:1 0 90px;max-width:calc(50% - 5px);cursor:pointer}
.dosage-choices input{position:absolute;opacity:0;width:1px;height:1px}
.dosage-choices span{display:flex;align-items:center;justify-content:center;min-height:49px;border:1px solid #d4e0dd;border-radius:13px;padding:10px 16px;background:#fcfefd;font-size:14px;transition:border-color .15s,background .15s}
.dosage-choices input:checked+span{background:var(--blush);border-color:var(--red);color:var(--red);box-shadow:inset 0 0 0 1px var(--red);font-weight:700}
.dosage-choices input:focus-visible+span{outline:3px solid #278773;outline-offset:3px}
.medicine-detail-quantity{display:grid;gap:16px;border-top:1px solid var(--line);padding-top:22px}
.medicine-detail-quantity>div:first-child{display:grid;gap:6px}.medicine-detail-quantity label{font-size:15px;font-weight:700}.medicine-detail-quantity small{color:var(--ui-muted);font-size:12px;line-height:1.9}
.medicine-detail-quantity>div:last-child{display:flex;direction:ltr;gap:10px;align-items:center;justify-content:center;border-radius:16px;background:#f3f7f5;padding:10px}
.medicine-detail-quantity button{display:grid;place-items:center;width:48px;height:48px;border:1px solid #d4e0dd;border-radius:13px;background:white}
.medicine-detail-quantity input{width:86px;min-height:48px;border:0;border-radius:12px;background:transparent;text-align:center;color:var(--ink);font:700 24px inherit;appearance:textfield;font-size:24px;font-weight:700}
.medicine-detail-quantity input::-webkit-inner-spin-button{appearance:none}
.medicine-detail-dialog .friendly-hint{display:flex;align-items:start;gap:9px;font-size:12px;line-height:1.9;color:var(--ui-muted);padding:0;margin:22px 0;white-space:normal;overflow:visible}
.medicine-detail-dialog footer{display:grid;gap:8px}.medicine-detail-dialog .text-btn{min-height:44px;border:0;background:transparent;color:var(--ui-muted)}
.conversation-panel{display:flex;flex-direction:column;overflow:hidden;max-height:min(760px,90dvh)}
.conversation-panel header{flex:none;align-items:start}.conversation-panel header small{font-size:11px;color:var(--red)}.conversation-panel header h3{margin:3px 0 5px;font-size:19px}
.conversation-panel [data-chat-status]{font-size:11px;color:var(--ui-muted);line-height:1.8;display:block}
.chat-history-controls{display:flex;justify-content:center;gap:8px;padding:8px 16px;flex:none}
.chat-history-controls button,.chat-new-messages{border:1px solid #d4e0dd;border-radius:12px;background:white;min-height:40px;padding:8px 14px;font-size:12px;display:flex;gap:8px;align-items:center;justify-content:center}
.conversation-panel .chat-messages{flex:1;min-height:160px;max-height:none;overflow:auto;overscroll-behavior:contain;scroll-behavior:auto;padding:18px;background:#f6f9f7}
.conversation-panel .chat-messages article{max-width:90%;overflow-wrap:anywhere}.conversation-panel .chat-messages article p{white-space:pre-wrap;line-height:1.9;font-size:14px}
.chat-empty{color:var(--ui-muted);text-align:center;padding:48px 20px;font-size:14px;line-height:2}
.chat-new-messages{margin:8px auto;color:var(--red)}
.chat-error{margin:10px 16px;padding:12px 14px;border:1px solid #efbdc6;border-radius:12px;background:#fff3f5;color:#9b2340;font-size:13px;line-height:1.9;flex:none}
.conversation-panel form{flex:none;background:white;padding:16px;align-items:end;border-top:1px solid var(--line)}
.conversation-panel form input{min-width:0;font-size:16px;min-height:48px}.conversation-panel form button{min-height:48px;font-size:13px;white-space:nowrap}
@keyframes upmed-spin{to{transform:rotate(360deg)}}
.patient-support-presence{display:flex;align-items:start;gap:12px;padding:14px 18px;background:#f1f7f4;border-bottom:1px solid #dfeae4;flex:none}.patient-support-presence>i{display:block;flex:none;width:9px;height:9px;border-radius:50%;background:#879790;margin-top:6px}.patient-support-presence[data-presence=online]>i{background:#258565;box-shadow:0 0 0 4px #deeee5}.patient-support-presence[data-presence=away]>i{background:#b58936}.patient-support-presence b{font-size:12px;line-height:1.9;color:#315a4e}.patient-support-presence p{font-size:11px;line-height:1.9;margin:4px 0 0;color:var(--ui-muted)}.patient-support-presence[data-presence=offline]{background:#f8f7f3}.conversation-panel .message-receipt{display:block;font-size:10px;color:#488171;margin-top:6px}
@media(max-width:700px){
  .medicine-detail-overlay{padding:0;align-items:end}.medicine-detail-dialog{width:100%;border-radius:26px 26px 0 0;max-height:92dvh;padding:24px 20px calc(20px + env(safe-area-inset-bottom))}.medicine-detail-dialog h2{font-size:19px}
  .conversation-panel{height:88dvh;max-height:88dvh}.conversation-panel form{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.conversation-panel .chat-message{max-width:94%}
}
@media(prefers-reduced-motion:reduce){.button-spinner,.loading-emblem>i,.loading-lines>i{animation:none}}
.realtime-status{display:flex;align-items:center;gap:7px;font-size:11px;color:#886523;line-height:1.8;margin-top:4px}.realtime-status:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}.realtime-status[data-realtime-state=live]{color:#287b63}.realtime-status[data-realtime-state=offline],.realtime-status[data-realtime-state=unauthorized]{color:#ba3152}
.support-float{position:fixed;z-index:45;left:24px;bottom:24px;display:flex;align-items:center;gap:6px;filter:drop-shadow(0 8px 18px #183f4526)}
.support-visible .app-shell{padding-bottom:110px}
@media(max-width:800px){.support-visible .app-shell{padding-bottom:calc(168px + env(safe-area-inset-bottom))}}
.support-float-main{position:relative;display:flex;align-items:center;gap:10px;min-height:54px;border:0;border-radius:28px;padding:13px 19px;background:var(--red,#c92d4f);color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.support-float-main>b{position:absolute;top:-7px;right:-4px;min-width:24px;height:24px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:14px;background:#173f47;color:#fff;font-size:11px;box-sizing:border-box}
.support-float-main>b[hidden]{display:none}.support-sound{border:1px solid #dde7e7;background:#fff;color:#34565b;border-radius:20px;padding:9px 11px;min-height:38px;font:inherit;font-size:10px;cursor:pointer}.modal-open .support-float{visibility:hidden}
.support-float button:focus-visible{outline:3px solid #157f94;outline-offset:4px}
.registration-selected{display:flex;align-items:center;justify-content:space-between;gap:12px}.registration-selected>span{display:grid;gap:6px}.registration-selected small{font-size:11px;color:#57796b}.registration-selected button{flex:none;border:1px solid #cfe0d7;border-radius:12px;background:#fff;padding:10px 13px;font:inherit;font-size:12px;color:#285e4b}.registration-search-state{display:flex;align-items:center;gap:10px;font-size:13px;color:#57796b;padding:14px}
.searchable-insurance{position:relative;min-width:0}.searchable-insurance>input{width:100%;padding-inline-end:32px!important;background:#fff!important;min-height:52px!important;font-size:16px!important}.searchable-insurance:after{content:'⌄';position:absolute;left:14px;top:12px;color:#507078;pointer-events:none}
.insurance-options{position:absolute;z-index:55;top:calc(100% + 6px);inset-inline:0;background:white;border:1px solid #dce7e8;border-radius:14px;box-shadow:0 12px 30px #193d4521;padding:6px;max-height:240px;overflow:auto;overscroll-behavior:contain}
.insurance-options[hidden]{display:none}.insurance-options>button{display:block;width:100%;border:0;background:white;text-align:right;padding:12px;border-radius:8px;color:#23454c;font:inherit;font-size:14px;cursor:pointer;min-height:44px}.insurance-options>button:hover,.insurance-options>button.is-highlighted{background:#f0f6f7}.insurance-options>button[aria-selected=true]{background:#fff1f4;color:var(--red);font-weight:700}.insurance-options>p{font-size:13px;padding:10px;line-height:1.8;color:#6a7c81}
.wallet-page{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start;gap:22px}.wallet-page .premium-wallet-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:28px;min-height:300px;margin:0;box-sizing:border-box;isolation:isolate}.wallet-page .wallet-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:38px;min-width:0}.wallet-brand>.brand-mark{display:inline-flex;align-items:center;gap:10px;width:auto;max-width:calc(100% - 60px);flex-direction:row}.wallet-brand .brand-mark svg{flex:none;width:25px;height:34px}.wallet-brand .brand-mark b{font-size:24px;line-height:1.5}.wallet-brand .brand-custom-logo{width:36px;height:36px;object-fit:contain}.wallet-brand>span:last-child{flex:none}.wallet-page .premium-wallet-card>small{font-size:12px}.wallet-page .premium-wallet-card>strong{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;font-size:32px;margin:8px 0 0;line-height:1.6;overflow-wrap:anywhere}.wallet-page .premium-wallet-card>strong em{font-size:14px;font-weight:400}.wallet-page .premium-wallet-card>p{margin-top:auto;padding-top:24px;font-size:12px;max-width:none;line-height:2}.wallet-page .premium-wallet-card:before,.wallet-page .premium-wallet-card:after{z-index:-1}.wallet-page .wallet-history{min-width:0;margin:0}.wallet-page .wallet-empty-state{min-height:300px;padding:24px}.wallet-page .wallet-transaction{grid-template-columns:38px minmax(0,1fr) auto}.wallet-page .wallet-transaction strong{white-space:nowrap}
@media(max-width:800px){.support-float{left:14px;bottom:calc(84px + env(safe-area-inset-bottom));gap:5px}.support-float-main{min-height:48px;padding:11px 14px;font-size:12px}.support-sound{font-size:9px;padding:8px}.wallet-page{grid-template-columns:1fr;gap:16px}.wallet-page .premium-wallet-card{min-height:265px;padding:24px}.wallet-page .wallet-brand{margin-bottom:26px}.wallet-page .premium-wallet-card>strong{font-size:30px}.wallet-page .wallet-transaction{grid-template-columns:36px minmax(0,1fr)}.wallet-page .wallet-transaction>strong{grid-column:2;justify-self:start}.wallet-page .wallet-empty-state{min-height:210px}}
.refund-dialog{position:relative;background:#fff;border-radius:24px;padding:28px;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 36px);overflow:auto;box-shadow:0 24px 90px #1c283b30;line-height:1.85}.refund-dialog>h2{margin:0 0 12px;padding-left:32px;font-size:22px}.refund-dialog>p{color:#62717a;font-size:14px}.refund-dialog .modal-close{position:absolute;left:16px;top:16px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:12px;background:#f1f4f5}.refund-dialog form{display:grid;gap:16px;margin-top:20px}.refund-dialog input,.refund-dialog textarea{font-size:16px;width:100%;box-sizing:border-box}.refund-dialog textarea{min-height:100px;resize:vertical}.refund-history{display:grid;gap:12px;margin-top:16px}.refund-history article{display:grid;gap:6px;border:1px solid #e4e9ed;border-radius:16px;padding:16px;overflow-wrap:anywhere}.refund-history article>b{font-size:13px;color:#21665b}.refund-history p{margin:0}.refund-history small{color:#647580}.refund-overlay{display:grid;place-items:center;padding:12px;box-sizing:border-box}
.delivery-address-details[hidden],.address-section .location-tools[hidden]{display:none!important}.address-section.editing-saved-address .address-editor{display:grid}.patient-wizard .date-input input{width:100%;min-width:0}.topbar-actions .topbar-notification{display:grid;place-items:center;width:44px;height:44px;border-radius:14px}
