/* Dahlia Tuber Book: the site's own look, on top of the Schlosser Studio kit (/studio/studio.css, kit version 2, dark).
   Palette "cold-cellar slate, scarlet dahlia, tuber skin": the blue-gray of a basement in January, the cream of a cut tuber,
   one scarlet bloom as the accent, tuber-skin tan for drawings. Checked with the kit's check-accent tool
   (ventures/_studio/tools/check-accent.mjs): all PASS (see the venture README).
   Light colors appear only in the print block at the end and in the palette's own light text, accent, skin and tape colors. */
:root {
  --ss-bg: #14202a;          /* cold cellar wall: the page */
  --ss-surface: #1d2d3a;     /* crate shadow: cards, tools, buy box, footer, inputs */
  --ss-ink: #f3ede2;         /* cut tuber flesh: body text */
  --ss-muted: #b8c5cf;       /* frost on the window: hints */
  --ss-line: #33495b;        /* crate slats, table rules (decorative only) */
  --ss-accent: #ff6a55;      /* scarlet single dahlia: buttons, header stripe, focus ring, plant dots */
  --ss-accent-ink: #14202a;  /* text on the accent */
  --ss-accent-text-dark: #ff9d8c; /* links and accent text */
  --db-skin: #b98a5c;        /* tuber skin in drawings (decorative only) */
  --db-tape: #e9dcbc;        /* masking-tape labels in drawings; text on it is --ss-bg */
}

html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.ss { font-variant-numeric: tabular-nums; }
body.ss .ss-main { padding-top: 1.25rem; }
.nw { white-space: nowrap; }
.nojs { display: block; }
.js .nojs { display: none; }
.ss-skip:focus { z-index: 50; }

/* header: on phones the studio badge shares the first line with the name */
.ss-nav { gap: .25rem 1.15rem; }
.ss-product { letter-spacing: .02em; }
@media (max-width: 47.99rem) {
  .ss-header__in { gap: .15rem .9rem; padding-block: .55rem .4rem; }
  .ss-product { order: 1; margin-right: 0; flex: 1 1 auto; }
  .ss-by { order: 2; }
  .ss-nav { order: 3; flex: 1 1 100%; gap: 0 .95rem; font-size: .9rem; }
  .ss-nav a { padding: .3rem 0; }
}

/* ------------------------------------------------------------------ the tape measure that sits under each page's lede */
.db-rule { display: block; margin: 1.1rem 0 0; max-width: 100%; }
.db-rule__long { stroke: var(--ss-muted); stroke-width: 1.5; }
.db-rule__short { stroke: var(--ss-line); stroke-width: 1.5; }

/* ------------------------------------------------------------------ hero */
.hero-home { padding-block: 1.25rem .5rem; }
.hero-home h1 { margin-bottom: .35em; }
.hero-home .ss-lede { margin-bottom: 0; max-width: 44rem; text-wrap: pretty; }
.hero-tool { padding-block: 1rem .25rem; }
.hero-tool .ss-lede { max-width: 46rem; margin-bottom: 0; text-wrap: pretty; }
.crumb { font-size: .9rem; color: var(--ss-muted); margin: 0 0 .5rem; }
.crumb a { color: var(--ss-muted); }

