/* Vendra admin design system
   ------------------------------------------------------------------ */
:root {
  --ink:        #0d1117;
  --ink-2:      #161b22;
  --ink-3:      #21262d;
  --surface:    #ffffff;
  --surface-2:  #f6f7f9;
  --surface-3:  #eceef1;
  --line:       #e2e5ea;
  --line-2:     #cdd2da;
  --text:       #171b21;
  --text-2:     #59626e;
  --text-3:     #8b939e;
  --accent:     #d9540b;
  --accent-2:   #f07c37;
  --accent-ink: #ffffff;
  --accent-soft:#fff1e8;
  --ok:         #14804a;
  --ok-soft:    #e6f5ed;
  --warn:       #a2600b;
  --warn-soft:  #fdf2dc;
  --bad:        #c0392b;
  --bad-soft:   #fdecea;
  --info:       #0b6f88;
  --info-soft:  #e3f4f8;
  --radius:     10px;
  --radius-sm:  7px;
  --radius-lg:  16px;
  --shadow-1:   0 1px 2px rgba(13,17,23,.06), 0 1px 3px rgba(13,17,23,.04);
  --shadow-2:   0 4px 12px rgba(13,17,23,.08), 0 2px 4px rgba(13,17,23,.04);
  --shadow-3:   0 18px 40px rgba(13,17,23,.16);
  --sidebar-w:  252px;
  --topbar-h:   62px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

[data-theme="dark"] {
  --surface:    #14181e;
  --surface-2:  #1a1f26;
  --surface-3:  #222832;
  --line:       #2b323c;
  --line-2:     #3a424f;
  --text:       #e6e9ee;
  --text-2:     #9aa4b2;
  --text-3:     #6e7681;
  --accent:     #f5843f;
  --accent-2:   #ff9a5c;
  --accent-ink: #16110b;
  --accent-soft:#33210f;
  --ok:         #4ec27f;
  --ok-soft:    #14281d;
  --warn:       #e0a04a;
  --warn-soft:  #2c2211;
  --bad:        #f0736a;
  --bad-soft:   #2e1817;
  --info:       #5cc0dd;
  --info-soft:  #10262e;
  --shadow-1:   0 1px 2px rgba(0,0,0,.4);
  --shadow-2:   0 4px 14px rgba(0,0,0,.45);
  --shadow-3:   0 18px 44px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.011em; }
h1 { font-size: 1.16rem; }
h2 { font-size: 1rem; }
h3 { font-size: .92rem; }
p  { margin: 0; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.v-sr {
  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: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- shell -- */
.v-shell { display: flex; min-height: 100vh; }

.v-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  width: var(--sidebar-w);
  display: flex; flex-direction: column;
  background: var(--ink);
  color: #c9d1d9;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.v-brand { padding: 18px 18px 14px; border-bottom: 1px solid var(--ink-3); }
.v-brand-link { display: flex; align-items: center; gap: 11px; color: inherit; }
.v-brand-link:hover { text-decoration: none; }
.v-brand-mark {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border-radius: 9px; background: var(--accent); color: var(--accent-ink);
}
.v-brand-mark svg { width: 21px; height: 21px; }
.v-brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.v-brand-text strong { color: #fff; font-size: 1.02rem; letter-spacing: -.02em; }
.v-brand-text small { color: #7d8590; font-size: .69rem; }

.v-nav { flex: 1; padding: 12px 10px 20px; }
.v-nav-group + .v-nav-group { margin-top: 14px; }
.v-nav-group-title {
  margin: 0 0 5px; padding: 0 9px;
  font-size: .655rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #6a737d;
}
.v-nav-list { list-style: none; margin: 0; padding: 0; }
.v-nav-link {
  display: block; padding: 7px 10px; border-radius: var(--radius-sm);
  color: #b9c1cc; font-size: .845rem; font-weight: 500;
  border-left: 2px solid transparent;
}
.v-nav-link:hover { background: var(--ink-2); color: #fff; text-decoration: none; }
.v-nav-link.is-active {
  background: var(--ink-3); color: #fff; border-left-color: var(--accent);
}
.v-nav-sub { list-style: none; margin: 2px 0 4px; padding: 0 0 0 12px; }
.v-nav-sublink {
  display: block; padding: 4px 9px; border-radius: 6px;
  font-size: .8rem; color: #8b949e;
}
.v-nav-sublink:hover { background: var(--ink-2); color: #e6edf3; text-decoration: none; }
.v-nav-sublink.is-active { color: var(--accent-2); font-weight: 600; }
.v-sidebar-foot {
  padding: 12px 18px; border-top: 1px solid var(--ink-3);
  color: #6a737d; font-size: .72rem;
}

.v-main { flex: 1; min-width: 0; margin-left: var(--sidebar-w); display: flex; flex-direction: column; }

.v-topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.v-topbar-title { flex: 1; min-width: 0; }
.v-topbar-title h1 { font-size: 1.06rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-topbar-title p { font-size: .78rem; color: var(--text-2); }
.v-topbar-actions { display: flex; align-items: center; gap: 8px; }
.v-nav-toggle { display: none; }
.v-scrim {
  position: fixed; inset: 0; z-index: 35;
  background: rgba(13,17,23,.5);
}

.v-content { flex: 1; padding: 22px; max-width: 1560px; width: 100%; }

.v-user { display: flex; align-items: center; gap: 9px; padding-left: 6px; border-left: 1px solid var(--line); }
.v-avatar {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: .8rem; text-transform: uppercase;
}
.v-user-meta { display: flex; flex-direction: column; line-height: 1.2; }
.v-user-meta strong { font-size: .8rem; }
.v-user-meta small { font-size: .7rem; color: var(--text-3); }
.v-lang-form select {
  font: inherit; font-size: .78rem; padding: 5px 8px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text);
}

/* --------------------------------------------------------------- pieces -- */
.v-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: var(--accent); color: var(--accent-ink);
  font: inherit; font-size: .83rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background .12s ease, border-color .12s ease, transform .06s ease;
}
.v-btn:hover { text-decoration: none; filter: brightness(1.06); }
.v-btn:active { transform: translateY(1px); }
.v-btn svg { width: 1em; height: 1em; }
.v-btn-sm { padding: 5px 10px; font-size: .77rem; }
.v-btn-lg { padding: 12px 22px; font-size: .95rem; }
.v-btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.v-btn-ghost:hover { background: var(--surface-3); filter: none; }
.v-btn-danger { background: var(--bad); color: #fff; }
.v-btn-ok { background: var(--ok); color: #fff; }
.v-btn-soft { background: var(--surface-3); color: var(--text); border-color: var(--line); }
.v-btn[disabled], .v-btn.is-disabled { opacity: .5; pointer-events: none; }

.v-icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-2); cursor: pointer;
}
.v-icon-btn:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.v-icon-btn svg { width: 17px; height: 17px; }

[data-theme="light"] .ico-moon { display: none; }
[data-theme="dark"]  .ico-sun  { display: none; }

.v-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.v-card-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.v-card-head h2 { flex: 1; }
.v-card-body { padding: 16px; }
.v-card-foot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; }

.v-grid { display: grid; gap: 16px; }
.v-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.v-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.v-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.v-grid-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }
.v-col-3 { grid-column: span 3; } .v-col-4 { grid-column: span 4; }
.v-col-5 { grid-column: span 5; } .v-col-6 { grid-column: span 6; }
.v-col-7 { grid-column: span 7; } .v-col-8 { grid-column: span 8; }
.v-col-9 { grid-column: span 9; } .v-col-12 { grid-column: span 12; }

.v-stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow-1);
}
.v-stat-label { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.v-stat-value { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.v-stat-hint  { font-size: .74rem; color: var(--text-2); }
.v-stat-accent .v-stat-value { color: var(--accent); }
.v-stat-ok .v-stat-value { color: var(--ok); }
.v-stat-bad .v-stat-value { color: var(--bad); }
.v-stat-warn .v-stat-value { color: var(--warn); }

/* ---------------------------------------------------------------- table -- */
.v-table-wrap { overflow-x: auto; }
.v-table { width: 100%; border-collapse: collapse; font-size: .845rem; }
.v-table th {
  text-align: left; font-weight: 650; font-size: .72rem; letter-spacing: .045em;
  text-transform: uppercase; color: var(--text-3);
  padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
  background: var(--surface-2);
}
.v-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.v-table tbody tr:last-child td { border-bottom: 0; }
.v-table tbody tr:hover { background: var(--surface-2); }
.v-table .v-num { text-align: right; font-variant-numeric: tabular-nums; }
.v-table .v-actions { text-align: right; white-space: nowrap; }
.v-table a { font-weight: 550; }

.v-badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: .705rem; font-weight: 650; letter-spacing: .02em; text-transform: uppercase;
  background: var(--surface-3); color: var(--text-2);
}
.v-badge-ok   { background: var(--ok-soft);   color: var(--ok); }
.v-badge-warn { background: var(--warn-soft); color: var(--warn); }
.v-badge-bad  { background: var(--bad-soft);  color: var(--bad); }
.v-badge-info { background: var(--info-soft); color: var(--info); }

/* ---------------------------------------------------------------- forms -- */
.v-form { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 14px 16px; }
.v-field { grid-column: span 12; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.v-field label { font-size: .78rem; font-weight: 600; color: var(--text-2); }
.v-field .v-req { color: var(--bad); }
.v-field .v-help { font-size: .72rem; color: var(--text-3); }
.v-field input[type=text], .v-field input[type=number], .v-field input[type=email],
.v-field input[type=tel], .v-field input[type=password], .v-field input[type=date],
.v-field input[type=datetime-local], .v-field input[type=search], .v-field select,
.v-field textarea, .v-input {
  width: 100%; padding: 8px 10px;
  font: inherit; font-size: .85rem;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.v-field input:focus, .v-field select:focus, .v-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.v-field textarea { min-height: 82px; resize: vertical; }
.v-field-check { flex-direction: row; align-items: center; gap: 8px; }
.v-field-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.v-field-check label { font-weight: 500; color: var(--text); }

.v-toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.v-toolbar form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.v-toolbar .v-search { min-width: 230px; }
.v-spacer { flex: 1; }

.v-flashes { display: grid; gap: 8px; margin-bottom: 14px; }
.v-flash {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  font-size: .85rem; box-shadow: var(--shadow-1);
}
.v-flash-success { border-left: 3px solid var(--ok);   background: var(--ok-soft);   color: var(--ok); }
.v-flash-error   { border-left: 3px solid var(--bad);  background: var(--bad-soft);  color: var(--bad); }
.v-flash-info    { border-left: 3px solid var(--info); background: var(--info-soft); color: var(--info); }
.v-flash-warning { border-left: 3px solid var(--warn); background: var(--warn-soft); color: var(--warn); }
.v-flash-text { flex: 1; }
.v-flash-close { border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: inherit; opacity: .6; }
.v-flash-close:hover { opacity: 1; }

.v-empty {
  display: grid; place-items: center; gap: 8px;
  padding: 40px 20px; color: var(--text-3); text-align: center;
}
.v-empty svg { width: 34px; height: 34px; opacity: .5; }

.v-pagination {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--line);
}
.v-pagination-info { font-size: .78rem; color: var(--text-2); }
.v-pagination-links { display: flex; gap: 6px; margin-left: auto; }

.v-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.v-tab {
  padding: 8px 14px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .84rem; font-weight: 550; color: var(--text-2);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.v-tab:hover { color: var(--text); }
.v-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* ------------------------------------------------------------- register -- */
.v-pos { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 16px; align-items: start; }
.v-pos-catalog { min-width: 0; }
.v-pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; }
.v-pos-item {
  text-align: left; cursor: pointer; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 4px; min-height: 92px;
  font: inherit; color: var(--text);
}
.v-pos-item:hover { border-color: var(--accent); box-shadow: var(--shadow-2); }
.v-pos-item-name { font-size: .82rem; font-weight: 600; line-height: 1.25; }
.v-pos-item-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; }
.v-pos-item-price { font-size: .87rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.v-pos-item-stock { font-size: .7rem; color: var(--text-3); }
.v-pos-item-stock.is-low { color: var(--bad); font-weight: 600; }
.v-pos-item-thumb {
  height: 44px; border-radius: 6px; margin-bottom: 2px;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  display: grid; place-items: center; color: var(--text-3); font-size: .65rem; font-weight: 700;
}

.v-cart { position: sticky; top: calc(var(--topbar-h) + 16px); }
.v-cart-items { max-height: 46vh; overflow-y: auto; }
.v-cart-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.v-cart-row-name { font-size: .83rem; font-weight: 600; }
.v-cart-row-meta { font-size: .73rem; color: var(--text-2); grid-column: 1; }
.v-cart-row-total { font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.v-cart-row-ctl { display: flex; align-items: center; gap: 4px; }
.v-qty-btn {
  width: 24px; height: 24px; border-radius: 5px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); cursor: pointer; font: inherit; line-height: 1;
  display: grid; place-items: center;
}
.v-qty-btn:hover { background: var(--surface-3); }
.v-qty-val { min-width: 30px; text-align: center; font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.v-totals { padding: 12px 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.v-total-row { display: flex; justify-content: space-between; font-size: .83rem; color: var(--text-2); }
.v-total-row.is-grand { font-size: 1.02rem; font-weight: 750; color: var(--text); padding-top: 8px; border-top: 1px dashed var(--line-2); }
.v-pay-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.v-pay-method {
  padding: 9px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600; color: var(--text);
}
.v-pay-method:hover { border-color: var(--accent); }
.v-pay-method.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

/* ------------------------------------------------------------ dashboard -- */
.v-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 12px; margin-bottom: 18px; }
.v-chart { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding-top: 10px; }
.v-chart-bar { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.v-chart-bar:hover { background: var(--accent-2); }
.v-chart-bar span {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: .66rem; color: var(--text-3); white-space: nowrap;
}
.v-axis { display: flex; gap: 4px; margin-top: 6px; }
.v-axis span { flex: 1; text-align: center; font-size: .64rem; color: var(--text-3); }
.v-split { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.v-split:last-child { border-bottom: 0; }
.v-split-label { color: var(--text-2); }
.v-split strong { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- login -- */
.v-login {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(217,84,11,.16), transparent 60%),
    radial-gradient(900px 480px at 100% 110%, rgba(11,111,136,.14), transparent 60%),
    var(--ink);
}
.v-login-card {
  width: min(420px, 100%); background: var(--surface);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-3);
}
.v-login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.v-login-brand .v-brand-mark { width: 40px; height: 40px; }
.v-login-brand h1 { font-size: 1.3rem; }
.v-login-brand p { font-size: .78rem; color: var(--text-2); }
.v-login .v-field { margin-bottom: 13px; }
.v-login .v-btn { width: 100%; margin-top: 6px; }
.v-login-hint {
  margin-top: 16px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px dashed var(--line-2);
  font-size: .74rem; color: var(--text-2);
}
.v-login-hint code { font-family: var(--mono); background: var(--surface-3); padding: 1px 4px; border-radius: 3px; }

/* --------------------------------------------------------------- shop --- */
.v-shop { max-width: 1180px; margin: 0 auto; padding: 20px; }
.v-shop-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.v-shop-columns { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 22px; align-items: start; }
.v-shop-basket { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 76px; }
.v-shop-basket h2 { font-size: 1rem; margin: 0 0 12px; }
.v-shop-basket .v-table { font-size: .84rem; }
.v-shop-basket .v-field { margin-bottom: 10px; }
.v-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 14px; }
@media (max-width: 860px) { .v-shop-columns { grid-template-columns: 1fr; } .v-shop-basket { position: static; } }
.v-shop-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.v-shop-card-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.v-shop-card h3 { font-size: .9rem; }
.v-shop-price { font-size: 1.02rem; font-weight: 750; color: var(--accent); }
.v-shop-thumb { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--surface-3), var(--surface-2)); display: grid; place-items: center; color: var(--text-3); font-weight: 700; font-size: 1.3rem; }

/* ------------------------------------------------------------- kitchen -- */
.v-kitchen { background: #0b0e12; color: #e6edf3; min-height: 100vh; }
.v-kitchen-head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid #22272e; }
.v-kitchen-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 14px; padding: 16px; }
.v-kds-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8b949e; margin-bottom: 10px; }
.v-kds-ticket {
  background: #161b22; border: 1px solid #30363d; border-radius: 10px;
  padding: 12px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 8px;
}
.v-kds-ticket.is-new { border-left: 3px solid #d29922; }
.v-kds-ticket.is-preparing { border-left: 3px solid #3fb950; }
.v-kds-ticket.is-ready { border-left: 3px solid #58a6ff; }
.v-kds-ticket-top { display: flex; justify-content: space-between; font-size: .74rem; color: #8b949e; }
.v-kds-ticket-item { font-size: .95rem; font-weight: 600; }
.v-kds-ticket-note { font-size: .76rem; color: #e3b341; }

/* -------------------------------------------------------------- report -- */
.v-report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 16px; }
.v-kv { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .84rem; }
.v-kv:last-child { border-bottom: 0; }
.v-kv span { color: var(--text-2); }
.v-kv strong { font-variant-numeric: tabular-nums; }
.v-kv.is-total { border-top: 2px solid var(--line-2); border-bottom: 0; margin-top: 5px; padding-top: 9px; font-size: .95rem; }

/* --------------------------------------------------------------- misc --- */
.v-hint { font-size: .78rem; color: var(--text-2); }
.v-mono { font-family: var(--mono); font-size: .82rem; }
.v-right { text-align: right; }
.v-center { text-align: center; }
.v-muted { color: var(--text-2); }
.v-small { font-size: .78rem; }
.v-nowrap { white-space: nowrap; }
.v-mt { margin-top: 14px; }
.v-mb { margin-bottom: 14px; }
.v-stack { display: grid; gap: 14px; }
.v-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.v-scroll-x { overflow-x: auto; }
.v-kbd {
  font-family: var(--mono); font-size: .7rem; padding: 1px 5px;
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; background: var(--surface-2);
}

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1180px) {
  .v-pos { grid-template-columns: 1fr; }
  .v-cart { position: static; }
  .v-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .v-sidebar { transform: translateX(-100%); transition: transform .18s ease; }
  .v-shell.v-nav-open .v-sidebar { transform: translateX(0); }
  .v-main { margin-left: 0; }
  .v-nav-toggle { display: grid; }
  .v-user-meta { display: none; }
  .v-grid-2, .v-grid-3, .v-grid-4 { grid-template-columns: 1fr; }
  .v-col-3, .v-col-4, .v-col-5, .v-col-6, .v-col-7, .v-col-8, .v-col-9 { grid-column: span 12; }
  .v-content { padding: 14px; }
}
@media (max-width: 560px) {
  .v-pos-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v-pay-grid { grid-template-columns: 1fr; }
  .v-topbar { padding: 0 12px; gap: 8px; }
  .v-lang-form { display: none; }
}

@media print {
  .v-sidebar, .v-topbar, .v-flashes, .v-pagination, .v-toolbar { display: none !important; }
  .v-main { margin-left: 0; }
  .v-content { padding: 0; }
  body { background: #fff; }
  .v-card { border: 0; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------------------------------------------------------------------------
   Utility classes.
   Every inline style the templates used to carry now lives here, so the
   markup stays clean and the styling stays in one editable stylesheet.
   --------------------------------------------------------------------------- */
.v-inline { display: inline; }
.v-block { display: block; }
.v-link-card { display: block; color: inherit; text-decoration: none; }
/* A report card is a link, so its contents are spans rather than block
   elements: a block element inside an inline element is invalid markup. */
.v-report-title { font-size: 1.05rem; font-weight: 650; color: var(--text); }
.v-gap-xs { gap: 4px; }
.v-gap-sm { gap: 6px; }
.v-gap-md { gap: 8px; }
.v-justify-end { justify-content: flex-end; }
.v-flex-1 { flex: 1; }
.v-ml-auto { margin-left: auto; }
.v-w-70 { width: 70px; }
.v-w-80 { width: 80px; }
.v-w-90 { width: 90px; }
.v-w-96 { width: 96px; }
.v-w-110 { width: 110px; }
.v-w-120 { width: 120px; }
.v-w-130 { width: 130px; }
.v-w-140 { width: 140px; }
.v-w-150 { width: 150px; }
.v-min-200 { min-width: 200px; }
.v-min-260 { min-width: 260px; }
.v-doc { max-width: 640px; margin: 0 auto; padding: 24px; }
.v-doc-sm { max-width: 520px; margin: 0 auto; padding: 24px; }
.v-narrow { max-width: 640px; margin: 40px auto; }
.v-narrow-sm { max-width: 640px; margin: 16px auto; }
.v-rule-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; }
.v-list-tight { margin: 4px 0 0; padding-left: 16px; }
.v-mb-xs { margin-bottom: 4px; }
.v-mb-sm { margin-bottom: 10px; }
.v-mt-sm { margin-top: 10px; }
.v-mt-lg { margin-top: 28px; }
.v-mt-auto { margin-top: auto; }
.v-my-sm { margin: 10px 0; }
.v-my-auto { margin: 40px auto; }
.v-mx-auto { margin: 0 auto; }
.v-pad-t { padding: 12px 14px 0; }
.v-fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; }
.v-scroll-y { max-height: 420px; overflow: auto; }
.v-border-top { border-top: 1px solid var(--line); }
.v-label-bold { font-weight: 650; }
.v-kitchen-title { color: #e6edf3; font-size: 1.1rem; }
.v-h-xs { font-size: 14px; }
.v-h-sm { font-size: 1.1rem; }
.v-h-md { font-size: 1.3rem; }
.v-h-lg { font-size: 1.6rem; }
.v-thumb-square { aspect-ratio: 1 / 1; border-radius: 12px; }
/* A form field may span a number of grid columns. */
.v-span-1 { grid-column: span 1; }
.v-span-2 { grid-column: span 2; }
.v-span-3 { grid-column: span 3; }
.v-span-4 { grid-column: span 4; }
.v-span-5 { grid-column: span 5; }
.v-span-6 { grid-column: span 6; }
.v-span-7 { grid-column: span 7; }
.v-span-8 { grid-column: span 8; }
.v-span-9 { grid-column: span 9; }
.v-span-10 { grid-column: span 10; }
.v-span-11 { grid-column: span 11; }
.v-span-12 { grid-column: span 12; }

/* Chart bar heights, in twentieths of the tallest bar. The markup carries
   the bucket; the rule lives here. */
.v-h-0 { height: 0%; }
.v-h-1 { height: 5%; }
.v-h-2 { height: 10%; }
.v-h-3 { height: 15%; }
.v-h-4 { height: 20%; }
.v-h-5 { height: 25%; }
.v-h-6 { height: 30%; }
.v-h-7 { height: 35%; }
.v-h-8 { height: 40%; }
.v-h-9 { height: 45%; }
.v-h-10 { height: 50%; }
.v-h-11 { height: 55%; }
.v-h-12 { height: 60%; }
.v-h-13 { height: 65%; }
.v-h-14 { height: 70%; }
.v-h-15 { height: 75%; }
.v-h-16 { height: 80%; }
.v-h-17 { height: 85%; }
.v-h-18 { height: 90%; }
.v-h-19 { height: 95%; }
.v-h-20 { height: 100%; }
