:root {
  --ink: #141015;
  --plum: #3a2440;
  --paper: #ffffff;
  --soft: #f6f3f0;
  --tint: #fdeee8;
  --mustard: #e9b949;
  --ember: #d9481c;
  --ember-dark: #b83a14;
  --text: #1d181f;
  --muted: #6c6470;
  --line: #e8e3de;
  --wa: #1fa855;
  --radius: 16px;
  --shadow: 0 6px 22px rgba(20, 16, 21, .08);
  --header: 78px;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); border-top: 3px solid var(--ember); }
.header-inner { display: flex; align-items: center; gap: 14px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 70px; height: 70px; flex: none; object-fit: contain; mix-blend-mode: multiply; }
.footer-logo { width: 130px; height: 130px; object-fit: contain; mix-blend-mode: screen; margin: -14px 0 4px -14px; }
.brand-logo + .wordmark { display: none; }
.brand.no-logo .wordmark { display: inline-flex; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark-script { font-family: var(--script); font-size: 28px; }
.wordmark-sub { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; margin-top: 2px; }
.wordmark-lg .wordmark-script { font-size: 40px; }
.wordmark-lg .wordmark-sub { font-size: 12px; }
.delivery-pill { display: none; align-items: center; gap: 10px; background: var(--soft); border-radius: 999px; padding: 7px 16px 7px 12px; margin-right: auto; }
.delivery-pill span { display: grid; line-height: 1.15; }
.delivery-pill small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.delivery-pill strong { font-size: 14px; }
.account-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; padding: 8px 4px; white-space: nowrap; margin-left: auto; }
.account-link:hover { color: var(--ember-dark); }
.account-link svg { flex: none; }
.account-link span { display: none; }
.header-link { text-decoration: none; font-weight: 600; margin-left: auto; }
.header-link:hover { color: var(--ember-dark); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ember); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.cart-btn:hover { background: var(--ember-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 13px 24px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); }
.btn-wa { background: var(--wa); color: #fff; width: 100%; }
.btn-wa:hover { background: #178a45; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { background: var(--soft); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--line); }

/* Banner */
.banner { margin-top: 16px; position: relative; }
.banner-track { display: grid; border-radius: 20px; overflow: hidden; }
.slide { grid-area: 1 / 1; display: grid; grid-template-rows: auto auto; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; color: #fff; }
.slide.on { opacity: 1; visibility: visible; }
.slide-copy { padding: 28px 24px 26px; display: grid; gap: 12px; align-content: center; justify-items: start; }
.slide-copy h2 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; max-width: 12ch; }
.slide-copy p { font-size: 17px; opacity: .9; max-width: 30ch; }
.slide-copy .btn { margin-top: 6px; }
.slide-photo { position: relative; min-height: 0; aspect-ratio: 4 / 3; order: -1; }
.slide-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.banner-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: var(--line); padding: 0; cursor: pointer; transition: width .2s, background .2s; }
.banner-dots button[aria-current="true"] { width: 26px; background: var(--ember); }

/* Photo placeholder (shown until the real photo is added) */
.ph { display: grid; place-items: center; text-align: center; padding: 14px; background: repeating-linear-gradient(135deg, #2a2030 0 14px, #32263a 14px 28px); color: rgba(255, 255, 255, .8); font-family: var(--script); font-size: 22px; line-height: 1.2; }
.ph img { display: none; }

/* Menu layout */
.layout { display: grid; gap: 8px; padding: 12px 0 72px; }
.side { position: sticky; top: calc(var(--header) + 3px); z-index: 20; background: var(--paper); margin-inline: -16px; padding: 10px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.side-head { display: none; }
.side-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.search { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; padding: 0 14px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; font-size: 16px; color: var(--text); outline: none; }
.search:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--soft); white-space: nowrap; }
.cats a .n { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--paper); border-radius: 999px; min-width: 22px; text-align: center; padding: 1px 6px; }
.cats a.on { background: var(--ink); color: #fff; }
.cats a.on .n { background: rgba(255, 255, 255, .18); color: #fff; }

.sections { display: grid; gap: 40px; padding-top: 20px; min-width: 0; }
.section-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.section-title h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.section.featured .section-title h2 { font-size: clamp(26px, 3.4vw, 34px); text-transform: uppercase; color: var(--ember-dark); }
.section-title span { font-size: 13px; color: var(--muted); }
.section > p { color: var(--muted); margin-top: 2px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.no-results { padding: 48px 0; text-align: center; color: var(--muted); }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-open { all: unset; cursor: pointer; display: block; position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--ink); }
.card-open:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.card-open img { width: 100%; height: 100%; object-fit: cover; }
.card-open.ph { display: grid; box-sizing: border-box; place-items: center; text-align: center; padding: 14px; background: repeating-linear-gradient(135deg, #2a2030 0 14px, #32263a 14px 28px); color: rgba(255, 255, 255, .8); font-family: var(--script); font-size: 22px; line-height: 1.2; }
.card-body { padding: 10px 6px 4px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tag { align-self: start; background: #f3dfb1; color: #5b4306; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.card-body h3 { font-size: 16px; line-height: 1.25; }
.card-body p { color: var(--muted); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; }
.price { font-weight: 700; font-size: 16px; }
.price.tbc { font-weight: 500; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.add { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: var(--ember); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; }
.add:hover { background: var(--ember-dark); }

.qty { display: inline-flex; align-items: center; background: var(--soft); border-radius: 999px; flex: none; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; border-radius: 50%; padding: 0 0 2px; }
.qty button:hover { background: var(--line); }
.qty span { min-width: 20px; text-align: center; font-weight: 700; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 44px 0 110px; }
.site-footer .muted { color: rgba(255, 255, 255, .6); }
.footer-inner { display: grid; gap: 28px; }
.contact-list { display: grid; gap: 14px; }
.contact-list a { display: grid; text-decoration: none; }
.contact-list strong { font-size: 20px; }
.contact-list a:hover strong { color: var(--mustard); }
.footer-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .6); display: flex; justify-content: space-between; gap: 16px; }

/* Sticky order bar (mobile) */
.sticky-cart { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 25; display: flex; justify-content: space-between; align-items: center; background: var(--ember); color: #fff; border: 0; border-radius: 999px; padding: 16px 22px; font-weight: 700; box-shadow: 0 12px 30px rgba(217, 72, 28, .4); cursor: pointer; }

/* Overlays */
.scrim { position: fixed; inset: 0; background: rgba(20, 16, 21, .55); z-index: 40; }
.modal { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: var(--paper); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 1; background: #fff; box-shadow: var(--shadow); }
.modal-photo { aspect-ratio: 4 / 3; background: var(--ink); flex: none; }
.modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 18px 20px 6px; display: grid; gap: 8px; }
.modal-body h2 { font-size: 24px; line-height: 1.15; }
.modal-foot { position: sticky; bottom: 0; background: var(--paper); padding: 14px 20px 20px; display: flex; gap: 12px; align-items: center; }
.modal-foot .btn { flex: 1; }
.modal-foot .qty button { width: 42px; height: 42px; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--soft); z-index: 50; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0, 0, 0, .25); animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.drawer-head h2 { font-size: 22px; }
.drawer-body { overflow-y: auto; padding: 20px; flex: 1; }
.empty { text-align: center; padding: 48px 0; display: grid; gap: 8px; justify-items: center; }
.empty .btn { margin-top: 14px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; background: var(--paper); padding: 14px; border-radius: 14px; }
.line .qty { justify-self: start; }
.line-name { font-weight: 600; }
.line-price { color: var(--muted); font-size: 14px; }
.line-total { font-weight: 700; text-align: right; }
.totals { margin: 18px 0 0; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dd { margin: 0; text-align: right; }
.totals .total { font-size: 19px; font-weight: 700; padding-top: 10px; border-top: 1px dashed var(--line); }
.checkout { margin-top: 26px; display: grid; gap: 14px; }
.checkout h3 { font-size: 18px; }

/* Forms */
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 999px; padding: 4px; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.field em { font-style: normal; font-weight: 400; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .invalid { border-color: var(--ember); }
.form-error { color: var(--ember-dark); font-weight: 500; }
.form-ok { color: #17753c; font-weight: 500; }
.fineprint { font-size: 13px; text-align: center; }
.text-link { color: var(--ember-dark); font-weight: 600; }
.forgot-link { justify-self: end; font-size: 15px; margin-top: -4px; }
.signin-hint { background: var(--paper); border: 1.5px dashed var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.signin-hint a { font-weight: 600; color: var(--ember-dark); }

.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 60; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow); }

/* Account pages */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--soft); }
.auth-main { flex: 1; display: grid; place-items: start center; padding: 40px 16px 64px; }
.auth-card { width: min(440px, 100%); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 20px; }
.auth-tabs button { border: 0; background: none; padding: 10px; border-radius: 999px; font-weight: 600; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.auth-form { display: grid; gap: 14px; }
.auth-form h1 { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.account-main { padding: 40px 0 72px; }
.account-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.account-head h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -.02em; line-height: 1.1; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 600; }
.eyebrow-dark { color: var(--ember-dark); margin-bottom: 6px; }
.account-grid { display: grid; gap: 20px; align-items: start; }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 14px; }
.panel h2 { font-size: 22px; }
.panel .btn { justify-self: start; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; }
.order-list li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.order-list li:first-child { border-top: 0; padding-top: 0; }
.order-top { display: flex; justify-content: space-between; gap: 12px; }

@media (min-width: 620px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slide { grid-template-rows: none; grid-template-columns: 1fr auto; }
  .slide-photo { order: 0; aspect-ratio: 1; height: 300px; }
  .slide-copy { padding: 36px; }
  .modal { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: min(460px, 100% - 32px); border-radius: 22px; }
}

@media (min-width: 900px) {
  .slide-photo { height: 380px; }
  .slide-copy { padding: 48px; }
  .delivery-pill { display: inline-flex; }
  .account-link { margin-left: 0; }
  .account-link span { display: inline; }
  .layout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; padding-top: 24px; }
  .side { top: calc(var(--header) + 24px); align-self: start; margin: 0; padding: 0; border-bottom: 0; gap: 12px; }
  .side-head { display: block; }
  .cats { flex-direction: column; gap: 2px; overflow: visible; }
  .cats a { background: none; border-radius: 0 10px 10px 0; padding: 11px 12px; border-left: 3px solid transparent; white-space: normal; }
  .cats a .n { background: var(--soft); }
  .cats a:hover { background: var(--soft); }
  .cats a.on { background: var(--tint); color: var(--ember-dark); border-left-color: var(--ember); }
  .cats a.on .n { background: #fff; color: var(--ember-dark); }
  .sections { padding-top: 0; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .contact-list { grid-auto-flow: column; gap: 40px; }
  .site-footer { padding-bottom: 44px; }
  .sticky-cart { display: none; }
  .toast { bottom: 28px; }
  .account-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer, .modal, .slide, .card { animation: none; transition: none; }
}

/* Bank transfer */
.pay { background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.pay p { font-size: 14.5px; }
.pay-details { margin: 0; display: grid; gap: 8px; }
.pay-details div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pay-details dt { color: var(--muted); font-size: 14px; }
.pay-details dd { margin: 0; text-align: right; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.pay-number { font-size: 18px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.copy { border: 0; background: var(--soft); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.copy:hover { background: var(--line); }

/* Payment result */
.badge { justify-self: start; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.badge-ok { background: #dff3e6; color: #14663a; }
.badge-warn { background: #fde8e0; color: #a3310f; }
.link-btn { border: 0; background: none; padding: 0; color: var(--ember-dark); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* Admin dashboard */
.admin-bar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 30; }
.admin-bar-inner { display: flex; align-items: center; gap: 12px; height: 60px; }
.admin-logo { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: screen; }
.admin-updated { margin-left: auto; font-size: 13px; color: rgba(255, 255, 255, .6); }
.admin-bar-link { color: #fff; background: none; border: 0; padding: 6px 4px; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; opacity: .85; }
.admin-bar-link:hover { opacity: 1; text-decoration: underline; }
.admin-main { padding: 24px 0 72px; display: grid; gap: 20px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--paper); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.tile span { color: var(--muted); font-size: 14px; }
.tile strong { font-size: 28px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tile-hot strong { color: var(--ember-dark); }
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.admin-tabs button { border: 0; background: none; padding: 10px 16px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; }
.admin-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--ember); }
.admin-tools { display: grid; gap: 12px; margin-bottom: 16px; }
.admin-filters a { background: var(--paper); }
.admin-search { background: var(--paper); border: 1px solid var(--line); }
.order-cards { display: grid; gap: 12px; }
.ocard { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--line); padding: 16px 18px; display: grid; gap: 12px; }
.ocard.st-new { border-left-color: var(--ember); }
.ocard.st-preparing { border-left-color: var(--mustard); }
.ocard.st-out { border-left-color: #2f7fd1; }
.ocard.st-delivered { border-left-color: #2e9a5b; }
.ocard.st-cancelled { opacity: .7; }
.ocard-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badge.st { background: var(--soft); color: var(--text); }
.st-new .badge.st { background: var(--tint); color: var(--ember-dark); }
.ocard-when { font-size: 14px; }
.ocard-amount { margin-left: auto; font-size: 19px; font-variant-numeric: tabular-nums; }
.ocard-body { display: grid; gap: 12px; }
.ocard-body h3 { font-size: 18px; }
.ocard-body a { color: var(--ember-dark); font-weight: 600; }
.ocard-note { background: #fff7df; border-radius: 8px; padding: 6px 10px; margin-top: 6px; font-size: 14.5px; }
.ocard-items { list-style: none; margin: 0; padding: 12px 14px; background: var(--soft); border-radius: 12px; display: grid; gap: 4px; align-content: start; }
.ocard-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.ocard-ref { font-size: 12px; font-family: ui-monospace, Menlo, monospace; }
.ocard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.empty-note { background: var(--paper); border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); }
.table-wrap { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.table-wrap .empty-note { box-shadow: none; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table a { color: var(--ember-dark); }

@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-tools { grid-template-columns: 1fr 300px; align-items: center; }
  .ocard-body { grid-template-columns: 1fr 1fr; }
}
.cats.admin-filters { flex-direction: row; flex-wrap: wrap; gap: 8px; overflow: visible; }
.cats.admin-filters a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
.cats.admin-filters a .n { background: var(--soft); color: var(--muted); }
.cats.admin-filters a:hover { background: var(--soft); }
.cats.admin-filters a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cats.admin-filters a.on .n { background: rgba(255, 255, 255, .18); color: #fff; }
.admin-bar-inner > * { white-space: nowrap; }
@media (max-width: 520px) { .admin-updated { display: none; } .admin-bar-inner strong { margin-right: auto; } }
