/* The B2B Estimate Desk — Cloudflare build (prelaunch).
   Layout rule: type is never shrunk to fit; layout wraps and stacks. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Sticky-header height, refined at runtime by site.js to the measured
   header height (it changes when the header rows wrap). Fallbacks here
   cover the pre-JS / no-JS first paint. Anchor targets use it via
   scroll-margin-top so a selection lands fully below the header. */
/* FULL-WIDTH LOCK (owner direction, 2026-11-24, annotated screenshot
   of the prelaunch on his monitor: big X's over the empty side bands
   left and right of the centered column): there is NO max-width cap
   anywhere. The header, every main, and the footer on home, intake,
   and privacy pages (EN + ES) all run the full screen width, and the
   only inset is the one shared side padding on .wrap / .form-shell,
   so the left/right content edges are identical site-wide at every
   screen width. */
:root { --header-h: 185px; }
@media (max-width: 860px) { :root { --header-h: 300px; } }
section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }
body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: #f6f2ea;
  color: #1d2733;
  font-size: 19px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #7a5b23; }
/* One shared full-width container for the header brand row, the tab
   bar, the hero, every section/card grid, and the footer, so all
   edges stay locked together (margins locked header-to-content).
   Prose blocks that carry their own measure (.lede, .section-intro)
   keep it inside the full-width container. */
.wrap { width: 100%; margin: 0; padding: 0 28px; }
@media (max-width: 860px) { .wrap { padding: 0 20px; } }

/* Header */
.site-header {
  background: #fffdf8;
  /* The header's bottom rule is the tab bar's baseline track (3px gold),
     drawn here so it always spans the full width under the tabs. */
  border-bottom: 3px solid #b8892d;
  position: sticky; top: 0; z-index: 40;
}
.header-in {
  display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap;
  padding-top: 12px; padding-bottom: 0;
}
/* Brand lockup enlarged (owner direction, 2026-11-24): at 54px the logo
   read too small against the tab bar and the header actions. The mark is
   now 96px (1.78x) and the two-line wordmark is scaled up with it so the
   lockup stays proportioned; the header takes the extra room as height,
   nothing else shrinks. */
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #1d2733; }
.brand img { width: 96px; height: 96px; object-fit: contain; }
/* Wordmark rebalance (owner direction, 2026-11-25, annotated screenshot):
   the name goes 25% larger (1.55rem -> 1.9375rem) and the sub-line 50%
   smaller (1rem -> 0.5rem). Only these two sizes change; the logo stays
   96px and the header takes the difference as height. The footer lockup
   uses its own .footer-brand-* rules and is NOT affected. */