/* ------------------------------------------------------------------ the tools */
.tool { background: var(--ss-surface); border: 1px solid var(--ss-line); border-top: 4px solid var(--ss-accent); border-radius: var(--ss-radius-lg); padding: 1.1rem 1.1rem .9rem; margin-block: 1.1rem; }
.tool h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.tool__body { display: grid; gap: 1.1rem 2rem; }
@media (min-width: 52rem) { .tool__body { grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr); align-items: start; } .tool { padding: 1.4rem 1.6rem 1.1rem; } }
.tool__fields { display: grid; gap: .8rem; align-content: start; }
.pf { margin: 0; padding: 0; border: 0; min-width: 0; }
.pf label, .pf legend { display: block; font-size: .85rem; font-weight: 600; color: var(--ss-muted); margin: 0 0 .25rem; padding: 0; line-height: 1.25; }
.pf input[type="number"], .pf select { width: 100%; box-sizing: border-box; background: var(--ss-bg); }
.pf input[type="range"] { width: 100%; accent-color: var(--ss-accent); min-height: 44px; }
.pf output { color: var(--ss-link); font-weight: 700; }
.pf--pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; }
.pf--pair[hidden], .pf[hidden] { display: none; }
.pf__hint { margin: .25rem 0 0; font-size: .8rem; line-height: 1.35; color: var(--ss-muted); }
.seg { display: inline-flex; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); overflow: hidden; background: var(--ss-bg); position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label { margin: 0; padding: 0 1rem; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--ss-muted); border-radius: 0; }
.seg input:checked + label { background: var(--ss-accent); color: var(--ss-accent-ink); }
.seg input:focus-visible + label { outline: 3px solid var(--ss-focus); outline-offset: -3px; }
.field-msg { margin: 0; font-size: .9rem; color: var(--ss-ink); background: var(--ss-bg); border-left: 4px solid var(--ss-accent); padding: .4rem .65rem; border-radius: 4px; }
.field-msg[hidden] { display: none; }
.tool__out { display: grid; gap: 1rem 1.6rem; align-items: start; min-width: 0; }
.res { min-width: 0; }
.big { font-family: var(--ss-display); font-weight: 700; line-height: 1; margin: 0 0 .5rem; color: var(--ss-link); }
.big__n { font-size: clamp(3.4rem, 2.6rem + 4vw, 5rem); }
.big__n--long { font-size: clamp(1.9rem, 1rem + 4.5vw, 3rem); overflow-wrap: anywhere; }
.big__u { font-size: 1.5rem; color: var(--ss-muted); }
.res__line { margin: 0 0 .6rem; font-size: 1.05rem; overflow-wrap: break-word; }
.res__sub { margin: 0; font-size: .9rem; color: var(--ss-muted); }
.res__sub:empty { display: none; }
/* the yield: result and the hanging clump side by side, the crate under both */
.tool__out--yield { grid-template-areas: "res" "clump" "crate"; }
.tool__out--yield .res { grid-area: res; } .tool__out--yield .clump-slot { grid-area: clump; } .tool__out--yield .crate-slot { grid-area: crate; }
@media (min-width: 40rem) { .tool__out--yield { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "clump clump" "res crate"; } }
.clump-slot { min-width: 0; }
.clump-slot:empty { display: none; }
.clump-cap { margin: .35rem 0 0; max-width: 44rem; font-size: .85rem; line-height: 1.4; color: var(--ss-muted); }
.db-clump-svg { display: block; width: 100%; max-width: 44rem; max-height: 21rem; height: auto; }
.db-t { transition: fill .15s; }
.db-bed-svg { display: block; width: 100%; max-width: 40rem; height: auto; }
.db-plant { stroke: none; }
.bed-slot { min-width: 0; container-type: inline-size; }
/* the position labels (R1-1 ...) are left off when the plan is drawn narrower than 26rem: they would print under 9 px there */
@container (max-width: 25.99rem) { .db-plant-n { display: none; } }
/* in a wide box the drawing is shown at about its own size, so its labels need less than the phone-sized ones the drawing carries */
@container (min-width: 36rem) { .db-bed-svg .db-dim { font-size: 14px; } .db-bed-svg .db-plant-n { font-size: 11px; } }
.bed-slot:empty { display: none; }
.tool__out--bed { gap: .6rem 1.6rem; }   /* the result over the plan, at every width: beside the form the plan would be drawn about 320 px wide, too small to read its labels */
@media (max-width: 39.99rem) { .tool .res .big { margin-bottom: .35rem; } }
/* the crate: the sound tubers, keep on the left, spare on the right, the tape label across the front */
.crate-slot { min-width: 0; }
.crate-slot:empty { display: none; }
.db-crate { display: block; width: 100%; max-width: 30rem; height: auto; }
.crate-cap { margin: .35rem 0 0; max-width: 30rem; font-size: .85rem; line-height: 1.4; color: var(--ss-muted); }
.db-crate__box { fill: var(--ss-bg); stroke: var(--db-skin); stroke-width: 3; }
.db-crate__slat { fill: none; stroke: var(--db-skin); stroke-width: 1.5; opacity: .45; }
.db-crate__div { fill: none; stroke: var(--db-skin); stroke-width: 2; opacity: .6; stroke-dasharray: 2 4; }
.db-ctuber__body { fill: var(--db-skin); }
.db-ctuber__nub { fill: var(--ss-bg); }
.db-ctuber > * { transition: opacity .2s, transform .25s; transition-delay: calc(var(--i, 0) * 12ms); }
.is-pending .db-ctuber > * { opacity: 0; transform: translateY(-16px); }
.db-tape__bg { fill: var(--db-tape); }
.db-tape__t { fill: var(--ss-bg); font-family: var(--ss-display); font-weight: 600; font-size: 17px; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .db-t, .db-ctuber > * { transition: none; } }
/* the sale: the ledger */
.ledger { width: 100%; max-width: 24rem; font-size: .98rem; margin: 0; border-collapse: collapse; }
.ledger th, .ledger td { padding: .3rem 0; text-align: left; border-bottom: 1px solid var(--ss-line); font-weight: 400; }
.ledger td { text-align: right; }
.ledger__net th, .ledger__net td { font-weight: 700; color: var(--ss-link); border-top: 2px solid var(--ss-accent); border-bottom: 0; padding-top: .5rem; }
.ledger-slot:empty { display: none; }
/* the several years: one row per year, the table under the result at every width (beside the form it would be too narrow for six columns) */
.tool__out--years { gap: .4rem 1.6rem; }
.years-slot { min-width: 0; margin-top: .6rem; }
.years-slot:empty { display: none; }
.years-slot .tbl-wrap { margin-bottom: .5rem; }
.yrs th, .yrs td { font-variant-numeric: tabular-nums; }
.yrs-key { margin: 0; max-width: 46rem; }
.yrs-sums { margin: .3rem 0 1.2rem; padding-left: 1.2rem; font-size: .92rem; color: var(--ss-muted); max-width: 46rem; }
.yrs-sums li { margin-bottom: .3rem; }
/* the shipping cost: the result, then two small ledgers side by side where there is room (the cost of one order, and what a typed charge leaves) */
.tool__out--ship { gap: .4rem 1.6rem; }
.tool--ship .pf--pair > div { display: flex; flex-direction: column; justify-content: flex-end; }   /* a label that wraps to two lines does not push its box below its neighbor's */
.res__lines p { margin: 0 0 .6rem; }
.res__lines .res__line { font-size: 1.05rem; overflow-wrap: break-word; }
.res__lines .res__sub { font-size: .9rem; color: var(--ss-muted); }
.ship-slot { min-width: 0; margin-top: .4rem; }
.ship-slot:empty { display: none; }
.ship-ledgers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 24rem)); gap: 1rem 2.2rem; align-items: start; }
.ship-ledgers .ledger { max-width: none; }
.ledger__cap { caption-side: top; text-align: left; font-size: .85rem; font-weight: 600; color: var(--ss-muted); padding: 0 0 .3rem; }
/* The not-advice line: one small calm line right under its tool, not a box (the kit's ss-note box is for notes that must be seen first). */
.ss-note.tool__note { background: none; border: 0; border-radius: 0; padding: 0; margin: .9rem 0 .35rem; max-width: 46rem; font-size: .85rem; line-height: 1.45; color: var(--ss-muted); }
.offer-line { margin: .25rem 0 0; font-size: .95rem; color: var(--ss-muted); }
/* the bed and the sale sit side by side on a wide home page; each tool stacks its fields over its result */
.pair { display: grid; gap: 0 1.5rem; align-items: start; }
@media (min-width: 64rem) { .pair { grid-template-columns: 1fr 1fr; } }
.tool--half .tool__body { grid-template-columns: minmax(0, 1fr); }

