
:root {
  color-scheme: light;
  --bone:#F2EEE7; --ink:#1C1917; --rust:#B4541F; --rust-light:#D9733F;
  --rust-ink:#9A4418; --muted:#645A51;
  --bg:#F2EEE7; --surface:#F8F5F0; --surface-2:#FFFFFF; --line:#D8CFC3; --line-soft:#E6DFD5;
  --line-strong:#8C8177;
  --text:#1C1917; --text-2:#4E463F; --text-3:#6A6057;
  --accent:#9A4418; --rule:#B4541F;
  --btn-bg:#1C1917; --btn-fg:#F2EEE7;
  --shadow:0 1px 2px rgba(28,25,23,.08), 0 14px 32px -18px rgba(28,25,23,.35);
  --serif:'Fraunces',Georgia,'Times New Roman',serif;
  --mono:'IBM Plex Mono','Cascadia Mono',Consolas,monospace;
  --step--1: clamp(.875rem, .85rem + .2vw, .9375rem);
  --step-0: 1rem;
  --step-1: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --step-2: clamp(1.125rem, 1.05rem + .5vw, 1.375rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.8vw, 2.375rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.6vw, 4.5rem);
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:40px; --s-7:64px;
  --section-y: clamp(48px, 8vw, 96px);
  --gutter: clamp(16px, 4vw, 32px);
  --measure: 60ch; --radius: 3px; --tap: 44px;
}
.band-ink {
  --bg:#16130F; --surface:#1F1B17; --surface-2:#26211C; --line:#3A332C; --line-soft:#2A241F;
  --line-strong:#7A6F64;
  --text:#F2EEE7; --text-2:#CFC6BB; --text-3:#A89D91;
  --accent:#D9733F; --rule:#D9733F;
  --btn-bg:#F2EEE7; --btn-fg:#1C1917;
  background: var(--bg); color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--serif);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bone);
  padding: 10px 16px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/fraunces-var.7234ed86.woff2) format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/plexmono-400.08949f72.woff2) format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/plexmono-500.01d28544.woff2) format('woff2');}
