/* Customer and business portal focus: one clear next action, quiet secondary controls.
   Loaded last by the two portal shells only. Preserve existing state, theme and dialogs. */
#app main.pwrap .pcard, #main .bh-sec .card {
  box-shadow: none;
  border-radius: 16px;
  min-width: 0;
}
#app main.pwrap .cg-hero { border-radius: 20px; box-shadow: none; }
#app main.pwrap[data-tab="dash"] .cg-hero .cg-acts2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 16px;
}
#app main.pwrap[data-tab="dash"] .cg-hero .cg-acts {
  gap: 8px;
  margin-top: 8px;
}
html body #app main.pwrap[data-tab="dash"] .cg-hero :is(.cg-acts2,.cg-acts) .btn {
  min-height: 48px !important;
  white-space: normal !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  text-align: center;
  line-height: 1.3;
}
#app main.pwrap[data-tab="dash"] .cg-hero .cg-acts2 .nl-portal-track {
  width: 100%;
}
#app main.pwrap[data-tab="dash"] .cg-quick.cg-qrow .cg-q {
  min-width: 0;
  min-height: 64px;
  padding: 8px 4px;
  border-radius: 12px;
}
#app main.pwrap[data-tab="dash"] .cg-quick.cg-qrow .cg-q b {
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
  overflow: visible;
  line-height: 1.25;
}
#app main.pwrap .menurows .menurow, #main .bh-menu .bh-mrow {
  min-height: 52px;
  gap: 12px;
}
#app main.pwrap .menurow .grow, #main .bh-mrow span {
  min-width: 0;
  overflow-wrap: anywhere;
}
#app main.pwrap .pcard .btn, #main .bh-sec .card .btn {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
#app main.pwrap .pcard .btn, #main .bh-sec .card .btn,
#main .bh-sec .cg-acts button, #main .bh-sec .pk-link {
  min-height: 44px;
}
#main #bh-hero .hm-acts .cg-main, #main .pk-acts .btn {
  box-shadow: none !important;
  white-space: normal;
  line-height: 1.3;
  padding: 12px 16px;
}
#main #bh-hero .hm-acts button:not(.cg-main) {
  box-shadow: none;
  white-space: normal;
}
#main #bh-sec-home .hm-done, #main #bh-sec-home .hm-stats {
  box-shadow: none !important;
}
#main #bh-sec-home .hm-done .hm-done-ic { width: 36px; height: 36px; }
#main #bh-sec-home .hm-done .hm-done-ic svg { width: 18px; height: 18px; }
#main #bh-hero #hero-h, #main #bh-hero #bh-hero-day {
  font-size: clamp(26px, 6vw, 40px) !important;
  overflow-wrap: anywhere;
}
#main .bh-sec .pk-list li, #main .bh-sec .bh-pay-amt {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 380px) {
  #app main.pwrap[data-tab="dash"] .cg-quick.cg-qrow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #app main.pwrap[data-tab="dash"] .cg-hero .cg-acts2,
  #app main.pwrap[data-tab="dash"] .cg-hero .cg-acts,
  #main #bh-hero .hm-acts {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #app main.pwrap .cg-hero, #main #bh-sec-home .hm-done,
  #main #bh-sec-home .hm-done .hm-done-ic { animation: none !important; }
}

/* Second pass: keep acquisition and service actions visually distinct from management. */
html body #app main.pwrap[data-tab="pickups"] .ord-top .reo-top {
  background: var(--nl-btn-primary-bg) !important;
  color: var(--nl-btn-primary-fg) !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 52px !important;
  margin: 0 0 12px;
}
#app main.pwrap[data-tab="pickups"] .nl-empty .btn {
  align-self: flex-start;
  margin-top: 8px;
}
#app main.pwrap[data-tab="pickups"] .hfilt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#app main.pwrap[data-tab="pickups"] .hfilt input {
  flex: 1 1 180px;
  min-width: 0;
}
#app main.pwrap[data-tab="pickups"] .hfilt select {
  flex: 1 1 100px;
  min-width: 0;
}
#app main.pwrap .track-acts, #app main.pwrap[data-tab="plan"] .bill-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#app main.pwrap .track-acts .btn,
#app main.pwrap[data-tab="plan"] .bill-acts .btn {
  flex: 1 1 136px;
  min-width: 0;
  text-align: center;
}
#app main.pwrap[data-tab="plan"] .cg-kv {
  flex-wrap: wrap;
  row-gap: 4px;
}
#main #bh-sec-invoices #portal {
  width: 100%;
  margin-bottom: 12px;
}
#main #bh-sec-pickups .pk-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
#main #bh-sec-pickups .pk-acts .btn {
  flex: 1 1 210px;
  min-width: 0;
}
#main #bh-sec-pickups .pk-acts .pk-link {
  flex: 0 1 auto;
  min-width: 0;
}
@media (max-width: 480px) {
  #main #bh-sec-pickups .pk-acts .btn { flex-basis: 100%; }
  #main #bh-sec-pickups .pk-acts .pk-link { width: 100%; }
  #app main.pwrap .track-acts .btn, #app main.pwrap[data-tab="plan"] .bill-acts .btn { flex-basis: 100%; }
}