/* ------------------------------------------------------------------ the offer, logs, numbers */
.offer { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 52rem) { .offer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; } }
.db-tabcrate { position: relative; border: 3px solid var(--db-skin); border-radius: 4px; padding: 1.1rem .8rem .9rem; background: var(--ss-surface); margin: 0 0 1rem; }
.db-tabcrate::before, .db-tabcrate::after { content: ""; position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid var(--db-skin); opacity: .35; }
.db-tabcrate::before { top: 34%; }
.db-tabcrate::after { top: 68%; }
.db-tabcrate__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr)); gap: .9rem .5rem; }
.db-chip { display: flex; flex-direction: column; align-items: center; gap: 0; }
.db-chip__t { width: 2.1rem; height: 2.7rem; display: block; }
.db-chip__body { fill: var(--db-skin); }
.db-chip__nub { fill: var(--db-tape); }
.db-tape--chip { display: block; background: var(--db-tape); color: var(--ss-bg); font-family: var(--ss-display); font-weight: 600; font-size: .95rem; line-height: 1.1; letter-spacing: .01em; padding: .18rem .45rem; margin-top: -.35rem; transform: rotate(-2deg); text-align: center; min-width: 3.2rem; max-width: 100%; }
.db-tape--chip:empty { min-height: 1.1rem; }
.logs { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 48rem) { .logs { grid-template-columns: 1fr 1fr; gap: 1.2rem; } }
.logs a { display: grid; grid-template-columns: 5rem minmax(0, 1fr); grid-template-areas: "s t" "s d" "s g"; gap: .1rem 1.1rem; align-items: start; padding: 1rem 1.1rem; background: var(--ss-surface); border: 1px solid var(--ss-line); border-left: 4px solid var(--ss-accent); border-radius: var(--ss-radius); text-decoration: none; color: var(--ss-ink); }
.logs a:hover { border-color: var(--ss-accent); }
.logs .db-sheet { grid-area: s; width: 5rem; height: auto; }
.logs__t { grid-area: t; font-family: var(--ss-display); font-weight: 700; font-size: 1.5rem; color: var(--ss-link); line-height: 1.15; }
.logs__d { grid-area: d; color: var(--ss-muted); }
.logs__tag { grid-area: g; font-size: .8rem; font-weight: 600; margin-top: .3rem; }
.db-sheet__paper { fill: var(--ss-bg); stroke: var(--db-tape); stroke-width: 1.5; }
.db-sheet__head { fill: var(--db-tape); opacity: .7; }
.db-sheet__rule, .db-sheet__label, .db-sheet__tick { fill: none; stroke: var(--ss-muted); stroke-width: 1.2; opacity: .6; }
.db-sheet__box { fill: none; stroke: var(--ss-muted); stroke-width: 1.2; }
.band { background: var(--ss-surface); border-block: 1px solid var(--ss-line); margin-top: 2rem; }
.tbl-wrap { overflow-x: auto; margin: 0 0 1rem; }
.tbl { font-size: .95rem; }
.tbl th, .tbl td { vertical-align: top; }
.tbl thead th { font-size: .85rem; color: var(--ss-muted); font-weight: 600; border-bottom: 2px solid var(--ss-line); }
.tbl .res-col { color: var(--ss-link); font-weight: 700; }
/* Whole words in every table cell: the kit lets text break anywhere, which in a table lets a column shrink to one
   letter. With break-word a column keeps its longest word, and a wide table scrolls sideways inside its box instead
   (owner, 2026-11-20, found by the kit's layout check). */
