/* TFK LINKS NIG LTD — stylesheet
   Palette: canvas white ground, marquee green, brass hardware.
   Type: Fraunces (display) / Karla (body) / IBM Plex Mono (specs & figures). */

:root {
  --ground:    #FFFFFF;
  --surface:   #FFFFFF;
  --surface-2: #F2F6F1;
  --ink:       #111C16;
  --ink-soft:  #35463C;
  --muted:     #5C6C62;
  --line:      #D9E1D6;
  --line-soft: #E6ECE3;
  --green:     #0E6B45;
  --green-ink: #0A5134;
  --green-wash:#E2F0E7;
  --brass:     #9C6F16;
  --brass-wash:#F6EEDC;
  --on-green:  #F4FAF6;
  --danger:    #B3261E;
  --shadow:    0 1px 2px rgba(17, 28, 22, .06), 0 8px 24px -14px rgba(17, 28, 22, .28);
  --radius:    10px;

  /* The site is light for every visitor, whatever their device is set to. */
  color-scheme: light;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body:    "Karla", "Helvetica Neue", Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -.01em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ---------- header ---------------------------------------------------- */

.masthead {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding-block: 10px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; color: inherit; }

.brand-mark {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 7px;
  background: var(--green);
  color: var(--on-green);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
}

.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.1; }
.brand-sub  { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.mast-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.mast-link {
  font-size: 15.5px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 7px;
}
.mast-link:hover { background: var(--surface-2); color: var(--ink); }

/* ---------- buttons --------------------------------------------------- */

.btn {
  font-family: var(--f-body);
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 9px 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-wa { background: #1FA855; color: #FFFFFF; }
.btn-wa:hover { background: #17843F; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* ---------- hero ------------------------------------------------------ */

.hero { padding-block: 56px 40px; }

.hero-grid {
  display: grid;
  gap: 38px;
  grid-template-columns: 1fr;
  align-items: end;
}

.hero h1 {
  font-size: clamp(39.5px, 6.4vw, 68.6px);
  font-variation-settings: "SOFT" 20, "WONK" 1;
  margin-block: 14px 18px;
  max-width: 14ch;
}

.hero h1 em { font-style: normal; color: var(--green); }

.hero-lede {
  font-size: 19.5px;
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 0 24px;
}

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat { background: var(--surface); padding: 16px 18px; }
.stat-num {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 15px; color: var(--muted); margin-top: 6px; }

.hero-shot {
  margin-top: 34px;
  aspect-ratio: 21 / 9;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .hero-shot { aspect-ratio: 16 / 10; margin-top: 26px; } }

/* ---------- section furniture ----------------------------------------- */

.section { padding-block: 40px; scroll-margin-top: 84px; }
.section-head { max-width: 62ch; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 34.3px); margin-block: 10px 10px; }
.section-head p { margin: 0; color: var(--muted); font-size: 17.5px; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- about ----------------------------------------------------- */

.about {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding-block: 44px;
}
.about-copy p { color: var(--ink-soft); font-size: 18.5px; max-width: 62ch; }
.about-copy p:first-of-type { margin-top: 0; }

.pull {
  font-family: var(--f-display);
  font-size: 22.5px;
  line-height: 1.34;
  color: var(--ink);
  border-left: 3px solid var(--brass);
  padding-left: 18px;
  margin: 0;
}
.pull cite { display: block; font-family: var(--f-mono); font-size: 12.5px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- catalogue layout ------------------------------------------ */

.builder { padding-bottom: 56px; }

.cat-group { margin-bottom: 38px; }
.cat-group-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.cat-group h3 { font-size: 28px; font-weight: 700; }
.cat-group-lede { color: var(--muted); font-size: 16px; margin: 0 0 20px; max-width: 64ch; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card.is-active { border-color: var(--green); }

/* photo slot */
.shot { aspect-ratio: 16 / 10; width: 100%; max-width: 100%; position: relative; background: var(--surface-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    repeating-linear-gradient(115deg,
      var(--surface-2) 0 14px,
      color-mix(in srgb, var(--surface-2) 70%, var(--ground)) 14px 28px);
  color: var(--muted);
  text-align: center;
  padding: 12px;
}
.shot-empty svg { opacity: .5; }
.shot-hint { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; word-break: break-all; }

.card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title {
  font-family: var(--f-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.card-blurb { font-size: 15.5px; color: var(--muted); margin: 0; }

.spec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.spec-list li {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-soft);
  background: var(--surface-2);
  border-radius: 4px;
  padding: 3px 7px;
}

.field-row { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

select, input, textarea {
  font-family: var(--f-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 10px;
  width: 100%;
  max-width: 100%;
}
textarea { resize: vertical; min-height: 74px; }
select { appearance: none; padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.dims {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  background: var(--green-wash);
  border-radius: 6px;
  padding: 7px 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.dims b { font-weight: 500; color: var(--ink-soft); }

.qty { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.qty-btn {
  width: 34px; height: 34px; flex: none;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.qty-btn:hover { background: var(--surface-2); }
.qty-val {
  flex: 1;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  padding: 7px 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
}
.qty-unit { font-size: 14px; color: var(--muted); flex: none; min-width: 42px; }
.card-rate { font-family: var(--f-mono); font-size: 14px; color: var(--brass); font-variant-numeric: tabular-nums; }
.card-stock { font-family: var(--f-mono); font-size: 12.5px; color: var(--green); }
.card-also { font-family: var(--f-mono); font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }

/* ---------- request panel --------------------------------------------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 84px;
}

.panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  display: flex; align-items: center; gap: 10px;
}
.panel-head h3 { margin-right: auto; }
.panel-head h3 { font-size: 19px; }
.panel-ref { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }

.panel-body { padding: 15px 17px; display: flex; flex-direction: column; gap: 14px; }

.lines { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.line:last-child { border-bottom: 0; padding-bottom: 0; }
.line-name { font-size: 15.5px; font-weight: 600; }
.line-meta { font-family: var(--f-mono); font-size: 13px; color: var(--muted); grid-column: 1; padding-right: 10px; }
.line-amt { font-family: var(--f-mono); font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.line-drop { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; padding: 0; text-decoration: underline; justify-self: end; align-self: start; }
.line-drop:hover { color: var(--ink); }

.empty-note { font-size: 15.5px; color: var(--muted); margin: 0; }

.totals { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.total-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.total-row.grand { font-family: var(--f-display); font-size: 21.5px; font-weight: 600; }
.total-row span:last-child { font-family: var(--f-mono); }
.total-row.grand span:last-child { font-family: var(--f-display); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.form-grid .span-2 { grid-column: 1 / -1; }

.err { color: var(--danger); font-size: 14px; margin: 4px 0 0; }
.is-invalid { border-color: var(--danger); }

.send-stack { display: flex; flex-direction: column; gap: 8px; }
.send-note { font-size: 14px; color: var(--muted); margin: 0; text-align: center; }

.sent {
  background: var(--green-wash);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 14px 15px;
  font-size: 15.5px;
}
.sent strong { display: block; font-family: var(--f-display); font-size: 19px; margin-bottom: 5px; }

/* ---------- the request drawer ---------------------------------------- */

.cart-tab {
  position: fixed;
  right: 0;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px 13px 16px;
  border: 1px solid var(--green);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: var(--green);
  color: var(--on-green);
  font-family: var(--f-body);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 22px -10px rgba(14, 107, 69, .7);
  transition: transform .18s ease, background .18s ease;
}
.cart-tab:hover { background: var(--green-ink); transform: translateX(-3px); }
.cart-tab.is-open { transform: translateX(100%); }
.cart-icon { flex: none; }
.cart-count {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  min-width: 23px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cart-tab.is-bumped { animation: cartBump .4s ease; }
@keyframes cartBump {
  0%, 100% { transform: translateX(0) scale(1); }
  40%      { transform: translateX(-5px) scale(1.06); }
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(17, 28, 22, .38);
  backdrop-filter: blur(2px);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(430px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -14px 0 40px -20px rgba(17, 28, 22, .5);
  transform: translateX(101%);
  transition: transform .26s cubic-bezier(.4, 0, .2, 1);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer.is-open { transform: translateX(0); }
.drawer .panel-head { flex: none; }
.drawer .panel-body { flex: 1; overflow-y: auto; }

.drawer-close {
  flex: none;
  width: 34px; height: 34px;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.drawer-close:hover { background: var(--surface-2); }


/* ---------- venue ----------------------------------------------------- */

.venue {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.venue-copy { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; align-self: center; }
.venue-copy h3 { font-size: 27px; }
.venue-copy p { margin: 0; color: var(--ink-soft); font-size: 17.5px; max-width: 48ch; }
.venue .shot { aspect-ratio: 4 / 3; }

/* ---------- contact / footer ------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-cell { background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 7px; }
.contact-cell .field-label { margin: 0; }
.contact-cell a { font-family: var(--f-mono); font-size: 15.5px; word-break: break-word; text-decoration: none; }
.contact-cell a:hover { text-decoration: underline; }
.contact-cell p { margin: 0; font-size: 15.5px; color: var(--muted); }

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-block: 26px 90px;
  color: var(--muted);
  font-size: 15px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
}

/* ---------- responsive ------------------------------------------------ */

@media (max-width: 699px) {
  .masthead .wrap { min-height: 52px; gap: 10px; padding-block: 8px; }
  .brand-sub { display: none; }
  .brand { margin-right: 0; }
  .mast-links {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .mast-links::-webkit-scrollbar { display: none; }
  .mast-link { flex: none; padding: 6px 9px; }
  .masthead .btn-wa { flex: none; margin-left: auto; }
  .chips { top: calc(env(safe-area-inset-top, 0px) + 92px); }
  .cat-group { scroll-margin-top: 150px; }
  .cart-tab { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding: 12px 15px 12px 13px; }
  .cart-label { display: none; }
}

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { padding-block: 72px 48px; }
}

@media (min-width: 860px) {
  .about { grid-template-columns: 1.55fr 1fr; gap: 44px; align-items: start; }
  .venue { grid-template-columns: 1fr 1fr; }
  .venue .shot { aspect-ratio: auto; height: 100%; min-height: 280px; }
  .venue-copy { padding: 34px 32px; }
}

@media (min-width: 1040px) {
  .site-foot { padding-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .masthead, .cart-tab, .drawer-backdrop, .hero, .about, .venue, .cards, .cat-group, .site-foot, .send-stack { display: none !important; }
  .drawer { position: static; transform: none; width: 100%; height: auto; border: 0; box-shadow: none; }
  .drawer-close { display: none; }
}

/* ======================================================================
   HOW IT WORKS — sets the expectation that TFK sends the price back
   ====================================================================== */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
}
.step { background: var(--surface); padding: 16px 18px; display: flex; gap: 13px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-green);
  font-family: var(--f-mono);
  font-size: 14px;
  display: grid; place-items: center;
  margin-top: 1px;
}
.step-title { font-weight: 700; font-size: 16px; }
.step-text { font-size: 15.5px; color: var(--muted); margin: 2px 0 0; }

/* ---------- category chips ------------------------------------------- */

.chips {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 58px);
  z-index: 30;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 10px;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(8px);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.is-current { background: var(--green); border-color: var(--green); color: var(--on-green); }
.chip-count { font-family: var(--f-mono); font-size: 12.5px; opacity: .7; margin-left: 5px; }

.cat-group { scroll-margin-top: 118px; }

.staff-link { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--line); }
.staff-link:hover { color: var(--ink); }

/* ======================================================================
   PRICING DESK — staff only
   ====================================================================== */

body.pricing-mode > main,
body.pricing-mode > .masthead,
body.pricing-mode > .cart-tab,
body.pricing-mode > .drawer-backdrop,
body.pricing-mode > .drawer { display: none !important; }

.desk { display: none; }
body.pricing-mode .desk { display: block; }

.desk-bar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
}
.desk-bar .wrap { display: flex; align-items: center; gap: 14px; padding-block: 12px; flex-wrap: wrap; }
.desk-bar h2 { font-size: 20px; margin-right: auto; }
.desk-tag {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
  background: var(--brass-wash);
  border-radius: 5px;
  padding: 4px 8px;
}

.desk-body { padding-block: 26px 70px; display: grid; gap: 24px; grid-template-columns: 1fr; }

.desk-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.desk-card h3 { font-size: 19px; margin-bottom: 4px; }
.desk-card > p { color: var(--muted); font-size: 15.5px; margin: 0 0 16px; }

.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.meta-cell .field-label { display: block; margin-bottom: 3px; }
.meta-val { font-size: 17px; font-weight: 600; }
.meta-val.mono { font-family: var(--f-mono); font-size: 15.5px; font-weight: 400; }

.rate-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.rate-table th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  padding: 0 10px 8px 0;
  border-bottom: 1px solid var(--line);
}
.rate-table th.num, .rate-table td.num { text-align: right; padding-right: 0; }
.rate-table td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-item { font-weight: 600; }
.rate-spec { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.rate-table input {
  width: 120px;
  text-align: right;
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  padding: 7px 9px;
}
.rate-amount { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate-scroll { overflow-x: auto; }

.desk-totals { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.desk-words { font-size: 14.5px; color: var(--muted); font-style: italic; }
.vat-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.vat-row input { width: 76px; text-align: right; font-family: var(--f-mono); padding: 6px 8px; }

.desk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.desk-actions .btn { flex: 1 1 190px; }

.paste-note { font-size: 15px; color: var(--muted); }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .desk-body { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .desk-body > .desk-card:first-child { grid-column: 1 / -1; }
}
