:root {
  color-scheme: light;
  --bg: #f3ecff;
  --panel: #fffaf0;
  --panel-strong: #f7edff;
  --ink: #26123d;
  --muted: #6a557b;
  --line: rgba(75, 25, 125, 0.18);
  --accent: #44207f;
  --accent-dark: #241047;
  --gold: #f3c21b;
  --gold-deep: #b27a18;
  --leg-green: #513098;
  --leg-green-dark: #3a1166;
  --shadow: 0 22px 60px rgba(58, 17, 102, 0.16);
}

body[data-theme="county-line"],
body[data-theme="barn-red"] {
  --bg: #f3ecff;
  --panel: #fffaf0;
  --panel-strong: #f7edff;
  --ink: #26123d;
  --muted: #6a557b;
  --line: rgba(75, 25, 125, 0.18);
  --accent: #44207f;
  --accent-dark: #241047;
  --gold: #f3c21b;
  --gold-deep: #b27a18;
  --leg-green: #513098;
  --leg-green-dark: #3a1166;
  --shadow: 0 22px 60px rgba(58, 17, 102, 0.16);
}

body[data-theme="royal-purple"] {
  --bg: #efe7fb;
  --panel: #fbf7ff;
  --panel-strong: #f3ebff;
  --ink: #251533;
  --muted: #69567d;
  --line: rgba(67, 31, 95, 0.14);
  --accent: #7d34c8;
  --accent-dark: #4f1d84;
  --gold: #d3a84d;
  --shadow: 0 20px 60px rgba(76, 35, 118, 0.16);
}

body[data-theme="midnight-ledger"] {
  --bg: #e8edf2;
  --panel: #f7fafc;
  --panel-strong: #eef3f8;
  --ink: #13202b;
  --muted: #546575;
  --line: rgba(16, 39, 58, 0.12);
  --accent: #1d5f93;
  --accent-dark: #133d60;
  --gold: #d0a248;
  --shadow: 0 20px 60px rgba(24, 48, 71, 0.14);
}

body[data-theme="pine-market"] {
  --bg: #e8f0e8;
  --panel: #f9fdf8;
  --panel-strong: #edf7ec;
  --ink: #173024;
  --muted: #54715f;
  --line: rgba(24, 59, 42, 0.12);
  --accent: #2d7a4d;
  --accent-dark: #1d5133;
  --gold: #caa14d;
  --shadow: 0 20px 60px rgba(30, 74, 47, 0.14);
}

body[data-theme="sunset-ring"] {
  --bg: #fbede5;
  --panel: #fff8f3;
  --panel-strong: #ffefe5;
  --ink: #342018;
  --muted: #7d5d4a;
  --line: rgba(89, 46, 26, 0.12);
  --accent: #d05d2f;
  --accent-dark: #8a3415;
  --gold: #d69c47;
  --shadow: 0 20px 60px rgba(120, 59, 31, 0.15);
}

body[data-theme="blue-ribbon"] {
  --bg: #e8f1fb;
  --panel: #f8fbff;
  --panel-strong: #edf5ff;
  --ink: #18263a;
  --muted: #5d7088;
  --line: rgba(30, 55, 89, 0.12);
  --accent: #2d69c7;
  --accent-dark: #18448b;
  --gold: #d5a249;
  --shadow: 0 20px 60px rgba(37, 65, 107, 0.15);
}

body[data-theme="rose-parlor"] {
  --bg: #f9e8ec;
  --panel: #fff8fa;
  --panel-strong: #fdeef2;
  --ink: #371d27;
  --muted: #865f6d;
  --line: rgba(91, 38, 56, 0.12);
  --accent: #c14973;
  --accent-dark: #7d2446;
  --gold: #d4a15a;
  --shadow: 0 20px 60px rgba(110, 43, 69, 0.15);
}

body[data-theme="charcoal-gold"] {
  --bg: #ece8e1;
  --panel: #faf7f1;
  --panel-strong: #f1ece4;
  --ink: #22201d;
  --muted: #686057;
  --line: rgba(52, 44, 35, 0.12);
  --accent: #8b6a2d;
  --accent-dark: #58431b;
  --gold: #c99a42;
  --shadow: 0 20px 60px rgba(64, 53, 40, 0.15);
}

body[data-theme="teal-room"] {
  --bg: #e6f5f2;
  --panel: #f7fdfc;
  --panel-strong: #ebf9f6;
  --ink: #14302f;
  --muted: #52706e;
  --line: rgba(20, 63, 60, 0.12);
  --accent: #238a85;
  --accent-dark: #155954;
  --gold: #cda24d;
  --shadow: 0 20px 60px rgba(25, 78, 75, 0.14);
}

