/* Shared components. One set for every site. Skins change tokens, never these rules.
   Class prefix ds- is brand-neutral on purpose.

   SKELETON (umbrella layout, identical on every site, in this order):
     header   .ds-header   wordmark left, at most four nav links right
     hero     .ds-hero     statement zone
     sections .ds-section  hairline rule, fixed vertical rhythm (--section-space)
     footer   .ds-footer   entity footer
   Every zone below the header is a .ds-zone: an optional narrow .ds-margin column (desktop only)
   and one .ds-column reading column of about 70ch. Sites may omit zones, never move them. */

/* Layout */
.ds-page { max-width: calc(var(--margin-col) + var(--zone-gap) + var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ds-measure { max-width: var(--measure); }
.ds-main { display: block; }
.ds-zone { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-3); }
.ds-column { min-width: 0; max-width: var(--measure); }
.ds-margin { min-width: 0; align-self: start; }
@media (max-width: 1023px) { .ds-margin:empty { display: none; } .ds-margin .ds-frame { max-width: 14rem; } }
@media (min-width: 1024px) {
  .ds-zone { grid-template-columns: var(--margin-col) minmax(0, var(--measure)); column-gap: var(--zone-gap); }
  .ds-zone > .ds-margin { grid-column: 1; grid-row: 1; }
  .ds-zone > .ds-column { grid-column: 2; grid-row: 1; }
}

/* Target helper: 44 px tall hit area without changing type size */
.ds-target { display: inline-flex; align-items: center; min-height: var(--target-min); }

/* Label (eyebrows, meta, table heads) */
.ds-label { font-family: var(--label-font); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); letter-spacing: var(--label-tracking); line-height: 1.4; color: var(--muted); margin: 0; }

/* Skip link */
.ds-skip { position: absolute; left: var(--gutter); top: -200px; z-index: 10; display: inline-flex; align-items: center; min-height: var(--target-min); padding: 0 var(--space-4); background: var(--paper); color: var(--ink); }
.ds-skip:focus { top: var(--space-3); }

/* Header and nav */
.ds-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3) var(--space-6); padding-block: var(--space-4); }
.ds-header--rule { border-bottom: var(--rule) solid var(--line); }
.ds-header__brand { display: inline-flex; align-items: center; min-height: var(--target-min); font-family: var(--font-display); font-size: var(--step-0); font-weight: var(--card-title-weight); color: var(--ink); text-decoration: none; letter-spacing: 0; }
.ds-header__brand:hover { color: var(--ink); }
.ds-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); list-style: none; margin: 0; padding: 0; max-width: none; }
.ds-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--target-min); min-width: var(--target-min); font-family: var(--nav-font); font-size: var(--nav-size); font-weight: var(--nav-weight); text-transform: var(--nav-case); letter-spacing: var(--nav-tracking); color: var(--ink); text-decoration-line: none; }
.ds-nav a:hover { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--muted); }
.ds-nav a[aria-current="page"] { text-decoration-line: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.ds-nav--empty { color: var(--muted); font-size: var(--nav-size); }

/* Hero statement zone */
.ds-hero { padding-block: var(--section-space); }
.ds-hero .ds-column { display: grid; gap: var(--space-5); justify-items: start; }
.ds-hero__statement { font-family: var(--font-display); font-size: var(--hero-size); font-weight: var(--hero-weight); line-height: var(--hero-leading); letter-spacing: var(--hero-tracking); max-width: var(--hero-measure); margin: 0; color: var(--ink); text-wrap: balance; }
.ds-hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: var(--measure-narrow); margin: 0; }
.ds-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-3); }

/* Section with hairline rule, fixed rhythm */
.ds-section { padding-block: var(--section-space); border-top: var(--rule) solid var(--line); }
.ds-section--flush { border-top: 0; }
.ds-section__head { display: grid; align-content: start; gap: var(--space-3); margin-bottom: var(--block-space); max-width: var(--measure); }
.ds-section__title { font-size: var(--step-3); }
.ds-section__intro { color: var(--muted); margin: 0; }

