:root {
  --ink: #111713;
  --muted: #65706a;
  --line: #dde2de;
  --line-dark: #cbd2cd;
  --canvas: #f7f7f5;
  --white: #fff;
  --forest: #12392b;
  --forest-2: #1d523e;
  --mint: #e7f0e9;
  --lime: #dffc2f;
  --success: #dceedd;
  --warning: #fff4ce;
  --radius: 15px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(29, 82, 62, 0.2);
  outline-offset: 2px;
}
.ph { font-size: 20px; }
.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  background: #fbfcfa;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 27px 18px 18px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.app-brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 10px;
  padding: 0 7px 30px;
  text-decoration: none;
}
.app-brand strong, .app-brand small { display: block; }
.app-brand strong { font-size: 18px; letter-spacing: -0.4px; }
.app-brand small { color: var(--muted); font-size: 13px; margin-top: 2px; }
.app-logo-img {
  border-radius: 11px;
  display: block;
  flex: 0 0 auto;
  height: 41px;
  width: 41px;
}
.app-logo {
  align-items: center;
  background: var(--lime);
  border-radius: 11px;
  color: var(--forest);
  display: flex;
  height: 41px;
  justify-content: center;
  width: 41px;
}
.app-logo .ph { font-size: 26px; }
.app-nav { display: grid; gap: 6px; }
.app-nav button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #4d5752;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
  min-height: 45px;
  padding: 0 13px;
  text-align: left;
  width: 100%;
}
.app-nav button.active, .app-nav button:hover { background: #e8efea; color: var(--ink); }
.app-nav button.active { box-shadow: inset 3px 0 var(--lime); }
.app-nav .ph { font-size: 21px; }
.sidebar-space { flex: 1; }
.sidebar-credit {
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  margin: 20px 3px 15px;
  padding: 17px;
}
.sidebar-credit > span {
  color: #748079;
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sidebar-credit > strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  margin: 10px 0 3px;
}
.sidebar-credit > small { color: var(--muted); font-size: 12px; }
progress {
  accent-color: #9ebd25;
  height: 7px;
  margin: 12px 0 9px;
  width: 100%;
}
.sidebar-credit button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--forest-2);
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 750;
  gap: 5px;
  padding: 0;
}
.sidebar-credit button .ph { font-size: 15px; }
.workspace {
  align-items: center;
  background: transparent;
  border: 0;
  display: grid;
  gap: 9px;
  grid-template-columns: 34px 1fr 18px;
  padding: 9px 5px;
  text-align: left;
}
.workspace { cursor: pointer; }
.workspace-avatar, .user-avatar {
  align-items: center;
  background: #dceadd;
  border-radius: 50%;
  color: var(--forest);
  display: flex;
  font-size: 13px;
  font-weight: 750;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.workspace strong, .workspace small { display: block; }
.workspace strong { font-size: 14px; }
.workspace small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.workspace > .ph { color: #79847e; font-size: 15px; }
.workspace-main { min-width: 0; }
.app-topbar {
  align-items: center;
  background: rgba(247, 247, 245, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 84px;
  justify-content: space-between;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 8;
}
.app-topbar p {
  color: #728078;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1px;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.app-topbar h1 { font-size: 18px; letter-spacing: -0.3px; margin: 0; }
.topbar-actions { align-items: center; display: flex; gap: 9px; }
.icon-button {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  height: 36px;
  justify-content: center;
  position: relative;
  width: 36px;
}
.icon-button .ph { font-size: 18px; }
.user-avatar-button {
  border: 0;
  cursor: pointer;
  padding: 0;
}
.notification {
  position: relative;
}
.notification > span#notification-dot,
#notification-dot {
  background: #e24b4a;
  border: 2px solid white;
  border-radius: 50%;
  height: 10px;
  min-width: 10px;
  position: absolute;
  right: 3px;
  top: 3px;
  width: 10px;
}
#notification-dot[data-count] {
  align-items: center;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  height: 16px;
  justify-content: center;
  min-width: 16px;
  padding: 0 4px;
  right: 0;
  top: 0;
  width: auto;
}
#notification-dot[data-count]::after {
  content: attr(data-count);
}
.topbar-actions {
  position: relative;
}
.notification-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(16, 23, 19, 0.14);
  max-height: min(72vh, 560px);
  overflow: hidden;
  position: absolute;
  right: 48px;
  top: 72px;
  width: min(420px, calc(100vw - 32px));
  z-index: 40;
}
.notification-panel-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}
.notification-panel-head strong {
  display: block;
  font-size: 16px;
  margin-top: 2px;
}
.notification-panel-head .button {
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
}
.notification-panel-list {
  max-height: min(60vh, 480px);
  overflow: auto;
  padding: 12px;
}
.notification-empty {
  color: var(--muted);
  padding: 36px 18px;
  text-align: center;
}
.notification-empty .ph {
  color: #9aa59e;
  font-size: 28px;
}
.notification-empty strong {
  color: var(--ink);
  display: block;
  margin: 10px 0 6px;
}
.notification-empty p {
  font-size: 13px;
  margin: 0;
}
.notification-card {
  background: linear-gradient(165deg, #fbfcfa 0%, #fff 70%);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
  margin-bottom: 10px;
  padding: 14px;
  transition: 150ms ease;
}
.notification-card:hover {
  border-color: #c5d2c9;
  box-shadow: 0 8px 20px rgba(16, 23, 19, 0.06);
  transform: translateY(-1px);
}
.notification-card.is-unread {
  background: linear-gradient(165deg, #f7fbee 0%, #fff 65%);
  border-color: #d5e4b8;
  box-shadow: inset 3px 0 0 var(--lime);
}
.notification-card-icon {
  align-items: center;
  background: var(--mint);
  border-radius: 12px;
  color: var(--forest-2);
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.notification-card.tone-success .notification-card-icon {
  background: #e7f6ea;
  color: #1f6b3a;
}
.notification-card.tone-warning .notification-card-icon {
  background: #fff6df;
  color: #8a6a12;
}
.notification-card.tone-promo .notification-card-icon {
  background: #eef0ff;
  color: #3d4bb8;
}
.notification-card-body header {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.notification-card-body strong {
  font-size: 14px;
  line-height: 1.35;
}
.notification-new {
  background: var(--lime);
  border-radius: 999px;
  color: #1a2e14;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  text-transform: uppercase;
}
.notification-card-body p {
  color: #4d5752;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 10px;
  white-space: pre-wrap;
}
.notification-card-body footer {
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 10px;
  justify-content: space-between;
}
.page-container { margin: 0 auto; max-width: 1390px; padding: 30px 36px 70px; }
.app-page { display: none; }
.app-page.active { animation: enter 180ms ease; display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.page-heading {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.page-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -1.4px;
  margin: 0 0 7px;
}
.page-heading p { color: var(--muted); font-size: 14px; margin: 0; }
.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  height: 44px;
  justify-content: center;
  padding: 0 16px;
  transition: 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button .ph { font-size: 17px; }
.button-dark { background: #161b18; color: white; }
.button-lime { background: var(--lime); color: #11160f; }
.button-outline { background: white; border-color: #c9cfcb; }
.button:disabled { cursor: not-allowed; opacity: 0.55; transform: none; }
.full { width: 100%; }
.loading-state {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 9px;
  justify-content: center;
  min-height: 300px;
}
.loading-state .ph { animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: 48px 24px;
  text-align: center;
}
.empty-state-icon {
  align-items: center;
  background: var(--mint);
  border-radius: 12px;
  color: var(--forest-2);
  display: flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 24px;
  width: 48px;
}
.empty-state-icon .ph { font-size: 26px; }
.empty-state h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.7px;
  margin: 12px 0 8px;
}
.empty-state p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 23px;
  max-width: 470px;
}
.request-workspace { display: grid; gap: 16px; }
.flow-steps {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.flow-steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 2px;
  grid-template-columns: 28px 1fr;
  padding: 12px 14px;
}
.flow-steps li span {
  align-items: center;
  background: #eef1ee;
  border-radius: 999px;
  color: #5c665f;
  display: flex;
  font-size: 12px;
  font-weight: 750;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.flow-steps li strong {
  font-size: 13px;
  grid-column: 2;
  line-height: 1.3;
}
.flow-steps li small {
  color: var(--muted);
  font-size: 12px;
  grid-column: 2;
  line-height: 1.35;
}
.flow-steps li.active {
  border-color: #b8cf21;
  box-shadow: 0 0 0 1px rgba(184, 207, 33, 0.35);
}
.flow-steps li.active span {
  background: var(--lime);
  color: #11160f;
}
.flow-steps li.done {
  background: #f4faf5;
  border-color: #c5dfc8;
}
.flow-steps li.done span {
  background: #dcebdc;
  color: var(--forest-2);
}
#credits-next-step,
#customers-next-step {
  margin-bottom: 16px;
}
.customers-more {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 8px;
  text-align: center;
}
.customers-more .button { min-width: 220px; }
.customers-more small { color: var(--muted); font-size: 12px; }
.loading-state.error-state { color: #87463e; }
.support-error {
  background: #fdf6f5;
  border: 1px solid #e8cfc9;
  border-radius: 12px;
  color: #5c2f2a;
  padding: 14px 16px;
  text-align: left;
}
.support-error strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.support-error p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 8px;
}
.support-error p:last-child { margin-bottom: 0; }
.support-error-contact a {
  color: #1d523e;
  font-weight: 700;
  text-decoration: underline;
}
.razorpay-button-host .support-error {
  margin-top: 4px;
}
.next-step-banner {
  align-items: center;
  border-radius: 14px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px 20px;
}
.next-step-success {
  background: #edf7ee;
  border: 1px solid #c5dfc8;
}
.next-step-wait {
  background: #f4f7f5;
  border: 1px solid var(--line);
}
.next-step-closed {
  background: #faf6f5;
  border: 1px solid #e8d9d6;
}
.next-step-copy .eyebrow {
  color: var(--forest-2);
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.next-step-copy strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.next-step-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  max-width: 46rem;
}
.next-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.request-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
}
.request-toolbar-hint {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.request-toolbar-hint strong { color: var(--ink); }
.pipeline {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  position: relative;
}
.pipeline::before {
  background: #bbc3be;
  content: "";
  height: 1px;
  left: 8%;
  position: absolute;
  right: 8%;
  top: 34px;
  z-index: 0;
}
.stage {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px;
  position: relative;
  z-index: 1;
}
.stage.active { border-color: #b8cf21; box-shadow: 0 0 0 1px #b8cf21; }
.stage-icon {
  align-items: center;
  background: #e9efea;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  margin-bottom: 12px;
  width: 34px;
}
.stage.complete .stage-icon { background: #dcebdc; color: var(--forest-2); }
.stage.active .stage-icon { background: var(--lime); }
.stage-icon .ph { font-size: 19px; }
.stage > span:not(.stage-icon) {
  color: #748078;
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.stage h3 {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 6px;
}
.stage p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}
.request-switcher {
  align-items: center;
  display: flex;
  gap: 10px;
}
.request-switcher label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.request-switcher select {
  background: white;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  font-size: 13px;
  min-width: 200px;
  padding: 9px 28px 9px 11px;
}
.credit-gate {
  align-items: center;
  background: #fff9e7;
  border: 1px solid #e8d99d;
  border-radius: 12px;
  display: grid;
  gap: 13px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  margin: 0;
  padding: 13px 15px;
}
.credit-gate-soft {
  background: #f7f8f6;
  border-color: var(--line);
}
.credit-gate-icon {
  align-items: center;
  background: white;
  border-radius: 9px;
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.credit-gate strong, .credit-gate p { display: block; margin: 0; }
.credit-gate strong { font-size: 14px; }
.credit-gate p { color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.request-detail-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.brief-panel, .unlock-panel { min-height: 0; padding: 22px; }
.unlock-actions { display: grid; gap: 10px; margin-top: 18px; }
.unlock-panel-delivered .unlock-foot { display: none; }
.panel-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
}
.panel-heading h3, .panel-title h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0;
}
.request-id {
  background: #f0f2f0;
  border-radius: 999px;
  color: #737c77;
  font-size: 12px;
  padding: 5px 8px;
}
.brief-list { margin: 0; }
.brief-list div {
  align-items: center;
  border-bottom: 1px solid #edf0ee;
  display: flex;
  justify-content: space-between;
  min-height: 55px;
}
.brief-list dt { color: var(--muted); font-size: 13px; }
.brief-list dd { font-size: 13px; font-weight: 650; margin: 0; max-width: 65%; text-align: right; }
.brief-actions { display: flex; justify-content: space-between; margin-top: 22px; }
.text-action {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--forest-2);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 5px;
  padding: 0;
}
.unlock-panel > p { color: var(--muted); font-size: 13px; margin: 7px 0 18px; }
.quantity-control {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.quantity-control button {
  background: white;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 18px;
  min-height: 62px;
}
.quantity-control button:last-child { border-right: 0; }
.quantity-control button.active { background: #151a17; color: white; }
.unlock-calculation {
  background: #f7f8f6;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin: 14px 0 12px;
  padding: 20px;
}
.unlock-calculation > span {
  color: #77827b;
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.unlock-calculation > strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  margin: 8px 0 18px;
}
.unlock-calculation dl { border-top: 1px dashed #c6cdc8; margin: 0; padding-top: 15px; }
.unlock-calculation dl div { display: flex; justify-content: space-between; padding: 5px 0; }
.unlock-calculation dt { color: var(--muted); font-size: 12px; }
.unlock-calculation dd { font-size: 13px; font-weight: 700; margin: 0; }
.balance-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 11px 13px;
}
.unlock-foot {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}
.unlock-foot span { color: var(--muted); font-size: 12px; }
.status-notice {
  align-items: flex-start;
  background: #f6f8f6;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
}
.status-notice .ph { color: var(--forest-2); font-size: 22px; }
.status-notice strong, .status-notice span { display: block; }
.status-notice strong { font-size: 14px; margin-bottom: 4px; }
.status-notice span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.success-notice { background: #f2f8f3; border-color: #c7dacb; }
.success-notice .ph { color: #32734e; }
.eyebrow {
  color: #78827c;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.back-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--forest-2);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  gap: 5px;
  margin: 0 0 12px;
  padding: 0;
}
.request-form {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 300px;
}
.brief-main { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 27px; }
.brief-section {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 35px 1fr;
  padding: 28px 0;
}
.brief-section:last-child { border-bottom: 0; }
.section-number { color: #939c97; font-size: 12px; padding-top: 2px; }
.brief-section h3 { font-size: 15px; margin: 0 0 5px; }
.brief-section p { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.brief-section label {
  color: #505b55;
  display: block;
  font-size: 12px;
  font-weight: 700;
}
.brief-section input, .brief-section select, .brief-section textarea {
  background: white;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  color: var(--ink);
  font-size: 14px;
  margin-top: 7px;
  min-height: 44px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}
.brief-section input:focus, .brief-section select:focus, .brief-section textarea:focus {
  border-color: #78988a;
  box-shadow: 0 0 0 3px rgba(29, 82, 62, 0.08);
}
.brief-section textarea { min-height: 110px; resize: vertical; }
.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
fieldset { border: 0; margin: 20px 0 0; padding: 0; }
fieldset legend { color: #505b55; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.field-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 10px;
}
.category-fieldset {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin: 0 0 18px;
  padding: 15px;
}
.category-fieldset legend {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
}
.category-fieldset > small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin: 1px 0 11px;
}
.choice-row { display: flex; flex-wrap: wrap; gap: 7px; }
.choice-row label {
  align-items: center;
  background: #f4f7f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  min-height: 33px;
  padding: 0 9px;
}
.choice-row input { accent-color: var(--forest-2); height: 13px; margin: 0; min-height: 0; padding: 0; width: 13px; }
.category-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.category-choice-row label {
  min-width: 0;
  width: 100%;
}
.category-choice-row label:has(input:checked) {
  background: #edf5e6;
  border-color: #a8c27a;
  color: var(--forest-2);
}
.category-choice-row .ph {
  color: var(--forest-2);
  flex: 0 0 auto;
  font-size: 15px;
}
.category-choice-row span { overflow-wrap: anywhere; }
.brief-section .other-category { margin-top: 12px; }
.brief-section .other-category[hidden] { display: none; }
.submit-summary {
  background: #151a17;
  border-radius: var(--radius);
  color: white;
  padding: 24px;
  position: sticky;
  top: 108px;
}
.submit-summary .eyebrow { color: #9caaa2; }
.submit-summary h3 { font-family: Georgia, serif; font-size: 26px; font-weight: 400; margin: 10px 0 8px; }
.submit-summary > p { color: #abb6b0; font-size: 13px; line-height: 1.5; }
.submit-summary ul { border-bottom: 1px solid #35413a; border-top: 1px solid #35413a; list-style: none; margin: 20px 0; padding: 13px 0; }
.submit-summary li { align-items: center; color: #c2ccc7; display: flex; font-size: 12px; gap: 7px; padding: 6px 0; }
.submit-summary li .ph { color: var(--lime); font-size: 15px; }
.submit-summary > small { color: #8d9c94; display: block; font-size: 12px; line-height: 1.4; margin-top: 11px; text-align: center; }
.audience-panel { overflow: hidden; }
.table-toolbar {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 18px;
}
.search-field {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  height: 44px;
  max-width: 390px;
  padding: 0 12px;
  width: 100%;
}
.search-field .ph { color: #859089; font-size: 17px; }
.search-field input { border: 0; font-size: 14px; outline: 0; padding-left: 8px; width: 100%; }
.table-toolbar select {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
  height: 44px;
  margin-left: auto;
  padding: 0 30px 0 12px;
}
.table-scroll {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
table { border-collapse: collapse; min-width: 990px; width: 100%; }
th {
  background: #f9faf8;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: #808a84;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.8px;
  padding: 12px 17px;
  text-align: left;
  text-transform: uppercase;
}
td { border-bottom: 1px solid #edf0ee; color: #4e5953; font-size: 13px; padding: 14px 17px; vertical-align: middle; }
tbody tr:hover { background: #fbfcfb; }
.customer-name { color: var(--ink); display: block; font-size: 14px; font-weight: 700; }
.subline { color: #7d8982; display: block; font-size: 12px; line-height: 1.45; margin-top: 4px; }
.segment-tag { background: #eaf1ec; border-radius: 5px; color: #446453; display: inline-block; font-size: 12px; padding: 4px 6px; }
.empty-cell { color: var(--muted); padding: 45px !important; text-align: center; }
.table-foot { align-items: center; display: flex; justify-content: space-between; padding: 14px 18px; }
.table-foot span { font-size: 12px; font-weight: 700; }
.table-foot small { color: var(--muted); font-size: 12px; }

/* Spreadsheet-style review grid (Excel-like) */
.sheet-wrap {
  background: #f3f3f3;
  border: 1px solid #c6c6c6;
  border-radius: 4px;
  overflow: hidden;
}
.sheet-toolbar {
  align-items: center;
  background: linear-gradient(180deg, #f8f8f8 0%, #ececec 100%);
  border-bottom: 1px solid #c6c6c6;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 8px 12px;
}
.sheet-toolbar strong {
  color: #217346;
  font-size: 13px;
  font-weight: 700;
}
.sheet-toolbar small {
  color: #666;
  font-size: 12px;
}
.sheet-scroll {
  -webkit-overflow-scrolling: touch;
  background: #fff;
  max-height: min(62vh, 720px);
  overflow: auto;
}
.sheet {
  border-collapse: collapse;
  font-family: "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
  min-width: 100%;
  table-layout: fixed;
  width: max-content;
}
.sheet col.sheet-row-col { width: 46px; }
.sheet thead th {
  background: #e7e6e6;
  border: 1px solid #b4b4b4;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0;
  position: sticky;
  text-align: center;
  text-transform: none;
  top: 0;
  z-index: 3;
}
.sheet thead th.sheet-col-letter {
  background: #f0f0f0;
  color: #666;
  font-size: 11px;
  font-weight: 600;
  height: 22px;
  line-height: 22px;
}
.sheet thead th.sheet-col-title {
  background: #217346;
  border-color: #1a5c38;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  height: 30px;
  padding: 0 10px;
  text-align: left;
  top: 22px;
  white-space: nowrap;
  z-index: 3;
}
.sheet thead th.sheet-corner {
  background: #e7e6e6;
  left: 0;
  position: sticky;
  z-index: 5;
}
.sheet thead th.sheet-corner-title {
  background: #1a5c38;
  border-color: #1a5c38;
  color: #d4edda;
  left: 0;
  position: sticky;
  top: 22px;
  z-index: 5;
}
.sheet tbody th.sheet-row-num {
  background: #f0f0f0;
  border: 1px solid #b4b4b4;
  color: #666;
  font-size: 11px;
  font-weight: 600;
  left: 0;
  padding: 0 6px;
  position: sticky;
  text-align: center;
  z-index: 2;
}
.sheet tbody td {
  background: #fff;
  border: 1px solid #d0d0d0;
  color: #222;
  font-size: 13px;
  max-width: 260px;
  overflow: hidden;
  padding: 5px 10px;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}
.sheet tbody tr:nth-child(even) td { background: #fafafa; }
.sheet tbody tr:hover td { background: #e8f5e9; }
.sheet tbody tr:hover th.sheet-row-num { background: #d9ead3; }
.sheet tbody tr.is-selected td { background: #c6efce; }
.sheet .sheet-empty {
  color: #888;
  font-size: 13px;
  padding: 36px 16px !important;
  text-align: center;
  white-space: normal;
}
.sheet-cell-muted { color: #666; }
.sheet-cell-link {
  color: #0b57d0;
  text-decoration: none;
}
.sheet-cell-link:hover { text-decoration: underline; }
.audience-panel .sheet-wrap { border-radius: 0 0 12px 12px; }
.preview-dialog.sheet-dialog {
  max-width: min(960px, 96vw);
  width: 96vw;
}
.preview-dialog .sheet-scroll { max-height: 50vh; }
.balance-pill {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  gap: 10px;
  padding: 9px 13px;
}
.balance-pill > .ph { color: var(--forest-2); font-size: 23px; }
.balance-pill small, .balance-pill strong { display: block; }
.balance-pill small { color: var(--muted); font-size: 12px; }
.balance-pill strong { font-size: 16px; margin-top: 1px; }
.credit-packs { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 22px; }
.credit-refund-policy {
  margin-bottom: 18px;
  padding: 0;
}
.credit-refund-policy > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  padding: 0 22px 8px;
}
.refund-policy-list {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  list-style: none;
  margin: 0;
  padding: 0 22px 20px;
}
.refund-policy-list li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.refund-policy-list li:first-child { border-top: 0; }
.refund-policy-list strong { color: var(--ink); }
.pack-checkout-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 10px;
}
.live-pill {
  align-items: center;
  background: #eef6ef;
  border: 1px solid #c5dcc9;
  border-radius: 999px;
  color: var(--forest-2);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 6px;
  padding: 6px 10px;
}
.live-pill.syncing { opacity: 0.7; }
.live-pill.updated { background: var(--lime); border-color: #b6c72c; }
.live-pill .ph { font-size: 14px; }
.customers-export-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.customers-by-request {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-bottom: 18px;
}
.delivery-request-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 16px 18px;
}
.delivery-request-card h3 { font-size: 15px; margin: 4px 0; }
.delivery-request-card p { color: var(--muted); font-size: 12px; margin: 0; }
.delivery-request-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.support-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 360px) 1fr;
}
.support-form { display: grid; gap: 12px; padding: 22px; }
.support-form h3 { margin: 0 0 4px; }
.support-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.support-form input,
.support-form textarea,
.support-reply-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  padding: 10px 12px;
}
.support-list-panel { padding: 0; overflow: hidden; }
.support-list-panel .panel-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}
.support-ticket-list { border-top: 1px solid var(--line); max-height: 320px; overflow: auto; }
.support-ticket-row {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  text-align: left;
  width: 100%;
}
.support-ticket-row.active { background: var(--mint); }
.support-ticket-row strong { font-size: 14px; }
.support-ticket-row small,
.support-ticket-row time { color: var(--muted); font-size: 12px; }
.support-thread { border-top: 1px solid var(--line); padding: 16px 18px 20px; }
.support-thread-head h3 { margin: 6px 0 12px; }
.support-messages { display: grid; gap: 10px; margin-bottom: 14px; }
.support-message {
  border-radius: 12px;
  padding: 12px 14px;
}
.support-message.from-merchant { background: #f4f6f4; }
.support-message.from-admin { background: #eef6ff; }
.support-message header {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 6px;
}
.support-message header time { color: var(--muted); font-size: 11px; }
.support-message p { margin: 0; white-space: pre-wrap; font-size: 13px; line-height: 1.5; }
.support-reply-form { display: grid; gap: 10px; }
@media (max-width: 960px) {
  .support-layout { grid-template-columns: 1fr; }
  .delivery-request-card { flex-direction: column; align-items: flex-start; }
}
.credit-pack {
  background: white;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  min-height: 260px;
  padding: 20px;
  position: relative;
}
.credit-pack.popular { background: #fcfee9; border-color: #b6c72c; }
.credit-pack.on-sale {
  background: linear-gradient(165deg, #fff8e8 0%, #fff 55%);
  border-color: #e0b84a;
  box-shadow: 0 0 0 1px rgba(200, 150, 40, 0.12);
}
.pack-badge { background: var(--lime); border-radius: 5px; font-size: 11px; font-weight: 800; padding: 4px 6px; position: absolute; right: 15px; text-transform: uppercase; top: 15px; }
.pack-badge-sale {
  background: #1a1a1a;
  color: #dffc2f;
  left: 15px;
  right: auto;
}
.credit-pack .list-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-right: 6px;
}
.credit-pack > span:first-child { color: #6f7a74; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.credit-pack h3 { font-family: Georgia, serif; font-size: 28px; font-weight: 400; margin: 35px 0 3px; }
.credit-pack h3 small { color: var(--muted); font-family: Inter, sans-serif; font-size: 12px; }
.credit-pack > strong { display: block; font-size: 19px; margin-top: 20px; }
.credit-pack > p { color: var(--muted); font-size: 12px; margin: 4px 0 22px; }
/* Host only — do not restyle Razorpay's inner .razorpay-payment-button.
   Overriding background/color made brand-theme "Pay Now" text invisible
   (white on transparent) and broke checkout layout. */
.razorpay-button-host {
  display: block;
  margin: 0;
  min-height: 42px;
  width: 100%;
}
.razorpay-button-host .razorpay-payment-button {
  display: block !important;
  max-width: 100%;
  width: 100% !important;
}
.razorpay-button-host .razorpay-payment-button > * {
  max-width: 100%;
  width: 100%;
}
.razorpay-button-host .razorpay-fallback {
  width: 100%;
}
.payment-review-link {
  background: transparent;
  border: 0;
  color: var(--forest-2);
  cursor: pointer;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 9px auto 0;
  padding: 3px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.request-credit-status {
  align-items: flex-start;
  background: #edf5ee;
  border-radius: 9px;
  color: #295f42;
  display: flex;
  font-size: 12px;
  gap: 7px;
  line-height: 1.45;
  margin-bottom: 10px;
  padding: 10px;
}
.request-credit-status .ph { font-size: 17px; }
.request-credit-status.error { background: #fff2e9; color: #8a3f29; }
.transactions-panel { overflow: hidden; }
.panel-title { border-bottom: 1px solid var(--line); padding: 20px 22px; }
.panel-title h3 { font-size: 19px; margin-top: 5px; }
.transaction-item {
  align-items: center;
  border-bottom: 1px solid #edf0ee;
  display: grid;
  gap: 12px;
  grid-template-columns: 35px 1fr auto auto;
  padding: 13px 22px;
}
.transaction-item:last-child { border-bottom: 0; }
.transaction-icon, .activity-icon {
  align-items: center;
  background: #edf2ee;
  border-radius: 9px;
  color: var(--forest-2);
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.transaction-icon .ph, .activity-icon .ph { font-size: 17px; }
.transaction-item strong, .transaction-item small { display: block; }
.transaction-item strong { font-size: 12px; }
.transaction-item small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.transaction-amount { font-size: 13px; font-weight: 750; text-align: right; }
.transaction-amount.credit { color: #377250; }
.transaction-amount.usage { color: #8b4b43; }
.transaction-balance { color: var(--muted); font-size: 12px; min-width: 95px; text-align: right; }
.activity-log { overflow: hidden; padding: 0 23px; }
.activity-row {
  align-items: center;
  border-bottom: 1px solid #edf0ee;
  display: grid;
  gap: 13px;
  grid-template-columns: 34px 1fr auto;
  min-height: 70px;
}
.activity-row:last-child { border-bottom: 0; }
.activity-row strong, .activity-row small { display: block; }
.activity-row strong { font-size: 13px; }
.activity-row small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.activity-row time { color: var(--muted); font-size: 12px; }
.connected-pill {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest-2);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  padding: 8px 10px;
}
.connected-pill > i { background: #61a173; border-radius: 50%; height: 6px; width: 6px; }
.mobile-nav { display: none; }
.account-menu {
  background: white;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(20, 38, 30, 0.18);
  padding: 16px;
  position: fixed;
  right: 18px;
  top: 72px;
  width: min(330px, calc(100vw - 28px));
  z-index: 30;
}
.account-menu[hidden] { display: none; }
.account-summary {
  align-items: center;
  display: grid;
  gap: 11px;
  grid-template-columns: 38px 1fr;
  padding: 2px 2px 15px;
}
.account-summary strong, .account-summary small { display: block; }
.account-summary strong { font-size: 14px; }
.account-summary small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-workspaces {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 14px 0 10px;
}
#workspace-list { display: grid; gap: 5px; margin-top: 9px; }
#workspace-list button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: 30px 1fr 18px;
  min-height: 47px;
  padding: 6px 8px;
  text-align: left;
}
#workspace-list button:hover { background: #f4f7f4; }
#workspace-list button.active { background: #edf3ee; border-color: #dbe5de; cursor: default; }
#workspace-list button > span:first-child {
  align-items: center;
  background: #dceadd;
  border-radius: 8px;
  color: var(--forest);
  display: flex;
  font-size: 12px;
  font-weight: 750;
  height: 30px;
  justify-content: center;
  width: 30px;
}
#workspace-list strong, #workspace-list small { display: block; }
#workspace-list strong { font-size: 13px; }
#workspace-list small { color: var(--muted); font-size: 12px; margin-top: 2px; text-transform: capitalize; }
#workspace-list .ph { color: var(--forest-2); font-size: 15px; }
.account-logout {
  align-items: center;
  background: transparent;
  border: 0;
  color: #6a403a;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  margin-top: 10px;
  min-height: 38px;
  padding: 0 8px;
  width: 100%;
}
.account-admin-link {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--forest-2);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  text-decoration: none;
}
.account-admin-link[hidden] { display: none; }
.account-admin-link .ph { font-size: 18px; }
.account-logout .ph { font-size: 18px; }
dialog {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(20, 38, 30, 0.2);
  color: var(--ink);
  max-width: 420px;
  padding: 29px;
  position: relative;
  width: calc(100% - 30px);
}
dialog::backdrop { background: rgba(13, 33, 25, 0.5); backdrop-filter: blur(3px); }
.dialog-close { align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; display: flex; height: 32px; justify-content: center; position: absolute; right: 16px; top: 16px; width: 32px; }
.dialog-icon { align-items: center; background: var(--mint); border-radius: 11px; color: var(--forest-2); display: flex; height: 43px; justify-content: center; margin-bottom: 23px; width: 43px; }
dialog h2 { font-family: Georgia, serif; font-size: 28px; font-weight: 400; margin: 7px 0 8px; }
dialog > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.purchase-summary { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin: 20px 0; padding: 14px 0; }
.purchase-summary span { color: var(--muted); font-size: 12px; }
.purchase-summary strong { font-size: 18px; }
dialog > small { color: var(--muted); display: block; font-size: 12px; margin-top: 11px; text-align: center; }
.dialog-field {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 16px;
}
.dialog-field input {
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  display: block;
  font-size: 13px;
  margin-top: 7px;
  min-height: 42px;
  padding: 0 11px;
  width: 100%;
}
.credit-orders-panel { margin-bottom: 22px; }
.order-status {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  padding: 5px 8px;
  text-transform: capitalize;
}
.status-pending { background: #f6f1d8; color: #725f14; }
.status-approved { background: #e6f2e9; color: #2e6c45; }
.status-rejected { background: #f5e7e4; color: #87463e; }
.preview-dialog { max-width: 760px; }
.preview-list { margin-top: 16px; }
.toast {
  background: #153d2e;
  border-radius: 9px;
  bottom: 24px;
  color: white;
  font-size: 13px;
  left: 50%;
  opacity: 0;
  padding: 11px 14px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 10px);
  transition: 160ms ease;
  z-index: 40;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #763e39; }
@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .pipeline { gap: 12px; }
  .next-step-banner { grid-template-columns: 1fr; }
  .next-step-actions { justify-content: flex-start; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-detail-grid, .request-form { grid-template-columns: 1fr; }
  .submit-summary { position: static; }
  .credit-packs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .app-topbar { height: 70px; padding: 0 16px; }
  .page-container { padding: 21px 14px 90px; }
  .page-heading { gap: 15px; }
  .page-heading h2 { font-size: 30px; }
  .page-heading .button { white-space: nowrap; }
  .pipeline {
    gap: 10px;
    grid-template-columns: repeat(4, minmax(215px, 78vw));
    margin-left: -14px;
    margin-right: -14px;
    overflow-x: auto;
    padding: 1px 14px 12px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
  }
  .pipeline::before { display: none; }
  .stage { min-height: 170px; scroll-snap-align: start; }
  .request-detail-grid { grid-template-columns: 1fr; }
  .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }
  .category-choice-row { grid-template-columns: 1fr; }
  .table-toolbar { align-items: stretch; flex-direction: column; }
  .table-toolbar select { margin-left: 0; width: 100%; }
  .table-toolbar .button { width: 100%; }
  .credit-packs { grid-template-columns: 1fr; }
  .transaction-item { grid-template-columns: 34px 1fr auto; }
  .transaction-balance { display: none; }
  .mobile-nav {
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    left: 0;
    padding: 6px 5px calc(6px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 20;
  }
  .mobile-nav button { align-items: center; background: transparent; border: 0; color: #7c8881; display: flex; flex-direction: column; font-size: 12px; gap: 3px; padding: 5px; }
  .mobile-nav button.active { color: var(--forest-2); }
  .account-menu { right: 12px; top: 62px; }
  .toast { bottom: 78px; max-width: calc(100vw - 28px); text-align: center; width: max-content; }
  .brief-panel, .unlock-panel { min-height: 0; padding: 20px; }
  .brief-list div { align-items: flex-start; gap: 18px; padding: 15px 0; }
  .brief-list dd { max-width: 60%; }
  .credit-gate { align-items: flex-start; grid-template-columns: 36px 1fr; }
  .credit-gate .button { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 480px) {
  .page-heading { align-items: stretch; flex-direction: column; }
  .page-heading .button { width: 100%; }
  .request-toolbar { align-items: stretch; flex-direction: column; }
  .request-switcher { align-items: stretch; flex-direction: column; }
  .request-switcher select { max-width: none; width: 100%; }
  .flow-steps { grid-template-columns: 1fr; }
  .next-step-actions .button { width: 100%; }
  .unlock-foot { align-items: flex-start; flex-direction: column; gap: 14px; }
  .transaction-item { grid-template-columns: 34px 1fr; }
  .transaction-amount { grid-column: 2; text-align: left; }
}