.tbl th, .tbl td { overflow-wrap: break-word; }
.tbl.sheet thead th { white-space: nowrap; }
.nums thead th:last-child { white-space: nowrap; }
/* The kit lets any word break anywhere; in a table a word stays whole (a heading wraps at its spaces, a number never wraps). */
.ex th, .ex td { overflow-wrap: normal; }
.ex thead th { vertical-align: bottom; line-height: 1.2; }
@media (max-width: 40rem) {
  .nums thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nums, .nums tbody, .nums tr, .nums th, .nums td { display: block; }
  .nums tr { padding: .8rem 0; border-bottom: 1px solid var(--ss-line); }
  .nums th, .nums td { padding: .1rem 0; border: 0; }
  .nums th[scope="row"] { font-size: 1rem; }
  .nums td.nw { white-space: normal; }
  .nums td::before { content: attr(data-label) ": "; color: var(--ss-muted); font-weight: 600; font-size: .8rem; }
}
@media (max-width: 30rem) { .tbl { font-size: .85rem; } .tbl th, .tbl td { padding: .35rem .3rem; } .ex th, .ex td { padding-inline: .22rem; } .ex thead th { font-size: .8rem; } }
@media (max-width: 22rem) { .ex { font-size: .78rem; } .ex th, .ex td { padding-inline: .15rem; } }
.src-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; font-size: .9rem; }
.src-list .says { display: block; color: var(--ss-muted); }
.trio { display: grid; gap: 0 2rem; }
@media (min-width: 64rem) { .trio { grid-template-columns: repeat(3, 1fr); } }
.db-buy--compact .db-buy__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.db-buy--compact h3 { margin-bottom: .2rem; }
.db-buy--compact .ss-buy__price { font-size: 2rem; margin: 0; }
.db-buy h3 { margin-bottom: .3rem; }
.ss-btn[disabled], .ss-btn[aria-disabled="true"] { opacity: 1; cursor: not-allowed; background: var(--ss-line); border: 2px dashed var(--ss-muted); color: var(--ss-muted); }
.ss-btn[disabled]:hover { filter: none; box-shadow: none; }
/* the price and its note: the note drops to its own line whole and balanced instead of leaving one word alone */
.db-buy .ss-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .45rem; margin-bottom: .6rem; }
.db-buy .ss-buy__price small { margin-left: 0; text-wrap: balance; }

