/* MadangKuy — gaya
   Huruf: Plus Jakarta Sans (seluruh halaman)
   Palet: Evening Sky (kuning #F8E9A1, koral #FF8A5B, biru #0077B6, biru tua #023E8A, navy #03045E) */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* Palet "Evening Sky": #F8E9A1 #FF8A5B #0077B6 #023E8A #03045E */
  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-2: #eaf1f7;
  --ink: #0b1a33;
  --ink-2: #304158;
  --muted: #5b6b82;
  --line: #dbe4ee;
  --brand: #0077b6;
  --brand-ink: #023e8a;
  --brand-deep: #03045e;
  --brand-soft: #e1f0f9;
  --accent: #ff8a5b;
  --accent-hover: #f5743f;
  --on-accent: #2a0d00;
  --sun: #f8e9a1;
  --sun-soft: #fcf5d4;
  --sun-ink: #5a4500;
  --danger: #c8312b;
  --danger-soft: #fde7e4;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(11, 26, 51, 0.06), 0 10px 28px -14px rgba(11, 26, 51, 0.22);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--font);
  --body: var(--font);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2, .display { font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 0.6em; }
a { color: var(--brand); text-underline-offset: 3px; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.num { font-variant-numeric: lining-nums; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Tombol & form ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.95rem/1 var(--body);
  padding: 12px 18px; min-height: 44px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--brand-ink); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover:not(:disabled) { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.18); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-link { background: none; border: 0; color: var(--brand); padding: 6px 4px; min-height: 0; font-weight: 600; }
.btn-sm { padding: 8px 12px; min-height: 36px; font-size: 0.86rem; }
.btn-lg { padding: 15px 22px; min-height: 52px; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }

.field { display: grid; gap: 6px; margin-bottom: 14px; align-content: start; }
.field > span { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 0.8rem; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; color: var(--ink);
  padding: 11px 13px; min-height: 46px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
textarea.input { min-height: 80px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 84px; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--surface-2); color: var(--ink-2); font: 600 0.8rem var(--body); padding: 7px 10px; border-radius: 6px; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.check b { display: block; font-weight: 600; }
.check small { color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; }
.row-wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; align-items: start; }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }
.pw-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; max-width: 620px; margin-top: 12px; }
.pw-row label { font-weight: 600; }
@media (max-width: 560px) { .pw-row { grid-template-columns: 1fr auto; } .pw-row label { grid-column: 1 / -1; } }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.toggle-row { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; margin-bottom: 16px; }
.toggle-row .switch { grid-row: span 2; align-self: start; margin-top: 2px; }
.toggle-row b { font-weight: 600; }
.toggle-row small { grid-column: 2; color: var(--muted); font-size: .84rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.spacer { flex: 1; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 26px; border-radius: 99px; background: #c5d0dc; position: relative; transition: background 0.15s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--accent); outline-offset: 2px; }

.seg { display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: 999px; gap: 2px; }
.seg button {
  border: 0; background: transparent; font: 600 0.92rem var(--body); color: var(--ink-2);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; min-height: 38px;
}
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--brand-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--brand-soft); color: var(--brand-ink); }
.badge-warn { background: var(--sun-soft); color: var(--sun-ink); }
.badge-bad { background: var(--danger-soft); color: var(--danger); }
.badge-done { background: #eceff3; color: #4a5568; }
a.badge:hover { filter: brightness(0.95); text-decoration: underline; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 0.85rem; }
.code-link { font-weight: 800; color: var(--ink); text-decoration: none; font-variant-numeric: lining-nums; }
.code-link:hover { color: var(--brand); text-decoration: underline; }
.code-link .ext { display: inline-block; margin-left: 4px; color: var(--muted); vertical-align: -1px; }

.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin 0.7s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Toast & modal ---------- */
#toasts { position: fixed; z-index: 90; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow); font-weight: 500; animation: toastIn 0.2s ease-out; }
.toast-ok { background: var(--brand-ink); }
.toast-bad { background: var(--danger); }
.toast.out { opacity: 0; transition: opacity 0.3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

.modal-root { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 40, 0.5); opacity: 0; transition: opacity 0.18s; }
.modal {
  position: relative; background: var(--surface); border-radius: var(--r-lg); width: min(100%, 480px);
  max-height: calc(100dvh - 32px); display: flex; flex-direction: column; box-shadow: 0 24px 60px -20px rgba(0,0,0,.4);
  transform: translateY(12px) scale(0.98); opacity: 0; transition: transform 0.18s, opacity 0.18s;
}
.modal.lg { width: min(100%, 760px); }
.modal-root.in .modal-backdrop { opacity: 1; }
.modal-root.in .modal { transform: none; opacity: 1; }
.modal-root.out .modal, .modal-root.out .modal-backdrop { opacity: 0; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; }
.modal-head h2 { font-size: 1.35rem; }
.modal-body { padding: 10px 20px 16px; overflow: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 12px 20px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 640px) {
  .modal-root.is-sheet { place-items: end stretch; padding: 0; }
  .is-sheet .modal { width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92dvh; transform: translateY(40px); padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* ---------- Kerangka ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; background: rgba(244, 247, 250, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px);
}
.topbar-in { max-width: 1280px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; gap: 12px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 18px; }
@media (max-width: 640px) {
  .topbar-in { gap: 8px; padding: 10px 12px; }
  .topbar .btn-sm { padding: 8px 10px; }
  [data-notif] span { display: none; }
  .brand { font-size: 1.1rem; }
}
.footer { text-align: center; color: var(--muted); font-size: 0.82rem; padding: 28px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs button {
  border: 0; background: none; font: 600 0.95rem var(--body); color: var(--muted); padding: 10px 14px; border-radius: var(--r-sm); cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center;
}
.tabs button[aria-current="page"] { color: var(--brand-ink); background: var(--brand-soft); }
.count { background: var(--danger); color: #fff; border-radius: 99px; font-size: 0.72rem; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.stack > * + * { margin-top: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2rem); }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.notice { padding: 12px 14px; border-radius: var(--r-sm); background: var(--sun-soft); color: var(--sun-ink); font-size: 0.9rem; }
.notice-ok { background: var(--brand-soft); color: var(--brand-ink); }

/* =========================================================
   LANDING PAGE
   ========================================================= */
.lp-nav { position: sticky; top: 0; z-index: 30; background: var(--brand-deep); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.lp-nav .topbar-in { max-width: 1160px; }
.lp-nav .brand { color: #fff; }
.lp-nav .btn { min-height: 40px; padding: 9px 18px; }
.lp-links { display: flex; gap: 4px; margin-left: 18px; }
.lp-links a { color: #c8d8ef; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.lp-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 760px) { .lp-links { display: none; } }

.lp-hero { background: var(--brand-deep); color: #eef3fb; overflow: hidden; }
.lp-hero-in { max-width: 1160px; margin: 0 auto; padding: 46px 20px 30px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .lp-hero-in { grid-template-columns: 1fr; padding-top: 30px; gap: 28px; } }
.lp-hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.02; color: #fff; }
.lp-hero .lead { color: #c3d3ee; font-size: 1.12rem; max-width: 46ch; margin: 18px 0 26px; }
.lp-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-hero .facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: #c3d3ee; font-size: 0.92rem; }
.lp-hero .facts b { color: #fff; font-weight: 700; }
@media (max-width: 620px) { .lp-hero .facts { flex-direction: column; gap: 6px; } }
.board-art { position: relative; aspect-ratio: 1 / 0.92; }
.board-art .t { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 40px -18px rgba(0,0,0,.55); border: 5px solid #fff; background: #fff; }
.board-art .t svg { display: block; width: 100%; height: 100%; }
.board-art .t1 { width: 58%; left: 0; top: 6%; transform: rotate(-4deg); }
.board-art .t2 { width: 46%; right: 2%; top: 0; transform: rotate(5deg); }
.board-art .t3 { width: 44%; right: 6%; bottom: 2%; transform: rotate(-2deg); }
.board-art .t4 { width: 40%; left: 8%; bottom: 0; transform: rotate(3deg); }
.board-art .tag {
  position: absolute; left: 42%; top: 44%; background: var(--accent); color: var(--on-accent); font-weight: 800;
  padding: 10px 14px; border-radius: 12px; box-shadow: 0 14px 24px -12px rgba(0,0,0,.5); transform: rotate(-3deg); font-size: 0.95rem; z-index: 2;
}
.board-art .tag span { display: block; font-weight: 800; font-size: 1.3rem; }
.ticker { border-top: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.ticker-in { display: flex; gap: 34px; width: max-content; padding: 14px 0; animation: drift 60s linear infinite; color: #9fb4d8; font-weight: 800; font-size: 1.1rem; }
.ticker-in span::after { content: "\2022"; margin-left: 34px; color: var(--accent); }
@keyframes drift { to { transform: translateX(-50%); } }

.lp-sec { max-width: 1160px; margin: 0 auto; padding: 72px 20px; }
.lp-sec-head { max-width: 620px; margin-bottom: 30px; }
.lp-sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 10px; }
.lp-sec-head p { color: var(--muted); font-size: 1.05rem; }
.lp-band { background: var(--surface); border-block: 1px solid var(--line); }

.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.howto li { position: relative; padding: 0 28px 0 0; }
.howto li::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 16px; position: relative; z-index: 1;
}
.howto li::after { content: ""; position: absolute; top: 23px; left: 46px; right: 0; border-top: 2px dashed #b7cde3; }
.howto li:last-child::after { display: none; }
.howto h3 { font-size: 1.15rem; margin-bottom: 6px; }
.howto p { color: var(--muted); max-width: 32ch; }
@media (max-width: 760px) {
  .howto { grid-template-columns: 1fr; gap: 26px; }
  .howto li { padding: 0 0 0 64px; }
  .howto li::before { position: absolute; left: 0; top: -4px; margin: 0; }
  .howto li::after { top: 46px; bottom: -26px; left: 22px; right: auto; border-top: 0; border-left: 2px dashed #b7cde3; }
}

.lp-menu-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-menu-head .lp-sec-head { margin: 0; }
.dish-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.dish { margin: 0; }
.dish .pic { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--surface-2); position: relative; }
.dish .pic svg, .dish .pic img { width: 100%; height: 100%; display: block; object-fit: cover; }
.dish figcaption { padding: 10px 2px 0; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.dish b { font-weight: 700; line-height: 1.3; }
@media (max-width: 620px) { .dish figcaption { flex-direction: column; gap: 2px; } }
.dish .price { color: var(--brand-ink); font-weight: 700; white-space: nowrap; font-variant-numeric: lining-nums; }
.dish .out { position: absolute; left: 10px; top: 10px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }

/* Pemilih meja */
.table-pick { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .table-pick { grid-template-columns: 1fr; } }
.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; border: 0; margin: 0; padding: 0; }
.tables legend { padding: 0; margin-bottom: 12px; font-weight: 700; }
.tbl-tile { position: relative; }
.tbl-tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tbl-tile span {
  display: grid; place-items: center; gap: 0; aspect-ratio: 1; border-radius: 16px; background: var(--surface);
  border: 1.5px solid var(--line); cursor: pointer; transition: border-color .12s, background .12s, transform .08s; position: relative;
}
.tbl-tile span::before, .tbl-tile span::after {
  content: ""; position: absolute; left: 50%; width: 26px; height: 6px; margin-left: -13px; border-radius: 4px; background: var(--line); transition: background .12s;
}
.tbl-tile span::before { top: 7px; }
.tbl-tile span::after { bottom: 7px; }
.tbl-tile b { font-weight: 800; font-size: 1.7rem; line-height: 1; }
.tbl-tile small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 600; margin-top: -10px; }
.tbl-tile:hover span { border-color: var(--brand); }
.tbl-tile input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 18px -12px rgba(0,119,182,.7); }
.tbl-tile input:checked + span small { color: #c8d8ef; }
.tbl-tile input:checked + span::before, .tbl-tile input:checked + span::after { background: var(--accent); }
.tbl-tile input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pick-card { background: var(--brand-deep); color: #e6eefa; border-radius: var(--r-lg); padding: 26px; position: sticky; top: 90px; }
.pick-card h3 { font-weight: 800; font-size: 2.1rem; color: #fff; margin: 4px 0 8px; }
.pick-card p { color: #b3c6e6; }
.pick-card .btn { margin-top: 12px; }
.pick-card .alt { display: block; margin-top: 16px; color: #e6eefa; font-weight: 600; }

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pay-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.pay-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.pay-list b { display: block; font-weight: 700; }
.pay-list span { color: var(--muted); font-size: .94rem; }
.phone { background: #ece5dd; border-radius: 22px; overflow: hidden; max-width: 420px; margin-left: auto; box-shadow: var(--shadow); border: 3px solid #0b1a33; }
@media (max-width: 860px) { .phone { margin: 0 auto; } }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--brand-ink); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.phone-head svg { width: 34px; height: 34px; flex: none; }
.phone-head small { display: block; font-weight: 500; font-size: .76rem; color: #c8d8ef; }
.phone-body { padding: 16px; }

.lp-cta { background: var(--accent); }
.lp-cta .lp-sec { padding: 56px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.lp-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--on-accent); max-width: 18ch; }

/* =========================================================
   HALAMAN MASUK
   ========================================================= */
.auth { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-art { background: var(--brand-deep); color: #e6eefa; padding: 34px 40px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-art .brand { color: #fff; }
.auth-art .board-art { width: min(100%, 480px); margin: auto; }
.auth-art blockquote { margin: 0; font-weight: 800; font-size: 1.6rem; line-height: 1.25; color: #fff; max-width: 22ch; }
.auth-art blockquote + p { color: #9fb4d8; margin-top: 10px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } }
.auth-main { display: flex; flex-direction: column; padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px)); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-top .brand { visibility: hidden; }
@media (max-width: 900px) { .auth-top .brand { visibility: visible; } }
.auth-form { width: min(100%, 440px); margin: auto; padding: 30px 0; }
.auth-form h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.auth-form > p { color: var(--muted); margin-bottom: 24px; }
.roles-pick { display: grid; gap: 10px; border: 0; padding: 0; margin: 0 0 20px; }
.roles-pick legend { font-weight: 700; font-size: .9rem; margin-bottom: 10px; padding: 0; }
.role-opt { position: relative; }
.role-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role-opt .ro {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 13px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .12s, background .12s;
}
.role-opt .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); color: var(--brand-ink); display: grid; place-items: center; }
.role-opt b { display: block; font-weight: 700; }
.role-opt small { color: var(--muted); font-size: .85rem; }
.role-opt .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; }
.role-opt input:checked + .ro { border-color: var(--brand); background: var(--brand-soft); }
.role-opt input:checked + .ro .ic { background: var(--brand); color: #fff; }
.role-opt input:checked + .ro .tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.role-opt input:focus-visible + .ro { outline: 3px solid var(--accent); outline-offset: 2px; }
.auth-err { background: var(--danger-soft); color: var(--danger); font-weight: 600; padding: 10px 12px; border-radius: 8px; font-size: .9rem; margin-bottom: 14px; }
.auth-already { background: var(--brand-soft); border-radius: 12px; padding: 14px; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Menu & keranjang ---------- */
.menu-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.search { position: relative; flex: 1; min-width: 200px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 38px; border-radius: 999px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.menu-grid.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.menu-grid > h2 { grid-column: 1 / -1; margin-top: 6px; }
@media (max-width: 520px) { .menu-grid, .menu-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; overflow: clip;
  display: flex; flex-direction: column; position: relative; min-width: 0;
}
.item .pic { aspect-ratio: 4/3; background: var(--surface-2); }
.item .pic svg, .item .pic img { width: 100%; height: 100%; display: block; object-fit: cover; }
.item .info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
@media (max-width: 520px) { .item .info { padding: 9px 10px 10px; } }
.item .name { font-weight: 700; font-size: 0.97rem; line-height: 1.25; }
.item .desc { font-size: 0.82rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .foot { display: flex; align-items: center; justify-content: space-between; gap: 6px 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.item .price { font-weight: 800; font-size: 1.02rem; color: var(--brand-ink); font-variant-numeric: lining-nums; }
.item .stock { font-size: 0.76rem; color: var(--muted); }
.item .stock.low { color: var(--danger); font-weight: 700; }
.item.soldout .pic { filter: grayscale(1); opacity: 0.55; }
.item .sold { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.add-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.add-btn:disabled { background: #c3ccd6; cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--brand-soft); border-radius: 999px; padding: 3px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface); color: var(--brand-ink); display: grid; place-items: center; cursor: pointer; }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper b { min-width: 22px; text-align: center; font-variant-numeric: lining-nums; }

.cust-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 0 16px; flex-wrap: wrap; }
.cust-head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.cartbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: min(calc(100% - 24px), 560px); display: flex; align-items: center; gap: 12px;
  background: var(--brand-ink); color: #fff; border-radius: 16px; padding: 10px 10px 10px 18px; box-shadow: 0 14px 34px -12px rgba(2,62,138,.5); border: 0; cursor: pointer; font: inherit; text-align: left;
}
.cartbar .meta { flex: 1; line-height: 1.25; }
.cartbar .meta b { font-size: 1.12rem; font-weight: 800; display: block; }
.cartbar .cta { background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 11px 16px; border-radius: 12px; }
.with-cartbar { padding-bottom: 110px; }

.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cart-line .thumb { width: 56px; height: 42px; border-radius: 8px; overflow: hidden; }
.cart-line .thumb svg, .cart-line .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cart-line .n { font-weight: 600; font-size: 0.93rem; line-height: 1.25; }
.cart-line .p { font-size: 0.83rem; color: var(--muted); }
.totals { display: grid; gap: 6px; margin-top: 12px; font-size: 0.93rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 800; font-size: 1.18rem; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }

/* ---------- Kasir ---------- */
.pos { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.pos-cart { position: sticky; top: 78px; max-height: calc(100dvh - 96px); display: flex; flex-direction: column; }
.pos-cart .scroll { overflow: auto; flex: 1; min-height: 60px; }
.pos-cart h2 { font-size: 1.35rem; }
@media (max-width: 980px) { .pos { grid-template-columns: 1fr; } .pos-cart { position: static; max-height: none; } }
.paymethod { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.paymethod label { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; cursor: pointer; display: grid; gap: 2px; position: relative; }
.paymethod label b { font-size: 0.9rem; }
.paymethod label small { color: var(--muted); font-size: 0.78rem; }
.paymethod input { position: absolute; opacity: 0; }
.paymethod label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.paymethod label:has(input:focus-visible) { outline: 3px solid var(--accent); }

.board { display: grid; grid-template-columns: repeat(4, minmax(250px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.col { background: var(--surface-2); border-radius: var(--r); padding: 12px; min-height: 240px; }
.col h3 { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 12px; font-size: 0.98rem; }
.col h3 small { color: var(--muted); font-weight: 700; }
.ticket { background: var(--surface); border-radius: 10px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); position: relative; cursor: pointer; }
.ticket:hover { border-color: #b5c8dc; }
.ticket.fresh { animation: pulse 1.2s ease-out 2; border-color: var(--accent); }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px var(--sun-soft); } }
.ticket .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ticket .where { font-weight: 700; color: var(--brand-ink); font-size: 0.85rem; white-space: nowrap; }
.ticket ul { margin: 8px 0; padding: 0; list-style: none; font-size: 0.88rem; }
.ticket li { display: flex; gap: 8px; }
.ticket li b { min-width: 24px; }
.ticket .acts { display: flex; gap: 6px; margin-top: 8px; }
.ticket .acts .btn { flex: 1; }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; }
.sidenav { position: sticky; top: 78px; display: grid; gap: 2px; }
.sidenav button { text-align: left; border: 0; background: none; padding: 11px 14px; border-radius: var(--r-sm); font: 600 0.95rem var(--body); color: var(--ink-2); cursor: pointer; }
.sidenav button:hover { background: var(--surface-2); }
.sidenav button[aria-current="page"] { background: var(--brand); color: #fff; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .sidenav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .sidenav button { white-space: nowrap; }
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.stats > div { padding: 18px 20px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; }
.stats span { color: var(--muted); font-size: 0.86rem; }
.stats .hl { background: var(--brand-deep); color: #fff; }
.stats .hl span { color: #b3c6e6; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: stretch; }
@media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 1rem; }
.card-head p { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.card-body { padding: 6px 18px 14px; flex: 1; }
.card-empty { flex: 1; display: grid; place-items: center; text-align: center; padding: 26px 18px; color: var(--muted); }
.card-empty .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 10px; }
.card-empty b { display: block; color: var(--ink); margin-bottom: 2px; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { display: grid; grid-template-columns: 22px 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--surface-2); }
.rank li:last-child { border-bottom: 0; }
.rank .no { font-weight: 800; color: var(--muted); text-align: center; font-variant-numeric: lining-nums; }
.rank li:first-child .no { color: var(--sun-ink); }
.rank .th { width: 44px; height: 33px; border-radius: 7px; overflow: hidden; }
.rank .th svg, .rank .th img { width: 100%; height: 100%; display: block; object-fit: cover; }
.rank .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 6px; border-radius: 99px; background: var(--surface-2); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.bar.warn i { background: var(--accent); }
.bar.bad i { background: var(--danger); }
.rank .val { font-weight: 700; font-variant-numeric: lining-nums; text-align: right; white-space: nowrap; }
.rank .val small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.card .tbl-wrap { border: 0; border-radius: 0 0 var(--r) var(--r); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.91rem; }
.tbl th { text-align: left; font-size: 0.8rem; color: var(--muted); font-weight: 700; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #f7f9fc; white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #f7f9fc; }
.tbl .thumb { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; }
.tbl .thumb svg, .tbl .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.restock { display: inline-flex; gap: 6px; align-items: center; }
.restock .input { width: 72px; min-height: 36px; padding: 6px 8px; }

.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.qr-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.qr-card .qr svg { width: 160px; height: 160px; display: block; }
.qr-card h3 { font-weight: 800; font-size: 1.5rem; }
.qr-card.off { opacity: 0.55; }
.qr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 4px; }
.qr-more { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.qr-more .btn-link { font-size: .82rem; padding: 6px 2px; white-space: nowrap; }
.gen-form { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-top: 12px; }
.gen-form .field { margin: 0; }
.gen-form .paymethod { margin: 0; }
.gen-form .paymethod label, .gen-form .input, .gen-form .btn { min-height: 54px; }
.gen-form .paymethod label { align-content: center; }
@media (max-width: 760px) { .gen-form { grid-template-columns: 1fr; } }

.gen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gen-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gen-grid figure div { aspect-ratio: 4/3; }
.gen-grid svg { width: 100%; height: 100%; display: block; }
.gen-grid figcaption { padding: 8px 10px; font-size: 0.83rem; font-weight: 600; line-height: 1.25; }
.gen-grid figcaption span { display: block; color: var(--muted); font-weight: 500; }

.wa-bubble { background: #e7f8dc; border-radius: 12px 12px 12px 2px; padding: 12px 14px; white-space: pre-wrap; font-size: 0.87rem; max-width: 440px; box-shadow: 0 1px 1px rgba(0,0,0,.08); word-break: break-word; }
.thumb-preview { width: 180px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.thumb-preview svg, .thumb-preview img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Struk / status pesanan ---------- */
.receipt-page { max-width: 560px; margin: 0 auto; padding: 18px 16px 40px; }
.receipt { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.receipt-head { background: var(--brand-ink); color: #fff; padding: 22px 22px 20px; }
.receipt-head .st { font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.3rem); }
.receipt-head p { color: #c8d8ef; margin: 6px 0 0; }
.receipt-body { padding: 18px 22px 24px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 18px; list-style: none; padding: 0; }
.steps li { font-size: 0.78rem; font-weight: 700; color: var(--muted); display: grid; gap: 6px; }
.steps li::before { content: ""; height: 6px; border-radius: 99px; background: var(--line); }
.steps li.on { color: var(--brand-ink); }
.steps li.on::before { background: var(--brand); }
.steps li.now::before { background: linear-gradient(90deg, var(--brand) 0 50%, var(--accent) 50%); background-size: 200% 100%; animation: load 1.4s linear infinite; }
@keyframes load { to { background-position: -100% 0; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.91rem; margin-bottom: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }
.dash { border: 0; border-top: 2px dashed var(--line); margin: 14px 0; }
.r-items { display: grid; gap: 8px; font-size: 0.93rem; }
.r-items div { display: flex; justify-content: space-between; gap: 12px; }
.r-items small { display: block; color: var(--muted); }
.eta { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.eta b { font-weight: 800; font-size: 2.7rem; line-height: 1; color: #fff; }

.result { max-width: 520px; margin: 32px auto; padding: 0 16px; text-align: center; }
.result .mark { width: 88px; height: 88px; margin: 0 auto 18px; }
.result h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); margin-bottom: 8px; }
.result .panel { text-align: left; margin-top: 20px; }
.draw { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.6s 0.15s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.sim-qr { width: 200px; height: 200px; margin: 6px auto; display: block; }
.va-box { background: var(--surface-2); border-radius: var(--r-sm); padding: 14px; text-align: center; font-weight: 800; font-size: 1.35rem; letter-spacing: 0.06em; }

@media print {
  .topbar, .sidenav, .no-print, .footer, #toasts { display: none !important; }
  body { background: #fff; }
  .admin { display: block; }
  .qr-grid { grid-template-columns: repeat(3, 1fr); }
  .qr-card { break-inside: avoid; border: 1px solid #999; }
}

/* =========================================================
   PENGANTARAN, PROFIL, PETA, FOOTER BERANDA
   ========================================================= */
.lp-cta-alt { border-color: rgba(42, 13, 0, .35); color: var(--on-accent); }
.lp-cta-alt:hover { background: rgba(255, 255, 255, .25) !important; }

.txt-bad { color: var(--danger) !important; }
.notice-bad { background: var(--danger-soft); color: var(--danger); }

.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: 1.05rem; flex: none; }
.avatar.sm { width: 24px; height: 24px; font-size: .78rem; }

.pcard {
  display: grid; grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 18px;
}
.pc-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pc-who b, .pc-addr b { display: block; font-weight: 700; line-height: 1.3; }
.pc-who small, .pc-addr small { display: block; color: var(--muted); font-size: .8rem; }
.pc-addr { border-left: 1px solid var(--line); padding-left: 18px; min-width: 0; }
.pc-addr b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-addr span { display: block; font-size: .84rem; color: var(--brand-ink); font-weight: 600; }
.pc-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 820px) {
  .pcard { grid-template-columns: 1fr; gap: 12px; }
  .pc-addr { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .pc-acts { justify-content: space-between; }
}

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.chip-btn { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font: 600 .86rem var(--font); color: var(--ink-2); cursor: pointer; }
.chip-btn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }

.addr-edit { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px; align-items: start; }
@media (max-width: 760px) { .addr-edit { grid-template-columns: 1fr; } }
.addr-list { display: grid; gap: 8px; }
.addr-opt { position: relative; }
.addr-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.addr-opt .ao { display: grid; gap: 2px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.addr-opt .ao b { font-weight: 700; }
.addr-opt .ao span { font-size: .86rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addr-opt .ao small { font-size: .8rem; color: var(--brand-ink); font-weight: 600; }
.addr-opt input:checked + .ao { border-color: var(--brand); background: var(--brand-soft); }
.addr-opt input:focus-visible + .ao { outline: 3px solid var(--accent); outline-offset: 2px; }
.addr-opt.off .ao { opacity: .7; cursor: not-allowed; background: var(--surface-2); }
.addr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.addr-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }

.mp { display: grid; gap: 8px; }
.mp-search { display: flex; gap: 8px; }
.mp-search .search { min-width: 0; }
.mp-results { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); max-height: 220px; overflow: auto; }
.mp-results button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--surface-2); background: none; padding: 10px 12px; font: 500 .86rem/1.35 var(--font); color: var(--ink); cursor: pointer; }
.mp-results button:hover { background: var(--brand-soft); }
.mp-results p { padding: 10px 12px; margin: 0; }
.mp-map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); position: relative; z-index: 0; }
.mp-loading { display: grid; place-items: center; height: 100%; margin: 0; color: var(--muted); }
.mp-hint { margin: 0; }
.mk-pin { background: none; border: 0; }
.mk-pin svg { filter: drop-shadow(0 4px 4px rgba(3, 4, 94, .35)); }
.leaflet-container { font-family: var(--font); }
.coord { display: flex; align-items: center; background: var(--surface-2); color: var(--ink-2); }

.ticket .deliv { background: var(--brand-soft); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; font-size: .84rem; display: grid; gap: 2px; }
.ticket .deliv span { font-weight: 700; color: var(--brand-ink); }
.ticket .deliv small { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ticket .deliv a { font-weight: 700; font-size: .8rem; justify-self: start; }
.fact-row { border-top: 1px dashed var(--line); padding-top: 12px; }
@media (max-width: 620px) {
  .lp-hero .ctas:has(> .btn:nth-child(3)) { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .lp-hero .ctas:has(> .btn:nth-child(3)) > .btn:first-child { grid-column: 1 / -1; }
}