body[data-theme="copper-yard"] {
  --bg: #f3e8e1;
  --panel: #fcf8f5;
  --panel-strong: #f5ede8;
  --ink: #311d17;
  --muted: #73564b;
  --line: rgba(76, 42, 30, 0.12);
  --accent: #b85a33;
  --accent-dark: #75341a;
  --gold: #d6a15a;
  --shadow: 0 20px 60px rgba(104, 52, 31, 0.15);
}

body[data-theme="orchid-night"] {
  --bg: #f2e7f6;
  --panel: #fbf7fd;
  --panel-strong: #f3ebf8;
  --ink: #2f1935;
  --muted: #795d82;
  --line: rgba(74, 39, 87, 0.12);
  --accent: #9a47b8;
  --accent-dark: #65277c;
  --gold: #d8af62;
  --shadow: 0 20px 60px rgba(91, 45, 109, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(75, 25, 125, 0.22), transparent 24%),
    radial-gradient(circle at bottom left, rgba(240, 198, 74, 0.22), transparent 26%),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.10) 0,
      rgba(255, 255, 255, 0.10) 18px,
      rgba(75, 25, 125, 0.035) 18px,
      rgba(75, 25, 125, 0.035) 36px
    ),
    linear-gradient(180deg, #fffaf0 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: Rockwell, "Bookman Old Style", Cambria, Georgia, serif;
}

