/* BidSheet for Cleaners: this product's own styles, on top of the Schlosser Studio kit v2 (/studio/studio.css, loaded first).
   The kit supplies the fonts, base type, header, footer, buttons, notes and buy box. This file sets the palette, "the building
   after hours" (graphite slate, wet-floor-sign yellow, floor-wax blue), and styles the calculator, the hour map, tables and
   plan tiles. Dark by default, like every v2 site. Printing is light. No external requests. */
:root {
  --ss-bg: #1c2224;          /* concrete and charcoal tile after hours: the page */
  --ss-surface: #283033;     /* janitor's closet: cards, results, footer, buy box */
  --ss-ink: #eef0ea;         /* work-order paper: body text */
  --ss-muted: #b6bdb8;       /* pencil grey: hints, secondary text */
  --ss-line: #3c4649;        /* card borders and table rules (decorative only) */
  --ss-accent: #f2c230;      /* wet-floor-sign yellow: buttons, header stripe, focus ring, floor tape */
  --ss-accent-ink: #1c2224;  /* text on yellow */
  --ss-accent-text-dark: #f6d36a; /* links and accent text */
  /* site-only tokens */
  --bs-wax: #9fd0e0;         /* floor-wax blue: odd hour stripes, the hour-map caption figure */
  --bs-wax-2: #6f9fb0;       /* the second pass: even hour stripes */
  --bs-stripe-1: #44565c;    /* the wax blue laid over the backing at 26%, as a solid color: odd stripes in the hour map */
  --bs-stripe-2: #38494f;    /* the same for the even stripes */
  --bs-plan: #7d8a88;        /* plan walls, clipboard clip */
  --bs-fixture: #6b7977;     /* plan furniture (decorative) */
  --bs-tile: #242b2d;        /* hour-map backing and clip fill */
  --bs-field: #8a9693;       /* input borders */
  --bs-warn-bg: #3a3315; --bs-warn-ink: #f6d36a;   /* "Worth a second look" box */
  --bs-err-bg: #45241f;  --bs-err-ink: #f4b0a4;    /* "Fix these" box, field errors, invalid border */
}
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body.ss { overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
body.ss h1 { font-size: clamp(2.1rem, 1.55rem + 2.4vw, 3.4rem); line-height: .98; }
body.ss h2, body.ss h3 { font-weight: 600; }
body.ss h3 { margin-top: 1.1rem; }

/* header: the kit's, with the calculator links as a second row (one swipeable row on phones) */
.ss-header__in { row-gap: 0; }
.ss-nav { order: 3; flex: 1 1 100%; min-width: 0; gap: 0 1.1rem; }
.ss-nav a { padding: .6rem 0; }
.ss-nav a[aria-current="page"] { font-weight: 700; border-bottom-color: transparent; text-decoration: underline; text-decoration-color: var(--ss-accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* the Bid Pack pill: the first item of the nav on every page, in this site's own accent (no kit change) */
.ss-nav a.nav-buy { align-self: center; padding: .55rem 1rem; border-radius: 999px; border-bottom: 0; background: var(--ss-accent); color: var(--ss-accent-ink); font-weight: 700; line-height: 1.3; }
.ss-nav a.nav-buy:hover { filter: brightness(1.08); }
/* Touch size: up to 700px (the phone swipe row and the first tablet widths) the pill is at least 44px tall. On a phone the nav row
   is already 48px tall, so the header gains nothing. */
@media (max-width: 700px) { .ss-nav a.nav-buy { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 44px; } }
/* Tablets (640 to 999px): the nav wraps to two rows here, so the rows sit close, about 8px between the lines of text, instead of the
   full-height tap rows used on phones and desktops. The links stay vertically centered against the taller pill, and the nav keeps
   a little air above (under the product name) and below. */
@media (min-width: 640px) and (max-width: 999px) { .ss-nav { align-items: center; padding-block: .5rem .4rem; } .ss-nav a { padding: 1px 0; } }
/* The pill adds about 175px to the nav. From 640px up the links sit a little closer, so on a desktop the nav is still the one
   row it was before the pill (at 1024px and wider). On a tablet it wraps to a second row, as it already did. */
@media (min-width: 640px) { .ss-nav { column-gap: .9rem; } }
@media (max-width: 639px) {
  /* Phones: one row of links you can swipe, so the page starts higher. The fade on the right edge shows there is more;
     every link stays reachable. */
  .ss-header__in { padding-block: .6rem 0; gap: .4rem 1rem; }
  .ss-product { font-size: 1.45rem; }
  .ss-nav { flex-wrap: nowrap; gap: 0 1.1rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .ss-nav::-webkit-scrollbar { display: none; }
  .ss-nav::after { content: ""; flex: 0 0 22px; }
  .ss-nav a { flex: none; white-space: nowrap; padding: .75rem 0; }
  /* the pill stays pinned at the left of the swiping row, so it is in sight from every page (links slide under it; the shadow
     is the header's own color and keeps a half-hidden word from touching it) */
  .ss-nav a.nav-buy { position: sticky; left: 0; z-index: 1; box-shadow: 12px 0 0 var(--ss-surface); }
  /* Wide tables: tighter so the last column is not hidden behind a sideways scroll */
  .scroll-x table.tbl th, .scroll-x table.tbl td { padding: 6px 3px; font-size: 0.82rem; line-height: 1.35; }
}

/* page parts */
.ss-main { padding-block: 1.5rem 3rem; }
@media (min-width: 900px) { .ss-main { padding-block: 1.75rem 4rem; } }
.ss-main > p { max-width: var(--ss-read); }
.ss-main > h1 { margin-bottom: .45em; }
.ss-main > .ss-lede { margin-bottom: 1.1rem; }
.ss-main > .ss-lede.lead-long { margin-top: 2rem; }
.ss-lede + aside.reqs { margin-top: 1.5rem; }
/* floor tape: a yellow bar above every h2 in the main column, and nowhere else */
.ss-main h2::before { content: ""; display: block; width: 2.5rem; height: 4px; background: var(--ss-accent); margin-bottom: .6rem; }
.ss-main h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.ss-main > section, .ss-main > aside.reqs { margin: 3rem 0 0; }
.ss-main > section#calculator { margin-top: 1.5rem; }
.ss-main > section > p, .ss-main > section > ul:not(.cards):not(.dl), .ss-main > section > ol:not(.steps) { max-width: var(--ss-read); }
.hint { font-size: .9rem; color: var(--ss-muted); margin: .25rem 0 0; }
.ss-main > section > p.hint { margin-bottom: 1rem; }
.scroll-x { overflow-x: auto; max-width: 48rem; margin-bottom: 1rem; }

/* the one calm disclaimer line: no box, no bold, a dashed tape edge on the left */
.calm { max-width: 48rem; margin: 0 0 1.25rem; padding-left: .75rem; border-left: 2px dashed var(--ss-accent); font-size: .875rem; line-height: 1.5; color: var(--ss-muted); }
.calm svg { width: 1rem; height: 1rem; margin-right: .4rem; vertical-align: -.2em; color: var(--ss-muted); stroke: currentColor; }
.ss-main > .calm { margin-bottom: 0; }
/* requirements that depend on the building type, kept in full next to the calculator */
aside.reqs { max-width: 48rem; box-sizing: border-box; background: var(--ss-surface); color: var(--ss-ink); border: 1px solid var(--ss-line); border-left: 4px solid var(--bs-warn-ink); border-radius: var(--ss-radius); padding: .8rem 1rem; font-size: .95rem; }
aside.reqs p:last-child { margin-bottom: 0; }
/* the delivery page's boxes */
.notice { background: var(--bs-warn-bg); color: var(--bs-warn-ink); border: 1px solid var(--bs-warn-ink); border-radius: var(--ss-radius); padding: .7rem 1rem; font-size: .97rem; margin: 1rem 0; }
.notice p:last-child { margin-bottom: 0; }
.ss-note { margin: 1rem 0; }

/* calculator */
.calc > * + * { margin-top: 1rem; }
.stickybar {
  position: sticky; top: 0; z-index: 20; background: var(--ss-accent); color: var(--ss-accent-ink); overflow: hidden;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; align-items: baseline;
  padding: 8px 14px 0; border-radius: 0 0 var(--ss-radius-lg) var(--ss-radius-lg);
}
.stickybar .k { display: block; font-size: .8rem; opacity: .92; }
.stickybar .v { font-family: var(--ss-display); font-size: 1.7rem; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.stickybar .v.small { font-size: 1.35rem; }
.stickybar > div:nth-child(2) { text-align: right; }
.hm-strip { position: relative; flex: 0 0 calc(100% + 28px); height: 6px; margin: 8px -14px 0; background: var(--ss-accent-ink); }
.hm-strip .hm-band { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 100%); width: calc(var(--w) * 100%); box-sizing: border-box; background: var(--bs-wax); border-right: 1px solid var(--ss-accent-ink); transition: left .18s ease-out, width .18s ease-out; }
.hm-strip .hm-band.b2 { background: var(--bs-wax-2); }

form.inputs fieldset { border: 0; border-top: 1px solid var(--ss-line); background: none; margin: 0 0 .5rem; padding: .3rem 0 1rem; min-width: 0; }
form.inputs legend { font-family: var(--ss-display); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; padding: 0 .6rem 0 0; }
.fields { display: grid; grid-template-columns: 1fr; gap: 12px 16px; }
.field label { display: block; margin: .5rem 0 .25rem; }
.field input { width: 100%; min-height: 46px; font-size: 1.0625rem; background: var(--ss-bg); border: 2px solid var(--bs-field); font-variant-numeric: tabular-nums; transition: border-color .12s; }
.field input:focus { border-color: var(--ss-accent); }
.field input[aria-invalid="true"] { border-color: var(--bs-err-ink); background: var(--bs-err-bg); }
.field-error { font-size: .92rem; color: var(--bs-err-ink); font-weight: 700; margin: .25rem 0 0; }
.linkbtn { display: block; min-height: 44px; text-align: left; font: inherit; font-size: .9rem; background: none; border: 0; padding: 10px 0; color: var(--ss-link); text-decoration: underline; cursor: pointer; }

/* results: a clipboard. The yellow top edge carries the clip. */
.results { position: relative; background: var(--ss-surface); border: 1px solid var(--ss-line); border-top: 3px solid var(--ss-accent); border-radius: var(--ss-radius-lg); padding: 1.35rem 1rem 1rem; margin-top: 14px; }
.results .clip { position: absolute; top: -13px; left: 50%; margin-left: -32px; width: 64px; height: 18px; }
.clip rect, .clip circle { stroke: var(--bs-plan); stroke-width: 1.75; }
.clip .cl-body { fill: var(--bs-tile); }
.clip .cl-in { fill: none; }
.results h2 { margin-bottom: .5rem; }
.bigprice { font-family: var(--ss-display); font-size: 3.2rem; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--ss-ink); margin: .15rem 0; }
.bigprice small { font-family: var(--ss-font); font-size: 1rem; font-weight: 600; color: var(--ss-muted); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.kpi { background: var(--ss-accent-soft); border-radius: var(--ss-radius); padding: 8px 10px; }
.kpi .k { display: block; font-size: .82rem; color: var(--ss-muted); }
.kpi .v { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
table.tbl { width: 100%; border-collapse: collapse; margin: 8px 0; font-variant-numeric: tabular-nums; }
table.tbl th, table.tbl td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--ss-line); vertical-align: top; }
table.tbl thead th { font-family: var(--ss-display); font-weight: 600; font-size: 1.05rem; color: var(--ss-muted); border-bottom-color: var(--bs-plan); }
table.tbl tbody th { font-weight: 400; }
table.tbl td:last-child, table.tbl th:last-child { text-align: right; }
table.tbl tr.total td, table.tbl tr.total th { font-weight: 700; border-top: 1px solid var(--ss-ink); }
table.tbl caption { text-align: left; font-weight: 700; padding: 4px 0; }
.msg-err { background: var(--bs-err-bg); color: var(--bs-err-ink); border: 1px solid var(--bs-err-ink); border-radius: var(--ss-radius); padding: 10px 14px; margin: 10px 0; }
.msg-warn { background: var(--bs-warn-bg); color: var(--bs-warn-ink); border: 1px solid var(--bs-warn-ink); border-radius: var(--ss-radius); padding: 10px 14px; margin: 10px 0; }
.msg-err ul, .msg-warn ul { margin: 4px 0 0; padding-left: 20px; }
.results[data-state="error"] .okonly { opacity: .45; }

/* the hour map: the plan, striped into one band per labor hour */
.hourmap { margin: .25rem 0 1rem; padding: .7rem .75rem .75rem; background: var(--bs-tile); border: 1px solid var(--ss-line); border-radius: var(--ss-radius); }
.hm-ruler { margin-bottom: 4px; }
.hm-track { position: relative; height: 1.35rem; margin-inline: 1.6667%; }
.hm-chips, .hm-ticks { position: absolute; inset: 0; pointer-events: none; }
/* a chip is a plain block, one per stripe; its number is a separate label (hm-tick) centered on it, so nothing is ever clipped */
.hm-chip { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 100%); width: calc(var(--w) * 100%); box-sizing: border-box;
  background: var(--bs-wax); border-right: 1px solid var(--bs-tile); transition: left .18s ease-out, width .18s ease-out; }
.hm-chip.b2 { background: var(--bs-wax-2); }
.hm-tick, .hm-probe { position: absolute; top: 0; white-space: nowrap; color: var(--ss-accent-ink); font: 600 .78rem/1.35rem var(--ss-display); font-variant-numeric: tabular-nums; }
.hm-tick { left: calc(var(--c) * 100%); transform: translateX(calc(-50% + var(--s, 0px))); }
.hm-probe { left: 0; visibility: hidden; }
.hm-unit { display: block; margin: .15rem 1.6667% 0 0; text-align: right; font-size: .75rem; line-height: 1.2; color: var(--ss-muted); }
.hourmap[data-state="empty"] .hm-unit { visibility: hidden; }
.hm-plan { position: relative; isolation: isolate; margin-top: .2rem; }
.hm-plan .plan { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
/* the stripes sit under the plan's lines. Each is a solid color and reaches 1px under the next one (the later one paints over),
   so no hairline of the backing shows between two stripes whatever the screen's pixel grid does with their edges. */
.hm-bands { position: absolute; z-index: 0; left: 1.6667%; width: 96.6667%; top: 2.7273%; height: 94.5455%; overflow: hidden; pointer-events: none; }
.hm-bands .hm-band { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 100%); width: calc(var(--w) * 100% + 1px); box-sizing: border-box; color: var(--bs-wax); background: var(--bs-stripe-1); border-top: 3px solid currentColor;
  transform-origin: top; transition: left .18s ease-out, width .18s ease-out; }
.hm-bands .hm-band.b2 { color: var(--bs-wax-2); background: var(--bs-stripe-2); }
.hm-bands .hm-band.part { border-right: 2px dashed currentColor; }
.hourmap figcaption { margin-top: .6rem; font-size: .85rem; line-height: 1.45; color: var(--ss-muted); }
.hm-hours { color: var(--bs-wax); font-weight: 700; }
/* the one orchestrated moment: on first paint the stripes sweep in left to right, like a machine making passes */
.hourmap[data-intro] .hm-bands .hm-band { animation: hm-sweep .22s ease-out both; animation-delay: calc(var(--i) * 36ms); }
.hm-new { animation: hm-in .12s ease-out both; }
@keyframes hm-sweep { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hm-in { from { opacity: 0; } to { opacity: 1; } }

/* floor plans (inline SVG), colors only through the variables above */
.plan .po { stroke: var(--bs-plan); stroke-width: 2.5; }
.plan .pw { stroke: var(--bs-plan); stroke-width: 1.75; }
.plan .pw-taped { stroke-dasharray: 5 4; }
.plan .pf { stroke: var(--bs-fixture); stroke-width: 1.25; }
.plan .pd { stroke: var(--bs-fixture); stroke-width: 1; }
.plan .pt { stroke: var(--bs-plan); stroke-width: 1.25; }
.plan .pg { stroke: var(--bs-plan); stroke-width: .75; stroke-dasharray: 3 3; }
.plan .sb { fill: var(--bs-wax); fill-opacity: .26; stroke: none; }
.plan .sb2 { fill: var(--bs-wax-2); }
.plan .sc { fill-opacity: 1; }
.plan .sd { stroke: var(--bs-wax); stroke-width: 1.5; stroke-dasharray: 3 3; }

/* content */
ul.checklist { list-style: none; padding: 0; margin: 8px 0; max-width: none; }
ul.checklist li { margin: 0; break-inside: avoid; }
ul.checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-weight: 400; }
ul.checklist input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px; flex: none; accent-color: var(--ss-accent); }
/* a worked example reads as a ledger: step numbers in the gutter, the figures in bold */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: .75rem 0; max-width: var(--ss-read); }
ol.steps li { counter-increment: step; position: relative; margin: 0; padding: .5rem 0 .5rem 2.25rem; border-bottom: 1px solid var(--ss-line); }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: .5rem; width: 2rem; font: 600 1.15rem/1.45 var(--ss-display); color: var(--ss-muted); font-variant-numeric: tabular-nums; }
ol.steps .res { font-weight: 700; color: var(--ss-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.whatif { max-width: var(--ss-read); box-sizing: border-box; margin-top: 1.75rem; padding: .9rem 1.1rem .2rem; background: var(--ss-surface); border: 1px solid var(--ss-line); border-radius: var(--ss-radius-lg); }
.whatif h3 { margin-top: 0; }
.whatif [data-we2="monthlyPrice"] { color: var(--bs-wax); font-weight: 700; }
.faq h3 { margin: 1.25rem 0 .4rem; padding-top: 1.1rem; border-top: 1px solid var(--ss-line); font-size: 1.3rem; max-width: var(--ss-read); }
.faq h2 + h3 { margin-top: 0; padding-top: 0; border-top: 0; }
.faq p { max-width: var(--ss-read); }
.ex-fig { margin: 1.25rem 0 1rem; max-width: 28rem; }
.ex-plan { background: var(--bs-tile); border: 1px solid var(--ss-line); border-radius: var(--ss-radius); padding: .6rem; }
.ex-plan .plan { display: block; width: 100%; height: auto; }
.ex-fig figcaption { margin-top: .5rem; font-size: .85rem; line-height: 1.45; color: var(--ss-muted); }
.ex-fig .hourmap { margin: 0; }

/* building directory and plan tiles */
.cards, .dl { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card { display: flex; flex-direction: column; box-sizing: border-box; height: 100%; background: var(--ss-surface); border: 1px solid var(--ss-line); border-radius: var(--ss-radius-lg); padding: .7rem .7rem 1rem; color: var(--ss-ink); text-decoration: none; transition: border-color .12s ease-out; }
.card:hover, .card:focus-visible { border-color: var(--ss-accent); }
.card .plan { display: block; width: 100%; height: auto; box-sizing: border-box; padding: .4rem; background: var(--bs-tile); border-radius: var(--ss-radius); }
/* on a tile the plan is small, so its stripes are drawn stronger than in the hour map (they have to read as hours at a glance)
   and its lines a step lighter, so walls and furniture still read on top of them */
.card .plan .sb { fill-opacity: .4; }
.card .plan .sc { fill-opacity: 1; }
.card .plan .po, .card .plan .pw { stroke: var(--ss-muted); }
.card .plan .pf, .card .plan .pd, .card .plan .pt { stroke: var(--bs-plan); }
.card strong { display: block; margin: .75rem .3rem 0; font-family: var(--ss-display); font-size: 1.35rem; font-weight: 700; line-height: 1.1; letter-spacing: .01em; color: var(--ss-accent-text-dark); text-decoration: none; }
.card span { display: block; font-size: .95rem; color: var(--ss-muted); margin: 6px .3rem 0; }
.dl li { display: flex; flex-direction: column; background: var(--ss-surface); border: 1px solid var(--ss-line); border-radius: var(--ss-radius-lg); padding: 14px 16px; }
body.ss .dl h3 { margin: 0 0 4px; }
.dl p { color: var(--ss-muted); }
.dl .ss-btn { margin-top: auto; width: 100%; text-align: center; overflow-wrap: anywhere; }

/* Bid Pack bands: a compact pointer to the buy box on the same page (#bid-pack), under each calculator's result and on the hub.
   A band is never a checkout: its one button scrolls down to the buy box, which holds the page's one Stripe link. */
.ss-main > .bp-band { max-width: 48rem; box-sizing: border-box; margin: 1.5rem 0 0; padding: .9rem 1rem; display: grid; gap: .8rem 1.5rem; align-items: center;
  background: var(--ss-surface); border: 1px solid var(--ss-line); border-left: 4px solid var(--ss-accent); border-radius: var(--ss-radius); }
.ss-main > .calm + .bp-band { margin-top: 1rem; }
.ss-main > .bp-band + section { margin-top: 2.25rem; }
.bp-band p { margin: 0; }
.bp-band__lead { line-height: 1.5; }
.bp-band .bp-band__price { margin-top: .55rem; font-size: .9rem; color: var(--ss-muted); }
.bp-band__price strong { font-family: var(--ss-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; color: var(--ss-ink); }
.bp-band .bp-band__fine { margin-top: .65rem; font-size: .82rem; line-height: 1.45; color: var(--ss-muted); }
.bp-band__tax { white-space: nowrap; }
.bp-band .ss-actions { margin: 0; }
.bp-band .ss-btn { width: 100%; }
@media (min-width: 640px) {
  .ss-main > .bp-band { grid-template-columns: minmax(0, 1fr) auto; }
  .bp-band .ss-btn { width: auto; white-space: nowrap; }
}

/* Bid Pack box: the kit's buy box with a small clipboard drawing (or, while not for sale, a dashed card) */
.ss-buy, .teaser { margin: 3rem 0 0; }
.ss-buy .ss-badge { margin-bottom: .6rem; justify-self: start; }
.ss-buy .ss-actions { margin: 1rem 0 .25rem; }
.ss-buy .spot { display: block; width: 56px; height: 72px; margin: 0 0 .75rem; }
.spot rect, .spot path { stroke: var(--ss-accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.spot .sp-fill { fill: var(--ss-accent); fill-opacity: .5; stroke: none; }
.teaser { border: 2px dashed var(--bs-field); }
.teaser .tag { display: inline-block; font-weight: 800; background: var(--bs-warn-bg); color: var(--bs-warn-ink); border: 1px solid var(--bs-warn-ink); border-radius: 6px; padding: 2px 8px; margin-bottom: 6px; }

/* the site's own notes, just above the kit's footer */
.site-notes { margin-top: .5rem; padding: 1.25rem 0 .5rem; border-top: 1px solid var(--ss-line); font-size: .9rem; color: var(--ss-muted); }
.site-notes p { margin: 0 0 .6rem; }

/* phones: a little less air above the calculator, so the first field is on the first screen (type sizes stay readable) */
@media (max-width: 639px) {
  .ss-main { padding-block: 1.1rem 3rem; }
  .ss-main > h1 { margin-bottom: .35em; }
  body.ss .ss-main > .ss-lede { font-size: 1.05rem; line-height: 1.5; margin-bottom: .75rem; }
  .ss-main > section#calculator { margin-top: 1rem; }
  #calculator h2::before { margin-bottom: .4rem; }
  #calculator h2 { margin-bottom: .4rem; }
  .calm { font-size: .85rem; line-height: 1.45; margin-bottom: 1rem; }
  .calc > * + * { margin-top: .75rem; }
  .stickybar { padding-top: 6px; }
  .stickybar .v { font-size: 1.55rem; }
  .hm-strip { margin-top: 6px; }
}
@media (max-width: 379px) {
  .scroll-x table.tbl th, .scroll-x table.tbl td { padding: 6px 2px; font-size: .78rem; }
  /* the product name and the studio badge share the header's first row down to 360px, so the pill's nav row is the second */
  .ss-product { font-size: 1.2rem; }
}
@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .cards, .dl { grid-template-columns: 1fr 1fr; }
  .ss-buy { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1.25rem; }
  .ss-buy > * { grid-column: 2; }
  .ss-buy > .spot { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
}
@media (min-width: 900px) {
  .calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px; align-items: start; }
  .calc > * + * { margin-top: 0; }
  .stickybar { display: none; }
  .results { position: sticky; top: 14px; margin-top: 14px; }
  .bigprice { font-size: 3.8rem; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  ul.checklist { columns: 2; column-gap: 2.5rem; }
  .ex-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: 2rem; align-items: start; }
  .ex-split .ex-fig { margin-top: .75rem; }
}
/* a short window: the sticky results card must fit under the viewport, so the hour map gives way first */
@media (min-width: 900px) and (max-height: 940px) {
  .hm-plan, .hm-ruler { max-width: 285px; margin-inline: auto; }
}

/* worked-example page: a table of words keeps its last column left-aligned; the ledger keeps each figure on one line */
table.tbl.words td:last-child, table.tbl.words th:last-child { text-align: left; }
table.tbl.words td:nth-child(2) { padding-right: .7rem; white-space: nowrap; }
table.tbl.ledger td:last-child { white-space: nowrap; }

/* motion: everything off for visitors who ask for less */
@media (prefers-reduced-motion: reduce) {
  .hourmap[data-intro] .hm-bands .hm-band, .hm-new { animation: none !important; }
  .hm-bands .hm-band, .hm-chip, .hm-strip .hm-band, .field input, .card { transition: none !important; }
}

/* printing is light and quiet: the kit's print rules set the page, these keep this file's colors from overriding them */
@media print {
  :root { --ss-bg: #fff; --ss-surface: #fff; --ss-ink: #000; --ss-muted: #333; --ss-line: #999; --ss-link: #000; --ss-accent-soft: #f2f2f2;
    --ss-accent-text-dark: #000; --bs-warn-bg: #fff; --bs-warn-ink: #000; --bs-err-bg: #fff; --bs-err-ink: #000; --bs-field: #666; --bs-plan: #555; --bs-fixture: #999; --bs-tile: #fff; }
  .stickybar, .ss-nav, .ss-actions, .teaser, .ss-buy, .hourmap, .results .clip, .ex-fig, .card .plan { display: none; }
  .ss-main > .bp-band { display: none; }
  .ss-main h2::before { display: none; }
  .results { border: 1px solid #999; }
  .field input { background: #fff; }
}
