.rider-sheet .rider-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.rider-sheet .rider-methods > button[data-method=cash] {
  --rider-method-color: #176444;
  --rider-method-tint: #e7f6ee;
}

.rider-sheet .rider-methods > button[data-method=card] {
  --rider-method-color: #902c48;
  --rider-method-tint: #f9edf2;
}

.rider-sheet .rider-methods > button[data-method] {
  border: 1px solid var(--rider-method-color);
  background: var(--rider-method-tint);
  color: var(--rider-method-color);
}

.rider-sheet .rider-methods > button[data-method][aria-pressed=true] {
  background: var(--rider-method-color);
  color: white;
}

.app-frame.pda-branded {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #f5f4f9;
}

.pda-branded > .room-service {
  flex: 1;
}

.pda-branded > .pda-room.pda-view-tables .room-workspace > main {
  min-height: 0;
}

.pda-branded .pda-restaurant-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.pda-branded .pda-restaurant-logo {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid #e6deef;
  border-radius: 11px;
  background: #f5f0fa;
  color: #382265;
  font-weight: 750;
  box-sizing: border-box;
}

.pda-branded .pda-restaurant-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pda-branded .pda-restaurant-brand strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(14px, 4vw, 19px);
}

.pda-branded .pda-brand-footer {
  display: flex;
  justify-content: center;
  padding: 14px 12px max(16px, env(safe-area-inset-bottom));
}

.pda-branded .pda-brand-stamp {
  padding: 6px 12px;
  border-radius: 99px;
  background: #382265;
  color: white;
  font-size: 11px;
  line-height: 1.25;
}

.pda-branded .pda-brand-stamp strong { font-weight: 750; }

.rider-mobile.pda-branded > .rider-top {
  gap: 10px;
  padding-inline: 12px;
}

.rider-mobile.pda-branded > .rider-top > button { flex: none; }

.rider-mobile.pda-branded > .pda-brand-footer {
  flex: none;
  background: #f7f6f9;
}

.pda-room.pda-view-tables[data-pda-account-design] .table-grid > .table-card {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  box-sizing: border-box;
}

.pda-room.pda-view-tables[data-pda-account-design] .table-grid > .table-card:has(.waiter-table-guests) {
  padding-block-start: 28px;
}

.pda-room.pda-view-tables[data-pda-account-design] .table-card > .waiter-table-guests {
  position: absolute;
  inset-block-start: 7px;
  inset-inline-end: 7px;
  min-width: 34px;
  min-height: 23px;
  padding: 2px 6px;
  border: 0;
  border-radius: 8px;
  background: #e8e0fb;
  color: #433092;
  font-size: 13px;
  font-weight: 750;
  box-sizing: border-box;
}

.pda-room.pda-view-tables[data-pda-account-design] .table-card.bill-request > .waiter-table-guests {
  background: #ffe8b8;
  color: #65420a;
}

.pda-room.pda-view-catalog[data-pda-account-design] .waiter-product-add {
  display: none;
}

.pda-room.pda-view-catalog[data-pda-account-design] #order-category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  width: 100%;
  max-width: 354px;
  max-height: min(42dvh, 360px);
  padding: 5px;
  overflow: auto;
  box-sizing: border-box;
}

.pda-room.pda-view-catalog[data-pda-account-design] #order-category-tabs > button {
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.pda-room.pda-view-catalog[data-pda-account-design] #order-category-tabs.folded {
  max-height: none;
  overflow: visible;
}

.pda-room.pda-view-catalog[data-pda-account-design] #order-category-tabs.folded > button:nth-child(n + 4) {
  display: none;
}

.pda-room.pda-view-catalog[data-pda-account-design] .subcategories {
  display: flex;
  align-self: flex-start;
  gap: 5px;
  max-width: 100%;
  margin: 4px 0 8px;
  padding: 5px;
  border: 1px solid #e6dff0;
  border-radius: 16px;
  background: #f2eef9;
  box-sizing: border-box;
  scrollbar-width: thin;
}

