/* EliteX Account UI v3.4.19 – Premium white + subtle green theme (no gradients) */
*{box-sizing:border-box}
:root{
  /* Premium white theme + subtle green accent (no gradients) */
  --bau-bg:#ffffff;
  --bau-card:#ffffff;
  --bau-text:#0b0f14;
  --bau-muted:#6b7280;
  --bau-border:#e7ecea;
  --bau-soft:#f4f7f5;
  --bau-shadow:0 10px 22px rgba(17,24,39,.06);
  --bau-shadow-tight:0 6px 14px rgba(17,24,39,.08);
  --bau-radius:18px;
  --bau-radius-sm:14px;
  --bau-gutter:14px;
  --bau-black:#111111;
  --bau-accent:#22c55e;
  --bau-accent-ink:#0f5132;
  --bau-amber:#f59e0b;
  --bau-blue:#3b82f6;
  --bau-red:#ef4444;
  --bau-red-dark:#b91c1c;
}
@media (max-width:420px){:root{--bau-gutter:12px}}
@media (max-width:360px){:root{--bau-gutter:10px}}

/* Page foundation */
body.woocommerce-account.bau-brand-elitex{background:var(--bau-bg)}
.woocommerce-account .woocommerce{max-width:none}

/* Remove any theme wrapper box/border around the account area */
body.woocommerce-account.bau-brand-elitex .woocommerce{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation.bau-nav,
.woocommerce-account .woocommerce-MyAccount-content{
  float:none;
  width:100%;
  max-width:780px;
  margin:0 auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation.bau-nav{
  padding:10px var(--bau-gutter) calc(env(safe-area-inset-bottom) + 76px);
  color:var(--bau-text);
}

/* Hide Woo nav list */
.woocommerce-MyAccount-navigation ul{display:none !important}

/* Content area (endpoints) */
.woocommerce-account .woocommerce-MyAccount-content{
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
  padding:0 var(--bau-gutter) 48px;
}
body.bau-is-dashboard .woocommerce-MyAccount-content{display:none}

/* Micro-interactions */
.bau-action,.bau-wallet,.bau-row,.bau-list-item,.bau-order-card,.bau-topbar-back{transition:transform .12s ease, box-shadow .12s ease}
.bau-action:active,.bau-wallet:active,.bau-row:active,.bau-list-item:active,.bau-topbar-back:active{transform:scale(.99)}

@media (prefers-reduced-motion: no-preference){
  body.bau-is-dashboard .bau-topbar,
  body.bau-is-dashboard .bau-user,
  body.bau-is-dashboard .bau-actions,
  body.bau-is-dashboard .bau-wallet,
  body.bau-is-dashboard .bau-row,
  body.bau-is-dashboard .bau-order-card,
  body.bau-is-dashboard .bau-section{
    animation:bauFadeUp .22s ease-out both;
  }
  @keyframes bauFadeUp{
    from{opacity:0;transform:translateY(6px)}
    to{opacity:1;transform:translateY(0)}
  }
}

/* Topbar */
.bau-topbar{display:flex;align-items:center;gap:10px;margin:6px 0 10px}
.bau-topbar-back{
  width:40px;height:40px;border-radius:999px;
  display:grid;place-items:center;
  background:var(--bau-card);
  border:1px solid var(--bau-border);
  box-shadow:var(--bau-shadow-tight);
  color:var(--bau-text);
  text-decoration:none;
}
.bau-topbar-titles{display:flex;flex-direction:column;line-height:1.05}
.bau-topbar-title{font-size:22px;font-weight:950;letter-spacing:-.02em}
.bau-topbar-subtitle{font-size:12px;color:var(--bau-muted);font-weight:700;margin-top:2px}

/* User */
.bau-user{display:flex;align-items:center;gap:12px;padding:8px 2px 12px}
.bau-user-meta{min-width:0;flex:1}
.bau-user-name{font-size:clamp(26px, 6vw, 40px);font-weight:1000;letter-spacing:-.03em;line-height:1.05}
.bau-user-phone{font-size:14px;color:var(--bau-muted);font-weight:700;margin-top:4px}

/* Avatar */
.bau-avatar{
  position:relative;
  width:68px;height:68px;
  border-radius:999px;
  overflow:hidden;
  flex:0 0 auto;
}
.bau-avatar-media{
  width:68px;height:68px;
  border-radius:999px;
  background:var(--bau-card);
  border:1px solid var(--bau-border);
  box-shadow:var(--bau-shadow-tight);
  overflow:hidden;
}
.bau-avatar-img{width:100%;height:100%;object-fit:cover;border-radius:999px;display:block}
.bau-avatar-default{width:100%;height:100%;display:grid;place-items:center;color:rgba(11,15,20,.42)}

/* Wallet pill (header) */
.bau-wallet-pill{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--bau-border);
  box-shadow:var(--bau-shadow-tight);
  text-decoration:none;
  color:var(--bau-text);
  flex:0 0 auto;
}
.bau-wallet-pill-icon{display:grid;place-items:center;color:rgba(11,15,20,.55)}
.bau-wallet-pill-amount{font-weight:1000;font-size:13px;letter-spacing:-.01em;white-space:nowrap}

/* Quick actions */
.bau-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 10px}
.bau-action{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:8px;
  background:var(--bau-card);
  border:1px solid var(--bau-border);
  border-radius:var(--bau-radius);
  padding:14px 10px;
  min-height:98px;
  text-decoration:none;
  color:var(--bau-text);
  box-shadow:var(--bau-shadow);
}
.bau-action:active{box-shadow:var(--bau-shadow-tight)}
.bau-action-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--bau-soft)}
.bau-action-label{font-weight:950;font-size:12px;line-height:1.15}

