/* Final optical corrections loaded after selected-pages-v1.css. */
/* The desktop privacy composition is 906px wide; let tablets reflow without
   changing the existing mobile timeline or desktop four-card composition. */
@media (min-width: 768px) and (max-width: 1023px) {
  .privacy-body .panel.legal { padding: 0 24px 36px !important; }
  .privacy-body .legal-topbar { width: 100%; }
  .privacy-body .privacy-journey-design,
  .privacy-body .privacy-journey-steps,
  .privacy-body .privacy-never {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
  }
  .privacy-body .privacy-journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .privacy-body .privacy-journey-steps::before { display: none; }
  .privacy-body .privacy-journey-steps article {
    height: auto !important;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .privacy-body .privacy-never ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .privacy-body .privacy-never li {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    overflow-wrap: anywhere;
  }
}
@media (min-width: 768px) {
  .merchant-focus-hero > div { transform: translateY(-14px); }
  .ops-header .brand img {
    width: 190px !important;
    height: 194px !important;
    margin-left: -20px;
  }
  .tables-tonight .seat-picker .segmented {
    grid-template-columns: repeat(2, 20px);
    gap: 2px;
  }
  .tables-tonight .seat-option span {
    width: 20px;
    min-height: 22px;
    font-size: 9px;
  }
}

@media (min-width: 768px) and (max-width: 799px) {
  .tables-tonight-cta-mobile.mobile-action {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    left: 18px !important;
    z-index: 90;
    width: auto !important;
  }
  body.merchant-body .mobile-merchant-action {
    position: fixed !important;
    right: 22px !important;
    bottom: 20px !important;
    left: 22px !important;
    z-index: 90;
    display: grid !important;
  }
}

@media (max-width: 767px) {
  .trust-hero h1 {
    font-size: 55px !important;
    line-height: .78 !important;
  }

  .business-options {
    width: calc(100% + 3px) !important;
    margin-right: 0 !important;
    margin-left: 9px !important;
  }
  .business-selected-path {
    width: calc(100% - 7px) !important;
    margin-right: 0 !important;
    margin-left: 9px !important;
  }

  .merchant-session-card::before { top: 36px; }
  .merchant-session-card > header { min-height: 40px; }
  .merchant-session-metrics { margin-top: 0 !important; }
  .merchant-focus-orders { margin-top: 42px !important; }
  body.merchant-body .mobile-merchant-action {
    position: fixed !important;
    z-index: 12;
    bottom: 52px !important;
    right: 22px !important;
    left: 22px !important;
    min-height: 58px;
  }

  .tables-tonight-card,
  .tables-tonight-privacy,
  .tables-tonight-cta,
  .tables-tonight-note,
  .tables-tonight-cta-mobile.mobile-action {
    width: calc(100% - 21px) !important;
  }
  .tables-tonight-offer > dl > div { padding: 7px 0 !important; }
  .tables-tonight-offer > dl dd { font-size: 11px !important; }

  .privacy-journey-steps { transform: none; }
  .privacy-never {
    min-height: 128px !important;
    margin-top: 14px !important;
  }
  .privacy-back {
    width: 325px !important;
    min-height: 58px !important;
    margin-top: 16px !important;
  }

  .ops-main { padding-top: 45px !important; }
  .ops-incident-layout.ops-workspace {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ops-mobile-context { min-height: 36px; }
  .ops-mobile-context button { min-height: 34px; }
  .ops-selected-detail .ops-detail-heading { padding: 9px 10px 7px !important; }
  .ops-selected-detail .ops-detail-heading p:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ops-selected-detail .ops-detail-metrics { padding: 0 8px 8px; }
  .ops-selected-detail .ops-detail-metrics > div {
    min-height: 42px !important;
    padding: 6px !important;
  }
  .ops-selected-detail .ops-detail-metrics > div:last-child { display: none !important; }
  .ops-incident-timeline > header { min-height: 44px !important; }
  .ops-incident-timeline ol { padding: 10px 12px 8px 34px !important; }
  .ops-incident-timeline li { min-height: 58px !important; }
  .ops-incident-timeline .ops-timeline-note {
    min-height: 38px;
    margin: 0;
    padding: 10px 12px;
  }
}

/* Keep the two-seat commerce control genuinely operable without disturbing the
   selected one-seat composition: it shares the aggregate seat row. */
.tables-tonight-offer { position: relative; }
.tables-tonight .seat-picker {
  position: absolute;
  top: 0;
  right: 62px;
  z-index: 3;
  display: flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.merchant-focused-financials.is-audit-visible { display: block !important; }
.tables-tonight .seat-picker legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.tables-tonight .seat-picker .segmented {
  display: grid;
  grid-template-columns: repeat(2, 25px);
  gap: 3px;
}
.tables-tonight .seat-option span {
  width: 25px;
  min-height: 25px;
  border-color: rgba(242, 238, 232, .24);
  border-radius: 7px;
  background: rgba(2, 2, 4, .72);
  color: var(--selected-muted);
  font-size: 11px;
  font-weight: 650;
}
.tables-tonight .seat-option input:checked + span {
  border-color: var(--selected-pink) !important;
  background: rgba(255, 10, 115, .14) !important;
  color: var(--selected-pink) !important;
}

@media (max-width: 767px) {
  .tables-tonight-cta-mobile.mobile-action {
    position: fixed !important;
    right: auto !important;
    bottom: 12px !important;
    left: 50% !important;
    z-index: 90;
    width: calc(100% - 40px) !important;
    margin: 0 !important;
    transform: translateX(-50%);
  }
  .tables-tonight .seat-picker {
    top: 17px;
    right: 78px;
  }
  .tables-tonight .seat-picker .segmented {
    grid-template-columns: repeat(2, 23px);
  }
  .tables-tonight .seat-option span {
    width: 23px;
    min-height: 23px;
    font-size: 10px;
  }
}