body[data-theme="county-line"],
body[data-theme="barn-red"],
body[data-theme="royal-purple"],
body[data-theme="orchid-night"] {
  background:
    radial-gradient(circle at top right, rgba(75, 25, 125, 0.24), transparent 24%),
    radial-gradient(circle at bottom left, rgba(240, 198, 74, 0.20), transparent 26%),
    linear-gradient(180deg, #fffaf0 0%, var(--bg) 100%);
}

body[data-theme="midnight-ledger"] {
  background:
    radial-gradient(circle at top right, rgba(45, 105, 199, 0.18), transparent 24%),
    linear-gradient(180deg, #f4f8fc 0%, var(--bg) 100%);
}

body[data-theme="pine-market"] {
  background:
    radial-gradient(circle at top right, rgba(45, 122, 77, 0.18), transparent 24%),
    linear-gradient(180deg, #f7fcf7 0%, var(--bg) 100%);
}

body[data-theme="sunset-ring"] {
  background:
    radial-gradient(circle at top right, rgba(208, 93, 47, 0.2), transparent 24%),
    linear-gradient(180deg, #fff7f2 0%, var(--bg) 100%);
}

body[data-theme="blue-ribbon"] {
  background:
    radial-gradient(circle at top right, rgba(45, 105, 199, 0.2), transparent 24%),
    linear-gradient(180deg, #f5f9ff 0%, var(--bg) 100%);
}

body[data-theme="rose-parlor"] {
  background:
    radial-gradient(circle at top right, rgba(193, 73, 115, 0.2), transparent 24%),
    linear-gradient(180deg, #fff7fa 0%, var(--bg) 100%);
}

body[data-theme="charcoal-gold"] {
  background:
    radial-gradient(circle at top right, rgba(139, 106, 45, 0.18), transparent 24%),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 100%);
}

body[data-theme="teal-room"] {
  background:
    radial-gradient(circle at top right, rgba(35, 138, 133, 0.2), transparent 24%),
    linear-gradient(180deg, #f5fdfb 0%, var(--bg) 100%);
}

body[data-theme="copper-yard"] {
  background:
    radial-gradient(circle at top right, rgba(184, 90, 51, 0.2), transparent 24%),
    linear-gradient(180deg, #fcf7f4 0%, var(--bg) 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea,
.panel,
.toast,
.status-banner {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease,
    opacity 160ms ease;
}

.hero {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.24), transparent 20%),
    linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 45%, #513098 66%, var(--gold) 100%);
  color: #fff3a6;
  border-bottom: 5px solid var(--gold);
  box-shadow: inset 0 -10px 24px rgba(42, 13, 73, 0.24), 0 14px 36px rgba(58, 17, 102, 0.16);
}

.hero__logo {
  width: 100%;
  max-width: 220px;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  background: #fff3a6;
  border: 4px solid rgba(240, 198, 74, 0.86);
}

.hero__copy h1,
.panel h2 {
  margin: 0;
  letter-spacing: 0.02em;
  font-family: Rockwell, "Bookman Old Style", Georgia, serif;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero__text {
  max-width: 42rem;
  color: rgba(255, 248, 223, 0.9);
}

.hero__actions {
  margin-top: 1rem;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, #ffd95a 100%);
  color: var(--accent-dark);
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.hero__metrics {
  display: grid;
  gap: 0.9rem;
}

.metric {
  padding: 1rem;
  border: 1px solid rgba(240, 198, 74, 0.30);
  border-radius: 18px;
  background: rgba(42, 13, 73, 0.30);
}

.metric__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 248, 223, 0.76);
}

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
}

.panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 22%),
    linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
  box-shadow: var(--shadow);
}

.panel--wide {
  grid-column: span 2;
}

.nav-panel {
  grid-row: span 20;
}

.menu-list {
  display: grid;
  gap: 0.65rem;
}

.menu-button {
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(75, 25, 125, 0.18);
  background: rgba(255, 250, 240, 0.82);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.menu-button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(42, 24, 13, 0.12);
}

.menu-button:active,
.button:active {
  transform: translateY(0);
}

.menu-button.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 72%, #1b082f 100%);
  color: #fff3a6;
  border-color: rgba(240, 198, 74, 0.55);
  box-shadow: inset 0 0 0 1px rgba(240, 198, 74, 0.22);
}

.view-section {
  display: none;
}

.view-section.is-visible {
  display: block;
}

.panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.current-lot {
  min-height: 180px;
  padding: 1rem;
  border: 2px dashed rgba(111, 143, 49, 0.4);
  border-radius: 20px;
  background: rgba(255, 252, 225, 0.55);
}

.current-lot.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.current-lot__wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
}

.current-lot__wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.stack,
.grid-form {
  display: grid;
  gap: 0.85rem;
}

.grid-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-span-2 {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(111, 143, 49, 0.2);
  border-radius: 14px;
  background: #fffdf2;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 127, 30, 0.14);
}

textarea {
  resize: vertical;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fffdf3;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.button[disabled],
.menu-button[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.button.is-busy::after {
  content: " ...";
}

.button--ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--leg-green-dark);
  border: 1px solid rgba(111, 143, 49, 0.25);
}

.inline-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.action-row {
  margin-top: 1rem;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

th {
  background: rgba(111, 143, 49, 0.08);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #4f3415;
  color: #fff3a6;
  box-shadow: var(--shadow);
}

.toast--error {
  background: #7d1d1d;
}

.toast--success {
  background: #204f32;
}

.status-banner {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 0.7rem 1.1rem;
  background: rgba(255, 248, 214, 0.96);
  border-top: 1px solid var(--line);
  color: var(--muted);
  backdrop-filter: blur(10px);
}

.print-content {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  min-height: 140px;
  border: 1px solid var(--line);
}

.receipt-list {
  margin: 0;
  padding-left: 1.2rem;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.report-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.report-card__label {
  display: block;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.settings-callout {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 253, 231, 0.7);
  border: 1px solid var(--line);
  color: var(--muted);
}

.theme-preview {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.theme-chip {
  min-height: 86px;
  padding: 0.8rem;
  border-radius: 18px;
  border: 2px solid transparent;
  display: grid;
  align-content: space-between;
  color: #fff;
  font-weight: 700;
}

.theme-chip.is-selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
}

.theme-chip__swatch {
  display: flex;
  gap: 0.35rem;
}

.theme-chip__swatch span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@media (max-width: 1080px) {
  .hero,
  .layout,
  .current-lot__wrap,
  .grid-form,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .nav-panel {
    grid-row: auto;
  }

  .panel--wide,
  .grid-span-2 {
    grid-column: span 1;
  }
}

@media print {
  body {
    background: #fff;
  }

  .hero,
  .layout > :not(.print-area) {
    display: none !important;
  }

  .print-area,
  [data-view-panel="cashier"] {
    display: block !important;
    box-shadow: none;
    border: 0;
    padding: 0;
  }
}

/* CLA workflow refactor pass: top mode bar + one-task screens */
.mode-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sync-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(32, 79, 50, .10);
  color: #204f32;
  border: 1px solid rgba(32, 79, 50, .24);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1220px;
  margin: 0 auto;
  gap: 1rem;
}

.nav-panel {
  position: sticky;
  top: 0;
  z-index: 10;
  grid-row: auto;
  border-radius: 0 0 24px 24px;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.menu-button {
  text-align: center;
  white-space: nowrap;
  padding: .82rem 1rem;
}

.panel--wide {
  grid-column: auto;
}

.view-section.is-visible {
  display: grid;
  gap: 1rem;
}

.view-section[data-view-panel="dashboard live"].is-visible,
.view-section[data-view-panel="cashier seller-payout"].is-visible {
  display: block;
}

.hero {
  grid-template-columns: 148px minmax(0, 1fr) minmax(260px, 340px);
  padding: 1.25rem 1.6rem;
  gap: 1.1rem;
}

.hero__logo {
  max-width: 132px;
  border-radius: 24px;
}

.hero__copy h1 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: .95;
}

.hero__text {
  font-size: 1.03rem;
  margin-bottom: 0;
}

.current-lot {
  min-height: 220px;
  border-style: solid;
  border-width: 2px;
}

[data-view-panel="live"] #sell-form,
[data-view-panel="cashier"] #payment-form,
[data-view-panel="seller-payout"] #settlement-form,
[data-view-panel="buyers"] #bidder-form-buyers,
[data-view-panel="sellers"] #seller-form-sellers {
  max-width: 760px;
}

[data-view-panel="live"] input[name="lotNumber"],
[data-view-panel="live"] input[name="bidderNumber"],
[data-view-panel="live"] input[name="hammerPrice"],
[data-view-panel="cashier"] input[name="bidderNumber"],
[data-view-panel="seller-payout"] input[name="sellerNumber"] {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  padding: 1rem 1.1rem;
}

[data-view-panel="live"] .button,
[data-view-panel="cashier"] .button,
[data-view-panel="seller-payout"] .button {
  font-size: 1.03rem;
  padding: 1rem 1.3rem;
}

@media (max-width: 1080px) {
  .layout { max-width: none; }
  .hero { grid-template-columns: 110px 1fr; }
  .hero__metrics { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__logo { margin: 0 auto; }
  .hero__metrics { grid-template-columns: 1fr; }
  .mode-heading { display: grid; }
  .menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-button { white-space: normal; }
}

.station-controls {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.station-role-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}

.station-role-label select {
  width: auto;
  min-width: 150px;
  padding: .55rem .75rem;
  border-radius: 999px;
  font-size: .9rem;
  text-transform: none;
  letter-spacing: 0;
}

.sync-pill[data-sync-state="connecting"] {
  background: rgba(208, 157, 47, .12);
  border-color: rgba(208, 157, 47, .34);
  color: #7a511b;
}

.sync-pill[data-sync-state="reconnecting"] {
  background: rgba(125, 29, 29, .10);
  border-color: rgba(125, 29, 29, .30);
  color: #7d1d1d;
}

.lot-thumb-button {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.64);
  cursor: zoom-in;
  overflow: hidden;
}

.lot-thumb-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(42,24,13,.16);
}

