
.code.ft-code { border-radius: var(--radius-card); border: 1px solid var(--line-on-ink); box-shadow: var(--shadow); }
.ft-code .code-bar { flex-wrap: wrap; row-gap: var(--space-2); }
.ft-code .code-body { margin: 0; font-size: clamp(0.7rem, 0.62rem + 0.3vw, 0.8125rem); line-height: 1.65; }
.ft-code .cl { white-space: pre-wrap; overflow-wrap: anywhere; }
.ft-code .cl em { font-style: normal; color: var(--on-ink-soft); opacity: 0.75; }
.ft-m--post { background: var(--green); color: var(--ink); }
.ft-m--patch { background: var(--amber); color: var(--ink); }
.ft-st { margin-left: auto; font-weight: 700; white-space: nowrap; }
.ft-st--ok { color: var(--green); }
.ft-st--warn { color: var(--amber); }
.ft-st--bad { color: var(--red); }
.ft-code-part { padding: var(--space-3) var(--space-5); border-top: 1px solid var(--line-on-ink); font-family: var(--font-code); font-size: var(--text-xs); line-height: 1.7; }
.ft-code-part > b { display: block; margin-bottom: 0.2em; font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--on-ink-soft); }
.ft-code-part span { display: block; overflow-wrap: anywhere; }
.ft-code-part i { font-style: normal; color: var(--on-ink); }
.ft-code-part u { text-decoration: none; color: var(--green); }
.ft-code-part s { text-decoration: none; color: var(--orange-light); }
.ft-code-say { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--line-on-ink); font-size: var(--text-sm); line-height: 1.45; color: var(--on-ink-soft); }
.ft-code-say b { color: var(--on-ink); }
.ft-codes { display: grid; gap: var(--space-4); min-width: 0; }
.ft-codes > * { min-width: 0; }
.ft-rows { display: grid; }
.ft-rows > li { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0.7em 0; border-bottom: 1px solid var(--app-bg-alt); }
.ft-rows > li:last-child { border-bottom: 0; padding-bottom: 0; }
.ft-rows > li:first-child { padding-top: 0; }
.ft-rows > li > div { display: grid; min-width: 0; }
.ft-rows b { font-weight: 600; color: var(--app-text); }
.ft-rows div > span { font-size: 0.86em; color: var(--app-text-3); }
.ft-rows .k-avatar { font-size: 0.8em; }
.ft-rows > li > .ft-rows-lead { flex: none; }
.ft-rows > li > div { flex: 1; }
.ft-log { display: grid; }
.ft-log li { display: grid; grid-template-columns: 3.4em 1fr auto; gap: 0.2em 0.9em; align-items: baseline; padding: 0.6em 0; border-bottom: 1px solid var(--app-bg-alt); }
.ft-log li:last-child { border-bottom: 0; }
.ft-log time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--app-text-3); }
.ft-log b { font-weight: 600; color: var(--app-text); }
.ft-log span { grid-column: 2 / -1; font-size: 0.86em; color: var(--app-text-3); }
.ft-log .badge { grid-column: 3; grid-row: 1; }
.ft-minis { display: grid; gap: var(--space-5); }
@media (min-width: 40em) { .ft-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .ft-minis { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.ft-mini { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: var(--space-5); min-width: 0; padding: var(--space-5); border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.ft-mini-screen { min-width: 0; padding: var(--space-4); border-radius: var(--radius); background: var(--paper-3); border: 1px solid var(--line); min-height: 9.5rem; display: grid; align-content: center; }
.ft-mini-screen .screen { min-width: 0; }
.ft-mini h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); letter-spacing: var(--track-display); line-height: 1.2; color: var(--ink); }
.ft-mini-copy p { margin-top: var(--space-2); font-size: var(--text-sm); line-height: 1.5; color: var(--ink-soft); }
.ft-mini-copy p + p { color: var(--ink-mute); }
.ft-mini-copy p b { color: var(--ink); font-weight: 600; }
.ft-mini-copy .link-arrow { display: inline-flex; margin-top: var(--space-3); font-size: var(--text-sm); }
.sheet-ink .ft-mini { background: rgba(255, 255, 255, 0.05); border-color: var(--line-on-ink); box-shadow: none; }
.sheet-ink .ft-mini h3 { color: var(--on-ink); }
.sheet-ink .ft-mini-copy p { color: var(--on-ink-soft); }
.sheet-ink .ft-mini-copy p b { color: var(--on-ink); }
.sheet-ink .ft-mini-screen { background: rgba(255, 255, 255, 0.06); border-color: var(--line-on-ink); }
.ft-card { padding: 0.9em 1em; border-radius: 0.8em; background: var(--card); border: 1px solid var(--app-border); box-shadow: var(--shadow-xs); min-width: 0; }
.ft-card + .ft-card { margin-top: 0.6em; }
.ft-card-title { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; margin-bottom: 0.6em; font-size: 0.78em; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--app-text-3); }
.ft-line { display: flex; align-items: center; justify-content: space-between; gap: 0.8em; padding: 0.3em 0; color: var(--app-text-2); }
.ft-line b { font-weight: 600; color: var(--app-text); }
.ft-line > span:first-child { min-width: 0; }
.ft-big { font-size: 1.7em; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--app-text); font-variant-numeric: tabular-nums; }
.ft-nots { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
@media (min-width: 48em) { .ft-nots { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.ft-nots li { padding: var(--space-5); border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.sheet-ink .ft-nots li { background: none; }
.ft-nots b { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); letter-spacing: var(--track-display); color: var(--ink); }
.ft-nots span { display: block; margin-top: var(--space-2); font-size: var(--text-sm); line-height: 1.5; color: var(--ink-mute); }
.sheet-ink .ft-nots li { border-color: var(--line-on-ink); }
.sheet-ink .ft-nots b { color: var(--on-ink); }
.sheet-ink .ft-nots span { color: var(--on-ink-soft); }
.ft-chapters { display: grid; gap: clamp(4rem, 3rem + 6vw, 8rem); }
.ft-chapter-lede { margin-top: var(--space-4); font-size: var(--text-base); line-height: 1.55; color: var(--ink-soft); max-width: 30em; }
.sheet-ink .ft-chapter-lede { color: var(--on-ink-soft); }
.chapter-head .page-links, .chapter-head .link-arrow { margin-top: var(--space-5); }
.ft-chap-block { display: grid; gap: var(--space-5); min-width: 0; }
.ft-chap-block > .fstage { margin-top: var(--space-2); }
.ft-chap-block .points { margin-top: 0; }
.sheet-ink .h-sub { color: var(--on-ink); }
.sheet-ink .body { color: var(--on-ink-soft); }
.sheet-ink .points li { color: var(--on-ink-soft); }
.sheet-ink .points b { color: var(--on-ink); }
.sheet-ink .fblock-n { color: var(--on-ink-soft); }
.sheet-ink .fblock-n::after { background: var(--line-on-ink); }
.sheet-ink .fstage { background: rgba(255, 255, 255, 0.04); border-color: var(--line-on-ink); box-shadow: none; }
.sheet-ink .link-arrow { color: var(--on-ink); }
.sheet-ink .link-arrow::after { border-color: var(--orange-light); }
.ft-statement { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.ft-statement p + p { margin-top: var(--space-5); max-width: 34em; font-size: var(--text-lg); line-height: 1.5; color: var(--ink-soft); }
.ft-statement--center p + p { margin-inline: auto; text-align: center; }
.ft-stage-pair { display: grid; gap: var(--space-4); align-items: stretch; }
.ft-stage-pair > * { min-width: 0; }
.ft-stage-pair > .mock-note { margin-top: 0; }
@media (min-width: 56em) { .ft-stage-pair { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: var(--space-3) clamp(0.75rem, 1.4vw, 1.25rem); } .ft-stage-pair > .mock-note { grid-column: 1 / -1; } }
.hero-stage .code.ft-code { border-color: transparent; }
@media (max-width: 39.99em) {
  .ft-wrap-s th, .ft-wrap-s td { white-space: normal; }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 40em) { .ft-mini { grid-row: span 2; grid-template-rows: subgrid; } }
}
.ft-room { padding-bottom: 3.6em; margin-bottom: 1.5em; }
.sheet-ink .screen h3, .sheet-ink .browser h3, .sheet-ink .screen h4 { color: var(--app-text); }
.ft-nw { white-space: nowrap; }
.chapter-head .eyebrow--pair { display: grid; gap: var(--space-1); }
.chapter-head .eyebrow--pair .eyebrow-sep { display: none; }