/* Wallet card */
.bau-wallet{
  position:relative;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:#fff;
  border:1px solid rgba(34,197,94,.18);
  border-radius:16px;
  padding:10px 12px;
  text-decoration:none;
  color:var(--bau-text);
  box-shadow:var(--bau-shadow-tight);
  margin:4px 0 8px;
}
.bau-wallet::before{
  content:"";
  position:absolute;
  left:12px;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius:999px;
  background:rgba(34,197,94,.45);
  opacity:.9;
}
.bau-wallet-left{padding-left:14px}
.bau-wallet-left{min-width:0}
.bau-wallet-title{font-weight:1000;letter-spacing:-.01em;font-size:15px}
.bau-wallet-sub{font-size:11.5px;color:rgba(11,15,20,.72);font-weight:750;margin-top:3px}
.bau-wallet-right{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.bau-wallet-btn{
  padding:7px 10px;border-radius:12px;
  background:var(--bau-card);
  border:1px solid rgba(0,0,0,.08);
  font-weight:950;font-size:12px;
}
.bau-wallet-chevron svg{width:18px;height:18px;color:rgba(11,15,20,.55)}

/* Recent orders row */
.bau-row{
  display:flex;align-items:center;gap:10px;
  background:var(--bau-card);
  border:1px solid var(--bau-border);
  border-radius:var(--bau-radius);
  padding:12px;
  text-decoration:none;
  color:var(--bau-text);
  box-shadow:var(--bau-shadow);
}
.bau-row-icon{width:34px;height:34px;border-radius:12px;background:var(--bau-soft);display:grid;place-items:center;flex:0 0 auto}
.bau-row-text{display:flex;flex-direction:column;min-width:0;flex:1}
.bau-row-title{font-weight:1000;letter-spacing:-.01em}
.bau-row-sub{font-size:12px;color:var(--bau-muted);font-weight:700;margin-top:2px}
.bau-badge{background:var(--bau-accent);color:#fff;font-weight:950;font-size:11px;padding:6px 10px;border-radius:999px}
.bau-row-chevron svg{width:18px;height:18px;color:rgba(11,15,20,.55)}

/* Orders grid */
.bau-orders-overview{margin-top:10px}
.bau-orders-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
@media (min-width:560px){.bau-orders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Order card */
.bau-order-card{
  background:var(--bau-card);
  border:1px solid var(--bau-border);
  border-radius:20px;
  padding:14px;
  box-shadow:var(--bau-shadow);
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:hidden;
}
.bau-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bau-order-id{font-weight:1000;letter-spacing:-.01em}
.bau-order-date{font-size:12px;color:var(--bau-muted);font-weight:700}

.bau-order-idwrap{display:flex;align-items:center;gap:8px;min-width:0}
.bau-order-menu-btn{
  /* Tight, slim pill */
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid var(--bau-border);
  background:rgba(255,255,255,.92);
  box-shadow:0 6px 14px rgba(0,0,0,.06);
  /* Slightly darker than muted so the dots stay visible on bright screens */
  color:rgba(17,24,39,.82) !important;
  cursor:pointer;
  transition:background .12s ease, transform .12s ease, box-shadow .12s ease, color .12s ease;
  /* Prevent theme button pseudo-icons from showing up (fixes "double dots" issues) */
  font-size:0;
  line-height:0;
}
.bau-order-menu-btn::before,
.bau-order-menu-btn::after{content:none !important;display:none !important;}
.bau-order-menu-btn .bau-order-help-ico{
  display:grid;
  place-items:center;
  width:16px;
  height:16px;
}
.bau-order-menu-btn .bau-order-help-ico svg{width:16px;height:16px;display:block;}
.bau-order-menu-btn:hover{
  background:var(--bau-soft);
  color:var(--bau-text);
  box-shadow:0 6px 16px rgba(0,0,0,.10);
}
.bau-order-menu-btn:active{transform:scale(.96)}
.bau-order-menu-btn:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(34,197,94,.22);
}

.bau-floatbackdrop{
  position:fixed;
  inset:0;
  z-index:9998;
  display:none;
}
.bau-floatbackdrop.is-open{display:block}

.bau-floatmenu{
  position:fixed;
  z-index:9999;
  min-width:210px;
  max-width:260px;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(1.2) blur(14px);
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  box-shadow:0 24px 60px rgba(0,0,0,.18);
  padding:6px;
  opacity:0;
  transform:scale(.96);
  transform-origin:top right;
  pointer-events:none;
  transition:opacity .12s ease, transform .12s ease;
}
.bau-floatmenu.is-open{
  opacity:1;
  transform:scale(1);
  pointer-events:auto;
}
.bau-floatmenu-item{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:var(--bau-text);
  font-weight:950;
  font-size:14px;
}
.bau-floatmenu-item.is-disabled{opacity:.45;pointer-events:none}
button.bau-floatmenu-item{background:transparent;border:0;cursor:pointer;text-align:left}
.bau-floatmenu-item:hover{background:var(--bau-soft)}
.bau-floatmenu-icon{width:18px;height:18px;color:var(--bau-muted)}
.bau-floatmenu-sep{height:1px;background:rgba(0,0,0,.06);margin:6px 4px;border-radius:99px}


/* Status pill */
.bau-pill{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:8px 10px;
  border-radius:14px;
  font-weight:950;
  font-size:12px;
  background:var(--bau-soft);
  color:var(--bau-text);
  width:100%;
}
.bau-pill.has-driver{justify-content:flex-start}
.bau-pill-text{min-width:0}
.bau-pill-driver{font-size:11px;font-weight:900;opacity:.95;white-space:nowrap}
.bau-pill-driver-call{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.6);
  border:1px solid rgba(255,255,255,.55);
  text-decoration:none;
  color:currentColor;
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
  -webkit-tap-highlight-color:transparent;
}
.bau-pill-driver-call:hover{background:rgba(255,255,255,.72)}
.bau-pill-driver-call:active{transform:scale(.98)}
.bau-pill-driver-ico{display:grid;place-items:center}
.bau-pill-driver-ico svg{width:14px;height:14px;display:block}
.bau-pill-driver-num{letter-spacing:.01em}
.bau-pill.is-warn{background:rgba(245,158,11,.14);color:#9a3412}
.bau-pill.is-done{background:rgba(34,197,94,.14);color:#065f46}
.bau-pill.is-refund{background:rgba(34,197,94,.10);color:#065f46}
.bau-pill.is-info{background:rgba(59,130,246,.12);color:#1d4ed8}
.bau-pill.is-danger{background:rgba(239,68,68,.12);color:var(--bau-red-dark)}

/* ETA row */
.bau-eta{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(17,24,39,.04);
  border:1px solid rgba(17,24,39,.06);
}
.bau-eta-icon{display:grid;place-items:center;color:rgba(11,15,20,.55)}
.bau-eta-label{font-size:11px;font-weight:950;color:rgba(11,15,20,.55);letter-spacing:.02em}
.bau-eta-value{font-size:12px;font-weight:950;color:rgba(11,15,20,.88)}

/* Thumbnails row */
.bau-items-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bau-thumbs{display:flex;align-items:center}
.bau-thumb{
  width:32px;height:32px;border-radius:11px;
  border:1px solid rgba(0,0,0,.08);
  background-size:cover;background-position:center;background-color:#fff;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
  margin-left:-8px;
}
.bau-thumb:first-child{margin-left:0}
.bau-thumb-more{
  display:grid;place-items:center;
  font-weight:950;
  font-size:11px;
  background:var(--bau-soft);
  color:rgba(11,15,20,.7);
}
.bau-items-count{font-size:12px;color:var(--bau-muted);font-weight:800}

/* Delivery timeline */
.bau-progress{position:relative;margin-top:2px}
.bau-progress-line{position:absolute;left:12px;right:12px;top:18px;height:2px;background:rgba(17,24,39,.10);border-radius:999px}
.bau-progress-fill{display:block;height:2px;background:var(--bau-accent);border-radius:999px}
.bau-progress-steps{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;position:relative}
.bau-step{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;flex:1}
.bau-step-dot{
  width:30px;height:30px;border-radius:999px;
  display:grid;place-items:center;
  background:var(--bau-soft);
  border:1px solid rgba(17,24,39,.08);
  color:rgba(11,15,20,.40);
}
.bau-step.is-done .bau-step-dot{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.22);color:var(--bau-accent)}
.bau-step.is-current .bau-step-dot{background:#fff;border-color:rgba(34,197,94,.60);color:var(--bau-accent);box-shadow:0 10px 18px rgba(34,197,94,.14)}
.bau-step.is-current .bau-step-dot{position:relative}
.bau-step.is-current .bau-step-dot::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:999px;
  border:2px solid rgba(34,197,94,.28);
  opacity:.9;
  transform:scale(1);
  animation:bauPulse 1.45s ease-out infinite;
}
@keyframes bauPulse{
  0%{transform:scale(1);opacity:.85}
  70%{transform:scale(1.55);opacity:0}
  100%{transform:scale(1.55);opacity:0}
}
@media (prefers-reduced-motion: reduce){
  .bau-step.is-current .bau-step-dot::after{animation:none}
}
.bau-step-label{font-size:10px;text-align:center;font-weight:900;color:rgba(11,15,20,.75);line-height:1.1}

/* Order footer */
.bau-order-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px}
.bau-order-total{display:flex;flex-direction:column;gap:2px}
.bau-total-label{font-size:11px;color:var(--bau-muted);font-weight:800}
.bau-total-amount{font-weight:1000;font-size:16px;letter-spacing:-.01em}
.bau-refunded-note{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(34,197,94,.10);
  border:1px solid rgba(34,197,94,.22);
  font-size:11px;
  font-weight:950;
  color:#065f46;
  line-height:1.05;
}

/* Mixed order note (milk + other products) */
.bau-mixed-note{
  margin-top:6px;
  font-size:10px;
  line-height:1.25;
  color:rgba(11,15,20,.55);
  font-weight:800;
  text-align:center;
}

.bau-order-cta{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.bau-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:var(--bau-black);
  color:#fff;
  text-decoration:none;
  font-weight:1000;
  font-size:13px;
  white-space:nowrap;
  border:0;
  cursor:pointer;
  outline:none;
  transition:transform .12s ease, box-shadow .16s ease, background .16s ease;
}
.bau-btn:active{transform:scale(.99)}
.bau-btn:focus-visible{box-shadow:0 0 0 4px rgba(34,197,94,.18)}
.bau-btn-ghost{background:#fff;color:var(--bau-text);border:1px solid var(--bau-border)}

/* Lists */
.bau-section{margin-top:14px}
.bau-section-title{font-size:20px;font-weight:1000;letter-spacing:-.02em;margin:14px 4px 10px}
.bau-list{
  background:var(--bau-card);
  border:1px solid var(--bau-border);
  border-radius:var(--bau-radius);
  overflow:hidden;
  box-shadow:var(--bau-shadow);
}
.bau-list-item{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 12px;
  text-decoration:none;
  color:var(--bau-text);
  border-bottom:1px solid rgba(17,24,39,.06);
}
.bau-list-item:last-child{border-bottom:0}
.bau-li-icon{
  width:40px;
  height:40px;
  border-radius:14px;
  background:#f6faf7;
  border:1px solid rgba(34,197,94,.14);
  display:grid;
  place-items:center;
  flex:0 0 auto;
  box-shadow:0 10px 22px rgba(17,24,39,.04);
  color:rgba(11,15,20,.78);
}
.bau-li-icon svg{display:block}
.bau-li-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.bau-li-title{font-weight:1000}
.bau-li-sub{font-size:12px;color:var(--bau-muted);font-weight:750}
.bau-li-chevron svg{width:18px;height:18px;color:rgba(11,15,20,.55)}

/* Subheader (endpoints) */
.bau-subheader-only{margin:0 0 10px}
.bau-subheader{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px var(--bau-gutter);
}
.bau-subheader-left{display:flex;align-items:center;gap:10px}
.bau-backlink{
  width:40px;height:40px;border-radius:999px;
  display:grid;place-items:center;
  background:var(--bau-card);
  border:1px solid var(--bau-border);
  box-shadow:var(--bau-shadow-tight);
  color:var(--bau-text);
  text-decoration:none;
}
.bau-subheader-title{font-weight:1000;font-size:20px;letter-spacing:-.02em}
.bau-subheader-brand{font-size:12px;color:var(--bau-muted);font-weight:800}

/* Orders endpoint layout */
.bau-orders-page{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.bau-orders-list{display:flex;flex-direction:column;gap:14px}
.bau-orders-list{display:flex;flex-direction:column;gap:14px}
.bau-orders-pager{display:flex;justify-content:space-between;gap:12px;margin-top:6px}
.bau-pager-btn{
  flex:1;
  text-align:center;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid var(--bau-border);
  background:#fff;
  text-decoration:none;
  font-weight:1000;
  color:var(--bau-text);
  box-shadow:var(--bau-shadow-tight);
}

/* Footer */
.bau-footer{margin:18px 0 0;display:flex;flex-direction:column;align-items:center;gap:10px}
.bau-logout{
  width:100%;
  text-align:center;
  padding:14px 16px;
  border-radius:999px;
  background:var(--bau-card);
  border:1px solid var(--bau-border);
  text-decoration:none;
  color:var(--bau-text);
  font-weight:1000;
  box-shadow:var(--bau-shadow);
}
.bau-footnote{font-size:12px;color:var(--bau-muted);font-weight:750}

/* Empty */
.bau-empty{background:var(--bau-card);border:1px dashed rgba(17,24,39,.12);border-radius:var(--bau-radius);padding:14px;color:var(--bau-muted);font-weight:800;box-shadow:var(--bau-shadow-tight)}

/* Ultra-narrow tuning */
@media (max-width:380px){
  .bau-user-name{font-size:clamp(24px, 7vw, 34px)}
  .bau-action{min-height:92px}
  .bau-action-icon{width:34px;height:34px}
  .bau-thumb{width:30px;height:30px;border-radius:10px}
}


/* Premium cancel UI */
.bau-order-foot{align-items:flex-end}

/*
  Fix: CTA group was previously `flex: 0 0 auto` which can overflow on small screens
  (3 buttons + total column) and get clipped by the card's overflow:hidden.
  We switch to a 2-col grid that is perfectly phone-optimised:
  - Track + Reorder: first row (2 columns)
  - Cancel: second row (full width)
*/
.bau-order-cta{
  flex:1 1 auto;
  min-width:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  justify-content:stretch;
  align-items:stretch;
}
.bau-order-cta .bau-btn{width:100%}
.bau-order-cta .bau-cancel-btn{grid-column:1 / -1}
.bau-btn .bau-btn-ico{display:grid;place-items:center;margin-right:8px}
.bau-btn .bau-btn-ico svg{width:16px;height:16px}
.bau-btn-danger-outline{
  background:#fff;
  color:var(--bau-red-dark);
  border:1px solid rgba(239,68,68,.28);
}
.bau-btn-danger-outline:active{transform:scale(.99)}
.bau-btn-danger{
  background:var(--bau-red);
  box-shadow:0 14px 24px rgba(239,68,68,.14);
}

/* Bottom sheet modal */
.bau-sheet{position:fixed;inset:0;z-index:99999;display:none}
.bau-sheet.is-open{display:block}

/* Theme-proof button reset inside sheet (prevents global Woo/theme button styles from breaking contrast) */
.bau-sheet button{
  font:inherit;
  text-transform:none;
  letter-spacing:inherit;
}
.bau-sheet-backdrop{
  position:absolute;inset:0;
  background:rgba(11,15,20,.45);
  backdrop-filter:blur(6px);
}
.bau-sheet-panel{
  position:absolute;left:0;right:0;bottom:0;
  background:#fff;
  color:var(--bau-text);
  border-radius:24px 24px 0 0;
  padding:12px 14px calc(env(safe-area-inset-bottom) + 14px);
  box-shadow:0 -18px 44px rgba(17,24,39,.18);
  transform:translateY(10px);
  animation:bauSheetIn .18s ease-out forwards;
}
@keyframes bauSheetIn{to{transform:translateY(0)}}
.bau-sheet-handle{width:48px;height:5px;border-radius:999px;background:rgba(17,24,39,.12);margin:4px auto 12px}
.bau-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.bau-sheet-title{font-size:19px;font-weight:1000;letter-spacing:-.02em}
.bau-sheet-close{
  width:38px;height:38px;border-radius:999px;
  border:1px solid rgba(17,24,39,.10);
  background:rgba(17,24,39,.04);
  display:grid;place-items:center;
  padding:0;
  line-height:0;
  color:rgba(11,15,20,.7);
  -webkit-appearance:none;
  appearance:none;
}
.bau-sheet-close svg{width:18px;height:18px;display:block;transform:none}
.bau-sheet-sub{font-size:12px;color:rgba(11,15,20,.62);font-weight:850;display:flex;align-items:center;gap:8px;margin-bottom:12px}

/* Mixed-order helper (milk + other products) */
.bau-sheet-info{
  display:flex;align-items:flex-start;gap:10px;
  padding:12px 12px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(34,197,94,.18);
  box-shadow:0 8px 18px rgba(15,23,42,.06);
  margin-bottom:12px;
}
.bau-sheet-info[hidden]{display:none!important;}
.bau-sheet-info-ico{
  width:36px;height:36px;border-radius:14px;
  background:rgba(34,197,94,.10);
  display:grid;place-items:center;
  flex:0 0 auto;
  color:rgba(15,81,50,.95);
}
.bau-sheet-info-ico svg{width:22px;height:22px}
.bau-sheet-info-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.bau-sheet-info-title{font-weight:1000;font-size:13px;letter-spacing:-.01em}
.bau-sheet-info-sub{font-size:12px;color:rgba(11,15,20,.66);font-weight:820;line-height:1.25}
.bau-sheet-refund-amt{font-weight:1000;color:rgba(11,15,20,.92);margin-left:6px;white-space:nowrap}
.bau-sheet-info-link{
  flex:0 0 auto;
  align-self:center;
  padding:8px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(34,197,94,.20);
  text-decoration:none;
  font-weight:1000;
  font-size:12px;
  color:rgba(15,81,50,.98);
  box-shadow:0 8px 14px rgba(15,23,42,.06);
}
.bau-sheet-order{
  display:inline-flex;align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(17,24,39,.06);
  border:1px solid rgba(17,24,39,.10);
  font-weight:1000;
  color:rgba(11,15,20,.82);
  font-size:11px;
}
.bau-sheet-options{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.bau-opt{
  width:100%;
  position:relative;
  display:flex;align-items:center;gap:12px;
  padding:13px 12px;
  padding-right:48px;
  border-radius:18px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
  text-align:left;
  cursor:pointer;
  color:var(--bau-text) !important;
  font:inherit;
  -webkit-appearance:none;
  appearance:none;
  outline:none;
  box-shadow:0 10px 22px rgba(17,24,39,.06);
  transition:transform .12s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.bau-opt:focus-visible{box-shadow:0 0 0 4px rgba(34,197,94,.18), 0 10px 22px rgba(17,24,39,.08)}
.bau-opt::after{
  content:"";
  position:absolute;
  right:12px;
  top:50%;
  width:22px;height:22px;
  transform:translateY(-50%);
  border-radius:999px;
  border:1px solid rgba(17,24,39,.14);
  background:rgba(17,24,39,.03);
}
.bau-opt::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  pointer-events:none;
  opacity:0;
  transition:opacity .14s ease;
  background:rgba(34,197,94,.06);
}
.bau-opt:active{transform:scale(.995)}
.bau-opt.is-selected{
  background:rgba(34,197,94,.08);
  border-color:rgba(34,197,94,.24);
  box-shadow:0 18px 28px rgba(34,197,94,.10);
}
.bau-opt.is-selected::before{opacity:1}
.bau-opt.is-selected::after{
  border-color:rgba(34,197,94,.36);
  background:var(--bau-accent);
  box-shadow:0 12px 22px rgba(34,197,94,.18);
}
.bau-opt-ico{
  width:42px;height:42px;border-radius:16px;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(17,24,39,.10);
  display:grid;place-items:center;
  color:rgba(11,15,20,.70);
  flex:0 0 auto;
}
.bau-opt.is-selected .bau-opt-ico{border-color:rgba(34,197,94,.22);box-shadow:0 10px 18px rgba(34,197,94,.12)}
.bau-opt-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.bau-opt-title{font-weight:1000;letter-spacing:-.01em;color:var(--bau-text) !important}
.bau-opt-sub{font-size:12px;color:rgba(11,15,20,.62);font-weight:800}
.bau-pill-mini{
  display:inline-flex;align-items:center;
  padding:4px 8px;border-radius:999px;
  gap:6px;
  background:rgba(17,24,39,.06);
  border:1px solid rgba(17,24,39,.10);
  font-size:11px;font-weight:950;color:rgba(11,15,20,.78);
  margin-left:6px;
  position:relative;
  overflow:hidden;
  --bau-pill-dot: rgba(17,24,39,.72);
  --bau-pill-ring1: rgba(17,24,39,.14);
  --bau-pill-ring2: rgba(17,24,39,0);
}
.bau-opt[data-method="wallet"] .bau-pill-mini{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.28);
  color:#065f46;
}
.bau-opt[data-method="wallet"] .bau-pill-mini{
  --bau-pill-dot: rgba(34,197,94,1);
  --bau-pill-ring1: rgba(34,197,94,.22);
  --bau-pill-ring2: rgba(34,197,94,0);
}
.bau-opt[data-method="original"] .bau-pill-mini{
  background:rgba(245,158,11,.12);
  border-color:rgba(245,158,11,.30);
  color:#92400e;
}
.bau-opt[data-method="original"] .bau-pill-mini{
  --bau-pill-dot: rgba(245,158,11,1);
  --bau-pill-ring1: rgba(245,158,11,.22);
  --bau-pill-ring2: rgba(245,158,11,0);
}

.bau-pill-mini::before{
  content:"";
  width:6px;height:6px;
  border-radius:999px;
  background:var(--bau-pill-dot);
  box-shadow:0 0 0 3px var(--bau-pill-ring1);
}

@media (prefers-reduced-motion: no-preference){
  .bau-opt.is-selected .bau-pill-mini::before{animation:bauPillDotPulse 1.35s ease-out infinite}
  @keyframes bauPillDotPulse{
    0%{box-shadow:0 0 0 3px var(--bau-pill-ring1)}
    70%{box-shadow:0 0 0 9px var(--bau-pill-ring2)}
    100%{box-shadow:0 0 0 9px var(--bau-pill-ring2)}
  }
}

/* Keep pills lively but subtle (pulse dot only) */
.bau-sheet-actions{display:flex;gap:10px}
.bau-sheet-confirm{
  width:100%;
  height:54px;
  font-size:14px;
  letter-spacing:-.01em;
}
.bau-sheet-confirm:disabled{opacity:.65;filter:saturate(.9)}
.bau-sheet-msg{margin-top:10px;font-size:12px;font-weight:800;color:rgba(11,15,20,.70)}
.bau-sheet-msg.is-err{color:var(--bau-red-dark)}
.bau-sheet-msg.is-ok{color:#065f46}

/* Prevent background scroll when sheet is open */
body.bau-sheet-open{overflow:hidden;touch-action:none}

/* Policies popup (premium sheet modal) */
.bau-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
.bau-modal.is-open{visibility:visible;opacity:1;pointer-events:auto}

.bau-modal-backdrop{
  position:absolute;inset:0;
  background:rgba(11,15,20,.42);
  backdrop-filter:blur(6px);
  opacity:0;
  transition:opacity .18s ease;
}
.bau-modal.is-open .bau-modal-backdrop{opacity:1}

.bau-modal-panel{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) scale(.985);
  width:min(94vw, 560px);
  max-height:min(88vh, 760px);
  background:#fff;
  border:1px solid rgba(17,24,39,.10);
  border-radius:24px;
  box-shadow:0 18px 60px rgba(17,24,39,.18);
  padding:12px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  opacity:0;
  transition:transform .18s ease, opacity .18s ease;
}
.bau-modal.is-open .bau-modal-panel{transform:translate(-50%,-50%) scale(1);opacity:1}

/* Mobile: match app-style bottom sheet */
@media (max-width: 480px){
  .bau-modal-panel{
    left:0;right:0;top:auto;bottom:0;
    width:100%;
    transform:translate(0, 20px);
    border-radius:26px 26px 0 0;
    max-height:92vh;
    box-shadow:0 -18px 60px rgba(17,24,39,.18);
  }
  .bau-modal.is-open .bau-modal-panel{transform:translate(0,0)}
}

.bau-pol-handle{
  width:44px;height:5px;border-radius:999px;
  background:rgba(17,24,39,.16);
  margin:2px auto 0;
}

.bau-pol-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:2px;
}
.bau-pol-title{
  font-size:18px;
  font-weight:950;
  letter-spacing:-.02em;
  color:rgba(11,15,20,.92);
}
.bau-pol-actions{
  display: flex;
  gap: 10px;
  align-items: center;
}
.bau-pol-close, .bau-pol-share{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(2,6,23,.92);
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 8px 18px rgba(2,6,23,.08);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.bau-pol-close:hover, .bau-pol-share:hover{
  background: rgba(15,23,42,.08);
  border-color: rgba(15,23,42,.14);
}
.bau-pol-close:active, .bau-pol-share:active{ transform: translateY(1px); }
.bau-pol-close svg, .bau-pol-share svg{
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}
#bau-policies-modal .bau-pol-close svg,
#bau-policies-modal .bau-pol-share svg,
#bau-policies-modal .bau-pol-close svg *,
#bau-policies-modal .bau-pol-share svg *{
  stroke: currentColor !important;
  fill: none !important;
}

.bau-pol-close svg{width:18px;height:18px;display:block}

.bau-pol-tabs{
  display:flex;
  gap:6px;
  padding:4px;
  border-radius:18px;
  background:rgba(17,24,39,.05);
  border:1px solid rgba(17,24,39,.08);
}
.bau-pol-tab{
  flex:1 1 0;
  border:none;
  background:transparent;
  padding:9px 10px;
  border-radius:14px;
  font-weight:900;
  font-size:12.5px;
  letter-spacing:-.01em;
  cursor:pointer;
  color:rgba(11,15,20,.78);
}
.bau-pol-tab.is-active{
  background:#fff;
  border:1px solid rgba(17,24,39,.10);
  box-shadow:0 8px 18px rgba(17,24,39,.08);
  color:rgba(11,15,20,.92);
}

.bau-pol-tools{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
}
@media (max-width: 480px){
  .bau-pol-tools{grid-template-columns:1fr}
}
.bau-pol-search{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(17,24,39,.04);
  border:1px solid rgba(17,24,39,.08);
}
.bau-pol-search:focus-within{border-color:rgba(34,197,94,.28);box-shadow:0 0 0 4px rgba(34,197,94,.10)}
.bau-pol-search-ico{display:grid;place-items:center;color:rgba(11,15,20,.42)}
.bau-pol-search-input{
  border:none;outline:none;background:transparent;
  width:100%;
  font:inherit;
  font-size:13px;
  font-weight:800;
  color:rgba(11,15,20,.90);
}
.bau-pol-search-input::placeholder{color:rgba(11,15,20,.42);font-weight:750}

.bau-pol-jump{
  min-width:150px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(17,24,39,.08);
  background:rgba(17,24,39,.04);
  font-weight:900;
  font-size:12.5px;
  color:rgba(11,15,20,.78);
}
.bau-pol-jump:disabled{opacity:.55}

.bau-pol-scroll{
  position:relative;
  overflow:auto;
  padding:2px 0 0;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(17,24,39,.08);
  flex:1 1 auto;
  -webkit-overflow-scrolling:touch;
}
.bau-pol-doc{display:none;padding:12px 14px 10px}
.bau-pol-doc.is-active{display:block}

.bau-pol-upd{
  font-size:11px;
  font-weight:900;
  color:rgba(11,15,20,.52);
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:8px;
  font-style:italic;
}
.bau-pol-badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(34,197,94,.10);
  border:1px solid rgba(34,197,94,.22);
  color:rgba(15,81,50,.98);
  font-weight:900;
  font-size:12px;
  margin-bottom:10px;
}
.bau-pol-doc-title{
  font-size:14px;
  font-weight:950;
  letter-spacing:-.01em;
  color:rgba(11,15,20,.92);
  margin:2px 0 10px;
}
.bau-pol-lead{
  font-size:13px;
  color:rgba(11,15,20,.76);
  font-weight:700;
  line-height:1.45;
  margin-bottom:10px;
}

.bau-pol-sec{
  display:flex;
  gap:12px;
  padding:14px 0;
  border-top:1px solid rgba(17,24,39,.08);
}
.bau-pol-sec:first-of-type{border-top:none;padding-top:2px}

.bau-pol-num{
  width:28px;flex:0 0 28px;
  height:28px;border-radius:10px;
  background:rgba(17,24,39,.04);
  border:1px solid rgba(17,24,39,.08);
  display:grid;place-items:center;
  font-weight:950;
  color:rgba(11,15,20,.86);
}
.bau-pol-body{min-width:0;flex:1}
.bau-pol-h{
  font-size:14px;
  font-weight:900;
  letter-spacing:-.01em;
  color:rgba(11,15,20,.92);
  margin-bottom:6px
}
.bau-pol-p{
  font-size:13px;
  color:rgba(11,15,20,.70);
  font-weight:700;
  line-height:1.48;
  margin-bottom:10px
}
.bau-pol-p:last-child{margin-bottom:0}
.bau-pol-list{
  margin:8px 0 10px 18px;
  padding:0;
  color:rgba(11,15,20,.70);
  font-size:13px;
  font-weight:700;
  line-height:1.48
}
.bau-pol-list li{margin:6px 0}
.bau-pol-note{
  margin-top:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(34,197,94,.07);
  border:1px solid rgba(34,197,94,.18);
  font-size:12.5px;
  color:rgba(11,15,20,.70);
  font-weight:750;
  line-height:1.38;
}
.bau-pol-link{color:rgba(15,81,50,.98);font-weight:900;text-decoration:none}
.bau-pol-link:hover{text-decoration:underline}

/* When searching, subtly highlight hits */
.bau-pol-sec.is-hit{
  background:rgba(34,197,94,.06);
  border-radius:16px;
  padding-left:10px;
  padding-right:10px;
}

.bau-pol-empty{
  padding:18px 14px;
  font-size:13px;
  font-weight:900;
  color:rgba(11,15,20,.60)
}

body.bau-modal-open{overflow:hidden;touch-action:none}

/* Toast */
.bau-toast{
  position:fixed;left:14px;right:14px;bottom:calc(env(safe-area-inset-bottom) + 14px);
  padding:12px 14px;
  border-radius:18px;
  background:rgba(17,24,39,.92);
  color:#fff;
  font-weight:950;
  box-shadow:0 18px 40px rgba(17,24,39,.35);
  transform:translateY(16px);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  z-index:100000;
}
.bau-toast.is-show{opacity:1;transform:translateY(0)}



/* ==========================================================================
   Policies modal v3.4.13 — premium UI refinements + shareable links
   ========================================================================== */
.bau-modal#bau-policies-modal,
.bau-modal#bau-policies-modal *,
#bau-pol-indexsheet,
#bau-pol-indexsheet *{
  box-sizing:border-box;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

/* Extra iOS-like polish + bulletproof icon rendering */
.bau-modal#bau-policies-modal .bau-modal-panel{
  background:#f6f7fb !important;
  padding-bottom:max(8px, env(safe-area-inset-bottom)) !important;
}
#bau-policies-modal .bau-pol-scroll{
  background:#fff !important;
  -ms-overflow-style:none; /* IE/Edge legacy */
  padding-bottom:max(10px, env(safe-area-inset-bottom));
}
#bau-policies-modal .bau-pol-actions svg,
#bau-policies-modal .bau-pol-actions svg *,
#bau-policies-modal .bau-pol-search svg,
#bau-policies-modal .bau-pol-search svg *,
#bau-policies-modal .bau-pol-indexico svg,
#bau-policies-modal .bau-pol-indexico svg *{
  opacity:1 !important;
  visibility:visible !important;
}
#bau-policies-modal .bau-pol-share,
#bau-policies-modal .bau-pol-close{
  color: rgba(15,23,42,.96) !important;
}