/* Referral and plan focus: share first, compare before committing. */
#app main.pwrap .gg-card .gg-acts, #main #bh-refer .gg-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
#app main.pwrap .gg-card .gg-acts > .btn, #main #bh-refer .gg-acts > .btn {
  flex: 1 1 140px;
  min-width: 0;
  min-height: 48px;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}
#app .nl-ref-more, #main #bh-refer .nl-ref-more {
  margin-top: 8px;
  border: 0;
  border-top: 1px solid var(--line, #dedede);
  padding: 0;
}
#app .nl-ref-more summary, #main #bh-refer .nl-ref-more summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
#app .nl-ref-more .gg-share, #main #bh-refer .nl-ref-more .gg-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#app .nl-ref-more .gg-share > *, #main #bh-refer .nl-ref-more .gg-share > * {
  flex: 1 1 90px;
  min-width: 0;
  min-height: 44px;
}
#app .gg-card .gg-code, #main #bh-refer .gg-code {
  overflow-wrap: anywhere;
}
#upgradeSheet .nl-choice, #main #bh-plan-list .nl-choice {
  min-width: 0;
  padding: 14px;
  text-align: left;
  box-shadow: none;
}
#upgradeSheet .nl-choice-top, #main #bh-plan-list .nl-choice-top {
  flex-wrap: wrap;
  gap: 6px;
}
#upgradeSheet .nl-choice-price, #main #bh-plan-list .nl-choice-price {
  overflow-wrap: anywhere;
}
#upgradeSheet .nl-plan-go, #main #bh-plan-change {
  min-height: 48px;
}
@media (max-width: 380px) {
  #app main.pwrap .gg-card .gg-acts > .btn, #main #bh-refer .gg-acts > .btn {
    flex-basis: 100%;
  }
}

/* Preferences: everyday choices first, optional detail on demand. */
#app .nl-pref-intro, #main .nl-pref-intro {
  margin: 0 0 12px;
  line-height: 1.5;
}
#app #prefsCard .ub-row, #app #prefsAdvanced .ub-row, #app .nl-pref-communications .ub-row {
  min-height: 56px;
  text-align: left;
  gap: 12px;
}
#app #prefsCard .ub-row .grow, #app #prefsAdvanced .ub-row .grow {
  min-width: 0;
  overflow-wrap: anywhere;
}
#app #prefsAdvanced summary {
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
  font-weight: 700;
}
#app #prefsAdvanced:not([open]) { padding-block: 4px; }
#app #prefInline .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#app #prefInline .chip {
  min-height: 44px;
  white-space: normal;
}
#app #prefInline[aria-busy="true"] { opacity: .7; }
#app .nl-pref-pricing a { text-decoration: underline; text-underline-offset: 3px; }
#main .nl-biz-preferences .nl-fixed-window {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, #dedede);
  margin: 0 0 12px;
}
#main .nl-biz-preferences #bh-save-pref { width: 100%; min-height: 48px; }
#app #prefInline button:focus-visible, #app #prefsAdvanced summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Business expansion: concise saved records, editable details on demand. */
#main #bh-teamc .nl-biz-editor, #main #bh-locc .nl-biz-editor {
  border: 1px solid var(--t-line, var(--line, #dedede));
  border-radius: 12px;
  min-width: 0;
  padding: 0;
}
#main .nl-biz-editor summary {
  cursor: pointer;
  min-height: 48px;
  padding: 12px;
  line-height: 1.4;
}
#main .nl-biz-editor summary span { display: inline-block; vertical-align: middle; max-width: 90%; }
#main .nl-biz-editor summary b, #main .nl-biz-editor summary small {
  display: block;
  overflow-wrap: anywhere;
}
#main .nl-biz-editor summary small { font-size: 13px; font-weight: 400; }
#main .nl-biz-editor .bh-edit {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--t-line, var(--line, #dedede));
  border-radius: 0 0 12px 12px;
  background: transparent;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
#main .nl-biz-editor .bh-edit input, #main .nl-biz-editor .bh-edit select { min-width: 0; }
#main .nl-biz-editor .bh-edit .bh-x { grid-column: 1/-1; justify-self: start; min-height: 44px; }
#main #bh-teamc .nl-team-roles { margin: 8px 0 12px; }
#main #bh-teamc .nl-team-roles summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-weight: 700; }
#main #bh-teamc .nl-team-invite { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--t-line, var(--line, #dedede)); }
#main #bh-teamc .nl-team-invite .btn { width: 100%; }
#main :is(#bh-teamc,#bh-locc) .nl-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: static;
  margin-top: 12px;
}
#main :is(#bh-teamc,#bh-locc) .nl-list-actions .btn { flex: 1 1 150px; min-width: 0; }
#main .nl-biz-location #bh-save-loc { width: 100%; min-height: 48px; }
#main .nl-biz-editor summary:focus-visible, #main .nl-team-roles summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 480px) {
  #main .nl-biz-editor .bh-edit { grid-template-columns: minmax(0, 1fr); }
  #main :is(#bh-teamc,#bh-locc) .nl-list-actions .btn { flex-basis: 100%; }
}

