/* klient.meinl.sk – svetlá: biela + červená Meinl, tmavá: antracitová + biela */
:root {
  --brand: #DB0812;
  --brand-ink: #ffffff;
  --brand-soft: rgba(219, 8, 18, .08);
  --accent: #DB0812;
  --accent-ink: #ffffff;
  --bg: #f5f5f4;
  --surface: #ffffff;
  --surface-2: #f0efee;
  --ink: #1d1d1b;
  --muted: #6d6b68;
  --line: #e6e4e1;
  --ok: #1e8a4c;
  --warn: #b86e00;
  --danger: #c0141b;
  --info: #285a8f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.05);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-ink: #2b2b2d; --brand-soft: rgba(255,255,255,.07); --accent: #ffffff; --accent-ink: #2b2b2d;
    --bg: #232325; --surface: #2e2e31; --surface-2: #38383c; --ink: #f4f4f4; --muted: #a9a8a6; --line: #444448;
    --ok: #5cc98a; --warn: #f0b04d; --danger: #ff6b6f; --info: #8ab8ec; --shadow: 0 1px 2px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand-ink: #2b2b2d; --brand-soft: rgba(255,255,255,.07); --accent: #ffffff; --accent-ink: #2b2b2d;
  --bg: #232325; --surface: #2e2e31; --surface-2: #38383c; --ink: #f4f4f4; --muted: #a9a8a6; --line: #444448;
  --ok: #5cc98a; --warn: #f0b04d; --danger: #ff6b6f; --info: #8ab8ec; --shadow: 0 1px 2px rgba(0,0,0,.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: .2em 0 .6em; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 0 0 .7em; }
h3 { font-size: 1rem; margin: 1em 0 .5em; }
img { max-width: 100%; }
.icon { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt { margin-top: 1rem; }
.big { font-size: 1.3rem; }
code { font-size: .85em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }

/* Bannery */
.test-banner { background: repeating-linear-gradient(45deg, #ffcc00, #ffcc00 12px, #ffd633 12px, #ffd633 24px); color: #3a2c00;
  text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .12em; padding: 3px; position: relative; z-index: 60; }
.viewas-banner { position: sticky; top: 0; z-index: 70; display: flex; gap: .7rem; align-items: center; justify-content: center; flex-wrap: wrap;
  background: #1d1d1b; color: #fff; padding: .55rem 1rem; font-size: .9rem; }
.viewas-banner form { margin: 0; }

/* Rozloženie */
.sidebar { display: none; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: .75rem; padding: .55rem 1rem;
  background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar .venue-switch, .topbar .venue-current { flex: 1; min-width: 0; }
.brand-sm img { display: block; border-radius: 8px; }
.main { padding: 1rem 1rem 6.5rem; max-width: 1180px; margin: 0 auto; }
.main-bare { padding: 0; max-width: none; }
.venue-bar { display: none; }
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; background: var(--surface);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottombar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .5rem 0 .45rem;
  text-decoration: none; font-size: .7rem; color: var(--muted); position: relative; }
.bottombar a.active { color: var(--accent); }
.bottombar .count { position: absolute; top: 2px; left: calc(50% + 6px); }

@media (min-width: 900px) {
  body.has-nav { padding-left: 248px; }
  .sidebar { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: 248px; background: var(--surface);
    border-right: 1px solid var(--line); padding: 1.2rem .9rem; z-index: 30; }
  .test-banner ~ .sidebar { top: 21px; }
  .brand { display: block; margin: 0 .5rem 1.4rem; }
  .brand img { display: block; width: 64px; height: 64px; }
  .sidebar nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
  .sidebar nav a { display: flex; align-items: center; gap: .75rem; padding: .62rem .75rem; border-radius: 10px;
    text-decoration: none; color: var(--ink); font-weight: 500; }
  .sidebar nav a:hover { background: var(--surface-2); }
  .sidebar nav a.active { background: var(--brand-soft); color: var(--accent); }
  .sidebar nav a .count { margin-left: auto; }
  .sidebar-foot { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--line); padding-top: .8rem; }
  .sidebar-foot .me { display: flex; gap: .6rem; align-items: center; text-decoration: none; flex: 1; min-width: 0; font-size: .9rem; line-height: 1.25; }
  .sidebar-foot .me small { display: block; color: var(--muted); }
  .topbar, .bottombar { display: none; }
  .main { padding: 1.6rem 2rem 3rem; }
  .venue-bar { display: block; margin-bottom: .8rem; }
  .venue-bar .venue-switch, .venue-bar .venue-current { display: inline-flex; }
}

/* Prvky */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .62rem 1.05rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: transform .08s, background .15s; min-height: 44px; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(.92); background: var(--accent); }
.btn-danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.btn-light { background: #fff; color: #1d1d1b; border-color: #fff; }
.btn-sm { padding: .3rem .7rem; min-height: 34px; font-size: .875rem; }
.btn-lg { padding: .85rem 1.3rem; font-size: 1.05rem; min-height: 52px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: .4rem; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--accent); }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; font-size: .8rem; text-decoration: none; flex: none; }
.count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--brand);
  color: #fff; font-size: .7rem; font-weight: 700; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.cols { display: grid; gap: 1rem; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; align-items: start; } .cols-wide { grid-template-columns: 1.6fr 1fr; } .cols > .card { margin-bottom: 0; } .cols { margin-bottom: 1rem; } }