.bau-modal#bau-policies-modal button,
#bau-pol-indexsheet button{
  -webkit-appearance:none;
  appearance:none;
}

/* Make sure SVG icons never get hidden by theme CSS */
.bau-pol-actions svg,
.bau-pol-actions button svg{
  display:block;
  width:20px;
  height:20px;
}
.bau-pol-search svg,
.bau-pol-indexico svg,
.bau-pol-indexitem-chev svg{
  display:block;
  width:18px;
  height:18px;
}

.bau-pol-search-ico{ color: rgba(11,15,20,.58) !important; }
.bau-pol-indexico{ color: rgba(11,15,20,.70) !important; }

.bau-modal-panel{
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden;
}

.bau-pol-handle{
  width: 44px;
  height: 5px;
  margin: 10px auto 6px;
  background: rgba(15,23,42,.14);
  border-radius: 999px;
}

.bau-pol-head{
  padding: 10px 14px 8px;
}

.bau-pol-title{
  font-size: 17px;
  letter-spacing: .2px;
}

.bau-pol-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.bau-pol-share,
.bau-pol-close{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(2,6,23,.92);
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 8px 18px rgba(2,6,23,.08);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

/* Extra safety: some themes target button svg directly */
.bau-pol-share svg,
.bau-pol-close svg{
  display: block !important;
  width: 22px !important;
  height: 22px !important;
}
#bau-policies-modal .bau-pol-share svg,
#bau-policies-modal .bau-pol-close svg,
#bau-policies-modal .bau-pol-share svg *,
#bau-policies-modal .bau-pol-close svg *{
  stroke: currentColor !important;
  fill: none !important;
}