.lot-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lot-thumb-empty {
  color: var(--muted);
  opacity: .62;
}

.lot-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(34, 32, 29, .72);
  backdrop-filter: blur(8px);
}

.lot-preview-modal[hidden] {
  display: none;
}

.lot-preview-card {
  margin: 0;
  width: min(920px, 92vw);
  max-height: 88vh;
  padding: 1rem;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.lot-preview-card img {
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fffdf2;
}

.lot-preview-card figcaption {
  margin-top: .75rem;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.lot-preview-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 51;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #fffdf2;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

.lookup-preview {
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.56);
  color: var(--muted);
  font-weight: 700;
}

.lookup-preview.is-found {
  border-color: rgba(49, 128, 82, .42);
  background: rgba(212, 245, 225, .64);
  color: #195a35;
}

.lookup-preview.is-missing {
  border-color: rgba(172, 68, 47, .42);
  background: rgba(255, 226, 219, .68);
  color: #8f2f22;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.quick-add-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.48);
}

.quick-add-panel summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--accent-dark);
}

.compact-lot-form {
  margin-top: 1rem;
}

.checkout-preview {
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.58);
  color: var(--ink);
}

.mini-table {
  width: 100%;
  margin-top: .65rem;
  border-collapse: collapse;
  font-size: .92rem;
}

.mini-table th,
.mini-table td {
  padding: .45rem .5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.checkout-totals {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: .75rem;
  font-weight: 800;
}

.admin-danger-zone {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(172, 68, 47, .38);
  border-radius: 18px;
  background: rgba(255, 239, 234, .72);
}

.admin-danger-zone h3 {
  margin-top: 0;
  color: #8f2f22;
}

.confirm-line {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
}

.confirm-line input {
  width: auto;
}

.button--danger {
  background: #a83b2d;
  color: #fff;
}

