/* Punyaa FnB — tampilan aplikasi, super admin, dan halaman publik */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans/PlusJakartaSans-Variable.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #f6f6f4; --surface: #ffffff; --surface-2: #f2f1ee; --surface-3: #e9e7e2; --border: #e4e1da; --border-2: #d6d2c8;
  --text: #1c1917; --text-2: #44403c; --muted: #78716c; --primary: #e85d04; --primary-600: #c94f02; --primary-50: #fff1e6; --on-primary: #fff;
  --ok: #15803d; --ok-bg: #e9f7ee; --warn: #b45309; --warn-bg: #fef3c7; --danger: #dc2626; --danger-bg: #fdecec; --info: #1d4ed8; --info-bg: #e7efff;
  --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 2px 8px rgba(28, 25, 23, .04); --shadow-lg: 0 18px 50px rgba(28, 25, 23, .16);
  --r: 14px; --r-sm: 10px; --sidebar: 248px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12100e; --surface: #1c1917; --surface-2: #24201d; --surface-3: #2e2a26; --border: #322d29; --border-2: #45403a;
    --text: #f5f5f4; --text-2: #d6d3d1; --muted: #a8a29e; --primary: #fb7a24; --primary-600: #ff8f42; --primary-50: #3a2414; --on-primary: #1c1917;
    --ok: #4ade80; --ok-bg: #12301f; --warn: #fbbf24; --warn-bg: #3a2c0b; --danger: #f87171; --danger-bg: #3b1515; --info: #93b4ff; --info-bg: #17223d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 18px 50px rgba(0, 0, 0, .55); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12100e; --surface: #1c1917; --surface-2: #24201d; --surface-3: #2e2a26; --border: #322d29; --border-2: #45403a;
  --text: #f5f5f4; --text-2: #d6d3d1; --muted: #a8a29e; --primary: #fb7a24; --primary-600: #ff8f42; --primary-50: #3a2414; --on-primary: #1c1917;
  --ok: #4ade80; --ok-bg: #12301f; --warn: #fbbf24; --warn-bg: #3a2c0b; --danger: #f87171; --danger-bg: #3b1515; --info: #93b4ff; --info-bg: #17223d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 18px 50px rgba(0, 0, 0, .55); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14.5px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: 1.45rem; } h3 { font-size: 1.02rem; }
p { margin: 0 0 .8em; }
code { background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; font-size: .88em; word-break: break-all; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.muted { color: var(--muted); } .small { font-size: .86em; } .center { text-align: center; } .block { display: block; } .mt { margin-top: 14px; }
.text-danger { color: var(--danger) !important; } .note { color: var(--warn); font-style: italic; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover:not(:disabled) { background: var(--primary-600); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); }
.btn-ghost.danger, .btn-danger { color: var(--danger); }
.btn-danger { background: var(--danger-bg); border-color: transparent; }
.btn-danger:hover { filter: brightness(.97); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-row form { margin: 0; }
.btn-row.stretch { flex-wrap: nowrap; } .btn-row .grow, .grow { flex: 1; }
.btn-row.center { justify-content: center; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; text-decoration: none !important; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 8px; font-size: 13px; }
.icon-btn.danger { color: var(--danger); }
.chip-btn { border: 1px solid var(--border-2); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 4px 10px; font: 600 12px inherit; font-family: inherit; cursor: pointer; }
.chip-btn.on { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: var(--ok-bg); }

/* ---------- form */
.form .field, .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
label { font-weight: 600; font-size: 13px; color: var(--text-2); }
input, select, textarea { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid var(--border-2); border-radius: 10px; background: var(--surface); color: var(--text); font: 14.5px inherit; font-family: inherit; }
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
input:disabled { background: var(--surface-2); color: var(--muted); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--primary); }
input[type="file"] { padding: 8px; }
.input-sm { min-height: 34px; padding: 6px 10px; font-size: 13.5px; border-radius: 8px; }
.w-xs { max-width: 72px; } .w-sm { max-width: 110px; }
.hint { color: var(--muted); font-weight: 400; font-size: 12.5px; } .hint.ok { color: var(--ok); font-weight: 600; } .hint.bad { color: var(--danger); font-weight: 600; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; margin: 4px 0 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.row-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; } .row-form .field { margin-bottom: 0; flex: 1; min-width: 150px; } .row-form .check { margin: 0 0 10px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; } .inline-form .field { margin: 0; flex: 1; min-width: 140px; }
.input-group { display: flex; gap: 8px; } .input-group input { flex: 1; }
.input-prefix { display: flex; border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; background: var(--surface); }
.input-prefix span { padding: 0 10px; display: flex; align-items: center; background: var(--surface-2); color: var(--muted); font-size: 12.5px; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; border-right: 1px solid var(--border); }
.input-prefix input { border: 0; border-radius: 0; } .input-prefix:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); } .input-prefix input:focus { box-shadow: none; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; user-select: none; }
.switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; border-radius: 99px; background: var(--border-2); position: relative; transition: background .2s; flex: 0 0 auto; border: 0; min-height: 0; padding: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch input:checked { background: var(--primary); } .switch input:checked::after { transform: translateX(18px); }
.switch.big { margin-bottom: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 16px; }
.filters .field { margin: 0; min-width: 130px; } .filters.inline { margin: 0; }
.filters .field.grow { flex: 1; min-width: 180px; }

