@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css");

:root {
  --bg: #090b14;
  --bg2: #0e1120;
  --card: rgba(255, 255, 255, 0.045);
  --card-solid: #131729;
  --card-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceefb;
  --muted: #9ba1bd;
  --faint: #6b7192;
  --accent: #8b6cff;
  --accent2: #22d3ee;
  --grad: linear-gradient(135deg, #8b6cff 0%, #5b8cff 50%, #22d3ee 100%);
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --info: #60a5fa;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --input: rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f5fb;
  --bg2: #e9ecf7;
  --card: rgba(255, 255, 255, 0.82);
  --card-solid: #ffffff;
  --card-hover: #ffffff;
  --line: rgba(20, 24, 50, 0.08);
  --line-strong: rgba(20, 24, 50, 0.16);
  --text: #151a31;
  --muted: #5b6285;
  --faint: #8a90ad;
  --shadow: 0 18px 40px rgba(40, 50, 90, 0.12);
  --input: rgba(20, 24, 50, 0.04);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 108, 255, 0.22), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(600px 400px at 40% 120%, rgba(244, 114, 182, 0.08), transparent 60%),
    var(--bg);
}
:root[data-theme="light"] body::before {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 108, 255, 0.16), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(34, 211, 238, 0.14), transparent 60%),
    var(--bg);
}

a { color: var(--accent2); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
code, .mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: 0.02em; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 13px; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.hidden { display: none !important; }
.center { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- shell */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; padding: 22px 16px;
  border-inline-end: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  display: flex; flex-direction: column; gap: 6px;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 20px; font-weight: 700; font-size: 17px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 8px 24px rgba(91, 140, 255, 0.35); }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  color: var(--muted); font-weight: 500; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--card-hover); color: var(--text); }