.page-head { display: flex; gap: .8rem; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.page-head h1, .page-head h2 { margin-bottom: .3em; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.eyebrow { margin: 0; font-size: .85rem; color: var(--muted); }
.eyebrow a { text-decoration: none; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.6rem; }
.more { font-size: .9rem; font-weight: 500; color: var(--muted); }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: .45rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.plain li:last-child { border-bottom: 0; }

.alert { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; border: 1px solid; font-size: .95rem; display: flex; gap: .5rem; align-items: center; }
.alert ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.alert-success { background: color-mix(in srgb, var(--ok) 10%, var(--surface)); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.alert-error { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.alert-warning { background: color-mix(in srgb, var(--warn) 12%, var(--surface)); border-color: color-mix(in srgb, var(--warn) 35%, transparent); display: block; }
.alert-info { background: color-mix(in srgb, var(--info) 10%, var(--surface)); border-color: color-mix(in srgb, var(--info) 30%, transparent); }
.alert-link { text-decoration: none; font-weight: 500; display: flex; }

.badge { display: inline-block; padding: .15rem .6rem; border-radius: 99px; font-size: .75rem; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.status-pending { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.status-approved, .status-processing { background: color-mix(in srgb, var(--info) 15%, transparent); color: var(--info); }
.status-shipped, .status-delivered { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.status-rejected, .status-cancelled { background: var(--surface-2); color: var(--muted); }
.tag { font-size: .7rem; font-weight: 700; padding: .1rem .45rem; border-radius: 6px; margin-left: .3rem; vertical-align: middle; }
.tag-contract { background: var(--brand); color: #fff; }
.tag-discount { background: var(--brand-soft); color: var(--accent); }

/* Formuláre */
.form { display: flex; flex-direction: column; gap: .85rem; }
.form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 500; font-size: .92rem; }
.form label.check, label.check { flex-direction: row; align-items: center; gap: .55rem; font-weight: 400; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: .62rem .8rem; min-height: 44px; width: 100%; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; accent-color: var(--brand); flex: none; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 1px; border-color: transparent; }
input:disabled { opacity: .6; }
input[type=file] { padding: .45rem; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
legend { font-weight: 700; margin-bottom: .4rem; padding: 0; }
.form-grid { display: grid; gap: .85rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .wide, .form-grid legend { grid-column: 1 / -1; } fieldset.card { display: grid; grid-template-columns: 1fr 1fr; } }
.form-grid > fieldset.card { gap: .85rem; }
.form-actions { grid-column: 1 / -1; display: flex; gap: .5rem; }
.form-inline { display: flex; gap: .8rem; align-items: flex-end; flex-wrap: wrap; }
.form-inline label { display: flex; flex-direction: column; font-size: .85rem; }
.inline-form { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.inline-form input, .inline-form select { width: auto; flex: 1; min-width: 140px; }
.input-xs { width: 80px; min-height: 34px; padding: .25rem .45rem; }
.radio-card { flex-direction: row !important; align-items: flex-start !important; gap: .7rem !important; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-card small { display: block; color: var(--muted); font-weight: 400; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: var(--surface); color: var(--ink); padding: .55rem 1rem; font: inherit; cursor: pointer; }
.seg button.active { background: var(--accent); color: var(--accent-ink); }
.sticky-actions { position: sticky; bottom: 5rem; z-index: 5; background: linear-gradient(transparent, var(--bg) 35%); padding: 1.2rem 0 .3rem; }
@media (min-width: 900px) { .sticky-actions { bottom: 0; } }
.file-btn { cursor: pointer; }

/* Prihlásenie */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem;
  background: radial-gradient(circle at 20% 10%, var(--brand-soft), transparent 50%), var(--bg); }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border-radius: 20px; padding: 2rem 1.6rem; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.auth-logo { display: block; margin: 0 auto 1rem; }
.auth-card h1 { text-align: center; font-size: 1.35rem; }
.auth-card .table-wrap { margin: 1rem 0; }
details summary { cursor: pointer; color: var(--muted); padding: .5rem 0; }

/* Domov */
.hero { display: flex; flex-direction: column; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.3rem; margin-bottom: 1rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--brand-soft); }
.hero h1 { margin: .1em 0 .1em; font-size: 1.8rem; }
.hero p { margin: 0; }
.hero-actions { display: flex; flex-direction: column; gap: .6rem; position: relative; z-index: 1; }
@media (min-width: 700px) { .hero { flex-direction: row; justify-content: space-between; align-items: center; padding: 1.8rem; } .hero-actions { flex-direction: row; } }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .6rem .6rem .8rem; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.tile span { font-weight: 700; padding: 0 .2rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow); }
.stat span { display: block; font-size: .8rem; color: var(--muted); }
.stat strong { font-size: 1.25rem; }

/* Katalóg */
.catalog-head { position: sticky; top: 57px; z-index: 20; background: var(--bg); padding: .3rem 0 .5rem; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 900px) { .catalog-head { top: 0; margin: 0; padding-left: 0; padding-right: 0; } }
.search { display: flex; align-items: center; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 .8rem; margin-bottom: .7rem; }
.search input { border: 0; padding-left: 0; background: transparent; }
.search input:focus { outline: 0; }
.search .icon { color: var(--muted); }
.chips { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .3rem; margin-bottom: .6rem; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: .45rem .95rem; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip-sm { font-size: .8rem; padding: .3rem .75rem; font-weight: 500; }
.products { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: 1fr auto; gap: .2rem .9rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; box-shadow: var(--shadow); transition: border-color .15s; }
.product.in-cart { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.product-img { grid-row: 1 / 3; }
.product-img img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.product h3 { margin: 0; font-size: .98rem; line-height: 1.3; }
.product-meta { margin: .15rem 0; font-size: .8rem; color: var(--muted); }
.price { margin: .3rem 0 0; font-weight: 700; font-size: 1.05rem; }
.price small { font-weight: 400; color: var(--muted); font-size: .75rem; }
.price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: .3rem; }
.stock { font-size: .78rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-ok { color: var(--ok); } .stock-low { color: var(--warn); } .stock-out { color: var(--danger); } .stock-unknown { color: var(--muted); }
.stepper { display: flex; align-items: center; gap: .35rem; justify-self: start; align-self: end; }
.stepper button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; }
.stepper .step-plus { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.stepper input { width: 58px; text-align: center; font-weight: 700; font-size: 1.05rem; padding: .3rem; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-fab { position: fixed; right: 1rem; bottom: calc(5rem + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: .5rem;
  background: var(--brand); color: #fff; text-decoration: none; padding: .8rem 1.2rem; border-radius: 99px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(219,8,18,.35); animation: pop .25s ease; }
.cart-fab .count { background: #fff; color: var(--brand); }
@media (min-width: 900px) { .cart-fab { bottom: 2rem; right: 2rem; } }
@keyframes pop { from { transform: scale(.8); opacity: 0; } }
.context-bar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; background: var(--brand-soft); border-radius: 12px; padding: .6rem .9rem; margin-bottom: .8rem; }
.context-bar span { flex: 1; }
.venue-switch { display: flex; align-items: center; gap: .4rem; margin: 0; }
.venue-switch select { min-height: 38px; padding: .3rem .6rem; font-weight: 600; width: auto; max-width: 100%; }
.venue-current { display: flex; align-items: center; gap: .4rem; font-weight: 600; min-width: 0; }
.venue-current span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Košík */
.cart { display: grid; gap: 1rem; }
@media (min-width: 900px) { .cart { grid-template-columns: 1.5fr 1fr; align-items: start; } .cart-summary { position: sticky; top: 1rem; } }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .75rem; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; margin-bottom: .55rem; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-item h3 { margin: 0; font-size: .95rem; }
.cart-item .stepper { grid-column: 2 / 4; justify-self: end; }
@media (min-width: 600px) { .cart-item { grid-template-columns: 64px 1fr auto auto; } .cart-item .stepper { grid-column: auto; } }
.totals { width: 100%; border-collapse: collapse; }
.totals td { padding: .3rem 0; }
.totals td:last-child { text-align: right; font-weight: 600; }
.totals tr.grand td { font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: .6rem; }

/* Tabuľky a zoznamy */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: .5rem; border-bottom: 1px solid var(--line); }
.table td { padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tfoot td { border-bottom: 0; }
.table-compact td { padding: .35rem .5rem; }
.table .num { text-align: right; white-space: nowrap; }
.table .thumb img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; display: block; }
.table tr.inactive { opacity: .5; }
.actions-cell { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.actions-cell form { margin: 0; }
.order-list { display: flex; flex-direction: column; gap: .5rem; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: .75rem 1rem; text-decoration: none; }
.order-row:hover { border-color: var(--muted); }
.order-row > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.order-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.card .order-row { box-shadow: none; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1rem .5rem; font-size: .92rem; }
.timeline li::before { content: ""; position: absolute; left: -1.38rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.approve-box { border-color: var(--warn); }
.note { background: var(--surface-2); padding: .6rem .8rem; border-radius: 10px; }
.people { list-style: none; margin: 0; padding: 0; }
.people li { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.people li:last-child { border-bottom: 0; }
.people-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.people-main small { color: var(--muted); }
.people-actions { display: flex; gap: .4rem; align-items: center; }
.venue-rows { display: flex; flex-direction: column; }
.venue-row { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; padding: .6rem .2rem; border-top: 1px solid var(--line); text-decoration: none; }
.venue-row span:first-child { display: flex; gap: .5rem; align-items: center; }
.venue-row:hover { background: var(--surface-2); }
.venue-picks { display: grid; gap: .5rem; }
@media (min-width: 700px) { .venue-picks { grid-template-columns: repeat(2, 1fr); } }
.venue-pick { margin: 0; }
.venue-pick button { width: 100%; text-align: left; display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.venue-pick button:hover { border-color: var(--brand); }
.venue-pick span { color: var(--muted); font-size: .9rem; }
.menu-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.menu-list a { display: flex; gap: .8rem; align-items: center; padding: .95rem 1rem; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.menu-list a:last-child { border-bottom: 0; }

/* Zmluva – zmrazené ceny */
.price-section { border-top: 1px solid var(--line); padding: .3rem 0; }
.price-section summary { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; color: var(--ink); padding: .6rem 0; }
.group-set { display: flex; gap: .3rem; }
.group-set input { width: 150px; min-height: 34px; padding: .25rem .5rem; }
.price-row { display: grid; grid-template-columns: 70px 1fr 80px 100px; gap: .5rem; align-items: center; padding: .25rem 0; font-size: .9rem; }
.price-row input { min-height: 36px; padding: .25rem .5rem; text-align: right; }
.price-row input:not(:placeholder-shown) { border-color: var(--brand); background: var(--brand-soft); font-weight: 700; }
@media (max-width: 600px) { .price-row { grid-template-columns: 1fr 90px; } .price-row > span:first-child, .price-row > .num { display: none; } }

/* Reporty */
.bars { display: flex; align-items: flex-end; gap: .4rem; height: 180px; padding-top: .5rem; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .3rem; }
.bar span { width: 100%; max-width: 46px; background: var(--accent); border-radius: 6px 6px 0 0; min-height: 2px; }
.bar small { font-size: .7rem; color: var(--muted); }
.meter { height: 10px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--brand); }
.link-box { border-color: var(--accent); }
.copy-row { display: flex; gap: .5rem; }
.copy-row input { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.mail-frame { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

[hidden] { display: none !important; }
