:root {
  --ink: #1b1714;
  --muted: #6d645c;
  --paper: #f4efe6;
  --panel: rgba(255, 250, 242, 0.78);
  --line: rgba(27, 23, 20, 0.12);
  --burgundy: #7a2433;
  --burgundy-deep: #541722;
  --late: #9a3412;
  --ok: #3f6b4a;
  --shadow: 0 24px 60px rgba(48, 28, 18, 0.08);
  --sans: "Outfit", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; min-height: 100dvh; }
html.desk-featherstone,
html.desk-featherstone body {
  background-color: #fff8e6;
  color-scheme: light;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #fff8ee, transparent 55%),
    radial-gradient(900px 400px at 110% 0%, #f0e0d2, transparent 50%),
    var(--paper);
  letter-spacing: 0.01em;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  z-index: 0;
}

.top, .banner, .stage, .foot, .flashes { position: relative; z-index: 1; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 28px 36px 18px;
  border-bottom: 1px solid var(--line);
}
.mark { color: inherit; text-decoration: none; display: flex; gap: 12px; align-items: center; }
.mark-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(145deg, #f6d7a0, #c4843a 52%, #6b2a22);
  box-shadow: 0 0 16px rgba(196, 132, 58, 0.28);
  flex: 0 0 auto;
}
.mark-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 50%;
  background: #16141c;
}
.mark-text { display: block; }
.mark-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.mark-name {
  display: block;
  max-width: 14em;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 480;
  line-height: 1.12;
}
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.pill {
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.banner {
  padding: 10px 36px;
  background: var(--burgundy-deep);
  color: #f7efe6;
  font-size: 13px;
}
.banner code { color: #f3d2b0; }

.flashes { list-style: none; margin: 0; padding: 0; }
.flashes li { padding: 12px 36px; }
.flashes .ok { background: #e5f0e6; color: var(--ok); }
.flashes .warn { background: #fde8dc; color: var(--late); }

.stage { padding: 28px 36px 96px; max-width: 1280px; }

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}
.hero.compact { grid-template-columns: 1.6fr .8fr; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 8px;
}
h1 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
h1.settings-title {
  margin-bottom: 0;
  padding-bottom: 42px;
}
.lede { margin: 0; color: var(--muted); max-width: 46ch; font-size: 16px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero.compact .stats { grid-template-columns: 1fr 1fr; }
.stats div {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.stats small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.stats strong { font-family: var(--serif); font-size: 28px; font-weight: 480; }

.toolbar, .split-actions, .dock, .pager { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.toolbar { margin: 8px 0 18px; }
.toolbar label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.toolbar .grow { flex: 1; min-width: 220px; }
.toolbar input[type="search"], .toolbar input, .pay-form input {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  border-radius: 2px;
}
.toolbar .check { flex-direction: row; align-items: center; padding-bottom: 10px; gap: 8px; color: var(--ink); }

.btn {
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 11px 16px;
  cursor: pointer;
  border-radius: 2px;
}
.btn.ghost { border-color: var(--line); }
.btn.solid, .btn:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fbf6ee;
}
.btn.wide { width: 100%; margin-top: 8px; }
.split-actions { margin-bottom: 14px; }

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.grid th, .grid td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.grid th { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.grid tbody tr { transition: background 160ms ease; }
.grid tbody tr:hover { background: rgba(122, 36, 51, 0.04); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.mute, .grid small { display: block; color: var(--muted); font-size: 12px; }
.tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 3px 7px;
}
.tag.late { border-color: var(--late); color: var(--late); }
.tag.unpaid { border-color: var(--ok); color: var(--ok); }
.tag.paid { border-color: var(--line); color: var(--muted); }

.aging-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  background: var(--panel);
}
.chip small { color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #f4efe6;
}
.chip.is-on small { color: #cbbba8; }

.acct-picker { position: relative; min-width: 240px; }
.acct-picker label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.acct-picker input {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  border-radius: 2px;
  width: 100%;
}
.acct-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow: auto;
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.acct-menu button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.acct-menu button:hover { background: rgba(122, 36, 51, 0.06); }
.acct-menu strong { font-size: 13px; }
.acct-menu em { font-style: normal; color: var(--muted); font-size: 12px; grid-column: 1; }
.acct-menu .num { font-size: 12px; color: var(--muted); }

.acct-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.acct-strip-name { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 480; }
.acct-strip-meta { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.ops { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.ops summary { cursor: pointer; }
.ops .split-actions { margin: 10px 0 0; }

.sort {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.14em;
}
.sort.is-on { color: var(--ink); }
.sort-ind { font-size: 11px; letter-spacing: 0; opacity: 0.55; }
.sort.is-on .sort-ind { opacity: 1; color: var(--burgundy); }
.check-col { width: 36px; }
.inv-link, .acct-link { color: var(--burgundy); text-decoration: none; }
.inv-link:hover, .acct-link:hover { text-decoration: underline; }
.empty { text-align: center; color: var(--muted); padding: 36px !important; }

.pager { justify-content: space-between; padding: 14px 0; color: var(--muted); }
.pager a { color: var(--burgundy); }

.dock {
  position: sticky;
  bottom: 16px;
  justify-content: flex-end;
  padding: 14px 16px;
  background: none;
  box-shadow: none;
  pointer-events: none;
}
.settle-btn {
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border: 3px solid #2a2623;
  border-radius: 7px;
  color: #1b1714;
  background: #efeae3;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgba(0, 0, 0, 0.16),
    0 3px 0 #2a2623;
  cursor: pointer;
  transition: none;
  animation: none;
  transform: none;
  filter: none;
  -webkit-tap-highlight-color: transparent;
}
.settle-btn:hover,
.settle-btn:active,
.settle-btn:focus,
.settle-btn:focus-visible {
  outline: none;
  color: #1b1714;
  background: #efeae3;
  border-color: #2a2623;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgba(0, 0, 0, 0.16),
    0 3px 0 #2a2623;
  transform: none;
  filter: none;
}
.settle-btn:disabled,
.settle-btn:disabled:hover,
.settle-btn:disabled:active,
.settle-btn:disabled:focus {
  cursor: default;
  opacity: 1;
  color: #7a7a7a;
  background: #e6e6e6;
  border-color: #8a8a8a;
  box-shadow:
    inset 0 1px 0 #f4f4f4,
    inset 0 -2px 0 rgba(0, 0, 0, 0.1),
    0 3px 0 #8a8a8a;
}

.pay-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow);
}
.panel h2 { font-family: var(--serif); font-weight: 480; margin: 0 0 16px; }
.invoice-list { list-style: none; margin: 0; padding: 0; }
.invoice-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.total { display: flex; justify-content: space-between; margin: 16px 0 0; }
.pay-form { display: grid; gap: 14px; }
.pay-form label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fine { font-size: 12px; color: var(--muted); margin: 0; }
.raw { margin-top: 24px; }
.raw pre {
  overflow: auto;
  background: #1b1714;
  color: #f4efe6;
  padding: 16px;
  font-size: 12px;
}
.back { margin-top: 24px; }
.back a { color: var(--burgundy); }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 36px 28px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 860px) {
  .hero, .pay-grid, .hero.compact { grid-template-columns: 1fr; }
  .top, .banner, .stage, .foot { padding-left: 18px; padding-right: 18px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
}

/* Settlement checkout — CardChamp-inspired, bakery-elevated */
body.checkout {
  --pay-bg: #1b1c28;
  --pay-sheet: #2a2c3a;
  --pay-bar: #353748;
  --pay-ink: #f4f1ea;
  --pay-mute: #b9b6c8;
  --pay-line: rgba(244, 241, 234, 0.14);
  --pay-gold: #e2b56a;
  --pay-gold-deep: #c4843a;
  --pay-star: #ff6b6b;
  --pay-field: #323445;
  color: var(--pay-ink);
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(196, 132, 58, 0.18), transparent 58%),
    radial-gradient(700px 380px at 100% 100%, rgba(90, 40, 48, 0.35), transparent 50%),
    var(--pay-bg);
}
body.checkout .grain { opacity: 0.12; mix-blend-mode: overlay; }
body.checkout .top,
body.checkout .amz-nav { display: none; }
body.checkout .stage {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 18px 80px;
}
body.checkout .flashes { max-width: 760px; margin: 0 auto; }
body.checkout .flashes li {
  margin: 12px 18px 0;
  border-radius: 10px;
  padding: 12px 16px;
}
body.checkout .flashes .ok { background: #1f3a2a; color: #b7e0c2; }
body.checkout .flashes .warn { background: #3a241c; color: #f3c2a8; }

.pay-back {
  display: inline-block;
  margin: 0 0 18px 4px;
  color: var(--pay-mute);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.pay-back:hover { color: var(--pay-gold); }

.pay-sheet {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%), var(--pay-sheet);
  border: 1px solid var(--pay-line);
  border-radius: 22px;
  padding: 36px 40px 32px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pay-brand { text-align: center; margin-bottom: 28px; }
.pay-logo {
  width: 156px;
  height: 156px;
  margin: 0 auto 16px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f6d7a0, #c4843a 52%, #6b2a22);
  box-shadow:
    0 0 28px rgba(226, 181, 106, 0.45),
    0 12px 28px rgba(0, 0, 0, 0.32);
}
.pay-logo-disc {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #16141c;
  box-shadow: inset 0 0 0 1px rgba(90, 50, 20, 0.18);
}
.pay-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.pay-company {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pay-page-label {
  margin: 6px 0 0;
  color: var(--pay-mute);
  font-size: 14px;
  font-style: italic;
}

.pay-block { margin-top: 22px; }
.pay-block-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  font-size: 22px;
  text-align: center;
  margin: 0 0 18px;
  padding: 10px 16px;
  background: var(--pay-bar);
  border-radius: 10px;
  letter-spacing: 0.01em;
}

.pay-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.pay-col { display: grid; gap: 12px; align-content: start; }

.pay-field {
  position: relative;
  display: grid;
  gap: 0;
}
.pay-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.pay-field.req::after {
  content: "*";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pay-star);
  font-size: 16px;
  pointer-events: none;
}
.pay-field.amount-label { position: static; }
.pay-field.amount-label::after { display: none; }
.pay-field.amount-label > span {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  color: var(--pay-star);
  font-style: italic;
  font-size: 14px;
}

.pay-field input,
.pay-field select {
  font: inherit;
  width: 100%;
  padding: 13px 28px 13px 14px;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: 8px;
  background: var(--pay-field);
  color: var(--pay-ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.pay-field input::placeholder { color: #9a97ab; }
.pay-field select { color: #9a97ab; }
.pay-field select:valid { color: var(--pay-ink); }
.pay-field input:focus,
.pay-field select:focus {
  border-color: var(--pay-gold);
  box-shadow: 0 0 0 3px rgba(226, 181, 106, 0.18);
}

.pay-amount { margin-top: 6px; }
.amount-box {
  display: flex;
  align-items: center;
  margin-top: 8px;
  border: 1px solid rgba(226, 181, 106, 0.45);
  border-radius: 8px;
  background: #3a3340;
  overflow: hidden;
}
.amount-prefix {
  padding: 12px 0 12px 14px;
  color: var(--pay-gold);
  font-weight: 600;
}
.amount-box input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--pay-ink);
  font: inherit;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  padding: 12px 14px;
  outline: none;
}
.pay-note {
  margin: 10px 0 0;
  color: #f0a8a0;
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
}
.pay-invoices {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border: 1px solid var(--pay-line);
  border-radius: 10px;
  overflow: hidden;
}
.pay-invoices li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--pay-line);
  font-size: 13px;
}
.pay-invoices li:last-child { border-bottom: 0; }
.pay-invoices small { display: block; color: var(--pay-mute); font-size: 11px; }

.pay-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.pay-method {
  font: inherit;
  font-weight: 500;
  padding: 12px 10px;
  border: 1px solid var(--pay-line);
  border-radius: 8px;
  background: #232433;
  color: var(--pay-ink);
  cursor: pointer;
}
.pay-method.is-on {
  background: #d8d6e2;
  color: #1b1c28;
  border-color: #d8d6e2;
}
.pay-method-note {
  margin: 0 0 14px;
  color: #f0a8a0;
  font-size: 13px;
  font-style: italic;
}

.pay-card-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}
.pay-exp {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 10px;
}

.card-visual { padding-top: 4px; }
.card-face {
  min-height: 196px;
  border-radius: 18px;
  padding: 20px 22px 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(160deg, #3a3348, #1e1c28 62%, #4a3228);
  border: 1px solid rgba(226, 181, 106, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}
.card-chip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f0d9a0, #c9a056);
}
.card-brand {
  justify-self: end;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--pay-gold);
}
.card-pan {
  grid-column: 1 / -1;
  margin: 0;
  align-self: center;
  font-size: 20px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.card-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--pay-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card-meta strong { color: var(--pay-ink); font-weight: 500; }

.pay-process { text-align: center; margin-top: 28px; }
.process-btn {
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.22em;
  min-width: 220px;
  padding: 14px 36px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #efc57d, var(--pay-gold-deep));
  color: #2a1c12;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(196, 132, 58, 0.28);
}
.process-btn:disabled {
  background: #4a4c5c;
  color: #9a97ab;
  box-shadow: none;
  cursor: not-allowed;
}
.process-btn:not(:disabled):hover {
  filter: brightness(1.06);
}
.pay-fine {
  margin: 12px 0 0;
  color: var(--pay-mute);
  font-size: 12px;
}

@media (max-width: 760px) {
  .pay-sheet { padding: 24px 16px 22px; border-radius: 16px; }
  .pay-grid2, .pay-card-row, .pay-exp { grid-template-columns: 1fr; }
  .receipt-facts { grid-template-columns: 1fr 1fr; }
}

.receipt-hero {
  text-align: center;
  padding: 8px 8px 22px;
}
.receipt-hero.is-ok .receipt-amount { color: var(--pay-gold); }
.receipt-hero.is-fail .receipt-amount { color: #f0a8a0; }
.receipt-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pay-mute);
}
.receipt-amount {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 480;
  letter-spacing: -0.03em;
  line-height: 1;
}
.receipt-ref {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0 0;
  padding: 10px 18px;
  border: 1px solid var(--pay-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}
.receipt-ref span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pay-mute);
}
.receipt-ref strong {
  font-size: 20px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.receipt-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin: 8px 0 0;
}
.receipt-facts div {
  padding: 12px 14px;
  border: 1px solid var(--pay-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
}
.receipt-facts dt {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pay-mute);
}
.receipt-facts dd { margin: 0; font-size: 15px; }

.receipt-invoices {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--pay-line);
  border-radius: 12px;
  overflow: hidden;
}
.receipt-invoices li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pay-line);
}
.receipt-invoices li:last-child { border-bottom: 0; }
.receipt-invoices small { display: block; color: var(--pay-mute); font-size: 12px; margin-top: 3px; }
.receipt-inv-amt { text-align: right; font-variant-numeric: tabular-nums; }
.receipt-sheet.is-ok .receipt-inv-amt small { color: #b7e0c2; }
.receipt-sheet.is-fail .receipt-inv-amt small { color: #f0a8a0; }

.receipt-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 28px;
  text-align: center;
}
a.process-btn.receipt-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.03em;
  min-width: 260px;
}
.receipt-secondary {
  color: var(--pay-mute);
  text-decoration: none;
  font-size: 14px;
}
.receipt-secondary:hover { color: var(--pay-gold); }

.receipt-tech {
  margin-top: 28px;
  border-top: 1px solid var(--pay-line);
  padding-top: 14px;
  color: var(--pay-mute);
  font-size: 13px;
}
.receipt-tech summary { cursor: pointer; }
.receipt-tech pre {
  overflow: auto;
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: #14131a;
  color: #e8e4d8;
  font-size: 12px;
  line-height: 1.45;
}

.pay-sticky {
  position: sticky;
  top: 12px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #1f2030;
  border: 1px solid var(--pay-line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.pay-sticky-meta { display: block; color: var(--pay-mute); font-size: 12px; margin-top: 2px; }
.pay-sticky-amt { text-align: right; }
.pay-sticky-amt span { display: block; color: var(--pay-mute); font-size: 11px; letter-spacing: 0.08em; }
.pay-sticky-amt strong { color: var(--pay-gold); font-size: 22px; font-variant-numeric: tabular-nums; }

.tray-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  cursor: pointer;
}
.tray-row input { margin: 0; }
.pay-invoices li { padding: 8px 12px; }

.pay-form input[type="file"] {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #fffdf8;
}
.pay-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

body.desk-featherstone {
  --ink: #3a3426;
  --muted: #8a806c;
  --paper: #fff8e6;
  --panel: rgba(255, 253, 245, 0.9);
  --line: rgba(196, 164, 56, 0.22);
  --burgundy: #c4a035;
  --burgundy-deep: #a88820;
  --late: #c47848;
  --ok: #6e9a6a;
  --shadow: 0 18px 40px rgba(180, 140, 40, 0.1);
  --sans: "Outfit", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  color: var(--ink);
  background-color: #fff8e6;
  background:
    radial-gradient(1100px 520px at 6% -12%, #fff3b0 0%, transparent 56%),
    radial-gradient(900px 460px at 108% 4%, #ffe7a8 0%, transparent 50%),
    radial-gradient(820px 400px at 48% 108%, #f7ecc0 0%, transparent 46%),
    #fff8e6;
  min-height: 100%;
  min-height: 100dvh;
  font-style: normal;
}
body.desk-featherstone em,
body.desk-featherstone i,
body.desk-featherstone h1,
body.desk-featherstone h2,
body.desk-featherstone .mark-name,
body.desk-featherstone .auto-hero h1 {
  font-style: normal;
}
body.desk-featherstone .grain { opacity: 0.05; filter: none; mix-blend-mode: multiply; }
body.desk-featherstone h1,
body.desk-featherstone .auto-hero h1,
body.desk-featherstone .mark-name {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 480;
}
body.desk-featherstone h2,
body.desk-featherstone .eyebrow,
body.desk-featherstone .acct-strip-name {
  font-family: var(--sans);
  font-style: normal;
}
body.desk-featherstone h1 {
  letter-spacing: -0.03em;
}
body.desk-featherstone .flashes .ok { background: #eef6e8; color: #4d7a4a; }
body.desk-featherstone .flashes .warn { background: #fff0e4; color: #b35d32; }
body.desk-featherstone .toolbar input,
body.desk-featherstone .pay-form input,
body.desk-featherstone .pay-form input[type="file"],
body.desk-featherstone .draft-fields input,
body.desk-featherstone .draft-lines input {
  background: #fffef8;
  border-color: rgba(196, 164, 56, 0.28);
  color: #3a3426;
}
body.desk-featherstone .btn { color: #5a4e32; border-color: rgba(196, 164, 56, 0.32); font-weight: 700; }
body.desk-featherstone .btn.ghost { background: #ffffff; }
body.desk-featherstone .btn.solid,
body.desk-featherstone .btn:hover {
  background: #f3de6a;
  border-color: #e8c547;
  color: #3a3426;
}
body.desk-featherstone .grid {
  background: rgba(255, 253, 245, 0.92);
  border: 1px solid rgba(196, 164, 56, 0.18);
}
body.desk-featherstone .grid th { color: #9a8a58; }
body.desk-featherstone .grid td { border-top-color: rgba(196, 164, 56, 0.12); }
body.desk-featherstone .grid a { color: #9a7818; }
body.desk-featherstone .stats div,
body.desk-featherstone .acct-strip {
  background: var(--panel);
  border-color: rgba(196, 164, 56, 0.18);
}

.auto-hero { max-width: 40rem; margin: 8px 0 36px; }
.orders-hero { margin-bottom: 0; }
.orders-hero h1.orders-title {
  margin-bottom: 0;
  padding-bottom: 72px;
}
.auto-hero h1 {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: clamp(36px, 6vw, 64px);
  font-style: normal;
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: none;
}
.auto-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.auto-pills span {
  border: 1px solid rgba(196, 164, 56, 0.3);
  color: #9a7818;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.auto-board {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 20px;
  margin-bottom: 48px;
}
.auto-drop, .auto-side {
  background: rgba(255, 253, 245, 0.92);
  border: 1px solid rgba(196, 164, 56, 0.18);
  box-shadow: var(--shadow);
}
.auto-drop { padding: 28px 28px 24px; }
.auto-drop h2 {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 480;
  font-style: normal;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
body.desk-featherstone .auto-drop h3.auto-drop-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0.015em;
  color: #8a806c;
  max-width: 46ch;
  margin: 0 0 22px;
  text-transform: none;
}
.auto-drop-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b3982c;
  margin-bottom: 10px;
}
.auto-file {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.auto-file-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 10px;
}
.auto-pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
}
.auto-pick input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.auto-file-name {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.auto-note { margin-top: 16px !important; font-size: 13px; }
.auto-note a { color: inherit; text-decoration: underline; }
.auto-side {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 8px 0;
}
.auto-side div { padding: 18px 22px; border-bottom: 1px solid rgba(196, 164, 56, 0.14); }
.auto-side div:last-child { border-bottom: 0; }
.auto-side small {
  display: block;
  color: #b3982c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.auto-side strong {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 700;
}
.auto-jobs h2 {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.auto-status {
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  color: #9a7818;
}
@media (max-width: 820px) {
  .auto-board { grid-template-columns: 1fr; }
}

.optional-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 3px solid #e8c547;
  border-radius: 8px;
  color: #5a4e32;
  background: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  user-select: none;
}
.optional-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 3px solid #e8c547;
  border-radius: 4px;
  background: transparent;
  flex: 0 0 auto;
  cursor: pointer;
}
.optional-toggle input[type="checkbox"]:checked {
  background: #f3de6a;
  box-shadow: inset 0 0 0 3px #fff;
}
body.desk-featherstone .optional-toggle {
  color: #5a4e32;
  border: 3px solid #e8c547;
  background: #ffffff;
}
body.desk-featherstone .optional-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: 3px solid #e8c547;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: transparent;
}
body.desk-featherstone .optional-toggle input[type="checkbox"]:checked {
  background: #f3de6a;
  box-shadow: inset 0 0 0 3px #fff;
}
.draft-form:not(.show-optional) .draft-optional {
  display: none;
}
.draft-form:not(.show-optional) .draft-fields {
  grid-template-columns: 1fr 1fr;
}

.draft-card {
  background: rgba(255, 253, 245, 0.92);
  border: 1px solid rgba(196, 164, 56, 0.18);
  padding: 18px 20px 16px;
}
.draft-card h2 {
  margin: 0 0 4px;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.draft-card .auto-note { margin-top: 0 !important; }
.draft-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 12px;
}
.draft-fields .draft-span { grid-column: 1 / -1; }
.draft-lines input {
  width: 100%;
  min-width: 0;
}
@media (max-width: 820px) {
  .draft-fields { grid-template-columns: 1fr 1fr; }
}

/* Rockland invoice desk — Amazon marketplace chrome. Featherstone is untouched. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.desk-rockland:not(.checkout) {
  --amz-ink: #0f1111;
  --amz-mute: #565959;
  --amz-link: #007185;
  --amz-link-hover: #c7511f;
  --amz-nav: #131921;
  --amz-sub: #232f3e;
  --amz-search: #febd69;
  --amz-search-hover: #f3a847;
  --amz-cart: #ffd814;
  --amz-cart-hover: #f7ca00;
  --amz-buy: #ffa41c;
  --amz-price: #b12704;
  --amz-ok: #067d62;
  --amz-line: #d5d9d9;
  --amz-paper: #eaeded;
  --amz-white: #ffffff;
  --sans: Arial, "Amazon Ember", "Helvetica Neue", Helvetica, sans-serif;
  --serif: Arial, "Amazon Ember", sans-serif;
  color: var(--amz-ink);
  background: var(--amz-paper);
  font-family: var(--sans);
  letter-spacing: 0;
}
body.desk-rockland:not(.checkout) .grain { display: none; }

.amz-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: var(--amz-nav);
}
.amz-nav-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 12px;
}
.amz-nav .mark {
  color: #fff;
  padding: 2px 8px 2px 2px;
  border: 1px solid transparent;
  border-radius: 2px;
  flex: 0 0 auto;
}
.amz-nav .mark:hover { border-color: #fff; }
.amz-nav .mark-logo {
  width: 48px;
  height: 48px;
}
.amz-nav .mark-kicker {
  color: #dddedf;
}
.amz-nav .mark-name {
  max-width: 16em;
  color: #fff;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: 22px;
  font-weight: 480;
}
.amz-search {
  flex: 1;
  display: flex;
  min-width: 180px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.amz-search:focus-within { box-shadow: 0 0 0 3px #f90; }
.amz-search-field { flex: 1; display: flex; }
.amz-search-field input {
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0 12px;
  font: 15px/40px var(--sans);
  color: var(--amz-ink);
  outline: none;
  background: #fff;
}
.amz-search-go {
  width: 46px;
  border: 0;
  background: var(--amz-search);
  color: #111;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.amz-search-go:hover { background: var(--amz-search-hover); }
.amz-subnav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 16px;
  background: var(--amz-sub);
  font-size: 14px;
}
.amz-subnav a {
  color: #fff;
  text-decoration: none;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: 2px;
}
.amz-subnav a:hover { border-color: #fff; }

body.desk-rockland:not(.checkout) .flashes {
  max-width: 1080px;
  margin: 12px auto 0;
  padding: 0 16px;
}
body.desk-rockland:not(.checkout) .flashes li {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}
body.desk-rockland:not(.checkout) .flashes .ok {
  background: #e6f5ef;
  color: var(--amz-ok);
}
body.desk-rockland:not(.checkout) .flashes .warn {
  background: #fce8e6;
  color: #c40000;
}

body.desk-rockland:not(.checkout) .stage {
  position: relative;
  overflow: visible;
  max-width: 1080px;
  margin: 16px auto 56px;
  padding: 18px 22px 36px;
  background: var(--amz-white);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.08);
}

.amz-page-title {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 4px 0 16px;
  color: var(--amz-ink);
}

body.desk-rockland:not(.checkout) .toolbar { margin: 0 0 14px; align-items: end; }
body.desk-rockland:not(.checkout) .toolbar label,
body.desk-rockland:not(.checkout) .acct-picker label {
  color: var(--amz-mute);
  font-size: 12px;
  font-weight: 700;
}
body.desk-rockland:not(.checkout) .toolbar input,
body.desk-rockland:not(.checkout) .acct-picker input {
  background: #fff;
  border: 1px solid #888c8c;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.08) inset;
}
body.desk-rockland:not(.checkout) .toolbar input:focus,
body.desk-rockland:not(.checkout) .acct-picker input:focus {
  border-color: #007185;
  box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.18);
  outline: none;
}
body.desk-rockland:not(.checkout) .btn {
  border-radius: 8px;
  border-color: #d5d9d9;
  background: linear-gradient(#f7f8f8, #e3e6e6);
  color: var(--amz-ink);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
}
body.desk-rockland:not(.checkout) .btn.ghost {
  background: #fff;
  border-color: #d5d9d9;
}
body.desk-rockland:not(.checkout) .btn.solid,
body.desk-rockland:not(.checkout) .btn:hover {
  background: var(--amz-cart);
  border-color: #fcd200;
  color: var(--amz-ink);
}
body.desk-rockland:not(.checkout) .acct-menu {
  background: #fff;
  border: 1px solid var(--amz-line);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(15, 17, 17, 0.15);
}
body.desk-rockland:not(.checkout) .acct-menu button:hover { background: #f7fafa; }

body.desk-rockland:not(.checkout) .aging-chips {
  gap: 0;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--amz-line);
}
body.desk-rockland:not(.checkout) .chip {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 16px 8px;
  font-size: 14px;
  color: var(--amz-ink);
}
body.desk-rockland:not(.checkout) .chip small { color: var(--amz-mute); }
body.desk-rockland:not(.checkout) .chip:hover { color: var(--amz-link); }
body.desk-rockland:not(.checkout) .chip.is-on {
  background: transparent;
  border-bottom-color: #e47911;
  color: #e47911;
  font-weight: 700;
}
body.desk-rockland:not(.checkout) .chip.is-on small { color: #e47911; }

body.desk-rockland:not(.checkout) .acct-strip {
  background: #f0f2f2;
  border: 1px solid var(--amz-line);
  border-radius: 8px;
  box-shadow: none;
  padding: 14px 16px;
}
body.desk-rockland:not(.checkout) .acct-strip-name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
}
body.desk-rockland:not(.checkout) .acct-strip-meta { color: var(--amz-mute); }

body.desk-rockland:not(.checkout) .ops { color: var(--amz-mute); }
body.desk-rockland:not(.checkout) .ops summary { color: var(--amz-link); }

body.desk-rockland:not(.checkout) .table-wrap {
  border: 1px solid var(--amz-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  overflow: auto;
}
body.desk-rockland:not(.checkout) .grid { font-size: 13px; }
body.desk-rockland:not(.checkout) .grid th {
  background: #f0f2f2;
  color: #565959;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 12px;
  font-weight: 700;
}
body.desk-rockland:not(.checkout) .grid td,
body.desk-rockland:not(.checkout) .grid th {
  border-bottom-color: var(--amz-line);
}
body.desk-rockland:not(.checkout) .grid tbody tr:hover { background: #f7fafa; }
body.desk-rockland:not(.checkout) .sort { letter-spacing: 0; }
body.desk-rockland:not(.checkout) .sort.is-on .sort-ind { color: #e47911; }
body.desk-rockland:not(.checkout) .inv-link,
body.desk-rockland:not(.checkout) .acct-link,
body.desk-rockland:not(.checkout) .pager a {
  color: var(--amz-link);
}
body.desk-rockland:not(.checkout) .inv-link:hover,
body.desk-rockland:not(.checkout) .acct-link:hover,
body.desk-rockland:not(.checkout) .pager a:hover {
  color: var(--amz-link-hover);
}
body.desk-rockland:not(.checkout) .grid .num { color: var(--amz-price); font-weight: 700; }
body.desk-rockland:not(.checkout) .tag {
  border-radius: 2px;
  letter-spacing: 0.02em;
  font-weight: 700;
}
body.desk-rockland:not(.checkout) .tag.unpaid { color: var(--amz-ok); border-color: #9ed8c8; background: #e6f5ef; }
body.desk-rockland:not(.checkout) .tag.late { color: #c40000; border-color: #f5c0b8; background: #fce8e6; }
body.desk-rockland:not(.checkout) .tag.paid { color: var(--amz-mute); background: #f0f2f2; }
body.desk-rockland:not(.checkout) .pager { color: var(--amz-mute); font-size: 13px; }

body.desk-rockland:not(.checkout) .dock {
  position: fixed;
  top: 42%;
  left: calc(50% + 540px + 16px);
  bottom: auto;
  z-index: 30;
  justify-content: flex-start;
  padding: 0;
  background: none;
  box-shadow: none;
  pointer-events: none;
}
body.desk-rockland:not(.checkout) .settle-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 168px;
  padding: 10px 16px 10px 12px;
  border: 1px solid #fcd200;
  border-radius: 20px;
  background: var(--amz-cart);
  color: var(--amz-ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 2px 5px rgba(15, 17, 17, 0.15);
}
body.desk-rockland:not(.checkout) .settle-btn:hover,
body.desk-rockland:not(.checkout) .settle-btn:active,
body.desk-rockland:not(.checkout) .settle-btn:focus,
body.desk-rockland:not(.checkout) .settle-btn:focus-visible {
  background: var(--amz-cart-hover);
  border-color: #f2c200;
  color: var(--amz-ink);
  box-shadow: 0 2px 5px rgba(15, 17, 17, 0.18);
}
body.desk-rockland:not(.checkout) .settle-btn:disabled,
body.desk-rockland:not(.checkout) .settle-btn:disabled:hover,
body.desk-rockland:not(.checkout) .settle-btn:disabled:active,
body.desk-rockland:not(.checkout) .settle-btn:disabled:focus {
  background: #f0f2f2;
  border-color: #d5d9d9;
  color: #888;
  box-shadow: none;
  cursor: default;
}
body.desk-rockland:not(.checkout) .settle-cart { flex: 0 0 auto; }
body.desk-rockland:not(.checkout) .settle-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
body.desk-rockland:not(.checkout) .settle-total {
  font-size: 11px;
  font-weight: 700;
  color: var(--amz-price);
}

@media (max-width: 1400px) {
  body.desk-rockland:not(.checkout) .dock {
    top: auto;
    left: auto;
    right: 16px;
    bottom: 18px;
  }
}
@media (max-width: 900px) {
  body.desk-rockland:not(.checkout) .stage {
    margin: 10px 12px 80px;
    padding: 14px 12px 28px;
  }
}

.auto-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.auto-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(196, 164, 56, 0.24);
  border-radius: 999px;
  color: #8a806c;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auto-steps li.is-on { color: #3a3426; border-color: #e8c547; background: #fff4c4; }
.auto-steps li.is-done { color: #4d7a4a; border-color: #c5ddb8; background: #eef6e8; }
.auto-steps li.is-fail { color: #b35d32; border-color: #efc4a8; background: #fff0e4; }
.auto-banner {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(196, 164, 56, 0.2);
  background: rgba(255, 253, 245, 0.92);
}
.auto-banner.warn { border-color: rgba(196, 120, 72, 0.4); color: #b35d32; background: #fff0e4; }
.auto-file em {
  font-style: normal;
  color: #8a806c;
  font-size: 12px;
}
.auto-status.is-needs-review { color: #c4a035; }
.auto-status.is-created { color: #6e9a6a; }
.auto-status.is-failed { color: #c47848; }
.auto-status.is-extracting,
.auto-status.is-received { color: #9a7818; }
.auto-preview {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  margin-top: 8px;
  border: 1px solid rgba(196, 164, 56, 0.18);
  background: #fff4c4;
}
.auto-debug {
  margin: 28px 0 12px;
  padding: 16px 18px;
  border: 1px solid rgba(196, 164, 56, 0.18);
  background: rgba(255, 253, 245, 0.92);
  color: #5a4e32;
}
.auto-debug summary { cursor: pointer; font-weight: 700; color: #3a3426; }
.auto-log {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.auto-log li {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(196, 164, 56, 0.14);
  font-size: 13px;
}
.auto-log li.bad { color: #b35d32; }
.auto-log li.ok { color: #4d7a4a; }
.auto-debug pre {
  overflow: auto;
  margin: 12px 0 0;
  padding: 12px;
  background: #fff6d6;
  color: #3a3426;
  font-size: 12px;
  line-height: 1.4;
}

/* Live "reading the order" overlay — shown while a job is Received/Extracting. */
.auto-board-wrap { position: relative; }
.auto-board.is-scanning { filter: saturate(0.9); }
.scan-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 253, 245, 0.74);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  animation: scan-fade-in 0.45s ease both;
}
.scan-overlay.is-complete { animation: scan-fade-out 0.6s ease both; }
.scan-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 26px;
  align-items: center;
  max-width: 560px;
  width: 100%;
  padding: 26px 30px;
  background: #fffdf5;
  border: 1px solid rgba(196, 164, 56, 0.28);
  border-radius: 10px;
  box-shadow: 0 24px 60px -18px rgba(154, 120, 24, 0.35), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  animation: fs-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.scan-visual { display: flex; align-items: center; justify-content: center; }
.scan-frame {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff4c4;
  border: 1px solid rgba(196, 164, 56, 0.3);
  box-shadow: 0 10px 26px -12px rgba(154, 120, 24, 0.4);
}
.scan-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); display: block; }
.scan-frame-empty { display: flex; align-items: center; justify-content: center; }
.scan-doc { width: 56px; height: 70px; fill: none; stroke: #b3982c; stroke-width: 2.4; stroke-linecap: round; }
.scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 164, 56, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 164, 56, 0.16) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.55;
  mix-blend-mode: multiply;
}
.scan-beam {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 34%;
  top: -40%;
  background: linear-gradient(180deg, transparent, rgba(255, 236, 150, 0.85) 45%, rgba(232, 197, 71, 0.95) 55%, transparent);
  filter: blur(1px);
  animation: scan-sweep 2.1s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  box-shadow: 0 0 22px 6px rgba(232, 197, 71, 0.35);
}
.scan-corner { position: absolute; width: 16px; height: 16px; border: 2px solid #e8c547; opacity: 0.9; }
.scan-corner.tl { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.scan-corner.tr { top: 4px; right: 4px; border-left: 0; border-bottom: 0; }
.scan-corner.bl { bottom: 4px; left: 4px; border-right: 0; border-top: 0; }
.scan-corner.br { bottom: 4px; right: 4px; border-left: 0; border-top: 0; }

.scan-copy { min-width: 0; }
.scan-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b3982c;
}
.scan-title {
  margin: 0 0 14px;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: 21px;
  font-weight: 480;
  letter-spacing: -0.01em;
  color: #3a3426;
  min-height: 1.3em;
  transition: opacity 0.25s ease;
}
.scan-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.scan-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #c2b48c;
  transition: color 0.35s ease;
}
.scan-steps li .scan-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #e2d5ab;
  background: transparent;
  flex: 0 0 auto;
  transition: all 0.35s ease;
}
.scan-steps li.is-on { color: #8a7418; }
.scan-steps li.is-on .scan-dot {
  border-color: #e8c547;
  background: #ffe486;
  box-shadow: 0 0 0 4px rgba(232, 197, 71, 0.25);
  animation: fs-pulse 1.4s ease-in-out infinite;
}
.scan-steps li.is-done { color: #4d7a4a; }
.scan-steps li.is-done .scan-dot { border-color: #7fae72; background: #7fae72; }
.scan-steps li.is-done .scan-dot::after {
  content: "";
  position: absolute;
  left: 2px;
  top: -1px;
  width: 3px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg);
  animation: fs-check-pop 0.35s ease both;
}
.scan-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(196, 164, 56, 0.16);
  overflow: hidden;
  margin-bottom: 12px;
}
.scan-bar span {
  position: absolute;
  inset: 0;
  width: 14%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8c547, #f6df8f, #e8c547);
  background-size: 200% 100%;
  animation: fs-rule-flow 1.6s linear infinite;
  transition: width 0.7s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.scan-chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.scan-chips li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(125, 174, 114, 0.4);
  background: #eef6e8;
  color: #4d7a4a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: fs-row-in 0.3s ease both;
}

@keyframes scan-sweep {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateY(400%); opacity: 0; }
}
@keyframes scan-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scan-fade-out { to { opacity: 0; transform: scale(0.99); } }

@media (max-width: 640px) {
  .scan-card { grid-template-columns: 1fr; text-align: center; }
  .scan-visual, .scan-steps li, .scan-chips { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-beam,
  .scan-bar span,
  .scan-steps li.is-on .scan-dot,
  .scan-overlay,
  .scan-card {
    animation: none !important;
  }
}

body.desk-featherstone {
  --fs-mx: 50%;
  --fs-my: 18%;
  --fs-rx: 0deg;
  --fs-ry: 0deg;
  overflow-x: hidden;
  perspective: 1400px;
}
body.desk-featherstone::selection {
  background: rgba(243, 222, 106, 0.55);
  color: #3a3426;
}
body.desk-featherstone::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(32rem circle at var(--fs-mx) var(--fs-my), rgba(255, 236, 150, 0.38), transparent 60%),
    radial-gradient(18rem circle at calc(var(--fs-mx) + 8%) calc(var(--fs-my) + 10%), rgba(201, 182, 242, 0.12), transparent 55%);
  transition: opacity 0.4s ease;
}
body.desk-featherstone::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(58, 52, 38, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 52, 38, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
}

.fs-ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.fs-orb {
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%;
  filter: blur(48px);
  opacity: 0.42;
  mix-blend-mode: multiply;
  animation: fs-blob 22s ease-in-out infinite;
  will-change: transform, border-radius;
}
.fs-orb-a {
  background: radial-gradient(circle at 30% 30%, #ffe27a, #ffd24a 62%, transparent 72%);
  top: -14%;
  left: -10%;
}
.fs-orb-b {
  background: radial-gradient(circle at 70% 40%, #fff1a8, #f3de6a 58%, transparent 74%);
  right: -12%;
  bottom: -16%;
  animation-delay: -8s;
}
.fs-orb-c {
  width: 28vw;
  height: 28vw;
  background: radial-gradient(circle at 50% 50%, #efe8ff, #c9b6f2 45%, transparent 70%);
  top: 38%;
  left: 42%;
  opacity: 0.18;
  animation-delay: -14s;
  mix-blend-mode: soft-light;
}
.fs-sparkle {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 78% 26%, rgba(232, 197, 71, 0.7), transparent),
    radial-gradient(1.4px 1.4px at 64% 72%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 28% 64%, rgba(196, 160, 53, 0.55), transparent),
    radial-gradient(1px 1px at 48% 42%, rgba(201, 182, 242, 0.65), transparent);
  animation: fs-twinkle 7s ease-in-out infinite;
}

/* Bright white header — desaturated, textured, soft layered shadow */
body.desk-featherstone .fs-top {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  overflow: hidden;
  align-items: center;
  color: #3a3426;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(252, 251, 248, 0.94)),
    #ffffff;
  border-bottom: 1px solid rgba(58, 52, 38, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1),
    0 8px 24px rgba(48, 40, 24, 0.06),
    0 18px 48px rgba(48, 40, 24, 0.05);
  backdrop-filter: blur(18px) saturate(0.92);
  -webkit-backdrop-filter: blur(18px) saturate(0.92);
}
body.desk-featherstone .fs-top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
body.desk-featherstone .fs-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(58, 52, 38, 0.06) 12%,
    rgba(58, 52, 38, 0.14) 50%,
    rgba(58, 52, 38, 0.06) 88%,
    transparent 100%
  );
  opacity: 1;
  animation: none;
}
body.desk-featherstone .fs-top .mark-kicker {
  color: #8a8478;
  font-weight: 700;
  letter-spacing: 0.28em;
}
body.desk-featherstone .fs-top .mark-name {
  max-width: 22em;
  color: #2f2a22;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 480;
  letter-spacing: -0.02em;
  text-shadow: none;
}
body.desk-featherstone .fs-top .nav a {
  position: relative;
  color: #6e685c;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  padding-bottom: 4px;
  transition: color 0.35s ease, letter-spacing 0.35s ease, transform 0.35s ease;
}
body.desk-featherstone .fs-top .nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3a3426, transparent);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  border-radius: 2px;
}
body.desk-featherstone .fs-top .nav a:hover {
  color: #2f2a22;
  letter-spacing: 0.14em;
  transform: translateY(-1px);
}
body.desk-featherstone .fs-top .nav a:hover::after { width: 100%; }

body.desk-featherstone .mark-logo.fs-brand,
body.desk-featherstone .fs-brand {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 72px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  overflow: visible;
  filter: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
body.desk-featherstone .fs-brand:hover { transform: scale(1.02); }
body.desk-featherstone .fs-brand-ring,
body.desk-featherstone .fs-brand-ring::before,
body.desk-featherstone .mark-logo::before {
  content: none;
  display: none;
}
body.desk-featherstone .fs-brand img {
  position: relative;
  z-index: 1;
  width: 138px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 4px 10px rgba(48, 40, 24, 0.12));
}

body.desk-featherstone .stage { position: relative; z-index: 1; }

body.desk-featherstone .fs-reveal,
body.desk-featherstone .auto-board,
body.desk-featherstone .auto-jobs,
body.desk-featherstone .draft-form,
body.desk-featherstone .auto-debug {
  animation: fs-rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}
body.desk-featherstone .auto-board { animation-delay: 0.1s; }
body.desk-featherstone .auto-jobs,
body.desk-featherstone .draft-form { animation-delay: 0.18s; }
body.desk-featherstone .auto-debug { animation-delay: 0.26s; }

body.desk-featherstone .fs-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(196, 164, 56, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fs-eyebrow-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
body.desk-featherstone .fs-hero-rule {
  width: min(18rem, 70%);
  height: 2px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3de6a, #c9b6f2, transparent);
  transform-origin: left center;
  animation: fs-rule-grow 1.1s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
body.desk-featherstone .orders-title {
  display: grid;
  gap: 0.08em;
}
body.desk-featherstone .orders-title .fs-line {
  display: block;
  overflow: hidden;
}
body.desk-featherstone .orders-title .fs-char {
  display: inline-block;
  background-image: linear-gradient(105deg, #3a3426 0%, #3a3426 38%, #c4a035 50%, #3a3426 62%, #3a3426 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation:
    fs-char-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both,
    fs-title-sheen 10s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 28ms), calc(1.2s + var(--i, 0) * 28ms);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4));
}
body.desk-featherstone .auto-hero h1.settings-title,
body.desk-featherstone h1.settings-title {
  background-image: linear-gradient(105deg, #3a3426 0%, #3a3426 36%, #c4a035 50%, #3a3426 64%, #3a3426 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: fs-title-sheen 9s ease-in-out infinite;
}

body.desk-featherstone .fs-glass,
body.desk-featherstone .auto-drop,
body.desk-featherstone .auto-side,
body.desk-featherstone .draft-card,
body.desk-featherstone .grid {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.72), rgba(255, 253, 245, 0.55) 42%, rgba(255, 248, 230, 0.7)),
    rgba(255, 253, 245, 0.65);
  border: 1px solid rgba(196, 164, 56, 0.22);
  box-shadow:
    0 18px 40px rgba(180, 140, 40, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(196, 164, 56, 0.06) inset;
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
body.desk-featherstone .fs-tilt {
  transform: perspective(900px) rotateX(var(--fs-rx, 0deg)) rotateY(var(--fs-ry, 0deg)) translateZ(0);
}
body.desk-featherstone .auto-drop::before,
body.desk-featherstone .draft-card::before,
body.desk-featherstone .auto-side::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, rgba(243, 222, 106, 0.95), rgba(201, 182, 242, 0.4), transparent);
  z-index: 2;
}
body.desk-featherstone .fs-drop-glow {
  pointer-events: none;
  position: absolute;
  inset: -20%;
  opacity: 0;
  background: radial-gradient(circle at var(--fs-mx, 50%) var(--fs-my, 40%), rgba(243, 222, 106, 0.35), transparent 45%);
  transition: opacity 0.35s ease;
  z-index: 0;
}
body.desk-featherstone #order-upload.is-drag .fs-drop-glow { opacity: 1; }
body.desk-featherstone #order-upload.is-drag {
  border-color: rgba(232, 197, 71, 0.55);
  box-shadow:
    0 0 0 4px rgba(243, 222, 106, 0.25),
    0 28px 54px rgba(196, 164, 56, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
body.desk-featherstone .auto-drop > *:not(.fs-drop-glow),
body.desk-featherstone .auto-side > *,
body.desk-featherstone .draft-card > * {
  position: relative;
  z-index: 1;
}

body.desk-featherstone .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}
body.desk-featherstone .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.7) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
body.desk-featherstone .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(196, 164, 56, 0.24);
}
body.desk-featherstone .btn:hover::after { transform: translateX(130%); }
body.desk-featherstone .btn:active { transform: translateY(0) scale(0.97); }
body.desk-featherstone .btn.solid {
  background: linear-gradient(180deg, #fff4b0, #f3de6a 55%, #e8c547);
  border-color: #e0bc3a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 18px rgba(196, 164, 56, 0.16);
}
body.desk-featherstone .fs-magnetic {
  will-change: transform;
}

body.desk-featherstone .toolbar input,
body.desk-featherstone .pay-form input,
body.desk-featherstone .draft-fields input,
body.desk-featherstone .draft-lines input {
  border-radius: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
body.desk-featherstone .toolbar input:focus,
body.desk-featherstone .pay-form input:focus,
body.desk-featherstone .draft-fields input:focus,
body.desk-featherstone .draft-lines input:focus {
  outline: none;
  border-color: #e8c547;
  box-shadow: 0 0 0 4px rgba(243, 222, 106, 0.38), 0 10px 24px rgba(196, 164, 56, 0.08);
  background: #fff;
  transform: translateY(-1px);
}

body.desk-featherstone .grid tbody tr.fs-row {
  animation: fs-row-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.2s + var(--fs-i, 0) * 45ms);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
body.desk-featherstone .grid tbody tr:hover {
  background: linear-gradient(90deg, rgba(255, 241, 160, 0.5), rgba(243, 232, 255, 0.22), rgba(255, 253, 245, 0.15));
  box-shadow: inset 3px 0 0 #f3de6a;
}
body.desk-featherstone .grid a {
  background-image: linear-gradient(90deg, #c4a035, #c9b6f2);
  background-size: 0 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s ease, color 0.3s ease;
}
body.desk-featherstone .grid a:hover { background-size: 100% 1.5px; color: #7a5d10; }

body.desk-featherstone .auto-side > div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: 10px;
}
body.desk-featherstone .auto-side small { grid-column: 1 / -1; }
body.desk-featherstone .fs-metric,
body.desk-featherstone .auto-side strong {
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(180deg, #3a3426, #9a7818);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
body.desk-featherstone .fs-pulse {
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-radius: 50%;
  background: #c9b6f2;
  box-shadow: 0 0 0 0 rgba(201, 182, 242, 0.55);
  animation: fs-pulse 2.2s ease-out infinite;
}
body.desk-featherstone .fs-pulse.is-live {
  background: #6e9a6a;
  box-shadow: 0 0 0 0 rgba(110, 154, 106, 0.5);
}
body.desk-featherstone .fs-pulse.is-warn {
  background: #c47848;
  box-shadow: 0 0 0 0 rgba(196, 120, 72, 0.5);
}

body.desk-featherstone .optional-toggle {
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(196, 164, 56, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
body.desk-featherstone .optional-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(196, 164, 56, 0.14);
  border-color: #f3de6a;
}
body.desk-featherstone .optional-toggle input[type="checkbox"]:checked {
  animation: fs-check-pop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.desk-featherstone .auto-status {
  position: relative;
  padding-left: 14px;
}
body.desk-featherstone .auto-status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(196, 164, 56, 0.18);
}

@keyframes fs-blob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; }
  33% { transform: translate3d(4%, 3%, 0) rotate(8deg) scale(1.06); border-radius: 58% 42% 38% 62% / 52% 60% 40% 48%; }
  66% { transform: translate3d(-3%, 5%, 0) rotate(-6deg) scale(0.96); border-radius: 40% 60% 55% 45% / 38% 48% 52% 62%; }
}
@keyframes fs-spin { to { transform: rotate(360deg); } }
@keyframes fs-sheen {
  0% { transform: translateX(0); opacity: 0; }
  18% { opacity: 0.75; }
  42%, 100% { transform: translateX(360%); opacity: 0; }
}
@keyframes fs-rule-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes fs-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.01); }
}
@keyframes fs-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.985); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes fs-title-sheen {
  0%, 100% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
}
@keyframes fs-char-in {
  from { opacity: 0; transform: translateY(1.1em) rotate(4deg); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes fs-eyebrow-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes fs-rule-grow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes fs-row-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 154, 106, 0.45); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes fs-check-pop {
  0% { transform: scale(0.85); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .fs-orb,
  .fs-sparkle,
  body.desk-featherstone .fs-top::before,
  body.desk-featherstone .fs-top::after,
  body.desk-featherstone .fs-reveal,
  body.desk-featherstone .auto-board,
  body.desk-featherstone .auto-jobs,
  body.desk-featherstone .draft-form,
  body.desk-featherstone .auto-debug,
  body.desk-featherstone .orders-title .fs-char,
  body.desk-featherstone .fs-eyebrow,
  body.desk-featherstone .fs-hero-rule,
  body.desk-featherstone .grid tbody tr.fs-row,
  body.desk-featherstone .fs-pulse,
  body.desk-featherstone h1.settings-title {
    animation: none !important;
  }
  body.desk-featherstone .fs-tilt,
  body.desk-featherstone .btn:hover,
  body.desk-featherstone .fs-brand:hover {
    transform: none !important;
  }
}