/* Definition list. rows: term / description. weighted: one lead entry, the rest run in (FAQ, glossary). */
.ds-dl { margin: 0; display: grid; }
.ds-dl__item { display: grid; gap: var(--space-2); padding-block: calc(var(--space-5) * var(--density)); border-top: var(--rule) solid var(--line); }
.ds-dl__item:last-child { border-bottom: var(--rule) solid var(--line); }
.ds-dl dt { font-family: var(--card-title-font); font-weight: var(--card-title-weight); font-size: var(--step-1); line-height: var(--leading-tight); color: var(--ink); }
.ds-dl dd { margin: 0; max-width: var(--measure); }
@media (min-width: 640px) { .ds-dl .ds-dl__item { grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr); column-gap: var(--column-gap); } }
.ds-weighted { display: grid; gap: calc(var(--space-6) * var(--density)); max-width: var(--measure); }
.ds-weighted__lead { display: grid; gap: var(--space-3); }
.ds-weighted__lead h3 { font-size: var(--step-2); }
.ds-weighted__lead p { margin: 0; }
.ds-weighted__rest { margin: 0; }
.ds-weighted__rest dt { display: inline; font-weight: 600; color: var(--ink); }
.ds-weighted__rest dt::after { content: " "; }
.ds-weighted__rest dd { display: inline; margin: 0; }
.ds-weighted__rest dd::after { content: ""; display: block; margin-bottom: var(--space-4); }

/* Table and price table */
.ds-table-wrap { overflow-x: auto; max-width: 100%; min-width: 0; }
.ds-table-wrap:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }
.ds-column, .ds-wide, .ds-hero .ds-column > * { min-width: 0; max-width: 100%; }
.ds-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.ds-table caption { caption-side: top; text-align: left; padding-bottom: var(--space-3); color: var(--muted); }
.ds-table th, .ds-table td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); border-bottom: var(--rule) solid var(--line); }
.ds-table th:first-child, .ds-table td:first-child { padding-left: 0; }
.ds-table thead th { font-family: var(--label-font); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); letter-spacing: var(--label-tracking); color: var(--muted); border-bottom-color: var(--card-rule-color); }
.ds-table tbody th { font-weight: var(--card-title-weight); }
.ds-table--sticky { min-width: 40rem; }
.ds-table--sticky th:first-child, .ds-table--sticky td:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); border-right: var(--rule) solid var(--line); padding-right: var(--space-4); }
.ds-table__num { text-align: right; }

/* Status label: shape plus word, never color alone */
.ds-status { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--label-font); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); letter-spacing: var(--label-tracking); line-height: 1.4; }
.ds-status::before { content: ""; flex: none; width: 0.62em; height: 0.62em; border-radius: 50%; border: 1.5px solid currentColor; }
.ds-status--dormant { color: var(--muted); }
.ds-status--pilot { color: var(--accent); }
.ds-status--pilot::before { background: currentColor; }
.ds-status__note { display: block; color: var(--muted); font-size: var(--step--1); margin-top: var(--space-1); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 400; }

/* Project card: hairline top rule, no box, whole card is the target */
.ds-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: calc(var(--space-7) * var(--density)) var(--column-gap); list-style: none; margin: 0; padding: 0; max-width: none; }
.ds-card { position: relative; display: grid; align-content: start; gap: var(--space-3); padding-top: var(--space-5); border-top: var(--rule) solid var(--card-rule-color); }
.ds-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.ds-card__title { font-family: var(--card-title-font); font-weight: var(--card-title-weight); font-size: var(--step-1); line-height: var(--leading-tight); margin: 0; }
.ds-card__title a { display: inline-flex; align-items: center; min-height: var(--target-min); color: var(--ink); text-decoration-line: none; }
.ds-card__title a::after { content: ""; position: absolute; inset: 0; }
.ds-card:hover .ds-card__title a { text-decoration-line: underline; text-decoration-color: var(--accent); }
.ds-card__body { margin: 0; color: var(--ink); }
.ds-card__foot { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); margin: 0; }

/* Writing index: date plus title rows */
.ds-index { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.ds-index li { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 0 var(--space-5); padding-block: var(--space-1); border-top: var(--rule) solid var(--line); }
.ds-index li:last-child { border-bottom: var(--rule) solid var(--line); }
.ds-index__meta { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); }
.ds-index a { display: inline-flex; align-items: center; min-height: var(--target-min); }
@media (min-width: 640px) { .ds-index li { grid-template-columns: 9rem minmax(0, 1fr); } }

/* Empty state */
.ds-empty { display: grid; gap: var(--space-3); padding-block: var(--space-7); max-width: var(--measure); }
.ds-empty__title { font-size: var(--step-1); }
.ds-empty__body { color: var(--muted); margin: 0; }