/* ------------------------------------------------------------------ guides, sale examples and the workbook page */
.hero-guide { display: grid; gap: 1.5rem; align-items: start; padding-block: 1rem .5rem; }
@media (min-width: 48rem) { .hero-guide { grid-template-columns: minmax(0, 1fr) 8.5rem; } }
.hero-guide > .db-sheet { width: 8.5rem; height: auto; margin-top: .5rem; }
@media (max-width: 47.99rem) { .hero-guide > .db-sheet { display: none; } }
.dl-actions { margin-top: 1rem; }
.dl-main p { margin: .4rem 0 0; }
.cols { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem 2rem; }
@media (min-width: 48rem) { .cols { grid-template-columns: 1fr 1fr; } }
.cols li { border-left: 3px solid var(--ss-accent); padding: .1rem 0 .1rem .9rem; }
.cols h3 { font-size: 1.2rem; margin: 0 0 .15rem; }
.cols p { margin: 0; color: var(--ss-muted); }
.ex-list, .binder-list, .steps-list, .nextlist { padding-left: 1.2rem; }
.nextlist { list-style: none; padding: 0; display: grid; gap: .5rem; }
.nextlist a { font-weight: 600; }
.sale-exs { list-style: none; margin: 0 0 1rem; padding: 0; }
.sale-ex h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.sale-ex p { margin: 0 0 .6rem; color: var(--ss-muted); font-size: .95rem; }
.sale-ex__n { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: .4rem .9rem; margin: 0; }
.sale-ex__n dt { font-size: .75rem; color: var(--ss-muted); }
.sale-ex__n dd { margin: 0; font-weight: 600; white-space: nowrap; }
.sale-ex__n .res-col dd { color: var(--ss-link); font-weight: 700; }
@media (max-width: 30rem) { .sale-ex__n { grid-template-columns: repeat(2, auto); justify-content: start; gap: .4rem 2rem; } }
.hero-wb { display: grid; gap: 1.5rem; padding-block: 1rem .5rem; align-items: start; }
@media (min-width: 52rem) { .hero-wb { grid-template-columns: 1fr minmax(20rem, 24rem); } }
.tabs, .qa { margin: 0 0 1rem; }
.tabs dt, .qa dt { font-family: var(--ss-display); font-weight: 700; font-size: 1.25rem; margin-top: .9rem; color: var(--ss-link); }
.tabs dd, .qa dd { margin: .1rem 0 0; max-width: 46rem; }
.forgrid { display: grid; gap: 0 2rem; }
@media (min-width: 48rem) { .forgrid { grid-template-columns: 1fr 1fr; } }
.shots { display: grid; gap: 1rem; margin: 1rem 0; }
.shots figure { margin: 0; } .shots img { box-sizing: border-box; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); }
.shots figcaption { font-size: .85rem; color: var(--ss-muted); margin-top: .3rem; }
.shots a { display: block; cursor: zoom-in; border-radius: var(--ss-radius); }
.shots-hint { margin: .5rem 0 0; font-size: .9rem; color: var(--ss-muted); }
@media (min-width: 48rem) { .shots-hint { display: none; } }
.shots--tabs figure { overflow-x: auto; }
.shots--tabs img { display: block; box-sizing: border-box; width: 100%; min-width: 44rem; height: auto; }
@media (min-width: 48rem) { .shots--pages { grid-template-columns: 1fr 1fr; } }
.dl { list-style: none; padding: 0; margin: 0; }
.nf { display: grid; gap: 1.5rem; align-items: center; padding-block: 2rem; }
@media (min-width: 40rem) { .nf { grid-template-columns: 7rem minmax(0, 1fr); } }
.nf .db-chip__t { width: 5rem; height: 6.5rem; }
.nf .db-tape--chip { min-width: 6rem; min-height: 1.5rem; }