/* Authentication: one active step, a clear primary action, and secondary recovery. */
#app .hx-login .nl-auth-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%);
  white-space: nowrap;
}
#app .hx-login .nl-lg-new[hidden], #app .hx-login #hx-book[hidden],
#main #bh-auth form[hidden] { display: none !important; }
#app .hx-login .nl-auth-signup { margin-top: 16px; }
#app .hx-login .nl-auth-signup a { text-decoration: underline; text-underline-offset: 3px; }
#main #bh-auth:not(.is-compact) {
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
}
#main #bh-auth #bh-auth-code-form:not([hidden]) { flex: 1 1 100%; }
#main #bh-auth #bh-auth-code { letter-spacing: .2em; font-variant-numeric: tabular-nums; }
#main #bh-auth #bh-auth-code-form .f { display: block; }
#main #bh-auth #bh-auth-code-form input { width: 100%; box-sizing: border-box; }
#main #bh-auth #bh-auth-verify, #main #bh-auth:not(.is-compact) #bh-auth-send {
  width: 100%;
  min-height: 48px;
}
#main #bh-auth .nl-auth-recovery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
#main #bh-auth .nl-auth-recovery .btn { flex: 1 1 140px; min-height: 44px; white-space: normal; }
#main #bh-auth #bh-auth-msg { flex: 1 1 100%; overflow-wrap: anywhere; }
#main #bh-auth #bh-auth-msg:empty { display: none; }

/* Retention: prioritize useful rewards and straightforward service management. */
#app .nl-rewards-focus .up {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
#app .nl-rewards-focus .up > .grow { flex: 1 1 140px; min-width: 0; }
#app .nl-rewards-focus .up > .btn {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
}
#app .nl-rewards-focus .up > .btn:disabled { opacity: .72; }
#app .nl-reward-details {
  border-top: 1px solid var(--line, #dedede);
  margin-top: 8px;
}
#app .nl-reward-details summary, #main .nl-pause-location summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  font-weight: 700;
}
#app .nl-retain-option .btn { width: 100%; min-height: 44px; }
#app .nl-reward-details summary:focus-visible, #main .nl-pause-location summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  #app .nl-rewards-focus .up > .btn { flex: 1 1 100%; }
}

/* Optional extras: transparent unit rates and a quiet review surface. */
#app .nl-addon-focus summary, #bh-extra .nl-extra-estimate summary {
  cursor: pointer; min-height: 44px; padding: 12px 0; font-weight: 700;
}
#app .nl-addon-focus:not([open]) { padding-block: 4px; }
#app .nl-addon-focus .up { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#app .nl-addon-focus .up > .grow { flex:1 1 145px; min-width:0; }
#app .nl-addon-focus .up-c { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#app .nl-addon-focus .up-c .btn, #app .nl-addon-focus .up-c select,
#app .nl-addon-focus .stp button { min-height:44px; white-space:normal; }
#app .nl-addon-focus #upm { margin:12px 0; }
#app .nl-addon-focus #upm:empty { display:none; }
#app .nl-addon-focus summary:focus-visible, #bh-extra summary:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
#bh-extra .nl-extra-price { margin:0 0 12px; padding:12px 0; border-bottom:1px solid var(--line,#dedede); }
#bh-extra .nl-extra-price b, #bh-extra .nl-extra-price span { display:block; }
#bh-extra .nl-extra-price span { font-size:13px; }
#bh-extra .nl-extra-estimate { margin:8px 0 12px; }
#bh-extra #bh-extra-go { min-height:48px; white-space:normal; }
@media(max-width:480px){
  #app .nl-addon-focus .up-c { flex:1 1 100%; }
  #app .nl-addon-focus .up-c .btn { flex:1 1 120px; }
  #bh-extra .row { flex-wrap:wrap; }
  #bh-extra .row .btn { width:100%; }
}

/* First pickup: one short preparation guide, never a permanent dashboard banner. */
#app .nl-first-prep, #main .nl-first-prep {
  margin: 16px 0 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line, #dedede);
  border-bottom: 1px solid var(--line, #dedede);
}
#app .nl-first-prep h3, #main .nl-first-prep h3 {
  font-size: 16px; line-height: 1.4; margin: 0 0 8px; font-weight: 700;
}
#app .nl-first-prep ol, #main .nl-first-prep ol {
  padding-inline-start: 20px; margin: 0 0 10px; display: grid; gap: 5px; font-size: 14px; line-height: 1.5;
}
#app .nl-first-prep .btn, #main .nl-first-prep .btn {
  min-height: 44px; width: 100%; box-sizing: border-box; white-space: normal;
}
#app .nl-booked-confirm { padding: 12px 16px; box-shadow: none; }
#app .nl-booked-confirm .ph2 { font-size: 17px; margin: 0; }
#main .nl-first-prep[hidden] { display: none !important; }

/* Mobile focus: primary action first, safe touch targets and readable narrow layouts.
   Scoped to portal shells; do not alter shared navigation on other apps. */
