/* WA Message Circulation — UI styles.
   Palette blends the two official Brahma Kumaris sites (ADR 0016):
   India HQ: cream, maroon-red, warm browns, saffron glow, Poppins.
   International: soft gold and deep gold highlights. */

:root {
  /* Surfaces: warm ivory and cream (no dark fills anywhere). */
  --cream: #fffcf5;
  --cream-2: #fdf7ec;
  --paper: #ffffff;
  /* Pastel peach-coral: primary actions (soft echo of the BK maroon/saffron). */
  --maroon: #f3c9b9;
  --maroon-700: #efb9a5;
  --maroon-900: #fde8dc;
  --maroon-50: #fdf0ea;
  --on-maroon: #7a3e2c;
  --saffron: #f9cf9f;
  /* Pastel golds (soft echo of the international site's gold). */
  --gold: #f8e3a8;
  --gold-200: #f5e6bd;
  --gold-50: #fef8e7;
  --deep-gold: #9c7a2a;
  --on-gold: #7a5c12;
  /* Text: soft warm browns, never black. */
  --brown-900: #57463a;
  --brown-700: #6b5646;
  --brown-500: #8f7564;
  --muted: #7f6a5b;
  --line: #f1e6d4;
  --line-strong: #e7d8bf;
  /* Pastel status colours. */
  --ok: #3f6e4f;
  --ok-50: #e7f4ea;
  --warn: #8a6a1f;
  --danger: #a24a42;
  --danger-50: #fcebe8;
  --lavender-50: #f3f0fa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(120, 90, 60, 0.05), 0 8px 24px rgba(120, 90, 60, 0.06);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--brown-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--brown-700); margin: 0; font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- Brand mark --------------------------------------------------------------- */
.brand { display: flex; align-items: center; gap: 12px; color: var(--brown-700); }
.brand img { max-height: 44px; max-width: 160px; }
.brand-light {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, #fff 0 20%, #fff1c9 34%, rgba(249, 207, 159, 0.9) 56%, rgba(249, 207, 159, 0) 74%);
  box-shadow: 0 0 20px rgba(249, 207, 159, 0.7);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; color: var(--brown-700); }
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* ---- App shell ---------------------------------------------------------------- */
.shell { display: grid; grid-template-columns: 236px 1fr; height: 100vh; }
.sidebar {
  display: flex; flex-direction: column; gap: 28px; padding: 22px 16px;
  color: var(--brown-700);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% -10%, rgba(249, 207, 159, 0.55), transparent 55%),
    linear-gradient(180deg, #fdeee2 0%, #fff8ef 100%);
}
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  color: var(--brown-700); font-weight: 500;
}
.nav a:hover { background: rgba(255, 255, 255, 0.7); text-decoration: none; }
.nav a.active { background: var(--gold); color: var(--on-gold); }
.nav svg { width: 18px; height: 18px; flex: none; }
.sidebar-foot { margin-top: auto; font-size: 12px; color: var(--muted); }
.sidebar-foot .who { font-weight: 600; color: var(--brown-700); }
.sidebar-foot form { margin-top: 10px; }
.link-button {
  background: var(--paper); border: 1px solid var(--line-strong); color: var(--brown-700); padding: 6px 12px;
  border-radius: 8px; font: inherit; cursor: pointer;
}
.link-button:hover { border-color: var(--deep-gold); }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 26px 14px; border-bottom: 1px solid var(--line); background: var(--cream);
}
.topbar h1 { font-size: 20px; }
.topbar .center-name { color: var(--muted); font-size: 13px; }