.bau-pol-share:hover,
.bau-pol-close:hover{
  background: rgba(15,23,42,.08);
  border-color: rgba(15,23,42,.14);
}
.bau-pol-share:active,
.bau-pol-close:active{
  transform: translateY(1px);
}

.bau-pol-tabs{
  margin: 0 14px 10px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 14px;
  padding: 3px;
  gap: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.bau-pol-tab{
  height: 34px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 12.5px;
  padding: 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bau-pol-tab.is-active{
  box-shadow: 0 6px 16px rgba(2,6,23,.10);
}

.bau-pol-tools{
  margin: 0 14px 12px;
  gap: 10px;
}
.bau-pol-search{
  border-radius: 14px;
  height: 44px;
  background: rgba(255,255,255,.92);
}
.bau-pol-search-input{
  font-weight: 700;
  font-size: 13.5px;
}
.bau-pol-indexbtn{
  flex: 0 0 auto;
  height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  color: #0f172a;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.bau-pol-indexbtn:hover{
  background: rgba(255,255,255,.98);
  border-color: rgba(15,23,42,.14);
}
.bau-pol-indexbtn:active{
  transform: translateY(1px);
}
.bau-pol-indexlbl{ white-space: nowrap; }

.bau-pol-scroll{
  margin: 0 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
  background: rgba(255,255,255,.92);
  scrollbar-width:none; /* Firefox */
  -ms-overflow-style:none; /* IE/Edge legacy */
}

.bau-pol-scroll::-webkit-scrollbar{width:0;height:0} /* WebKit */

.bau-pol-upd{
  letter-spacing: .7px;
}
.bau-pol-doc-title{
  letter-spacing: .2px;
}
.bau-pol-sec{
  border-radius: 18px;
}
.bau-pol-num{
  border-radius: 14px;
}


/* Icon visibility hardening (in case theme overrides SVG styles) */
#bau-policies-modal .bau-pol-search-ico svg,
#bau-policies-modal .bau-pol-indexico svg,
#bau-policies-modal .bau-pol-search-ico svg *,
#bau-policies-modal .bau-pol-indexico svg *{
  stroke: currentColor !important;
}

@media (max-width: 520px){
  .bau-pol-tabs, .bau-pol-tools, .bau-pol-scroll{ margin-left: 12px; margin-right: 12px; }
  .bau-pol-head{ padding-left: 12px; padding-right: 12px; }
  .bau-pol-scroll{ border-radius: 18px; }
  .bau-pol-tab{ font-size: 12px; padding: 10px 6px; }
}

/* Index sheet (app-like) */
.bau-pol-indexsheet{
  position: fixed;
  inset: 0;
  z-index: 100006;
  display: none;
}
.bau-pol-indexsheet.is-open{ display: block; }
.bau-pol-indexsheet-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bau-pol-indexsheet-panel{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 24px));
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px 22px 18px 18px;
  box-shadow: 0 26px 60px rgba(2,6,23,.30);
  padding: 10px 12px 12px;
}
.bau-pol-indexsheet-handle{
  width: 44px;
  height: 5px;
  margin: 2px auto 10px;
  background: rgba(15,23,42,.14);
  border-radius: 999px;
}
.bau-pol-indexsheet-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 10px;
}
.bau-pol-indexsheet-title{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
}
.bau-pol-indexsheet-close{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}
.bau-pol-indexsearch{
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  padding: 0 12px;
  background: rgba(248,250,252,.92);
}
.bau-pol-indexsearch-input{
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}
.bau-pol-indexlist{
  margin-top: 10px;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding: 2px;
  scrollbar-width:none;
}

.bau-pol-indexlist::-webkit-scrollbar{width:0;height:0}
.bau-pol-indexitem{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  padding: 12px 12px;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
  margin-bottom: 10px;
  text-align: left;
}
.bau-pol-indexitem:hover{
  border-color: rgba(15,23,42,.14);
  background: #fff;
}
.bau-pol-indexitem:active{ transform: translateY(1px); }
.bau-pol-indexitem-label{
  font-weight: 800;
  font-size: 13px;
  color: #0f172a;
  line-height: 1.2;
}
.bau-pol-indexitem-chev{ color: rgba(15,23,42,.55); }
.bau-pol-indexempty{
  padding: 12px;
  text-align: center;
  color: rgba(15,23,42,.65);
  font-weight: 700;
}
