/* RXOPD patient portal + sticky public header patch */
:root{--rxp-green:#13a268;--rxp-green-dark:#0b8556;--rxp-blue:#1769e0;--rxp-blue-dark:#0f4fb8;--rxp-ink:#102033;--rxp-muted:#64748b;--rxp-bg:#eef7ff;--rxp-card:#ffffff;--rxp-line:rgba(16,32,51,.10);--rxp-shadow:0 18px 50px rgba(15,64,120,.13)}
body.rx-standard-shell{background:linear-gradient(180deg,#f3fbff 0,#eef7ff 46%,#f8fbff 100%);}
body.rx-standard-shell .rx-topbar{position:fixed;top:0;left:50%;z-index:90;transform:translateX(-50%);width:min(1180px,calc(100% - 14px));min-height:58px;margin:0 auto;padding:8px 12px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border:1px solid rgba(31,79,127,.10);border-top:0;border-radius:0 0 22px 22px;box-shadow:0 16px 36px rgba(15,50,90,.13);display:flex;align-items:center;gap:12px;}
body.rx-standard-shell .rx-page{padding-top:82px;}
body.rx-standard-shell .rx-brand img,body.rx-standard-shell .rx-logo-brand img{max-height:38px;width:auto;object-fit:contain;}
body.rx-standard-shell .rx-topnav{margin-left:auto;display:flex;align-items:center;gap:8px;}
body.rx-standard-shell .rx-topnav a,body.rx-standard-shell .rx-inline-form button{border:0;border-radius:999px;background:var(--rxp-green);color:#fff;font-weight:800;font-size:13px;line-height:1;padding:11px 15px;text-decoration:none;box-shadow:0 10px 18px rgba(19,162,104,.20);white-space:nowrap;}
body.rx-standard-shell .rx-topnav a.active,body.rx-standard-shell .rx-inline-form button:hover{background:var(--rxp-blue);box-shadow:0 10px 18px rgba(23,105,224,.22)}
body.rx-standard-shell .rx-public-menu-button{margin-left:auto;border:0;border-radius:16px;background:var(--rxp-blue);color:#fff;width:44px;height:40px;font-weight:900;box-shadow:0 12px 24px rgba(23,105,224,.22)}
body.rx-standard-shell .rx-public-drawer{position:fixed;z-index:110;top:0;right:0;width:min(340px,86vw);height:100dvh;background:rgba(255,255,255,.98);box-shadow:-24px 0 60px rgba(15,64,120,.22);transform:translateX(110%);transition:.25s ease;border-radius:24px 0 0 24px;padding:16px;overflow:auto;}
body.rx-public-menu-open .rx-public-drawer{transform:translateX(0)}
body.rx-public-menu-open .rx-public-menu-backdrop{opacity:1;pointer-events:auto;}
.rx-public-menu-backdrop{position:fixed;inset:0;background:rgba(16,32,51,.34);z-index:105;opacity:0;pointer-events:none;transition:.2s ease;}
.rx-public-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;}
.rx-public-drawer-head button{border:0;background:#eef4ff;color:var(--rxp-blue);width:38px;height:38px;border-radius:14px;font-size:22px;line-height:1;}
.rx-public-drawer-nav{display:grid;gap:9px;}
.rx-public-drawer-nav a,.rx-public-drawer-form button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:16px;background:#eef7ff;color:var(--rxp-ink);font-weight:800;font-size:14px;text-decoration:none;padding:13px 14px;}
.rx-public-drawer-nav a.active{background:var(--rxp-blue);color:#fff}.rx-public-drawer-form button{background:var(--rxp-green);color:#fff;text-align:left}.rx-public-drawer-form{margin:0}
.rx-patient-home{width:min(1180px,calc(100% - 24px));margin:0 auto 40px;display:grid;gap:18px;color:var(--rxp-ink);}
.rx-patient-hero-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#ecf7ff 52%,#e9fff6 100%);border:1px solid var(--rxp-line);box-shadow:var(--rxp-shadow);border-radius:30px;padding:22px;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:18px;align-items:center;}
.rx-patient-hero-card.compact{grid-template-columns:minmax(0,1fr) auto;}.rx-patient-hero-card h1{font-size:clamp(24px,3.1vw,46px);line-height:1.02;margin:8px 0 14px;letter-spacing:-.04em;color:#102033}.rx-patient-hero-card p{color:var(--rxp-muted);margin:0;}.rx-pill-soft{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#e8f8f0;color:var(--rxp-green-dark);font-size:12px;font-weight:900;padding:7px 11px;letter-spacing:.03em;text-transform:uppercase;}.rx-patient-searchbar{display:flex;gap:9px;background:#fff;padding:7px;border-radius:18px;border:1px solid rgba(23,105,224,.12);box-shadow:0 12px 30px rgba(23,105,224,.08);max-width:680px;}.rx-patient-searchbar input{min-width:0;flex:1;border:0;outline:0;padding:12px 14px;font-size:15px;background:transparent;color:var(--rxp-ink)}.rx-patient-searchbar button,.rx-solid-action,.rx-patient-quick-row a,.rx-token-actions a,.rx-stack-actions a,.rx-section-title-row a,.rx-section-title-row button,.rx-patient-action-grid a,.rx-nearby-card>a,.rx-full-token-card.empty a,.rx-token-buttons a{border:0;border-radius:15px;background:var(--rxp-green);color:#fff;text-decoration:none;font-weight:900;font-size:13px;padding:12px 15px;box-shadow:0 11px 20px rgba(19,162,104,.20);white-space:nowrap;}.rx-patient-quick-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.rx-patient-quick-row a:nth-child(2),.rx-solid-action{background:var(--rxp-blue);box-shadow:0 11px 20px rgba(23,105,224,.20)}.rx-patient-qr-preview{background:#fff;border-radius:24px;border:1px solid var(--rxp-line);padding:14px;box-shadow:0 14px 36px rgba(15,64,120,.10);display:grid;justify-items:center;text-align:center;gap:5px}.rx-patient-qr-preview img{width:128px;height:128px;border-radius:18px}.rx-patient-qr-preview strong{font-size:18px}.rx-patient-qr-preview span{font-size:12px;color:var(--rxp-muted)}.rx-empty-qr{width:128px;height:128px;border-radius:18px;background:repeating-linear-gradient(45deg,#e8f1ff 0 8px,#f7fbff 8px 16px);display:grid;place-items:center;font-weight:900;color:var(--rxp-blue)}
.rx-section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.rx-section-title-row span{font-size:12px;font-weight:900;color:var(--rxp-blue);text-transform:uppercase;letter-spacing:.04em}.rx-section-title-row h2{font-size:22px;line-height:1.05;margin:2px 0 0;color:var(--rxp-ink);letter-spacing:-.03em}.rx-token-strip,.rx-glass-panel{background:rgba(255,255,255,.88);border:1px solid var(--rxp-line);border-radius:26px;box-shadow:0 14px 42px rgba(15,64,120,.10);padding:18px;}.rx-token-slider{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}.rx-token-slide{min-width:280px;scroll-snap-align:start;background:linear-gradient(135deg,#fff,#f0f8ff);border:1px solid rgba(23,105,224,.12);border-radius:22px;padding:12px;display:grid;grid-template-columns:82px 1fr;gap:10px;align-items:center}.rx-token-slide img{width:82px;height:82px;border-radius:15px}.rx-token-slide b,.rx-nearby-card b,.rx-appointment-item b{display:block;color:var(--rxp-ink);font-size:15px}.rx-token-slide span,.rx-nearby-card span,.rx-appointment-item span{display:block;color:#475569;font-size:13px}.rx-token-slide small,.rx-nearby-card small,.rx-appointment-item small{display:block;color:var(--rxp-muted);font-size:12px}.rx-token-actions{grid-column:1/-1;display:flex;gap:8px}.rx-token-actions a{flex:1;text-align:center;padding:9px 10px}.rx-token-actions a:last-child{background:var(--rxp-blue)}.rx-patient-two-col{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:18px}.rx-patient-list{display:grid;gap:11px}.rx-appointment-item{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:12px;align-items:center;background:#fff;border:1px solid rgba(15,64,120,.09);border-radius:20px;padding:11px}.rx-appointment-item.small{grid-template-columns:44px minmax(0,1fr) auto}.rx-appointment-item img{width:74px;height:74px;border-radius:14px}.rx-grow{min-width:0}.rx-stack-actions{display:grid;gap:6px}.rx-stack-actions a{padding:8px 11px;text-align:center}.rx-stack-actions a:last-child{background:var(--rxp-blue)}.rx-record-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.rx-record-grid a{background:linear-gradient(135deg,#f5fbff,#ebfff6);border:1px solid rgba(23,105,224,.10);border-radius:20px;padding:16px;text-decoration:none;color:var(--rxp-ink);display:grid;gap:4px;text-align:center}.rx-record-grid b{font-size:30px;line-height:1;color:var(--rxp-blue)}.rx-record-grid span{font-size:12px;font-weight:900;color:#475569}.rx-patient-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.rx-patient-action-grid a{text-align:center;padding:11px 10px}.rx-patient-action-grid a:nth-child(even){background:var(--rxp-blue)}.rx-nearby-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rx-nearby-card{background:#fff;border:1px solid rgba(15,64,120,.09);border-radius:20px;padding:13px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center}.rx-avatar-circle{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,var(--rxp-blue),#52c7ff);color:#fff;font-weight:900;display:grid;place-items:center}.rx-nearby-card>a{padding:9px 12px}.rx-location-status,.rx-muted{font-size:13px;color:var(--rxp-muted);margin:4px 0 12px}.rx-nearby-card[data-distance-value] em{display:block;color:var(--rxp-green-dark);font-style:normal;font-weight:900;font-size:12px;margin-top:3px}.rx-qr-token-carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px}.rx-full-token-card{min-width:min(640px,92vw);scroll-snap-align:start;background:#fff;border:1px solid var(--rxp-line);box-shadow:var(--rxp-shadow);border-radius:28px;padding:18px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px}.rx-token-qr-wrap{background:linear-gradient(135deg,#eaf5ff,#f0fff7);border-radius:24px;padding:14px;text-align:center}.rx-token-qr-wrap img{width:100%;max-width:180px;border-radius:20px;background:#fff}.rx-token-qr-wrap span{display:inline-flex;margin-top:8px;border-radius:999px;background:var(--rxp-green);color:#fff;font-size:12px;font-weight:900;padding:6px 10px}.rx-token-meta h2{font-size:28px;margin:10px 0 0;letter-spacing:-.03em}.rx-token-meta p{margin:4px 0 12px;color:var(--rxp-muted)}.rx-token-line{padding:10px 0;border-top:1px solid var(--rxp-line)}.rx-token-line b{display:block}.rx-token-line small{color:var(--rxp-muted)}.rx-token-buttons{display:flex;gap:10px;margin-top:12px}.rx-token-buttons a{flex:1;text-align:center}.rx-token-buttons a:last-child{background:var(--rxp-blue)}.rx-full-token-card.empty{display:grid;place-items:center;text-align:center;min-height:260px}.rx-records-page .rx-appointment-item>a{background:var(--rxp-blue);color:#fff;text-decoration:none;border-radius:14px;padding:9px 12px;font-weight:900}.rx-records-page .rx-patient-two-col{align-items:start}
@media (min-width:861px){body.rx-standard-shell .rx-public-menu-button{display:none!important}body.rx-standard-shell .rx-topnav{display:flex!important}}
@media (max-width:860px){body.rx-standard-shell .rx-topbar{width:calc(100% - 10px);min-height:54px;padding:7px 10px;border-radius:0 0 18px 18px}body.rx-standard-shell .rx-topnav{display:none!important}body.rx-standard-shell .rx-page{padding-top:72px}.rx-patient-home{width:calc(100% - 16px);gap:14px}.rx-patient-hero-card,.rx-patient-hero-card.compact{grid-template-columns:1fr;padding:16px;border-radius:24px}.rx-patient-hero-card h1{font-size:27px}.rx-patient-searchbar{display:grid;grid-template-columns:1fr}.rx-patient-searchbar button{width:100%}.rx-patient-quick-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.rx-patient-quick-row a{font-size:12px;padding:11px 8px;text-align:center}.rx-patient-qr-preview{grid-template-columns:96px minmax(0,1fr);text-align:left;justify-items:start}.rx-patient-qr-preview img,.rx-empty-qr{width:96px;height:96px;grid-row:1/4}.rx-patient-two-col,.rx-nearby-list{grid-template-columns:1fr}.rx-token-slide{min-width:245px}.rx-appointment-item{grid-template-columns:56px minmax(0,1fr);padding:10px}.rx-appointment-item img{width:56px;height:56px}.rx-stack-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}.rx-record-grid{grid-template-columns:repeat(3,1fr)}.rx-record-grid a{padding:12px 8px}.rx-record-grid b{font-size:24px}.rx-patient-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-nearby-card{grid-template-columns:44px minmax(0,1fr)}.rx-nearby-card>a{grid-column:1/-1;text-align:center}.rx-full-token-card{grid-template-columns:1fr;min-width:88vw;padding:15px}.rx-token-qr-wrap img{max-width:210px}.rx-token-meta h2{font-size:24px}.rx-section-title-row h2{font-size:20px}.rx-section-title-row{align-items:flex-start}.rx-section-title-row a,.rx-section-title-row button{font-size:12px;padding:10px 11px}.rx-token-buttons{grid-template-columns:1fr 1fr}}
@media (max-width:390px){.rx-patient-quick-row{grid-template-columns:1fr}.rx-record-grid{grid-template-columns:1fr}.rx-patient-action-grid{grid-template-columns:1fr}.rx-patient-hero-card h1{font-size:23px}.rx-token-slide{min-width:220px}.rx-full-token-card{min-width:92vw}}


/* RXOPD public hanging fixed header correction: only main website header, drawer unchanged */
body.rx-standard-shell .rx-topbar.rx-hanging-header,
body.rx-standard-shell header.rx-topbar.rx-hanging-header{
  position:fixed!important;
  top:0!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  z-index:120!important;
  width:min(1180px,calc(100% - 14px))!important;
  max-width:none!important;
  min-height:58px!important;
  margin:0!important;
  padding:8px 12px!important;
  background:rgba(255,255,255,.98)!important;
  border:1px solid rgba(31,79,127,.12)!important;
  border-top:0!important;
  border-radius:0 0 24px 24px!important;
  box-shadow:0 18px 40px rgba(15,50,90,.15)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  display:flex!important;
  align-items:center!important;
}
body.rx-standard-shell .rx-page{padding-top:78px!important;}
body.rx-standard-shell .rx-topbar.rx-hanging-header .rx-brand{min-width:0;display:inline-flex;align-items:center;}
body.rx-standard-shell .rx-topbar.rx-hanging-header .rx-public-menu-button{flex:0 0 auto;}
body.rx-standard-shell .rx-public-drawer{top:0!important;border-radius:24px 0 0 24px!important;}
body.rx-standard-shell .rxhome-actions{grid-template-columns:repeat(8,minmax(0,1fr))!important;}
@media (max-width:860px){
  body.rx-standard-shell .rx-topbar.rx-hanging-header,
  body.rx-standard-shell header.rx-topbar.rx-hanging-header{
    top:0!important;
    left:4px!important;
    right:4px!important;
    transform:none!important;
    width:auto!important;
    min-height:56px!important;
    padding:7px 10px!important;
    border-radius:0 0 22px 22px!important;
  }
  body.rx-standard-shell .rx-page{padding-top:72px!important;}
  body.rx-standard-shell .rxhome-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media (max-width:390px){
  body.rx-standard-shell .rxhome-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  body.rx-standard-shell .rx-topbar.rx-hanging-header,
  body.rx-standard-shell header.rx-topbar.rx-hanging-header{left:3px!important;right:3px!important;border-radius:0 0 19px 19px!important;}
}


/* RXOPD hamburger drawer overlay fix: drawer must stay above the fixed hanging header */
body.rx-standard-shell .rx-public-menu-backdrop{
  z-index:2990!important;
}
body.rx-standard-shell .rx-public-drawer{
  z-index:3000!important;
  top:0!important;
  padding-top:calc(18px + env(safe-area-inset-top,0px))!important;
  border-radius:24px 0 0 24px!important;
  max-height:100dvh!important;
  isolation:isolate!important;
}
body.rx-public-menu-open.rx-standard-shell .rx-topbar.rx-hanging-header{
  z-index:120!important;
}
body.rx-standard-shell .rx-public-drawer-close-top{
  position:absolute!important;
  top:calc(10px + env(safe-area-inset-top,0px))!important;
  right:12px!important;
  z-index:3010!important;
  width:42px!important;
  height:42px!important;
  border:0!important;
  border-radius:999px!important;
  background:#ffffff!important;
  color:#0f3f74!important;
  font-size:28px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:0 12px 30px rgba(15,64,120,.22)!important;
  display:grid!important;
  place-items:center!important;
}
body.rx-standard-shell .rx-public-drawer-close-top:active{
  transform:scale(.96)!important;
}
body.rx-standard-shell .rx-public-drawer-head{
  padding-right:52px!important;
  min-height:46px!important;
}
body.rx-standard-shell .rx-public-drawer-head > button:not(.rx-public-drawer-close-top){
  display:none!important;
}
@media (max-width:860px){
  body.rx-standard-shell .rx-public-drawer{
    width:min(340px,88vw)!important;
    border-radius:22px 0 0 22px!important;
  }
  body.rx-standard-shell .rx-public-drawer-close-top{
    top:calc(8px + env(safe-area-inset-top,0px))!important;
    right:10px!important;
    width:40px!important;
    height:40px!important;
  }
}

/* RXOPD p6: header content alignment + drawer opens below hanging header */
:root{--rx-public-header-height:66px;--rx-public-header-gap:12px;}
body.rx-standard-shell .rx-topbar.rx-hanging-header,
body.rx-standard-shell header.rx-topbar.rx-hanging-header{
  position:fixed!important;
  top:0!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  z-index:160!important;
  width:min(1180px,calc(100% - 12px))!important;
  min-height:var(--rx-public-header-height)!important;
  padding:8px 12px!important;
  border-radius:0 0 24px 24px!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 15px 32px rgba(15,50,90,.14)!important;
}
body.rx-standard-shell .rx-page{padding-top:calc(var(--rx-public-header-height) + 18px)!important;}
body.rx-standard-shell .rx-public-menu-backdrop{
  top:calc(var(--rx-public-header-height) + var(--rx-public-header-gap))!important;
  bottom:0!important;
  left:0!important;
  right:0!important;
  height:auto!important;
  z-index:130!important;
}
body.rx-standard-shell .rx-public-drawer{
  top:calc(var(--rx-public-header-height) + var(--rx-public-header-gap))!important;
  height:calc(100dvh - var(--rx-public-header-height) - var(--rx-public-header-gap))!important;
  max-height:calc(100dvh - var(--rx-public-header-height) - var(--rx-public-header-gap))!important;
  z-index:140!important;
  padding-top:14px!important;
  border-radius:24px 0 0 24px!important;
  overflow:auto!important;
}
body.rx-standard-shell .rx-public-drawer-close-top{
  top:10px!important;
  right:10px!important;
  z-index:150!important;
}
body.rx-standard-shell .rx-public-drawer-head{padding-right:54px!important;}
body.rx-public-menu-open.rx-standard-shell .rx-topbar.rx-hanging-header{z-index:160!important;}
body.rx-standard-shell .rx-public-drawer-nav a,
body.rx-standard-shell .rx-public-drawer-form button{min-height:42px;font-size:14px;line-height:1.15;}
body.rx-standard-shell main[id],
body.rx-standard-shell section[id]{scroll-margin-top:calc(var(--rx-public-header-height) + 18px);}
@media(max-width:860px){
  :root{--rx-public-header-height:58px;--rx-public-header-gap:10px;}
  body.rx-standard-shell .rx-topbar.rx-hanging-header,
  body.rx-standard-shell header.rx-topbar.rx-hanging-header{
    left:4px!important;right:4px!important;transform:none!important;width:auto!important;min-height:var(--rx-public-header-height)!important;border-radius:0 0 21px 21px!important;
  }
  body.rx-standard-shell .rx-page{padding-top:calc(var(--rx-public-header-height) + 14px)!important;}
  body.rx-standard-shell .rx-public-drawer{width:min(340px,88vw)!important;border-radius:22px 0 0 22px!important;}
}
@media(max-width:390px){
  :root{--rx-public-header-height:56px;--rx-public-header-gap:8px;}
  body.rx-standard-shell .rx-public-drawer{width:min(324px,91vw)!important;}
}

/* RXOPD p7: final public hanging header and drawer alignment */
:root{--rx-public-header-height:66px;--rx-public-header-gap:10px;}
body.rx-standard-shell .rx-topbar.rx-hanging-header,
body.rx-standard-shell header.rx-topbar.rx-hanging-header{position:fixed!important;top:0!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(1180px,calc(100% - 12px))!important;min-height:var(--rx-public-header-height)!important;z-index:170!important;border-radius:0 0 24px 24px!important;background:rgba(255,255,255,.985)!important;box-shadow:0 15px 32px rgba(15,50,90,.14)!important;display:flex!important;align-items:center!important;}
body.rx-standard-shell .rx-page{padding-top:calc(var(--rx-public-header-height) + 18px)!important;}
body.rx-standard-shell .rx-public-menu-backdrop{top:calc(var(--rx-public-header-height) + var(--rx-public-header-gap))!important;z-index:130!important;height:auto!important;bottom:0!important;}
body.rx-standard-shell .rx-public-drawer{top:calc(var(--rx-public-header-height) + var(--rx-public-header-gap))!important;height:calc(100dvh - var(--rx-public-header-height) - var(--rx-public-header-gap))!important;max-height:calc(100dvh - var(--rx-public-header-height) - var(--rx-public-header-gap))!important;z-index:150!important;border-radius:24px 0 0 24px!important;padding-top:14px!important;overflow:auto!important;}
body.rx-standard-shell .rx-public-drawer-close-top{top:10px!important;right:10px!important;z-index:155!important;}
body.rx-standard-shell .rx-public-drawer-head{padding-right:54px!important;}
body.rx-standard-shell .rx-public-drawer-nav a,body.rx-standard-shell .rx-public-drawer-form button{font-size:13px!important;min-height:40px!important;line-height:1.15!important;}
body.rx-standard-shell main[id],body.rx-standard-shell section[id]{scroll-margin-top:calc(var(--rx-public-header-height) + 18px)!important;}
@media(max-width:860px){:root{--rx-public-header-height:58px;--rx-public-header-gap:9px;}body.rx-standard-shell .rx-topbar.rx-hanging-header,body.rx-standard-shell header.rx-topbar.rx-hanging-header{left:4px!important;right:4px!important;transform:none!important;width:auto!important;border-radius:0 0 21px 21px!important;}body.rx-standard-shell .rx-page{padding-top:calc(var(--rx-public-header-height) + 14px)!important;}body.rx-standard-shell .rx-public-drawer{width:min(340px,88vw)!important;border-radius:22px 0 0 22px!important;}}
@media(max-width:390px){:root{--rx-public-header-height:56px;--rx-public-header-gap:8px;}body.rx-standard-shell .rx-public-drawer{width:min(324px,91vw)!important;}}

/* RXOPD p8: compact hanging drawer below header + custom hamburger icon */
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:38px!important;
  padding:0!important;
  border-radius:14px!important;
  background:#1769e0!important;
  box-shadow:0 10px 22px rgba(23,105,224,.24)!important;
  overflow:visible!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span{
  display:block!important;
  height:3px!important;
  background:#fff!important;
  border-radius:999px!important;
  margin:0!important;
  position:absolute!important;
  left:9px!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){top:10px!important;width:24px!important;}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){top:18px!important;width:14px!important;}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){top:25px!important;width:24px!important;height:5px!important;border-radius:4px!important;}
body.rx-standard-shell .rx-public-drawer{
  width:min(306px,62vw)!important;
  top:calc(var(--rx-public-header-height) + 9px)!important;
  height:calc(100dvh - var(--rx-public-header-height) - 9px)!important;
  max-height:calc(100dvh - var(--rx-public-header-height) - 9px)!important;
  border-radius:24px 0 0 24px!important;
  z-index:150!important;
}
body.rx-standard-shell .rx-public-menu-backdrop{top:calc(var(--rx-public-header-height) + 9px)!important;}
body.rx-standard-shell .rx-public-drawer-nav{gap:7px!important;}
body.rx-standard-shell .rx-public-drawer-nav a,
body.rx-standard-shell .rx-public-drawer-form button{
  min-height:38px!important;
  font-size:12.5px!important;
  padding:10px 12px!important;
  border-radius:13px!important;
}
body.rx-standard-shell .rx-public-drawer-head{margin-bottom:10px!important;padding-right:44px!important;}
body.rx-standard-shell .rx-public-drawer-close-top{width:34px!important;height:34px!important;border-radius:12px!important;font-size:20px!important;}
body.rx-standard-shell .rx-page > *:first-child{scroll-margin-top:calc(var(--rx-public-header-height) + 16px)!important;}
@media(max-width:860px){
  body.rx-standard-shell .rx-public-drawer{width:62vw!important;min-width:210px!important;max-width:286px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom{width:40px!important;height:36px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){top:9px!important;width:23px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){top:17px!important;width:13px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){top:24px!important;width:23px!important;height:5px!important;}
}
@media(max-width:360px){
  body.rx-standard-shell .rx-public-drawer{width:64vw!important;min-width:204px!important;}
  body.rx-standard-shell .rx-public-drawer-nav a,body.rx-standard-shell .rx-public-drawer-form button{font-size:12px!important;padding-left:10px!important;padding-right:10px!important;}
}

:root{--rx-public-header-height:58px;--rx-public-header-gap:8px;}
body.rx-standard-shell .rx-topbar.rx-hanging-header{position:fixed!important;top:0!important;left:50%!important;transform:translateX(-50%)!important;width:min(1180px,calc(100% - 12px))!important;min-height:var(--rx-public-header-height)!important;z-index:160!important;border-radius:0 0 22px 22px!important;border-top:0!important;margin:0!important;}
body.rx-standard-shell .rx-page{padding-top:calc(var(--rx-public-header-height) + 24px)!important;}
body.rx-standard-shell .rx-public-drawer{top:calc(var(--rx-public-header-height) + var(--rx-public-header-gap))!important;right:7px!important;height:calc(100dvh - var(--rx-public-header-height) - var(--rx-public-header-gap) - 8px)!important;z-index:150!important;border-radius:24px 0 0 24px!important;padding-top:18px!important;box-shadow:-18px 14px 44px rgba(15,64,120,.24)!important;}
body.rx-standard-shell .rx-public-menu-backdrop{top:calc(var(--rx-public-header-height) + var(--rx-public-header-gap))!important;z-index:145!important;}
body.rx-public-menu-open.rx-standard-shell .rx-public-drawer{transform:translateX(0)!important;}
body.rx-public-menu-open.rx-standard-shell .rx-topbar.rx-hanging-header{z-index:170!important;}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom{position:relative!important;margin-left:auto!important;width:45px!important;height:40px!important;border:0!important;border-radius:15px!important;background:#f1f7ff!important;box-shadow:0 10px 24px rgba(23,105,224,.16)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span{position:absolute!important;right:9px!important;height:4px!important;border-radius:999px!important;background:#1769e0!important;transition:background .18s ease,width .18s ease,transform .18s ease,top .18s ease!important;}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){top:9px!important;width:28px!important;}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){top:18px!important;width:20px!important;}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){top:27px!important;width:12px!important;}
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span{background:#10a66a!important;}
body.rx-standard-shell .rx-public-drawer-close-top{position:absolute!important;top:10px!important;right:12px!important;width:34px!important;height:34px!important;border-radius:12px!important;border:0!important;background:#ecfff6!important;color:#10a66a!important;font-size:24px!important;line-height:1!important;font-weight:900!important;display:grid!important;place-items:center!important;}
body.rx-standard-shell .rx-public-drawer-head{padding-right:42px!important;}
@media(max-width:520px){
  :root{--rx-public-header-height:54px;--rx-public-header-gap:6px;}
  body.rx-standard-shell .rx-topbar.rx-hanging-header{width:calc(100% - 8px)!important;border-radius:0 0 18px 18px!important;padding:7px 10px!important;}
  body.rx-standard-shell .rx-brand img,body.rx-standard-shell .rx-logo-brand img{max-height:34px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom{width:41px!important;height:36px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){top:8px!important;width:26px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){top:16px!important;width:18px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){top:24px!important;width:11px!important;}
}


/* RXOPD public hamburger drawer flush repair - 2026-06-27
   Scope: public/patient standard shell header only. Removes dim overlay and makes menu slide from the screen edge. */
body.rx-standard-shell .rx-public-menu-backdrop,
body.rx-standard-shell.rx-public-menu-open .rx-public-menu-backdrop,
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-backdrop{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  background:transparent!important;
}
body.rx-standard-shell .rx-public-drawer{
  right:0!important;
  width:min(318px,82vw)!important;
  transform:translateX(108%)!important;
  transition:transform .30s cubic-bezier(.22,.61,.36,1),box-shadow .22s ease!important;
  will-change:transform!important;
  border-radius:24px 0 0 24px!important;
  border-left:1px solid rgba(219,229,241,.95)!important;
  box-shadow:-14px 16px 34px rgba(15,64,120,.18)!important;
  background:#fff!important;
}
body.rx-standard-shell.rx-public-menu-open .rx-public-drawer,
body.rx-public-menu-open.rx-standard-shell .rx-public-drawer{
  transform:translateX(0)!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom{
  overflow:hidden!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span{
  left:auto!important;
  right:8px!important;
  transform-origin:right center!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){
  width:28px!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){
  width:20px!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){
  width:12px!important;
}
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){
  top:11px!important;
  width:25px!important;
  transform:rotate(-35deg)!important;
}
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){
  width:18px!important;
  opacity:.85!important;
}
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){
  top:25px!important;
  width:25px!important;
  transform:rotate(35deg)!important;
}
@media(max-width:520px){
  body.rx-standard-shell .rx-public-drawer{
    right:0!important;
    width:min(306px,84vw)!important;
    border-radius:22px 0 0 22px!important;
  }
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span{right:8px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){width:26px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){width:18px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){width:11px!important;}
}

/* RXOPD public mobile header login + hamburger X correction - 2026-06-27
   Scope: public/index/header only. Keeps Login outside hamburger on mobile and removes duplicate drawer close crosses. */
body.rx-standard-shell .rx-mobile-login-outside{
  display:none;
}
body.rx-standard-shell .rx-public-drawer-close-top,
body.rx-standard-shell .rx-public-drawer-head > button[data-public-menu-close]{
  display:none!important;
}
body.rx-standard-shell .rx-public-drawer-head{
  padding-right:0!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom{
  overflow:hidden!important;
}
body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span{
  left:auto!important;
  right:8px!important;
  transform-origin:center!important;
  opacity:1!important;
}
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom{
  background:#ecfff6!important;
  box-shadow:0 10px 24px rgba(16,166,106,.18)!important;
}
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){
  top:18px!important;
  width:24px!important;
  height:4px!important;
  transform:rotate(45deg)!important;
  background:#10a66a!important;
}
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){
  top:18px!important;
  width:0!important;
  opacity:0!important;
  transform:scaleX(0)!important;
}
body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){
  top:18px!important;
  width:24px!important;
  height:4px!important;
  transform:rotate(-45deg)!important;
  background:#10a66a!important;
}
@media (max-width:860px){
  body.rx-standard-shell .rx-mobile-login-outside{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:36px!important;
    padding:0 14px!important;
    margin-left:auto!important;
    border-radius:999px!important;
    background:#10a66a!important;
    color:#fff!important;
    text-decoration:none!important;
    font-size:13px!important;
    line-height:1!important;
    font-weight:900!important;
    box-shadow:0 10px 20px rgba(16,166,106,.20)!important;
    white-space:nowrap!important;
  }
  body.rx-standard-shell .rx-mobile-login-outside.active{
    background:#1769e0!important;
    box-shadow:0 10px 20px rgba(23,105,224,.20)!important;
  }
  body.rx-standard-shell .rx-mobile-login-outside + .rx-public-menu-button.rx-public-menu-button-custom{
    margin-left:7px!important;
  }
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom{
    width:40px!important;
    height:36px!important;
    border-radius:14px!important;
  }
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1){top:8px!important;width:25px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){top:16px!important;width:17px!important;}
  body.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){top:24px!important;width:10px!important;}
  body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(1),
  body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(3){
    top:16px!important;
    width:23px!important;
  }
  body.rx-public-menu-open.rx-standard-shell .rx-public-menu-button.rx-public-menu-button-custom span:nth-child(2){
    top:16px!important;
    width:0!important;
    opacity:0!important;
  }
}
@media (max-width:360px){
  body.rx-standard-shell .rx-mobile-login-outside{
    min-height:34px!important;
    padding:0 11px!important;
    font-size:12.5px!important;
  }
  body.rx-standard-shell .rx-mobile-login-outside + .rx-public-menu-button.rx-public-menu-button-custom{
    margin-left:5px!important;
  }
}