/* Essay and callout (header uses the hero zone, body a section zone) */
.ds-essay__dek { font-size: var(--step-1); color: var(--muted); margin: 0; line-height: 1.5; }
.ds-essay h2 { font-size: var(--step-2); margin: var(--space-7) 0 var(--space-4); }
.ds-essay .ds-section .ds-column > h2:first-child { margin-top: 0; }
.ds-essay h3 { margin: var(--space-6) 0 var(--space-3); }
.ds-essay li + li { margin-top: var(--space-2); }
.ds-callout { display: grid; gap: var(--space-2); margin: var(--space-6) 0; padding-block: var(--space-5); border-block: var(--rule) solid var(--line); }
.ds-callout__label { color: var(--accent); }
.ds-callout p { margin: 0; }

/* Monospace facts block */
.ds-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1) var(--space-6); margin: 0; padding-block: var(--space-4); border-block: var(--rule) solid var(--line); font-family: var(--font-mono); font-size: var(--step--1); line-height: 1.6; max-width: var(--measure); }
.ds-facts dt { color: var(--muted); }
.ds-facts dd { margin: 0 0 var(--space-2); color: var(--ink); overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .ds-facts { grid-template-columns: max-content minmax(0, 1fr); }
  .ds-facts dd { margin: 0; }
}

/* Buttons */
.ds-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--target-min); min-width: var(--target-min); padding: 0 var(--space-5); font: inherit; font-weight: var(--label-weight); line-height: 1.2; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); border-radius: var(--radius); cursor: pointer; text-decoration: none; transition: background-color var(--duration) var(--easing), border-color var(--duration) var(--easing); }
.ds-button:hover { background: color-mix(in srgb, var(--accent) 82%, var(--ink)); border-color: color-mix(in srgb, var(--accent) 82%, var(--ink)); color: var(--on-accent); }
.ds-button--secondary { background: transparent; color: var(--ink); border-color: var(--control-border); }
.ds-button--secondary:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.ds-button[disabled], .ds-button[aria-disabled="true"], fieldset[disabled] .ds-button { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }

/* Form fields */
.ds-form { display: grid; gap: var(--space-5); max-width: var(--measure-narrow); }
.ds-form__fields { display: grid; gap: var(--space-5); margin: 0; padding: 0; border: 0; min-width: 0; }
.ds-field { display: grid; gap: var(--space-2); }
.ds-field__label { font-weight: var(--label-weight); color: var(--ink); }
.ds-field__optional { color: var(--muted); font-weight: 400; }
.ds-field__hint { color: var(--muted); font-size: var(--step--1); margin: 0; }
.ds-field__error { color: var(--ink); font-weight: var(--label-weight); font-size: var(--step--1); margin: 0; }
.ds-input { width: 100%; min-height: var(--target-min); padding: var(--space-2) var(--space-3); font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--control-border); border-radius: var(--radius); }
.ds-input:hover { border-color: var(--ink); }
.ds-input:disabled { color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.ds-input[aria-invalid="true"] { border-width: 2px; border-color: var(--ink); }
textarea.ds-input { min-height: 9rem; resize: vertical; line-height: var(--leading-body); }
.ds-form__status { margin: 0; padding-block: var(--space-4); border-block: var(--rule) solid var(--line); }

/* Entity footer */
.ds-footer { padding-block: var(--space-7); border-top: var(--rule) solid var(--line); font-size: var(--footer-size); color: var(--muted); }
.ds-footer .ds-column { display: grid; gap: var(--space-2); }
.ds-footer p { margin: 0; }
.ds-footer__brand { color: var(--ink); font-weight: var(--card-title-weight); }
.ds-footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-5); }
.ds-footer a { display: inline-flex; align-items: center; min-height: var(--target-min); color: var(--ink); }
.ds-registry { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding-top: var(--space-3); border-top: var(--rule) solid var(--ink); color: var(--ink); font-variant-numeric: tabular-nums; }
.ds-registry dt { color: var(--muted); }
.ds-registry dd { margin: 0 0 var(--space-3); }
.ds-registry dd a { min-height: var(--target-min); }
@media (min-width: 640px) {
  .ds-registry { grid-template-columns: 16rem minmax(0, 1fr); column-gap: var(--space-5); }
  .ds-registry dt, .ds-registry dd { padding-block: var(--space-1); margin: 0; min-height: var(--target-min); display: flex; align-items: center; }
}

/* Wide element: spans margin and reading column at desktop. Direct child of a .ds-zone. */
@media (min-width: 1024px) { .ds-zone > .ds-wide { grid-column: 1 / -1; grid-row: 2; } }
.ds-zone > .ds-wide { margin-top: var(--block-space); min-width: 0; }

