/* Addy Memorial Hospital — unified futuristic interface layer */
:root {
    --coral:#EF5B62;
    --coral-dark:#d9444d;
    --coral-soft:#fff0f1;
    --surface:#fff;
    --surface-raised:rgba(255,255,255,.88);
    --space-page:clamp(1rem,3vw,2.5rem);
    --space-card:clamp(1.15rem,2vw,1.75rem);
    --radius-sm:12px;
    --radius-md:20px;
    --radius-lg:30px;
    --focus:0 0 0 4px rgba(239,91,98,.2);
}
body {
    background:linear-gradient(180deg,#fff 0,#f8fbfe 100%)
}
:where(a,button,input,select,textarea,summary):focus-visible {
    outline:2px solid var(--coral);
    outline-offset:3px;
    box-shadow:var(--focus)
}
.shell {
    width:min(1220px,calc(100% - 2 * var(--space-page)))
}
.grid-2 {
    grid-template-columns:repeat(2,minmax(0,1fr))
}
.section {
    padding-block:clamp(4.5rem,8vw,8rem)
}
.section-head {
    margin-bottom:clamp(1.75rem,4vw,3rem)
}
.card,.form-card,.panel,.metric,.faq-item {
    border-radius:var(--radius-md);
    border-color:rgba(11,79,156,.12)
}
.card,.panel,.form-card {
    padding:var(--space-card)
}
.button {
    background:linear-gradient(135deg,var(--blue),#167cba);
    box-shadow:0 14px 32px rgba(11,79,156,.23)
}
.button:hover {
    box-shadow:0 18px 40px rgba(11,79,156,.3)
}
.button-secondary {
    background:#fff;
    color:var(--navy);
    border-color:rgba(239,91,98,.35)
}
.button-secondary:hover {
    color:var(--coral-dark);
    border-color:var(--coral)
}
.button.button-coral {
    background:linear-gradient(135deg,var(--coral),var(--coral-dark));
    box-shadow:0 14px 32px rgba(239,91,98,.24)
}
.care-strip {
    background:linear-gradient(90deg,var(--navy),var(--blue),#176faf)
}
.care-strip b {
    color:#ffb4b8
}
.site-header {
    border-bottom-color:rgba(239,91,98,.14);
    box-shadow:0 10px 35px rgba(6,26,53,.045)
}
.cart-link {
    padding:.55rem .8rem;
    border-radius:12px;
    background:#eaf4fc;
    color:var(--blue)
}
.eyebrow {
    color:var(--coral-dark)
}
.hero {
    background:radial-gradient(circle at 82% 20%,rgba(239,91,98,.18),transparent 28%),linear-gradient(120deg,#f9fcff,#edf7fc 58%,#fff4f4)
}
.hero h1 span {
    background:linear-gradient(110deg,var(--blue),var(--coral));
    background-clip:text;
    -webkit-background-clip:text;
    color:transparent
}
.page-hero {
    border-radius:0!important;
    background:radial-gradient(circle at 86% 20%,rgba(239,91,98,.3),transparent 24%),linear-gradient(125deg,#061a35,#0a437c 72%,#125b92)
}
.page-hero:before {
    content:'';
    position:absolute;
    inset:auto 8% -70px auto;
    width:190px;
    height:190px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:50%;
    box-shadow:0 0 0 34px rgba(239,91,98,.08),0 0 0 68px rgba(255,255,255,.035)
}
.icon-tile,.status {
    background:var(--coral-soft);
    color:var(--coral-dark)
}
input,select,textarea {
    min-height:48px;
    padding:.85rem 1rem;
    border-radius:var(--radius-sm);
    background:#fff;
    border-color:#d7e2eb
}
textarea {
    min-height:132px
}
.form-grid {
    gap:clamp(.9rem,2vw,1.25rem)
}
.footer-brand {
    margin-bottom:1.25rem
}
.footer-brand img,.admin-brand img,.login-brand img {
    background:#fff;
    border-radius:16px;
    padding:4px;
    box-shadow:0 12px 30px rgba(0,0,0,.18)
}
.site-footer {
    background:#071f3b;
    border-top:4px solid var(--coral)
}
.site-footer h2 {
    color:#ffb9bd
}
.site-footer a:hover {
    color:#ff8f94
}
/* Chat panel: the body scrolls independently while the composer stays reachable. */
.care-chat {
    display:flex;
    flex-direction:column;
    height:min(700px,calc(100dvh - 118px));
    max-height:calc(100dvh - 118px);
    overflow:hidden;
    border-color:rgba(239,91,98,.3);
    box-shadow:0 32px 90px rgba(6,26,53,.34)
}
.care-chat[hidden] {
    display:none
}
.care-chat>header {
    flex:0 0 auto;
    background:linear-gradient(120deg,var(--navy),#0b4f9c 70%,var(--coral-dark))
}
.care-chat form[hidden],.care-chat .chat-guide[hidden] {
    display:none
}
.care-chat>header button {
    cursor:pointer
}
.chat-progress {
    flex:0 0 auto
}
.chat-progress span {
    background:linear-gradient(90deg,var(--coral),#ff9498)
}
.care-chat>form {
    display:flex;
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    overflow:hidden;
    flex-direction:column
}
.care-chat>.chat-step.active,.care-chat form>.chat-step.active {
    display:grid;
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:1.25rem;
    scrollbar-color:var(--coral) #edf3f7;
    scrollbar-width:thin
}
.care-chat form>footer {
    position:relative;
    flex:0 0 auto;
    z-index:2;
    padding:1rem 1.25rem;
    box-shadow:0 -10px 28px rgba(6,26,53,.07)
}
.chat-launch {
    background:linear-gradient(135deg,var(--blue),#167cba);
    box-shadow:0 18px 45px rgba(11,79,156,.3)
}
.quick-grid a:hover {
    border-color:var(--coral);
    background:var(--coral-soft);
    transform:translateY(-2px)
}
.chat-capabilities {
    display:grid;
    gap:.6rem
}
.chat-capabilities details {
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    overflow:hidden
}
.chat-capabilities summary {
    display:flex;
    justify-content:space-between;
    gap:1rem;
    padding:.8rem .9rem;
    cursor:pointer;
    font-weight:800;
    color:var(--navy)
}
.chat-capabilities summary span {
    color:var(--coral)
}
.chat-capabilities details p {
    padding:0 .9rem;
    margin:.15rem 0 .6rem;
    font-size:.8rem
}
.chat-capabilities details>a,.chat-actions a {
    color:var(--blue);
    font-weight:800;
    font-size:.8rem
}
.chat-capabilities details>a {
    display:inline-block;
    padding:0 .9rem .9rem
}
.chat-actions {
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
    margin-top:.55rem
}
.account-layout {
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:1.5rem;
    align-items:start
}
.account-card {
    position:sticky;
    top:110px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    padding:var(--space-card);
    box-shadow:var(--shadow)
}
.account-card h2 {
    font-size:1.3rem
}
.account-avatar {
    display:grid;
    place-items:center;
    width:64px;
    height:64px;
    border-radius:20px;
    margin-bottom:1rem;
    background:linear-gradient(145deg,var(--blue),var(--sky));
    color:#fff;
    font:800 1.5rem Manrope
}
.account-content {
    min-width:0
}
.account-actions {
    margin-bottom:1.5rem
}
.account-actions .card strong {
    color:var(--blue)
}
.booking-layout {
    display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(380px,1.15fr);
    gap:clamp(2rem,5vw,5rem);
    align-items:start
}
.test-list {
    display:grid;
    gap:.8rem;
    max-height:720px;
    overflow:auto;
    padding-right:.35rem
}
.test-list .card {
    padding:1.15rem
}
.test-list small {
    display:block;
    color:var(--muted);
    margin-top:.5rem
}
.inline-admin-form {
    display:flex;
    align-items:center;
    gap:.6rem;
    min-width:420px
}
.inline-admin-form input,.inline-admin-form select {
    min-width:130px
}
.chat-confirmation-state {
    text-align:center;
    align-content:center;
    justify-items:center;
    padding:2rem!important
}
.chat-confirmation-state h2 {
    font-size:1.55rem;
    margin-bottom:.35rem
}
.confirmation-icon {
    display:grid;
    place-items:center;
    width:68px;
    height:68px;
    border-radius:22px;
    background:#e6f7f2;
    color:#16725f;
    font:800 2rem Manrope;
    box-shadow:0 14px 34px rgba(22,114,95,.15)
}
.confirmation-icon.urgent {
    background:var(--coral-soft);
    color:var(--coral-dark)
}
.chat-reference {
    width:100%;
    padding:1rem;
    border:1px dashed rgba(11,79,156,.3);
    border-radius:14px;
    background:#f4f9fd
}
.chat-reference small,.chat-reference strong {
    display:block
}
.chat-reference strong {
    color:var(--blue);
    font:800 1.05rem Manrope;
    letter-spacing:.06em
}
/* Administration */
.admin-body {
    background:radial-gradient(circle at 95% 5%,rgba(239,91,98,.1),transparent 24%),#f2f6fa
}
.admin-side {
    background:radial-gradient(circle at 15% 4%,rgba(239,91,98,.25),transparent 24%),linear-gradient(180deg,#071b35,#081f3a 62%,#07172b);
    border-right:1px solid rgba(239,91,98,.22)
}
.admin-brand {
    padding:.7rem;
    border-radius:16px;
    background:rgba(255,255,255,.055)
}
.admin-brand img {
    width:48px;
    height:48px;
    object-fit:contain
}
.admin-side h2 {
    color:#e8949a
}
.admin-side nav a {
    position:relative;
    min-height:44px;
    padding:.72rem .9rem
}
.admin-side nav a:hover,.admin-side nav a.active {
    background:linear-gradient(90deg,rgba(21,93,143,.72),rgba(18,96,143,.48));
    box-shadow:inset 3px 0 var(--coral)
}
.admin-side nav a:after {
    display:none!important
}
.admin-top {
    border-bottom:1px solid rgba(239,91,98,.18);
    background:rgba(242,246,250,.86)
}
.avatar {
    background:linear-gradient(145deg,var(--blue),var(--sky))
}
.metric {
    position:relative;
    overflow:hidden
}
.metric:before {
    content:'';
    position:absolute;
    inset:0 0 auto;
    height:4px;
    background:linear-gradient(90deg,var(--coral),var(--sky))
}
.metric b {
    color:var(--blue)
}
.panel {
    box-shadow:0 16px 45px rgba(6,26,53,.065)
}
.admin-main :where(.panel,.metric,.notice,.alert) {
    margin-bottom:clamp(1rem,2vw,1.5rem)
}
@media(max-width:1180px) {
    .nav-wrap {
        gap:1rem
    }
    .site-header nav.open {
        border-top:2px solid var(--coral)
    }
    .admin-shell {
        grid-template-columns:250px minmax(0,1fr)
    }
    .admin-side {
        width:250px
    }
}
@media(max-width:900px) {
    .admin-shell {
        display:block
    }
    .admin-side {
        position:relative;
        width:100%;
        height:auto;
        padding:1rem var(--space-page)
    }
    .admin-brand {
        margin-bottom:1rem!important
    }
    .admin-side nav {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:.25rem
    }
    .admin-main {
        padding:var(--space-page)
    }
    .admin-top {
        margin:calc(-1 * var(--space-page)) calc(-1 * var(--space-page)) var(--space-page);
        padding:1rem var(--space-page)
    }
    .footer-grid {
        gap:2rem
    }
    .account-layout,.booking-layout {
        grid-template-columns:1fr
    }
    .account-card {
        position:relative;
        top:auto
    }
    .test-list {
        max-height:none
    }
}
@media(max-width:650px) {
    .site-header {
        height:74px
    }
    .nav-wrap {
        height:74px
    }
    .logo-brand img {
        width:46px;
        height:46px
    }
    .section {
        padding-block:4rem
    }
    .card,.panel,.form-card {
        padding:1.1rem
    }
    .page-hero {
        border-radius:0!important
    }
    .care-chat {
        inset:auto 10px 72px;
        width:auto;
        height:calc(100dvh - 92px);
        max-height:calc(100dvh - 92px);
        border-radius:20px
    }
    .care-chat>.chat-step.active,.care-chat form>.chat-step.active {
        padding:1rem
    }
    .care-chat form>footer {
        padding:.8rem 1rem
    }
    .quick-grid,.grid-2 {
        grid-template-columns:1fr
    }
    .metric-grid {
        grid-template-columns:1fr 1fr
    }
    .footer-grid {
        gap:2.25rem
    }
    .nav-actions .button-secondary {
        display:none
    }
}

/* v33 Insight publishing, rich-text editing, and portrait pharmacy media */
:root {
    /* Change this variable to tune pharmacy listing image height globally. */
    --pharmacy-card-image-height:320px;
}
.pharmacy-product-card>img {
    height:var(--pharmacy-card-image-height)!important;
    max-height:none!important;
    flex:0 0 var(--pharmacy-card-image-height)!important;
    padding:clamp(.65rem,1.5vw,1rem);
    object-fit:contain!important;
    object-position:center;
    background:#fff;
}
.rich-editor {overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;}
.rich-editor:focus-within {border-color:var(--blue);box-shadow:0 0 0 3px rgba(9,91,145,.12);}
.rich-editor-toolbar {display:flex;flex-wrap:wrap;gap:.35rem;padding:.65rem;border-bottom:1px solid var(--line);background:#f4f8fb;}
.rich-editor-toolbar button {min-height:34px;padding:.35rem .65rem;border:1px solid #cad9e4;border-radius:8px;background:#fff;color:var(--navy);font:700 .75rem/1.1 Manrope,sans-serif;cursor:pointer;}
.rich-editor-toolbar button:hover,.rich-editor-toolbar button:focus-visible {border-color:var(--blue);background:#eaf5fb;color:var(--blue);}
.rich-editor-area {min-height:300px;padding:1rem 1.1rem;color:var(--text);line-height:1.75;outline:0;overflow-wrap:anywhere;}
.rich-editor-area[aria-invalid="true"] {box-shadow:inset 0 0 0 2px #b92d37;}
.rich-editor-area:empty:before {content:'Write the Health Insight article here…';color:var(--muted);pointer-events:none;}
.rich-editor-area h2 {font-size:1.65rem;margin:1.4rem 0 .6rem;}
.rich-editor-area h3 {font-size:1.25rem;margin:1.2rem 0 .5rem;}
.rich-editor-area p {margin:.65rem 0;}
.rich-editor-area ul,.rich-editor-area ol {margin:.75rem 0;padding-left:1.5rem;}
.rich-editor-area blockquote {margin:1rem 0;padding:.75rem 1rem;border-left:4px solid var(--coral);background:#fff7f7;color:var(--navy);}
.article-copy h2 {margin:2rem 0 .75rem;font-size:clamp(1.45rem,2.8vw,2rem);}
.article-copy h3 {margin:1.5rem 0 .65rem;font-size:clamp(1.2rem,2.2vw,1.55rem);}
.article-copy ul,.article-copy ol {margin:1rem 0;padding-left:1.5rem;}
.article-copy li+li {margin-top:.4rem;}
.article-copy blockquote {margin:1.5rem 0;padding:1rem 1.25rem;border-left:4px solid var(--coral);border-radius:0 12px 12px 0;background:#fff7f7;color:var(--navy);}
@media(max-width:900px) {
    :root {--pharmacy-card-image-height:290px;}
}
@media(max-width:650px) {
    :root {--pharmacy-card-image-height:270px;}
    .rich-editor-toolbar {gap:.3rem;padding:.5rem;}
    .rich-editor-toolbar button {flex:1 1 auto;}
    .rich-editor-area {min-height:250px;}
}

/* v32 Moderated Health Insight comments */
.insight-comments {margin-top:clamp(2.5rem,6vw,5rem);scroll-margin-top:7rem;}
.comments-heading {display:flex;align-items:end;justify-content:space-between;gap:1rem;padding-bottom:1.25rem;border-bottom:1px solid var(--line);}
.comments-heading h2 {margin:.35rem 0 0;font-size:clamp(1.65rem,3vw,2.35rem);}
.comment-count {flex:0 0 auto;padding:.45rem .8rem;border-radius:999px;background:#eaf5fb;color:var(--blue);font-size:.75rem;font-weight:800;}
.comment-list {display:grid;gap:1rem;margin:1.5rem 0;}
.comment-card {display:grid;grid-template-columns:46px minmax(0,1fr);gap:1rem;padding:1.25rem 0;border-bottom:1px solid var(--line);}
.comment-avatar {display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--blue);color:#fff;font-weight:800;}
.comment-card header {display:flex;justify-content:space-between;gap:1rem;margin-bottom:.45rem;}
.comment-card time {color:var(--muted);font-size:.78rem;white-space:nowrap;}
.comment-card p {margin:0;overflow-wrap:anywhere;}
.comments-empty {margin:1.5rem 0;color:var(--muted);}
.comment-form {margin-top:1.5rem;padding:clamp(1.25rem,3vw,2rem);}
.comment-honeypot {position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.comment-admin-head {align-items:flex-end;gap:1.5rem;}
.filter-pills {display:flex;flex-wrap:wrap;gap:.45rem;}
.filter-pills a {padding:.45rem .75rem;border:1px solid var(--line);border-radius:999px;color:var(--navy);font-size:.78rem;font-weight:800;}
.filter-pills a.active,.filter-pills a:hover {border-color:var(--blue);background:var(--blue);color:#fff;}
.admin-comment-list {display:grid;gap:1rem;}
.admin-comment-card {display:grid;grid-template-columns:minmax(190px,.35fr) minmax(260px,1fr) auto;align-items:start;gap:1.25rem;padding:1.25rem;border:1px solid var(--line);border-radius:16px;}
.admin-comment-meta {display:grid;justify-items:start;gap:.35rem;min-width:0;}
.admin-comment-meta a,.admin-comment-meta small {max-width:100%;overflow-wrap:anywhere;color:var(--muted);font-size:.78rem;}
.admin-comment-card>p {margin:0;overflow-wrap:anywhere;}
@media(max-width:980px) {
    .admin-comment-card {grid-template-columns:1fr;}
    .comment-admin-head {align-items:flex-start;flex-direction:column;}
}
@media(max-width:560px) {
    .comments-heading {align-items:flex-start;flex-direction:column;}
    .comment-card {grid-template-columns:38px minmax(0,1fr);gap:.75rem;}
    .comment-avatar {width:38px;height:38px;border-radius:12px;}
    .comment-card header {align-items:flex-start;flex-direction:column;gap:.15rem;}
}
@media(max-width:480px) {
    h1 {
        font-size:clamp(2.25rem,12vw,3.25rem)
    }
    .care-strip {
        font-size:.75rem
    }
    .nav-actions {
        gap:.4rem
    }
    .cart-link {
        padding:.45rem .6rem
    }
    .admin-side nav,.metric-grid {
        grid-template-columns:1fr
    }
    .admin-top {
        align-items:flex-start
    }
    .admin-top .eyebrow {
        margin-bottom:.5rem
    }
    .panel-head {
        align-items:flex-start;
        gap:.75rem;
        flex-direction:column
    }
    .table-wrap {
        border-radius:14px
    }
}
/* Portal clarity and management refinements */
.notice {
    border-left-color:var(--blue);
    background:#eaf5fd;
    color:#164f76
}
.chat-alert {
    border-left-color:var(--blue);
    background:#edf7fd;
    color:#25536f
}
.chat-alert.chat-error,.alert-error {
    border-left-color:var(--coral);
    background:#fff0f1;
    color:#8e2830
}
.button-danger {
    background:var(--coral);
    box-shadow:none
}
.button-danger:hover {
    background:var(--coral-dark);
    box-shadow:0 10px 24px rgba(239,91,98,.22)
}
.specialists-grid .feature-image {
    height:auto;
    aspect-ratio:4/5;
    object-fit:cover;
    object-position:center top
}
.manage-grid {
    display:grid;
    grid-template-columns:minmax(360px,.85fr) minmax(0,1.15fr);
    gap:1.25rem;
    align-items:start
}
.manage-form {
    position:sticky;
    top:108px
}
.admin-record-list {
    display:grid;
    gap:.7rem
}
.admin-record-list article {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    padding:.85rem;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fbfdff
}
.admin-record-list article>div:first-child {
    display:flex;
    align-items:center;
    gap:.8rem;
    min-width:0
}
.admin-record-list img {
    width:58px;
    height:48px;
    border-radius:10px;
    object-fit:cover
}
.admin-record-list.portraits img {
    width:48px;
    height:60px;
    object-position:center top
}
.admin-record-list strong,.admin-record-list small {
    display:block
}
.admin-record-list small {
    color:var(--muted);
    margin-top:.2rem
}
.record-actions {
    display:flex;
    align-items:center;
    gap:.45rem;
    flex:0 0 auto
}
.record-actions form {
    margin:0
}
.checkout-layout {
    display:grid;
    grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);
    gap:clamp(2rem,5vw,5rem);
    align-items:start
}
.checkout-summary {
    position:sticky;
    top:110px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    padding:var(--space-card);
    box-shadow:var(--shadow)
}
.checkout-summary h2 {
    font-size:1.65rem
}
.checkout-line {
    display:flex;
    justify-content:space-between;
    gap:1rem;
    padding:.9rem 0;
    border-bottom:1px solid var(--line)
}
.checkout-line small,.checkout-line strong {
    display:block
}
.checkout-line small {
    color:var(--muted)
}
.checkout-line b {
    white-space:nowrap;
    color:var(--navy)
}
.checkout-total {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:1.2rem 0;
    font-size:1.1rem
}
.checkout-total strong {
    color:var(--blue);
    font:800 1.3rem Manrope
}
.account-hero {
    padding:clamp(3rem,6vw,5.5rem) 0;
    background:#071f3b;
    color:#fff
}
.account-hero h1 {
    color:#fff;
    font-size:clamp(2.5rem,5vw,4.6rem)
}
.account-hero p {
    color:#bfd3e5
}
.account-hero-inner {
    display:flex;
    justify-content:space-between;
    gap:2rem;
    align-items:center
}
.account-identity {
    display:flex;
    align-items:center;
    gap:1rem;
    padding:1rem 1.2rem;
    border:1px solid rgba(255,255,255,.15);
    border-radius:18px;
    background:rgba(255,255,255,.07)
}
.account-identity strong,.account-identity small {
    display:block
}
.account-identity small {
    color:#aac4da
}
.account-section {
    background:#f3f7fa
}
.account-dashboard {
    display:grid;
    grid-template-columns:250px minmax(0,1fr);
    gap:1.5rem;
    align-items:start
}
.account-sidebar {
    position:sticky;
    top:110px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;
    padding:1.15rem;
    box-shadow:0 14px 38px rgba(6,26,53,.06)
}
.account-profile {
    padding:.6rem
}
.account-profile h2 {
    font-size:1.25rem
}
.account-profile dl {
    margin:1rem 0
}
.account-profile dl div {
    padding:.75rem 0;
    border-top:1px solid var(--line)
}
.account-profile dt {
    font-size:.7rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:var(--muted)
}
.account-profile dd {
    margin:.15rem 0 0;
    overflow-wrap:anywhere;
    color:var(--navy)
}
.account-nav {
    display:grid!important;
    position:static!important;
    padding:0!important;
    box-shadow:none!important;
    margin:0 0 1rem!important;
    gap:.2rem!important;
    background:transparent!important
}
.account-nav a {
    padding:.65rem .7rem;
    border-radius:10px
}
.account-nav a:hover {
    background:#edf6fc;
    color:var(--blue)
}
.account-nav a:after {
    display:none
}
.account-main {
    display:grid;
    gap:1.25rem;
    min-width:0
}
.section-heading.compact {
    margin-bottom:1rem
}
.section-heading.compact h2 {
    font-size:1.65rem
}
.account-action-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.8rem
}
.account-action {
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:.8rem;
    align-items:start;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:1.1rem;
    transition:.2s
}
.account-action:hover {
    transform:translateY(-3px);
    border-color:#a8cde8;
    box-shadow:0 14px 34px rgba(6,26,53,.07)
}
.account-action>span {
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:10px;
    background:#eaf5fd;
    color:var(--blue);
    font-weight:800
}
.account-action h3 {
    font-size:1rem;
    margin:.15rem 0 .3rem
}
.account-action p {
    font-size:.8rem;
    margin:0
}
.account-action b {
    color:var(--coral);
    font-size:1.25rem
}
.account-history-card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;
    padding:var(--space-card);
    scroll-margin-top:110px
}
.history-head {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:1rem;
    margin-bottom:1rem
}
.history-head h2 {
    font-size:1.45rem;
    margin:0
}
.history-head>a {
    color:var(--blue);
    font-weight:800;
    font-size:.85rem
}
.responsive-records {
    display:grid
}
.responsive-records article {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:1rem;
    align-items:center;
    padding:1rem 0;
    border-top:1px solid var(--line)
}
.responsive-records strong,.responsive-records small {
    display:block
}
.responsive-records small {
    color:var(--muted);
    margin-top:.15rem
}
.responsive-records>b {
    color:var(--navy);
    white-space:nowrap
}
.account-empty {
    padding:1.25rem;
    background:#f6fafc;
    border-radius:14px
}
.account-empty p {
    margin:0
}
.account-empty a {
    color:var(--blue);
    font-weight:800
}
.footer-main {
    display:grid;
    grid-template-columns:minmax(270px,1.35fr) repeat(3,minmax(150px,1fr));
    gap:clamp(2rem,4vw,4rem);
    align-items:start
}
.footer-about {
    max-width:370px
}
.footer-logo {
    display:flex!important;
    align-items:center;
    gap:.85rem;
    margin:0 0 1.25rem!important
}
.footer-logo img {
    width:58px;
    height:58px;
    object-fit:contain;
    background:#fff;
    border-radius:14px;
    padding:3px
}
.footer-logo strong {
    color:#fff;
    font:800 1.05rem Manrope;
    letter-spacing:-.015em
}
.footer-medical-note {
    margin-top:1.25rem;
    padding-top:1.25rem;
    border-top:1px solid rgba(255,255,255,.12);
    font-size:.78rem
}
.footer-links {
    display:grid;
    align-content:start;
    gap:.25rem
}
.footer-links h2 {
    margin-bottom:.7rem
}
.site-footer .footer-links a {
    margin:0;
    padding:.28rem 0
}
.footer-contact p {
    margin-bottom:.5rem
}
.footer-bottom>div {
    display:flex;
    gap:1.2rem
}
.footer-bottom a {
    margin:0
}
@media(max-width:1050px) {
    .manage-grid,.checkout-layout {
        grid-template-columns:1fr
    }
    .manage-form,.checkout-summary {
        position:relative;
        top:auto
    }
    .account-dashboard {
        grid-template-columns:1fr
    }
    .account-sidebar {
        position:relative;
        top:auto;
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:1rem
    }
    .account-nav {
        grid-column:2;
        grid-row:1
    }
    .account-sidebar>.button {
        grid-column:1/-1
    }
    .footer-main {
        grid-template-columns:1.2fr 1fr 1fr
    }
    .footer-contact {
        grid-column:2/-1
    }
}
@media(max-width:760px) {
    .account-hero-inner {
        align-items:flex-start;
        flex-direction:column
    }
    .account-identity {
        width:100%
    }
    .account-sidebar {
        display:block
    }
    .account-action-grid {
        grid-template-columns:1fr
    }
    .responsive-records article {
        grid-template-columns:1fr auto
    }
    .responsive-records article>b {
        grid-column:1/-1
    }
    .admin-record-list article {
        align-items:flex-start;
        flex-direction:column
    }
    .record-actions {
        width:100%
    }
    .record-actions a,.record-actions form,.record-actions button {
        flex:1
    }
    .record-actions form {
        display:flex
    }
    .footer-main {
        grid-template-columns:1fr 1fr
    }
    .footer-about {
        grid-column:1/-1;
        max-width:none
    }
}
@media(max-width:520px) {
    .footer-main {
        grid-template-columns:1fr
    }
    .footer-contact {
        grid-column:auto
    }
    .footer-bottom>div {
        flex-direction:column;
        gap:.35rem
    }
    .history-head {
        align-items:flex-start;
        flex-direction:column
    }
    .responsive-records article {
        grid-template-columns:1fr
    }
    .checkout-line {
        align-items:flex-start;
        flex-direction:column
    }
    .inline-admin-form {
        min-width:340px
    }
}
.order-status-form {
    display:grid;
    grid-template-columns:minmax(150px,1fr) minmax(180px,1fr);
    gap:.5rem;
    min-width:360px
}
.order-status-form button {
    grid-column:1/-1
}
/* Shared alignment, badges and brand refinements */
.check {
    display:grid!important;
    grid-template-columns:20px minmax(0,1fr);
    align-items:start!important;
    column-gap:.72rem;
    line-height:1.45;
    cursor:pointer
}
.check input[type="checkbox"] {
    appearance:auto;
    width:18px!important;
    height:18px;
    margin:.18rem 0 0!important;
    padding:0;
    accent-color:var(--blue)
}
.check>span {
    display:block;
    min-width:0;
    padding:0
}
.status {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:.42rem .82rem!important;
    border-radius:999px!important;
    line-height:1.1;
    white-space:nowrap
}
.site-header .logo-brand {
    flex:0 0 auto;
    padding:.42rem .72rem .42rem .5rem;
    border-radius:15px;
    background:var(--navy);
    box-shadow:0 10px 24px rgba(6,26,53,.16)
}
.site-header .brand-wordmark {
    max-width:145px;
    color:#fff!important;
    font:800 .82rem/1.05 Manrope;
    text-transform:uppercase;
    letter-spacing:.055em
}
.site-header .logo-brand img {
    filter:none
}
.page-eyebrow {
    color:#8edbf4
}
/* Gallery */
.gallery-grid {
    display:grid;
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:1rem
}
.gallery-card {
    grid-column:span 4;
    position:relative;
    min-height:330px;
    margin:0;
    border-radius:22px;
    overflow:hidden;
    background:var(--navy);
    box-shadow:0 16px 40px rgba(6,26,53,.12)
}
.gallery-card:nth-child(5n+1),.gallery-card:nth-child(5n+2) {
    grid-column:span 6
}
.gallery-card img {
    width:100%;
    height:100%;
    min-height:330px;
    object-fit:cover;
    transition:transform .45s ease
}
.gallery-card:hover img {
    transform:scale(1.035)
}
.gallery-card figcaption {
    position:absolute;
    inset:auto 0 0;
    padding:3.5rem 1.3rem 1.25rem;
    background:linear-gradient(transparent,rgba(6,23,46,.92));
    color:#fff
}
.gallery-card strong,.gallery-card span {
    display:block
}
.gallery-card span {
    margin-top:.3rem;
    color:#d7e5f1;
    font-size:.84rem
}
/* Social brand controls */
.social-widgets a svg {
    width:19px;
    height:19px;
    fill:currentColor
}
.social-widgets .social-facebook {
    color:#1877f2
}
.social-widgets .social-instagram {
    color:#c13584
}
.social-widgets .social-linkedin {
    color:#0a66c2
}
.social-widgets .social-x {
    color:#111
}
.social-widgets .social-whatsapp {
    color:#25d366
}
.social-widgets .social-tiktok {
    color:#111
}
.social-widgets a:hover {
    color:#fff;
    transform:translateX(3px)
}
.social-widgets .social-facebook:hover {
    background:#1877f2
}
.social-widgets .social-instagram:hover {
    background:#c13584
}
.social-widgets .social-linkedin:hover {
    background:#0a66c2
}
.social-widgets .social-x:hover {
    background:#111
}
.social-widgets .social-whatsapp:hover {
    background:#25d366
}
.social-widgets .social-tiktok:hover {
    background:#111;
    color:#fff
}
.category-chips {
    display:flex;
    flex-wrap:wrap;
    gap:.55rem;
    margin:0 0 2rem
}
.category-chips a {
    padding:.55rem .85rem;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
    color:var(--blue);
    font-size:.82rem;
    font-weight:800
}
.category-chips a.active,.category-chips a:hover {
    background:var(--blue);
    border-color:var(--blue);
    color:#fff
}
.care-chat.intake-mode .chat-guide {
    display:none!important
}
.care-chat [data-chat-submit][hidden],.care-chat [data-chat-next][hidden] {
    display:none!important
}
@media(max-width:760px) {
    .gallery-card,.gallery-card:nth-child(5n+1),.gallery-card:nth-child(5n+2) {
        grid-column:span 12;
        min-height:280px
    }
    .gallery-card img {
        min-height:280px
    }
    .site-header .logo-brand {
        padding:.35rem .55rem .35rem .4rem
    }
    .site-header .brand-wordmark {
        display:block!important;
        max-width:112px;
        font-size:.64rem;
        letter-spacing:.035em
    }
    .site-header .logo-brand img {
        width:42px;
        height:42px
    }
}
@media(max-width:390px) {
    .site-header .brand-wordmark {
        max-width:90px;
        font-size:.56rem
    }
    .site-header .logo-brand {
        gap:.45rem
    }
    .site-header .logo-brand img {
        width:38px;
        height:38px
    }
}
/* Restored hospital wordmark */
.site-header .logo-brand {
    padding:0;
    background:transparent;
    border-radius:0;
    box-shadow:none
}
.brand-copy {
    display:block;
    min-width:0
}
.brand-copy strong,.brand-copy small {
    display:block;
    line-height:1
}
.site-header .brand-copy strong {
    color:var(--navy)!important;
    font:800 .96rem/1 Manrope;
    letter-spacing:.13em
}
.site-header .brand-copy small {
    display:block!important;
    margin-top:.34rem;
    color:var(--muted);
    font:700 .56rem/1 Manrope;
    letter-spacing:.14em
}
.footer-logo .brand-copy strong {
    color:#fff;
    font:800 1.02rem/1 Manrope;
    letter-spacing:.13em
}
.footer-logo .brand-copy small {
    display:block!important;
    margin-top:.36rem;
    color:#b9ccdd;
    font:700 .61rem/1 Manrope;
    letter-spacing:.14em
}
.footer-logo img {
    flex:0 0 auto
}
/* Conversational symptom intake */
.conversation-intake {
    display:flex!important;
    flex:1 1 auto;
    min-height:0;
    overflow:hidden;
    flex-direction:column;
    background:#f7fafc
}
.conversation-intake[hidden] {
    display:none!important
}
.conversation-thread {
    flex:1 1 auto;
    min-height:160px;
    overflow-y:auto;
    padding:1.15rem;
    display:flex;
    flex-direction:column;
    gap:.7rem;
    scrollbar-width:thin;
    scrollbar-color:#aac6db transparent
}
.conversation-message {
    max-width:86%;
    padding:.78rem .95rem;
    border-radius:17px;
    font-size:.86rem;
    line-height:1.45;
    box-shadow:0 4px 14px rgba(6,26,53,.05)
}
.conversation-message.bot {
    align-self:flex-start;
    background:#fff;
    color:#29465e;
    border:1px solid #dce8f0;
    border-bottom-left-radius:5px
}
.conversation-message.user {
    align-self:flex-end;
    background:var(--blue);
    color:#fff;
    border-bottom-right-radius:5px
}
.conversation-options {
    flex:0 0 auto;
    display:flex;
    flex-wrap:wrap;
    gap:.48rem;
    padding:.85rem 1rem;
    border-top:1px solid #dfe9f0;
    background:#fff
}
.conversation-options:empty {
    display:none
}
.conversation-choice {
    border:1px solid #a9c7dc;
    border-radius:999px;
    padding:.58rem .82rem;
    background:#fff;
    color:var(--blue);
    font:700 .78rem/1.2 Manrope;
    cursor:pointer;
    transition:.18s
}
.conversation-choice:hover,.conversation-choice.selected {
    border-color:var(--blue);
    background:#e9f4fb;
    box-shadow:0 0 0 2px rgba(11,79,156,.08)
}
.conversation-continue {
    width:100%;
    border-color:var(--blue);
    background:var(--blue);
    color:#fff
}
.conversation-composer {
    flex:0 0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) 42px;
    gap:.55rem;
    align-items:end;
    padding:.75rem 1rem;
    background:#fff;
    border-top:1px solid #dfe9f0
}
.conversation-composer textarea {
    min-height:44px;
    max-height:104px;
    padding:.7rem .85rem;
    resize:none;
    border-radius:14px;
    background:#f1f5f8
}
.conversation-composer button {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border:0;
    border-radius:13px;
    background:#cad7e1;
    color:#fff;
    font-size:1rem;
    cursor:not-allowed
}
.conversation-composer.enabled textarea {
    background:#fff;
    border-color:#8ab7d4
}
.conversation-composer.enabled button {
    background:var(--blue);
    cursor:pointer
}
.conversation-submit {
    flex:0 0 auto;
    padding:.85rem 1rem 1rem;
    background:#fff;
    border-top:1px solid #dfe9f0
}
.conversation-submit[hidden] {
    display:none
}
.conversation-submit p {
    font-size:.73rem;
    line-height:1.4;
    margin:0 0 .65rem
}
.care-chat.intake-mode .chat-guide {
    display:none!important
}
@media(max-width:650px) {
    .site-header .brand-copy strong {
        font-size:.8rem
    }
    .site-header .brand-copy small {
        font-size:.49rem;
        letter-spacing:.1em
    }
    .conversation-thread {
        padding:1rem
    }
    .conversation-options {
        padding:.75rem
    }
    .conversation-choice {
        padding:.62rem .78rem
    }
    .conversation-composer {
        padding:.7rem .75rem
    }
}
@media(max-width:390px) {
    .site-header .brand-copy strong {
        font-size:.7rem
    }
    .site-header .brand-copy small {
        font-size:.43rem
    }
    .site-header .logo-brand {
        gap:.42rem
    }
    .footer-logo .brand-copy strong {
        font-size:.9rem
    }
}
/* Clear actions, contextual labels and vertical rhythm */
.chat-alert .intake-cta {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin-top:.75rem;
    padding:.78rem .9rem;
    border-radius:12px;
    background:var(--blue);
    color:#fff!important;
    font:800 .8rem/1.25 Manrope;
    box-shadow:0 9px 22px rgba(11,79,156,.2)
}
.chat-alert .intake-cta span:last-child {
    display:grid;
    place-items:center;
    width:25px;
    height:25px;
    flex:0 0 auto;
    border-radius:8px;
    background:rgba(255,255,255,.16);
    font-size:1rem
}
.chat-alert .intake-cta:hover {
    background:#073e7e;
    transform:translateY(-1px)
}
.conversation-composer[hidden] {
    display:none!important
}
.chat-confirmation-state .chat-actions .button {
    color:#fff!important
}
.chat-confirmation-state .chat-actions .button-secondary {
    color:var(--blue)!important
}
.pill {
    margin:0 0 .85rem
}
.pill+ :is(h1,h2,h3,h4,p,a,div) {
    margin-top:.15rem
}
.service-visual .pill {
    background:#e7f2ff;
    color:#0b4f9c
}
.insight-card .pill {
    background:#f0eafe;
    color:#663ca4
}
.product-card .pill {
    background:#e6f7f1;
    color:#146a54
}
.product-card .pill-warning {
    background:#fff1d8;
    color:#8a5a00
}
.product-card .pill-danger {
    background:#ffebec;
    color:#a21e28
}
.product-body>h3,.product-body>h2 {
    margin-top:.15rem
}
.product-body>.button {
    margin-top:.85rem
}
.card> :last-child,.panel> :last-child {
    margin-bottom:0
}
.card :is(.button,.status)+*,.panel :is(.button,.status)+* {
    margin-top:.75rem
}
.chat-confirmation-state .chat-actions {
    padding-top:.5rem;
    padding-bottom:.25rem
}
/* Controls, operational statuses and customer updates */
.check {
    display:flex!important;
    align-items:center!important;
    gap:.7rem;
    min-height:24px;
    border:0!important;
    outline:0!important
}
.check input[type="checkbox"] {
    appearance:none!important;
    -webkit-appearance:none!important;
    flex:0 0 19px;
    width:19px!important;
    height:19px!important;
    margin:0!important;
    padding:0!important;
    border:1.5px solid #9bb4c7!important;
    border-radius:5px!important;
    background:#fff!important;
    box-shadow:none!important;
    outline:0!important;
    cursor:pointer;
    position:relative
}
.check input[type="checkbox"]:checked {
    background:var(--blue)!important;
    border-color:var(--blue)!important
}
.check input[type="checkbox"]:checked:after {
    content:'✓';
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    color:#fff;
    font:800 13px/1 sans-serif
}
.check input[type="checkbox"]:focus,.check input[type="checkbox"]:focus-visible {
    outline:0!important;
    box-shadow:0 0 0 3px rgba(11,79,156,.16)!important
}
.check>span {
    display:block;
    flex:1;
    line-height:1.4;
    padding:0!important
}
.check:focus-within {
    border-color:transparent!important;
    box-shadow:none!important;
    outline:0!important
}
.status {
    margin:.15rem .25rem .45rem 0;
    background:#edf2f6!important;
    color:#536678!important;
    border:1px solid #d8e1e8
}
.status-success {
    background:#e4f6ed!important;
    color:#176443!important;
    border-color:#b9e5cf
}
.status-info {
    background:#e6f2ff!important;
    color:#15558b!important;
    border-color:#bedcf5
}
.status-pending {
    background:#fff3d8!important;
    color:#805800!important;
    border-color:#f0d28a
}
.status-danger {
    background:#ffeaec!important;
    color:#9a2831!important;
    border-color:#f2bdc1
}
.status-neutral {
    background:#edf2f6!important;
    color:#536678!important
}
.inline-admin-form,.order-status-form {
    margin-top:.55rem!important
}
.product-purchase-form {
    margin-top:1.6rem
}
.product-purchase-form .button {
    margin-top:1rem;
    padding-block:1rem
}
.prescription-upload {
    margin-top:.35rem;
    padding:1rem;
    border:1px dashed #9ebbd0;
    border-radius:15px;
    background:#f4f9fc
}
.optional-label {
    display:inline-flex;
    margin-left:.45rem;
    padding:.2rem .48rem;
    border-radius:99px;
    background:#e6f2ff;
    color:var(--blue);
    font-size:.66rem;
    text-transform:uppercase;
    letter-spacing:.06em
}
.prescription-upload input[type="file"],input[type="file"] {
    padding:.45rem;
    background:#fff
}
.prescription-upload input[type="file"]::file-selector-button,input[type="file"]::file-selector-button {
    margin-right:.8rem;
    border:0;
    border-radius:10px;
    padding:.7rem .9rem;
    background:var(--blue);
    color:#fff;
    font-weight:800;
    cursor:pointer
}
.prescription-upload small {
    display:block;
    margin-top:.55rem;
    color:var(--muted)
}
.social-widgets .social-pinterest {
    color:#e60023
}
.social-widgets .social-pinterest:hover {
    background:#e60023;
    color:#fff
}
.chat-guidance {
    margin:.65rem 0 1rem;
    padding:.85rem;
    border-radius:13px;
    background:#eaf5fd;
    color:#164f76
}
.chat-guidance strong {
    display:block;
    margin-bottom:.3rem
}
.chat-guidance p {
    margin:0;
    color:inherit;
    font-size:.8rem
}
/* Home partner carousel */
.partners-section {
    overflow:hidden;
    background:#f7fafc
}
.partner-viewport {
    overflow:hidden;
    mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)
}
.partner-track {
    display:flex;
    width:max-content;
    gap:1rem;
    animation:partner-scroll 28s linear infinite
}
.partner-viewport:hover .partner-track {
    animation-play-state:paused
}
.partner-card {
    display:flex;
    align-items:center;
    gap:.8rem;
    width:270px;
    padding:1rem;
    border:1px solid var(--line);
    border-radius:17px;
    background:#fff;
    box-shadow:0 9px 26px rgba(6,26,53,.05)
}
.partner-card>span {
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    flex:0 0 auto;
    border-radius:13px;
    background:#e8f3fb;
    color:var(--blue);
    font-weight:900
}
.partner-card img {
    width:58px;
    height:48px;
    object-fit:contain
}
.partner-card strong,.partner-card small {
    display:block
}
.partner-card small {
    margin-top:.2rem;
    color:var(--muted);
    font-size:.72rem
}
@keyframes partner-scroll {
    to {
        transform:translateX(calc(-50% - .5rem))
    }
}
@media(prefers-reduced-motion:reduce) {
    .partner-track {
        animation:none
    }
}
@media(max-width:650px) {
    .nav-actions {
        gap:.35rem
    }
    .partner-card {
        width:230px
    }
    .product-purchase-form .button {
        width:100%
    }
}
/* Testimonials and newsletter */
.social-widgets .social-pinterest svg {
    fill:none
}
.social-widgets .social-pinterest:hover svg path {
    fill:#fff
}
.testimonial-section {
    background:#f7fafc
}
.testimonial-card {
    display:flex;
    flex-direction:column;
    min-height:250px;
    padding:clamp(1.4rem,3vw,2rem);
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    background:#fff;
    box-shadow:0 14px 38px rgba(6,26,53,.06)
}
.testimonial-stars {
    color:var(--coral);
    letter-spacing:.16em
}
.testimonial-card blockquote {
    flex:1;
    margin:1.15rem 0;
    font-size:1.05rem;
    line-height:1.75;
    color:var(--navy)
}
.testimonial-card footer {
    display:flex;
    flex-direction:column;
    gap:.2rem
}
.testimonial-card footer span {
    color:var(--muted);
    font-size:.82rem
}
.newsletter-band {
    padding:clamp(2.8rem,5vw,4.5rem) 0;
    background:var(--navy);
    color:#fff
}
.newsletter-inner {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);
    gap:clamp(2rem,5vw,5rem);
    align-items:center
}
.newsletter-inner h2 {
    margin:.4rem 0;
    color:#fff
}
.newsletter-inner p {
    margin:0;
    color:#bed0df
}
.newsletter-inner form {
    display:flex;
    gap:.6rem;
    padding:.55rem;
    border:1px solid rgba(255,255,255,.18);
    border-radius:18px;
    background:rgba(255,255,255,.08)
}
.newsletter-inner input {
    flex:1;
    min-width:0;
    border:0!important;
    background:#fff!important
}
.newsletter-inner .button {
    flex:0 0 auto
}
@media(max-width:800px) {
    .newsletter-inner {
        grid-template-columns:1fr
    }
    .newsletter-inner form {
        max-width:620px
    }
}
@media(max-width:520px) {
    .newsletter-inner form {
        align-items:stretch;
        flex-direction:column
    }
    .newsletter-inner .button {
        width:100%
    }
}
/* Clinical schedule, meaningful page landmarks and compact small-screen rhythm */
.page-hero .hero-eyebrow,.page-hero .eyebrow {
    color:#b8e8ff;
    margin-bottom:.9rem
}
.page-hero .eyebrow:before {
    background:var(--coral)
}
.page-hero .breadcrumb,.account-hero .breadcrumb {
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
    align-items:center;
    margin:0 0 1.15rem;
    font-size:.8rem;
    line-height:1.55;
    color:#c7dff5
}
.page-hero .breadcrumb a,.account-hero .breadcrumb a {
    color:#fff;
    text-underline-offset:3px
}
.home-breadcrumb {
    color:var(--blue)!important
}
.product-breadcrumb {
    color:var(--muted)!important
}
.product-breadcrumb a {
    color:var(--blue)!important
}
.schedule-heading {
    display:flex;
    justify-content:space-between;
    align-items:end;
    flex-wrap:wrap;
    gap:1.2rem;
    margin-bottom:1.6rem
}
.schedule-heading h2 {
    margin:.15rem 0 .35rem
}
.schedule-heading p {
    margin:0
}
.schedule-weeks {
    display:flex;
    flex-wrap:wrap;
    gap:.6rem
}
.schedule-scroll {
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    border-radius:18px;
    border:1px solid var(--line);
    background:#fff;
    box-shadow:0 15px 40px rgba(6,26,53,.055)
}
.doctor-schedule {
    min-width:980px;
    table-layout:fixed;
    border-collapse:separate;
    border-spacing:0
}
.doctor-schedule th,.doctor-schedule td {
    padding:.7rem;
    vertical-align:top;
    border-right:1px solid #e5edf4;
    border-bottom:1px solid #e5edf4
}
.doctor-schedule thead th {
    position:sticky;
    top:0;
    z-index:2;
    padding:1rem .65rem;
    background:#0a315e;
    color:#fff;
    text-align:center
}
.doctor-schedule thead th:first-child {
    left:0;
    z-index:3;
    width:110px;
    border-radius:16px 0 0 0
}
.doctor-schedule thead th span,.doctor-schedule thead th strong {
    display:block
}
.doctor-schedule thead th span {
    font-size:.64rem;
    letter-spacing:.15em;
    opacity:.75
}
.doctor-schedule thead th strong {
    font-size:.86rem
}
.doctor-schedule tbody th {
    position:sticky;
    left:0;
    z-index:1;
    width:110px;
    background:#f2f7fb;
    color:var(--navy);
    text-align:center;
    white-space:nowrap;
    font-size:.74rem
}
.doctor-schedule tbody tr:nth-child(even) td {
    background:#fafcfe
}
.doctor-schedule tbody td {
    height:98px;
    min-width:124px
}
.schedule-slot {
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:.3rem;
    text-align:left;
    padding:.75rem;
    border:1px solid #afcbe1;
    border-radius:12px;
    background:#ecf6ff;
    color:var(--navy);
    cursor:pointer;
    transition:background .2s,border-color .2s,transform .2s
}
.schedule-slot+.schedule-slot {
    margin-top:.45rem
}
.schedule-slot:hover:not(:disabled),.schedule-slot.is-selected {
    border-color:var(--blue);
    background:#dbefff;
    transform:translateY(-1px)
}
.schedule-slot:focus-visible {
    outline:3px solid var(--coral);
    outline-offset:2px
}
.schedule-slot strong {
    font-size:.78rem
}
.schedule-slot small {
    font-size:.67rem;
    line-height:1.4;
    color:#4e6480
}
.schedule-slot span {
    margin-top:.15rem;
    font-size:.64rem;
    font-weight:850;
    color:#175b87
}
.schedule-slot.is-unavailable {
    background:#f2f3f5;
    border-color:#e0e5e9;
    opacity:.75;
    cursor:not-allowed
}
.schedule-slot.is-unavailable span {
    color:#626a74
}
.schedule-booking {
    max-width:820px;
    margin:1.7rem auto 0;
    display:grid;
    gap:1rem
}
.schedule-booking[hidden] {
    display:none!important
}
.schedule-booking h2 {
    margin:0
}
.schedule-booking p {
    margin:0 0 .4rem
}
.schedule-booking .check {
    margin:.2rem 0
}
.schedule-booking .button {
    justify-self:start
}
@media(max-width:720px) {
    .schedule-heading {
        align-items:flex-start
    }
    .schedule-weeks .button {
        font-size:.76rem;
        padding:.65rem .7rem
    }
    .doctor-schedule {
        min-width:840px
    }
    .doctor-schedule thead th:first-child,.doctor-schedule tbody th {
        width:86px
    }
    .doctor-schedule tbody td {
        min-width:110px
    }
    .schedule-booking {
        padding:1.35rem
    }
    .page-hero {
        padding:3.8rem 0 3rem
    }
}
@media(prefers-reduced-motion:reduce) {
    .schedule-slot {
        transition:none
    }
    .schedule-slot:hover:not(:disabled) {
        transform:none
    }
}
/* v18 workflow refinements */
.check {
    gap:.6rem!important;
    min-height:18px!important
}
.check input[type="checkbox"] {
    flex-basis:16px!important;
    width:16px!important;
    height:16px!important;
    min-height:16px!important;
    border-radius:4px!important
}
.check input[type="checkbox"]:checked:after {
    font-size:11px!important
}
.notification-center {
    position:relative;
    flex:0 0 auto
}
.notification-button {
    position:relative;
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    padding:0;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    color:var(--blue);
    cursor:pointer
}
.notification-button svg {
    width:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round
}
.notification-button b {
    position:absolute;
    right:-5px;
    top:-6px;
    display:grid;
    place-items:center;
    min-width:19px;
    height:19px;
    padding:0 4px;
    border:2px solid #fff;
    border-radius:99px;
    background:var(--coral);
    color:#fff;
    font-size:.64rem
}
.notification-menu {
    position:absolute;
    right:0;
    top:calc(100% + .65rem);
    z-index:100;
    width:min(380px,calc(100vw - 24px));
    max-height:440px;
    overflow:auto;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 22px 55px rgba(6,26,53,.18)
}
.notification-menu[hidden] {
    display:none
}
.notification-menu header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:1rem 1.1rem;
    border-bottom:1px solid var(--line)
}
.notification-menu header small {
    color:var(--muted)
}
.notification-menu>a {
    display:grid;
    grid-template-columns:10px 1fr;
    gap:.7rem;
    margin:0!important;
    padding:1rem 1.1rem;
    border-bottom:1px solid var(--line);
    color:var(--ink)!important
}
.notification-menu>a:hover {
    background:#f5f9fc
}
.notification-menu>a strong,.notification-menu>a small,.notification-menu>a time {
    display:block
}
.notification-menu>a small {
    margin:.22rem 0;
    color:var(--muted);
    font-size:.78rem;
    line-height:1.45
}
.notification-menu>a time {
    color:#7d8c9d;
    font-size:.67rem
}
.notification-action {
    display:inline-flex;
    margin:.35rem 0;
    padding:.28rem .55rem;
    border-radius:8px;
    background:#e7f2ff;
    color:var(--blue);
    font-size:.7rem;
    font-style:normal;
    font-weight:850;
    text-transform:capitalize
}
.notification-dot {
    width:9px;
    height:9px;
    margin-top:.35rem;
    border-radius:50%;
    background:var(--blue)
}
.notification-dot.payment {
    background:#1d9463
}
.notification-dot.cancelled,.notification-dot.rejected {
    background:var(--coral)
}
.notification-empty {
    padding:1.25rem;
    margin:0;
    text-align:center
}
.payment-card {
    max-width:720px;
    margin:auto
}
.payment-summary {
    display:grid;
    grid-template-columns:1fr auto;
    gap:.7rem 2rem;
    margin-bottom:1.5rem;
    padding:1.1rem;
    border-radius:15px;
    background:#f1f7fb
}
.payment-summary strong {
    text-align:right;
    color:var(--navy)
}
.payment-methods {
    margin:0 0 1.3rem;
    padding:0;
    border:0
}
.payment-methods legend {
    margin-bottom:.7rem;
    font-weight:800;
    color:var(--navy)
}
.payment-choice {
    display:flex;
    align-items:center;
    gap:.8rem;
    margin:.65rem 0;
    padding:1rem;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    cursor:pointer
}
.payment-choice:has(input:checked) {
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(11,79,156,.1)
}
.payment-choice input {
    width:18px;
    height:18px;
    flex:0 0 auto;
    accent-color:var(--blue)
}
.payment-choice strong,.payment-choice small {
    display:block
}
.payment-choice small {
    color:var(--muted)
}
@media(max-width:720px) {
    .notification-menu {
        position:fixed;
        right:12px;
        top:132px
    }
    .notification-button {
        width:38px;
        height:38px
    }
    .payment-summary {
        grid-template-columns:1fr
    }
    .payment-summary strong {
        text-align:left
    }
}
.cart-icon {
    display:none;
    width:23px;
    height:23px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round
}
.pharmacy-visibility {
    padding:1rem;
    border:1px solid #b9d7ec;
    border-radius:15px;
    background:#f0f8fd
}
.pharmacy-visibility .check {
    align-items:flex-start!important
}
.pharmacy-visibility strong,.pharmacy-visibility small {
    display:block
}
.pharmacy-visibility small {
    margin-top:.25rem;
    color:var(--muted)
}
@media(max-width:650px) {
    .cart-link {
        position:relative;
        display:grid!important;
        place-items:center;
        width:42px;
        height:42px;
        padding:0!important
    }
    .cart-link .cart-icon {
        display:block
    }
    .cart-link>span {
        display:none
    }
    .cart-link b {
        position:absolute;
        top:-7px;
        right:-6px;
        border:2px solid #fff;
        z-index:1
    }
    .nav-actions .button-small {
        padding:.65rem .72rem
    }
}
/* v20 mobile navigation and contact refinements */
.mobile-account-link {
    display:none;
    width:42px;
    height:42px;
    place-items:center;
    border:1px solid #c6dbea;
    border-radius:50%;
    background:linear-gradient(145deg,var(--blue),#167cba);
    color:#fff;
    font-weight:850;
    box-shadow:0 8px 20px rgba(11,79,156,.18)
}
.contact-layout {
    display:grid;
    grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);
    gap:clamp(1.5rem,4vw,4rem);
    align-items:start
}
.contact-details {
    min-width:0
}
.contact-map {
    margin-top:1.4rem;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:18px;
    background:#f4f8fb;
    box-shadow:0 14px 34px rgba(6,26,53,.07)
}
.contact-map iframe {
    display:block;
    width:100%;
    height:320px;
    border:0
}
.contact-map>a {
    display:block;
    padding:.8rem 1rem;
    color:var(--blue);
    font-weight:800;
    background:#fff
}
@media(max-width:1180px) {
    .mobile-account-link {
        display:grid
    }
    .page-hero .breadcrumb,.account-hero .breadcrumb {
        position:static!important;
        inset:auto!important;
        display:flex!important;
        width:100%!important;
        max-width:100%;
        min-height:0!important;
        margin:0 0 1rem!important;
        padding:0!important;
        overflow-wrap:anywhere;
        flex-direction:row!important;
        align-items:center!important;
        gap:.4rem!important;
        background:transparent!important;
        box-shadow:none!important;
        color:#c7dff5!important
    }
    .page-hero .breadcrumb a,.account-hero .breadcrumb a {
        padding:0!important;
        background:transparent!important;
        color:#fff!important
    }
    .page-hero .breadcrumb a:after,.account-hero .breadcrumb a:after {
        display:none!important
    }
    .category-chips {
        position:static!important;
        inset:auto!important;
        display:flex!important;
        width:100%!important;
        margin:0 0 1.5rem!important;
        padding:.15rem 0 .65rem!important;
        overflow-x:auto;
        overscroll-behavior-inline:contain;
        flex-flow:row nowrap!important;
        align-items:center!important;
        gap:.5rem!important;
        background:transparent!important;
        box-shadow:none!important;
        scrollbar-width:thin
    }
    .category-chips a {
        flex:0 0 auto;
        white-space:nowrap
    }
    .category-chips a:after {
        display:none!important
    }
}
@media(max-width:1180px) {
    .breadcrumb {
        position:static!important;
        inset:auto!important;
        display:flex!important;
        width:100%!important;
        max-width:100%;
        min-height:0!important;
        margin-left:0!important;
        padding:0!important;
        overflow-wrap:anywhere;
        flex-flow:row wrap!important;
        align-items:center!important;
        gap:.4rem!important;
        background:transparent!important;
        box-shadow:none!important
    }
    .breadcrumb a {
        padding:0!important;
        background:transparent!important
    }
    .breadcrumb a:after {
        display:none!important
    }
}
@media(max-width:760px) {
    .contact-layout {
        grid-template-columns:1fr
    }
    .contact-map iframe {
        height:270px
    }
}
@media(max-width:480px) {
    .mobile-account-link,.cart-link,.notification-button {
        width:36px!important;
        height:36px!important
    }
    .mobile-account-link {
        font-size:.8rem
    }
    .nav-actions {
        gap:.28rem!important
    }
    .page-hero .breadcrumb,.account-hero .breadcrumb {
        font-size:.72rem!important;
        line-height:1.4
    }
    .category-chips {
        margin-inline:0!important
    }
    .contact-map iframe {
        height:240px
    }
}
/* Privacy Policy and Terms of Use */
.footer-legal {
    display:flex;
    align-items:center;
    gap:1.2rem;
    flex-wrap:wrap
}
.footer-legal a {
    margin:0!important;
    color:#d9e8f4!important;
    text-decoration:none!important
}
.footer-legal a:hover {
    color:var(--coral)!important;
    text-decoration:none!important
}
.legal-section {
    background:#f5f9fc
}
.legal-layout {
    display:grid;
    grid-template-columns:minmax(210px,260px) minmax(0,820px);
    justify-content:center;
    gap:clamp(2rem,5vw,5rem);
    align-items:start
}
.legal-index {
    position:sticky;
    top:110px;
    padding:1.35rem;
    border:1px solid var(--line);
    border-radius:20px;
    background:#fff;
    box-shadow:0 15px 38px rgba(6,26,53,.06)
}
.legal-index .pill {
    width:max-content;
    margin-bottom:1rem
}
.legal-index h2 {
    margin:0 0 .75rem;
    font-size:1rem
}
.legal-index nav {
    display:grid
}
.legal-index a {
    padding:.48rem 0;
    border-bottom:1px solid #e8eef3;
    color:#52697c;
    font-size:.8rem;
    font-weight:750
}
.legal-index a:last-child {
    border-bottom:0
}
.legal-index a:hover {
    color:var(--blue)
}
.legal-copy {
    min-width:0
}
.legal-copy>section {
    position:relative;
    margin-top:1rem;
    padding:clamp(1.5rem,3vw,2.3rem);
    scroll-margin-top:110px;
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    box-shadow:0 14px 36px rgba(6,26,53,.05)
}
.legal-copy>section:first-of-type {
    margin-top:1.25rem
}
.legal-number {
    display:inline-grid;
    place-items:center;
    min-width:36px;
    height:28px;
    margin-bottom:.8rem;
    padding:0 .55rem;
    border-radius:99px;
    background:#e7f2ff;
    color:var(--blue);
    font:850 .7rem/1 Manrope;
    letter-spacing:.06em
}
.legal-copy h2 {
    margin:0 0 .85rem;
    color:var(--navy);
    font-size:clamp(1.25rem,2vw,1.7rem)
}
.legal-copy h3 {
    margin:0 0 .45rem;
    color:var(--navy);
    font-size:.98rem
}
.legal-copy p,.legal-copy li {
    color:#50677a;
    line-height:1.75
}
.legal-copy p {
    margin:.65rem 0
}
.legal-copy ul {
    display:grid;
    gap:.4rem;
    margin:.75rem 0 0;
    padding-left:1.25rem
}
.legal-copy a {
    color:var(--blue);
    font-weight:750;
    text-decoration:underline;
    text-underline-offset:3px
}
.legal-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.85rem;
    margin:1rem 0
}
.legal-grid>div {
    padding:1rem;
    border:1px solid #deebf4;
    border-radius:15px;
    background:#f8fbfd
}
.legal-grid p {
    margin:0;
    font-size:.86rem
}
.legal-notice {
    padding:1.15rem 1.25rem;
    border:1px solid;
    border-radius:16px
}
.legal-notice strong {
    display:block;
    margin-bottom:.35rem;
    color:inherit
}
.legal-notice p {
    margin:0;
    color:inherit;
    line-height:1.65
}
.legal-notice-review {
    border-color:#f0d28a;
    background:#fff7e5;
    color:#6f4f0c
}
.legal-notice-info {
    margin:.7rem 0 1rem;
    border-color:#bcdcf2;
    background:#eaf6fd;
    color:#164f76
}
.legal-notice-danger {
    margin:.7rem 0 1rem;
    border-color:#efbdc1;
    background:#fff0f1;
    color:#8d2630
}
.legal-contact {
    display:grid;
    gap:.3rem;
    margin-top:1rem;
    padding:1.1rem;
    border-radius:15px;
    background:#eef6fb;
    color:#50677a;
    font-style:normal
}
.legal-contact strong {
    color:var(--navy)
}
@media(max-width:880px) {
    .legal-layout {
        grid-template-columns:1fr
    }
    .legal-index {
        position:relative;
        top:auto
    }
    .legal-index nav {
        grid-template-columns:1fr 1fr;
        gap:0 1rem
    }
    .legal-grid {
        grid-template-columns:1fr
    }
}
@media(max-width:560px) {
    .legal-index {
        padding:1.1rem
    }
    .legal-index nav {
        grid-template-columns:1fr
    }
    .legal-copy>section {
        padding:1.25rem;
        border-radius:17px
    }
    .legal-notice {
        padding:1rem
    }
    .footer-legal {
        align-items:flex-start;
        flex-direction:column;
        gap:.45rem
    }
}
/* v22 content, care workflow and component consistency */
:where(.card,.panel,.form-card,.account-history-card)>:first-child {
    margin-top:0
}
:where(.card,.panel,.form-card,.account-history-card)>:last-child {
    margin-bottom:0
}
.section-head,.panel-head,.history-head {
    gap:1rem
}
.section-head p,.panel-head p,.history-head p {
    margin-bottom:0
}
.button+.button,.button+form,form+.button {
    margin-top:.5rem
}
.metric-grid .metric {
    color:inherit;
    text-decoration:none!important;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.metric-grid .metric:hover {
    transform:translateY(-2px);
    border-color:#a8cce4;
    box-shadow:0 16px 35px rgba(6,26,53,.1)
}
.care-activity-panel {
    margin-top:1.25rem
}
.chart-legend {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:1rem;
    flex-wrap:wrap;
    color:var(--muted);
    font-size:.76rem
}
.chart-legend span {
    display:inline-flex;
    align-items:center;
    gap:.4rem
}
.chart-legend i {
    width:10px;
    height:10px;
    border-radius:3px;
    background:var(--blue)
}
.chart-legend .legend-labs {
    background:#24a9a1
}
.chart-legend .legend-checkins {
    background:var(--coral)
}
.care-activity-chart {
    display:grid;
    grid-template-columns:repeat(6,minmax(54px,1fr));
    align-items:end;
    gap:clamp(.6rem,2vw,1.5rem);
    min-height:210px;
    padding:1.2rem 1rem .4rem;
    border-radius:18px;
    background:linear-gradient(180deg,#f8fbfd,#fff)
}
.care-month {
    display:grid;
    gap:.55rem;
    text-align:center
}
.care-bars {
    height:160px;
    display:flex;
    align-items:end;
    justify-content:center;
    gap:5px;
    border-bottom:1px solid var(--line)
}
.care-bars>i {
    position:relative;
    width:min(24%,18px);
    min-height:5px;
    border-radius:6px 6px 2px 2px;
    background:var(--blue)
}
.care-bars>i.laboratory {
    background:#24a9a1
}
.care-bars>i.carecheckins {
    background:var(--coral)
}
.care-bars>i b {
    position:absolute;
    left:50%;
    top:-1.05rem;
    transform:translateX(-50%);
    font:750 .62rem/1 Manrope;
    color:var(--muted)
}
.care-month>small {
    font-weight:750;
    color:var(--muted)
}
.attention-card {
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    gap:1rem;
    align-items:start;
    margin-bottom:1.4rem;
    padding:clamp(1.25rem,3vw,1.8rem);
    border:1px solid #bedcf5;
    border-radius:20px;
    background:#edf7ff
}
.attention-card.has-actions {
    border-color:#8abbe0;
    background:#edf7ff;
    box-shadow:0 14px 32px rgba(11,79,156,.1)
}
.attention-card h2 {
    margin:.2rem 0 .35rem;
    font-size:clamp(1.15rem,2vw,1.45rem)
}
.attention-card p {
    margin:0
}
.attention-icon {
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    border-radius:14px;
    background:var(--blue);
    color:#fff;
    font-weight:900
}
.attention-card.has-actions .attention-icon {
    background:var(--coral)
}
.record-action-needed {
    position:relative;
    margin:.55rem 0;
    padding:1.2rem 1rem 1rem 1.25rem!important;
    border:1px solid #8abbe0!important;
    border-left:6px solid var(--blue)!important;
    border-radius:14px;
    background:#edf7ff!important;
    box-shadow:0 10px 24px rgba(11,79,156,.08)
}
.action-required-label {
    position:absolute;
    top:-.62rem;
    left:1rem;
    padding:.28rem .6rem;
    border-radius:99px;
    background:var(--coral);
    color:#fff;
    font-size:.64rem;
    font-weight:850;
    letter-spacing:.04em
}
.record-action {
    white-space:nowrap
}
.responsive-records .status {
    min-width:154px
}
.status-list .status {
    width:100%;
    min-width:0;
    justify-content:center;
    text-align:center
}
.assessment-summary {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.8rem;
    margin:1rem 0
}
.assessment-summary>div {
    padding:1rem;
    border:1px solid var(--line);
    border-radius:15px;
    background:#f8fbfd
}
.assessment-summary strong {
    color:var(--navy)
}
.assessment-summary p {
    margin:.4rem 0 0
}
.care-assessment-card+.care-assessment-card {
    margin-top:1.2rem
}
.care-assessment-card .panel-head h2 {
    margin:.65rem 0 .2rem;
    font-size:1.3rem
}
.assessment-actions {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
    gap:1rem;
    margin-top:1rem
}
.action-panel {
    align-content:start;
    margin:0!important;
    padding:1.15rem;
    border:1px solid var(--line);
    border-radius:16px;
    background:#fff
}
.action-complete {
    display:grid;
    gap:.65rem
}
.action-complete a {
    color:var(--blue);
    font-weight:800
}
.activity-counts {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.45rem
}
.activity-counts span {
    padding:.5rem .65rem;
    border-radius:10px;
    background:#eef6fb;
    font-size:.72rem;
    color:#50677a
}
.activity-counts b {
    color:var(--navy)
}
.role-summary {
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    gap:1rem;
    align-items:center;
    margin:1rem 0 1.4rem;
    padding:1.1rem;
    border:1px solid #c6ddeb;
    border-radius:16px;
    background:#f3f9fd
}
.role-summary h3,.role-summary p {
    margin:.15rem 0
}
.role-summary>strong {
    color:var(--blue)
}
.service-meta {
    display:flex;
    flex-wrap:wrap;
    gap:.45rem;
    margin:.8rem 0
}
.service-meta span {
    padding:.38rem .58rem;
    border-radius:9px;
    background:#edf6fc;
    color:#34566f;
    font-size:.72rem;
    font-weight:750
}
.specialist-card {
    display:flex;
    flex-direction:column;
    gap:.55rem
}
.specialist-card h3,.specialist-card p {
    margin:0
}
.specialist-card>a {
    margin-top:auto;
    padding-top:.55rem;
    color:var(--blue);
    font-weight:800
}
.review-byline {
    display:block;
    margin:.75rem 0;
    color:#50677a;
    font-weight:750
}
.review-card {
    display:grid;
    gap:.25rem;
    margin-top:1rem;
    padding:1rem;
    border-radius:14px;
    background:#eef6fb
}
.review-card small,.review-card span {
    color:#667b8d
}
.review-card strong {
    color:var(--navy)
}
.detail-layout {
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);
    gap:clamp(2rem,5vw,4.5rem);
    align-items:start
}
.detail-feature {
    width:100%;
    max-height:430px;
    margin-bottom:1.8rem;
    object-fit:cover;
    border-radius:24px
}
.detail-section {
    margin-top:1.25rem;
    padding:1.25rem;
    border:1px solid var(--line);
    border-radius:17px;
    background:#f8fbfd
}
.detail-section p {
    margin:0
}
.detail-action {
    position:sticky;
    top:110px
}
.detail-action h2 {
    font-size:1.55rem
}
.specialist-detail {
    display:grid;
    grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
    gap:clamp(2rem,5vw,5rem);
    align-items:start
}
.specialist-detail-photo {
    width:100%;
    max-height:620px;
    aspect-ratio:3/5;
    object-fit:cover;
    border-radius:28px;
    box-shadow:var(--shadow)
}
.clinical-checkout-layout {
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
    gap:1.5rem;
    align-items:start
}
.clinical-product-card {
    display:grid;
    grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);
    gap:1.5rem;
    padding:1.35rem;
    border:1px solid #a9cce5;
    border-radius:22px;
    background:#fff;
    box-shadow:0 16px 38px rgba(6,26,53,.07)
}
.clinical-product-card>img {
    width:100%;
    height:100%;
    min-height:310px;
    object-fit:cover;
    border-radius:16px
}
.record-detail-card {
    max-width:920px;
    padding:clamp(1.35rem,3vw,2rem);
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    box-shadow:var(--shadow)
}
.record-detail-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.85rem;
    margin:1.25rem 0
}
.record-detail-grid>div {
    padding:1rem;
    border-radius:14px;
    background:#f3f8fb
}
.record-detail-grid dt {
    font-size:.7rem;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--muted)
}
.record-detail-grid dd {
    margin:.25rem 0 0;
    color:var(--navy);
    font-weight:750
}
.record-detail-actions {
    display:flex;
    flex-wrap:wrap;
    gap:.7rem
}
.patient-detail-layout {
    display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(360px,1.15fr);
    gap:1.25rem;
    align-items:start;
    max-width:980px
}
.patient-detail-card {
    padding:var(--space-card);
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    box-shadow:var(--shadow)
}
.patient-detail-card h2 {
    margin:.35rem 0 1rem
}
.patient-detail-card .notice {
    margin:1rem 0
}
.button,.status,.pill,.eyebrow,h1,h2,h3,.notification-menu strong,.modal-title,button:not(.nav-toggle),th,nav a {
    text-transform:capitalize
}
@media(max-width:760px) {
    .assessment-summary {
        grid-template-columns:1fr
    }
    .assessment-actions {
        grid-template-columns:1fr
    }
    .role-summary {
        grid-template-columns:42px minmax(0,1fr)
    }
    .role-summary>strong {
        grid-column:2
    }
    .activity-counts {
        grid-template-columns:1fr
    }
    .responsive-records .status {
        min-width:140px
    }
}
@media(max-width:700px) {
    .care-activity-panel .panel-head {
        align-items:flex-start
    }
    .chart-legend {
        justify-content:flex-start
    }
    .care-activity-chart {
        overflow-x:auto;
        grid-template-columns:repeat(6,minmax(62px,1fr))
    }
}
@media(max-width:820px) {
    .detail-layout,.specialist-detail {
        grid-template-columns:1fr
    }
    .detail-action {
        position:static
    }
    .specialist-detail-photo {
        max-width:470px
    }
}
@media(max-width:820px) {
    .clinical-checkout-layout,.patient-detail-layout {
        grid-template-columns:1fr
    }
    .clinical-product-card {
        grid-template-columns:1fr
    }
    .clinical-product-card>img {
        max-height:360px;
        min-height:0
    }
    .record-detail-grid {
        grid-template-columns:1fr
    }
}
@media(min-width:761px) {
    .responsive-records .record-action-needed {
        grid-template-columns:minmax(0,1fr) auto auto auto
    }
}
@media(max-width:760px) {
    .responsive-records .record-action-needed {
        grid-template-columns:minmax(0,1fr) auto!important
    }
    .responsive-records .record-action-needed .record-action {
        grid-column:1/-1;
        justify-self:start
    }
    .responsive-records .record-action-needed>b {
        grid-column:1/-1
    }
}
@media(max-width:520px) {
    .responsive-records .record-action-needed {
        grid-template-columns:1fr!important
    }
    .responsive-records .record-action-needed .status {
        justify-self:start
    }
}
@media(max-width:520px) {
    .attention-card {
        grid-template-columns:40px minmax(0,1fr)
    }
    .attention-icon {
        width:40px;
        height:40px
    }
    .responsive-records .status {
        min-width:128px
    }
    .footer-bottom {
        align-items:flex-start
    }
}
/* v24 Health Insights And Careers */
.insight-card h2 {
    font-size:clamp(1.08rem,1.45vw,1.32rem);
    line-height:1.32;
    letter-spacing:-.018em
}
.insight-sidebar {
    display:grid;
    gap:1rem;
    align-self:start
}
.insight-aside-card,.insight-subscribe-card,.insight-quick-card {
    margin:0!important
}
.insight-subscribe-card {
    border-color:#b9d9ef;
    background:linear-gradient(150deg,#f5fbff,#fff)
}
.insight-subscribe-card h3,.insight-quick-card h3 {
    font-size:1.15rem
}
.insight-subscribe-card form {
    display:grid;
    gap:.65rem;
    margin-top:1rem
}
.insight-subscribe-card label {
    font-weight:800;
    color:var(--navy);
    font-size:.76rem
}
.insight-subscribe-card input {
    width:100%
}
.insight-quick-card nav {
    display:grid;
    gap:.55rem;
    margin-top:1rem
}
.quick-action {
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto;
    gap:.7rem;
    align-items:center;
    padding:.72rem;
    border:1px solid var(--line);
    border-radius:13px;
    background:#f8fbfd;
    color:var(--ink);
    text-decoration:none!important;
    transition:.18s
}
.quick-action:hover {
    border-color:#9ec8e3;
    background:#edf7fd;
    transform:translateX(2px)
}
.quick-action>span {
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:10px;
    background:#e5f1fa;
    color:var(--blue);
    font-size:.7rem;
    font-weight:900
}
.quick-action strong,.quick-action small {
    display:block
}
.quick-action strong {
    font-size:.8rem;
    color:var(--navy)
}
.quick-action small {
    margin-top:.15rem;
    color:var(--muted);
    font-size:.67rem
}
.quick-action>b {
    color:var(--coral)
}
.quick-action.emergency {
    border-color:#f2c2c6;
    background:#fff5f5
}
.quick-action.emergency>span {
    background:var(--coral);
    color:#fff
}
.quick-action.emergency strong {
    color:#8f252e
}
.careers-section {
    background:#f5f9fc
}
.careers-layout {
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
    gap:1.4rem;
    align-items:start
}
.career-list {
    display:grid;
    gap:1rem
}
.career-card {
    padding:clamp(1.25rem,3vw,1.8rem);
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    box-shadow:0 12px 34px rgba(6,26,53,.055)
}
.career-card.is-selected {
    border-color:#8fc1e2;
    box-shadow:0 16px 38px rgba(11,79,156,.11)
}
.career-card-head {
    display:flex;
    justify-content:space-between;
    gap:.75rem;
    align-items:start
}
.career-card h2 {
    margin:.25rem 0 .7rem;
    font-size:clamp(1.35rem,2vw,1.75rem)
}
.career-meta {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.7rem;
    margin:1rem 0
}
.career-meta>div {
    padding:.8rem;
    border-radius:13px;
    background:#f3f8fb
}
.career-meta dt {
    font-size:.66rem;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.07em;
    color:var(--muted)
}
.career-meta dd {
    margin:.2rem 0 0;
    color:var(--navy);
    font-weight:750
}
.career-card details {
    margin:.65rem 0;
    padding:.8rem 0;
    border-top:1px solid var(--line)
}
.career-card details+details {
    margin-top:0
}
.career-card summary {
    cursor:pointer;
    color:var(--blue);
    font-weight:800
}
.career-card details p {
    margin:.65rem 0 0;
    white-space:normal
}
.career-card>.button {
    margin-top:.75rem
}
.career-application {
    position:sticky;
    top:108px;
    scroll-margin-top:110px
}
.career-application .form-card {
    margin:0
}
.career-application h2 {
    margin:0;
    font-size:clamp(1.35rem,2vw,1.7rem)
}
.career-upload {
    padding:1rem;
    border:1px dashed #9ebbd0;
    border-radius:15px;
    background:#f4f9fc
}
.career-upload small {
    display:block;
    margin-top:.5rem;
    color:var(--muted)
}
.career-empty {
    max-width:760px;
    padding:clamp(2rem,5vw,4rem);
    border:1px solid var(--line);
    border-radius:26px;
    background:#fff;
    box-shadow:var(--shadow);
    text-align:center;
    margin:auto
}
.career-empty .button {
    margin-top:1rem
}
.hp-field {
    position:absolute!important;
    left:-10000px!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important
}
@media(max-width:960px) {
    .careers-layout {
        grid-template-columns:1fr
    }
    .career-application {
        position:relative;
        top:auto
    }
}
.careers-layout.is-browsing {
    grid-template-columns:1fr
}
.careers-layout.is-browsing .career-list {
    grid-template-columns:repeat(2,minmax(0,1fr))
}
.career-confirmation {
    display:grid;
    grid-template-columns:56px minmax(0,1fr);
    gap:1rem;
    align-items:start;
    margin:0 0 2rem;
    padding:clamp(1.25rem,3vw,1.8rem);
    scroll-margin-top:110px;
    border:1px solid #a9ddc5;
    border-radius:22px;
    background:#edfaf4;
    box-shadow:0 14px 34px rgba(25,112,77,.08)
}
.career-confirmation-icon {
    display:grid;
    place-items:center;
    width:56px;
    height:56px;
    border-radius:17px;
    background:#1c8a60;
    color:#fff;
    font:900 1.4rem Manrope
}
.career-confirmation h2 {
    margin:.15rem 0 .45rem;
    font-size:clamp(1.3rem,2vw,1.65rem)
}
.career-confirmation p {
    margin:0
}
.career-reference {
    margin-top:.75rem!important;
    padding-top:.75rem;
    border-top:1px solid #c8ead9;
    color:#315d4b
}
.career-back-link {
    color:var(--blue);
    font-weight:800;
    text-align:center
}
@media(max-width:760px) {
    .careers-layout.is-browsing .career-list {
        grid-template-columns:1fr
    }
}
@media(max-width:520px) {
    .career-confirmation {
        grid-template-columns:42px minmax(0,1fr)
    }
    .career-confirmation-icon {
        width:42px;
        height:42px;
        border-radius:13px
    }
}
@media(max-width:900px) {
    .insight-sidebar {
        grid-template-columns:1fr 1fr
    }
    .insight-aside-card {
        grid-column:1/-1
    }
}
@media(max-width:680px) {
    .insight-sidebar {
        grid-template-columns:1fr
    }
    .insight-aside-card {
        grid-column:auto
    }
    .career-meta {
        grid-template-columns:1fr
    }
    .career-card-head {
        align-items:flex-start;
        flex-direction:column
    }
}
/* v26 Dedicated Careers Application Journey */
.careers-intro {
    max-width:780px
}
.career-opportunity-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1.25rem
}
.career-opportunity-grid .career-card {
    display:flex;
    flex-direction:column;
    min-height:100%;
    overflow:hidden;
    position:relative
}
.career-opportunity-grid .career-card:before {
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:linear-gradient(180deg,var(--blue),var(--coral));
    opacity:.9
}
.career-opportunity-grid .career-card>p {
    flex:1
}
.career-card-footer {
    display:grid;
    gap:.85rem;
    margin-top:auto;
    padding-top:1.1rem;
    border-top:1px solid var(--line)
}
.career-card-footer>span {
    color:var(--muted);
    font-size:.78rem;
    line-height:1.55
}
.career-card-footer .button {
    justify-self:start
}
.career-apply-section {
    position:relative;
    background:linear-gradient(180deg,#f4f9fd 0,#fff 46%)
}
.career-apply-layout {
    display:grid;
    grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);
    gap:clamp(1.25rem,3vw,2rem);
    align-items:start;
    max-width:1180px;
    margin:auto
}
.career-role-panel {
    position:sticky;
    top:105px;
    padding:clamp(1.35rem,3vw,2rem);
    border:1px solid #b9d5e8;
    border-radius:26px;
    background:linear-gradient(155deg,#072c58,#0b4f9c);
    color:#fff;
    box-shadow:0 22px 55px rgba(7,44,88,.18)
}
.career-role-panel .eyebrow {
    color:#bfe4ff
}
.career-role-panel h2 {
    margin:.35rem 0 .7rem;
    color:#fff;
    font-size:clamp(1.55rem,2.5vw,2.1rem)
}
.career-role-panel>p {
    color:#dcecf8
}
.career-role-facts {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.65rem;
    margin:1.25rem 0
}
.career-role-facts>div {
    padding:.85rem;
    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;
    background:rgba(255,255,255,.08)
}
.career-role-facts span,.career-role-facts strong {
    display:block
}
.career-role-facts span {
    margin-bottom:.2rem;
    color:#b9d7eb;
    font-size:.66rem;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase
}
.career-role-facts strong {
    color:#fff;
    font-size:.82rem;
    line-height:1.45
}
.career-role-copy {
    margin-top:1rem;
    padding-top:1rem;
    border-top:1px solid rgba(255,255,255,.15)
}
.career-role-copy h3 {
    margin:0 0 .5rem;
    color:#fff;
    font-size:.95rem
}
.career-role-copy p {
    margin:0;
    color:#dcecf8;
    font-size:.78rem;
    line-height:1.65
}
.career-role-panel .career-back-link {
    display:inline-flex;
    margin-top:1.25rem;
    color:#fff;
    text-decoration:none
}
.career-role-panel .career-back-link:hover {
    color:#ffd8da
}
.career-form-panel {
    padding:clamp(1.25rem,3vw,2rem);
    border:1px solid var(--line);
    border-radius:26px;
    background:#fff;
    box-shadow:0 20px 52px rgba(6,26,53,.08)
}
.career-form-heading {
    margin-bottom:1.15rem
}
.career-form-heading h2 {
    margin:.25rem 0 .45rem;
    font-size:clamp(1.5rem,2.5vw,2rem)
}
.career-form-heading p {
    margin:0;
    color:var(--muted)
}
.career-dedicated-form {
    margin:0;
    padding:0;
    border:0;
    box-shadow:none;
    background:transparent
}
.career-dedicated-form textarea {
    min-height:145px
}
.career-form-assurance {
    display:grid;
    gap:.2rem;
    padding:.9rem 1rem;
    border:1px solid #b9d9ef;
    border-radius:14px;
    background:#eff8fe;
    color:#315d78
}
.career-form-assurance strong {
    color:var(--blue);
    font-size:.8rem
}
.career-form-assurance span {
    font-size:.74rem;
    line-height:1.5
}
.career-success {
    max-width:740px;
    margin:auto;
    padding:clamp(2rem,6vw,4rem);
    border:1px solid #a9ddc5;
    border-radius:30px;
    background:#fff;
    text-align:center;
    box-shadow:0 24px 60px rgba(25,112,77,.12)
}
.career-success-icon {
    display:grid;
    place-items:center;
    width:72px;
    height:72px;
    margin:0 auto 1rem;
    border-radius:23px;
    background:#1c8a60;
    color:#fff;
    font:900 1.8rem Manrope;
    box-shadow:0 12px 28px rgba(28,138,96,.25)
}
.career-success h2 {
    margin:.35rem 0 .65rem;
    font-size:clamp(1.7rem,4vw,2.5rem)
}
.career-success>p {
    max-width:590px;
    margin:.5rem auto;
    color:var(--muted)
}
.career-success-reference {
    display:inline-grid;
    gap:.25rem;
    margin:1.3rem auto .4rem;
    padding:1rem 1.5rem;
    border:1px solid #bfe5d4;
    border-radius:16px;
    background:#effaf5
}
.career-success-reference span {
    color:#4f7666;
    font-size:.67rem;
    font-weight:850;
    letter-spacing:.08em;
    text-transform:uppercase
}
.career-success-reference strong {
    color:#146746;
    font-size:1.05rem;
    letter-spacing:.04em
}
.career-success-note {
    font-size:.75rem
}
.career-success-actions {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:.75rem;
    margin-top:1.5rem
}
.career-invalid {
    background:#fff
}
@media(max-width:900px) {
    .career-apply-layout {
        grid-template-columns:1fr
    }
    .career-role-panel {
        position:relative;
        top:auto
    }
    .career-opportunity-grid {
        grid-template-columns:1fr
    }
}
@media(max-width:600px) {
    .career-role-facts {
        grid-template-columns:1fr
    }
    .career-role-panel,.career-form-panel {
        border-radius:20px
    }
    .career-success {
        border-radius:22px
    }
    .career-success-actions {
        display:grid
    }
    .career-success-actions .button {
        width:100%
    }
}
/* v27 Flexible Gallery Media */
.gallery-grid {
    display:block;
    columns:3;
    column-gap:1rem
}
.gallery-card,.gallery-card:nth-child(5n+1),.gallery-card:nth-child(5n+2) {
    display:inline-block;
    width:100%;
    min-height:0;
    margin:0 0 1rem;
    break-inside:avoid;
    grid-column:auto;
    background:#071f3d;
    vertical-align:top
}
.gallery-card img {
    display:block;
    width:100%;
    height:auto;
    min-height:0;
    object-fit:contain
}
@media(max-width:900px) {
    .gallery-grid {
        columns:2
    }
}
@media(max-width:560px) {
    .gallery-grid {
        columns:1
    }
    .gallery-card,.gallery-card:nth-child(5n+1),.gallery-card:nth-child(5n+2) {
        min-height:0
    }
    .gallery-card img {
        min-height:0
    }
}
/* v28 Image Upload Feedback And Uniform Content Cards */
.field-help {
    display:block;
    margin-top:.5rem;
    color:var(--muted);
    font-size:.76rem;
    line-height:1.5
}
.field-error {
    display:flex;
    align-items:flex-start;
    gap:.45rem;
    margin-top:.6rem;
    padding:.72rem .85rem;
    border:1px solid #efb2b7;
    border-radius:11px;
    background:#fff0f1;
    color:#98272f;
    font-size:.78rem;
    font-weight:700;
    line-height:1.45
}
.field-error:before {
    content:"!";
    display:grid;
    flex:0 0 20px;
    place-items:center;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#b92d37;
    color:#fff;
    font-size:.7rem;
    font-weight:900
}
.field-has-error input[type="file"] {
    border-color:#d94a54;
    background:#fffafb
}
.field-has-error input[type="file"]:focus {
    border-color:#b92d37;
    outline:3px solid rgba(185,45,55,.14)
}
.pharmacy-product-card,.service-visual {
    display:flex;
    min-height:100%;
    flex-direction:column
}
.pharmacy-product-card>img,.service-visual>img {
    display:block;
    width:100%;
    height:220px;
    flex:0 0 220px;
    object-fit:cover;
    object-position:center;
    background:var(--ice)
}
.pharmacy-product-card .product-body,.service-visual .product-body {
    display:flex;
    flex:1;
    flex-direction:column
}
.pharmacy-product-card .product-body>.button,.service-visual .product-body>a:last-child {
    margin-top:auto
}
@media(max-width:760px) {
    .pharmacy-product-card>img,.service-visual>img {
        height:210px;
        flex-basis:210px
    }
}

/* v30 Responsive navigation, ordering, media, and spacing corrections */
:root {
    --layout-gutter:clamp(1rem,3vw,2.5rem);
    --section-space:clamp(3.75rem,7vw,7rem);
    --content-gap:clamp(1rem,2vw,1.5rem);
    --control-height:46px;
}

/* The public navigation rules must never leak into footer or admin navigation. */
.site-header .nav-wrap {
    min-width:0;
}
.site-header #primary-nav {
    min-width:0;
}
.site-header .nav-actions {
    flex:0 0 auto;
    margin-left:.25rem;
}
.account-text-link {
    white-space:nowrap;
}
.mobile-account-link {
    flex:0 0 auto;
}

/* Keep legal links in the footer document flow on every breakpoint. */
.site-footer .footer-legal {
    position:static!important;
    inset:auto!important;
    display:flex!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    flex-flow:row wrap!important;
    align-items:center!important;
    background:transparent!important;
    box-shadow:none!important;
}
.site-footer .footer-legal a {
    position:static;
}
.site-footer .footer-legal a:after {
    display:none!important;
}
main {
    display:block;
    width:100%;
}
main>.page-hero:first-child,
main>.account-hero:first-child,
main>.hero:first-child {
    position:relative;
    z-index:1;
}

/* Normalize public media visually without rejecting any uploaded orientation. */
.pharmacy-product-card>img,
.service-visual>img,
.insight-card>img,
.specialist-card>img {
    display:block;
    width:100%;
    height:clamp(190px,22vw,240px);
    max-height:380px;
    object-fit:cover;
    object-position:center;
    background:var(--ice);
}
.gallery-card img {
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:contain;
}

/* Consistent component rhythm across public and administration screens. */
:where(.card,.panel,.form-card,.notice,.alert) {
    min-width:0;
}
:where(.form-grid,.grid,.manage-grid,.account-layout,.booking-layout) {
    gap:var(--content-gap);
}
:where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
    max-width:100%;
}

/* Desktop administration keeps a fixed dark rail and an independent content area. */
.admin-nav-toggle,
.admin-nav-backdrop {
    display:none;
}
.admin-side {
    background:linear-gradient(180deg,#061a35,#08284a)!important;
}

@media(max-width:1180px) {
    .site-header .account-text-link {
        display:none!important;
    }
    .site-header .mobile-account-link {
        display:grid!important;
    }
}

@media(max-width:900px) {
    .admin-shell {
        display:block!important;
        min-height:100dvh;
    }
    .admin-side {
        position:fixed!important;
        inset:0 auto 0 0!important;
        z-index:120;
        width:min(86vw,320px)!important;
        height:100dvh!important;
        max-height:none!important;
        padding:1.1rem!important;
        overflow-y:auto!important;
        overscroll-behavior:contain;
        transform:translateX(-105%);
        transition:transform .25s ease;
        box-shadow:20px 0 50px rgba(4,20,41,.28);
    }
    .admin-side.is-open {
        transform:translateX(0);
    }
    .admin-side nav {
        position:static!important;
        display:grid!important;
        width:100%!important;
        grid-template-columns:1fr!important;
        gap:.2rem!important;
        margin:0!important;
        padding:0!important;
        background:transparent!important;
        box-shadow:none!important;
    }
    .admin-side nav a {
        width:100%;
        min-height:44px;
    }
    .admin-main {
        display:block!important;
        width:100%!important;
        padding:var(--layout-gutter)!important;
    }
    .admin-top {
        position:sticky!important;
        top:0;
        z-index:30;
        gap:1rem;
        margin:calc(-1 * var(--layout-gutter)) calc(-1 * var(--layout-gutter)) var(--layout-gutter)!important;
        padding:1rem var(--layout-gutter)!important;
    }
    .admin-nav-toggle {
        display:grid;
        grid-template-columns:20px auto;
        align-items:center;
        gap:3px .55rem;
        min-height:42px;
        padding:.55rem .75rem;
        border:1px solid #bdd5e6;
        border-radius:12px;
        background:#fff;
        color:var(--navy);
        cursor:pointer;
    }
    .admin-nav-toggle span {
        grid-column:1;
        display:block;
        width:20px;
        height:2px;
        background:currentColor;
    }
    .admin-nav-toggle strong {
        grid-column:2;
        grid-row:1 / span 3;
        font-size:.82rem;
    }
    .admin-nav-backdrop:not([hidden]) {
        position:fixed;
        inset:0;
        z-index:110;
        display:block;
        width:100%;
        height:100%;
        border:0;
        background:rgba(4,20,41,.54);
        backdrop-filter:blur(2px);
    }
    .admin-nav-open {
        overflow:hidden;
    }
}

@media(max-width:650px) {
    .site-header .brand small {
        display:block!important;
        font-size:.48rem;
        letter-spacing:.09em;
    }
    .site-header .logo-brand {
        max-width:min(54vw,220px);
        padding:.35rem .5rem .35rem .4rem;
    }
    .site-header .logo-brand img {
        width:40px;
        height:40px;
    }
    .site-header .nav-actions {
        gap:.35rem!important;
    }
    .page-hero,
    .account-hero {
        padding:3.25rem 0 2.75rem!important;
    }
    .footer-bottom {
        align-items:flex-start;
    }
}

@media(max-width:480px) {
    .admin-top {
        display:grid!important;
        grid-template-columns:auto minmax(0,1fr) auto;
        align-items:center!important;
    }
    .admin-top>div:first-of-type {
        min-width:0;
    }
    .admin-top h1 {
        overflow-wrap:anywhere;
        font-size:clamp(1.25rem,7vw,1.65rem);
    }
    .admin-user>span:first-child {
        display:none;
    }
    .metric-grid {
        grid-template-columns:1fr!important;
    }
    .site-header .nav-wrap {
        gap:.35rem;
    }
    .site-header .logo-brand {
        max-width:50vw;
    }
    .site-header .brand-copy strong {
        font-size:.72rem;
    }
    .site-header .brand-copy small {
        font-size:.43rem;
    }
}

/* v31 Pharmacy category and product-detail presentation */
:root {
    /* Adjust this value to change only the product-detail image height. */
    --product-detail-image-height:480px;
}
.product-detail-media {
    display:grid;
    place-items:center;
    min-width:0;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:28px;
    background:#fff;
    box-shadow:0 18px 48px rgba(6,26,53,.08);
}
.product-detail-media img {
    width:100%;
    height:var(--product-detail-image-height)!important;
    max-height:var(--product-detail-image-height);
    padding:clamp(1rem,3vw,2rem);
    border-radius:0!important;
    object-fit:contain!important;
    object-position:center;
}
@media(max-width:900px) {
    :root {
        --product-detail-image-height:400px;
    }
}
@media(max-width:650px) {
    :root {
        --product-detail-image-height:320px;
    }
    .product-detail-media {
        border-radius:20px;
    }
}

/* Keep this final override after legacy card rules so portrait products are never cropped. */
.shop-page .pharmacy-product-card>img,
.pharmacy-product-card>img {
    height:var(--pharmacy-card-image-height)!important;
    max-height:none!important;
    flex-basis:var(--pharmacy-card-image-height)!important;
    object-fit:contain!important;
    object-position:center;
    background:#fff;
}