/* ---- Workspace: list + pane ------------------------------------------------- */
.workspace { flex: 1; display: grid; grid-template-columns: minmax(280px, 360px) 1fr; min-height: 0; }
.list-col { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--cream-2); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chip-link {
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--brown-700);
  background: var(--paper); font-size: 12.5px; font-weight: 500;
}
.chip-link:hover { text-decoration: none; border-color: var(--deep-gold); }
.chip-link.on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.conv-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; }
.conv-item a {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center;
  padding: 11px 10px; border-radius: 12px; color: inherit;
}
.conv-item a:hover { background: var(--paper); text-decoration: none; }
.conv-item.selected a { background: var(--paper); box-shadow: inset 3px 0 0 var(--saffron), var(--shadow); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-200), var(--gold)); color: var(--on-gold);
  font-weight: 600; font-size: 14px;
}
.conv-name, .conv-preview { display: block; }
.conv-name { font-weight: 600; color: var(--brown-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-preview { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-meta { text-align: right; font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.empty .brand-light { margin: 0 auto 14px; }

.pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--cream); }
.pane-empty { flex: 1; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 30px; }
.pane-empty h2 { margin-bottom: 6px; }

/* ---- Badges ------------------------------------------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; border: 1px solid transparent; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.badge.ok { background: var(--ok-50); color: var(--ok); }
.badge.off { background: var(--cream-2); color: var(--muted); border-color: var(--line); }
.badge.gold { background: var(--gold-50); color: var(--on-gold); border-color: var(--gold-200); }
.badge.maroon { background: var(--maroon-50); color: var(--on-maroon); }
.badge.danger { background: var(--danger-50); color: var(--danger); }

/* ---- Conversation header ----------------------------------------------------- */
.conv-head {
  display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.conv-head .who { min-width: 0; flex: 1; }
.conv-head h2 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-head .sub { color: var(--muted); font-size: 12.5px; }
.windows { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 22px; border-bottom: 1px solid var(--line); background: var(--gold-50); }
.conv-head .back-link { display: none; }

.pane-body { flex: 1; display: grid; grid-template-columns: 1fr 290px; min-height: 0; }
.chat { display: flex; flex-direction: column; min-height: 0; }

/* ---- Timeline ----------------------------------------------------------------- */
.timeline { flex: 1; overflow-y: auto; padding: 18px 22px 8px; display: flex; flex-direction: column; gap: 8px; }
.day { align-self: center; margin: 10px 0 4px; padding: 3px 12px; border-radius: 999px; background: var(--cream-2); border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.bubble {
  max-width: min(560px, 78%); padding: 9px 13px 7px; border-radius: 16px; box-shadow: 0 1px 1px rgba(61, 47, 26, 0.05);
  word-wrap: break-word;
}
.bubble .text { white-space: pre-wrap; }
.bubble.in { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: #fff3e8; border: 1px solid #f6dcc6; border-bottom-right-radius: 6px; }
.bubble.pending { opacity: 0.8; border-style: dashed; }
.bubble.failed { background: var(--danger-50); border-color: #f4cfc9; }
.bubble .placeholder { color: var(--muted); font-style: italic; }
.bubble-meta { display: flex; justify-content: flex-end; gap: 8px; margin-top: 3px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.ticks { letter-spacing: -2px; font-weight: 600; }
.ticks.read { color: var(--deep-gold); }
.ticks.delivered, .ticks.sent { color: var(--muted); }
.ticks.failed { color: var(--danger); letter-spacing: 0; }
.from { font-size: 11px; color: var(--brown-500); margin-bottom: 2px; font-weight: 500; white-space: normal; }

/* ---- Composer ----------------------------------------------------------------- */
.composer { border-top: 1px solid var(--line); background: var(--paper); padding: 12px 18px 14px; }
.tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.tab {
  border: none; background: none; font: inherit; font-weight: 500; color: var(--muted); padding: 6px 12px;
  border-radius: 8px; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--gold-50); color: var(--on-gold); }
.tab-panel[hidden] { display: none; }
.compose-row { display: flex; gap: 10px; align-items: flex-end; }
textarea, input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="date"], input[type="number"], select {
  width: 100%; font: inherit; color: var(--brown-900); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px;
}
textarea { resize: vertical; min-height: 46px; max-height: 220px; }
textarea:focus, input:focus, select:focus { border-color: var(--deep-gold); outline: 3px solid var(--gold-200); outline-offset: 0; }
textarea:disabled { background: var(--cream-2); color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.error { background: var(--danger-50); color: var(--danger); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; margin-bottom: 10px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--brown-700); }
.template-preview { background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 10px; white-space: pre-wrap; font-size: 13px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent;
  border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--maroon); color: var(--on-maroon); border-color: #ecb8a4; box-shadow: 0 4px 14px rgba(239, 185, 165, 0.35); }
.btn-primary:hover { background: var(--maroon-700); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #f4d98d; }
.btn-ghost { background: var(--paper); color: var(--brown-700); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--deep-gold); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.htmx-request .btn-label { display: none; }
.spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(122, 62, 44, 0.25); border-top-color: var(--on-maroon); border-radius: 50%; animation: spin .8s linear infinite; }
.htmx-request .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Side panel (assignment, notes) ------------------------------------------ */
.side { border-left: 1px solid var(--line); overflow-y: auto; background: var(--cream-2); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brown-500); margin-bottom: 10px; }
.card .row { display: flex; gap: 8px; }
.note { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; font-size: 13px; white-space: pre-wrap; }
.note-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 12.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-all; }

/* ---- Login --------------------------------------------------------------------- */
.login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 228, 176, 0.6), rgba(249, 207, 159, 0.18) 28%, transparent 55%),
    var(--cream);
}
.login-card { width: 100%; max-width: 400px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 34px 32px 28px; box-shadow: 0 20px 60px rgba(160, 120, 80, 0.12); }
.login-card .brand { color: var(--brown-900); justify-content: center; margin-bottom: 22px; flex-direction: column; text-align: center; gap: 10px; }
.login-card .brand-light { width: 54px; height: 54px; }
.login-card .brand-name { color: var(--brown-700); font-size: 15px; }
.login-card .brand-sub { color: var(--brown-500); opacity: 1; }
.login-card h1 { font-size: 18px; text-align: center; margin-bottom: 4px; }
.login-card p.lead { text-align: center; color: var(--muted); margin: 0 0 20px; font-size: 13px; }
.login-card .btn { width: 100%; margin-top: 6px; padding: 12px; }
.login-foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }

.page-card { margin: 26px; }

/* ---- Responsive ---------------------------------------------------------------- */
@media (max-width: 1180px) {
  .pane-body { grid-template-columns: 1fr; }
  .side { border-left: none; border-top: 1px solid var(--line); max-height: 38vh; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; min-height: 100vh; }
  .sidebar { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; }
  .nav { flex-direction: row; }
  .nav a { padding: 8px 10px; }
  .nav a span { display: none; }
  .sidebar-foot { margin: 0 0 0 auto; }
  .sidebar-foot .who, .sidebar-foot .role { display: none; }
  .sidebar-foot form { margin: 0; }
  .brand-text { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .workspace.has-selection .list-col { display: none; }
  .workspace:not(.has-selection) .pane { display: none; }
  .conv-head .back-link { display: inline-flex; }
  .conv-head { flex-wrap: wrap; gap: 8px 10px; padding: 12px 14px; }
  .conv-head > .avatar { display: none; }
  .conv-head .who { flex: 1 1 60%; order: 0; }
  .conv-head .back-link { order: -1; }
  .conv-head h2 { white-space: normal; }
  .windows { padding: 8px 14px; }
  .timeline { padding: 14px; }
  .composer { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -6px 18px rgba(120, 90, 60, 0.06); }
  .topbar { padding: 14px 16px; }
  .bubble { max-width: 88%; }
  .main, .workspace, .pane { min-height: calc(100vh - 60px); }
}

/* ---- Simple data tables (import template example, preview) --------------------- */
.sheet { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sheet th, .sheet td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sheet th { background: var(--gold-50); color: var(--brown-700); font-weight: 600; }
.sheet tbody tr:nth-child(even) td { background: var(--cream); }
/* Single-column pages: a grid column that may shrink below its content's width, so wide
   tables scroll inside their card instead of widening the page. */
.page-stack { overflow-y: auto; padding: 22px 26px; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
/* On phones the whole page scrolls; a scroll box here would stop sticky elements. */
@media (max-width: 860px) { .page-stack { padding: 16px; overflow-y: visible; } }

/* ---- Programs ------------------------------------------------------------------- */
.program-card { display: block; color: inherit; }
.program-card:hover { text-decoration: none; border-color: var(--gold); }
.stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: var(--brown-700); }
.stats strong { font-size: 16px; color: var(--brown-900); margin-right: 3px; }
.text-danger { color: var(--danger); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.program-tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--lavender-50); color: #5b4f86; font-weight: 500; }

/* Program message mapping: drag list columns into template variables. */
.label-text { display: block; font-size: 12.5px; font-weight: 500; color: var(--brown-700); margin-bottom: 6px; }
.column-tray { display: flex; flex-wrap: wrap; gap: 6px; }
.column-chip {
  font: inherit; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; cursor: grab;
  background: var(--gold-50); border: 1px dashed var(--gold-200); color: var(--on-gold);
}
.column-chip:hover, .column-chip:focus-visible { border-style: solid; border-color: var(--deep-gold); }
.column-chip:active { cursor: grabbing; }
.drop-field.drag-over { border-color: var(--deep-gold); background: var(--gold-50); box-shadow: 0 0 0 3px var(--gold-50); }
.template-preview .var { background: var(--paper); border: 1px solid var(--gold-200); border-radius: 6px; padding: 0 4px; }
.template-preview .var.empty { color: var(--muted); font-style: italic; }
.sample-list { display: flex; flex-direction: column; gap: 8px; }
.sample-list .bubble { max-width: 100%; align-self: stretch; }
.bubble-media { display: block; max-width: 220px; max-height: 220px; margin: 4px 0 8px; border-radius: var(--radius-sm); }
.bubble-media.qr-media { width: 160px; height: 160px; padding: 6px; background: var(--paper); border: 1px solid var(--line); }
.bubble-media.qr-media svg { display: block; width: 100%; height: 100%; }
.header-choice { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px 4px; margin: 0 0 16px; }
.header-choice legend { padding: 0 6px; font-weight: 600; font-size: 13px; color: var(--brown-700); }
.header-options { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 12px; }
.header-options .choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.header-choice:not(:has([value="image"]:checked)) [data-header-panel="image"],
.header-choice:not(:has([value="qr"]:checked)) [data-header-panel="qr"] { display: none; }
.header-thumb { display: block; max-width: 180px; max-height: 140px; margin: 4px 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.sheet .extra-col { background: var(--gold-50); }
.column-dock { position: sticky; top: 0; z-index: 2; background: var(--paper); margin: 0 -4px 8px; padding: 8px 4px; border-bottom: 1px solid var(--line); }

/* Admin and team screens */
.notice { background: var(--ok-50); color: var(--ok); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.filters .field { margin: 0; min-width: 140px; }
.inline-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.inline-form select, .inline-form input { width: auto; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.weekday-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.weekday-picks label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; cursor: pointer; }
.weekday-picks input { width: auto; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat-tile { display: block; color: inherit; text-decoration: none; }
.stat-tile:hover { text-decoration: none; border-color: var(--gold-200); }
.stat-tile .num { font-size: 26px; font-weight: 600; color: var(--brown-700); line-height: 1.2; }
.stat-tile .label { font-size: 12.5px; color: var(--muted); }
.stat-tile.alert .num { color: var(--danger); }
.pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.sheet .inline-form { flex-wrap: nowrap; }
.sheet .inline-form select { min-width: 0; }
.list-row { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; font-size: 13px; }

/* Account, two-step sign-in */
.recovery-codes { columns: 2; gap: 24px; padding-left: 22px; margin: 8px 0 14px; font-size: 14px; line-height: 1.9; }
.setup-steps { padding-left: 18px; margin: 0 0 8px; font-size: 13.5px; line-height: 1.6; }
.qr { display: flex; justify-content: center; margin: 12px 0 6px; }
.qr svg { width: 200px; height: 200px; border-radius: 10px; border: 1px solid var(--line); }
.secret-key { word-break: break-all; background: var(--cream-2); padding: 6px 8px; border-radius: 6px; }
.sidebar-foot .link-button { display: block; margin-bottom: 4px; }

/* Brand logo (BRAND_LOGO_STATIC); keeps its proportions. */
.brand .brand-mark { height: 40px; width: auto; max-height: none; flex: none; }
.login-card .brand .brand-mark { height: 64px; }

/* WhatsApp numbers: masked Meta IDs with a show/hide button, one block per number. */
.masked { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.masked code { letter-spacing: 0.04em; }
.eye-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--brown-500); cursor: pointer; }
.eye-btn:hover, .eye-btn:focus-visible { background: var(--gold-50); border-color: var(--gold-200); color: var(--brown-700); }
.eye-btn svg { width: 15px; height: 15px; }
.number-row { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.number-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.allocate-form { margin-top: 10px; }
.allocate-form .choice { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.allocate-form .choice input { width: auto; }
