

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {

  --brand:        #188148;
  --brand-dark:   #0f5c33;
  --brand-mid:    #2ea463;
  --brand-soft:   #eaf6ef;
  --brand-line:   #bfe3ce;
  --accent:       #ffe900;
  --accent-soft:  #fff6e5;
  --accent-line:  #f0d9ab;

  --surface:          #fff;
  --surface-sunken:   #f7f9f8;
  --surface-raised:   #fbfcfb;
  --on-surface:       #1c2b22;
  --on-surface-2:     #43574c;
  --on-surface-muted: #5f6f66;

  --border:        #e4e9e6;
  --border-strong: #8b9a93;
  --ring:          #188148;

  --primary:        var(--brand);
  --on-primary:     #fff;
  --danger:         #c0392b;
  --danger-soft:    #fdf0ee;
  --danger-line:    #f3c9c2;
  --warning:        #8a5800;
  --warning-soft:   var(--accent-soft);
  --warning-line:   var(--accent-line);
  --info:           #1d5fa8;
  --info-soft:      #eef4fb;
  --info-line:      #c3d8ee;

  --fs-xs:  12px;
  --fs-sm:  13px;
  --fs-md:  14px;
  --fs-base:16px;
  --fs-lg:  18px;
  --fs-xl:  24px;
  --fs-2xl: 32px;

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;
  --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 1px 3px rgba(20, 45, 32, .05), 0 10px 24px rgba(20, 45, 32, .06);
  --shadow-sm: 0 1px 3px rgba(20, 45, 32, .07);

  --t-tap:   120ms;
  --t-hover: 180ms;
  --t-move:  260ms;
  --ease:    cubic-bezier(.2, .7, .3, 1);

  --green: var(--brand);
  --green-dark: var(--brand-dark);
  --green-mid: var(--brand-mid);
  --green-soft: var(--brand-soft);
  --green-line: var(--brand-line);
  --yellow: var(--accent);
  --yellow-soft: var(--accent-soft);
  --yellow-line: var(--accent-line);
  --red: var(--danger);
  --red-soft: var(--danger-soft);
  --red-line: var(--danger-line);
  --amber: var(--warning);
  --amber-soft: var(--warning-soft);
  --amber-line: var(--warning-line);
  --blue: var(--info);
  --blue-soft: var(--info-soft);
  --blue-line: var(--info-line);
  --ink: var(--on-surface);
  --ink-2: var(--on-surface-2);
  --muted: var(--on-surface-muted);
  --line: var(--border);
  --line-2: #eef2f0;
  --bg: var(--surface-sunken);
  --white: var(--surface);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Montserrat, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled, .is-disabled { cursor: not-allowed; opacity: .4; pointer-events: none; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }

.ic { flex: none; vertical-align: -.15em; }
.mono { font-family: "SF Mono", "Roboto Mono", Consolas, monospace; font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny  { font-size: 12px; }
.warn-text { color: var(--red); }
.empty { padding: 48px; text-align: center; color: var(--muted); }
.footer-space { height: 76px; }

.app { min-height: 100vh; }

.topbar {
  height: 68px; background: var(--white); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; position: sticky; top: 0; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { height: 34px; width: auto; display: block; }
.brand-wordmark {
  font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--green);
}
.brand-sub {
  padding-left: 14px; border-left: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase;
  letter-spacing: .06em;
}
.top-actions { display: flex; align-items: center; gap: 8px; }

.lang { display: flex; gap: 2px; background: var(--bg); padding: 3px; border-radius: var(--radius-sm); }
.lang a {
  padding: 7px 11px; border-radius: 7px; font-size: 12px; font-weight: 700;
  color: var(--muted); letter-spacing: .04em;
}
.lang a.active { background: var(--white); color: var(--green); box-shadow: var(--shadow-sm); }

.role-chip {
  display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
}
.role-chip .sep { color: var(--line); }
.top-link {
  display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; color: var(--ink-2);
  border: 1px solid var(--line);
}
.top-link:hover { border-color: var(--green); color: var(--green); }
.top-link.plain { border-color: transparent; }

.page { max-width: 1480px; margin: 0 auto; padding: 20px 22px 104px; }

.stepper {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 20px;
  align-items: stretch;
  justify-content: center;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-height: 84px;
  color: var(--on-surface-muted);
}
.step-num {
  position: absolute; top: 6px; left: 8px;
  font-size: 10px; font-weight: 700; color: var(--muted); opacity: .7;
}
.step-ico { display: block; }
.step-lbl {
  font-size: 11px; font-weight: 700; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 18px; align-items: start; }
.layout.single { grid-template-columns: 1fr; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.main-card { padding: 26px 28px; min-height: 540px; }
.side-card { padding: 20px; position: sticky; top: 88px; }

.screen-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 24px; margin-bottom: 6px;
}
.screen-title .ic { color: var(--green); }
.sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
.tbl { width: 100%; border-collapse: collapse; min-width: 760px; }
.tbl th {
  background: #fbfcfb; padding: 12px 14px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line);
}
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .c-mark { width: 44px; }
.tbl .c-num  { width: 90px; text-align: right; font-variant-numeric: tabular-nums; }

.tbl tr.locked { color: var(--muted); background: #fbfcfb; }
.tbl tr.mine   { background: var(--green-soft); }
.tbl tr.plus   { box-shadow: inset 3px 0 var(--yellow); }
.tbl tr.goodrow { background: #f6fbf8; }
.tbl tr.badrow  { background: var(--red-soft); }
.tbl tr.nextrow { box-shadow: inset 3px 0 var(--green); background: var(--green-soft); }

.sku  { font-weight: 700; font-size: 14px; }
.prod { font-weight: 600; }
.cell-sub { margin-top: 3px; font-size: 12px; color: var(--muted); }
.cell-sub.place { display: flex; align-items: center; gap: 6px; }
.cell-sub .shelf {
  padding: 1px 7px; border-radius: 5px; font-weight: 700;
  background: var(--surface-sunken); border: 1px solid var(--border);
  color: var(--on-surface-2);
}
.count { font-weight: 700; font-variant-numeric: tabular-nums; }
.count.is-full { color: var(--green); }

.mark {
  width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: transparent;
}
.mark.done { background: var(--green); border-color: var(--green); color: var(--white); }
.mark.next { background: var(--yellow); border-color: var(--yellow-line); color: var(--ink); }

input[type=checkbox] {
  width: 20px; height: 20px; accent-color: var(--green); cursor: pointer;
}

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px;
  border-radius: 10px; font-size: 12px; font-weight: 700;
  border: 1px solid transparent; white-space: nowrap;
}
.b-green { background: var(--green-soft); color: var(--green-dark); border-color: var(--green-line); }
.b-gray  { background: #f4f6f5; color: var(--muted); border-color: var(--line); }
.b-amber { background: var(--amber-soft); color: var(--amber); border-color: var(--amber-line); }
.b-red   { background: var(--red-soft); color: var(--red); border-color: var(--red-line); }
.b-blue  { background: var(--blue-soft); color: var(--blue); border-color: var(--blue-line); }
.b-dark  { background: var(--ink); color: var(--white); border-color: var(--ink); }
.b-plus  { background: var(--yellow); color: var(--ink); border-color: var(--yellow-line); }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 18px; border: 1px solid transparent;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 700;
  background: none; white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-amber { background: var(--yellow); color: var(--ink); }
.btn-amber:hover { filter: brightness(.94); }
.btn-ghost-red { background: var(--white); border-color: var(--red-line); color: var(--red); }
.btn-ghost-red:hover { background: var(--red-soft); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 36px; padding: 8px 12px; font-size: 13px; }
.btn-block { width: 100%; }

.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 18px; }
.toolbar-right { margin-left: auto; }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 12px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bottom-nav .btn { min-width: 170px; min-height: 48px; font-size: 15px; }
.bottom-note { font-size: 13px; color: var(--muted); text-align: center; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.info { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.info span {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.info b { display: block; margin-top: 4px; font-size: 15px; }

.notice {
  display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid; margin: 0 0 16px; font-size: 14px;
}
.notice .ic { margin-top: 1px; }
.notice.green  { background: var(--green-soft); border-color: var(--green-line); color: var(--green-dark); }
.notice.yellow { background: var(--yellow-soft); border-color: var(--yellow-line); color: var(--amber); }
.notice.red    { background: var(--red-soft); border-color: var(--red-line); color: var(--red); }
.notice.blue   { background: var(--blue-soft); border-color: var(--blue-line); color: var(--blue); }
.notice b { display: block; }

.field label {
  display: block; margin-bottom: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.input, .select {
  width: 100%; min-height: 46px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  outline: none;
}
.input:focus, .select:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(24, 129, 72, .12);
}

.side-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.side-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
}
.order-no { display: block; margin-top: 4px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

.contact { margin: 0; display: grid; gap: 12px; }
.contact div { display: grid; gap: 2px; }
.contact dt {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.contact dd { margin: 0; font-weight: 600; }

.progress-block { margin: 18px 0 14px; }
.progress-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.progress { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.progress > div { height: 100%; background: var(--green); border-radius: 999px; }

.stat-box {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 14px; border: 1px solid var(--green-line); background: var(--green-soft);
  border-radius: var(--radius-sm); color: var(--green-dark);
}
.stat-box span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.stat-box b { margin-left: auto; font-size: 24px; font-weight: 800; }

.instructions {
  margin-top: 16px; padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--yellow-line); background: var(--yellow-soft);
}
.instructions-head { display: flex; align-items: center; gap: 7px; color: var(--amber); }
.instructions p { margin: 8px 0 10px; font-size: 13px; color: var(--ink-2); }
.instructions.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 233, 0, 0); }
  50%      { box-shadow: 0 0 0 5px rgba(255, 233, 0, .35); }
}
.ack-done { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green); }

.scan-zone {
  padding: 26px; border: 1px solid var(--green-line); background: var(--green-soft);
  border-radius: var(--radius); text-align: center; margin-bottom: 18px;
}
.scan-zone .scan-icon { color: var(--green); margin-bottom: 6px; }
.scan-row { display: flex; gap: 8px; max-width: 620px; margin: 14px auto 0; }
.scan-input {
  flex: 1; height: 54px; padding: 0 16px; font-size: 19px; font-weight: 600;
  border: 2px solid var(--green-line); border-radius: var(--radius-sm);
  background: var(--white); outline: none;
}
.scan-input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(24, 129, 72, .12); }
.scan-meta { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.scan-zone .badge { background: #fff; border-color: #cfe3d7; color: var(--on-surface-2); }
.scan-zone .badge.b-red { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.scan-zone .btn-ghost { background: #fff; border-color: #cfe3d7; }

.weight-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin-bottom: 12px;
}
.weight-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; align-items: end; }
.weight-out { display: grid; gap: 8px; }
.refund-out { font-size: 18px; font-weight: 800; color: var(--green); }

.photo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.col-title {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 16px; font-weight: 700;
}
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.photo-slot {
  width: 100%; font: inherit; color: inherit;
  aspect-ratio: 4/3; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm);
  display: grid; place-items: center; color: var(--muted); background: #fbfcfb;
}
.photo-slot:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.photo-item { position: relative; display: block; }
.photo-item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--green-line);
}
.photo-item .del {
  position: absolute; top: 7px; right: 7px; width: 28px; height: 28px;
  border: 0; border-radius: 50%; background: rgba(28, 43, 34, .8); color: var(--white);
  display: grid; place-items: center;
}
.spinner {
  display: none; width: 26px; height: 26px; margin: 14px auto 0;
  border: 3px solid var(--line); border-top-color: var(--green);
  border-radius: 50%; animation: spin .8s linear infinite;
}
.spinner.on { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.status { min-height: 20px; margin-top: 10px; font-size: 13px; font-weight: 600; }
.status.ok { color: var(--green); }
.status.err { color: var(--red); }

.removal {
  border: 1px solid var(--red-line); background: var(--red-soft);
  border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px;
}
.removal b { display: block; }
.removal .meta { font-size: 13px; color: var(--ink-2); margin: 4px 0 10px; }
.refund-total {
  display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.refund-total b { margin-left: auto; font-size: 22px; font-weight: 800; color: var(--red); }

.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }

.invoice-preview {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  max-height: 430px; overflow: auto; background: var(--white);
}
.invoice-head {
  display: flex; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 14px;
}
.invoice-preview table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.invoice-preview th, .invoice-preview td { padding: 8px 6px; border-bottom: 1px solid var(--line-2); text-align: left; }
.preview-totals { margin-top: var(--sp-4); margin-left: auto; max-width: 280px; }
.preview-totals div {
  display: flex; justify-content: space-between; gap: var(--sp-3);
  padding: 5px 0; font-size: var(--fs-sm);
}
.preview-totals .grand {
  margin-top: 6px; padding-top: 9px; border-top: 2px solid var(--on-surface);
  font-size: var(--fs-lg); font-weight: 800;
}

.action-panel {
  padding: 26px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fbfcfb; text-align: center;
}
.action-panel .panel-icon { color: var(--green); margin-bottom: 12px; }
.action-panel h3 { font-size: 16px; margin-bottom: 16px; }
.action-panel .btn { width: 100%; margin-bottom: 8px; }

.counter { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px 0; }
.counter button {
  width: 62px; height: 62px; border: 1px solid var(--line); background: var(--white);
  border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--ink);
}
.counter button:hover { border-color: var(--green); color: var(--green); }
.counter input {
  width: 120px; height: 74px; text-align: center; font-size: 34px; font-weight: 800;
  border: 1.5px solid var(--line); border-radius: var(--radius); font-variant-numeric: tabular-nums;
}
.center-block { max-width: 520px; margin: 20px auto; text-align: center; }
.big-stat {
  padding: 18px; border: 1px solid var(--green-line); background: var(--green-soft);
  border-radius: var(--radius); font-size: 22px; font-weight: 800; color: var(--green-dark);
}

.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.journey .j {
  padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; color: var(--muted);
}
.journey .j .ic { margin-bottom: 8px; }
.journey .j b { display: block; font-size: 13px; color: var(--ink); }
.journey .j .state { font-size: 12px; margin-top: 4px; }
.journey .j.done { background: var(--green-soft); border-color: var(--green-line); color: var(--green-dark); }
.journey .j.wait { background: var(--yellow-soft); border-color: var(--yellow-line); color: var(--amber); }

.backoffice { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 18px; align-items: start; }
.side-nav { padding: 10px; position: sticky; top: 88px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 13px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.nav-item:hover { background: var(--bg); }
.nav-item.active { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.nav-item .count {
  margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px;
  border-radius: 999px; background: var(--line-2); color: var(--ink-2);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.nav-item.active .count { background: var(--green); color: var(--white); }

.group { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.group-head {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  background: #fbfcfb; border-bottom: 1px solid var(--line); font-weight: 700;
}
.group-head .btn { margin-left: auto; }
.order-row {
  display: grid; grid-template-columns: 32px 100px 1fr 130px auto auto;
  gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-2);
}
.order-row:last-child { border-bottom: 0; }
.order-row .boxes-cell {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--ink);
}

.lookup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.panel h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 14px; }

.timeline { max-height: 620px; overflow: auto; padding-left: 20px; border-left: 2px solid var(--line-2); }
.event { position: relative; padding-bottom: 18px; }
.event::before {
  content: ""; position: absolute; left: -26px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--muted); box-shadow: 0 0 0 3px var(--white);
}
.event.good::before  { background: var(--green); }
.event.warn::before  { background: var(--yellow); }
.event.bad::before   { background: var(--red); }
.event.admin::before { background: var(--blue); }
.event .ev-text { font-weight: 600; font-size: 14px; }
.event .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.event .reason { font-size: 12px; color: var(--blue); margin-top: 3px; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg); }
.auth-tabs {
  display: flex; gap: 3px; padding: 3px; margin-bottom: 24px;
  background: var(--bg); border-radius: var(--radius-sm);
}
.auth-tabs a {
  flex: 1; text-align: center; padding: 11px; border-radius: 8px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.auth-tabs a.active { background: var(--white); color: var(--green); box-shadow: var(--shadow-sm); }
.pin-box {
  height: 62px; font-size: 26px; font-weight: 800;
  letter-spacing: 14px; text-align: center;
}

.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; padding: 22px;
  background: rgba(20, 35, 27, .5); display: grid; place-items: center;
}
.modal {
  width: min(600px, 100%); max-height: 88vh; overflow: auto; padding: 26px;
  background: var(--white); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}
