:root {
  --ink: #171513;
  --ink-dim: #6d6560;
  --bg: #f6f3ee;
  --bg-2: #fff;
  --gold: #f15a24;
  --gold-2: #c2410c;
  --line: #eadfd4;
  --glass: #fff;
  --shadow: 0 16px 40px rgba(80, 42, 12, 0.06);
  --card-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.22) 34%, rgba(255, 255, 255, 0)), rgba(255, 252, 249, 0.74);
  --card-blur: blur(16px) saturate(1.25);
  --card-edge: rgba(255, 255, 255, 0.82);
  --card-sheen: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --paper: #fff;
  --paper-ink: #171513;
  --radius: 22px;
  --sans: "Manrope", system-ui, sans-serif;
  --serif: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  letter-spacing: -0.02em;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 0.35em;
  color: var(--ink);
  overflow-wrap: break-word;
}
p { line-height: 1.6; color: var(--ink-dim); }
.muted, .hint { color: var(--ink-dim); font-size: 0.95rem; }
.hint a { color: var(--gold-2); font-weight: 700; }
.field-error { color: var(--gold-2); font-size: .82rem; font-weight: 700; }
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.grain { display: none; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(14px);
}
.site-nav::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #ffd0b5 0%, #f15a24 46%, #ff7a45 78%, #c2410c 100%);
}
.spark { width: 16px; height: 16px; flex: none; }
.btn-lg .spark { width: 18px; height: 18px; }
.nav-glass {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 30px; width: auto; display: block; }
.nav-cta-short, .nav-menu-only { display: none; }
.brand-word { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 22px; font-size: 0.95rem; font-weight: 600; color: #3a342f; }
.nav-links a, .nav-quiet, .foot-grid a { transition: color .18s ease; }
.nav-links a.is-on, .nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-quiet { font-weight: 700; font-size: 0.95rem; color: #3a342f; }
.nav-quiet:hover { color: var(--gold); }
.account-menu { position: relative; }
.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid #f3c3ad;
  background: #fff7f3;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.account-pill:hover, .account-menu.is-open .account-pill { background: #fff1e8; }
.account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.account-chevron { width: 16px; height: 16px; color: #8a817b; transition: transform .16s ease; }
.account-menu.is-open .account-chevron { transform: rotate(180deg); }
.account-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 190px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(40, 24, 12, 0.14);
}
.account-menu.is-open .account-panel { display: grid; }
.account-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
}
.account-panel a:hover { background: #fff4ee; color: var(--gold-2); }
.profile-form { max-width: 640px; }
.profile-plan { margin-top: 42px; scroll-margin-top: 96px; }
.profile-plan h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.nav-burger { display: none; background: none; border: 0; width: 40px; height: 40px; }
.nav-burger span { display: block; height: 2px; background: var(--ink); margin: 7px 8px; border-radius: 2px; }
.quota-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--gold-2);
}
.quota-chip.is-pro { color: #166534; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform .15s ease, background .15s ease, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.is-loading { pointer-events: none; opacity: .86; }
.btn.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: fade-soft .45s ease both, spin .7s linear infinite;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 18px rgba(241, 90, 36, 0.22);
}
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost, .btn-glass {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover, .btn-glass:hover { border-color: #f3c3ad; background: #fff8f4; }
.btn-lg { padding: 15px 22px; font-size: 1rem; border-radius: 16px; }
.btn-sm { padding: 8px 12px; font-size: 0.85rem; border-radius: 12px; }

.glass-panel {
  background: var(--card-glass);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--card-sheen);
  padding: 22px;
}

.page-wrap { width: min(1040px, calc(100% - 40px)); margin: 36px auto 72px; }
.page-wrap.narrow { width: min(560px, calc(100% - 40px)); }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.lede { font-size: 1.05rem; max-width: 62ch; }
.split-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; flex-wrap: wrap; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.field label { font-size: 0.85rem; font-weight: 700; color: #3f3833; }
input, textarea, select {
  background: #fff;
  border: 1px solid #e7ddd3;
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  color: var(--ink);
  max-width: 100%;
  min-width: 0;
}
input:focus, textarea:focus, select:focus { border-color: #f3a07e; box-shadow: 0 0 0 4px rgba(241, 90, 36, 0.12); }
.stack { display: flex; flex-direction: column; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline { display: flex; gap: 10px; }
.inline input { flex: 1; }
.check-inline { display: flex; gap: 8px; align-items: center; color: var(--ink-dim); margin-bottom: 12px; }

.toasts { position: fixed; top: 90px; right: 18px; left: auto; z-index: 40; display: grid; gap: 8px; width: min(360px, calc(100% - 24px)); }
.toast {
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: none;
  color: var(--ink);
}
.toast-success { border-color: #86efac; }
.toast-error { border-color: #fdba74; }

.site-foot {
  width: min(1120px, calc(100% - 40px));
  margin: 20px auto 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot-grid a, .foot-grid p { display: block; margin: 0 0 8px; color: var(--ink-dim); }
.foot-grid .brand-word { color: var(--ink); }
.foot-label { color: var(--gold); font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.foot-copy { opacity: .8; margin-top: 24px; font-size: .85rem; }

.progress-rail, .step-bars { display: flex; gap: 10px; margin: 8px 0 28px; }
.progress-rail span, .step-bars span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e7ddd3;
  color: transparent;
  overflow: hidden;
}
.progress-rail span.is-on, .step-bars span.is-on { background: var(--gold); }
.step-label { margin: 0 0 10px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.step { display: none; }
.step.is-active { display: block; animation: rise .62s cubic-bezier(.22, 1, .36, 1); }

.nav-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity .55s ease;
}
.nav-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(241, 90, 36, 0.45);
  transform-origin: left center;
}
body.is-loading .nav-progress,
body.is-leaving .nav-progress { opacity: 1; }
body.is-loading .nav-progress span { animation: load-bar 1.7s cubic-bezier(.16, 1, .3, 1) forwards; }
body.is-ready .nav-progress span { width: 100%; transition: width .45s cubic-bezier(.22, 1, .36, 1); }
body.is-ready .nav-progress { opacity: 0; transition: opacity .6s ease .22s; }
body.is-leaving .nav-progress span { width: 72%; transition: width 1s cubic-bezier(.22, 1, .36, 1); animation: none; }

main { animation: rise .78s cubic-bezier(.22, 1, .36, 1) both; }
body.is-leaving main { animation: leave .36s cubic-bezier(.4, 0, 1, 1) both; }

.busy-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(246, 243, 238, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.busy-layer.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s ease, visibility 0s;
}
.busy-layer[hidden] { display: none; }
.busy-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: min(320px, calc(100% - 32px));
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #efe6dc;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transition: opacity .55s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.busy-layer.is-on .busy-card { opacity: 1; transform: none; }
.busy-card p { margin: 0; color: var(--ink); font-weight: 700; }
.spinner {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 3px solid #f3e0d4;
  border-top-color: var(--gold);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-soft {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes leave {
  to { opacity: 0; transform: translateY(8px); }
}
@keyframes load-bar {
  0% { width: 0; opacity: 0; }
  16% { width: 10%; opacity: 1; }
  100% { width: 78%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  main, body.is-leaving main, .step.is-active, .spinner, .btn.is-loading::before, body.is-loading .nav-progress span, .mic-btn.is-recording .mic-ico {
    animation: none;
  }
  .nav-progress, main, body.is-leaving main, .busy-layer, .busy-card, .pay-loading { transition: none; }
  .busy-layer.is-on, .busy-layer.is-on .busy-card { opacity: 1; transform: none; }
}
.wizard { width: min(880px, calc(100% - 40px)); }
.wizard-progress { max-width: 420px; margin-bottom: 8px; }
.step h2 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin: 8px 0 22px; }
.step-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area-card, .pick {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--card-edge);
  background: var(--card-glass);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  cursor: pointer;
  min-height: 92px;
  box-shadow: var(--card-sheen);
}
.area-card:hover, .pick:hover { border-color: #f3c3ad; }
.area-card:has(input:checked), .pick:has(input:checked) {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08)), rgba(255, 246, 241, 0.9);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.12), var(--card-sheen);
}
.area-card input, .pick input { display: none; }
.area-card span, .pick span { color: var(--ink-dim); font-size: .86rem; }
.method-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.source-block { margin: 8px 0 18px; }
.tell-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
  align-items: start;
  margin-top: 8px;
}
.tell-card {
  background: var(--card-glass);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  padding: 18px;
  min-width: 0;
  box-shadow: var(--card-sheen);
}
.tell-card header h3 { margin: 0 0 4px; font-size: 1.15rem; }
.tell-card header p { margin: 0 0 14px; color: #6d6560; font-size: 0.92rem; }
.tell-card textarea {
  width: 100%;
  min-height: 180px;
  max-height: 520px;
  resize: none;
  overflow: hidden;
  line-height: 1.45;
}
.tell-grid:has(.tell-card:nth-child(3)) .tell-card-text { grid-column: 1 / -1; }
.tell-card audio { width: 100%; margin-top: 10px; }
.drop {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  min-height: 140px;
  border: 1.5px dashed #f3c3ad;
  border-radius: 18px;
  background: #fff8f4;
  cursor: pointer;
  padding: 18px;
}
.drop strong { color: var(--ink); }
.drop input { display: none; }
.mic-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 0 4px;
}
.mic-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.mic-ico {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 32px rgba(241, 90, 36, 0.28);
}
.mic-ico svg { width: 46px; height: 46px; }
.mic-btn:hover .mic-ico { background: var(--gold-2); }
.mic-btn.is-recording .mic-ico {
  background: var(--gold-2);
  animation: mic-pulse 1.1s ease-in-out infinite;
}
@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241, 90, 36, 0.35); }
  70% { box-shadow: 0 0 0 16px rgba(241, 90, 36, 0); }
}
.mic-note { margin: 4px 0 0; max-width: 36ch; color: #6d6560; font-size: 0.92rem; }
.mic-file {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.mic-file input { display: none; }
.mic-file em { display: block; margin-top: 4px; color: var(--ink-dim); font-style: normal; font-weight: 600; }
.rec-timer { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 800; font-size: 1.05rem; }
.ai-status { margin-top: 12px; color: var(--gold-2); font-weight: 700; }

.items-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.items-head h2 { font-size: 1.3rem; }
.items-head .hint { margin: 0; }
.item-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 14px 40px 14px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--card-edge);
  border-radius: 12px;
  background: var(--card-glass);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  box-shadow: var(--card-sheen);
}
.item-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.item-field > span { font-size: 0.78rem; font-weight: 700; color: #3f3833; }
.item-metrics { display: grid; grid-template-columns: 0.7fr 1.3fr 1fr; gap: 8px; }
.unit-field { display: grid; gap: 6px; }
.unit-field select { width: 100%; }
.unit-custom { width: 100%; }
.money-input {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e7ddd3;
  border-radius: 14px;
  padding: 0 12px;
}
.money-input b { color: #6d6560; font-size: 0.9rem; font-weight: 700; }
.money-input input { border: 0; background: transparent; padding: 13px 0; width: 100%; box-shadow: none; }
.money-input input:focus { border: 0; box-shadow: none; }
.money-input:focus-within { border-color: #f3a07e; box-shadow: 0 0 0 4px rgba(241, 90, 36, 0.12); }
.icon-x { background: none; border: 0; color: var(--ink-dim); cursor: pointer; font-size: 1.2rem; }
.item-card .icon-x { position: absolute; top: 8px; right: 8px; }
.form-block + .form-block { margin-top: 8px; padding-top: 16px; border-top: 1px solid #efe6dc; }
.form-block h2 { font-size: 1.2rem; }
.form-block > .hint { margin: 0 0 12px; }
.file-pick { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; width: fit-content; }
.file-pick input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.email-gate { max-width: 520px; width: 100%; margin-inline: auto; }
.email-gate .lede { margin: 0 0 18px; }
.email-gate .field { margin-bottom: 0; }
.gate-send { margin-top: 16px; }
.gate-send .btn, .gate-submit { width: 100%; }
.gate-code {
  margin-top: 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  background: #fbf7f3;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.email-gate .field, .email-gate input, .gate-send, .gate-code { min-width: 0; max-width: 100%; }
.email-gate input { width: 100%; }
.gate-code[hidden], .gate-send[hidden] { display: none !important; }
.gate-code-lead { margin: 0; color: var(--ink); }
.gate-code .code-input { background: #fff; }
.gate-resend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.gate-resend p { margin: 0; }
.gate-resend button {
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 800;
  color: var(--gold-2);
  cursor: pointer;
}
.gate-resend button:disabled { color: #8a817b; cursor: default; }
.code-input { letter-spacing: 0.42em; font-weight: 800; font-size: 1.6rem; text-align: center; }
.totals { margin-top: 16px; display: grid; gap: 6px; }
.totals div, .doc-totals div { display: flex; justify-content: space-between; }
.grand { font-size: 1.25rem; color: var(--gold-2); }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.two-col > *, .grid-2 > *, .list-row > *, .checkout-grid > * { min-width: 0; }

.quote-doc {
  --doc-accent: #b8893a;
  --doc-head: #1c1914;
  --doc-head-ink: #fff;
  --doc-paper: #fff;
  --doc-line: #efe6dc;
  --doc-row: #fbf7f0;
  --doc-soft: #f0ddb0;
  background: var(--doc-paper);
  color: var(--paper-ink);
  border-radius: 12px;
  padding: 36px;
  margin: 18px 0;
  border: 1px solid var(--doc-line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quote-doc h2, .quote-doc h3 { color: var(--paper-ink); }
.quote-doc p, .quote-doc li { color: #4a453c; }
.doc-top { display: flex; justify-content: space-between; gap: 16px; border-top: 4px solid var(--doc-accent); padding-top: 16px; }
.doc-brand-block { min-width: 0; }
.doc-logo { display: block; height: 48px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 8px; }
.doc-brand { font-weight: 800; font-size: 1.4rem; color: var(--paper-ink); margin: 0; letter-spacing: -0.04em; }
.doc-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.doc-table th { background: var(--doc-head); color: var(--doc-head-ink); text-align: left; padding: 10px; font-weight: 700; }
.doc-table td { padding: 10px; border-bottom: 1px solid var(--doc-line); vertical-align: top; }
.doc-table tbody tr:nth-child(even) td { background: var(--doc-row); }
.quote-doc .grand b { color: var(--doc-accent); }
.doc-table small { display: block; color: #6f6a60; }
.doc-totals { margin-left: auto; width: min(280px, 100%); }
.doc-foot { margin-top: 32px; font-size: .8rem; color: #8a8376; }
.quote-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.toolbar-actions { display: flex; gap: 8px; }

.list { display: grid; gap: 10px; }
.list-row { display: grid; grid-template-columns: 1.4fr auto auto auto; gap: 12px; align-items: center; }
.list-row span, .list-row em { color: var(--ink-dim); font-size: .9rem; font-style: normal; }
.list-row-simple { grid-template-columns: 1.4fr auto auto auto; }
.row-actions { display: flex; gap: 6px; align-items: center; }
.filter-bar { display: flex; gap: 10px; margin-bottom: 16px; }
.filter-bar input { flex: 1; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sheet-page { width: min(1120px, calc(100% - 40px)); }
.sheet-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(120px, .7fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 14px;
}
.sheet-field { display: grid; gap: 6px; min-width: 0; }
.sheet-field span { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-dim); }
.sheet-field input, .sheet-field select { width: 100%; min-width: 0; }
.sheet-submit button { width: 100%; }
.sheet-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 0 4px 10px; color: var(--ink-dim); }
.sheet-meta p { margin: 0; }
.sheet-meta a { color: var(--gold-2); font-weight: 800; }
.sheet { padding: 0; overflow: hidden; }
.sheet-scroll { overflow-x: auto; }
.sheet-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.sheet-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3f342c;
  font-weight: 800;
  padding: 14px 12px;
  border-bottom: 1px solid #e4cfc0;
  background: #f6e6d8;
}
.sheet-table td {
  padding: 12px;
  border-bottom: 1px solid #f3ebe3;
  vertical-align: middle;
  background: rgba(255, 252, 249, 0.4);
}
.sheet-table tbody tr:last-child td { border-bottom: 0; }
.sheet-table tbody tr:hover td { background: rgba(255, 255, 255, 0.72); }
.sheet-number { font-weight: 800; }
.sheet-number:hover { color: var(--gold-2); }
.sheet-service { max-width: 280px; }
.sheet-money { font-weight: 800; white-space: nowrap; }
.sheet-act-col { width: 96px; text-align: right; position: sticky; right: 0; }
.sheet-empty { text-align: center; padding: 28px 16px; }
.sheet-empty p { margin: 0 0 12px; color: var(--ink-dim); }
.sheet-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 800;
  background: #f3efe9;
  color: #5f574f;
  white-space: nowrap;
}
.sheet-tag.is-issued { background: #fff1e8; color: #c2410c; }
.sheet-tag.is-sent { background: #eef3fb; color: #2a4f86; }
.sheet-tag.is-approved { background: #e7f6ee; color: #1d7a45; }
.sheet-tag.is-rejected { background: #fdecea; color: #a33b2b; }
.row-menu { position: relative; display: flex; justify-content: flex-end; }
.row-menu-panel {
  display: none;
  position: fixed;
  z-index: 40;
  min-width: 210px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(40, 24, 12, 0.14);
}
.row-menu-panel.is-open { display: grid; }
.row-menu-panel a,
.row-menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  font-weight: 700;
  cursor: pointer;
}
.row-menu-panel a:hover,
.row-menu-panel button:hover { background: #fff4ee; }
.row-menu-panel form { margin: 0; }
.row-menu-label {
  margin: 4px 0 0;
  padding: 8px 10px 2px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.sheet-pages { display: flex; justify-content: flex-end; gap: 6px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.sheet-pages a, .sheet-pages span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 249, 0.8);
  font-weight: 800;
}
.sheet-pages a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sheet-pages span { border: 0; background: transparent; color: var(--ink-dim); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card span, .stat-card small { color: var(--ink-dim); font-size: 0.9rem; }
.stat-card b { display: block; margin: 6px 0 2px; font-size: 1.7rem; letter-spacing: -0.04em; }
.home-split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; align-items: start; }
.home-split h2 { font-size: 1.35rem; }
.home-split .split-head a { font-weight: 800; color: var(--gold-2); }
.plan-side ul { margin: 0; padding-left: 18px; }
.plan-side li { margin: 8px 0; color: var(--ink); }
.plan-board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-choice h2 { font-size: 1.6rem; }
.plan-choice ul { margin: 8px 0 16px; padding-left: 18px; }
.plan-choice li { margin: 7px 0; color: var(--ink); }
.plan-choice.is-current { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.12); }
.plan-choice-price { margin: 0; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.plan-choice-price small { display: block; margin-top: 2px; font-size: 0.9rem; font-weight: 600; color: var(--ink-dim); }
.summary-line { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.summary-line p { margin: 0; }
input[readonly] { background: #f6f3ee; color: #3f3833; }
.how-list { display: grid; gap: 12px; }
.how-list h2 { font-size: 1.35rem; }
.one-off-band { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 18px; flex-wrap: wrap; }

.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.checkout-grid > * { min-width: 0; }
#paymentBrick_container { max-width: 100%; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
.pay-methods span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}
#paymentBrick_container { min-height: 280px; }
.pay-loading {
  display: block;
  max-height: 0;
  margin: 0;
  padding: 0 16px;
  overflow: hidden;
  opacity: 0;
  border-radius: 16px;
  background: #fff6f1;
  color: var(--gold-2);
  font-weight: 700;
  transition: opacity .5s ease, max-height .5s ease, margin .5s ease, padding .5s ease;
}
.pay-loading.show {
  max-height: 80px;
  margin: 12px 0;
  padding: 14px 16px;
  opacity: 1;
}
.pay-result { margin-top: 16px; }
.pay-result img { width: 220px; height: 220px; background: #fff; border-radius: 12px; display: block; }
.pix-label { margin: 4px 0 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.pix-code {
  word-break: break-all;
  font-size: 0.82rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}
.page-wrap.is-pix-only .lede,
.page-wrap.is-pix-only .pay-setup,
.page-wrap.is-pix-only #statusScreenBrick_container,
.page-wrap.is-pix-only [data-open],
.page-wrap.is-pix-only .checkout-grid aside .hint { display: none; }
.page-wrap.is-pix-only .pay-result { margin-top: 0; }
.page-wrap.is-pix-only .pay-result img { margin: 8px auto 18px; }

code { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

.page-wrap.preview-layout { width: min(1120px, calc(100% - 40px)); }
.layout-picker { margin-bottom: 22px; }
.palette-label { margin-top: 18px; }
.palette-row { display: flex; flex-wrap: wrap; gap: 8px; }
.palette-swatch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border: 1px solid #eadfd4;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}
.palette-swatch input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.palette-swatch i { width: 18px; height: 18px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.palette-swatch:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.12); }
.preview-jump {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff6f1;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.preview-jump strong { color: var(--gold-2); white-space: nowrap; }
.layout-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.layout-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--card-edge);
  background: var(--card-glass);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  cursor: pointer;
  min-height: 132px;
  box-shadow: var(--card-sheen);
}
.layout-card input { display: none; }
.layout-card:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.12), var(--card-sheen);
}
.layout-card > span { color: var(--ink-dim); font-size: 0.8rem; }
.layout-mini {
  display: grid;
  height: 86px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eadfd4;
  margin-bottom: 8px;
  background: #fff;
}
.layout-mini i { display: block; }
.layout-mini--classico {
  grid-template-rows: 8px 12px 8px 8px 14px;
  background: #fbf7f0;
  padding: 0 8px 8px;
  gap: 5px;
}
.layout-mini--classico i:first-child { grid-column: 1 / -1; margin: 0 -8px; background: #b8893a; }
.layout-mini--classico i:nth-child(2) { width: 58%; background: #1c1914; border-radius: 2px; }
.layout-mini--classico i:nth-child(3),
.layout-mini--classico i:nth-child(4) { background: #e7dfd2; border-radius: 2px; }
.layout-mini--classico i:nth-child(5) { width: 42%; margin-left: auto; background: #b8893a; border-radius: 2px; }
.layout-mini--obra {
  grid-template-rows: 26px 8px 8px 8px 12px;
  background: #fff;
  gap: 4px;
  padding-bottom: 6px;
}
.layout-mini--obra i:first-child { background: #1c1914; box-shadow: inset 0 -4px 0 #f15a24; }
.layout-mini--obra i:nth-child(2),
.layout-mini--obra i:nth-child(3),
.layout-mini--obra i:nth-child(4) { margin: 0 8px; background: #f3e6dc; border-radius: 2px; }
.layout-mini--obra i:nth-child(5) { width: 36%; margin: 0 8px 0 auto; background: #f15a24; border-radius: 2px; }
.layout-mini--estudio {
  grid-template-columns: 7px 1fr;
  grid-template-rows: 22px 8px 8px 8px;
  gap: 6px 8px;
  align-content: center;
  padding: 8px 8px 8px 0;
  background: #fff;
}
.layout-mini--estudio i:first-child { grid-row: 1 / -1; background: #c45c26; }
.layout-mini--estudio i:nth-child(2) { background: #241f1b; border-radius: 2px; width: 78%; }
.layout-mini--estudio i:nth-child(n + 3) { background: #efe6dc; border-radius: 2px; }
.layout-mini--lista {
  gap: 5px;
  padding: 8px;
  align-content: center;
  background: #fffdfb;
}
.layout-mini--lista i {
  height: 12px;
  border-radius: 4px;
  border: 1px solid #f3e6dc;
  border-left: 4px solid #f15a24;
  background: #fff;
}
.layout-mini--formal {
  margin: 5px;
  height: 74px;
  border: 2px solid #111;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px #111;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding-top: 8px;
}
.layout-mini--formal i { height: 6px; background: #111; border-radius: 1px; }
.layout-mini--formal i:nth-child(1) { width: 46%; }
.layout-mini--formal i:nth-child(2) { width: 70%; height: 8px; }
.layout-mini--formal i:nth-child(3),
.layout-mini--formal i:nth-child(4) { width: 82%; background: #d9d9d9; }
.layout-mini--formal i:nth-child(5) { width: 28%; margin-top: 2px; }
.layout-live { margin-top: 28px; scroll-margin-top: 88px; }
.layout-live h2 { font-size: 1.7rem; }
.doc-sign { display: none; margin-top: 72px; grid-template-columns: 1fr 1fr; gap: 36px; }
.doc-sign span { display: block; height: 72px; border-bottom: 1px solid #171513; margin-bottom: 8px; }
.doc-sign strong { display: block; font-size: 0.98rem; color: var(--paper-ink); }
.doc-sign strong:empty { display: none; }
.doc-sign small { display: block; color: #6d6560; font-size: 0.8rem; }
.quote-doc--classico { background: #fbf7f0; border-radius: 4px; }
.quote-doc--classico .doc-top { border-top-width: 8px; }
.quote-doc--classico .doc-totals {
  background: #fff;
  border: 1px solid var(--doc-line);
  border-radius: 10px;
  padding: 10px 12px;
}
.quote-doc--formal .doc-sign { display: grid; }
.quote-doc--formal {
  border-radius: 2px;
  border: 2px solid var(--doc-accent);
  box-shadow: inset 0 0 0 5px var(--doc-paper), inset 0 0 0 6px var(--doc-accent);
}
.quote-doc--formal .doc-top { border-top: 0; flex-direction: column; align-items: center; text-align: center; }
.quote-doc--formal .doc-brand-block { display: flex; flex-direction: column; align-items: center; width: 100%; }
.quote-doc--formal .doc-logo { height: 40px; margin: 0 auto 12px; }
.quote-doc--formal .doc-id { text-align: center; }
.quote-doc--formal .doc-id strong::after,
.quote-doc--formal .doc-id span:not(:last-child)::after { content: " · "; font-weight: 400; color: #8a817b; }
.quote-doc--formal .doc-brand { letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.15rem; }
.quote-doc--formal h2 { text-align: center; letter-spacing: 0.06em; text-transform: uppercase; font-size: 1.25rem; }
.quote-doc--formal .doc-client { text-align: center; }
.quote-doc--formal .doc-table th {
  background: transparent;
  color: var(--doc-accent);
  border-bottom: 2px solid var(--doc-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.quote-doc--formal .doc-table tbody tr:nth-child(even) td { background: transparent; }
.quote-doc--formal .doc-cond { padding-left: 1.2rem; }
.quote-doc--formal .doc-cond li { list-style: decimal; }
.quote-doc--obra .doc-top {
  background: #1c1914;
  color: #fff;
  margin: -36px -36px 0;
  padding: 22px 36px 10px;
  border-top: 0;
  border-bottom: 6px solid var(--doc-accent);
}
.quote-doc--obra h2 {
  background: #1c1914;
  color: #fff;
  margin: 0 -36px 20px;
  padding: 4px 36px 18px;
}
.quote-doc--obra .doc-brand,
.quote-doc--obra .doc-id,
.quote-doc--obra .doc-id strong,
.quote-doc--obra .doc-meta { color: #fff; }
.quote-doc--obra .doc-logo { background: #fff; padding: 4px 6px; border-radius: 6px; }
.quote-doc--obra .doc-table th { background: var(--doc-accent); color: #fff; }
.quote-doc--obra .grand b { color: var(--doc-accent); }
.quote-doc--estudio { border-left: 10px solid var(--doc-accent); border-top: 0; border-radius: 0 12px 12px 0; }
.quote-doc--estudio .doc-top { border-top: 0; padding-top: 0; }
.quote-doc--estudio .doc-brand { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
.quote-doc--estudio h2 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.05; margin: 8px 0 14px; }
.quote-doc--estudio .doc-table th {
  background: transparent;
  color: var(--doc-accent);
  border-bottom: 1px solid var(--doc-line);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding-left: 0;
}
.quote-doc--estudio .doc-table td { border-bottom: 0; border-top: 1px solid var(--doc-line); padding-left: 0; }
.quote-doc--estudio .doc-table tbody tr:nth-child(even) td { background: transparent; }
.quote-doc--lista .doc-top { border-top: 0; padding-top: 0; }
.quote-doc--lista .doc-table thead { display: none; }
.quote-doc--lista .doc-table,
.quote-doc--lista .doc-table tbody,
.quote-doc--lista .doc-table tr,
.quote-doc--lista .doc-table td { display: block; width: auto; }
.quote-doc--lista .doc-table tr {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--doc-line);
  border-left: 5px solid var(--doc-accent);
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 12px 14px;
  background: #fff;
}
.quote-doc--lista .doc-table td { border: 0; padding: 1px 0; background: transparent; }
.quote-doc--lista .doc-table td:first-child { grid-column: 1; font-weight: 800; color: var(--paper-ink); }
.quote-doc--lista .doc-table td:nth-child(5) {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--doc-accent);
}
.quote-doc--lista .doc-table td:nth-child(2),
.quote-doc--lista .doc-table td:nth-child(3),
.quote-doc--lista .doc-table td:nth-child(4) { grid-column: 1; color: #6d6560; font-size: 0.84rem; }
.quote-doc--lista .doc-totals {
  width: 100%;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 2px solid var(--doc-accent);
}

@media (max-width: 900px) {
  .method-pick, .two-col, .grid-2, .foot-grid, .list-row, .list-row-simple, .checkout-grid, .tell-grid, .home-split, .plan-board, .stat-grid { grid-template-columns: 1fr; }
  .area-grid, .layout-grid { grid-template-columns: repeat(2, 1fr); }
  .page-wrap.preview-layout { width: min(1120px, calc(100% - 28px)); }
  .item-metrics { grid-template-columns: 1fr; }
  .preview-jump { align-items: flex-start; flex-direction: column; }
  .list-row { align-items: start; }
  .row-actions { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open .nav-menu-only { display: block; }
  .nav-links.is-open .nav-menu-note { color: var(--gold-2); font-size: 0.9rem; }
  .nav-burger { display: block; flex: none; }
  .quota-chip, .nav-quiet, .account-pill-label { display: none; }
  .account-pill { padding-right: 8px; }
  .nav-glass { width: min(1120px, calc(100% - 24px)); position: relative; gap: 12px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 12px; }
  .brand-logo { height: 26px; }
  .page-wrap, .wizard, .site-foot { width: min(1040px, calc(100% - 28px)); }
  .page-head h1, .step h2 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .step-nav, .toolbar-actions, .audio-row, .inline { flex-wrap: wrap; }
  .step-nav .btn, .toolbar-actions .btn { flex: 1 1 140px; }
  .filter-bar, .inline { flex-direction: column; }
  .filter-bar > * , .inline > * { width: 100%; }
  .sheet-page { width: min(1120px, calc(100% - 28px)); }
  .sheet-filters { grid-template-columns: 1fr 1fr; }
  .sheet-field.is-search, .sheet-submit { grid-column: 1 / -1; }
  .sheet-table { min-width: 680px; }
  input, textarea, select { font-size: 16px; }
  .quote-doc { padding: 18px; overflow-x: auto; }
  .doc-top { flex-direction: column; align-items: flex-start; }
  .doc-table { min-width: 460px; }
  .quote-doc--obra .doc-top { margin: -18px -18px 0; padding: 16px 16px 8px; }
  .quote-doc--obra h2 { margin: 0 -18px 16px; padding: 4px 18px 14px; }
  .quote-doc--lista .doc-table { min-width: 0; }
  .doc-sign { grid-template-columns: 1fr; }
  .quote-toolbar h1 { font-size: 1.45rem; }
}
@media (max-width: 420px) {
  .area-grid, .layout-grid { grid-template-columns: 1fr; }
  .one-off-band .btn, .cta-band .btn { width: 100%; }
}
@media (max-width: 360px) {
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
}
