/* goMed logo-led brand layer. Clinical states, chart series and safety alerts retain their own colours. */
:root{--gm-logo:#6086af;--gm-action:#244b75;--gm-surface:#edf3fa;--gm-line:#cbdced}
body,body.gm-patient{background-color:#f6f9fc!important}
:is(h1,h2,h3,h4,h5,h6){text-align:center;color:#244b75}
:is(.eyebrow,.kicker,.overline,.section-label){text-align:center;color:#365f89}
a:not([href^="tel:"]):not(.urgent-link):not(.danger):not(.warning){text-decoration-color:#88a6c7}
:is(button.primary,.primary-button,.btn-primary,.lab-enquiry-call,.book,.go,.ask-button){background-color:#244b75!important;color:white!important;border-color:#244b75!important}
:is(.doctor-card,.test-grid article,.areas,.consult,.metabolic-example,.home-followup-actions a){border-color:#cbdced!important}
:is(.test-grid article,.areas,.metabolic-example){background:linear-gradient(140deg,#f0f5fb,#fff)!important}
:is(button,input,select,textarea,a):focus-visible{outline:3px solid #9c5817!important;outline-offset:3px!important}
:is(.emergency,.urgent,.warning,.danger,.alert,.clinical-alert) :is(h1,h2,h3,h4){color:inherit}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:0s!important;transition-duration:0s!important}}

/* 21 Nov: one visual system, content-led cards and legible controls. */
:root{--gm-ink:#203c57;--gm-muted:#496174;--gm-radius:16px;--gm-action:#244b75}
body{font-variant-numeric:tabular-nums}h1,h2,h3{line-height:1.22;text-wrap:balance}p,small,strong,a{overflow-wrap:break-word}em{font-style:normal}
.gm-search input{color:var(--gm-ink)!important}.gm-search input::placeholder{color:#496174;opacity:1}.gm-search button{background:var(--gm-action)!important;color:#fff!important}
.gm-tiles{gap:16px!important}.gm-tiles>.gm-tile{background:#fff!important;border:1px solid #cbd8e2!important;border-radius:var(--gm-radius)!important;box-shadow:none!important;padding:24px 18px!important;color:var(--gm-ink)!important}.gm-tile strong{font-size:19px!important;line-height:1.25!important}.gm-tile small{font-size:14px!important;line-height:1.55!important;color:var(--gm-muted)!important;margin-top:10px!important}.gm-symbol{background:transparent!important;color:var(--gm-action)!important;border-radius:0!important}.gm-lab-timing{display:block!important;margin-top:12px!important;color:var(--gm-ink)!important;font-weight:600}
.gm-doctor-pill{background:#fff!important;border-radius:12px!important;color:var(--gm-ink)!important;font-size:16px!important;line-height:1.5!important;padding:14px 16px!important;border-color:#cbd8e2!important}.gm-doctor-pill:hover{background:#edf3fa!important}.gm-doctor-pill svg{color:var(--gm-action)!important}.gm-pill-arrow{color:var(--gm-action)}.gm-doctor-pills{gap:12px!important}.gm-doctor-tile{gap:16px!important}
.root-actions .root-tile,.design-review-home .home-action-grid .service-row{background:#fff!important;border:1px solid #cbd8e2!important;box-shadow:none!important;border-radius:16px!important;color:var(--gm-ink)!important;padding:22px 18px!important}.root-actions .root-tile small{color:var(--gm-muted)!important;font-size:15px!important;line-height:1.55!important}.root-actions .root-tile strong{font-size:19px!important;line-height:1.3!important}.root-actions .root-tile .root-arrow{background:#edf3fa!important;color:var(--gm-action)!important}
.doctor-category-heading{margin:36px 0 18px!important;font-size:24px!important}.doctor-category-grid{gap:12px!important}.doctor-category-grid a{min-height:0!important;background:#fff!important;border:1px solid #cbd8e2!important;border-radius:16px!important;box-shadow:none!important;padding:22px 20px 42px!important}.doctor-category-grid strong{font-size:18px!important;line-height:1.35!important;color:var(--gm-ink)!important}.doctor-category-grid small{color:var(--gm-muted)!important;font-size:15px!important;line-height:1.55!important;margin-top:12px!important}.doctor-category-grid .category-arrow{color:var(--gm-action)!important}
.home-followup-actions{gap:12px!important;margin-top:24px!important}.home-followup-actions a,.join-scheduled-card{background:#fff!important;color:var(--gm-ink)!important;border-radius:14px!important;border:1px solid #cbd8e2!important;box-shadow:none!important;min-height:52px!important}.home-followup-actions a small{color:var(--gm-muted)!important}.home-followup-actions .whatsapp-order{background:var(--gm-action)!important;color:#fff!important;font-weight:600!important}
.cohort-home{margin-top:40px!important;padding-top:32px!important}.cohort-goal-banner{background:transparent!important;border-radius:0!important;padding:0 0 20px!important;display:block!important}.cohort-goal-banner h2{font-size:28px!important;margin:0!important}.cohort-home-grid{gap:16px!important}.cohort-home-card{background:#fff!important;border:1px solid #cbd8e2!important;border-radius:16px!important;color:var(--gm-ink)!important;box-shadow:none!important;padding:24px!important}.cohort-home-card>strong{font-size:22px!important;line-height:1.25!important;display:block!important}.cohort-home-card p{color:var(--gm-muted)!important;font-size:15px!important;line-height:1.6!important}.cohort-home-card>span{color:var(--gm-ink)!important;font-size:17px!important;font-weight:600!important}.cohort-home-card>small{color:var(--gm-muted)!important;font-size:13px!important;line-height:1.6!important}.cohort-home-card>b{background:var(--gm-action)!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:14px 16px!important;margin-top:18px!important;display:flex!important;justify-content:space-between!important;min-height:48px!important;align-items:center!important}.cohort-home-card i{font-style:normal!important}.cohort-home-note{color:var(--gm-muted)!important;font-size:13px!important;line-height:1.6!important}.gm-bottom{border-top:1px solid #cbd8e2!important}.gm-bottom a{color:#496174!important}.gm-bottom a[aria-current=page]{color:var(--gm-action)!important;background:#edf3fa!important}footer .legal{color:#496174!important}
.gm-loading{max-width:720px;margin:48px auto;padding:24px;text-align:center;color:#496174;line-height:1.6}.gm-loading:before{content:"";display:block;width:32px;height:32px;margin:0 auto 18px;border:3px solid #cbd8e2;border-top-color:#244b75;border-radius:50%;animation:gm-load 1s linear infinite}@keyframes gm-load{to{transform:rotate(360deg)}}
@media(max-width:600px){.doctor-category-grid{grid-template-columns:1fr!important}.root-actions{gap:12px!important}.gm-tiles{gap:12px!important}.gm-tiles>.gm-tile{padding:20px 14px!important}.gm-tile strong{font-size:18px!important}.gm-tiles>.gm-tile:nth-child(n+4){grid-column:1/-1!important;flex-direction:row!important;text-align:left!important;justify-content:flex-start!important;gap:16px!important;min-height:84px!important}.gm-tiles>.gm-tile:nth-child(n+4) small{margin-top:4px!important}.cohort-home-card{padding:20px!important}.root-actions .root-tile{padding:20px 14px!important}.root-actions .root-tile strong{font-size:18px!important}.cohort-goal-banner h2{font-size:26px!important}.gm-doctor-pill{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){.gm-loading:before{animation:none!important}}

.design-review-home .home-action-grid .service-row{display:flex!important;align-items:flex-start!important;text-align:left!important;justify-content:flex-start!important;gap:14px!important;min-height:0!important}.design-review-home .home-action-grid{gap:14px!important}.design-review-home .service-copy{flex:1!important}.design-review-home .home-action-grid .service-row strong{display:block!important;font-size:19px!important;line-height:1.3!important;color:#203c57!important}.design-review-home .home-action-grid .service-row small{display:block!important;font-size:15px!important;line-height:1.55!important;color:#496174!important;margin-top:10px!important}.design-review-home .home-action-grid .service-row>svg{flex-shrink:0!important;align-self:center!important;color:#244b75!important}.design-review-home .row-symbol{display:none!important}.design-review-home .doctor-category-grid a{align-items:flex-start!important;text-align:left!important}.design-review-home .doctor-category-grid strong,.design-review-home .doctor-category-grid small{text-align:left!important}.gomed-scheduled-video-entry{background:#fff!important;border-color:#cbd8e2!important;border-radius:16px!important;color:#203c57!important}.gomed-scheduled-video-entry>span{color:#496174!important}.video-entry-eyebrow{display:none!important}.simple-nav{border-top:1px solid #cbd8e2!important}.simple-nav button{color:#496174!important}.simple-nav button.active{color:#244b75!important;background:#edf3fa!important}.design-review-home h1{font-size:28px!important;margin-bottom:24px!important}.simple-content{padding-bottom:120px!important}

body .home-followup-actions a.whatsapp-order{background:#244b75!important;color:#fff!important}body .home-followup-actions a.whatsapp-order span{color:#fff!important}.simple-app .simple-nav button.active,.simple-app .simple-nav button[aria-current=page]{color:#244b75!important;background:#edf3fa!important}.simple-app .simple-nav button{color:#496174!important}.design-review-home .home-action-grid .service-row>svg{background:transparent!important}.design-review-home .home-action-grid .service-row .service-copy small{margin-top:10px!important;min-height:0!important}.design-review-home .home-action-grid .service-row .service-copy{display:block!important}.gm-doctor-tile>.gm-symbol{margin-bottom:0!important}.gm-doctor-tile{padding-top:20px!important}.gm-doctor-tile>#gm-doctor-heading{margin:0!important}
@media(max-width:600px){.gm-tiles>.gm-tile:nth-child(-n+2){grid-column:1/-1!important;display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:16px!important;min-height:0!important;text-align:left!important}.gm-tiles>.gm-tile:nth-child(-n+2) .gm-symbol{margin:0!important;flex-shrink:0!important}.gm-tiles>.gm-tile:nth-child(-n+2) strong,.gm-tiles>.gm-tile:nth-child(-n+2) small{text-align:left!important}.design-review-home .home-action-grid{grid-template-columns:1fr!important}.design-review-home .home-action-grid .service-row{flex-direction:row!important;align-items:center!important;justify-content:space-between!important}.design-review-home .home-action-grid .service-row .service-copy{flex:1!important}.design-review-home .home-action-grid .service-row>svg{margin:0!important}}

.gm-care-group{margin:32px 0!important;padding:24px 20px!important;background:#f6f9fc!important;border-radius:20px!important}.gm-care-group .doctor-category-heading{margin:0 0 18px!important}.gm-utilities-heading{font-size:24px!important;margin:36px 0 18px!important;color:#244b75!important;text-align:center!important}.design-review-home .gm-care-group .doctor-category-grid{gap:0!important;background:#fff!important;border:1px solid #cbd8e2!important;border-radius:12px!important;padding:0 16px!important}.design-review-home .gm-care-group .doctor-category-grid a{border:0!important;border-bottom:1px solid #d9e2ea!important;border-radius:0!important;background:transparent!important;padding:18px 26px 18px 0!important;min-height:0!important}.design-review-home .gm-care-group .doctor-category-grid a:last-child{border-bottom:0!important}.design-review-home .gm-care-group .doctor-category-grid strong{font-size:17px!important;min-height:0!important}.design-review-home .gm-care-group .doctor-category-grid small{font-size:14px!important;margin-top:6px!important}.design-review-home .gm-care-group .doctor-category-grid .category-arrow{top:calc(50% - 12px)!important;bottom:auto!important;right:0!important}.simple-home{padding-bottom:30px!important}.design-review-home .home-followup-actions{padding-top:6px!important}.design-review-home .home-followup-actions a{font-size:15px!important}.design-review-home .gomed-scheduled-video-entry{margin-bottom:14px!important}
.gm-home .doctor-category-grid{gap:0!important;background:#fff!important;border:1px solid #cbd8e2!important;border-radius:16px!important;padding:0 20px!important}.gm-home .doctor-category-grid a{border:0!important;border-bottom:1px solid #d9e2ea!important;border-radius:0!important;padding:20px 24px 20px 0!important}.gm-home .doctor-category-grid a:last-child{border:0!important}.gm-home .doctor-category-grid strong,.gm-home .doctor-category-grid small{text-align:left!important}.gm-home .doctor-category-grid strong{font-size:17px!important;min-height:0!important}.gm-home .doctor-category-grid small{font-size:14px!important;margin-top:6px!important}.gm-home .doctor-category-grid .category-arrow{top:calc(50% - 12px)!important;bottom:auto!important;right:0!important}
@media(min-width:601px){.gm-care-group .doctor-category-grid,.gm-home .doctor-category-grid{grid-template-columns:1fr!important}.gm-care-group{padding:28px!important}.simple-app .simple-nav{position:fixed!important;top:auto!important;bottom:0!important;left:0!important;width:100%!important;max-width:none!important;background:#fff!important;z-index:100!important;justify-content:center!important}.simple-app .simple-nav button{max-width:120px!important}}
@media(max-width:600px){.gm-care-group{padding:20px 14px!important}.gm-care-group .doctor-category-heading,.gm-utilities-heading{font-size:24px!important}}

.design-review-home .gm-care-group h2{background:transparent!important;padding:0!important;color:#244b75!important}.home-followup-actions a>span[aria-hidden],.health-goal-entry>span[aria-hidden]{color:inherit!important}.design-review-home>.health-goal-entry{color:#244b75!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:48px!important;margin-top:14px!important;padding:12px 16px!important;border:1px solid #cbd8e2!important;border-radius:14px!important;background:#fff!important}.design-review-home{min-height:0!important}.simple-app .simple-content>div{min-height:0!important}.simple-app .simple-content{min-height:0!important}.simple-app{min-height:100vh!important}

.simple-app .simple-nav{height:auto!important;min-height:68px!important;align-items:stretch!important}.simple-app .simple-nav button{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;min-width:0!important;flex:1 1 0!important;width:25%!important;line-height:1.3!important;height:auto!important;padding:8px 4px!important}.gm-search button{line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}

body.gm-home footer{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 16px!important}body.gm-home footer>a{min-height:44px!important;display:inline-flex!important;align-items:center!important;padding:8px 4px!important}body.gm-home footer p{flex-basis:100%!important}.gm-load-error:before{display:none!important}.gm-loading button{display:block;margin:18px auto 0;min-height:48px;padding:12px 24px;border:0;border-radius:8px;background:#244b75;color:#fff;font-size:16px;cursor:pointer}.gm-loading p{color:#203c57!important}

.gm-doctor-pills,.gm-doctor-pill{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}.gm-doctor-pill>span:not(.gm-pill-arrow){min-width:0!important;overflow-wrap:anywhere!important}.gm-doctor-pill>.gm-pill-arrow{flex:0 0 auto!important}.gm-doctor-pill>svg{flex:0 0 21px!important}

body.gm-home .cohort-home h2{overflow-wrap:anywhere!important;min-width:0!important}.simple-app .gm-utilities-heading{overflow-wrap:anywhere!important;min-width:0!important}.simple-app .doctor-category-grid,.simple-app .doctor-category-grid a{min-width:0!important;overflow-wrap:anywhere!important;box-sizing:border-box!important}

/* Keep urgent guidance visually distinct from routine care actions. */
.simple-app .urgent-help{box-sizing:border-box!important;max-width:480px!important;width:100%!important;border:2px solid #b32136!important;border-radius:16px!important;background:#fff5f5!important;color:#571b27!important;margin:16px auto!important;overflow-wrap:anywhere!important}
.simple-app .urgent-help h1{background:transparent!important;color:#9f1c30!important;font-weight:700!important}
.simple-app .urgent-help>p{color:#571b27!important}
.simple-app .urgent-help>a.dh-primary{background:#a51f32!important;color:#fff!important;border:2px solid #a51f32!important;min-height:48px!important;box-sizing:border-box!important;font-weight:700!important;white-space:normal!important}
.simple-app .urgent-help>a.dh-primary:hover{background:#821426!important;border-color:#821426!important}
.simple-app .urgent-help>.text-link{color:#7d2633!important}
.simple-app .medicine-whatsapp{background:#244b75!important;border-color:#244b75!important;color:#fff!important}
.simple-app .medicine-call{background:#fff!important;border-color:#244b75!important;color:#244b75!important}
.simple-app .medicine-first,.simple-app .medicine-first h1,.simple-app .medicine-first h2{color:#244b75!important}
.simple-app .medicine-pharmacist,.simple-app .pharmacist-card{border-color:#cbd8e2!important;background:#f6f9fc!important}
.simple-app .medicine-contact-card{border-color:#cbd8e2!important;background:#f6f9fc!important}.simple-app .medicine-contact-card h2{color:#244b75!important;background:transparent!important}.simple-app .medicine-contact-card p,.simple-app .medicine-contact>p{color:#496174!important}

/* Compact medicine entry, matching the offer and WhatsApp rows. */
body.gm-home .gm-tiles>a.gm-medicine-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;gap:15px!important;grid-column:1/-1!important;padding:14px 16px!important;min-height:52px!important;border-radius:14px!important}body.gm-home .gm-medicine-row>div{min-width:0!important;flex:1!important}body.gm-home .gm-medicine-row strong{display:block!important;font-size:15px!important;line-height:1.5!important;font-weight:650!important;text-align:left!important}body.gm-home .gm-medicine-row small{display:block!important;font-size:13px!important;line-height:1.55!important;margin-top:6px!important;text-align:left!important}body.gm-home .gm-medicine-row small.gm-delivery-line{margin-top:2px!important}body.gm-home .gm-medicine-arrow{flex:0 0 auto!important;font-size:24px!important;line-height:1!important;color:#244b75!important}
@media(max-width:220px){body.gm-home .gm-tiles>a.gm-medicine-row{padding:14px 10px!important;gap:6px!important}body.gm-home .gm-medicine-row strong{white-space:nowrap!important}body.gm-home .gm-medicine-arrow{font-size:20px!important}}
/* goMed service-card alignment delta. Append after existing brand-core rules. */
body.gm-home .gm-tiles > a.gm-medicine-row {
  position: relative !important;
  justify-content: center !important;
  text-align: center !important;
  padding-inline: 44px !important;
}
body.gm-home .gm-tiles > a.gm-tile.gm-medicine-row > div,
body.gm-home .gm-tiles > a.gm-tile.gm-medicine-row strong,
body.gm-home .gm-tiles > a.gm-tile.gm-medicine-row small {
  text-align: center !important;
}
body.gm-home .gm-medicine-row > .gm-medicine-arrow {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.design-review-home .home-action-grid .service-row {
  position: relative !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding-inline: 44px !important;
}
.design-review-home .home-action-grid .service-row .service-copy,
.design-review-home .home-action-grid .service-row strong,
.design-review-home .home-action-grid .service-row small {
  text-align: center !important;
}
.design-review-home .home-action-grid .service-row > svg {
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

footer a[href="/terms/"],.legal a[href="/terms/"]{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}a[href="/app/?tab=ask"]{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