/* Inverted band: flat, full bleed, at most one per page. Replaces a hairline, never adds one. */
.ds-band { --band-bg: var(--ink); --band-fg: var(--paper); --focus: var(--band-fg); background: var(--band-bg); color: var(--band-fg); border-top: 0; margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.ds-band + .ds-section { border-top: 0; }
.ds-band h2, .ds-band h3, .ds-band p, .ds-band li, .ds-band dt, .ds-band dd, .ds-band .ds-label, .ds-band .ds-section__intro, .ds-band a, .ds-band a:hover { color: var(--band-fg); }
.ds-band a { text-decoration-color: currentColor; }
.ds-band .ds-button { background: var(--band-fg); color: var(--band-bg); border-color: var(--band-fg); }
.ds-band .ds-table caption, .ds-band .ds-table th, .ds-band .ds-table td { color: var(--band-fg); border-bottom-color: color-mix(in srgb, var(--band-fg) 35%, var(--band-bg)); }
.ds-band .ds-table thead th { border-bottom-color: var(--band-fg); }
.ds-band .ds-table--sticky th:first-child, .ds-band .ds-table--sticky td:first-child { background: var(--band-bg); border-right-color: color-mix(in srgb, var(--band-fg) 35%, var(--band-bg)); }
.ds-band .ds-scale__fill { background: var(--band-fg); }
.ds-band .ds-scale__track { border-bottom-color: color-mix(in srgb, var(--band-fg) 35%, var(--band-bg)); }
.ds-band .ds-scale__seg--open .ds-scale__fill { background: transparent; box-sizing: border-box; border: 2px solid var(--band-fg); }
.ds-band .ds-scale__tick, .ds-band .ds-scale__name, .ds-band .ds-scale__len, .ds-band .ds-scale__note { color: var(--band-fg); }

/* Empty labeled frame: stands in for a photograph, screenshot or document. Never draw a fake interface in it. */
.ds-frame { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); min-width: 0; max-width: 100%; }
.ds-frame__box { position: relative; width: 100%; aspect-ratio: var(--frame-ratio, 3 / 2); border: 1px solid var(--muted); display: grid; align-content: start; justify-items: start; gap: var(--space-1); padding: var(--space-4); font-family: var(--font-mono); font-size: var(--step--1); line-height: 1.5; color: var(--muted); }
.ds-frame__box strong { color: var(--ink); font-weight: 500; }
.ds-frame--letter .ds-frame__box { width: 8.5in; max-width: 100%; aspect-ratio: 8.5 / 11; padding: 8.8%; }
.ds-frame figcaption { color: var(--muted); font-size: var(--step--1); max-width: var(--measure); }
.ds-frame figcaption time { font-family: var(--font-mono); color: var(--ink); }

/* Phase scale: one row per phase, bars to scale in weeks. From 720 px each bar starts at its week offset; below that bars stack from zero, lengths still to scale. Labels sit above each bar and never squeeze into it. */
.ds-scale { margin: 0; display: grid; gap: var(--space-4); }
.ds-scale__bar { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: var(--space-5); }
.ds-scale__seg { display: grid; gap: var(--space-2); min-width: 0; }
.ds-scale__text { display: grid; gap: var(--space-1); max-width: 24rem; }
.ds-scale__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-3); }
.ds-scale__track { display: block; border-bottom: 1px solid var(--line); }
.ds-scale__fill { display: block; height: 14px; background: var(--ink); width: calc(var(--w) / var(--total) * 100%); min-width: 14px; }
.ds-scale__seg--open .ds-scale__fill { background: var(--accent); }
.ds-scale__tick { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); }
.ds-scale__name { font-weight: 600; font-size: var(--step-1); line-height: var(--leading-tight); color: var(--ink); white-space: nowrap; }
.ds-scale__len { font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink); }
.ds-scale__note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.ds-scale figcaption { color: var(--muted); font-size: var(--step--1); }
@media (min-width: 720px) {
  .ds-scale__fill { margin-left: calc(var(--start) / var(--total) * 100%); }
  .ds-scale__text { margin-left: min(calc(var(--start) / var(--total) * 100%), calc(100% - 24rem)); }
}