.modal h2 { font-size: 19px; margin-bottom: 14px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

.toast-wrap { position: fixed; top: 84px; right: 20px; z-index: 150; display: grid; gap: 8px; }
.toast {
  min-width: 280px; max-width: 400px; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow); animation: slide .18s ease-out;
}
.toast.good { background: var(--green); }
.toast.bad  { background: var(--red); }
.toast.warn { background: var(--yellow); color: var(--ink); }
@keyframes slide { from { transform: translateX(12px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 1180px) {
  .layout, .backoffice, .lookup-grid { grid-template-columns: 1fr; }
  .side-card, .side-nav { position: static; }
  .side-nav { display: flex; gap: 6px; overflow-x: auto; }
  .nav-item { white-space: nowrap; }
  .stepper { grid-template-columns: repeat(11, 84px); overflow-x: auto; padding-bottom: 6px; }
  .photo-layout, .split, .weight-grid { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 32px 1fr auto; row-gap: 8px; }
  .order-row > :nth-child(4), .order-row > :nth-child(5) { grid-column: 2 / -1; }
      .bottom-nav .btn { min-width: 0; padding: 11px 14px; }
  .bottom-note { display: none; }
    .main-card { padding: 20px 18px; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

html { scroll-padding-bottom: 96px; scroll-padding-top: 88px; }

.btn,
.nav-item,
.top-link,
.lang a,
.photo-slot,
.counter button,
.step {
  transition: background-color var(--t-hover) var(--ease),
              border-color var(--t-hover) var(--ease),
              color var(--t-hover) var(--ease),
              box-shadow var(--t-hover) var(--ease);
}
.btn:active { transform: none; filter: brightness(.95); }

.btn { min-height: 46px; }
.btn-sm { min-height: 40px; padding: 9px 13px; }
.bottom-nav .btn { min-height: 52px; }

input[type=checkbox] { width: 19px; height: 19px; }

.tbl .c-mark { padding: 0; text-align: center; vertical-align: middle; }
.tbl .c-mark > input[type=checkbox] {
  display: inline-block; margin: 0; vertical-align: middle; cursor: pointer;
}
.tbl .c-mark > .mark { display: inline-grid; vertical-align: middle; }

.tbl .c-thumb { padding-right: 0; }
.row-thumb {
  object-fit: contain; display: block;
  border: 1px solid var(--border); background: var(--surface);
}
.row-thumb.empty {
  display: grid; place-items: center; color: var(--on-surface-muted);
  background: var(--surface-sunken);
}

.photo-item .del { width: 34px; height: 34px; }
.photo-slot { cursor: pointer; min-height: 96px; }
.counter button { width: 64px; height: 64px; }

.input, .select, .scan-input, .counter input, .mark {
  border-color: var(--border-strong);
}

.photo-slot, .nav-item, .lang a, .top-link, .brand { cursor: pointer; }

.btn-spinner {
  width: 16px; height: 16px; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite;
}

.btn:disabled { filter: grayscale(.3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .instructions.pulse { animation: none; box-shadow: 0 0 0 3px rgba(255, 233, 0, .5); }
  .spinner { animation: spin 2.4s linear infinite !important; }
}

@media print {
  .topbar, .bottom-nav, .stepper, .side-nav, .toast-wrap,   .card { box-shadow: none; border: 0; }
}

.tbl tr.picked {
  background: #fff8cc;
  box-shadow: inset 4px 0 var(--accent);
}
.tbl tr.picked td { border-bottom-color: #f0e39a; }
.tbl tr.picked .sku,
.tbl tr.picked .prod { color: #4a3c00; }

.cam-stage {
  position: relative; background: #10201a; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center;
}
.cam-stage video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-hint {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #cfe0d6; font-size: var(--fs-md); font-weight: 600; text-align: center; padding: 20px;
}
.cam-controls {
  display: flex; gap: var(--sp-2); align-items: center; margin-top: var(--sp-4);
}
.cam-controls .select { flex: 1; }
.cam-controls .btn { min-width: 130px; }

.note-body {
  max-height: 128px; overflow: hidden; position: relative;
  font-size: var(--fs-sm); color: var(--on-surface-2); white-space: pre-line;
}
.note-body.open { max-height: none; }
.note-body:not(.open)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42px;
  background: linear-gradient(transparent, var(--accent-soft));
}
.note-toggle {
  background: none; border: 0; padding: 6px 0 0;
  font-size: var(--fs-sm); font-weight: 700; color: var(--warning);
  text-decoration: underline;
}

.edit-reason {
  display: flex; gap: var(--sp-4); align-items: flex-end;
  padding: var(--sp-4); margin-bottom: var(--sp-4);
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  border-radius: var(--radius);
}
.edit-reason .field { flex: 1; margin: 0; }
.edit-reason .muted { max-width: 260px; }

.edit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.input-mini { width: 88px; min-height: 40px; padding: 8px 10px; text-align: center; }

.btn.icon-only { min-width: 40px; padding: 8px; }
.btn.icon-only.is-off { opacity: .45; }

@media (max-width: 1180px) {
  .edit-reason { flex-direction: column; align-items: stretch; }
  .edit-reason .muted { max-width: none; }
  .edit-grid { grid-template-columns: 1fr; }
}

.invoice-delivery {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm); background: var(--accent);
}
.invoice-delivery span {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.invoice-delivery b { margin-left: auto; font-size: var(--fs-base); }

.instructions-bar {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4); margin-bottom: var(--sp-4);
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  border-radius: var(--radius);
}
.instructions-bar .ib-icon { color: var(--warning); flex: none; margin-top: 2px; }
.instructions-bar .ib-text { flex: 1; min-width: 0; }
.instructions-bar .ib-text b {
  display: block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--warning);
}
.instructions-bar .ib-text p { margin: 5px 0 0; font-size: var(--fs-md); }
.instructions-bar .ib-action { flex: none; }
.instructions-bar.pulse { animation: pulse 1.4s ease-in-out infinite; }

.instructions { display: flow-root; }
.instructions .btn, .instructions .ack-done { margin-top: var(--sp-2); }

.login-box {
  width: min(400px, 100%); padding: 32px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.login-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-5);
}
.login-logo { height: 30px; width: auto; }

.timeline, .event, .event .ev-text, .event .meta, .event .reason, .ev-values,
.removal, .removal .meta, .notice, .info b, .contact dd, .cell-sub, .prod {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.ev-values {
  margin-top: 3px; padding: 4px 8px; border-radius: 6px;
  background: var(--surface-sunken); font-family: "SF Mono", Consolas, monospace;
}

.panel, .card, .lookup-grid > div { min-width: 0; }
.timeline { padding-right: var(--sp-2); }

.manual-panel {
  padding: var(--sp-4); margin-bottom: var(--sp-4);
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  border-radius: var(--radius);
}
.manual-head {
  display: flex; align-items: center; gap: var(--sp-2);
  margin-bottom: var(--sp-3); color: var(--warning);
}
.manual-list {
  max-height: 340px; overflow-y: auto; margin-top: var(--sp-3);
  display: grid; gap: 6px;
}
.manual-item {
  display: flex; align-items: center; gap: var(--sp-3); width: 100%;
  padding: 8px 10px; text-align: left; font: inherit;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.manual-item:hover { border-color: var(--brand); background: var(--brand-soft); }
.manual-item img, .manual-item .mi-noimg {
  flex: none; object-fit: contain;
  border: 1px solid var(--border); border-radius: 7px; background: var(--surface);
}
.manual-item .mi-noimg {
  display: grid; place-items: center; color: var(--on-surface-muted);
  background: var(--surface-sunken);
}
.manual-item .mi-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.manual-item .mi-text b { font-size: var(--fs-sm); }
.manual-item .mi-text span {
  font-size: var(--fs-xs); color: var(--on-surface-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.manual-item .mi-qty {
  flex: none; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--on-surface-2);
}
.manual-empty { padding: var(--sp-4); text-align: center; color: var(--on-surface-muted); }

.step { overflow: hidden; }

.step.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(24, 129, 72, .25);
}
.step.active .step-num { color: #fff; opacity: .75; }

.step::after {
  content: ""; position: absolute; right: -6px; top: 50%;
  width: 6px; height: 2px; background: var(--border); z-index: 1;
}
.step:last-child::after { display: none; }

.badge-row .badge { max-width: 100%; }

@media (max-width: 1180px) {
  .manual-list { max-height: 260px; }
  .step::after { display: none; }
}

@media (max-width: 760px) {
  .page { padding: 14px 12px 108px; }
  .main-card { padding: 16px 14px; }

  .screen-title { font-size: var(--fs-lg); }

  .instructions-bar { flex-wrap: wrap; }
  .instructions-bar .ib-text { flex-basis: 100%; }
  .instructions-bar .ib-action { margin-left: auto; }

  .topbar { height: auto; padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
  .brand-sub { display: none; }
  .role-chip { font-size: var(--fs-xs); padding: 0 10px; }

  .bottom-nav { padding: 10px 12px; gap: 8px; }
  .bottom-nav > div { flex: 1; }
  .bottom-nav .btn { width: 100%; }

  .scan-row { flex-wrap: wrap; }
  .scan-input { flex-basis: 100%; }
  .scan-row .btn { width: 100%; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .counter input { width: 96px; }
  .toolbar .btn { flex: 1 1 auto; }
  .preview-totals { max-width: none; }
  .modal { padding: 18px; }
}

@media (max-width: 560px) {
  .tbl .c-thumb { display: none; }
  .tbl { min-width: 520px; }
}

.badge.b-blue {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  line-height: 1;
  border-radius: 999px;
  padding: 6px 11px;
}
.badge.b-blue .ic { opacity: .9; }

.stepper { align-items: center; }

.step { text-align: center; }

.step.done {
  background: #e2efe8;
  border-color: #9ccdb3;
  color: var(--brand-dark);
}
.step.done .step-num { color: var(--brand-dark); opacity: .6; }
.step.done::after { background: #9ccdb3; }

.step.skipped {
  background: var(--surface-sunken);
  border-color: var(--border);
  color: var(--on-surface-muted);
  opacity: .55;
}

.tbl .c-thumb { width: 48px; vertical-align: middle; }
.row-thumb { width: 36px; height: 36px; border-radius: 6px; }

.tbl td { vertical-align: middle; }

.cell-sub .warn-text {
  display: inline-block; padding: 1px 7px; border-radius: 5px;
  background: var(--danger-soft); border: 1px solid var(--danger-line);
  color: var(--danger); font-weight: 700; letter-spacing: 0;
}

.manual-item img, .manual-item .mi-noimg { width: 36px; height: 36px; }
.manual-item { min-height: 52px; }

.badge.b-blue,
.badge.b-green {
  background: #e2efe8;
  border-color: #9ccdb3;
  color: var(--brand-dark);
  line-height: 1;
  border-radius: 10px;
  padding: 6px 11px;
}

.scan-zone { padding: 34px 24px; }
.scan-zone .scan-icon svg { width: 52px; height: 52px; }
.scan-row { max-width: 720px; }
.scan-input { height: 66px; font-size: 24px; }
.scan-zone .btn { min-height: 66px; padding: 0 26px; font-size: var(--fs-base); }

.ship-method {
  display: flex; align-items: flex-start; gap: 7px; margin-top: var(--sp-3);
  padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: var(--fs-sm); background: var(--surface-sunken);
}
.ship-method .ic { flex: none; margin-top: 1px; color: var(--on-surface-muted); }
.ship-method-sm { font-size: var(--fs-xs); color: var(--on-surface-muted); margin-top: 4px; }

.data-quality {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4);
}
.data-quality > div { min-width: 0; }
.dq-head {
  display: flex; align-items: center; gap: var(--sp-2);
  padding-bottom: var(--sp-2); margin-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}
.dq-head .badge { margin-left: auto; }
.dq-list {
  max-height: 280px; overflow-y: auto; display: grid; gap: 2px;
}
.dq-item {
  display: flex; gap: var(--sp-2); align-items: baseline;
  padding: 6px 8px; border-radius: 6px; min-width: 0;
}
.dq-item:nth-child(odd) { background: var(--surface-sunken); }
.dq-item .dq-name {
  flex: 1; min-width: 0; font-size: var(--fs-xs); color: var(--on-surface-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dq-empty { padding: var(--sp-4); color: var(--on-surface-muted); font-size: var(--fs-sm); }

.speed-block { margin-bottom: var(--sp-5); }

@media (max-width: 760px) {
  .data-quality { grid-template-columns: 1fr; }
  .scan-input { height: 58px; font-size: 20px; }
  .scan-zone { padding: 22px 14px; }
}

.cell-sub .shelf {
  font-size: var(--fs-sm); font-weight: 800; letter-spacing: .02em;
  color: var(--on-surface); background: var(--accent-soft);
  border-color: var(--accent-line);
}

.ship-method .ship-weight { display: block; margin-top: 3px; color: var(--on-surface); }

.tbl tr.flash-warn {
  background: var(--accent-soft);
  box-shadow: inset 4px 0 var(--accent);
  transition: background 400ms var(--ease);
}

.login-box { width: min(600px, 100%); padding: 40px; }
.pin-box { height: 68px; font-size: 30px; letter-spacing: 16px; }

.resume-bar { align-items: center; }
.resume-bar .rb-text { flex: 1; min-width: 0; }
.resume-bar .btn { flex: none; }

.scan-zone .row-thumb,
.tbl tr.nextrow .row-thumb { width: 52px; height: 52px; }
.tbl .c-thumb { width: 64px; }
.row-thumb { width: 48px; height: 48px; }

@media (max-width: 760px) {
  .login-box { padding: 26px; }
  .row-thumb { width: 40px; height: 40px; }
  .tbl .c-thumb { width: 52px; }
}





.frames-grid { grid-template-columns: repeat(6, 1fr); }
.frames-grid .photo-item img { aspect-ratio: 4/3; }
.frames-grid .frame-time {
  position: absolute; left: 4px; bottom: 4px;
  padding: 1px 6px; border-radius: 5px;
  background: rgba(16, 32, 26, .78); color: #fff;
  font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums;
}


@media (max-width: 1180px) {
  .frames-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .frames-grid { grid-template-columns: repeat(3, 1fr); }
    }

.refund-form {
  display: grid; grid-template-columns: 200px auto; gap: var(--sp-3) var(--sp-4);
  align-items: end; margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.refund-form .refund-note { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .refund-form { grid-template-columns: 1fr; }
}

.viewer { margin-top: var(--sp-4); }

.viewer-stage {
  background: #10201a; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; display: grid; place-items: center;
}
.viewer-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }

.viewer-bar {
  display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-3);
}
.viewer-meta {
  flex: 1; text-align: center; font-size: var(--fs-sm); font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--on-surface-2);
}
#frameRange { width: 100%; margin-top: var(--sp-2); accent-color: var(--brand); height: 28px; }

.frame-row { cursor: pointer; }
.frame-row.is-current { background: var(--accent-soft); box-shadow: inset 4px 0 var(--accent); }

#frameBadge { animation: pulse 1.4s ease-in-out infinite; }

.frame-time {
  position: absolute; left: 4px; bottom: 4px;
  padding: 1px 6px; border-radius: 5px;
  background: rgba(16, 32, 26, .78); color: #fff;
  font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums;
}

.viewer { margin-top: var(--sp-4); }
.viewer-stage {
  position: relative; background: #10201a; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center;
}
.viewer-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.viewer-meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  background: rgba(16, 32, 26, .8); color: #fff;
  font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums;
}
.viewer-bar { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-3); }
.viewer-bar #frameRange { flex: 1; accent-color: var(--brand); height: 28px; }

.frame-row { cursor: pointer; }
.frame-row.is-current { background: var(--brand-soft); box-shadow: inset 4px 0 var(--brand); }
.frame-time {
  position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: 5px;
  background: rgba(16, 32, 26, .78); color: #fff; font-size: 10px; font-weight: 700;
}

/* Канал продаж: заказы Amazon, TikTok и POS собираются по-своему,
   поэтому канал видно в списке раньше, чем откроешь заказ. */
.badge.ch-amber { background: #ffe9c2; border-color: #f0cf96; color: #7a4a00; }
.badge.ch-red   { background: #ffd9d6; border-color: #f2b3ad; color: #8b1a10; }
.badge.ch-blue  { background: #d9e8ff; border-color: #b0cdf5; color: #16427f; }
.badge.ch-green { background: #d4f0de; border-color: #a8d8bb; color: #14532d; }
.badge.ch-gray  { background: #e6e8ea; border-color: #cfd4d8; color: #3b464e; }

.badge.ch-costco {
  background: #0b5fae; border-color: #0b5fae; color: #fff; font-weight: 800;
}

.info.info-bad b { color: var(--danger); }
.info.info-bad { border-color: var(--danger-line); background: var(--danger-soft); }

/* ---------- Costco-учётка ---------- */
.costco-tabs { flex-wrap: wrap; }
.costco-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.costco-head .order-no { font-size: 22px; font-weight: 800; margin-right: 8px; }
.costco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 16px; }
.costco-grid .panel { margin-bottom: 0; }
.costco-contact dd { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.copy-btn.icon-only { min-height: 30px; padding: 4px 8px; vertical-align: middle; }
.costco-links { display: flex; gap: 10px; margin-top: 4px; font-size: 13px; font-weight: 600; }
.costco-links a { color: var(--ink); text-decoration: underline; }
.costco-weight { min-width: 230px; }
.costco-refund { margin-top: 8px; }
.costco-refund-row { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.costco-refund-row .input { max-width: 110px; }
.costco-preview { min-height: 16px; font-weight: 600; }
.costco-grey { margin-top: 12px; opacity: .55; }
.costco-grey .tbl tr { background: #f3f4f5; }
.costco-hide-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.costco-hide-bar .rb-text { flex: 1; min-width: 220px; }
.order-row.is-waiting { background: #fbfaf5; }
.order-row.is-waiting .sku { color: var(--muted); }
@media (max-width: 760px) {
  .costco-grid { grid-template-columns: 1fr; }
  .costco-weight { min-width: 0; }
}
.order-row { grid-template-columns: 32px 110px minmax(180px, 1fr) 110px minmax(0, 280px) auto; }
.order-row .badge-row { flex-wrap: wrap; }

.costco-exd {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px;
  border-radius: var(--radius-sm); background: #fff6d6; border: 1px solid #f0d47a;
}
.costco-exd.is-missing { background: #fde8eb; border-color: #f2b3ad; }
.costco-exd__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.costco-exd__value { font-size: 20px; font-weight: 800; }
.costco-exd .copy-btn { margin-left: auto; }
.costco-receipt {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 14px 16px;
  border-radius: var(--radius-sm); background: #15181D; color: #fff; border: 2px solid #15181D;
}
.costco-receipt__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.costco-receipt__text { font-size: 22px; font-weight: 800; }
.costco-receipt .copy-btn { margin-left: auto; background: #fff; }
.btn[data-stage="1"], .btn[data-stage="2"] { background: #B45309; }