.nav a.on { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.nav a.on .ico { color: var(--accent2); }
.nav .count { margin-inline-start: auto; background: var(--grad); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.ico { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: none; }
.ico svg { width: 20px; height: 20px; }
.side .foot { margin-top: auto; color: var(--faint); font-size: 12px; padding: 8px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 16px 28px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 70%, transparent); border-bottom: 1px solid var(--line);
}
.top h1 { font-size: 20px; margin: 0; font-weight: 700; }
.content { padding: 26px 28px 110px; max-width: 1240px; width: 100%; margin: 0 auto; }
.tabbar { display: none; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .top { padding: 12px 16px; }
  .top h1 { font-size: 17px; }
  .content { padding: 16px 14px 110px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; z-index: 20;
    inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px;
    border-radius: 20px; background: color-mix(in srgb, var(--card-solid) 88%, transparent);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 14px; color: var(--muted); font-size: 11px; position: relative; }
  .tabbar a.on { color: var(--text); background: var(--card); }
  .tabbar a.on .ico { color: var(--accent2); }
  .tabbar .dot { position: absolute; top: 4px; inset-inline-end: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
}

/* ---------------------------------------------------------------- cards & grids */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.card h2 { font-size: 16px; margin: 0 0 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card h3 { font-size: 14px; margin: 0 0 8px; color: var(--muted); font-weight: 500; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3 { grid-template-columns: 1fr; } }

.stat { position: relative; overflow: hidden; }
.stat .label { color: var(--muted); font-size: 13px; }
.stat .value { font-size: 30px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.stat .sub { color: var(--faint); font-size: 12px; }
.stat::after {
  content: ""; position: absolute; inset-inline-end: -30px; top: -30px; width: 110px; height: 110px;
  border-radius: 50%; background: var(--grad); opacity: 0.12; filter: blur(4px);
}
.hero {
  background: var(--grad); color: #fff; border: none; box-shadow: 0 20px 50px rgba(91, 140, 255, 0.3);
}
.hero .label, .hero .sub { color: rgba(255, 255, 255, 0.82); }
.hero::after { background: #fff; opacity: 0.14; }

/* ---------------------------------------------------------------- controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-strong);
  background: var(--card); padding: 10px 16px; border-radius: 12px; cursor: pointer; font-weight: 500;
  transition: transform .08s, background .15s, border-color .15s, opacity .15s; white-space: nowrap;
}
.btn:hover { background: var(--card-hover); border-color: var(--line-strong); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.primary { background: var(--grad); color: #fff; border: none; box-shadow: 0 10px 26px rgba(91, 140, 255, 0.35); }
.btn.danger { background: rgba(251, 113, 133, 0.12); color: var(--bad); border-color: rgba(251, 113, 133, 0.35); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: var(--card); }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 10px; }
.btn.icon { padding: 8px; width: 38px; height: 38px; }
.btn.block { width: 100%; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; background: var(--input); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
textarea.input { min-height: 84px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 34px; }
[dir="rtl"] select.input { background-position: 18px 55%, 13px 55%; }
select.input option { background: var(--card-solid); color: var(--text); } /* dark lists stay readable everywhere */
.code-input { text-align: center; letter-spacing: 0.3em; font-size: 20px; font-family: ui-monospace, Consolas, monospace; direction: ltr; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--input); border: 1px solid var(--line); border-radius: 14px; }
.seg button { border: none; background: transparent; padding: 8px 14px; border-radius: 10px; cursor: pointer; color: var(--muted); font-weight: 500; }
.seg button.on { background: var(--card-solid); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), inset 0 0 0 1px var(--line); }

.switch { position: relative; width: 46px; height: 26px; flex: none; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.switch input:checked + i { background: var(--grad); }
.switch input:checked + i::after { transform: translateX(20px); }
[dir="rtl"] .switch input:checked + i::after { transform: translateX(-20px); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; justify-self: start; }
.field .seg { justify-self: start; }
.stepper button { border: none; background: var(--input); width: 40px; height: 42px; cursor: pointer; font-size: 18px; }
.stepper span { min-width: 54px; text-align: center; font-weight: 700; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid transparent; white-space: nowrap; }
.chip.good { background: rgba(52, 211, 153, 0.13); color: var(--good); border-color: rgba(52, 211, 153, 0.25); }
.chip.warn { background: rgba(251, 191, 36, 0.13); color: var(--warn); border-color: rgba(251, 191, 36, 0.25); }
.chip.bad { background: rgba(251, 113, 133, 0.13); color: var(--bad); border-color: rgba(251, 113, 133, 0.25); }
.chip.info { background: rgba(96, 165, 250, 0.13); color: var(--info); border-color: rgba(96, 165, 250, 0.25); }
.chip.pro { background: var(--grad); color: #fff; }
.chip.plain { background: var(--input); color: var(--muted); border-color: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--line); background: var(--input); color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: 13px; }
.chips button.on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------------------------------------------------------------- lists */
.list { display: flex; flex-direction: column; }
.item {
  display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--line);
  cursor: pointer; border-radius: 12px; transition: background .12s;
}
.item:last-child { border-bottom: none; }
.item:hover { background: var(--card-hover); }
.item .title, .head-row .title { font-weight: 600; }
.meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--input); border: 1px solid var(--line); color: var(--accent2); }
.avatar.grad { background: var(--grad); color: #fff; border: none; }
.empty { text-align: center; color: var(--muted); padding: 36px 10px; }
.empty .ico { width: 44px; height: 44px; margin-bottom: 8px; color: var(--faint); }
.empty .ico svg { width: 44px; height: 44px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.search { position: relative; flex: 1; min-width: 200px; }
.search .ico { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search .input { padding-inline-start: 42px; }
.more { display: flex; justify-content: center; margin-top: 14px; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.setting { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.setting:last-child { border-bottom: none; }
/* the text keeps a readable width; on a phone a wide control (the choices) moves below it instead of squeezing it */
.setting .text { flex: 1 1 220px; min-width: 0; }
/* a length in labelled boxes: [2] روز  [3] ساعت  [0] دقیقه */
.dur { display: inline-flex; align-items: center; gap: 6px; }
.dur span { color: var(--muted); font-weight: 600; }
.sent-msg { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.sent-msg .icon svg { width: 15px; height: 15px; vertical-align: -3px; }
.setting .text b { display: block; font-weight: 600; }
.setting .text small { color: var(--muted); font-size: 13px; }

.bigcode {
  font-family: ui-monospace, Consolas, monospace; font-size: 22px; font-weight: 700; letter-spacing: 0.08em; direction: ltr;
  text-align: center; padding: 16px; border-radius: 14px; background: var(--input); border: 1px dashed var(--line-strong); user-select: all;
}
.log {
  direction: ltr; text-align: left; font-family: ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.55;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); border-radius: 12px; padding: 12px; max-height: 420px; overflow: auto; white-space: pre;
}
:root[data-theme="light"] .log { background: #f6f7fb; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 8px; }
.bars .col { flex: 1; display: flex; align-items: flex-end; gap: 2px; height: 100%; position: relative; }
.bars .b1, .bars .b2 { flex: 1; border-radius: 6px 6px 3px 3px; min-height: 3px; }
.bars .b1 { background: linear-gradient(180deg, #8b6cff, #5b8cff); }
.bars .b2 { background: linear-gradient(180deg, #22d3ee, #34d399); }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: middle; }

/* ---------------------------------------------------------------- overlays */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(4, 6, 14, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 18px; animation: fade .15s ease-out;
}
.dialog {
  width: min(560px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: var(--card-solid);
  border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; animation: rise .18s ease-out;
}
.dialog.wide { width: min(820px, 100%); }
.dialog header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
[dir="rtl"] .dialog header { flex-direction: row-reverse; } /* the close button is always on the right */
.dialog header h2 { margin: 0; font-size: 18px; flex: 1; }
.dialog footer { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }
@media (max-width: 640px) {
  .overlay { place-items: end center; padding: 0; }
  .dialog { width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
.toasts { position: fixed; z-index: 60; inset-inline: 0; bottom: 96px; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
@media (min-width: 861px) { .toasts { bottom: 24px; } }
.toast {
  pointer-events: auto; padding: 11px 18px; border-radius: 14px; background: var(--card-solid); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); font-weight: 500; animation: rise .2s ease-out; max-width: calc(100vw - 32px);
}
.toast.good { border-color: rgba(52, 211, 153, 0.5); }
.toast.bad { border-color: rgba(251, 113, 133, 0.6); }
.toast.info { border-color: rgba(96, 165, 250, 0.6); }
.toast.link { cursor: pointer; }
.toast.sticky { display: flex; align-items: center; gap: 10px; }
.toast-x { border: none; background: transparent; color: var(--muted); cursor: pointer; padding: 2px; display: grid; place-items: center; }
.toast-x:hover { color: var(--text); }
.toast-x .ico, .toast-x .ico svg { width: 16px; height: 16px; }
[dir="rtl"] .toast.sticky { flex-direction: row-reverse; } /* the ✕ is on the right in both languages */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.auth { width: min(420px, 100%); }
.auth .logo { display: grid; justify-items: center; gap: 10px; margin-bottom: 18px; text-align: center; }
.auth .logo img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 14px 40px rgba(91, 140, 255, 0.4); }
.auth .logo h1 { margin: 0; font-size: 22px; }
.corner { position: fixed; top: 14px; inset-inline-end: 14px; display: flex; align-items: center; gap: 8px; z-index: 10; }
@media (max-width: 640px) { .auth-page { place-items: start center; padding-top: 72px; } } /* the card starts below the corner buttons */
.wrap-setting { flex-wrap: wrap; }
.danger-zone { border-color: rgba(251, 113, 133, 0.35); }

/* panels: conversation, gifts, usage */
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow: auto; padding: 4px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; background: var(--input); border: 1px solid var(--line); }
.bubble.mine { align-self: flex-end; background: color-mix(in srgb, var(--accent) 18%, var(--card-solid)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.bubble.theirs { align-self: flex-start; }
[dir="rtl"] .bubble.mine { align-self: flex-start; } /* your own messages are on the right in both languages */
[dir="rtl"] .bubble.theirs { align-self: flex-end; }
.bubble.special { border-style: dashed; }
.bubble .when { color: var(--faint); font-size: 11px; margin-top: 4px; }
.gift-line { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 4px; }
.badge { display: inline-block; margin-inline-start: 8px; background: var(--bad); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 12px; vertical-align: middle; }
.note.expiry { display: block; margin-bottom: 16px; color: var(--text); }
.big-number { font-size: 30px; font-weight: 700; line-height: 1.2; }
.big-number.small { font-size: 22px; }
.meter { height: 10px; border-radius: 999px; background: var(--input); border: 1px solid var(--line); overflow: hidden; margin-top: 12px; }
.meter i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.meter i.hot { background: linear-gradient(90deg, #fbbf24, #fb7185); }
.bars.small { height: 70px; margin-top: 12px; }
.grid.duration { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } /* days · hours · minutes side by side, also on phones */
.error { color: var(--bad); font-size: 13px; min-height: 20px; }
.note { padding: 12px 14px; border-radius: 12px; background: rgba(96, 165, 250, 0.1); border: 1px solid rgba(96, 165, 250, 0.25); font-size: 13px; color: var(--text); }
.note.warn { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.note.bad { background: rgba(251, 113, 133, 0.1); border-color: rgba(251, 113, 133, 0.3); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--accent2); animation: spin .8s linear infinite; }
.loading { display: grid; place-items: center; padding: 60px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sticky-save { position: sticky; bottom: 90px; display: flex; justify-content: flex-end; margin-top: 16px; }
@media (min-width: 861px) { .sticky-save { bottom: 18px; } }
.feature-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: none; }
.pill-toggle { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1px solid var(--line-strong); }
.pill-toggle button { border: none; background: transparent; padding: 5px 14px; cursor: pointer; font-size: 13px; color: var(--muted); }
.pill-toggle button.on.free { background: rgba(52, 211, 153, 0.18); color: var(--good); }
.pill-toggle button.on.pro { background: var(--grad); color: #fff; }
.hint { font-size: 13px; min-height: 18px; color: var(--muted); margin-top: -6px; }
.hint.good { color: var(--good); }
.hint.bad { color: var(--bad); }
.qr { display: flex; justify-content: center; }
.qr svg { background: #fff; border-radius: 12px; padding: 6px; max-width: 100%; height: auto; }
.picker { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow: auto; padding: 2px; }
.pick { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; width: 100%; text-align: start; padding: 9px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--input); color: var(--text); cursor: pointer; font: inherit; }
.pick:hover { background: var(--card-hover); }
.pick.on { border-color: var(--accent); background: rgba(139, 108, 255, 0.14); }
.price-summary { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--input); min-height: 22px; }
.price-summary .total { border-top: 1px solid var(--line); padding-top: 8px; }
.card.requests { border-color: rgba(139, 108, 255, 0.45); }