#app .cg-hero #moreBox[hidden] { display: none !important; }
#app .cg-hero .nl-pickup-more { margin-top: 12px; border-top: 1px solid rgba(128,128,128,.35); padding-top: 8px; }
#app .cg-hero .nl-pickup-more .btn { min-height: 44px; }
#app .cg-hero .cg-acts2 { margin-bottom: 12px; }
#app main.pwrap :is(input,select,textarea), #main .bh-sec :is(input,select,textarea),
#bh-extra :is(input,select,textarea), #bh-paused :is(input,select,textarea) { max-width: 100%; box-sizing: border-box; }
@media (max-width: 899px) {
  #app main.pwrap { padding-inline: max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right)); }
  #app main.pwrap, #main.w { scroll-margin-top: calc(64px + env(safe-area-inset-top)); }
  #app main.pwrap :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
  #main :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
  #bh-extra :is(input,select,textarea), #bh-paused :is(input,select,textarea) { font-size: 16px !important; }
  #main #bh-hero .hm-acts { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  #main #bh-hero .hm-acts .cg-main { grid-column: 1/-1; font-size: 16px !important; }
  #main #bh-hero .hm-acts button { min-width: 0; min-height: 48px; }
  #app .nltb:not(.rail), #app .nltb.rail, #bh-tabbar.nltb {
    padding-bottom: calc(4px + env(safe-area-inset-bottom));
  }
  #app .nltb a span, #bh-tabbar a span { font-size: 11px; white-space: normal; text-align: center; line-height: 1.2; overflow-wrap: anywhere; }
  #app .nltb a, #bh-tabbar a { min-height: 56px; }
  #app main.pwrap :is(button,a,input,select,textarea), #main.w :is(button,a,input,select,textarea) { scroll-margin-block: 80px 100px; }
  #bh-extra, #bh-paused, #bh-rcpt { box-sizing: border-box; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
  #bh-extra .btn, #bh-paused .btn, #bh-rcpt .btn { min-height: 44px; white-space: normal; }
}
@media (min-width: 340px) and (max-width: 380px) {
  #app main.pwrap[data-tab="dash"] .cg-hero .cg-acts2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; }
}
@media (max-width: 339px) {
  #main #bh-hero .hm-acts { grid-template-columns: minmax(0,1fr) !important; }
  #main .pk-row { grid-template-columns: minmax(0,44px) minmax(0,1fr); gap: 8px; }
  #main .pk-row .pk-act { flex-wrap: wrap; justify-content: flex-start; }
}

/* Refresh quietly; only show a compact action when a request fails. */
#bh-refresh-error[hidden] { display: none !important; }
#bh-refresh-error {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 4px max(16px,env(safe-area-inset-right)) 4px max(16px,env(safe-area-inset-left));
  border-top: 1px solid var(--t-line,#dedede); font-size: 13px;
}
#bh-refresh-error span { min-width: 0; overflow-wrap: anywhere; }
#bh-refresh-retry { min-height: 44px; padding: 6px 12px; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 10px; font: inherit; cursor: pointer; }
#bh-refresh-retry:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Context-aware home: service status before optional purchases. */
#main #bh-hero .nl-context-actions .cg-main {
  display: flex; justify-content: center; align-items: center; text-align: center;
  width: 100%; box-sizing: border-box; text-decoration: none;
}
#main #bh-hero .nl-context-actions > [hidden], #main #bh-hero .cg-pro[hidden],
#main #bh-hero #bh-hbar[hidden] { display: none !important; }
#main #bh-hero .nl-context-actions > button { min-width: 0; }
#app .cg-quick.cg-qrow .cg-q { flex: 1 1 0; }
#app .cg-hero .nl-pickup-more .ph-keep-line { margin: 0 0 8px; }
@media (max-width: 380px) {
  #app main.pwrap[data-tab="dash"] .cg-quick.cg-qrow { grid-template-columns: repeat(auto-fit,minmax(86px,1fr)); }
}

/* Plan-fit guidance: a single factual note in plan management, not an ad on Home. */
#app .nl-plan-fit, #main .nl-plan-fit { font-size: 14px; line-height: 1.5; padding: 12px 0; margin: 8px 0; border-top: 1px solid var(--line,#dedede); }
#app .nl-plan-fit b, #app .nl-plan-fit span { display: block; }
#app .nl-plan-fit b { margin-bottom: 4px; }
#main .nl-plan-fit[hidden] { display: none !important; }
#upgradeSheet .nl-rec, #main #bh-plan-list .nl-rec { max-width: 100%; white-space: normal; line-height: 1.3; }

/* Contextual help: only surface an exception on Home when there is a relevant order. */
#app .nl-service-help, #main .nl-service-help { padding: 14px; border-radius: 12px; }
#main .nl-service-help { margin-top: 12px; border: 1px solid var(--t-line,#dedede); }
#main .nl-service-help[hidden] { display: none !important; }
#app .nl-service-help p, #main .nl-service-help p { margin: 6px 0 10px; line-height: 1.5; }
#app .nl-service-help .btn, #main .nl-service-help .btn { width: 100%; min-height: 44px; }
.nl-help-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nl-help-contact .btn { flex: 1 1 140px; min-height: 44px; text-align: center; }
#main .nl-pickup-support { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

