/* MKO – Designsystem für Website und Console, nach den Prinzipien der Apple Human
   Interface Guidelines (Klarheit, Zurückhaltung, Tiefe). Regeln: guidelines/DESIGN_SYSTEM.md.
   Systemschrift (SF auf Apple-Geräten), Systemfarben hell/dunkel, eine Akzentfarbe. */
:root {
  /* Hintergründe (grouped) */
  --bg: #f2f2f7;
  --surface: #ffffff;
  --surface-2: #f2f2f7;
  --fill: rgb(120 120 128 / 12%);
  --fill-2: rgb(120 120 128 / 20%);
  --material: rgb(249 249 249 / 78%);
  /* Beschriftung */
  --ink: #000000;
  --ink-2: rgb(60 60 67 / 60%);
  --ink-3: rgb(60 60 67 / 30%);
  --line: rgb(60 60 67 / 18%);
  /* Akzent (Tint) und Systemfarben – Kontrast ≥ 4.5 : 1 mit der Knopfschrift */
  --accent: #d9480f;
  --accent-ink: #ffffff;
  --accent-soft: rgb(217 72 15 / 12%);
  --ok: #248a3d; --ok-soft: rgb(52 199 89 / 14%);
  --warn: #c93400; --warn-soft: rgb(255 149 0 / 16%);
  --bad: #d70015; --bad-soft: rgb(255 59 48 / 12%);
  /* Form */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 4px 16px rgb(0 0 0 / 5%);
  --shadow-float: 0 10px 40px rgb(0 0 0 / 18%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --fill: rgb(120 120 128 / 24%);
    --fill-2: rgb(120 120 128 / 36%);
    --material: rgb(30 30 30 / 72%);
    --ink: #ffffff;
    --ink-2: rgb(235 235 245 / 60%);
    --ink-3: rgb(235 235 245 / 30%);
    --line: rgb(84 84 88 / 55%);
    --accent: #ff9f0a;
    --accent-ink: #000000;
    --accent-soft: rgb(255 159 10 / 18%);
    --ok: #30d158; --ok-soft: rgb(48 209 88 / 18%);
    --warn: #ffd60a; --warn-soft: rgb(255 214 10 / 16%);
    --bad: #ff453a; --bad-soft: rgb(255 69 58 / 18%);
    --shadow: none;
    --shadow-float: 0 10px 40px rgb(0 0 0 / 60%);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.47 var(--font); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Typografie-Skala (HIG): Large Title 34 · Title 1 28 · Title 2 22 · Title 3 20 · Headline 17 */
h1, h2, h3 { margin: 0 0 .45em; font-family: var(--font-display); }
h1 { font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
small, .muted { color: var(--ink-2); }
code, .mono { font-family: var(--font-mono); font-size: .88em; letter-spacing: 0; }
img, svg { max-width: 100%; }
::selection { background: var(--accent-soft); }

/* ---------- Grundbausteine ---------- */
.container { width: min(1080px, 100% - 32px); margin-inline: auto; }
.stack > * + * { margin-top: 20px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
/* Karten = gruppierte Abschnitte (inset grouped) */
.card { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; background: var(--surface); }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
a.card { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); text-decoration: none; }
.divider { border: 0; border-top: .5px solid var(--line); margin: 18px 0; }
@media (min-resolution: 2dppx) { .divider { border-top-width: .5px; } }

/* Knöpfe: gefüllt (primär), grau getönt (Standard), schlicht (ghost) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 0; background: var(--fill); color: var(--accent); font: 600 15px var(--font);
  letter-spacing: -0.01em; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, opacity .15s, transform .1s; }
.btn:hover { background: var(--fill-2); text-decoration: none; }
.btn:active { transform: scale(.97); opacity: .85; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--bad); }
.btn.ghost { background: transparent; padding: 0 8px; }
.btn.ghost:hover { background: var(--fill); }
.btn.small { min-height: 30px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--fill); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }

/* ---------- Formulare ---------- */
label { display: block; font-weight: 500; font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
.field { margin-bottom: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: var(--radius-sm);
  background: var(--fill); color: var(--ink); font: 16px var(--font); letter-spacing: -0.01em; transition: box-shadow .15s, background .15s; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 0 1px var(--accent); }
.btn:focus-visible, a:focus-visible, .option:focus-within, .swatch:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; box-shadow: 0 0 0 1px var(--accent); }
input[type=file] { font: 14px var(--font); color: var(--ink-2); }
input[type=file]::file-selector-button { border: 0; background: var(--fill); color: var(--accent); font: 600 14px var(--font); padding: 8px 14px; border-radius: 8px; margin-right: 10px; cursor: pointer; }
/* Schalter (iOS-Toggle) statt Checkbox */
.check { display: inline-flex; gap: 10px; align-items: center; font-weight: 400; color: var(--ink); font-size: 15px; margin: 0 16px 10px 0; cursor: pointer; }
.check input[type=checkbox] { appearance: none; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: var(--fill-2);
  position: relative; cursor: pointer; transition: background .2s var(--ease); }
.check input[type=checkbox]::before { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / 25%); transition: transform .2s var(--ease); }
.check input[type=checkbox]:checked { background: var(--ok); }
.check input[type=checkbox]:checked::before { transform: translateX(18px); }
.check input[type=checkbox]:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.form-grid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.form-error { background: var(--bad-soft); color: var(--bad); padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 14px; }
.form-error:empty { display: none; }
.form-error ul { margin: 6px 0 0; padding-left: 18px; }
.notice { background: var(--accent-soft); color: var(--ink); padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; }

/* ---------- Listen/Tabellen (gruppiert, Haarlinien eingerückt) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.card .table-wrap { box-shadow: none; background: transparent; border-radius: 0; margin-inline: -20px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: 500; color: var(--ink-2); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
th, td { padding: 12px 16px; vertical-align: middle; }
tbody tr + tr td { box-shadow: inset 0 .5px 0 var(--line); }
tbody tr:hover td { background: color-mix(in srgb, var(--fill) 50%, transparent); }
td.num { text-align: right; font-variant-numeric: tabular-nums; }

.empty { text-align: center; padding: 40px 16px; color: var(--ink-2); }
.empty strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

/* ---------- Website ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--material); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -.5px 0 var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 600 17px var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent));
  color: var(--accent-ink); display: grid; place-items: center; font: 700 15px var(--font-display); box-shadow: inset 0 0 0 .5px rgb(0 0 0 / 10%); }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a:not(.btn) { color: var(--ink-2); padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.site-nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.site-footer { margin-top: 80px; padding: 28px 0 40px; color: var(--ink-2); font-size: 12px; box-shadow: inset 0 .5px 0 var(--line); }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--ink-2); margin-left: 18px; }

.hero { padding: clamp(56px, 10vw, 120px) 0 48px; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.05; letter-spacing: -0.035em; max-width: 14ch; margin-inline: auto; }
.hero p.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--ink-2); max-width: 40ch; margin: 18px auto 0; letter-spacing: -0.015em; }
.hero .row { justify-content: center; }
.hero .btn { min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 17px; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 10px; letter-spacing: -0.01em; }
.section { padding: 48px 0; }
.section > .container > h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.price-card { display: flex; flex-direction: column; gap: 6px; position: relative; padding: 24px; border-radius: 18px; }
.price-card .price { font: 700 32px var(--font-display); letter-spacing: -0.03em; }
.price-card .price small { font: 500 15px var(--font); color: var(--ink-2); letter-spacing: 0; }
.price-card.featured { box-shadow: 0 0 0 2px var(--accent), var(--shadow-float); }
.price-card .ribbon { position: absolute; top: 18px; right: 18px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; }
.feature-list li + li { box-shadow: inset 0 .5px 0 var(--line); }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 12px; }

.auth-wrap { min-height: calc(100vh - 52px); display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: min(400px, 100%); padding: 28px; border-radius: 20px; }
.auth-card h1 { font-size: 28px; }
.auth-card .btn.primary { min-height: 44px; font-size: 17px; }

/* ---------- Console (macOS-Seitenleiste + Inhalt) ---------- */
.console { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: var(--material); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset -.5px 0 0 var(--line); padding: 16px 10px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.sidebar .logo { padding: 4px 10px 16px; }
.sidebar .tenant { padding: 10px 12px; margin: 0 2px 12px; border-radius: var(--radius-sm); background: var(--fill); font-size: 12px; }
.sidebar .tenant strong { display: block; font-size: 15px; color: var(--ink); }
.sidebar a.nav { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.sidebar a.nav svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.sidebar a.nav:hover { background: var(--fill); text-decoration: none; }
.sidebar a.nav.active { background: var(--accent); color: var(--accent-ink); }
.sidebar a.nav.active svg { color: currentColor; }
.sidebar .divider { margin: 10px 10px; }
.sidebar .spacer { flex: 1; }
.sidebar .me { font-size: 12px; color: var(--ink-2); padding: 12px 10px 4px; box-shadow: inset 0 .5px 0 var(--line); }
.sidebar .me strong { color: var(--ink); font-size: 14px; }
.main { padding: 32px clamp(16px, 3.5vw, 48px) 72px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { margin-bottom: 4px; }
.page-head p { margin: 0; }
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.crumbs a { color: var(--accent); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .value { font: 700 28px var(--font-display); letter-spacing: -0.03em; }
.stat .label { color: var(--ink-2); font-size: 13px; }
.mobile-bar { display: none; }

/* Auswahlkarten (Format, Zusatzfunktionen, Knopfform …) */
.format-picker { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.option { position: relative; display: block; border-radius: 12px; padding: 14px 14px 14px 44px; cursor: pointer; background: var(--fill); font-weight: 400; color: var(--ink); margin: 0;
  transition: background .15s, box-shadow .15s; }
.option:hover { background: var(--fill-2); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option::before { content: ""; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); background: var(--surface); }
.option:has(input[type=checkbox])::before { border-radius: 6px; }
.option:has(input:checked) { background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.option:has(input:checked)::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; box-shadow: none; }
.option:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.option .title { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.option .desc { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }
/* Segment-Auswahl (wenige gleichrangige Optionen) */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 2px; border-radius: 10px; background: var(--fill); }
.segmented .option { padding: 7px 10px; border-radius: 8px; background: transparent; text-align: center; box-shadow: none; }
.segmented .option::before { display: none; }
.segmented .option .title { justify-content: center; font-size: 13px; font-weight: 500; }
.segmented .option:has(input:checked) { background: var(--surface); box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 0 0 .5px rgb(0 0 0 / 4%); }
.total-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--fill); border-radius: 12px; margin-top: 16px; flex-wrap: wrap; }
.total-bar .sum { font: 700 22px var(--font-display); letter-spacing: -0.02em; }

.qr-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.qr-card { text-align: center; }
.qr-card img { width: 168px; height: 168px; image-rendering: pixelated; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 0 0 .5px var(--line); }

.section-block { border-radius: var(--radius); background: var(--surface); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow); }
.section-block > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; flex-wrap: wrap; font-size: 17px; }
.item-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 16px; box-shadow: inset 0 .5px 0 var(--line); }
.item-row .tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
details.inline > summary { cursor: pointer; list-style: none; }
details.inline > summary::-webkit-details-marker { display: none; }
details.inline > summary:hover { background: color-mix(in srgb, var(--fill) 50%, transparent); }
details.inline[open] { background: color-mix(in srgb, var(--fill) 60%, transparent); }
details.inline .edit { padding: 12px 16px 16px; }

/* HUD-Meldung */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%); background: var(--material); color: var(--ink);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; transition: transform .35s var(--ease); z-index: 50; max-width: calc(100% - 32px); box-shadow: var(--shadow-float); }
.toast.show { transform: translate(-50%, 0); }
.secret { background: var(--warn-soft); border-radius: var(--radius-sm); padding: 12px; word-break: break-all; }