.pda-room.pda-view-catalog[data-pda-account-design] .subcategories > button {
  min-height: 44px;
  max-width: 100%;
  padding: 6px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #4a3e61;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pda-room.pda-view-catalog[data-pda-account-design] .subcategories > button:hover {
  background: #e8e0f5;
}

.pda-room.pda-view-catalog[data-pda-account-design] .subcategories > button[aria-pressed=true] {
  background: linear-gradient(135deg, #5a45bc, #483398);
  color: white;
  box-shadow: 0 2px 5px #34236542;
}

.pda-room.pda-view-catalog[data-pda-account-design] .subcategories > button:focus-visible {
  outline: 2px solid #4a3792;
  outline-offset: -2px;
}

.pda-room.pda-view-catalog[data-pda-account-design] .subcategories > button[aria-pressed=true]:focus-visible {
  outline-color: white;
}

.room-service.pda-room.pda-view-account[data-pda-account-design] {
  --pda-account-width: 640px;
  --pda-account-gutter: clamp(12px, 4vw, 24px);
  --pda-account-ink: #27203a;
  --pda-account-muted: #645a74;
  --pda-account-line: #e6dff0;
  background: #f5f2fa;
  color: var(--pda-account-ink);
  min-height: 100dvh;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 8px 10px;
  width: min(calc(100% - var(--pda-account-gutter) * 2), var(--pda-account-width));
  min-height: 0;
  margin: 0 auto;
  padding: clamp(14px, 4vw, 20px);
  border: 0;
  border-radius: 20px;
  background: linear-gradient(128deg, #342365, #5040a7);
  color: white;
  box-shadow: 0 6px 16px #39266b26;
  box-sizing: border-box;
}

.pda-room.pda-view-account[data-pda-account-design]:has(.mobile-table-head) {
  padding-top: max(var(--pda-account-gutter), env(safe-area-inset-top));
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-table-head strong {
  display: block;
  font-size: clamp(19px, 5.2vw, 26px);
  line-height: 1.15;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-table-head strong small {
  color: #eee8ff;
  font-size: 13px;
  font-weight: 550;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-table-head > div > small {
  color: #eee8ff;
  margin-top: 6px;
  line-height: 1.35;
  font-size: 12px;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-table-head > b {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
  font-size: clamp(18px, 5.4vw, 27px);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-table-head > span {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  padding: 5px 10px;
  color: #37256d;
  background: #eee7ff;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-table-head > button {
  grid-column: 3;
  grid-row: 1;
  color: white;
  border: 1px solid #ffffff63;
  background: #ffffff19;
  border-radius: 12px;
  min-height: 44px;
  padding: 0;
}

.pda-room.pda-view-account[data-pda-account-design] .room-sale.mobile-account {
  display: block;
  width: min(calc(100% - var(--pda-account-gutter) * 2), var(--pda-account-width));
  margin: 0 auto;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.pda-room.pda-view-account[data-pda-account-design] .room-sale.mobile-account > main {
  display: none;
}

.pda-room.pda-view-account[data-pda-account-design] .room-sale.mobile-account .account-column {
  width: 100%;
  min-height: 0;
  gap: 12px;
  padding: 14px 0 calc(148px + env(safe-area-inset-bottom));
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pda-room.pda-view-account[data-pda-account-design] .account-column:has(.mobile-account-actions > div + button) {
  padding-bottom: calc(206px + env(safe-area-inset-bottom));
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-round-card {
  position: relative;
  margin: 0;
  padding: 0 13px;
  background: white;
  border: 1px solid var(--pda-account-line);
  border-radius: 16px;
  box-shadow: 0 2px 6px #30254c0b;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-round-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 -13px;
  padding: 7px 8px 7px 13px;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid #eee8f5;
  background: #faf8fe;
}

.pda-room.pda-view-account[data-pda-account-design] .waiter-round-meta {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
  color: var(--pda-account-ink);
  font-size: 14px;
  font-weight: 700;
}

.pda-room.pda-view-account[data-pda-account-design] .waiter-round-meta .room-round-author { display: contents; }

.pda-room.pda-view-account[data-pda-account-design] .waiter-round-meta .room-round-origin {
  display: grid;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #4a3792;
  background: #ede7fb;
}

.pda-room.pda-view-account[data-pda-account-design] .waiter-round-meta .room-round-name {
  grid-column: 2;
  overflow-wrap: anywhere;
}

.pda-room.pda-view-account[data-pda-account-design] .waiter-round-meta time {
  grid-column: 2;
  color: var(--pda-account-muted);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-round-card > header button {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #4a3792;
  font-size: 22px;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-round-card > header button[aria-expanded=true] {
  background: #eee8fc;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-round-menu {
  position: absolute;
  top: 52px;
  right: 8px;
  z-index: 12;
  display: grid;
  width: min(246px, calc(100% - 16px));
  padding: 5px;
  border: 1px solid var(--pda-account-line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 24px #30254c26;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-round-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  border-radius: 7px;
  background: white;
  color: var(--pda-account-ink);
  text-align: left;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-round-card .mobile-sent-line {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: baseline;
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px solid #eee8f5;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-sent-line > b {
  width: fit-content;
  min-width: 27px;
  padding: 1px 5px;
  border-radius: 7px;
  background: #efebf8;
  color: #4c3b75;
  text-align: center;
  font-size: 12px;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-sent-line > span { overflow-wrap: anywhere; }
.pda-room.pda-view-account[data-pda-account-design] .mobile-sent-line small { display: block; color: var(--pda-account-muted); }
.pda-room.pda-view-account[data-pda-account-design] .mobile-sent-line small:empty { display: none; }
.pda-room.pda-view-account[data-pda-account-design] .mobile-sent-line > strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pda-room.pda-view-account[data-pda-account-design] .mobile-round-card .mobile-sent-line:last-child { border-bottom: 0; }
.pda-room.pda-view-account[data-pda-account-design] .mobile-round-note { margin: 0 0 10px; overflow-wrap: anywhere; }

.pda-room.pda-view-account[data-pda-account-design] .mobile-account-notes {
  position: static;
  margin: 0 0 12px;
  border: 1px solid var(--pda-account-line);
  background: white;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-account-actions {
  position: fixed;
  inset: auto 0 0;
  z-index: 10;
  display: grid;
  gap: 8px;
  box-sizing: border-box;
  padding: 10px max(var(--pda-account-gutter), env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(var(--pda-account-gutter), env(safe-area-inset-left));
  border-top: 1px solid var(--pda-account-line);
  background: #fff;
  box-shadow: 0 -6px 20px #34236512;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-account-actions > * {
  width: min(100%, var(--pda-account-width));
  margin: 0 auto;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-account-actions > .primary-action {
  position: static;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--brand, #5849cc);
  color: white;
  box-shadow: none;
  font-weight: 750;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-account-actions > div {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-account-actions > div > button,
.pda-room.pda-view-account[data-pda-account-design] .mobile-account-actions > div + button {
  min-width: 0;
  min-height: 46px;
  padding: 6px;
  border: 1px solid var(--pda-account-line);
  border-radius: 12px;
  background: white;
  color: var(--pda-account-ink);
  font-size: 14px;
  font-weight: 700;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-account-actions > div > .mobile-checkout-trigger {
  border-color: #146447;
  background: #146447;
  color: white;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-account-actions button:disabled {
  opacity: .48;
}

.pda-room.pda-view-account[data-pda-account-design] :is(.mobile-round-card, .mobile-account-actions) button:focus-visible {
  outline: 2px solid #4934a1;
  outline-offset: 2px;
}

.pda-room.pda-view-account[data-pda-account-design] .mobile-table-head button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