/* Return to service: one booking action, with plan management available alongside it. */
#app .nl-return-card > .btn { width:100%; min-height:48px; margin:8px 0; }
#app .nl-return-link { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:3px; font-size:14px; }
#app .nl-return-card .nl-return-link { color:inherit; }
#main .nl-return-pause { margin-top:12px; padding-top:12px; border-top:1px solid var(--t-line,#dedede); }
#main .nl-return-pause p { margin:0 0 8px; font-size:14px; line-height:1.5; }
#main .nl-return-pause .btn { min-height:44px; width:100%; }
#main .nl-return-pause[hidden], #main .nl-return-pause [hidden] { display:none!important; }

/* One review surface for both repeat booking paths. */
#app .nl-book-review { scroll-margin-top:80px; }
#app .nl-book-review .nl-review-date { font-size:22px; font-weight:700; margin:8px 0 4px; }
#app .nl-book-review #reoMsg:empty { display:none; }
.nl-review-actions { display:flex; flex-wrap:wrap; gap:8px; }
.nl-review-actions > .btn { flex:1 1 140px; min-height:48px; white-space:normal; }
@media(max-width:480px) { .nl-review-actions > .btn:first-child { flex-basis:100%; } }


/* Unified consumer/business workspace. Keep the same navigation on every device. */
#main.w > .nwsw, #app main.pwrap > .nwsw { max-width: 420px; width: 100%; margin: 0 0 24px; padding: 4px; box-sizing: border-box; background: #f0f1ef; border-radius: 12px; }
#main.w > .nwsw .nwsw-o, #app main.pwrap > .nwsw .nwsw-o { flex-direction: column; gap: 2px; min-width: 0; min-height: 48px; padding: 6px 12px; border-radius: 9px; }
#main.w > .nwsw .nwsw-o span:before { content: none; }
#main.w > .nwsw .nwsw-o span, #app main.pwrap > .nwsw .nwsw-o span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }
#main.w > .nwsw .nwsw-o.on, #app main.pwrap > .nwsw .nwsw-o.on { box-shadow: none; }
#main #bh-hero .hm-acts { display: grid; grid-template-columns: minmax(0,1fr) !important; gap: 8px; }
#main #bh-hero .hm-acts > button { width: 100%; min-height: 48px; }
#main #bh-hero .bh-manage { margin: 10px 0 0; border-top: 1px solid rgba(128,128,128,.28); }
#main #bh-hero .bh-manage:not(:has(.bh-manage-actions > button:not([hidden]))) { display: none; }
#main #bh-hero .bh-manage summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; list-style: none; }
#main #bh-hero .bh-manage summary::-webkit-details-marker { display: none; }
#main #bh-hero .bh-manage summary::after { content: '+'; font-size: 22px; font-weight: 400; }
#main #bh-hero .bh-manage[open] summary::after { content: '−'; }
#main #bh-hero .bh-manage summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#main #bh-hero .bh-manage-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#main #bh-hero .bh-manage-actions button { flex: 1 1 100px; min-height: 44px; border: 1px solid currentColor; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
#main #bh-hero .bh-manage-actions button[hidden] { display:none!important; }
body.bh-out #bh-tabbar { display: none; }
#main .hm-stats .hm-big b { font-size: clamp(36px,5vw,64px); }
#main #bh-hero #hero-h, #main #bh-hero #bh-hero-day { font-size: clamp(26px,4vw,38px)!important; line-height:1.14; overflow-wrap:anywhere; }
#app main.pwrap[data-tab="dash"] .cg-hi .hi-h { font-size: clamp(28px,4vw,38px); letter-spacing: -.035em; }
#app main.pwrap[data-tab="dash"] .cg-hi .cg-sub { max-width: 55ch; }
@media(min-width:900px) {
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) { padding-left:208px; padding-bottom:0; }
  #bh-tabbar.nltb.rail { position:fixed; top:0; left:0; right:auto; bottom:0; width:208px; height:auto; box-sizing:border-box; margin:0; padding:88px 12px 24px; border-radius:0; border:0; border-right:1px solid #e6e2da; z-index:44; overflow-y:auto; background:#fff; }
  #bh-tabbar.nltb.rail a { padding:12px 14px; min-height:48px; border-radius:10px; }
  #bh-tabbar.nltb.rail a[aria-current="page"] { background:#f0f1ef!important; color:#17191b; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #bh-head { z-index:45; margin-left:-208px; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #bh-head nav { max-width: none; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #bh-head nav > a:first-child { position:static; flex:0 0 auto; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #bh-head nav { justify-content:space-between; min-height:60px; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main.w { width:100%; max-width:1100px!important; padding:28px clamp(20px,3vw,40px) 48px; box-sizing:border-box; display:block; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > * { grid-column:auto; grid-row:auto; position:static; margin:0!important; min-width:0; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=pickups] #bh-sec-pickups { display:block; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=pickups] #bh-sec-pickups > .pk-hero { position:static; margin-bottom:16px!important; }
}
@media(min-width:1280px) {
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); align-items:start; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > #bh-hero { grid-column:1; grid-row:1 / span 6; }
  body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > :not(#bh-hero) { grid-column:2; }
}
@media(max-width:899px) {
  #main.w > .nwsw, #app main.pwrap > .nwsw { margin-bottom:16px; max-width:100%; }
  #main #bh-hero .hm-acts .cg-main { grid-column:auto; }
}
@media(prefers-color-scheme:dark) {
  #main.w > .nwsw { background:#25282c; }
  #main.w > .nwsw .nwsw-o { color:#f8f8f8; }
  #main.w > .nwsw .nwsw-o span { color:#c3c6ca; }
  #main.w > .nwsw .nwsw-o.on { background:#40444a; }
  #bh-tabbar.nltb.rail { background:#17191b; border-color:#35383b; }
  #bh-tabbar.nltb.rail a { color:#c3c6ca; }
  #bh-tabbar.nltb.rail a[aria-current="page"] { background:#303438!important; color:#fff; }
}