.brand-name { font-weight: bold; font-size: 1.9375rem; line-height: 1.2; }
.brand-sub { display: block; font-size: 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: #7a5b23; font-weight: normal; }
/* Header navigation as a TAB BAR (owner direction, 2026-11-24, second
   pass — the first pass read as pills on the owner's phone): the nav is a
   full-width strip of attached tabs sitting on the header's gold baseline
   track. Tabs have flat bottoms flush with the track and rounded top
   corners; inactive tabs are recessed (muted fill, shorter); the selected
   tab is raised, bold, filled with the page background and carries a gold
   top accent, so it reads as the open folder. Selected state is driven by
   site.js scrollspy (class .active / aria-current). Type size is unchanged
   (1rem) — on narrow screens the strip scrolls sideways (every tab stays
   attached to the track) instead of wrapping or shrinking. */
.main-nav {
  order: 3; flex: 1 1 100%;
  display: flex; flex-wrap: nowrap; align-items: flex-end;
  gap: 4px; padding: 6px 4px 0;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  flex: none; white-space: nowrap;
  color: #43536a; text-decoration: none; font-size: 1rem; line-height: 1.25;
  padding: 9px 16px 10px; margin-top: 7px;
  background: #e8dec5;
  border: 1.5px solid #c8b992; border-bottom: none;
  border-radius: 12px 12px 0 0;
}
.main-nav a:hover { background: #f4ecd6; color: #1d2733; }
.main-nav a:focus-visible { outline: 3px solid #b8892d; outline-offset: 2px; }
.main-nav a.active {
  background: #f6f2ea; color: #1d2733; font-weight: bold;
  border-color: #b8892d;
  padding: 13px 16px 14px; margin-top: 0;
  box-shadow: inset 0 3px 0 #b8892d;
}
/* Sister-service tab (ICG): a cross-link, NOT a page tab. It must
   never wear the selected state's signals (gold border, bold, bright
   fill) — owner report 2026-11-25: with those, it read as the
   current tab whenever the homepage opened at the top. It uses the
   standard unselected tab treatment; only the label and the
   external-link arrow mark it as a sister service. It leaves the
   site, so scrollspy never selects it. */
.main-nav a.icg-tab { background: #e8dec5; border-color: #c8b992; color: #43536a; font-weight: normal; }
.main-nav a.icg-tab::after { content: "↗"; margin-left: 6px; }
.main-nav a.icg-tab:hover { background: #f4ecd6; color: #1d2733; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.lang-toggle { display: flex; border: 2px solid #1d2733; border-radius: 999px; overflow: hidden; }
.lang-toggle a, .lang-toggle span {
  padding: 8px 14px; font-size: 0.95rem; text-decoration: none; color: #1d2733; line-height: 1;
}
.lang-toggle .on { background: #1d2733; color: #fff; font-weight: bold; }
.btn {
  display: inline-block; background: #b8892d; color: #fff; text-decoration: none;
  font-weight: bold; padding: 13px 22px; border-radius: 10px; border: 0;
  font-size: 1.05rem; cursor: pointer; font-family: inherit; line-height: 1.25;
}
.btn:hover { background: #a1761f; }
.btn.secondary { background: #1d2733; }
.btn.secondary:hover { background: #2c3a4c; }
.btn.ghost { background: transparent; color: #1d2733; border: 2px solid #1d2733; }
.signin-link { font-size: 1rem; color: #1d2733; }
/* Header control cluster scaled to ~0.8x (owner direction, 2026-11-24,
   annotated screenshot of the header's right side): the EN/ES toggle,
   the Client sign in link, and the gold Request an estimate button
   shrink proportionally — fonts, padding, and pill dimensions — while
   the logo (96px), the tab bar, and every other .btn on the site keep
   their sizes. Scoped to .header-actions for exactly that reason. */
.header-actions { gap: 10px; }
.header-actions .lang-toggle a, .header-actions .lang-toggle span {
  padding: 6px 11px; font-size: 0.76rem;
}
.header-actions .signin-link { font-size: 0.8rem; }
.header-actions .btn {
  padding: 10px 18px; font-size: 0.84rem; border-radius: 8px;
}

/* Hero */
.hero { padding: 52px 0 40px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem;
  color: #7a5b23; font-weight: bold; margin: 0 0 12px;
}
h1 { font-size: 2.9rem; line-height: 1.12; margin: 0 0 16px; }
h2 { font-size: 2.1rem; line-height: 1.18; margin: 0 0 14px; }
h3 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 8px; }
.lede { font-size: 1.2rem; color: #43536a; margin: 0 0 24px; max-width: 44rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 8px; }
.proof-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.proof-points li { background: #fff; border: 1px solid #ddd3bf; border-radius: 12px; padding: 14px 18px; }
.proof-points strong { display: block; font-size: 1.25rem; }
.hero-card {
  background: #1d2733; color: #f6f2ea; border-radius: 16px; padding: 24px;
}
.hero-card .file-status { color: #d9b45c; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; font-weight: bold; }
.hero-card .file-name { font-size: 1.3rem; font-weight: bold; margin: 10px 0; line-height: 1.3; }
.hero-card .ok { color: #9fd49a; }
.hero-photo { border-radius: 16px; margin-top: 22px; width: 100%; }
.built-for { margin-top: 30px; font-size: 1.05rem; color: #43536a; }

/* Sections */
section.block { padding: 46px 0; }
section.block.alt { background: #fffdf8; border-top: 1px solid #e5dcc8; border-bottom: 1px solid #e5dcc8; }
.section-intro { max-width: 46rem; color: #43536a; font-size: 1.1rem; }
/* Six service cards (Write My Own Estimate added 2026-11-25): the 380px
   minimum tiles them evenly — 3+3 at desktop widths, one row of six on
   wide screens — so no card dangles alone on a row at partial width. */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; margin-top: 28px; }
.card {
  background: #fff; border: 1px solid #ddd3bf; border-radius: 14px; padding: 24px 22px;
}
/* Owner direction 2026-11-25: the clickable text is bottom-justified
   on all cards — grid cards are flex columns so the CTA can pin to
   the card's bottom edge (rule with .card-cta below). */
.cards .card { display: flex; flex-direction: column; }
.card p { color: #43536a; margin: 0 0 10px; }
.card .tags { color: #7a5b23; font-size: 0.95rem; font-weight: bold; margin-top: 12px; }
.note-line { margin-top: 24px; font-size: 1.05rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; counter-reset: step; }
.step { background: #fff; border: 1px solid #ddd3bf; border-radius: 14px; padding: 24px 22px; }
.step .num {
  display: inline-block; background: #b8892d; color: #fff; font-weight: bold;
  width: 42px; height: 42px; border-radius: 50%; text-align: center; line-height: 42px; font-size: 1.15rem; margin-bottom: 12px;
}
.step p { color: #43536a; margin: 0; }
.section-photo { border-radius: 16px; margin-top: 30px; width: 100%; }

/* Pricing */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.price-card { background: #fff; border: 1.5px solid #ddd3bf; border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; }
.price-card.featured { border-color: #b8892d; border-width: 2.5px; }
.price-tier { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; color: #7a5b23; font-weight: bold; }
.price { font-size: 2.4rem; font-weight: bold; margin: 8px 0 4px; }
.price-card ul { margin: 14px 0 22px; padding-left: 20px; color: #43536a; }
.price-card .btn { margin-top: auto; text-align: center; }

/* Capabilities / field */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.stat-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.stat-list li { background: #fff; border: 1px solid #ddd3bf; border-radius: 12px; padding: 14px 18px; font-size: 1.08rem; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #4c7a45; font-weight: bold; }

/* Portal */
.portal-card { background: #1d2733; color: #f6f2ea; border-radius: 16px; padding: 28px; margin-top: 28px; }
.portal-card .eyebrow { color: #d9b45c; }
.portal-card p { color: #d8dee8; }
.portal-card .steps { margin-top: 18px; }
.portal-card .step { background: #27364a; border-color: #3a4d68; }
.portal-card .step p { color: #d8dee8; }
.portal-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.portal-actions .signin-link { color: #f6f2ea; align-self: center; }
.portal-actions .btn.ghost { color: #f6f2ea; border-color: #f6f2ea; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid #ddd3bf; border-radius: 12px; padding: 20px 22px; margin-top: 14px; }
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { margin: 0; color: #43536a; }

/* Final CTA */
.final-cta { text-align: left; padding: 52px 0; }
.final-cta .hero-ctas { margin-top: 22px; }

/* Footer — standard footer (owner direction, 2026-11-24): brand block +
   three link columns (Company / Services / Get started) + a bottom bar
   with the service agreement's closing line and the language links.
   Columns stack on narrow screens; type is never shrunk to fit. */
.site-footer { background: #1d2733; color: #d8dee8; padding: 44px 0 30px; margin-top: 0; }
.site-footer a { color: #f6f2ea; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid; gap: 30px 38px;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  align-items: start;
}
.footer-lockup { display: flex; align-items: center; gap: 12px; }
.footer-lockup:hover { text-decoration: none; }
.footer-lockup img {
  width: 64px; height: 64px; object-fit: contain; flex: none;
  background: #fffdf8; border-radius: 10px; padding: 4px;
}
.footer-brand-name { font-weight: bold; font-size: 1.2rem; line-height: 1.2; color: #f6f2ea; }
.footer-brand-sub {
  display: block; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #d9b45c; font-weight: normal; margin-top: 3px;
}
.footer-desc { margin: 14px 0 10px; color: #b9c4d2; font-size: 0.98rem; max-width: 21rem; }
.footer-col h3 {
  color: #f6f2ea; font-size: 1.08rem; margin: 6px 0 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a, .footer-action { font-size: 1rem; line-height: 1.35; }
/* On the homepages the Terms item is a button that opens the service
   agreement dialog; it is styled to sit in the link list as a link. */
.footer-action {
  background: none; border: 0; padding: 0; font-family: inherit;
  color: #f6f2ea; cursor: pointer; text-align: left;
}
.footer-action:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; gap: 8px 26px; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid #3a4d68; margin-top: 36px; padding-top: 18px;
}
.copyright { margin: 0; font-size: 0.95rem; color: #9fb0c3; }
.footer-lang { margin: 0; font-size: 0.95rem; color: #9fb0c3; }
.footer-lang .on { color: #f6f2ea; font-weight: bold; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Simple text page (privacy policy) — content locks to the full site
   width like every other page; no separate narrower measure. */
.policy h1 { font-size: 2.4rem; }
.policy h2 { font-size: 1.5rem; margin-top: 30px; }
.policy p { color: #43536a; }

/* Dialogs */
dialog.doc {
  border: 1.5px solid #ddd3bf; border-radius: 16px; padding: 0;
  width: 94vw; max-height: 88vh; overflow: auto;
  background: #fffdf8; color: #1d2733; font-size: 1.02rem;
}
dialog.doc::backdrop { background: rgba(29, 39, 51, 0.55); }
.doc-in { padding: 30px 30px 26px; }
.doc-in h2 { font-size: 1.7rem; }
.doc-in h3 { margin-top: 24px; }
.doc-in p { margin: 8px 0; }
.doc-in ul { margin: 8px 0; padding-left: 22px; }
.doc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.draft-notice {
  background: #fdf3d7; border: 1.5px solid #b8892d; border-radius: 10px;
  padding: 14px 16px; font-weight: bold; margin-bottom: 20px;
}
.doc-foot { margin-top: 26px; border-top: 1px solid #ddd3bf; padding-top: 14px; color: #43536a; font-size: 0.98rem; }

/* Intake form — the page shell is the same locked container as every
   other page (was a separate 760px column), and the form card spans
   the full locked width like every other card on the site (owner
   width lock, 2026-11-24: header and all cards to the same width). */
.form-shell { width: 100%; margin: 0; padding: 36px 28px 60px; }
@media (max-width: 860px) { .form-shell { padding-left: 20px; padding-right: 20px; } }
form.intake { background: #fff; border: 1px solid #ddd3bf; border-radius: 14px; padding: 26px 22px; margin-top: 24px; }
form.intake label { display: block; font-weight: bold; margin: 20px 0 8px; font-size: 1.05rem; }
form.intake label:first-of-type { margin-top: 0; }
form.intake input[type="text"], form.intake input[type="email"], form.intake input[type="tel"],
form.intake input[type="date"], form.intake input[type="number"],
form.intake select, form.intake textarea {
  width: 100%; font-size: 1.1rem; padding: 14px; border: 1.5px solid #9aa7b8;
  border-radius: 10px; background: #fff; color: #1d2733; font-family: inherit;
}
form.intake textarea { min-height: 110px; resize: vertical; }
form.intake fieldset { border: 0; padding: 0; margin: 22px 0 0; }
form.intake legend { font-weight: bold; font-size: 1.05rem; padding: 0; margin-bottom: 8px; }
form.intake .check, form.intake .radio {
  display: flex; align-items: center; gap: 12px; font-weight: normal; margin: 10px 0; font-size: 1.05rem;
}
form.intake .check input, form.intake .radio input { width: 26px; height: 26px; flex: none; }
.req { color: #a33b32; }
/* File upload drop-zone (owner direction, 2026-11-24: "Allow users to
   drag and drop files into an UPLOAD FILE box or click within the box
   to upload a file"). Files are MANDATORY (owner rule, 2026-11-24):
   the box is a required field — no files, no estimate request — and
   there is no send-now/send-later choice anymore. */
.dropzone {
  border: 2.5px dashed #9aa7b8; border-radius: 14px; background: #fffdf8;
  padding: 26px 20px; margin-top: 16px; text-align: center; cursor: pointer;
}
.dropzone:hover, .dropzone:focus-visible { border-color: #b8892d; outline: none; }
.dropzone.dragover { border-color: #b8892d; background: #fdf3d7; }
/* Owner report 2026-11-24 (click did not prompt for files): the box's
   title/hint are a native <label for="file_input">, so a click opens the
   file picker even if intake.js is stale or blocked; the JS handler
   remains for the rest of the box and drag-and-drop. */
.dropzone { cursor: pointer; }
.dropzone label { display: block; cursor: pointer; }
.dz-title { font-weight: bold; font-size: 1.25rem; letter-spacing: 0.06em; margin: 0 0 6px; }
.dz-hint { margin: 0; color: #43536a; font-size: 1rem; }
.dz-required-note { margin: 12px 0 0; color: #43536a; font-size: 1rem; }
.file-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #ddd3bf; border-radius: 10px; padding: 10px 14px;
}
.file-list .fname { font-weight: bold; overflow-wrap: anywhere; }
.file-list .fsize { color: #43536a; font-size: 0.95rem; white-space: nowrap; }
.file-list .fremove {
  margin-left: auto; flex: none; font-family: inherit; font-size: 0.95rem;
  background: transparent; border: 1.5px solid #9aa7b8; border-radius: 8px;
  color: #1d2733; padding: 6px 12px; cursor: pointer; min-height: 40px;
}
.file-list .fremove:hover { border-color: #a33b32; color: #a33b32; }
/* Spec intake forms (owner spec, 2026-11-25): privacy notice above the
   form, per-field helper text, conditional sub-sections, long-text
   acknowledgment checkboxes, and the supplements change repeater. */
.privacy-note {
  margin-top: 24px; background: #fdf6e0; border: 1.5px solid #b8892d;
  border-radius: 10px; padding: 16px 18px; font-size: 1.02rem; line-height: 1.5;
}
form.intake .helper { margin: 6px 0 0; color: #43536a; font-size: 0.98rem; font-weight: normal; }
form.intake .subsec {
  border-left: 3px solid #ddd3bf; padding-left: 16px; margin-top: 18px;
}
form.intake .subsec > legend, form.intake .subsec-title {
  font-weight: bold; font-size: 1.05rem; margin-bottom: 4px;
}
.inline-note {
  margin: 14px 0 0; background: #fdf6e0; border: 1.5px solid #b8892d;
  border-radius: 10px; padding: 14px 16px; font-size: 1rem; line-height: 1.5;
}
form.intake .ack { align-items: flex-start; }
form.intake .ack input { margin-top: 3px; }
form.intake .ack span { line-height: 1.45; }
.change-entry {
  border: 1px solid #ddd3bf; border-radius: 10px; padding: 6px 16px 16px;
  margin-top: 16px; background: #fffdf8;
}
.change-entry .change-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.change-entry .change-title { font-weight: bold; font-size: 1.05rem; }
.add-btn, .remove-btn {
  font-family: inherit; font-size: 1rem; background: #fff; color: #1d2733;
  border: 1.5px solid #9aa7b8; border-radius: 8px; padding: 10px 16px;
  cursor: pointer; min-height: 44px; margin-top: 16px;
}
.remove-btn { margin-top: 0; }
.add-btn:hover, .remove-btn:hover { border-color: #b8892d; }
.template-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin: 10px 0 0; padding-left: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-btn { width: 100%; margin-top: 28px; font-size: 1.2rem; min-height: 60px; }
/* Submit stays grayed out until every mandatory field is filled and all
   acknowledgments are accepted (owner, 2026-11-25). */
.submit-btn[disabled] { background: #b7b2a6; color: #f5f2ea; cursor: not-allowed; }
.submit-btn[disabled]:hover { background: #b7b2a6; }
.msg { display: none; margin-top: 22px; padding: 18px; border-radius: 10px; font-size: 1.1rem; }
.msg.ok { display: block; background: #e7f4e4; border: 1.5px solid #4c7a45; }
.msg.err { display: block; background: #fbe9e7; border: 1.5px solid #a33b32; }
.msg .ref { font-size: 1.5rem; font-weight: bold; display: block; margin: 6px 0; }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }
}

/* Estimator sign-in + intake queue (owner order, 2026-11-24: a native
   estimator sign-in page — NOT "Sign in with ChatGPT"). The sign-in
   form reuses the intake form card, which spans the full locked width
   like every other card; the queue renders one card per request. */
form.intake input[type="password"] {
  width: 100%; font-size: 1.1rem; padding: 14px; border: 1.5px solid #9aa7b8;
  border-radius: 10px; background: #fff; color: #1d2733; font-family: inherit;
}
.auth-switch { margin-top: 20px; font-size: 1.05rem; }
.linklike {
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  color: #7a5b23; font-weight: bold; text-decoration: underline;
}
.auth-note { color: #43536a; font-size: 1rem; margin-top: 16px; }
.queue-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 18px; flex-wrap: wrap; margin-top: 10px;
}
.queue-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.queue-actions .btn { padding: 10px 18px; font-size: 1rem; }
#signed-in-as { color: #43536a; font-size: 1rem; }
.queue-counts { color: #43536a; font-size: 1.05rem; margin: 16px 0 2px; }
.req-card { margin-top: 16px; }
.req-top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px 16px; flex-wrap: wrap;
}
.req-ref { font-size: 1.3rem; font-weight: bold; }
.req-status {
  background: #fdf3d7; border: 1.5px solid #b8892d; border-radius: 999px;
  padding: 3px 14px; font-size: 0.95rem; font-weight: bold; text-transform: capitalize;
}
.req-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 6px 22px; margin-top: 12px;
}
.req-meta p { margin: 0; color: #43536a; }
.req-meta strong { color: #1d2733; }
.req-details { margin-top: 12px; }
.req-details p { color: #43536a; margin: 6px 0 0; }
.req-details strong { color: #1d2733; }

/* Estimator workspace (owner order, 2026-11-25): account card at the
   top of the queue, a per-request status control, and the request's
   file list. Same type sizes and card rhythm as the rest of the queue —
   nothing compressed. */
.account-card { margin-top: 16px; }
.account-title { margin: 0 0 6px; font-size: 1.15rem; }
.account-email { margin: 0; color: #43536a; }
.account-counts { margin: 6px 0 0; color: #43536a; }
.req-work { margin-top: 14px; }
.req-work label { font-weight: bold; color: #1d2733; }
.req-work select {
  font-size: 1rem; padding: 10px 12px; margin-left: 8px;
  border: 1.5px solid #9aa7b8; border-radius: 10px;
  background: #fff; color: #1d2733; font-family: inherit;
}
.req-files { margin-top: 12px; color: #43536a; }
.req-files strong { color: #1d2733; }
.req-files ul { margin: 6px 0 0; padding-left: 22px; }
.req-files li { margin: 4px 0; }
/* Post-login framing (owner order, 2026-11-25): once the estimator is
   signed in, estimator.js hides the sign-in title/intro — make sure
   the hidden attribute always wins on those two elements. */
#page-title[hidden], #page-lede[hidden] { display: none; }

/* Service cards are links (owner order, 2026-11-24): the whole card
   opens the intake form set to that service, with that service's own
   questions and upload prompt. */
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: #b8892d; }
a.card:focus-visible { outline: 3px solid #b8892d; outline-offset: 2px; }
.card-cta { color: #7a5b23; font-weight: bold; margin: 14px 0 0; }
/* Bottom-justified CTA (owner, 2026-11-25): the auto top margin pins
   the link to the card's bottom so the links line up across the row
   however long each card's text runs; padding keeps a minimum gap
   from the tags on the tallest card. */
.cards .card-cta { margin: auto 0 0; padding-top: 14px; }
/* Owner direction 2026-11-24: on the service cards ONLY the "Request this service" line is a link — card titles and body text are plain. */
.card-cta a { color: #7a5b23; text-decoration: underline; font-weight: bold; }
.card-cta a:hover { color: #5d4517; }

/* Intake checklist dialog (owner fix, 2026-11-24): checklist items get
   an empty-box glyph so the dialog reads as a checklist. */
.doc-in ul.checklist { list-style: none; padding-left: 2px; }
.doc-in ul.checklist li::before { content: "\2610  "; }

/* Password show/hide eye toggle (owner platform standard, 2026-11-25).
   The wrap is display:block so the field keeps its full width; only
   right padding is added so typed text never runs under the button —
   font size and field height are unchanged. */
.pw-wrap { position: relative; display: block; }
form.intake .pw-wrap input { padding-right: 58px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; margin: 0;
  background: transparent; border: 0; border-radius: 8px;
  color: #43536a; cursor: pointer; font: inherit;
}
.pw-toggle svg { width: 24px; height: 24px; display: block; }
.pw-toggle:hover { color: #1d2733; }
.pw-toggle:focus-visible { outline: 2px solid #b8892d; outline-offset: 1px; }

/* EPS One-Login entry + passport gate (2026-11-25) */
.idp-box { margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid #d8e0ec; }
.idp-box .btn { display: inline-block; }
.passport-terms { max-height: 340px; overflow: auto; border: 1px solid #ccd6e4;
  border-radius: 10px; padding: 6px 18px 12px; margin: 0 0 18px; background: #fbfcfe; }
.passport-terms h3 { margin: 16px 0 6px; }