/* ------------------------------------------------------------------ the way to the workbook (2026-11-21)
   A pill first in the header nav, one line under the home page's hero, and a band on each free page below its explanation and outside its tool card.
   Colors are the palette's variables only. Every button goes to the buy box on /workbook (#buy), never to the checkout. */
.ss-nav a.db-navbuy { display: inline-flex; align-items: center; box-sizing: border-box; padding: .3rem .95rem; border: 0; border-radius: 999px; background: var(--ss-accent); color: var(--ss-accent-ink); font-weight: 700; white-space: nowrap; transition: filter .15s ease-out; }
.ss-nav a.db-navbuy:hover { filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { .ss-nav a.db-navbuy { transition: none; } }
@media (max-width: 43.75rem) { .ss-nav a.db-navbuy { min-height: 44px; padding-inline: .8rem; } }   /* a 44 px touch target on a phone */
/* the pill is wider than the plain "Workbook" link it replaces, so on the narrowest phones the other links close up a little: the nav stays one row, as before */
@media (max-width: 30rem) { .ss-nav { column-gap: .7rem; } }
@media (min-width: 48rem) and (max-width: 52rem) { .ss-nav { column-gap: .85rem; } .ss-nav a.db-navbuy { padding-inline: .75rem; } }   /* a tablet held upright: name, nav and badge still share one line */
@media (max-width: 22.4rem) { .ss-nav { font-size: .85rem; column-gap: .5rem; } .ss-nav a.db-navbuy { padding-inline: .65rem; } }
.db-offer { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin: .9rem 0 .25rem; padding: .75rem 1rem; background: var(--ss-accent-soft); border-left: 4px solid var(--ss-accent); border-radius: var(--ss-radius); }
.db-offer__t { flex: 1 1 18rem; min-width: 0; }
.db-offer__t strong { font-weight: 700; }
.db-offer__btn { flex: none; }
.db-band { display: grid; gap: .25rem 2rem; margin: 0; padding: 1.1rem 1.25rem 1rem; background: var(--ss-accent-soft); border: 1px solid var(--ss-line); border-left: 4px solid var(--ss-accent); border-radius: var(--ss-radius-lg); }
.db-band > *, .db-band__text > *, .db-band__buy > * { min-width: 0; margin-top: 0; }
.db-band h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.db-band__text p { margin-bottom: .75rem; max-width: 46rem; }
.db-band__buy > p { margin-bottom: .6rem; }
.db-band__price { font-size: 1.05rem; }
.db-band__price small { display: block; margin-top: .1rem; font-size: .875rem; color: var(--ss-muted); text-wrap: balance; }
.db-band__fine { margin: .25rem 0 0; font-size: .85rem; color: var(--ss-muted); max-width: 46rem; }
@media (min-width: 44rem) {
  .db-band { grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); align-items: start; }
  .db-band__fine { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ printing: always light, the tables and logs print clean */
@media print {
  :root { --ss-bg: #fff; --ss-surface: #fff; --ss-ink: #000; --ss-muted: #333; --ss-line: #999; --ss-link: #000; --db-skin: #888; --db-tape: #ddd; }
  body.ss { background: #fff; color: #000; font-size: 11pt; }
  .ss-header, .ss-footer, .no-print, .ss-btn, .db-rule, .db-sheet, .tool__fields, .nojs, .ss-skip, .db-navbuy, .db-offer, .db-band { display: none !important; }   /* the buy buttons and the bands that lead to them do not print */
  .ss-main { padding-block: 0; }
  .tool, .db-buy, .ss-note, .band { background: #fff; border-color: #999; box-shadow: none; }
  .tbl th, .tbl td { border-bottom: 1px solid #999; color: #000; }
  .tbl .res-col, .tabs dt, .qa dt, .logs__t, .big, a { color: #000; }
  .src-list .says { color: #333; }
  .tbl-wrap { overflow: visible; }
  .cols li, .ledger tr { break-inside: avoid; }
  a[href^="http"]::after { content: ""; }
}