/* Keep a lone status card full width; reveal the secondary column only when there is content. */
@media(min-width:1280px){
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home:not(:has(> :not(#bh-hero):not([hidden]))) {grid-template-columns:minmax(0,1fr)}
}
#app main.pwrap[data-tab="dash"] .cg-plan-c {margin-top:16px;}
#app main.pwrap[data-tab="dash"] .cg-qrow .cg-q {min-height:76px; border-radius:12px;}
#app main.pwrap[data-tab="dash"] .cg-qrow .cg-q b {white-space:normal;overflow:visible;line-height:1.3;}


/* Premium workspace: a single dominant action, quieter status and compact navigation. */
#main #bh-hero .hm-acts .cg-main { background:var(--t-ink,#17191b)!important; color:var(--t-bg,#fff)!important; border-radius:12px!important; box-shadow:none!important; min-height:52px!important; }
#main #bh-hero .hm-acts button:not(.cg-main) { border-radius:12px!important; }
#main #bh-hero { box-shadow:none!important; border-radius:18px!important; }
#main[data-tab=home] #bh-pills { margin-block:0 12px; gap:6px; }
#main[data-tab=home] #bh-when { display:none; } /* Next pickup already appears in the status card. */
#main[data-tab=home] .hm-sub { margin:4px 0 18px!important; }
#main[data-tab=home] .cg-kicker #bh-greet { letter-spacing:-.035em; }
#main[data-tab=home] #bh-sec-home > section { box-shadow:none!important; }
#app main.pwrap[data-tab=dash] .cg-hero .nl-portal-track { background:#17191b!important; color:white!important; border-radius:12px!important; box-shadow:none!important; }
@media(prefers-color-scheme:dark) {
 #main #bh-hero .hm-acts .cg-main { background:#f6f4ef!important; color:#17191b!important; }
}


/* Business workspace parity with /app: identical visual hierarchy, responsive rail and quiet account rows. */
body:not(.bh-out) #bh-head.bh-apphead { background:var(--t-bg,#fff); border-bottom:1px solid var(--t-line); }
body:not(.bh-out) #bh-head nav { display:flex; justify-content:space-between; align-items:center; min-height:66px; padding:10px 24px; }
#bh-head nav .bh-workspace-brand { width:148px; height:auto; max-width:100%; object-fit:contain; }
body:not(.bh-out) #bh-head .bh-call { min-width:44px; min-height:44px; border-radius:50%; border:0; background:transparent!important; }
#main[data-tab=home] .cg-kicker { margin:0; }
#main[data-tab=home] .cg-kicker #bh-greet { font-size:clamp(30px,4vw,40px); line-height:1.15; letter-spacing:-.035em; }
#main[data-tab=home] #hm-sub { font-size:16px!important; font-weight:400; line-height:1.5; margin:6px 0 24px!important; }
#main[data-tab=home] #bh-pills .cg-plan { display:none; } /* Plan details remain in Account. */
#main[data-tab=home] #bh-pills:not(:has(> :not([hidden]):not(.cg-plan):not(#bh-when))) { display:none; }
#main[data-tab=home] #bh-hero.cg-hero { background:#f5f5f3!important; padding:20px!important; border:0!important; box-shadow:none!important; }
#main #bh-hero .bh-pickup-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(76px,38%); align-items:center; gap:12px; }
#main #bh-hero .bh-pickup-copy { min-width:0; }
#main #bh-hero #bh-hero-win[hidden] { display:none!important; }
#main #bh-hero #hero-h,#main #bh-hero #bh-hero-day { font-size:clamp(24px,3vw,32px)!important; line-height:1.14!important; }
#main #bh-hero .cg-eyebrow { font-size:12px; letter-spacing:0; text-transform:none; }
#main #bh-hero .cg-win { font-size:14px; font-weight:600; margin:4px 0; }
#main #bh-hero .bh-hst { font-size:12px; padding:6px 9px; margin:8px 0 0; }
#main #bh-hero .cg-pro { background:transparent!important; border:0; padding:0; margin:12px 0; }
#main #bh-hero .cg-pro .cg-av { width:28px; height:28px; font-size:14px; }
#main #bh-hero .hm-line { font-size:14px; font-weight:500; }
#main #bh-hero .hm-acts .cg-main { background:#17191b!important; color:#fff!important; font-size:16px!important; min-height:52px!important; border-radius:12px!important; }
#main #bh-hero .bh-manage-actions { flex-direction:column; }
#main #bh-hero .bh-manage-actions button { flex:auto; width:100%; border-color:var(--t-line); background:var(--t-surface); }
#main #bh-hero .cg-sched,#main #bh-hero .cg-fine { font-size:12px; }
#main .bh-work-links { min-width:0; padding:0; }
#main .bh-work-links h2 { margin:0 0 10px; font-size:21px; line-height:1.2; }
#main .bh-work-list { border-top:1px solid var(--t-line); }
#main .bh-work-link { display:grid; grid-template-columns:40px minmax(0,1fr) 14px; gap:12px; align-items:center; min-height:70px; padding:14px 0; color:var(--t-ink); border-bottom:1px solid var(--t-line); text-decoration:none; }
#main .bh-work-link b,#main .bh-work-link small { display:block; overflow-wrap:anywhere; }
#main .bh-work-link small { font-size:13px; font-weight:400; color:var(--t-mute); margin-top:3px; }
#main .bh-work-icon { width:40px; height:40px; background:var(--t-soft); border-radius:10px; display:grid; place-items:center; }
#main .bh-work-icon svg { width:22px; height:22px; }
#main .bh-work-link:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
body[data-role=member] #main .bh-work-link:is([href="#account/plan"],[href="#invoices"]) { display:none; }
@media(min-width:900px) {
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main.w { max-width:1120px!important; padding:32px clamp(24px,4vw,48px) 48px; }
 #bh-tabbar.nltb.rail { top:66px; padding:16px 12px; }
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home { gap:24px; }
}
@media(min-width:1200px) {
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:24px 32px; align-items:start; }
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > #bh-hero { grid-column:1; grid-row:1; position:static; }
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > .bh-work-links { grid-column:2; grid-row:1; }
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > :not(#bh-hero):not(.bh-work-links) { grid-column:1/-1; grid-row:auto; }
}
@media(max-width:899px) {
 body:not(.bh-out) #bh-head nav { padding:8px 20px; min-height:60px; }
 #main[data-tab=home] #bh-sec-home { gap:24px; }
 #main .bh-work-links { margin:24px 0; }
}
@media(prefers-color-scheme:dark) {
 #bh-head nav .bh-workspace-brand { background:white; border-radius:6px; padding:3px; }
 #main[data-tab=home] #bh-hero.cg-hero { background:#262a2e!important; }
 #main #bh-hero .hm-acts .cg-main { background:#f6f4ef!important; color:#17191b!important; }
}

/* Business order filters mirror the Personal app's segmented history navigation. */
#main .bh-order-filter { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; background:var(--t-soft); border-radius:12px; padding:4px; margin:16px 0; }
#main .bh-order-filter button { min-height:44px; padding:8px 12px; border:0; border-radius:9px; background:transparent; color:var(--t-mute); font:700 14px/1.3 "Plus Jakarta Sans",system-ui,sans-serif; cursor:pointer; }
#main .bh-order-filter button[aria-pressed=true] { background:var(--t-surface); color:var(--t-ink); }
#main .bh-order-filter button:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
#main #bh-up-panel[hidden],#main #bh-past-panel[hidden] { display:none!important; }
#main .bh-order-history { box-shadow:none; border-radius:18px; padding:20px; }
#main .bh-order-history .pk-row { border-radius:12px; box-shadow:none; }
#main .pk-hero .pk-acts .btn { background:#17191b!important; color:#fff!important; min-height:52px; border-radius:12px; font-size:16px!important; box-shadow:none; }
@media(prefers-color-scheme:dark) { #main .pk-hero .pk-acts .btn { background:#f6f4ef!important; color:#17191b!important; } }

/* Business uses document scrolling, not an accidentally clipped nested body.
   Preserve the sticky header/fixed rail while allowing every card and dialog to be reached. */
html:has(body.bh-portal-page) { height:auto; min-height:100%; overflow-x:clip; overflow-y:auto; }
body.bh-portal-page { height:auto; min-height:100dvh; max-height:none; overflow:visible; }
body.bh-portal-page #main.w { height:auto; min-height:0; max-height:none; overflow:visible; }
body.bh-portal-page #main .bh-sec { height:auto; max-height:none; overflow:visible; }
@media(min-width:900px) {
 body.bh-portal-page.nl-rail:not(.bh-out) #main.w { padding-bottom:64px; }
 body.bh-portal-page #bh-tabbar.nltb.rail { overflow-y:auto; overscroll-behavior-y:contain; }
}
#main #bh-hero .msg:empty,#main #bh-hero .cg-sched:empty { display:none; }
#main #bh-hero .cg-sched { margin:12px 0 0; }
#main #bh-hero .cg-fine { margin:8px 0 0; }
#main #bh-hero .bh-manage { margin-top:8px; }
#main #bh-hero .nl-first-prep { margin-top:12px; }

/* Business Home: same action-first density as the personal workspace. */
#main[data-tab=home] .cg-kicker #bh-greet { font-size:clamp(28px,4vw,36px); letter-spacing:-.04em; }
#main[data-tab=home] #hm-sub { margin:4px 0 16px!important; font-size:14px!important; }
#main[data-tab=home] #bh-hero.cg-hero { padding:16px!important; border-radius:18px; }
#main #bh-hero .bh-pickup-intro { grid-template-columns:minmax(0,1fr) minmax(72px,34%); gap:12px; }
#main #bh-hero .cg-pro { margin:8px 0 12px; }
#main #bh-hero .cg-pro p { font-size:13px; font-weight:500; }
#main #bh-hero .cg-pro .cg-av { display:none; }
#main #bh-hero .bh-manage { margin-top:6px; }
#main #bh-hero .nl-first-prep { padding:0; margin:8px 0 0; border:0; border-top:1px solid var(--t-line); background:transparent; }
#main #bh-hero .nl-first-prep[hidden] { display:none!important; }
#main #bh-hero .nl-first-prep summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; font-weight:700; cursor:pointer; list-style:none; }
#main #bh-hero .nl-first-prep summary::-webkit-details-marker { display:none; }
#main #bh-hero .nl-first-prep summary::after { content:'+'; font-size:20px; }
#main #bh-hero .nl-first-prep[open] summary::after { content:'−'; }
#main #bh-hero .nl-first-prep p { font-size:14px; line-height:1.45; margin:4px 0 12px; }
#main #bh-hero .nl-first-prep .btn { min-height:44px; }
#main #bh-hero .nl-first-prep summary:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
#main .bh-work-links h2 { font-size:20px; margin-bottom:6px; }
#main .bh-work-link { min-height:60px; padding:10px 0; }
#main .bh-work-icon { width:38px; height:38px; }
@media(min-width:1200px) { #main[data-tab=home] #bh-hero.cg-hero { padding:24px!important; } }

/* Keep both Home surfaces aligned without changing document scrolling. */
#main #bh-hero #bh-hbar[hidden],#main #bh-hero .cg-pro[hidden] { display:none!important; }
#main #bh-hero .hm-acts .cg-main { justify-content:space-between; padding-inline:16px!important; }
#main #bh-hero .hm-acts .cg-main::after { content:'\2192'; font-size:20px; font-weight:400; }
#main #bh-hero .bh-pickup-copy .cg-eyebrow { margin:0 0 8px; }
#main #bh-hero .bh-pickup-copy .bh-hst { margin-top:8px; }
#main #bh-hero .hm-line { margin-top:12px!important; }
@media(min-width:900px) and (max-width:1199px) {
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home { grid-template-columns:minmax(0,1fr) minmax(240px,.9fr); gap:24px; }
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > #bh-hero { grid-column:1; grid-row:1; }
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > .bh-work-links { grid-column:2; grid-row:1; }
 body.nl-rail:not(.bh-out):has(#bh-tabbar.rail) #main[data-tab=home] #bh-sec-home > :not(#bh-hero):not(.bh-work-links) { grid-column:1/-1; grid-row:auto; }
}

/* Optional information stays available without occupying the primary booking surface. */
#main #bh-hero .bh-extra-quick { width:100%; min-height:48px; margin:10px 0 0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 16px; border:1px solid var(--t-line); border-radius:12px; background:transparent; color:var(--t-ink); font:700 14px/1.3 "Plus Jakarta Sans",system-ui,sans-serif; cursor:pointer; }
#main #bh-hero .bh-extra-quick[hidden],#main .bh-home-extras[hidden],#main #bh-account-expansion[hidden] { display:none!important; }
#main .bh-home-extras { border-top:1px solid var(--t-line); min-width:0; }
#main .bh-home-extras summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; min-height:48px; cursor:pointer; list-style:none; color:var(--t-ink); font-weight:700; }
#main .bh-home-extras summary::-webkit-details-marker { display:none; }
#main .bh-home-extras[open]>summary span { transform:rotate(45deg); }
#main .bh-home-extras summary:focus-visible,#main #bh-hero .bh-extra-quick:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
#main .bh-extras-content { display:grid; gap:12px; }
#main .bh-extras-content>.card { margin:0!important; min-width:0; }
#main .bh-extras-content>.card[hidden] { display:none!important; }
#main .bh-extras-content .hm-stats .hm-big b { font-size:32px; }
#main[data-sub] #bh-account-expansion,body[data-role=member] #bh-account-expansion { display:none!important; }

/* Match Personal's text-only primary card and neutral workspace background. */
#main #bh-hero .bh-pickup-intro { display:block; margin:0 0 12px; }
#main #bh-hero .bh-pickup-copy { width:100%; }
#main #bh-hero .bh-pickup-copy .cg-eyebrow { display:block; }
#main #bh-hero .hm-line { margin:12px 0!important; }
@media(prefers-color-scheme:light) {
 body.bh-portal-page:not(.bh-out) { background:#fff; --t-bg:#fff; }
 body.bh-portal-page:not(.bh-out) #bh-head { background:#fff; }
}