/* ---------- komponen */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; min-width: 0; }
.card.flush { padding: 0; overflow: hidden; } .card.narrow { max-width: 520px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h3 { margin: 0; } .card-head.pad { padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--border); }
.card-head a { font-size: 13px; font-weight: 600; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-weight: 500; }
.alert i { margin-top: 3px; }
.alert-ok { background: var(--ok-bg); color: var(--ok); } .alert-err { background: var(--danger-bg); color: var(--danger); } .alert-info { background: var(--info-bg); color: var(--info); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font: 700 11.5px/1.3 inherit; font-family: inherit; white-space: nowrap; vertical-align: middle; background: var(--surface-2); color: var(--text-2); }
.b-ok { background: var(--ok-bg); color: var(--ok); } .b-warn { background: var(--warn-bg); color: var(--warn); } .b-danger { background: var(--danger-bg); color: var(--danger); } .b-info { background: var(--info-bg); color: var(--info); } .b-mute { background: var(--surface-2); color: var(--muted); }
.st-menunggu_bayar { background: var(--warn-bg); color: var(--warn); } .st-baru { background: var(--info-bg); color: var(--info); } .st-dimasak { background: var(--primary-50); color: var(--primary); }
.st-siap { background: var(--ok-bg); color: var(--ok); } .st-selesai { background: var(--surface-2); color: var(--muted); } .st-batal { background: var(--danger-bg); color: var(--danger); }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); } .empty i { font-size: 28px; opacity: .45; margin-bottom: 8px; display: block; } .empty p { margin: 0 0 12px; }
.empty.small { padding: 22px 10px; }
.tabs { display: inline-flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 12px; flex-wrap: wrap; }
.tabs a { padding: 7px 14px; border-radius: 9px; color: var(--text-2); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.tabs a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 6px 13px; font: 600 13px inherit; font-family: inherit; cursor: pointer; }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.mini-list { display: grid; gap: 6px; margin-top: 10px; } .mini-list > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 10px; background: var(--surface-2); border-radius: 9px; font-size: 13px; }
.timeline { list-style: none; padding: 0; margin: 16px 0 0; border-left: 2px solid var(--border); } .timeline li { padding: 2px 0 8px 14px; position: relative; font-size: 13px; color: var(--text-2); }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 12px; font-weight: 600; z-index: 9999; opacity: 0; transition: .25s; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.err { background: var(--danger); color: #fff; } .toast.ok { background: var(--ok); color: #fff; }

/* ---------- tabel */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tfoot td { padding: 8px 14px; border-top: 1px solid var(--border); } .tbl tr.tot td { font-weight: 800; font-size: 15px; }
.tbl .actions { white-space: nowrap; text-align: right; } .tbl .actions form { display: inline; }
.tbl tr.row-link { cursor: pointer; } .tbl tr.row-link:hover td { background: var(--surface-2); }
.card:not(.flush) .tbl th:first-child, .card:not(.flush) .tbl td:first-child { padding-left: 0; } .card:not(.flush) .tbl th, .card:not(.flush) .tbl td { padding-left: 8px; padding-right: 8px; }
.card:not(.flush) .tbl th { background: transparent; }

/* ---------- tata letak aplikasi */
.layout { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); flex: 0 0 var(--sidebar); background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 40; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 16px; color: var(--text); text-decoration: none !important; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; background: var(--surface-2); }
.brand span { display: flex; flex-direction: column; min-width: 0; } .brand b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .brand small { color: var(--muted); font-size: 11.5px; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--primary); color: var(--on-primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.brand-mark.lg { width: 52px; height: 52px; font-size: 22px; border-radius: 14px; }
.sidebar nav { flex: 1; overflow-y: auto; padding: 6px 10px; display: flex; flex-direction: column; gap: 2px; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; text-decoration: none; position: relative; }
.sidebar nav a i { width: 18px; text-align: center; color: var(--muted); }
.sidebar nav a:hover { background: var(--surface-2); color: var(--text); }
.sidebar nav a.active { background: var(--primary-50); color: var(--primary); } .sidebar nav a.active i { color: var(--primary); }
.nav-badge { margin-left: auto; background: var(--primary); color: var(--on-primary); font-style: normal; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 1px 7px; }
.sidebar-foot { padding: 12px; border-top: 1px solid var(--border); }
.who { display: flex; gap: 10px; align-items: center; } .who span:last-child { display: flex; flex-direction: column; min-width: 0; } .who b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .who small { color: var(--muted); font-size: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-2); flex: 0 0 auto; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 24px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 30; }
.topbar-title { font-size: 16px; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; gap: 8px; }
.content { padding: 22px 24px 40px; max-width: 1320px; width: 100%; }
.banner { background: var(--primary-50); color: var(--text); padding: 9px 24px; font-size: 13.5px; border-bottom: 1px solid var(--border); } .banner i { color: var(--primary); margin-right: 4px; }
.banner a { font-weight: 700; margin-left: 6px; } .banner-danger { background: var(--danger-bg); } .banner-danger i { color: var(--danger); }
.only-mobile { display: none; }
.sidebar-scrim { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h2 { margin: 2px 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .page-head p { margin: 0; }
.page-head.compact { margin-bottom: 12px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.back { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.sec-title { margin: 22px 0 12px; display: flex; gap: 8px; align-items: baseline; } .sec-title small { color: var(--muted); font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.grid-2.wide-left { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.grid-2 > .card, .grid-2 > div > .card:last-child { margin-bottom: 16px; }

/* ---------- statistik & grafik */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); color: var(--text); text-decoration: none !important; min-width: 0; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; } .stat b { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .stat small { color: var(--muted); font-size: 12px; }
.stat.utama { background: linear-gradient(135deg, var(--primary), #f59e0b); border: 0; color: #fff; } .stat.utama span, .stat.utama small { color: rgba(255,255,255,.88); }
.stat.link:hover { border-color: var(--primary); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.flow-item { background: var(--surface-2); border-radius: 12px; padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.flow-item i { font-size: 14px; } .flow-item b { font-size: 24px; } .flow-item span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tone-amber i { color: var(--warn); } .tone-blue i { color: var(--info); } .tone-orange i { color: var(--primary); } .tone-green i { color: var(--ok); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 160px; padding-top: 8px; border-bottom: 1px solid var(--border); }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; outline: none; cursor: default; }
.bar-fill { width: 100%; max-width: 34px; background: color-mix(in srgb, var(--primary) 55%, var(--surface-2)); border-radius: 4px 4px 0 0; min-height: 2px; transition: background .15s; }
.bar.is-today .bar-fill, .bar:hover .bar-fill, .bar:focus .bar-fill { background: var(--primary); }
.bar small { position: absolute; bottom: -22px; font-size: 11.5px; color: var(--muted); }
.bars { margin-bottom: 24px; }
.bar[data-tip]:hover::after, .bar[data-tip]:focus::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; white-space: nowrap; z-index: 5; pointer-events: none; }
.bars.hours .bar-fill { max-width: 18px; }
.onboard { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); background: linear-gradient(180deg, var(--primary-50), var(--surface)); }
.checklist { margin: 8px 0 0; padding-left: 20px; } .checklist li { margin-bottom: 6px; } .checklist li.done { color: var(--muted); text-decoration: line-through; } .checklist li.done a { color: var(--muted); }

/* ---------- papan pesanan & dapur */
.board-tools { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.board-col h3, .kds-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.board-col h3 em, .kds-col h3 em { font-style: normal; background: var(--surface-3); color: var(--text-2); border-radius: 99px; padding: 1px 8px; font-size: 12px; }
.board-list, .kds-list { display: flex; flex-direction: column; gap: 10px; }
.kds-kosong { border: 1.5px dashed var(--border-2); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); font-size: 13px; }
.tiket { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; border-top: 4px solid var(--border-2); }
.tiket.tk-baru { border-top-color: var(--info); } .tiket.tk-dimasak { border-top-color: var(--primary); } .tiket.tk-siap { border-top-color: var(--ok); } .tiket.tk-menunggu_bayar { border-top-color: var(--warn); }
.tiket.tk-selesai, .tiket.tk-batal { opacity: .65; }
.tiket.is-lama { box-shadow: 0 0 0 2px var(--danger); }
.tiket header { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px dashed var(--border); }
.tiket-no { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--surface-2); border-radius: 10px; padding: 2px 10px; }
.tiket-meta { flex: 1; display: flex; flex-direction: column; font-weight: 700; font-size: 13.5px; min-width: 0; } .tiket-meta small { color: var(--muted); font-weight: 500; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tiket-items { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 6px; }
.tiket-items li { display: flex; gap: 8px; font-size: 14.5px; } .tiket-items li b { min-width: 26px; } .tiket-items small { display: block; color: var(--muted); font-size: 12.5px; } .tiket-items small.note { color: var(--warn); }
.tiket > p { margin: 0 12px 8px; font-size: 13px; }
.tiket footer { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface-2); align-items: center; }
.tiket footer .btn { flex: 1; }
.kds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kds-col { background: var(--surface-2); border-radius: 16px; padding: 12px; min-height: 60vh; }
.kds .tiket-items li { font-size: 16px; }
.clock { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- kasir */
.pos { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.pos-top { display: flex; gap: 10px; margin-bottom: 10px; }
.search { position: relative; flex: 1; } .search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); } .search input { padding-left: 36px; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pos-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font-family: inherit; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .05s; }
.pos-item:hover { border-color: var(--primary); } .pos-item:active { transform: scale(.98); }
.pos-item img, .pos-item .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 20px; }
.pos-item b { font-size: 13.5px; line-height: 1.3; } .pos-item span { color: var(--primary); font-weight: 700; font-size: 13px; }
.pos-item.is-off { opacity: .45; cursor: not-allowed; }
.pos-side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); position: sticky; top: 76px; max-height: calc(100vh - 96px); display: flex; flex-direction: column; overflow: hidden; }
.pos-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.pos-tabs button { border: 0; background: none; padding: 13px 8px; font: 700 13.5px inherit; font-family: inherit; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.pos-tabs button.on { color: var(--primary); border-bottom-color: var(--primary); }
.pos-tabs em { font-style: normal; background: var(--primary); color: var(--on-primary); border-radius: 99px; padding: 0 7px; font-size: 11px; margin-left: 4px; }
.pos-panel { padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 10px; padding: 3px; }
.seg label { margin: 0; } .seg input { display: none; } .seg span { display: block; text-align: center; padding: 8px; border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.pos-panel .field { margin-bottom: 0; }
.pos-cart { display: flex; flex-direction: column; gap: 8px; min-height: 80px; }
.pc-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px; background: var(--surface-2); border-radius: 10px; }
.pc-row b { font-size: 13.5px; display: block; } .pc-row small { display: block; color: var(--muted); font-size: 12px; } .pc-row span { font-weight: 700; font-size: 13px; color: var(--text-2); }
.qty { display: flex; align-items: center; gap: 6px; } .qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--surface); cursor: pointer; font-size: 16px; color: var(--text); }
.qty b { min-width: 18px; text-align: center; }
.pos-sum > div { display: flex; justify-content: space-between; font-size: 13.5px; padding: 2px 0; color: var(--text-2); }
.pos-sum .tot { font-size: 18px; font-weight: 800; color: var(--text); border-top: 1px dashed var(--border-2); margin-top: 6px; padding-top: 8px; }
.tunggu-row { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 10px; margin-bottom: 8px; cursor: pointer; font-family: inherit; color: var(--text); }
.tunggu-row:hover { border-color: var(--primary); } .tunggu-row span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .tunggu-row small { color: var(--muted); }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-bg { position: absolute; inset: 0; background: rgba(12, 10, 9, .55); }
.modal-box { position: relative; background: var(--surface); border-radius: 18px; padding: 22px; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-x { position: absolute; right: 12px; top: 12px; border: 0; background: var(--surface-2); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--text-2); }
.modal .m-grp { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; } .modal legend { font-weight: 700; padding: 0 4px; } .modal legend small { color: var(--muted); font-weight: 500; }
.modal .opt { display: flex; align-items: center; gap: 8px; font-weight: 500; padding: 5px 0; cursor: pointer; }
.m-err { background: var(--danger-bg); color: var(--danger); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 13px; margin: 8px 0; }
.amount-big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.pay-big { border: 1.5px solid var(--border-2); background: var(--surface); border-radius: 12px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-family: inherit; color: var(--text); text-align: left; }
.pay-big i { color: var(--muted); font-size: 18px; margin-bottom: 4px; } .pay-big small { color: var(--muted); font-size: 12px; }
.pay-big.on { border-color: var(--primary); background: var(--primary-50); } .pay-big.on i { color: var(--primary); }
.kembali { display: flex; justify-content: space-between; font-size: 16px; margin: 10px 0 14px; } .kembali b { font-size: 20px; }
.pay-qr-kasir { text-align: center; } .qr-big { width: 240px; max-width: 100%; margin: 0 auto 8px; background: #fff; padding: 6px; border-radius: 12px; border: 1px solid var(--border); }
.qr-big svg { display: block; width: 100%; height: auto; }
.status-wait { color: var(--muted); font-weight: 600; } .selesai > i { font-size: 48px; color: var(--ok); margin: 6px 0 10px; }

/* ---------- menu & meja (admin) */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.menu-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.menu-card.is-off { opacity: .7; } .menu-card.is-off .menu-card-img { filter: grayscale(1); }
.menu-card-img { aspect-ratio: 16/10; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 24px; position: relative; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag-rek { position: absolute; top: 8px; left: 8px; background: #f59e0b; color: #fff; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.menu-card-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; } .menu-card-body a { color: var(--text); } .menu-card-body > span { color: var(--primary); font-weight: 700; font-size: 13.5px; } .menu-card-body small { color: var(--muted); font-weight: 500; }
.menu-card-act { display: flex; gap: 6px; align-items: center; margin-top: auto; padding-top: 8px; } .menu-card-act form { margin: 0; } .menu-card-act form:first-child { margin-right: auto; }
.foto-preview { aspect-ratio: 4/3; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--border-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 28px; overflow: hidden; margin-bottom: 10px; }
.foto-preview img { width: 100%; height: 100%; object-fit: cover; } .foto-preview.square { aspect-ratio: 1; max-width: 200px; } .foto-preview.square img { object-fit: contain; padding: 8px; } .foto-preview.sm { max-width: 110px; }
.grp-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: var(--surface-2); }
.grp-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; } .grp-head > input { flex: 1; min-width: 180px; } .grp-head .check { margin: 0; }
.mini { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.opt-row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; } .opt-row > input:first-child { flex: 1; } .opt-row .pre { color: var(--muted); font-size: 12.5px; }
.meja-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.meja-card { display: flex; flex-direction: column; gap: 8px; margin: 0; } .meja-card.is-off { opacity: .6; }
.meja-qr { background: #fff; border-radius: 10px; padding: 6px; border: 1px solid var(--border); width: 120px; } .meja-qr svg { display: block; width: 100%; height: auto; }
.meja-card form.form { display: flex; flex-direction: column; gap: 4px; } .meja-card .check { margin: 0; }
.role-help { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; } .role-help li { margin-bottom: 4px; }
.steps-list { padding-left: 20px; } .steps-list li { margin-bottom: 10px; } .copy { margin-top: 6px; }

/* ---------- langganan */
.sub-hero { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, #1c1917, #44403c); color: #fff; border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.sub-hero small { opacity: .75; font-weight: 600; } .sub-hero h2 { margin: 2px 0 6px; display: flex; gap: 10px; align-items: center; } .sub-hero p { margin: 0; opacity: .9; }
.sub-limits { display: flex; gap: 10px; align-items: center; } .sub-limits span { background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px 14px; text-align: center; font-size: 12.5px; } .sub-limits b { display: block; font-size: 20px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 16px; }
.price { background: var(--surface); border: 1.5px solid var(--border); border-radius: 18px; padding: 22px; position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price.is-pop { border-color: var(--primary); }
.price .pop { position: absolute; top: -11px; left: 20px; background: var(--primary); color: var(--on-primary); font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.price .amount { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; } .price .amount small { font-size: 13px; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 12px 0 16px; flex: 1; } .price li { display: flex; gap: 8px; padding: 4px 0; font-size: 13.5px; } .price li i { color: var(--ok); margin-top: 4px; font-size: 12px; }
.price.pick { cursor: pointer; } .price.pick input { position: absolute; right: 16px; top: 18px; }
.price.pick:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.pay-qr { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; } .pay-qr .qr-big { margin: 0; }
.rekening { background: var(--surface-2); padding: 12px; border-radius: 10px; font: 600 14px/1.6 inherit; font-family: inherit; white-space: pre-wrap; margin: 0 0 12px; }
.plan-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; } .plan-edit .card { margin: 0; }
.bukti-img { max-height: 520px; border-radius: 10px; border: 1px solid var(--border); }

/* ---------- halaman publik */
.is-public { background: var(--bg); }
.pub-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; max-width: 1180px; margin: 0 auto; gap: 12px; }
.pub-nav .brand { padding: 0; } .pub-nav .brand b { font-size: 17px; }
.pub-nav nav { display: flex; gap: 8px; align-items: center; } .pub-nav nav > a:not(.btn) { color: var(--text-2); font-weight: 600; padding: 6px 10px; }
.hero { max-width: 1180px; margin: 0 auto; padding: 40px 24px 60px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.03em; line-height: 1.05; margin: 14px 0 16px; } .hero .accent { color: var(--primary); }
.hero p { font-size: 17px; color: var(--text-2); max-width: 560px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.hero-login { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; max-width: 460px; box-shadow: var(--shadow); } .hero-login label { display: block; margin-bottom: 8px; }
.hero-visual { display: flex; justify-content: center; }
.phone { width: 300px; background: var(--surface); border: 10px solid #1c1917; border-radius: 38px; padding: 18px 14px; box-shadow: var(--shadow-lg); transform: rotate(2deg); }
.phone-head { display: flex; flex-direction: column; padding: 4px 6px 12px; border-bottom: 1px solid var(--border); margin-bottom: 8px; } .phone-head small { color: var(--muted); }
.phone-item { display: flex; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--border); } .phone-item span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-size: 13px; } .phone-item small { color: var(--muted); } .phone-item em { font-style: normal; font-weight: 700; font-size: 13px; }
.ph-img { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.phone-cart { margin-top: 14px; background: var(--primary); color: var(--on-primary); border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; font-size: 13px; }
.steps, .features, .pricing { max-width: 1180px; margin: 0 auto; padding: 30px 24px 40px; } .steps h2, .features h2, .pricing h2 { font-size: 30px; text-align: center; margin-bottom: 24px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; position: relative; box-shadow: var(--shadow); }
.step > span { position: absolute; top: 16px; right: 18px; font-size: 32px; font-weight: 800; color: var(--surface-3); } .step > i { font-size: 22px; color: var(--primary); margin-bottom: 12px; display: block; } .step p { color: var(--muted); margin: 0; font-size: 13.5px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); } .feat i { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feat p { color: var(--muted); font-size: 13.5px; margin: 0; }
.pub-foot { text-align: center; color: var(--muted); padding: 30px 16px; font-size: 13px; border-top: 1px solid var(--border); margin-top: 30px; }
.auth-wrap { min-height: calc(100vh - 160px); display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 430px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.auth-card.wide { max-width: 560px; } .auth-card h1 { font-size: 26px; margin: 8px 0 4px; }
.auth-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; } .auth-brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: contain; background: var(--surface-2); } .auth-brand div { display: flex; flex-direction: column; } .auth-brand small { color: var(--muted); }
.halt { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.halt-card { text-align: center; max-width: 440px; } .halt-code { font-size: 64px; font-weight: 800; color: var(--primary); letter-spacing: -.04em; } .halt-card p { color: var(--muted); }

/* ---------- cetak QR meja */
.is-cetak { background: #e7e5e4; }
.cetak-bar { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 14px; background: var(--surface); border-bottom: 1px solid var(--border); flex-wrap: wrap; } .cetak-bar select { width: auto; }
.qr-sheet { display: grid; gap: 10mm; padding: 10mm; justify-content: center; }
.qr-sheet.a6 { grid-template-columns: repeat(2, 90mm); } .qr-sheet.a7 { grid-template-columns: repeat(4, 45mm); gap: 6mm; }
.qr-card { background: #fff; color: #1c1917; border-radius: 6mm; padding: 6mm; text-align: center; border: 1.5mm solid #e85d04; break-inside: avoid; page-break-inside: avoid; }
.qr-brand { display: flex; align-items: center; justify-content: center; gap: 2mm; font-size: 4mm; } .qr-brand img { height: 7mm; width: auto; }
.qr-meja { font-size: 9mm; font-weight: 800; margin: 2mm 0; letter-spacing: -.02em; }
.qr-img svg { width: 100%; height: auto; display: block; }
.qr-cta { font-weight: 800; font-size: 4.6mm; margin-top: 2mm; color: #e85d04; } .qr-sub { font-size: 3mm; color: #57534e; }
.a7 .qr-card { padding: 3mm; border-width: 1mm; border-radius: 4mm; } .a7 .qr-meja { font-size: 6mm; margin: 1mm 0; } .a7 .qr-brand { font-size: 2.8mm; } .a7 .qr-cta { font-size: 3mm; } .a7 .qr-sub { display: none; }

/* ---------- struk & invoice */
.is-struk { background: #fff; color: #000; }
.struk { width: 58mm; margin: 0 auto; padding: 4mm 2mm; font: 11px/1.35 "Courier New", ui-monospace, monospace; }
.w80 .struk { width: 76mm; font-size: 12px; }
.struk .c { text-align: center; } .struk .b { font-weight: 700; } .struk .s { font-size: .9em; color: #333; }
.struk .r { display: flex; justify-content: space-between; gap: 6px; } .struk hr { border: 0; border-top: 1px dashed #000; margin: 6px 0; } .struk img { max-height: 40px; display: block; margin: 0 auto 4px; filter: grayscale(1); }
.struk-act { text-align: center; padding: 16px; }
.is-invoice { background: var(--surface-2); }
.inv { max-width: 760px; margin: 24px auto; background: var(--surface); padding: 32px; border-radius: 16px; border: 1px solid var(--border); }
.inv-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.inv-brand { display: flex; gap: 10px; align-items: center; } .inv-brand img { width: 44px; height: 44px; } .inv-brand div { display: flex; flex-direction: column; } .inv-brand small, .inv-no small { color: var(--muted); }
.inv-no { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.inv-st { font-weight: 800; font-size: 12px; padding: 3px 10px; border-radius: 99px; background: var(--warn-bg); color: var(--warn); } .inv-st.st-lunas { background: var(--ok-bg); color: var(--ok); } .inv-st.st-batal { background: var(--surface-2); color: var(--muted); }
.inv-to { margin-bottom: 18px; } .inv-to small { color: var(--muted); display: block; } .inv-to b { font-size: 17px; }

@media print {
  .no-print, .cetak-bar { display: none !important; }
  body.is-cetak { background: #fff; } .qr-sheet { padding: 0; }
  @page { margin: 8mm; }
  .is-struk @page { margin: 0; }
  .inv { border: 0; margin: 0; padding: 0; }
}

/* ---------- responsif */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos { grid-template-columns: minmax(0, 1fr) 330px; }
  .feat-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .sidebar-open .sidebar { transform: none; }
  .sidebar-open .sidebar-scrim { display: block; position: fixed; inset: 0; background: rgba(12,10,9,.45); z-index: 35; }
  .only-mobile { display: inline-flex; }
  .topbar { padding: 10px 16px; } .content { padding: 16px 16px 40px; } .banner { padding: 9px 16px; }
  .grid-2, .grid-2.wide-left { grid-template-columns: minmax(0, 1fr); }
  .pos { grid-template-columns: minmax(0, 1fr); } .pos-side { position: static; max-height: none; }
  .kds { grid-template-columns: minmax(0, 1fr); } .kds-col { min-height: 0; }
  .board { grid-template-columns: repeat(4, minmax(250px, 82vw)); }
  .hero { grid-template-columns: 1fr; padding-top: 16px; } .hero-visual { display: none; }
  .pub-nav { padding: 12px 16px; } .pub-nav nav > a:not(.btn) { display: none; }
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; } .stat { padding: 12px 14px; } .stat b { font-size: 18px; }
  .row2, .row3 { grid-template-columns: 1fr; gap: 0; }
  .feat-grid, .steps-grid { grid-template-columns: 1fr; }
  .page-head { align-items: flex-start; } .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; } .tabs a { white-space: nowrap; }
  .auth-card { padding: 22px 18px; } .sub-hero { padding: 18px; }
  .qr-sheet.a6 { grid-template-columns: 90mm; }
  .inv { padding: 20px; margin: 0; border-radius: 0; } .inv-head { flex-direction: column; } .inv-no { align-items: flex-start; text-align: left; }
}

/* ---------- pesanan ojol */
.seg.seg-3 { grid-template-columns: 1fr 1fr 1fr; }
.ojol-box { background: var(--surface-2); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.ojol-pilih { display: flex; flex-wrap: wrap; gap: 6px; }
.ojol-opt { margin: 0; cursor: pointer; } .ojol-opt input { display: none; }
.ojol-opt span { display: inline-block; padding: 7px 12px; border-radius: 9px; border: 1.5px solid var(--c); color: var(--c); font-weight: 800; font-size: 13px; background: var(--surface); }
.ojol-opt input:checked + span { background: var(--c); color: #fff; }
.ojol-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--c, #64748b); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .01em; }
.ojol-kode { font-variant-numeric: tabular-nums; font-weight: 800; }
.tiket.is-ojol { border-top-color: var(--c); }
.ojol-row { display: grid; grid-template-columns: 22px minmax(120px, 1.4fr) repeat(3, minmax(70px, .8fr)) 52px 34px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ojol-row.head { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ojol-row input[type="color"] { padding: 2px; height: 34px; min-height: 0; }
@media (max-width: 700px) { .ojol-row { grid-template-columns: 22px 1fr 1fr; } .ojol-row.head { display: none; } }
