:root {
  --bg: #f6f3ed; --card: #fffdf9; --ink: #1d1a16; --ink2: #5d554b; --mute: #8c8378; --line: #e6dfd3; --line2: #d6cdbf;
  --acc: #a4513a; --acc-d: #87412d; --acc-l: #f6e9e3;
  --green: #2f6b4a; --green-l: #e5f0e8; --amber: #8a6114; --amber-l: #f8efd9; --red: #a23b2c; --red-l: #f8e4e0;
  --blue: #2c5a7a; --blue-l: #e3edf4; --done: #57534d; --done-l: #ece8e1;
  --r: 10px; --serif: 'Instrument Serif', Georgia, serif; --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--acc-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
h1 { font-size: 34px; line-height: 1.1; }
h2 { font-size: 22px; margin-bottom: 12px; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .95em; letter-spacing: .02em; }
.muted { color: var(--mute); } .small { font-size: 12px; } .nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.r { text-align: right; }
.tbl td.r { white-space: nowrap; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* shell */
.shell { display: flex; min-height: 100vh; }
.side { align-self: flex-start; width: 220px; background: #1d1a16; color: #e9e3d9; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex: none; }
.brand { display: block; font-family: var(--serif); font-size: 26px; color: #fff; padding: 22px 22px 18px; letter-spacing: -.01em; }
.brand span { color: #d9a48f; margin-left: 4px; font-style: italic; }
.brand:hover { text-decoration: none; }
.side nav { flex: 1; padding: 6px 10px; display: flex; flex-direction: column; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 8px; color: #c8bfb2; }
.side nav a:hover { background: #2b2722; color: #fff; text-decoration: none; }
.side nav a.on { background: #34302a; color: #fff; box-shadow: inset 3px 0 0 #d9a48f; }
.me { padding: 16px 20px 20px; border-top: 1px solid #2f2a24; }
.me-name { color: #fff; font-weight: 500; }
.me-role { color: #9a9083; font-size: 12px; margin: 2px 0 8px; }
.me-links { display: flex; gap: 12px; align-items: center; font-size: 12px; }
.me-links a, .me-links button { color: #c8bfb2; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.me-links form { margin: 0; }
main { flex: 1; min-width: 0; padding: 30px 36px 120px; max-width: 1180px; }
main.wide { max-width: 1440px; }

.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.ph p { margin: 6px 0 0; color: var(--ink2); }
.ph h1 .badge { vertical-align: middle; font-family: var(--sans); }
.ph-act { display: flex; gap: 8px; flex-wrap: wrap; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin-bottom: 18px; }
.card.flush { padding: 0; overflow-x: auto; }
.card.flush > h2.pad { padding: 18px 22px 4px; }
.card.narrow { max-width: 460px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { margin: 0; display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.stat span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.stat b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.15; }
.stat small { color: var(--ink2); }
a.stat:hover { border-color: var(--line2); text-decoration: none; }
.grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.grid2 .card { margin-bottom: 18px; }
.grid-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack > .card { margin: 0; }
.stack-s { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.count { font-family: var(--sans); font-size: 13px; background: var(--done-l); color: var(--ink2); border-radius: 20px; padding: 2px 9px; vertical-align: middle; }

/* bars chart */
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 160px; align-items: end; }
.bar-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 4px; }
.bar-col span { font-size: 11px; color: var(--mute); }
.bar-fill { width: 100%; background: #dcc3b6; border-radius: 4px 4px 0 0; min-height: 2px; }
.bar-fill.now { background: var(--acc); }

/* tables */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.tbl tbody tr:nth-child(even) td { background: #faf7f1; }
.tbl th { border-bottom: 2px solid var(--line2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl.click tbody tr { cursor: pointer; }
.tbl.click tbody tr:hover td { background: #faf6ef; }
.card:not(.flush) .tbl th:first-child, .card:not(.flush) .tbl td:first-child { padding-left: 0; }
.card:not(.flush) .tbl th:last-child, .card:not(.flush) .tbl td:last-child { padding-right: 0; }
.card.flush .tbl th:first-child, .card.flush .tbl td:first-child { padding-left: 22px; }
.card.flush .tbl th:last-child, .card.flush .tbl td:last-child { padding-right: 22px; }
tr.dim td { color: var(--mute); }
.ellip { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.neg { color: var(--red); } .pos { color: var(--green); } .warn { color: var(--amber); }
.sup { font-size: 12px; color: var(--mute); background: var(--done-l); padding: 1px 6px; border-radius: 4px; font-weight: 400; }
.l-title { font-weight: 500; }
.tbl.edit td { padding: 6px 6px; border: 0; } .tbl.edit th { padding: 6px; }
.tbl.edit input:not([type=checkbox]), .tbl.edit select { width: 100%; }

/* badges */
.badge { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.b-grey { background: var(--done-l); color: var(--ink2); } .b-green { background: var(--green-l); color: var(--green); }
.b-amber { background: var(--amber-l); color: var(--amber); } .b-red { background: var(--red-l); color: var(--red); }
.b-blue { background: var(--blue-l); color: var(--blue); } .b-done { background: var(--done-l); color: var(--done); }
.needs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

/* forms */
label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 500; color: var(--ink2); flex: 1; min-width: 0; }
label.check, label.pill { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; color: var(--ink); flex: none; cursor: pointer; }
label.xs { flex: 0 0 110px; }
label.grow2 { flex: 2; }
input, select, textarea { font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line2); border-radius: 8px; padding: 9px 11px; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid #e2b9a8; outline-offset: 0; border-color: var(--acc); }
input[type=checkbox], input[type=radio] { width: 17px; height: 17px; accent-color: var(--acc); margin: 0; }
input:disabled, select:disabled { background: #f1ede6; color: var(--ink2); }
input.num { width: 80px; } .num-w { width: 110px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; align-items: flex-end; }
.row:last-child { margin-bottom: 0; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
legend { font-size: 12px; font-weight: 500; color: var(--ink2); padding: 0 6px; }
fieldset p { flex-basis: 100%; margin: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 16px; }
.filters input[name=q] { flex: 1 1 260px; }
.wish { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill { border: 1px solid var(--line2); border-radius: 30px; padding: 8px 14px; background: #fff; }
.pill:has(input:checked) { border-color: var(--acc); background: var(--acc-l); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 500; font-size: 14px; border-radius: 8px;
  padding: 9px 15px; border: 1px solid var(--line2); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; }
.btn:hover { background: #f8f4ee; text-decoration: none; }
.btn.primary { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn.primary:hover { background: var(--acc-d); }
.btn.danger { color: var(--red); border-color: #e5c2bb; }
.btn.danger-solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.danger-solid:hover { background: #87301f; }
.danger-zone { border-color: #ecd0c9; }
.btn.ghost { border-color: transparent; background: none; color: var(--ink2); }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.big { padding: 12px 22px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-row.end { justify-content: flex-end; margin-top: 8px; }
.btn-row form { margin: 0; }
.linkbtn { background: none; border: 0; color: var(--acc-d); cursor: pointer; font: inherit; font-size: 11px; padding: 0 0 0 6px; }
.x { background: none; border: 0; color: var(--mute); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 6px; }
.x:hover { color: var(--red); }
form.inline { display: flex; gap: 8px; }

/* flash, alerts */
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; transition: opacity .6s; }
.flash-ok { background: var(--green-l); color: var(--green); } .flash-err { background: var(--red-l); color: var(--red); }
.flash.gone { opacity: 0; }
.alert { display: block; background: var(--amber-l); color: var(--amber); border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-weight: 500; }
.alert.soft { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.empty { color: var(--mute); padding: 26px 22px; margin: 0; }

/* order form lines */
.ln { border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.ln-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ln-kind { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.ln-grid { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.ln-opts { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.ln-opts .pill { padding: 6px 12px; font-size: 13px; }
.ln-opts select, .ln-opts input:not([type=checkbox]):not([type=radio]) { flex: 1 1 220px; }
.ln-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.ln-price { display: flex; gap: 10px; align-items: flex-end; }
.ln-total { min-width: 110px; text-align: right; font-weight: 600; padding-bottom: 9px; }
.totals { margin-left: auto; max-width: 380px; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.totals div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.totals input { width: 110px; text-align: right; }
.totals .grand { font-size: 18px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 8px; }
.totals.static { margin-top: 14px; }
.sticky-save { position: sticky; bottom: 0; background: rgba(246, 243, 237, .94); backdrop-filter: blur(6px); border-top: 1px solid var(--line);
  margin: 0 -36px; padding: 14px 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; z-index: 5; }

/* detail */
.addr { margin: 0 0 10px; line-height: 1.6; }
.note { background: #faf6ef; border-radius: 8px; padding: 10px 12px; margin: 10px 0 0; }
.note.internal { background: var(--blue-l); }
.status-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.status-actions form { margin: 0; }
.small-info p { margin: 0 0 10px; font-size: 13px; }
.links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.history { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.history > li { border-left: 2px solid var(--line2); padding-left: 12px; }
.h-meta { font-size: 12px; color: var(--mute); }
.h-act { font-weight: 500; }
.h-changes { margin: 4px 0 0; padding-left: 16px; font-size: 13px; color: var(--ink2); }
.old { color: var(--mute); text-decoration: line-through; }
.defects { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.defects li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 8px; background: var(--red-l); }
.defects li.done { background: var(--done-l); color: var(--mute); text-decoration: line-through; }
.defects li form { grid-row: 1 / 3; grid-column: 2; align-self: center; margin: 0; }
.wl-item { margin-bottom: 4px; }

/* settings */
.set-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; padding: 12px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row label { flex: 1 1 130px; } .set-row label.xs { flex: 0 0 90px; } .set-row label.check { flex: none; padding-bottom: 9px; }

/* dialog */
.dlg { border: 0; border-radius: 14px; padding: 24px 26px; width: min(560px, 94vw); box-shadow: 0 30px 80px rgba(29, 26, 22, .25); }
.dlg::backdrop { background: rgba(29, 26, 22, .35); }
.dlg form { display: flex; flex-direction: column; gap: 12px; }

/* login & errors */
body.login { display: grid; place-items: center; min-height: 100vh; background: #1d1a16; }
.login-card { background: var(--card); border-radius: 16px; padding: 38px 36px; width: min(400px, 92vw); }
.login-card .brand { color: var(--ink); padding: 0; font-size: 40px; }
.login-card .brand span { color: var(--acc); }
.login-card p { margin: 6px 0 24px; }
.errpage { max-width: 520px; margin: 14vh auto; padding: 0 20px; }
.errpage h1 { margin-bottom: 8px; }

/* phones and tablets */
@media (max-width: 980px) {
  .grid-detail, .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { flex-direction: column; }
  .side { width: auto; max-width: 100vw; align-self: stretch; height: auto; position: sticky; top: 0; z-index: 10; flex-direction: row; align-items: center; overflow-x: auto; }
  main { min-width: 0; max-width: 100vw; }
  .brand { padding: 12px 14px; font-size: 20px; }
  .side nav { flex-direction: row; padding: 6px; }
  .side nav a span { display: none; }
  .me { display: none; }
  main { padding: 18px 16px 120px; }
  .sticky-save { margin: 0 -16px; padding: 12px 16px; }
  h1 { font-size: 28px; }
  label.xs { flex: 1 1 90px; }
}

/* bestelbon wizard */
.ic-s { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
.wz-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; align-items: flex-end; }
.wz-meta label { flex: 1 1 200px; max-width: 280px; }
.wz-meta label.xs2 { flex: 0 0 160px; }
.wz-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.wz-tab { display: flex; gap: 10px; align-items: center; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; cursor: pointer; font: inherit; color: var(--ink2); min-width: 0; }
.wz-tab:hover { border-color: var(--line2); }
.wz-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px;
  background: var(--done-l); color: var(--ink2); }
.wz-t { display: flex; flex-direction: column; min-width: 0; font-weight: 500; font-size: 13px; }
.wz-t small { font-weight: 400; color: var(--mute); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1em; }
.wz-tab.done .wz-n { background: var(--green-l); color: var(--green); }
.wz-tab.done .wz-n { font-size: 0; }
.wz-tab.done .wz-n::after { content: '✓'; font-size: 13px; }
.wz-tab.active { border-color: var(--acc); background: var(--acc-l); color: var(--ink); }
.wz-tab.active .wz-n { background: var(--acc); color: #fff; }
.wz-step { display: none; }
.wz-step.active { display: block; }
.wz-step h2 { font-size: 26px; margin-bottom: 4px; }
.wz-help { margin: 0 0 16px; }
.wz-sub { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.wz-step h3.wz-sub:first-of-type { border-top: 0; padding-top: 0; margin-top: 8px; }
.wz-q { font-weight: 600; font-size: 14px; margin: 18px 0 8px; }
.wz-q:first-child { margin-top: 6px; }
.wz-err { display: none; background: var(--red-l); color: var(--red); border-radius: 8px; padding: 10px 14px; margin-top: 14px; font-weight: 500; }
.wz-err.on { display: block; }
.btn.add { margin-top: 2px; }
.note-box { background: #faf6ef; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0 0 12px; }
.wz-bar #wz-prev:disabled { visibility: hidden; }
.wz-bar #save-total { margin-left: auto; }

/* product cards: details left, price right */
.ln-body { display: flex; gap: 18px; align-items: flex-start; }
.ln-main { flex: 1; min-width: 0; }
.ln-stock { margin-top: 10px; min-height: 0; }
.ln-stock:empty { display: none; }
.ln-grid label.sm { flex: 0 0 130px; }
.ln-grid.notes { margin-top: 10px; }
.opt-lbl { font-size: 12px; font-weight: 500; color: var(--ink2); margin-right: 2px; }

/* price box with edit + undo */
.pr { flex: none; width: 210px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.pr-total { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pr-calc, .pr-was { font-size: 12px; color: var(--mute); }
.pr-changed .pr-total { color: var(--acc-d); }
.pr-was { text-decoration: line-through; }
.pr-why { font-size: 12px; color: var(--red); text-align: right; }
.pr-acts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-top: 2px; }
.pr-btn { background: none; border: 0; padding: 3px 0; font: inherit; font-size: 12.5px; color: var(--acc-d); cursor: pointer; }
.pr-btn:hover { text-decoration: underline; }
.pr-btn.undo { color: var(--ink2); font-weight: 600; }
.pr-form { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 4px; text-align: left; }
.pr-form input { text-align: right; }
.pr-form .btn { align-self: flex-end; }

/* delivery step */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { flex-direction: row; align-items: flex-start; gap: 10px; border: 1px solid var(--line2); border-radius: 10px; padding: 14px 16px;
  background: #fff; cursor: pointer; font-size: 14px; color: var(--ink); font-weight: 400; }
.choice input { margin-top: 3px; }
.choice span { display: flex; flex-direction: column; gap: 3px; }
.choice small { color: var(--ink2); font-size: 12.5px; }
.choice.on, .choice:has(input:checked) { border-color: var(--acc); background: var(--acc-l); }
.km-box { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px 16px; margin-top: 4px; }
.km-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.km-row:first-child { border-top: 0; }
.km-lbl { font-size: 12px; font-weight: 500; color: var(--ink2); display: flex; flex-direction: column; padding-top: 2px; }
.km-lbl small { font-weight: 400; color: var(--mute); }
.km-val { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.km-num { font-size: 18px; }
.km-edit { display: flex; gap: 8px; align-items: center; flex: 1; flex-wrap: wrap; }
.km-edit input { flex: 1 1 260px; }
.km-edit input.num { flex: 0 0 100px; }
.km-msg { flex-basis: 100%; font-size: 12.5px; color: var(--ink2); }
.km-msg.warn { color: var(--amber); } .km-msg.err { color: var(--red); }
.km-svc { justify-content: space-between; align-items: flex-start; }
.wish { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wish input[type=date] { width: 180px; }

/* premium service step */
.ps-group { margin-bottom: 18px; }
.ps-group h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0 0 6px; }
.ps-group > p { margin: -2px 0 8px; }
.ps-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 9px; margin-bottom: 6px; background: #fff; }
.ps-row.on { border-color: var(--acc); }
.ps-pick { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding-top: 2px; }
.ps-price { color: var(--ink2); padding-top: 2px; }
.qty-inline { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.qty-inline input { width: 70px; padding: 5px 8px; }

/* overview */
.tbl.ov .ov-g td { background: #faf6ef; font-weight: 600; }
.tbl.ov .ov-g .linkbtn { font-size: 12px; float: right; font-weight: 500; }
.tbl.ov tbody tr:nth-child(even) td { background: none; }
.tbl.ov tbody tr.ov-g td { background: #faf6ef; }
.same-addr { margin: 4px 0 12px; }

@media (max-width: 900px) {
  .wz-steps { display: flex; overflow-x: auto; }
  .wz-tab { flex: 0 0 auto; }
  .wz-t small { max-width: 140px; }
}
@media (max-width: 760px) {
  .ln-body { flex-direction: column; }
  .pr { width: 100%; }
  .choices { grid-template-columns: 1fr; }
  .km-row { grid-template-columns: 1fr; gap: 6px; }
  .wz-meta label, .wz-meta label.xs2 { flex: 1 1 100%; max-width: none; }
  .wz-nn { display: none; }
  .wz-bar { gap: 10px; }
  .wz-bar .btn.big { padding: 11px 16px; }
  .wz-bar #save-total { font-size: 13px; text-align: right; }
}
.split-wish { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.split-wish .opt-lbl { flex-basis: 100%; }
.split-wish .split-date { width: 170px; }
/* phones: wide tables scroll inside their card instead of widening the page */
.grid-detail > *, .grid2 > * { min-width: 0; }
@media (max-width: 760px) { .card { overflow-x: auto; } }
.push-right { margin-left: auto; }