/* Ledger: dated index, status in the margin column */
.ds-ledger { list-style: none; margin: 0; padding: 0; max-width: none; }
.ds-ledger__row { display: grid; gap: var(--space-2); padding-block: var(--space-4); border-top: var(--rule) solid var(--line); }
.ds-ledger__row:last-child { border-bottom: var(--rule) solid var(--line); }
.ds-ledger__main { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: var(--space-4); max-width: var(--measure); }
.ds-ledger__date { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); padding-top: 0.5em; }
.ds-ledger__title { justify-self: start; display: inline-flex; align-items: center; min-height: var(--target-min); font-size: var(--step-1); font-weight: 600; color: var(--ink); text-decoration-line: none; }
.ds-ledger__title:hover { text-decoration-line: underline; color: var(--ink); }
.ds-ledger__line { grid-column: 2; margin: 0; color: var(--ink); }
@media (min-width: 1024px) {
  .ds-ledger__row { grid-template-columns: var(--margin-col) minmax(0, var(--measure)); column-gap: var(--zone-gap); align-items: start; }
  .ds-ledger__margin { padding-top: 0.75em; }
}

/* Spec sheet: technical facts for product pages */
.ds-spec { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--font-mono); font-size: var(--step--1); line-height: 1.5; color: var(--ink); max-width: none; }
.ds-spec__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-block: var(--space-3); border-bottom: 1px solid var(--ink); }
.ds-spec__list { margin: 0; display: grid; grid-template-columns: 10rem minmax(0, 1fr); }
.ds-spec__list dt, .ds-spec__list dd { margin: 0; padding-block: var(--space-2); border-bottom: 1px solid var(--line); }
.ds-spec__list dt { color: var(--muted); padding-right: var(--space-4); }
.ds-spec__list dd { overflow-wrap: anywhere; }
@media (min-width: 1024px) { .ds-spec__list { grid-template-columns: 10rem minmax(0, 1fr) 10rem minmax(0, 1fr); } .ds-spec__list dd { padding-right: var(--space-5); } }

/* Price table as a hero (firstplayable): figures in mono, left aligned */
.ds-table--price { width: auto; min-width: min(100%, 36rem); }
.ds-table--price td { font-family: var(--font-mono); font-size: var(--step-2); line-height: 1.2; color: var(--ink); white-space: nowrap; }
.ds-table--price tbody th { font-size: var(--step-1); font-weight: 600; }
.ds-table--price td small { display: block; font-size: var(--step--1); color: var(--muted); font-family: var(--font-body); white-space: normal; }

/* States. Default, hover, active, focus-visible (base.css), disabled, loading (aria-busy), error. */
a:active { color: var(--ink); text-decoration-thickness: 2px; }
a[aria-disabled="true"] { color: var(--muted); text-decoration-line: none; cursor: not-allowed; }
a[aria-busy="true"], .ds-button[aria-busy="true"], .ds-input[aria-busy="true"] { cursor: progress; }
a[aria-busy="true"] { color: var(--muted); }
.ds-link--error { color: var(--ink); text-decoration-style: dotted; }
.ds-button:active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ds-button--secondary:active { background: color-mix(in srgb, var(--ink) 8%, var(--paper)); border-color: var(--ink); color: var(--ink); }
.ds-button[aria-busy="true"] { background: transparent; color: var(--ink); border-color: var(--control-border); }
.ds-table--rows tbody tr { position: relative; }
.ds-table--rows tbody tr:hover > * { border-bottom-color: var(--ink); }
.ds-table--rows tbody tr:focus-within > * { border-bottom-color: var(--ink); }
.ds-table--rows tbody tr[aria-selected="true"] > * { border-bottom: 2px solid var(--ink); }
.ds-table--rows tbody tr[aria-busy="true"] > * { color: var(--muted); }
.ds-table--rows tbody tr[aria-disabled="true"] > * { color: var(--muted); }
.ds-card:focus-within { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }
.ds-card:active .ds-card__title a { color: var(--accent); }
.ds-card[aria-busy="true"] { color: var(--muted); }
.ds-card[aria-disabled="true"] .ds-card__title, .ds-card[aria-disabled="true"] .ds-card__body { color: var(--muted); }
.ds-state-error { color: var(--ink); font-weight: 600; font-size: var(--step--1); margin: 0; }


/* Day strip (GameCraft signature): working days drawn as cells. Filled = committed day. Counts come from published scope only. */
.ds-days { margin: 0; display: grid; gap: var(--space-5); }
.ds-days__row { display: grid; gap: var(--space-2); }
.ds-days__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-3); }
.ds-days__name { font-weight: 600; font-size: var(--step-1); color: var(--ink); }
.ds-days__meta { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); }
.ds-days__cells { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(var(--cells), minmax(0, 1fr)); gap: 3px; }
.ds-days__cells li { height: 28px; border: 1px solid var(--muted); }
.ds-days__cells li[data-on] { background: var(--accent); border-color: var(--accent); }
.ds-days__cells li[data-gap] { border-style: dashed; }
.ds-days__legend { color: var(--muted); font-size: var(--step--1); margin: 0; }