@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --accent: #c2531f;
  --accent-dark: #9a3f14;
  --accent-soft: #fdf0e6;
  --ink: #2a211b;
  --muted: #6b5e52;
  --muted-2: #6b5e52;
  --line: #efe5d7;
  --line-2: #e6d9c8;
  --bg: #fbf6ee;
  --card: #ffffff;
  --ok-bg: #e6f4ea;
  --ok-ink: #1e5631;
  --warn-bg: #fff1d6;
  --warn-ink: #7a4a00;
  --err-bg: #fde8e1;
  --err-ink: #8f2a12;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
p { margin: 0; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }

/* ---------- Kunde ---------- */
.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: 20px 18px 28px; gap: 18px; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
.steps { display: flex; gap: 6px; }
.steps span { width: 28px; height: 6px; border-radius: 3px; background: var(--line-2); }
.steps span.on { background: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px; display: flex; flex-direction: column; gap: 16px; }
.screen { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.spacer { flex: 1; }

.btn { appearance: none; border: 0; border-radius: var(--radius); min-height: 56px; padding: 0 20px; font: inherit; font-weight: 650; font-size: 17px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { background: #e0a585; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; font-size: 14px; padding: 0 14px; border-radius: 12px; }
.btn:focus-visible, .seg button:focus-visible, .stepper button:focus-visible { outline: 3px solid #f0a77f; outline-offset: 2px; }

.drop { border: 2px dashed var(--accent); border-radius: 22px; background: #fff; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; cursor: pointer; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop strong { font-size: 18px; }
.hint { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--muted); background: #fafaf8; }
.hint b { color: var(--ink); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--ink); word-break: break-all; }

.file { display: flex; gap: 12px; align-items: center; border: 2px solid var(--accent); border-radius: 14px; padding: 12px 14px; }
.file-badge { width: 40px; height: 48px; border-radius: 6px; background: var(--err-bg); color: var(--err-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .label { font-size: 14px; font-weight: 650; color: var(--muted-2); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg.wrap { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg button { min-height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 650; }
.seg button:disabled { opacity: 0.4; cursor: not-allowed; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 46px; height: 46px; border-radius: 23px; border: 1px solid var(--line-2); background: #fff; font-size: 22px; color: var(--ink); cursor: pointer; }
.stepper output { min-width: 40px; text-align: center; font-size: 20px; font-weight: 750; }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.toggle input { width: 22px; height: 22px; accent-color: var(--accent); }

.preview { background: var(--bg); border-radius: 18px; padding: 16px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.preview img { height: 220px; width: auto; background: #fff; border-radius: 4px; box-shadow: 0 2px 10px rgba(22, 24, 29, 0.14); scroll-snap-align: start; }
.notice { display: flex; gap: 10px; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.notice.ok { background: var(--ok-bg); color: var(--ok-ink); }
.notice.warn { background: var(--warn-bg); color: var(--warn-ink); }
.notice.err { background: var(--err-bg); color: var(--err-ink); }
.sum { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.sum .total { font-size: 20px; font-weight: 800; }

.ticket-screen { background: var(--accent); color: #fff; border-radius: 26px; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.ticket-label { font-weight: 650; opacity: 0.92; }
.ticket-no { font-size: 96px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.status-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar > div { height: 100%; background: var(--accent); width: 10%; transition: width 0.6s ease; }
.ticket-screen .btn-ghost { color: #fff; border: 2px solid #fff; }

.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #f3d3bf; border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; max-width: 92vw; z-index: 10; }

/* ---------- Mitarbeiter ---------- */
.staff { max-width: 1320px; margin: 0 auto; padding: 24px 20px 40px; display: flex; flex-direction: column; gap: 22px; }
.staff-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.voice { background: var(--ink); color: #fff; border-radius: 22px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.mic { width: 68px; height: 68px; border-radius: 34px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.mic.rec { background: #d33a1b; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(211, 58, 27, 0.25); } }
.voice-main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.voice input[type="text"] { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid #54453a; background: #3a2f27; color: #fff; padding: 0 14px; font: inherit; }
.voice input[type="file"] { color: #e6d9c8; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 8px; background: #46392f; font-size: 14px; }
.voice .label { font-size: 13px; color: #d8c9b8; font-weight: 600; }
.voice .seg button { background: #3a2f27; color: #fff; border-color: #54453a; }
.voice .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.cols { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.panel.main { flex: 999 1 600px; }
.panel.side { flex: 1 1 320px; }
.scroll-x { overflow-x: auto; }
table { border-collapse: separate; border-spacing: 0 8px; width: 100%; min-width: 720px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted-2); padding: 0 10px; }
td { background: var(--bg); padding: 12px 10px; font-size: 15px; vertical-align: middle; }
td:first-child { border-radius: 12px 0 0 12px; font-weight: 800; font-size: 19px; white-space: nowrap; }
td:last-child { border-radius: 0 12px 12px 0; }
.status { display: inline-block; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.s-submitted { background: #fff; border: 1px solid var(--line-2); color: var(--muted); }
.s-queued { background: #fff; border: 1px solid var(--line-2); color: var(--muted); }
.s-printing { background: var(--accent-soft); color: #9a3f14; }
.s-printed { background: var(--ok-bg); color: var(--ok-ink); }
.s-error { background: var(--err-bg); color: var(--err-ink); }
.s-done, .s-cancelled { background: #ececea; color: var(--muted); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.printer { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.printer .row b { font-size: 15px; }
.p-idle { color: var(--ok-ink); }
.p-busy { color: #9a3f14; }
.p-error, .p-offline { color: var(--err-ink); }
.login { max-width: 380px; margin: 10vh auto; }
.login input { min-height: 50px; border-radius: 12px; border: 1px solid var(--line-2); padding: 0 14px; font: inherit; font-size: 17px; width: 100%; }
.err-text { color: var(--err-ink); font-size: 14px; }
.strong { font-weight: 650; }
.center { text-align: center; }
.busy { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 12px 0; }
.legal h1 { font-size: 26px; } .legal h2 { font-size: 18px; margin-top: 8px; } .legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Tresen: Nummer, Eingang, Einstellungen, Einrichtung ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.tabs button[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ticket-box { background: #fff; border: 2px solid var(--accent); border-radius: 22px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ticket-box label { font-weight: 750; font-size: 18px; }
.ticket-box input { font: inherit; font-size: 32px; font-weight: 800; width: 160px; min-height: 60px; border-radius: 14px; border: 1px solid var(--line-2); padding: 0 14px; letter-spacing: 1px; }
.ticket-box .feedback { flex: 1 1 260px; font-size: 16px; }
.feedback.ok { color: var(--ok-ink); font-weight: 650; } .feedback.err { color: var(--err-ink); font-weight: 650; } .feedback.warn { color: var(--warn-ink); font-weight: 650; }
details.inbox { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
details.inbox summary { cursor: pointer; font-weight: 700; }
.inbox-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.inbox-item { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.inbox-item b { font-size: 16px; min-width: 52px; }
.big-badge { background: var(--warn-bg); color: var(--warn-ink); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.form-grid input[type="number"], .form-grid input[type="text"], .price-table input { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); padding: 0 10px; font: inherit; width: 100%; }
.price-table { width: 100%; min-width: 0; border-spacing: 0 4px; }
.price-table td { background: transparent; padding: 4px 6px; font-size: 14px; }
.price-table td:first-child { font-size: 15px; font-weight: 700; }
.price-table input { width: 100px; }
.wizard { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.wiz-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.wiz-steps span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.wiz-steps span.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.wiz-steps span.done { background: var(--ok-bg); color: var(--ok-ink); border-color: var(--ok-bg); }
.pair-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 46px; font-weight: 800; letter-spacing: 8px; color: var(--accent); }
.steps-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.staff-view { display: flex; flex-direction: column; gap: 18px; }
.input { min-height: 50px; border-radius: 12px; border: 1px solid var(--line-2); padding: 0 14px; font: inherit; font-size: 17px; width: 100%; }

/* Abo */
.billing-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff4e0; color: #7a4a00; border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; font-weight: 600; }
.billing-banner.stop { background: #fde8e8; color: #9b1c1c; }
.abo { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.abo-status { font-size: 17px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 2px solid #d9dbe1; background: #fff; cursor: pointer; text-align: left; font: inherit; }
.plan:hover, .plan:focus-visible { border-color: #c2531f; }
.plan-name { font-weight: 700; }
.plan-price { font-size: 24px; font-weight: 800; }
.closed-note { background: #fde8e8; color: #9b1c1c; border-radius: 14px; padding: 14px 16px; font-weight: 600; }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.btn-big { font-size: 20px; padding: 18px 28px; width: 100%; text-align: center; display: block; }
.pin-visible { letter-spacing: 6px; font-size: 22px; font-weight: 700; }

.steps-labeled span { white-space: nowrap; width: auto; height: auto; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--line-2); color: var(--muted, #666); }
.steps-labeled span.on { background: var(--accent); color: #fff; }

/* Tresen als Tafel */
.desk-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.desk-top .ticket-box { flex: 1 1 520px; }
.printer-strip { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; flex: 0 1 auto; }
.pchip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.pchip .dot { width: 10px; height: 10px; border-radius: 50%; background: #1d7a46; display: inline-block; }
.pchip.p-busy .dot { background: #c2531f; }
.pchip.p-error .dot, .pchip.p-offline .dot { background: #c62828; }
.pchip.p-error, .pchip.p-offline { border-color: #f1b5b5; background: #fff5f5; }
.problem-bar { display: flex; flex-direction: column; gap: 8px; background: #fde8e8; border: 2px solid #e57373; border-radius: 16px; padding: 12px 16px; }
.problem { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #8b1a1a; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.lane { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 260px; }
.lane h2 { font-size: 18px; display: flex; align-items: center; gap: 8px; margin: 0; }
.lane .count { background: var(--line-2); border-radius: 999px; padding: 2px 10px; font-size: 14px; }
.lane-ready { border: 2px solid #1d7a46; }
.lane-ready .count { background: #1d7a46; color: #fff; }
.lane-hint { margin: -6px 0 0; font-size: 13px; color: var(--muted, #666); }
.lane-list { display: flex; flex-direction: column; gap: 10px; }
.lane-empty { color: var(--muted, #888); font-size: 14px; margin: 8px 0; }
.job-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; background: #fafaf8; }
.job-card.s-printed { background: #effaf2; border-color: #a8d8b6; }
.job-card.s-printing { background: var(--accent-soft); border-color: #f0c4a8; }
.job-head { display: flex; justify-content: space-between; align-items: baseline; }
.job-no { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.job-price { font-weight: 700; }
.job-what { font-weight: 600; }
.job-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 6px; }
.handwork { background: #fff4e0; color: #7a4a00; border-radius: 8px; padding: 4px 8px; font-size: 13px; font-weight: 600; }
.counter-order { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px 16px; }
.counter-order summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; align-items: center; gap: 10px; }
.counter-order summary::-webkit-details-marker { display: none; }
.counter-order .plus { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-size: 20px; }
.counter-order[open] .voice { margin-top: 12px; }
@media (max-width: 980px) { .board { grid-template-columns: 1fr; } }
.qr-btn { align-self: center; }
.qr-dialog { border: none; border-radius: 22px; padding: 24px; max-width: 420px; width: calc(100% - 32px); display: none; }
.qr-dialog[open] { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.qr-dialog::backdrop { background: rgba(15, 17, 22, 0.55); }
.qr-dialog img { border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.qr-dialog .row-wrap { justify-content: center; }

/* ---------- Warmes Design: Kunde ---------- */
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
.hello { display: flex; align-items: center; gap: 12px; }
.hello h1 { flex: 1; font-size: 28px; letter-spacing: -0.02em; }
.ill { flex-shrink: 0; }
.steps-labeled span { width: auto; height: auto; padding: 3px 9px; border-radius: 999px; background: var(--line-2); color: var(--muted); font-size: 11px; font-weight: 650; white-space: nowrap; }
.steps-labeled span.on { background: var(--accent); color: #fff; }
.alt-btn { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; position: relative; }
.alt-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.help { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.help summary { font-weight: 700; cursor: pointer; }
.help p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.file { border: 1px solid var(--line); background: #fff; border-radius: 16px; }
.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.presets button { min-height: 50px; padding: 8px 4px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; hyphens: auto; }
.presets button[aria-pressed="true"] { border: 2px solid var(--accent); background: var(--accent-soft); font-weight: 750; }
.app .panel { border-radius: 18px; padding: 14px; gap: 14px; }
.seg.three { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg button .sub { display: block; font-size: 12px; font-weight: 500; opacity: 0.8; }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.timing { font-size: 13px; color: var(--warn-ink); font-weight: 650; }
.more { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.more > summary { font-weight: 700; cursor: pointer; }
.more[open] > summary { margin-bottom: 12px; }
.more .field + .field { margin-top: 14px; }
.text-in { width: 100%; min-height: 46px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
textarea.text-in { resize: vertical; min-height: 70px; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks label { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.checks input { width: 22px; height: 22px; accent-color: var(--accent); flex-shrink: 0; }
.checks .price { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.sum .line { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.pay-note { text-align: center; font-size: 14px; color: var(--muted); }
.ticket-screen { background: var(--accent); }

/* ---------- Warmes Design: Tresen ---------- */
.staff { gap: 16px; }
.brand-mark { background: var(--accent); }
.tabs { align-items: center; }
.tabs button { border-color: transparent; background: transparent; font-weight: 600; color: var(--muted); }
.tabs button:hover { background: #fff; }
.tabs button[aria-current="page"] { background: var(--ink); color: #fff; }
.tab-sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 4px; }
.tabs .tab-accent { background: var(--accent); color: #fff; }
.tabs .tab-accent:hover { background: var(--accent-dark); }
.printer-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.printer-line .pchip { padding: 5px 11px; font-size: 13px; }
.pchip.p-busy .dot { background: var(--accent); }
.problem-bar { background: var(--err-bg); border: 1px solid #f0a99a; border-radius: 14px; padding: 8px 14px; }
.problem { color: var(--err-ink); }
.problem .btn-small { min-height: 34px; }
.desk { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 18px; align-items: start; }
.inbox { background: #fff; border: 2px solid var(--accent); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 360px; box-shadow: 0 6px 24px rgba(194, 83, 31, 0.08); }
.inbox-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.inbox h2, .side-box h2 { display: flex; align-items: center; gap: 8px; font-size: 22px; }
.side-box h2 { font-size: 17px; }
.count { background: var(--line-2); border-radius: 999px; padding: 2px 10px; font-size: 14px; }
.inbox .count { background: var(--accent); color: #fff; }
.lane-hint { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.ticket-search { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 650; color: var(--muted); }
.ticket-search input { width: 140px; min-height: 40px; border-radius: 10px; border: 1px solid var(--line-2); padding: 0 10px; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); background: var(--bg); }
.feedback:empty { display: none; }
.inbox-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 12px 16px; background: var(--bg); }
.inbox-card.review { background: var(--warn-bg); border-color: #f2d29a; }
.inbox-card .job-no { font-size: 30px; min-width: 72px; }
.inbox-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inbox-info > * { overflow: hidden; text-overflow: ellipsis; }
.inbox-info b { white-space: nowrap; }
.badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--line-2); color: var(--ink); }
.badge.warn { background: #f7d9a0; color: var(--warn-ink); }
.print-btn { min-height: 52px; min-width: 120px; font-size: 18px; }
.inbox-card .x { min-width: 44px; padding: 0 10px; }
.desk-side { display: flex; flex-direction: column; gap: 14px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.side-box.ready { border: 2px solid #3f8f5b; }
.side-box.ready .count { background: #3f8f5b; color: #fff; }
.mini { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.mini.ready { flex-wrap: nowrap; }
.mini-no { font-size: 20px; min-width: 56px; }
.mini-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.review-dialog { border: none; border-radius: 22px; padding: 24px; max-width: 480px; width: calc(100% - 32px); }
.review-dialog[open] { display: flex; flex-direction: column; gap: 10px; }
.review-dialog::backdrop { background: rgba(42, 33, 27, 0.5); }
.review-list { margin: 0; padding-left: 20px; }
.edit-row { display: grid; grid-template-columns: auto minmax(120px, 1fr) 80px 130px 70px auto; gap: 8px; align-items: center; margin-bottom: 6px; }
#paper-form .edit-row { grid-template-columns: minmax(140px, 1fr) 90px auto; }
.edit-row input, .edit-row select { min-height: 40px; border-radius: 10px; border: 1px solid var(--line-2); padding: 0 8px; font: inherit; font-size: 14px; width: 100%; background: #fff; }
.edit-row input[readonly] { background: var(--bg); }
.edit-row.head { margin-bottom: 0; }
.panel h3 { font-size: 16px; margin-top: 8px; }
.pstate { font-weight: 700; }
@media (max-width: 1000px) { .desk { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .inbox-card { grid-template-columns: auto minmax(0, 1fr); }
  .inbox-card .print-btn { grid-column: 1 / -1; }
  .edit-row { grid-template-columns: 1fr 1fr; }
}
.edit-row label { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.edit-row input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--accent); }
.offer-row { display: grid; grid-template-columns: 24px minmax(140px, 1fr) 90px minmax(120px, auto); gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.offer-row input[type="checkbox"], .bind-on input { width: 22px; height: 22px; accent-color: var(--accent); }
.offer-row .o-name { font-weight: 600; }
.offer-row input[type="text"], .offer-row select { min-height: 40px; border-radius: 10px; border: 1px solid var(--line-2); padding: 0 8px; font: inherit; font-size: 15px; width: 100%; background: #fff; }
.offer-row:has(.o-on:not(:checked)) .o-name, .offer-row:has(.o-on:not(:checked)) .o-price { opacity: 0.45; }
#offer-form h3 { font-size: 15px; margin-top: 12px; color: var(--muted); }
.bind-on { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 560px) { .offer-row { grid-template-columns: 24px 1fr 80px; } .offer-row .o-unit, .offer-row select { grid-column: 2 / -1; } }
.photo-drop { display: flex; gap: 14px; align-items: center; padding: 16px; border: 2px dashed var(--accent); border-radius: 18px; background: var(--accent-soft); cursor: pointer; position: relative; }
.photo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.offer-row.page-row { grid-template-columns: 24px minmax(120px, 1fr) 90px 90px minmax(110px, auto); }
.offer-row.found { background: var(--accent-soft); border-radius: 10px; padding-left: 6px; padding-right: 6px; }
.offer-row.suggested { background: var(--warn-bg); border-radius: 10px; padding-left: 6px; padding-right: 6px; }
@media (max-width: 560px) { .offer-row.page-row { grid-template-columns: 0 1fr 70px 70px; } .offer-row.page-row > span:last-child { display: none; } }
