/* NorthRoute Automation shared stylesheet. One copy for all pages. Bump ?v= in the <link> tag on every page when this file changes. */
/* Nordic Light - NorthRoute Automation. White, navy #013169, system sans only. */
* { box-sizing: border-box; }
:root{
  --navy:#013169;
  --navy-dark:#012144;
  --ink:#333333;
  --ink-2:#666666;
  --ink-3:#888888;
  --line:#E5E7EB;
  --line-strong:#C9CDD2;
  --panel:#F7F8F9;
  --white:#FFFFFF;
  --danger:#B3261E;
  --ok:#1E7D32;
}
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--white); color:var(--ink);
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
::selection{ background:var(--navy); color:#fff; }
a{ color:var(--navy); text-underline-offset:3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible{ outline:2px solid var(--navy); outline-offset:2px; }
h1{ font-size:32px; line-height:1.2; font-weight:700; color:var(--navy); margin:0 0 12px; }
h2{ font-size:24px; line-height:1.3; font-weight:700; color:var(--navy); margin:0 0 10px; }
h3{ font-size:19px; line-height:1.35; font-weight:700; color:var(--navy); margin:0 0 8px; }
p{ margin:0 0 16px; }
small{ font-size:14px; }
img{ max-width:100%; height:auto; }
.wrap{ max-width:720px; margin:0 auto; padding:0 20px; }
main{ display:block; }
section{ padding:32px 0; }
hr, .rule, .rule-thick, .lock-rule{ border:0; border-top:1px solid var(--line); margin:24px 0; }
.mono, .cond{ font-family:inherit; }
.navy{ color:var(--navy); }
.muted, .hint, .fine, .small{ color:var(--ink-2); font-size:15px; }
.note, .control-note{ color:var(--ink-2); font-size:15px; }
.plain{ color:var(--ink); }
.center{ text-align:center; }
.hidden{ display:none; }
.show{ display:block; }

/* ---------- Header ---------- */
.utility{ display:none; }
header.site, .topbar, .masthead{
  background:var(--white); border-bottom:1px solid var(--line);
}
.site-in, .topbar-in, .masthead-inner{
  max-width:720px; margin:0 auto; padding:12px 20px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }
.brand-mark{ width:36px; height:36px; flex:none; display:grid; place-items:center; background:var(--navy); border-radius:8px; }
.brand-mark svg{ display:block; }
.brand-mark svg path{ stroke:#fff; }
.brand-name{ font-weight:700; font-size:22px; line-height:1.1; color:var(--navy); white-space:nowrap; }
.brand-name span{ color:var(--navy); }
.brand-sub, .topbar .brand small, .masthead .brand small{
  display:block; font-size:12px; color:var(--ink-2); margin-top:2px; font-weight:400;
}
nav.main{ margin-left:auto; display:flex; align-items:center; gap:4px; }
nav.main a{ color:var(--ink); text-decoration:none; font-weight:600; font-size:15px; padding:8px 10px; }
nav.main a:hover{ color:var(--navy); text-decoration:underline; }
nav.main a.cta, nav.main a.btn{
  background:var(--navy); color:#fff; border-radius:8px; padding:10px 16px; min-height:44px;
  display:inline-flex; align-items:center; text-decoration:none; font-size:15px;
}
nav.main a.cta:hover, nav.main a.btn:hover{ background:var(--navy-dark); color:#fff; }
nav.main button{
  background:none; border:0; color:var(--navy); font-weight:600; font-size:15px;
  cursor:pointer; text-decoration:underline; padding:8px 10px; font-family:inherit;
}
@media (max-width:640px){ nav.main a:not(.cta):not(.btn){ display:none; } }
.topbar .brand, .masthead .brand{ font-weight:700; font-size:22px; color:var(--navy); }
.topbar h1, .masthead h1{ font-size:24px; margin:0; }
.topbar .tag, .masthead .doc{ display:none; }
.topstrip{ display:none; }

/* ---------- Buttons: one primary per page, the rest are text links ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--navy); color:#fff; font-family:inherit; font-weight:600; font-size:17px;
  text-decoration:none; padding:12px 24px; border:1px solid var(--navy); border-radius:8px;
  min-height:52px; cursor:pointer; line-height:1.3;
}
.btn:hover{ background:var(--navy-dark); border-color:var(--navy-dark); }
.btn::after{ content:none; }
.btn.ghost, .btn.secondary, .btn.btn-ghost, .btn.btn-secondary{
  background:transparent; border:0; color:var(--navy); text-decoration:underline;
  min-height:44px; padding:8px 4px; font-size:16px; width:auto;
}
.btn.ghost:hover, .btn.secondary:hover, .btn.btn-ghost:hover, .btn.btn-secondary:hover{ background:transparent; color:var(--navy-dark); }
.btn.on-dark, .btn.btn-navy, .btn.btn-accent{ background:var(--navy); color:#fff; border-color:var(--navy); }
.btn-small, .btn-log, .btn-share{
  min-height:44px; padding:8px 16px; font-size:15px; width:auto;
}
.btn-outline{
  background:var(--white); color:var(--navy); border:1px solid var(--navy);
}
.btn-outline:hover{ background:var(--panel); }
.btn-del, .btn-vdel, .remove-btn, .item-remove, .photo-remove{
  background:transparent; border:0; color:var(--danger); font-weight:600;
  text-decoration:underline; cursor:pointer; padding:8px 4px; font-size:15px; font-family:inherit;
  min-height:44px; width:auto;
}
.text-btn{
  background:transparent; border:0; color:var(--navy); font-weight:600; font-size:16px;
  text-decoration:underline; cursor:pointer; padding:8px 4px; font-family:inherit; min-height:44px;
}
.btn-row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.btn-row.two{ flex-direction:column; align-items:stretch; }
@media (max-width:640px){
  .btn{ width:100%; }
  .composer .btn, .btn-small, .btn-log, .btn-share{ width:auto; }
  .cta-row{ flex-direction:column; align-items:stretch; }
  .cta-row .btn{ width:100%; }
}

/* ---------- Forms: one field per row, big labels, large inputs ---------- */
label, .field-label, .fl > span, .lbl{
  display:block; font-weight:600; font-size:16px; color:var(--ink); margin-bottom:6px;
}
.fl{ display:block; margin-bottom:20px; }
.fl span{ font-weight:600; }
.fl .opt, label .opt{ font-weight:400; color:var(--ink-2); font-size:14px; }
input:not([type]), input[type="text"], input[type="number"], input[type="tel"], input[type="email"],
input[type="password"], input[type="search"], textarea, select{
  width:100%; min-height:52px; padding:12px 14px; font-family:inherit; font-size:17px;
  color:var(--ink); background:var(--white); border:1px solid var(--line-strong);
  border-radius:8px; margin-top:6px;
}
textarea{ min-height:110px; resize:vertical; }
input:focus, textarea:focus, select:focus{ border-color:var(--navy); outline:2px solid rgba(1,49,105,.25); outline-offset:0; }
input[type="checkbox"], input[type="radio"]{ accent-color:var(--navy); min-height:20px; width:20px; }
.grid2, .cols2, .cols3, .form-stack{ display:grid; grid-template-columns:1fr; gap:0; }
.form-card, .panel, .lock-panel, .card{
  background:var(--white); border:1px solid var(--line); border-radius:12px; padding:24px;
}
.lock-panel{ margin-top:24px; }
.lock-line{ color:var(--ink-2); }
.lock-line.after{ font-size:15px; }
.lock-err, .lock-error, .error, .error-line, .err{ display:none; color:var(--danger); font-size:15px; }
.lock-err.show, .lock-error.show, .error.show, .error-line.show, .err.show{ display:block; }
.saved-note, .copied-line, .ok-line{ color:var(--ok); font-size:15px; }
.view{ display:none; }
.view.on{ display:block; }
.field{ margin-bottom:20px; }
.form-head{
  font-size:13px; font-weight:700; color:var(--ink-2); padding-bottom:12px;
  border-bottom:1px solid var(--line); margin-bottom:20px; display:flex; justify-content:space-between; gap:12px;
}

/* ---------- Sections, headings, eyebrows ---------- */
.sec-label{
  font-size:14px; font-weight:600; color:var(--ink-2); margin-bottom:8px;
}
.sec-label b{ display:none; }
.sec-label::after{ content:none; }
.sec-title{ font-size:28px; }
.sec-intro{ color:var(--ink-2); font-size:17px; max-width:100%; }
.sec-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:8px; }
.sec-head h2{ font-size:20px; margin:0; }
.sec{ font-size:20px; }

/* ---------- Hero ---------- */
.hero{ border-bottom:1px solid var(--line); padding:40px 0; }
.hero-grid{ display:block; }
.hero-copy{ padding:0; }
.hero-eyebrow{ font-size:14px; font-weight:600; color:var(--ink-2); margin-bottom:16px; }
.hero-eyebrow i{ display:none; }
.hero h1{ font-size:36px; line-height:1.15; }
.hero h1 em{ font-style:normal; color:var(--navy); }
.hero .lede, .lede{ font-size:18px; color:var(--ink); max-width:100%; }
.price-line{ display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-bottom:24px; }
.price-line .price, .price{ font-size:32px; font-weight:700; line-height:1; color:var(--navy); }
.price-line .price sup, .price sup{ font-size:16px; font-weight:600; }
.price-line .per, .per{ font-size:15px; color:var(--ink-2); max-width:100%; line-height:1.5; }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.cta-note{ font-size:14px; color:var(--ink-2); margin:14px 0 0; }
.specs{ display:none; }
.hero-media{ padding:32px 0 0; border:0; }
.hero-media figure{ margin:0; }
.hero-media img{ width:100%; height:auto; border-radius:12px; aspect-ratio:auto; max-height:none; }
.hero-media figcaption{ display:none; }
.pack-hero{ padding:40px 0 8px; }
.pack-hero h1{ font-size:36px; }

/* ---------- Marketing sections: single column, light ---------- */
.modes, .tools, .process-grid{ display:block; border:0; margin-top:24px; }
.mode, .tool, .step{ padding:24px 0; border-bottom:1px solid var(--line); border-right:0; }
.mode:last-child, .tool:last-child, .step:last-child{ border-bottom:0; }
.mode + .mode, .tool + .tool, .step + .step{ border-left:0; padding-left:0; }
.mode h3, .tool h3, .step h3{ font-size:20px; }
.mode p, .tool p, .step p{ color:var(--ink-2); }
.step .n{ display:none; }
.who{ margin-top:32px; display:block; padding-top:24px; border-top:1px solid var(--line); }
.who .who-k{ font-size:13px; font-weight:700; color:var(--ink-2); display:block; margin-bottom:8px; }
.who p{ color:var(--ink-2); max-width:100%; }
.who p strong{ color:var(--ink); }
.pain{ background:var(--white); color:var(--ink); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.pain h2.sec-title{ color:var(--navy); }
.pain .sec-intro{ color:var(--ink-2); }
.dispute-list{ margin-top:24px; border-top:1px solid var(--line); }
.dispute{ display:block; padding:24px 0; border-bottom:1px solid var(--line); }
.dispute .no{ display:none; }
.dispute h3{ font-size:20px; color:var(--navy); }
.dispute p{ color:var(--ink-2); font-size:16px; max-width:100%; }
.final{ background:var(--panel); color:var(--ink); padding:48px 0; border-top:1px solid var(--line); }
.final .wrap{ display:block; }
.final h2{ color:var(--navy); font-size:28px; line-height:1.2; max-width:100%; }
.final p{ color:var(--ink-2); max-width:100%; }
.final .btn{ margin-top:20px; }

/* ---------- Product / doc lists: stacked cards ---------- */
.prod-index, .doc-index{ margin-top:32px; border-top:1px solid var(--line); }
.cat-menu{ display:flex; flex-wrap:wrap; gap:4px 20px; margin:28px 0 0; padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.cat-menu a{ font-size:15px; color:var(--navy); text-decoration:none; padding:4px 0; font-weight:600; }
.cat-menu a:hover{ text-decoration:underline; }
.prod-group{ font-size:20px; font-weight:700; color:var(--navy); margin:32px 0 0; padding-top:24px; border-top:1px solid var(--line); }
.prod-group:first-of-type{ margin-top:24px; padding-top:0; border-top:0; }
.prod, .doc{ display:block; padding:28px 0; border-bottom:1px solid var(--line); }
.prod .idx, .doc .idx{ display:none; }
.prod h3, .doc h3{ font-size:22px; }
.prod .desc, .doc .desc{ color:var(--ink-2); margin:0 0 16px; max-width:100%; }
.prod-side{ border:0; padding:0; margin-top:16px; }
.prod-price{ display:block; font-size:28px; font-weight:700; color:var(--navy); line-height:1; }
.prod-included{ display:block; font-size:14px; font-weight:600; color:var(--navy); }
.prod-price sup{ font-size:15px; }
.prod-per{ display:block; font-size:15px; color:var(--ink-2); margin:6px 0 16px; }
.doc figure{ margin:20px 0 0; }
.doc figure img{ width:100%; height:auto; border-radius:12px; }
.doc figure figcaption{ display:none; }
.clauses{ list-style:none; margin:0; padding:0; columns:1; }
.clauses li{ padding:8px 0 8px 20px; position:relative; font-size:16px; border-top:1px solid var(--line); line-height:1.5; }
.clauses li::before{ content:""; position:absolute; left:0; top:17px; width:7px; height:7px; background:var(--navy); border-radius:2px; }
.tool .idx{ font-size:13px; font-weight:700; color:var(--ink-2); margin-bottom:8px; }

/* ---------- Tables: simple, stacked on mobile ---------- */
.table-wrap{ margin-top:24px; border-top:1px solid var(--line); }
table{ border-collapse:collapse; width:100%; font-size:16px; }
th, td{ text-align:left; padding:12px 12px 12px 0; vertical-align:top; border-bottom:1px solid var(--line); }
th{ font-weight:700; color:var(--navy); }
tbody td{ color:var(--ink-2); }
tbody td:first-child{ font-weight:700; color:var(--ink); }
@media (max-width:680px){
  thead{ display:none; }
  table, tbody, tr, td{ display:block; width:100%; }
  tbody tr{ padding:14px 0; border-bottom:1px solid var(--line); }
  td{ border:0; padding:3px 0; }
  td:first-child{ padding-bottom:6px; }
  td[data-k]::before{ content:attr(data-k) ": "; font-weight:600; color:var(--ink); }
}

/* ---------- Estimator / buy / FAQ ---------- */
.estimator-sec{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.estimator{ display:block; margin-top:32px; background:var(--white); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.est-form{ padding:24px; }
.est-form label{ font-weight:600; font-size:16px; margin:0 0 20px; }
.est-form label span{ display:block; font-weight:400; color:var(--ink-2); font-size:14px; margin-top:2px; }
.est-out{ background:var(--panel); padding:24px; border-top:1px solid var(--line); }
.est-out .k{ font-size:14px; color:var(--ink-2); margin-bottom:4px; }
.est-out .big{ font-size:44px; font-weight:700; color:var(--navy); line-height:1; }
.est-out .lines{ margin-top:16px; border-top:1px solid var(--line); }
.est-out .sub{ display:block; padding:10px 0; border-bottom:1px solid var(--line); color:var(--ink); font-size:16px; }
.est-out .warn{ margin-top:16px; font-size:15px; line-height:1.5; color:var(--danger); display:none; border-left:3px solid var(--danger); padding-left:12px; }
.buy-sec{ padding-top:0; }
.buy{ display:block; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.buy-l{ padding:28px 24px; }
.buy-l h2{ font-size:26px; }
.buy-l > p{ color:var(--ink-2); }
.buy-l ul{ list-style:none; margin:20px 0 0; padding:0; border-top:1px solid var(--line); }
.buy-l li{ display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid var(--line); font-size:16px; font-weight:500; }
.buy-l li span:last-child{ font-size:13px; color:var(--ink-3); padding-top:4px; white-space:nowrap; }
.buy-r{ background:var(--panel); border-top:1px solid var(--line); padding:28px 24px; display:flex; flex-direction:column; align-items:stretch; }
.buy-r .btn{ margin:16px 0; }
.buy-r .mono-label{ font-size:13px; font-weight:600; color:var(--ink-2); }
.buy-r .price{ font-size:48px; font-weight:700; color:var(--navy); line-height:1; margin:8px 0 4px; }
.buy-r .cad{ color:var(--ink-2); margin:0 0 20px; font-size:15px; }
.buy-r .fine{ font-size:14px; color:var(--ink-2); margin-top:14px; line-height:1.55; }
.faq-sec{ padding-top:0; }
.faq{ margin-top:32px; border-top:1px solid var(--line); max-width:100%; }
details{ border-bottom:1px solid var(--line); }
summary{
  cursor:pointer; font-weight:600; font-size:18px; color:var(--navy);
  padding:18px 32px 18px 0; list-style:none; display:flex; justify-content:space-between; gap:16px; align-items:center; min-height:52px; position:relative;
}
summary::-webkit-details-marker{ display:none; }
summary::after{ content:"+"; font-size:24px; font-weight:400; color:var(--navy); flex:none; line-height:1; }
details[open] summary::after{ content:"-"; }
details .a{ padding:0 0 20px; color:var(--ink-2); max-width:100%; }
details .a p{ margin:0 0 10px; }

/* ---------- Footer ---------- */
footer{ padding:0; font-size:15px; color:var(--ink-2); border-top:1px solid var(--line); margin-top:48px; }
.foot-main{ display:block; padding:32px 0 24px; border-bottom:1px solid var(--line); }
.foot-main > div{ margin-bottom:24px; }
.foot-main > div:last-child{ margin-bottom:0; }
.foot-brand{ font-size:20px; font-weight:700; color:var(--navy); }
.foot-brand span{ color:var(--navy); }
footer nav{ display:flex; flex-direction:column; gap:2px; align-items:flex-start; }
footer nav a{ color:var(--ink-2); text-decoration:none; padding:5px 0; font-weight:500; }
footer nav a:hover{ color:var(--navy); text-decoration:underline; }
footer .foot-k{ font-size:13px; font-weight:700; color:var(--ink-3); margin-bottom:8px; }
.disclaimer, .foot-note, .footer-note{ padding:18px 0 32px; font-size:13px; line-height:1.6; color:var(--ink-3); max-width:100%; }

/* ---------- Assistant ---------- */
.badge{
  display:inline-block; background:var(--panel); border:1px solid var(--line); color:var(--navy);
  font-weight:700; font-size:13px; padding:6px 12px; border-radius:8px; margin-bottom:12px;
}
.sub{ color:var(--ink-2); font-size:17px; }
.demo-banner{
  background:var(--panel); border:1px solid var(--line); border-radius:12px;
  padding:20px; margin:20px 0; color:var(--ink);
}
.demo-banner .row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; align-items:center; }
.chips{ display:flex; flex-wrap:wrap; gap:10px; margin:8px 0 20px; }
.chip{
  border:1px solid var(--line-strong); border-radius:8px; padding:12px 16px; background:var(--white);
  font-family:inherit; font-weight:600; font-size:15px; color:var(--ink); min-height:48px; cursor:pointer;
}
.chip:hover{ border-color:var(--navy); color:var(--navy); }
.thread{ margin-bottom:8px; }
.msg{ border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:12px; background:var(--white); }
.msg.user{ background:var(--panel); }
.msg .who{ font-weight:700; color:var(--navy); font-size:14px; margin-bottom:4px; }
.msg p{ margin:0; }
.msg p.thinking{ color:var(--ink-2); }
.composer{ display:flex; gap:10px; margin-top:16px; align-items:stretch; }
.composer input{ flex:1; margin-top:0; }
.composer .btn{ flex:none; width:auto; }
.actions{ margin-top:32px; }
.actions h2, .links h2{ font-size:20px; }
.action{ border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:12px; }
.action .tool{ font-weight:700; color:var(--navy); font-size:14px; }
.action .sum{ font-weight:600; margin:4px 0; }
.action .res{ color:var(--ink-2); font-size:15px; white-space:pre-line; }
.empty{ color:var(--ink-2); }
.links{ margin-top:32px; }
.links .row{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }

/* ---------- Workspace ---------- */
.tabs{ display:flex; border:1px solid var(--line-strong); border-radius:8px; overflow:hidden; margin:20px 0; }
.tabs button{
  flex:1; background:var(--white); color:var(--ink); border:0; font-family:inherit; font-weight:600;
  font-size:15px; min-height:52px; padding:10px 8px; cursor:pointer;
}
.tabs button[aria-selected="true"]{ background:var(--navy); color:#fff; }
.tabs button + button{ border-left:1px solid var(--line-strong); }
.card-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.card-head button.on{ background:var(--navy); color:#fff; }
.row-card{ border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:12px; background:var(--white); }
.row-card .top{ display:flex; justify-content:space-between; gap:12px; align-items:baseline; }
.row-card .name{ font-weight:700; }
.row-card .money{ font-weight:700; color:var(--navy); white-space:nowrap; }
.row-card .meta{ color:var(--ink-2); font-size:14px; margin-top:4px; }
.status{
  display:inline-block; font-weight:700; font-size:13px; padding:4px 10px; border-radius:8px;
  background:var(--panel); color:var(--ink);
}
.status-line{ display:block; padding:12px 16px; border-radius:8px; background:var(--panel); color:var(--ink); font-size:15px; }
.totals{ display:block; margin:20px 0; }
.total-cell{ border:1px solid var(--line); border-radius:12px; padding:20px; margin-bottom:12px; }
.total-cell .lbl{ font-size:14px; color:var(--ink-2); margin-bottom:4px; }
.total-cell .amt{ font-size:32px; font-weight:700; color:var(--navy); line-height:1.1; }
.total-cell .sub{ font-size:15px; color:var(--ink-2); margin-top:4px; }
.block{ margin-bottom:32px; }
.app-head{ margin-bottom:8px; }

/* ---------- Tool pages: totals, lists, panels ---------- */
.totals .amt-owed, .totals .amt-paid{ color:var(--navy); }
.inv-list, .prop-list, .visit-list, .route-list{ display:block; }
.visit{ border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:12px; background:var(--white); }
.visit-addr, .visit-prop{ font-weight:700; }
.visit-time, .visit-note, .visit-actions{ color:var(--ink-2); font-size:15px; }
.visit-actions{ margin-top:8px; display:flex; gap:16px; flex-wrap:wrap; }
.panel{ margin-bottom:20px; }
.verdict-main{ font-size:20px; font-weight:700; color:var(--navy); }
.verdict-sub{ color:var(--ink-2); font-size:15px; }
.verdict-amount{ font-size:28px; font-weight:700; color:var(--navy); }
.verdict-head{ font-size:14px; color:var(--ink-2); }
.route-empty{ color:var(--ink-2); }
.trigger-row{ display:flex; gap:12px; flex-wrap:wrap; align-items:end; }
.trigger-row > *{ flex:1; min-width:160px; }
.privacy, .privacy-in{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:12px 0; font-size:15px; color:var(--ink-2); }
.privacy-in{ max-width:720px; margin:0 auto; padding-left:20px; padding-right:20px; border:0; }
.tones{ display:flex; gap:10px; flex-wrap:wrap; }
.tone-btn{
  border:1px solid var(--line-strong); border-radius:8px; padding:12px 18px; background:var(--white);
  font-family:inherit; font-weight:600; font-size:15px; color:var(--ink); min-height:48px; cursor:pointer;
}
.tone-btn[aria-pressed="true"]{ background:var(--navy); color:#fff; border-color:var(--navy); }
.example-btn{
  display:block; width:100%; text-align:left; border:1px solid var(--line); border-radius:8px;
  padding:14px 16px; background:var(--white); font-family:inherit; font-size:15px; line-height:1.5;
  color:var(--ink); cursor:pointer; margin-bottom:10px;
}
.example-btn:hover{ border-color:var(--navy); }
.reply-box, .reply-text{ border:1px solid var(--line); border-radius:12px; padding:20px; background:var(--panel); }
.tones + .tone-help, .tone-help{ color:var(--ink-2); font-size:14px; }
.qline, .sum-line{ display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); }
.q-total, .grand{ display:flex; justify-content:space-between; gap:12px; font-weight:700; font-size:19px; border-top:1px solid var(--line); padding-top:12px; margin-top:12px; }
.t-amt, .t-label{ font-weight:700; }
.quote-box, .quote-lines, .sum-box{ border:1px solid var(--line); border-radius:12px; padding:20px; margin-bottom:20px; }
.q-head{ display:flex; justify-content:space-between; gap:12px; align-items:baseline; margin-bottom:8px; }
.doc-row{ display:flex; gap:16px; padding:10px 0; border-bottom:1px solid var(--line); }
.doc-row .k{ font-weight:600; color:var(--ink-2); min-width:110px; font-size:15px; }
.doc-row .v{ flex:1; }
.doc-row .price{ font-size:24px; font-weight:700; color:var(--navy); }
.doc-row .terms{ font-size:15px; color:var(--ink-2); }
.sig-tabs{ display:flex; gap:10px; margin-bottom:16px; }
.sig-pad-wrap{ border:1px solid var(--line-strong); border-radius:8px; padding:12px; }
.sig-img, .sig-typed{ max-width:100%; }
.stamp{ display:inline-block; border:1px solid var(--navy); border-radius:8px; padding:8px 12px; color:var(--navy); font-weight:700; font-size:14px; }
.item-row, .prop{ border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:12px; }
.route-name{ font-weight:700; }
.route-num{ font-weight:700; color:var(--navy); }
.switch{ width:52px; height:30px; border-radius:15px; background:var(--line); position:relative; border:0; cursor:pointer; flex:none; }
.switch.on{ background:var(--navy); }
.switch.on .knob{ left:25px; }
.toggle-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid var(--line); }
.filter-row{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-bottom:16px; }
.filter-row label{ margin:0; }
.add-row, .add-item, .add-form{ margin-top:16px; }
.log-tools{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.device-line, .count-line, .meta{ color:var(--ink-2); font-size:14px; }
.p-head{ display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:16px; }
.p-biz{ font-weight:700; }
.p-meta{ color:var(--ink-2); font-size:15px; }
.p-cols{ display:block; }
.p-col{ margin-bottom:16px; }
.p-items{ margin:16px 0; }
.p-foot{ border-top:1px solid var(--line); padding-top:16px; color:var(--ink-2); font-size:15px; }
.p-sums{ margin-top:16px; }
.p-sums .grand{ border-top:1px solid var(--line); }
.terms{ font-size:15px; color:var(--ink-2); }
.or-line{ text-align:center; color:var(--ink-3); font-size:14px; margin:16px 0; }
.banner{ background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:16px 20px; margin-bottom:20px; }
.topbar-inner .brand-sub{ display:block; }

/* ---------- Print ---------- */
@media print{
  .no-print{ display:none !important; }
  header.site, .topbar, .masthead{ border-bottom:1px solid #999; }
  body{ font-size:14px; }
}
    
@media (max-width:640px){
  .wrap{ padding:0 16px; }
  section{ padding:22px 0; }
  .hero{ padding:28px 0; }
  .pack-hero{ padding:28px 0 4px; }
  .hero-media{ padding:22px 0 0; }
  .final{ padding:32px 0; }
  p{ margin:0 0 12px; }
  h1{ margin:0 0 10px; }
  h2{ margin:0 0 8px; }
  .mode, .tool, .step{ padding:16px 0; }
  .dispute{ padding:16px 0; }
  .form-card, .panel, .lock-panel, .card{ padding:18px; }
  .prod-index, .doc-index{ margin-top:22px; }
  .who{ margin-top:22px; padding-top:16px; }
  .field, .fl{ margin-bottom:14px; }
  .price-line{ margin-bottom:16px; padding:12px 0; }
  .cat-menu{ margin:20px 0 0; padding:12px 0; }
  .lock-panel{ margin-top:16px; }
  .modes, .tools, .process-grid{ margin-top:16px; }
  hr, .rule, .rule-thick, .lock-rule{ margin:18px 0; }
  .buy-r{ padding:20px 16px; }
  .msg{ padding:12px; margin-bottom:8px; }
  .action{ padding:12px; margin-bottom:8px; }
  .tabs{ overflow-x:auto; }
  .tabs button{ flex:none; white-space:nowrap; }
  .brand-name{ font-size:19px; }
  nav.main a.cta, nav.main a.btn{ font-size:14px; padding:8px 12px; white-space:nowrap; }
}

/* Toggle fix (was quote.html only) */
.knob{ position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background:#fff; transition:left .15s ease; }
.switch input{ position:absolute; opacity:0; width:0; height:0; margin:0; pointer-events:none; }
.switch:has(input:checked){ background:var(--navy); }
.switch:has(input:checked) .knob{ left:25px; }
.t-text{ display:block; }
.t-sub{ display:block; font-size:14px; color:var(--ink-2); margin-top:2px; }

/* Workspace panel rules (was workspace.html only) */
#panel-clients, #panel-quotes, #panel-invoices, #panel-jobs, #panel-activity, #panel-rate-card{ display:none; }
#panel-clients.on, #panel-quotes.on, #panel-invoices.on, #panel-jobs.on, #panel-activity.on, #panel-rate-card.on{ display:block; }
.tabs button.on{ background:var(--navy); color:#fff; }

/* Subnav: slim link row under the header on tool pages */
.subnav{ max-width:720px; margin:0 auto; padding:12px 20px; display:flex; gap:20px; flex-wrap:wrap; border-bottom:1px solid var(--line); }
.subnav a{ color:var(--ink); text-decoration:none; font-weight:600; font-size:15px; padding:4px 0; }
.subnav a:hover{ color:var(--navy); text-decoration:underline; }
.subnav a:last-child{ color:var(--navy); }

/* Agreement preview on /pack */
.preview{ margin-top:32px; }
.preview figure{ margin:20px 0 0; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.preview figure img{ display:block; width:100%; height:auto; }
