/* Design tokens (docs/NEXT_SPEC.md §2). Everything else reads these variables. */
:root {
  --navy: #0b2e4f; --navy-2: #123e66; --gold: #c8913f; --gold-2: #e8be72;
  --ground: #f5f2ec; --surface: #ffffff; --ink: #14212e; --muted: #586776; --line: #e3ddd2;
  --ok-bg: #e6f2ea; --ok: #155c35; --warn-bg: #fff4e5; --warn: #8a3b04;
  --info-bg: #e3ecf5; --info: #123e66; --goldt-bg: #f3e6cf; --goldt: #7a4e0e;
  --mute-bg: #f1eee8; --mute: #3e4c59; --bad-bg: #fce8e6; --bad: #9b1c14;
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px;
  --shadow: 0 1px 2px rgba(20, 33, 46, 0.06), 0 8px 24px rgba(20, 33, 46, 0.06);
  --tap: 44px;
  --input-bg: #faf8f4;
}
body { margin: 0; background: var(--ground); color: var(--ink); line-height: 1.6; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; direction: ltr; unicode-bidi: isolate; }
/* Staff and admin screens are dark. */
[data-theme="staff"] {
  --ground: #0a1a2b; --surface: #10263d; --ink: #eaf1f8; --muted: #9fb3c8; --line: #1e3a57;
  --input-bg: #0d2135;
  --ok-bg: #12382a; --ok: #8fd9ad; --warn-bg: #3d2a10; --warn: #ffc988;
  --info-bg: #13304d; --info: #a9cdf2; --goldt-bg: #3a2c14; --goldt: #f0cf96;
  --mute-bg: #1a3048; --mute: #c2d0de; --bad-bg: #431b18; --bad: #ffb4ab;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Shared components (docs/NEXT_SPEC.md §3). Every screen is built from these classes. */
*, *::before, *::after { box-sizing: border-box; }
html, body { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.stack { display: grid; gap: 12px; }
.stack-lg { display: grid; gap: 20px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: start; }

/* ── page shell ── */
.container { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }
.page { padding-top: 16px; padding-bottom: 112px; display: grid; gap: 20px; }
.page-title { font-size: 24px; font-weight: 700; line-height: 1.3; }
.page-sub { color: var(--muted); }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar .container { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; flex-direction: column; line-height: 1.25; text-decoration: none; }
.brand strong { font-size: 17px; color: var(--navy); }
.brand small { font-size: 12px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.section-head h2 { font-size: 18px; }
.section-head a, .section-head span { font-size: 14px; color: var(--muted); }
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
.footer { background: var(--navy); color: #d9e4ef; padding: 28px 0 120px; margin-top: 24px; }
.footer a { color: #fff; }
.footer .container { display: grid; gap: 12px; }

/* ── bottom nav (customer, mobile) ── */
.bottom-nav { position: fixed; inset: auto 0 0 0; background: var(--surface); border-top: 1px solid var(--line); z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 640px; }
.bottom-nav a { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; text-decoration: none; color: var(--muted); }
.bottom-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.bottom-nav a[aria-current="page"] svg { stroke: var(--gold); }

/* ── cards ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); }
.card h2 { font-size: 18px; margin-bottom: 8px; }
.card h3 { font-size: 16px; }
.card-link { text-decoration: none; display: block; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.service-card { position: relative; display: grid; gap: 8px; padding: 14px; text-decoration: none; min-height: 132px; align-content: start; }
.service-card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.service-card .name { font-weight: 700; line-height: 1.35; }
.service-card .meta { font-size: 13px; color: var(--muted); }
.service-card .price { font-size: 14px; font-weight: 600; color: var(--navy); }
.service-card .badge { position: absolute; top: 10px; left: 10px; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 0.12s; }
.btn:active { transform: scale(0.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--gold); border-color: var(--gold); color: #1b1305; font-weight: 700; min-height: 52px; }
.btn-primary:hover:not(:disabled) { background: #b98232; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-ghost { background: transparent; }
.btn-danger { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-block { width: 100%; }
.link { background: none; border: none; color: var(--navy); font: inherit; text-decoration: underline; cursor: pointer; min-height: var(--tap); padding: 0; }
[data-theme="staff"] .link { color: var(--gold-2); }

/* ── badges (StatusBadge) ── */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.tone-ok { background: var(--ok-bg); color: var(--ok); }
.tone-warn { background: var(--warn-bg); color: var(--warn); }
.tone-info { background: var(--info-bg); color: var(--info); }
.tone-gold { background: var(--goldt-bg); color: var(--goldt); }
.tone-mute { background: var(--mute-bg); color: var(--mute); }
.tone-bad { background: var(--bad-bg); color: var(--bad); }
.notice { padding: 12px 14px; border-radius: var(--r-md); font-weight: 600; }

/* ── forms ── */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span, .label { font-weight: 600; }
.field small, .help { color: var(--muted); font-size: 13px; }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font: inherit; background: var(--input-bg); color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: var(--tap); cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--gold); }
.form-error { background: var(--bad-bg); color: var(--bad); padding: 10px 12px; border-radius: var(--r-sm); font-weight: 600; }
.form-ok { background: var(--ok-bg); color: var(--ok); padding: 10px 12px; border-radius: var(--r-sm); font-weight: 600; }
fieldset.form-section { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin: 0; display: grid; gap: 14px; background: var(--surface); }
fieldset.form-section > legend { font-weight: 700; padding: 0 6px; }

/* ── ChoiceChips ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: var(--tap); padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: transform 0.12s, background 0.15s; }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-theme="staff"] .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1b1305; }
.choice-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.choice-card { min-height: 88px; border-radius: var(--r-lg); border: 2px solid var(--line); background: var(--surface); padding: 12px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-align: right; display: grid; gap: 4px; align-content: start; }
.choice-card[aria-pressed="true"] { border-color: var(--gold); background: var(--goldt-bg); }

/* ── Stepper ── */
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--surface); }
.stepper button { width: var(--tap); height: var(--tap); border-radius: 999px; border: none; background: var(--mute-bg); color: var(--ink); font: inherit; font-size: 22px; cursor: pointer; }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper output { min-width: 40px; text-align: center; font-weight: 700; font-size: 18px; }

/* ── StepProgress ── */
.step-progress { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.step-progress li { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.step-progress li::before { content: ""; height: 6px; border-radius: 999px; background: var(--line); }
.step-progress li[data-state="done"]::before, .step-progress li[data-state="current"]::before { background: var(--gold); }
.step-progress li[data-state="current"] { color: var(--ink); font-weight: 700; }

/* ── PriceBar ── */
.price-bar { position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20, 33, 46, 0.08); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.price-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-bar .total { display: grid; line-height: 1.3; }
.price-bar .total small { color: var(--muted); font-size: 12px; }
.price-bar .total strong { font-size: 18px; color: var(--navy); }
.price-bar .btn-primary { min-width: 150px; }

/* ── Timeline ── */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; position: relative; padding-bottom: 16px; }
.timeline li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--line); margin: 5px auto 0; z-index: 1; }
.timeline li::after { content: ""; position: absolute; right: 11px; top: 19px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li[data-state="done"]::before { background: var(--ok); }
.timeline li[data-state="current"]::before { background: var(--gold); animation: hzPulse 1.6s infinite; }
.timeline small { color: var(--muted); display: block; }

/* ── DataTable ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; color: var(--muted); white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
.table a { text-decoration: none; font-weight: 600; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.filters .field { min-width: 160px; }

/* ── EmptyState, dl rows ── */
.empty { text-align: center; padding: 28px 16px; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.rows { margin: 0; display: grid; }
.rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rows > div:last-child { border-bottom: none; }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; font-weight: 600; text-align: left; }

/* ── Hero (S001) ── */
.hero { background: var(--navy); color: #fff; border-radius: 22px; padding: 26px 20px; display: grid; gap: 14px; }
.hero h1 { font-size: 28px; line-height: 1.25; }
.hero p { color: #c9d6e3; }
.hero .btn-primary { justify-self: start; min-width: 180px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.how li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; }
.how b { width: 36px; height: 36px; border-radius: 50%; background: var(--goldt-bg); color: var(--goldt); display: grid; place-items: center; }

/* ── staff layout ── */
.staff-body { min-height: 100vh; background: var(--ground); color: var(--ink); }
.staff-layout { display: grid; grid-template-columns: 1fr; }
.sidebar { background: #071827; color: #d6e2ee; padding: 16px 10px; }
.sidebar .brand strong { color: #fff; }
.sidebar .brand small { color: #9fb3c8; }
.sidebar nav ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.sidebar nav a { display: flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-sm); text-decoration: none; color: #c3d3e3; }
.sidebar nav a:hover { background: #0f2a43; }
.sidebar nav a[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: inset -3px 0 0 var(--gold); }
.sidebar .count { margin-inline-start: auto; }
.sidebar .menu-toggle { margin-top: 8px; }
.sidebar nav[data-open="false"] { display: none; }
.staff-main { min-width: 0; }
.staff-main .page { padding-bottom: 40px; }
@media (min-width: 900px) {
  .staff-layout { grid-template-columns: 250px 1fr; min-height: 100vh; }
  .sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .sidebar .menu-toggle { display: none; }
  .sidebar nav[data-open="false"] { display: block; }
}

/* ── document sheet (invoice, receipt) ── */
.doc-sheet { background: #fff; color: #14212e; border-radius: var(--r-lg); border: 1px solid #e3ddd2; padding: 24px; display: grid; gap: 16px; position: relative; }
.doc-sheet header { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid #0b2e4f; padding-bottom: 12px; }
.doc-sheet .stamp { position: absolute; left: 24px; bottom: 90px; border: 3px solid #155c35; color: #155c35; border-radius: 12px; padding: 6px 12px; font-weight: 700; transform: rotate(-6deg); text-align: center; background: rgba(230, 242, 234, 0.7); }
.pattern { height: 14px; border-radius: 6px; }
@media print {
  .no-print, .bottom-nav, .topbar, .sidebar, .price-bar, .footer { display: none !important; }
  body, .staff-body { background: #fff !important; }
  .doc-sheet { border: none; box-shadow: none; }
  .page { padding: 0; }
}

/* ── confetti ── */
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
.confetti i { position: absolute; top: 0; width: 8px; height: 14px; border-radius: 2px; animation: hzFall 2.6s cubic-bezier(0.2, 0.6, 0.4, 1) both; }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }

/* ── Key/value list without row wrappers ── */
.kv { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

/* ── Chat (S043) ── */
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.bubble-mine { justify-self: start; background: var(--goldt-bg); color: var(--ink); border-end-start-radius: 4px; }
.bubble-theirs { justify-self: end; background: var(--surface); border: 1px solid var(--line); border-end-end-radius: 4px; }
.composer { position: sticky; bottom: 72px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.composer textarea { width: 100%; border: none; resize: vertical; font: inherit; background: transparent; color: inherit; min-height: 44px; }
.composer textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.thread-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; text-decoration: none; color: inherit; }
.unread { min-width: 24px; height: 24px; border-radius: 999px; background: var(--gold); color: #1b1305; font-weight: 700; display: inline-grid; place-items: center; font-size: 13px; padding: 0 6px; }
[data-theme="staff"] .composer { bottom: 12px; }
.icon-btn { position: relative; padding: 0 10px; }
.unread-dot { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; font-size: 11px; }
.bottom-nav a { position: relative; }
.bottom-nav .unread-dot { top: 2px; inset-inline-end: calc(50% - 22px); }

/* ── S038 stars: 5 big tappable stars, the chosen one and those before it light up ── */
.stars { border: none; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars label { font-size: 40px; line-height: 1; min-width: 44px; min-height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--line); }
.stars label:has(input:checked), .stars label:has(input:checked) ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--gold); }
.stars label:has(input:focus-visible) { outline: 2px solid var(--gold); border-radius: 8px; }
.btn-wa { background: #E6F2EA; color: #155C35; border-color: #155C35; }
[data-theme="staff"] .btn-wa { background: #155C35; color: #fff; border-color: #155C35; }

/* ── Public pages (S003–S011) ── */
mark.placeholder { background: var(--warn-bg); color: var(--warn); border-radius: 4px; padding: 0 4px; }
.faq summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; list-style-position: inside; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78%, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); scroll-snap-align: start; }
@media (min-width: 720px) { .gallery { grid-auto-columns: minmax(40%, 1fr); } }
.programme { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-inline-start: 3px solid var(--gold); padding-inline-start: 14px; }
.service-card .cover { width: calc(100% + 32px); margin: -16px -16px 8px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.search-input { width: 100%; min-height: var(--tap); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 14px; font: inherit; background: var(--surface); color: inherit; }

/* Motion (docs/NEXT_SPEC.md §2). Subtle, and off for anyone who asks for less motion. */
@keyframes hzUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hzPop { 0% { transform: scale(0.5); opacity: 0; } 70% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }
@keyframes hzStamp { 0% { transform: scale(1.8) rotate(-12deg); opacity: 0; } 100% { transform: scale(1) rotate(-6deg); opacity: 1; } }
@keyframes hzPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(200, 145, 63, 0.55); } 50% { box-shadow: 0 0 0 8px rgba(200, 145, 63, 0); } }
@keyframes hzFall { from { transform: translateY(-20vh) rotate(0); opacity: 1; } to { transform: translateY(100vh) rotate(540deg); opacity: 0.6; } }
.hz-up { animation: hzUp 0.5s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
.hz-card { transition: transform 0.2s, box-shadow 0.2s; }
.hz-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20, 33, 46, 0.12); }
.hz-btn { transition: transform 0.12s; }
.hz-btn:active { transform: scale(0.97); }
.hz-pop { animation: hzPop 0.6s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
.hz-stamp { animation: hzStamp 0.5s cubic-bezier(0.2, 0.75, 0.25, 1) 0.3s both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── PHP version extras ── */
.urgent-wa { font-size: 13px; color: var(--muted); }
.urgent-wa a { color: var(--ok); font-weight: 700; }
.inline-form { display: inline; }
.choice-cards input[type="radio"], .chips input[type="radio"], .chips input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label.chip, .choice-cards label.choice-card { display: inline-flex; align-items: center; position: relative; }
.choice-cards label.choice-card { display: grid; }
.chips label.chip:has(input:checked), .choice-cards label.choice-card:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice-cards label.choice-card:has(input:checked) { background: var(--goldt-bg); border-color: var(--gold); color: var(--ink); }
.chips label.chip:has(input:focus-visible), .choice-cards label.choice-card:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
[data-theme="staff"] .chips label.chip:has(input:checked) { background: var(--gold); border-color: var(--gold); color: #1b1305; }
.qr { width: 120px; height: 120px; }
.qr svg { width: 100%; height: 100%; }
.pager { display: flex; gap: 8px; justify-content: center; }
.once { font-size: 22px; letter-spacing: 2px; background: var(--goldt-bg); color: var(--goldt); padding: 10px 14px; border-radius: var(--r-md); display: inline-block; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc-list li { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 12px; background: var(--surface); }