h1, h2, h3, h4 { font-weight: 700; color: var(--text); font-optical-sizing: auto; }
h1 { font-size: var(--step-4); line-height: .98; letter-spacing: -.02em; font-variation-settings: 'opsz' 144; max-width: 16ch; }
h2 { font-size: var(--step-3); line-height: 1.08; letter-spacing: -.015em; font-variation-settings: 'opsz' 96; max-width: 28ch; }
h3 { font-size: var(--step-2); line-height: 1.25; letter-spacing: -.005em; }
h4 { font-size: var(--step-0); }
p { max-width: var(--measure); color: var(--text-2); }
p.lede { font-size: var(--step-1); max-width: 56ch; color: var(--text-2); }
.lede strong, p strong { color: var(--text); font-weight: 600; }
em { color: var(--text); font-style: normal; font-weight: 600; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); margin: 0 0 var(--s-2); }
.mono { font-family: var(--mono); font-size: 14px; }
.muted { color: var(--text-3); }
.tnum { font-variant-numeric: tabular-nums; }
.rule { width: 56px; height: 3px; background: var(--rule); border: 0; margin: 0 0 var(--s-4); }
code { font-family: var(--mono); font-size: .86em; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 2px; padding: 1px 5px; }
.flow > * + * { margin-top: var(--flow, var(--s-4)); }
.flow h2 + p, .flow h3 + p { margin-top: var(--s-3); }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--text-2); max-width: var(--measure); }
.prose li + li { margin-top: var(--s-2); }
.wrap { width: min(100% - 2 * var(--gutter), 1080px); margin-inline: auto; }
.section { padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-2 { display: grid; gap: var(--s-5); }
.split { display: grid; gap: var(--s-6); align-items: start; }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-cta { grid-row: 1; grid-column: 2; justify-self: end; }
.nav-strip li.nav-contact { display: none; }
.header-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s-4); padding-block: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--text); text-decoration: none; }
.brand-lockup { display: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.site-nav { position: relative; grid-column: 1 / -1; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.nav-strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-strip a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; font: 400 12px/1 var(--mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent; }
.nav-strip li:first-child a { padding-left: 0; }
.nav-strip a:hover { color: var(--text); }
.nav-strip a[aria-current="page"] { color: var(--text); border-bottom-color: var(--rule); }
@media (min-width: 600px) {
  .header-grid { grid-template-columns: auto 1fr auto; padding-block: var(--s-4); }
  .brand-lockup { display: block; width: 240px; height: auto; }
  .brand-mark, .brand-text { display: none; }
  .site-nav { grid-column: auto; margin: 0; padding: 0; overflow: visible; justify-self: end; }
  .header-cta { grid-row: auto; grid-column: auto; }
  .nav-strip li.nav-contact { display: block; }
  .nav-strip { gap: var(--s-2); }
  .nav-strip li:first-child a { padding-left: 10px; }
  .nav-strip a { min-height: var(--tap); }
}
@media (min-width: 900px) { .brand-lockup { width: 270px; } .nav-strip { gap: var(--s-4); } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 22px;
  border-radius: var(--radius); font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.band-ink .btn-primary:hover { color: var(--ink); background: var(--rust-light); border-color: var(--rust-light); }
.btn-secondary { background: transparent; color: var(--text); border-color: currentColor; }
.btn-secondary:hover { color: var(--accent); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 11.5px; }
@media (pointer: coarse) { .btn-sm { min-height: var(--tap); } }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.card h3 { margin-bottom: var(--s-2); }
.card p { font-size: 15px; }
.card .rule { margin-bottom: var(--s-3); }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--line-strong); }
.card-link { display: inline-block; margin-top: var(--s-3); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 14px 18px; font-size: 15px; color: var(--text-2); max-width: none; }
.note b, .note strong { color: var(--text); font-weight: 600; }
.badge { display: inline-block; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px;
  border: 1px solid var(--line-strong); border-radius: 2px; color: var(--text-2); }
.badge-rust { color: var(--accent); border-color: var(--accent); }
.placeholder { font-family: var(--mono); font-size: .95em; color: var(--text-3); border-bottom: 1px dashed var(--line-strong); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: var(--s-5); }
.steps li { counter-increment: step; padding-top: var(--s-3); border-top: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); display: block; margin-bottom: var(--s-2); }
.steps h3 { margin-bottom: var(--s-2); }
.steps p { font-size: 15px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin: 0; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stats dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.stats dd { font-weight: 700; font-size: var(--step-2); line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.stats dd small { display: block; font-weight: 400; font-size: 13px; color: var(--text-2); margin-top: 4px; font-family: var(--serif); }
.tablewrap { overflow-x: auto; position: relative; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--text-2); }
th { font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); font-weight: 400; border-bottom: 1px solid var(--line); }
td:first-child { color: var(--text); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: var(--step-2); display: flex; justify-content: space-between; gap: var(--s-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; }
.field { display: grid; gap: 6px; margin-bottom: var(--s-4); }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--text-3); }
.field input, .field textarea, .field select { min-height: var(--tap); width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: var(--surface-2); font-family: var(--mono); font-size: 15px; color: var(--text); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--rust-ink); }
.field-error { font-size: 13px; color: var(--rust-ink); }
.field-error:empty { display: none; }
.form-status { margin-top: var(--s-4); }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-band { padding-block: var(--section-y); }
.cta-grid { display: grid; gap: var(--s-5); align-items: end; }
.cta-copy { max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 760px) { .cta-grid { grid-template-columns: minmax(0, 1fr) auto; } }
.site-footer { padding-block: clamp(40px, 6vw, 64px) var(--s-5); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: var(--s-6); }
.footer-brand img { width: min(260px, 100%); height: auto; }
.footer-tagline { margin-top: var(--s-4); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a, .footer-contact a { color: var(--text); text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { font-style: normal; }
.footer-contact p { margin: 0 0 6px; }
.footer-legal { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.footer-legal p { font-size: 12px; color: var(--text-3); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); } }
@media print { .site-nav, .cta-band, .header-cta, .demo-live { display: none !important; } }
.hero { padding-block: clamp(48px, 9vw, 112px) clamp(40px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.hero .rule { margin-bottom: var(--s-4); }
.hero-grid { display: grid; gap: var(--s-6); align-items: center; }
.hero .lede { margin-top: var(--s-4); }
.hero .actions { margin-top: var(--s-5); }
.hero-art { max-width: 460px; }
.hero-art svg { width: 100%; height: auto; }
@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) 3px minmax(0, 5fr); column-gap: clamp(32px, 5vw, 64px); }
  .hero-grid::before { content: ""; display: block; width: 3px; align-self: stretch; background: var(--rule); order: 2; }
  .hero-copy { order: 1; } .hero-art { order: 3; justify-self: end; }
  .hero .rule { display: none; }
}
.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(28px, 5vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-top: var(--s-4); }
.problem-copy p + p { margin-top: var(--s-4); }
@media (min-width: 900px) { .problem-copy { columns: 2; column-gap: var(--s-6); } .problem-copy p { max-width: none; break-inside: avoid; } .problem-copy p + p { margin-top: var(--s-4); } }
.teaser-still { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); margin-bottom: var(--s-4); overflow: hidden; }
.teaser-still svg { width: 100%; height: auto; display: block; }
.paths .card { display: flex; flex-direction: column; }
.paths .card p { flex: 1; }
.founders { display: grid; gap: var(--s-6); }
@media (min-width: 760px) { .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-frame { aspect-ratio: 4 / 5; max-width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: var(--s-4); position: relative; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .initials { font-weight: 700; font-size: 56px; letter-spacing: -.02em; color: var(--line-strong); }
.photo-frame .frame-label { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.founder-role { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 4px 0 var(--s-3); }
.name-mark { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-5); align-items: center; }
.name-mark img { width: 96px; height: 96px; }
@media (max-width: 479.98px) { .name-mark { grid-template-columns: 1fr; } }
.principles .card p { font-size: 15px; }
.service { padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); display: grid; gap: var(--s-4); }
.service:first-child { border-top: 0; padding-top: 0; }
.service ul { padding-left: 1.1em; color: var(--text-2); font-size: 15px; margin: 0; }
.service li + li { margin-top: 6px; }
@media (min-width: 760px) { .service { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--s-6); } }
.case { padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case-head { margin-bottom: var(--s-5); }
.case-sector { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-2); }
.case-grid { display: grid; gap: var(--s-5); }
.case-grid h3 { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-2); font-size: 11px; }
.case-grid p, .case-grid li { font-size: 15px; }
.case-grid ul { padding-left: 1.1em; color: var(--text-2); margin: 0; }
.case-grid li + li { margin-top: 6px; }
.case .stats { margin-top: var(--s-5); }
@media (min-width: 900px) { .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.contact-aside .card + .card { margin-top: var(--s-4); }
.contact-aside .mono { display: block; margin-bottom: 6px; }
.consent { font-size: 13px; color: var(--text-3); max-width: none; margin: var(--s-3) 0 var(--s-4); }
.fallback-box { margin-top: var(--s-3); }
.fallback-box textarea { width: 100%; min-height: 140px; font-family: var(--mono); font-size: 13px; padding: 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); }
.notfound { padding-block: clamp(64px, 12vw, 140px); }
.notfound img { width: 72px; height: 72px; margin-bottom: var(--s-5); }
.demo { padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.demo:first-of-type { border-top: 0; }
.demo-head { margin-bottom: var(--s-5); }
.demo-static { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: var(--s-4); }
.demo-static svg { width: 100%; height: auto; }
.demo-static p { font-size: 14px; margin-top: var(--s-3); }
.js .demo-static { display: none; }
.demo-live { display: none; }
.js .demo-live { display: block; }
.demo-shell { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.demo-toolbar { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.demo-toolbar .kicker { margin: 0 auto 0 0; }
.demo-panes { display: grid; }
.pane { padding: var(--s-4); min-width: 0; }
.pane + .pane { border-top: 1px solid var(--line); }
.pane-title { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-3); display: flex; justify-content: space-between; gap: var(--s-3); }
@media (min-width: 1000px) {
  .demo-panes { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .pane + .pane { border-top: 0; border-left: 1px solid var(--line); }
}
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface-2); font-size: 13.5px; color: var(--text); text-align: left; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); }
.chat { position: relative; display: grid; gap: 10px; max-height: 340px; overflow-y: auto; padding: 2px; }
.msg { max-width: 92%; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.45; }
.msg-user { justify-self: end; background: var(--ink); color: var(--bone); border-bottom-right-radius: 2px; }
.msg-sys { justify-self: start; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); border-bottom-left-radius: 2px; }
.msg-sys b { color: var(--text); font-weight: 600; }
.chat-form { display: flex; gap: var(--s-2); margin-top: var(--s-3); }
.chat-form input { flex: 1; min-width: 0; min-height: var(--tap); padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: var(--mono); font-size: 14px; background: var(--surface-2); }
.order { border: 1px solid var(--line); border-left: 3px solid var(--rule); border-radius: var(--radius); background: var(--surface); padding: 12px 14px; margin-top: var(--s-3); font-size: 14px; }
.order dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 0; }
.order dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.order dd { color: var(--text); }
.order .actions { margin-top: var(--s-3); }
.order-empty { color: var(--text-3); font-size: 14px; padding: 12px 0; }
.board-tabs { position: relative; display: flex; gap: 4px; margin-bottom: var(--s-3); overflow-x: auto; scrollbar-width: none; }
.board-tabs button { flex: none; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.board-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.board { display: grid; gap: var(--s-3); }
.col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; min-height: 120px; }
.col.drop-ok { outline: 2px dashed var(--accent); outline-offset: -2px; }
.col-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; display: flex; justify-content: space-between; }
.col-title .count { color: var(--text); }
@media (min-width: 760px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board-tabs { display: none; } .board .col[hidden] { display: block; } }
@media (min-width: 1400px) { .board { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.job { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; font-size: 13px; margin-bottom: 8px; position: relative; }
.job.is-new { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(154,68,24,.15); }
.job.is-dragging { opacity: .5; }
.job-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 8px; align-items: start; margin-bottom: 4px; }
.job b, .job div { overflow-wrap: normal; }
.job b { font-weight: 600; color: var(--text); }
.job .meta { color: var(--text-3); font-family: var(--mono); font-size: 11px; margin-top: 4px; }
.urg { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 6px; border-radius: 2px; border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap; }
.urg-high { color: var(--rust-ink); border-color: var(--rust-ink); }
.job-move { margin-top: 8px; display: flex; gap: 6px; align-items: center; }
.job-move select { min-height: 32px; font-family: var(--mono); font-size: 11.5px; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--surface); max-width: 100%; }
.trace { margin-top: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-3); }
.trace ol { margin: 0; padding-left: 1.2em; font-family: var(--mono); font-size: 12px; color: var(--text-2); line-height: 1.7; }
.trace code { font-size: 11.5px; }
.trace-empty { font-size: 13px; color: var(--text-3); }
.sheetwrap { overflow-x: auto; position: relative; }
.sheet { border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; min-width: 520px; width: 100%; }
.sheet th, .sheet td { border: 1px solid var(--line); padding: 0; height: 34px; color: var(--text); }
.sheet th { background: var(--surface); font-weight: 400; font-size: 10.5px; letter-spacing: .1em; color: var(--text-3); text-align: center; padding: 0 8px; }
.sheet th.rh { font-weight: 400; font-size: 12.5px;  background: var(--surface); text-align: center; color: var(--text-3); width: 34px; }
.sheet td input { width: 100%; height: 34px; border: 0; padding: 0 8px; background: transparent; font: inherit; color: inherit; min-width: 90px; }
.sheet td input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.sheet td.calc { padding: 0 8px; text-align: right; background: var(--surface-2); color: var(--text-2); }
.sheet tr.total td { font-weight: 600; background: var(--surface); }
.sheet tr.total td.calc { color: var(--text); font-size: 14px; }
.sys-lines { display: grid; gap: 10px; }
.sys-line { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1fr); gap: 8px; align-items: start; }
.sys-line select, .sys-line input { min-height: 40px; width: 100%; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: var(--mono); font-size: 13px; background: var(--surface-2); min-width: 0; }
.sys-line .amt { font-family: var(--mono); font-size: 13px; text-align: right; padding-top: 10px; color: var(--text); }
.sys-line [aria-invalid="true"] { border-color: var(--rust-ink); background: #FBF1EA; }
.sys-head { display: none; }
@media (max-width: 599.98px) {
  .sys-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sys-line select { grid-column: 1 / -1; }
}
@media (min-width: 600px) { .sys-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1fr); gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); } }
.issues { margin-top: var(--s-3); display: grid; gap: 6px; }
.issue { font-size: 13px; padding: 8px 10px; border-radius: 2px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); }
.issue-bad { border-left: 3px solid var(--rust-ink); }
.issue-ok { border-left: 3px solid var(--line-strong); }
.quote-summary { margin-top: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px; font-size: 14px; }
.quote-summary table { font-family: var(--mono); font-size: 12.5px; }
.quote-summary td:last-child, .quote-summary th:last-child { text-align: right; }
.totals { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); font-family: var(--mono); }
.totals b { font-size: 18px; }
.totals .bad { color: var(--rust-ink); }
.compare { margin-top: var(--s-4); }
.compare table td { font-family: var(--mono); font-size: 13px; }
.flash { animation: flash 1.2s ease-out 1; }
@keyframes flash { from { background: #F6E2D3; } to { background: transparent; } }