@media (max-width: 860px) {
  .console { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 40; transform: translateX(-100%); transition: transform .3s var(--ease); background: var(--surface); }
  .sidebar.open { transform: none; box-shadow: var(--shadow-float); }
  .mobile-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; background: var(--material);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 -.5px 0 var(--line); position: sticky; top: 0; z-index: 30; }
  .site-nav .hide-sm { display: none; }
  .item-row { grid-template-columns: 1fr auto; }
  .main { padding-top: 20px; }
  h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .sidebar, .mobile-bar, .no-print { display: none !important; }
  .console { display: block; }
}

/* ---------- Aussehen der Gästekarte (Restaurant-Panel, MKO-27) ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / 15%); transition: transform .15s var(--ease); }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--c); }
.color-input { width: 44px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.shape { display: block; width: 40px; height: 20px; margin: 0 auto 6px; background: var(--ink-3); }
.shape-ROUND { border-radius: 999px; } .shape-SOFT { border-radius: 7px; } .shape-SQUARE { border-radius: 2px; }
.theme-preview { --tp-accent: #c2410c; --tp-ink: #fff; --tp-radius: 999px; --tp-bg: #f2f2f7; --tp-surface: #fff; --tp-text: #000; --tp-muted: rgb(60 60 67 / 60%); --tp-line: rgb(60 60 67 / 18%);
  background: var(--tp-bg); color: var(--tp-text); border-radius: var(--radius); padding: 14px; display: grid; gap: 12px; font-size: 14px; box-shadow: inset 0 0 0 .5px var(--line); }
.theme-preview.dark { --tp-bg: #000; --tp-surface: #1c1c1e; --tp-text: #fff; --tp-muted: rgb(235 235 245 / 60%); --tp-line: rgb(84 84 88 / 55%); }
.tp-chips { display: flex; gap: 6px; }
.tp-chip { background: var(--tp-surface); border-radius: var(--tp-radius); padding: 6px 12px; font-weight: 600; font-size: 12px; }
.tp-chip.on { background: var(--tp-accent); color: var(--tp-ink); }
.tp-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--tp-surface); border-radius: 12px; padding: 12px 14px; }
.tp-item small { display: block; color: var(--tp-muted); } .tp-item b { display: block; margin-top: 4px; font-weight: 600; }
.tp-add { position: relative; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--tp-radius); background: var(--tp-accent); color: var(--tp-ink); font-weight: 600; font-size: 20px; }
.tp-add i, .tp-fab i { font-style: normal; }
.tp-add i { position: absolute; top: -6px; right: -6px; background: #ff3b30; color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; height: 18px; display: grid; place-items: center; }
.tp-bar { display: flex; gap: 8px; justify-content: center; }
.tp-fab { display: inline-flex; align-items: center; gap: 6px; background: var(--tp-surface); color: var(--tp-text); border-radius: var(--tp-radius); padding: 9px 14px; font-weight: 600; font-size: 13px; box-shadow: 0 4px 14px rgb(0 0 0 / 14%); }
.tp-fab.accent { background: var(--tp-accent); color: var(--tp-ink); }
.tp-fab i { background: var(--tp-accent); color: var(--tp-ink); border-radius: 999px; min-width: 18px; padding: 0 5px; font-size: 11px; text-align: center; }
