/* The clock-change scheduler check: an Object Atlas sheet with a graphite result plate. */
.fh { --ground: var(--oa-ground); --ground-2: var(--oa-ground-2); --paper: var(--oa-paper); --muted-f: var(--oa-muted); --blue: var(--oa-blue); --line-f: var(--oa-line); --control: var(--oa-control); --sheet: var(--oa-sheet); --panel: var(--wp-panel); --ink: var(--wp-ink); --muted: var(--wp-muted); --hair: var(--wp-hair); --blue-deep: var(--oa-blue-deep); --rust: var(--wp-rust); --display: var(--wp-font-display); --body: var(--wp-font-body); --mono: var(--wp-font-mono); --tap: var(--wp-tap); --gutter: var(--wp-gutter); --rust-f: #f0a27c; }
.fh a { color: inherit; text-decoration-color: var(--blue-deep); text-underline-offset: .2em; text-decoration-thickness: 2px; }
.fh :focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.fh code { font-family: var(--mono); font-size: .9375em; }
.fh .bar { display: flex; align-items: center; gap: .75rem; padding: .75rem var(--gutter); background: var(--ground); color: var(--paper); font: 500 .875rem/1.2 var(--mono); }
.fh .bar-mark { font: 700 1rem/1 var(--display); letter-spacing: .02em; }
.fh .bar-tag { margin-left: auto; color: var(--muted-f); white-space: nowrap; }
.fh { max-width: 80rem; margin: 0 auto; padding: 0 var(--gutter) 4rem; }
.fh .intro { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); max-width: 60rem; }
.fh .eyebrow { margin: 0 0 1rem; font: 500 .875rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fh h1 { margin: 0; font: 600 clamp(2.125rem, 5vw, 4.25rem)/1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.fh .lede { margin: 1.25rem 0 0; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; max-width: 44rem; }
.fh .instrument { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; border-top: 2px solid var(--ink); padding-top: 1.75rem; }
@media (max-width: 60rem) {
  .fh .instrument { grid-template-columns: minmax(0, 1fr); }
}
.fh fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.fh legend { padding: 0; margin-bottom: .625rem; font: 600 1.0625rem/1.3 var(--body); display: flex; align-items: center; gap: .625rem; }
.fh legend .n { display: inline-grid; place-items: center; width: 1.625rem; height: 1.625rem; border-radius: 50%; background: var(--ink); color: var(--paper); font: 500 .8125rem/1 var(--mono); }
.fh .hint { margin: -.25rem 0 .625rem; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.fh .hint.after { margin: 0; }
.fh .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.fh .chips.list { flex-direction: column; align-items: stretch; }
.fh .chip { position: relative; display: block; cursor: pointer; }
.fh .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fh .chip span { display: flex; align-items: center; min-height: var(--tap); padding: .625rem 1.125rem; border: 1px solid var(--control); border-radius: 999px; background: var(--panel); font-size: 1rem; line-height: 1.3; }
.fh .chips.list .chip span { border-radius: 4px; }
.fh .chip span::before { content: ""; flex: none; width: 1rem; height: 1rem; margin-right: .625rem; border: 2px solid var(--muted); border-radius: 50%; }
.fh .chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fh .chip input:checked + span::before { border-color: var(--paper); background: radial-gradient(circle, var(--paper) 0 35%, transparent 40%); }
.fh .chip input:focus-visible + span { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.fh .chip:hover span { border-color: var(--ink); }
.fh .extra { display: grid; gap: .75rem; margin-top: .75rem; }
.fh .extra:empty { display: none; }
.fh .time { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-weight: 600; }
.fh .time input { min-height: var(--tap); padding: 0 .875rem; border: 1px solid var(--control); border-radius: 4px; background: var(--panel); font: 500 1.125rem var(--mono); color: var(--ink); }
.fh .check { display: flex; align-items: center; gap: .75rem; min-height: var(--tap); cursor: pointer; }
.fh .check input { width: 1.375rem; height: 1.375rem; margin: 0; accent-color: var(--ink); }
.fh .sub { margin: 0; }
.fh .sub legend { font-size: .9375rem; font-weight: 500; color: var(--muted); }
.fh .result { position: sticky; top: 1rem; background: var(--ground); color: var(--paper); padding: clamp(1.25rem, 2.6vw, 2.25rem); border-radius: 2px; }
@media (max-width: 60rem) {
  .fh .result { position: static; }
}
.fh .r-kicker { margin: 0 0 .5rem; font: 500 .875rem/1.4 var(--mono); color: var(--muted-f); }
.fh .verdict { margin: 0; font: 600 clamp(2rem, 4.4vw, 3.5rem)/1.02 var(--display); letter-spacing: -.015em; }
.fh .result[data-v="twice"] .verdict, .fh .result[data-v="loops"] .verdict, .fh .result[data-v="skips"] .verdict { color: var(--rust-f); }
.fh .result[data-v="untested"] .verdict, .fh .result[data-v="disagree"] .verdict, .fh .result[data-v="needzone"] .verdict { color: var(--blue); }
.fh .r-line { margin: .75rem 0 0; font-size: 1.125rem; line-height: 1.5; max-width: 40rem; }
.fh .fold { margin: 1.75rem 0 0; }
.fh .ruler { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; padding-top: 1.375rem; border-bottom: 1px solid var(--line-f); }
.fh .ruler .rl { position: absolute; top: 0; left: 0; font: 500 .8125rem/1 var(--mono); letter-spacing: .06em; color: var(--muted-f); }
.fh .ruler .tick { font: 500 .875rem/1 var(--mono); color: var(--paper); padding: 0 0 .5rem .375rem; border-left: 1px solid var(--muted-f); }
.fh .ribbon { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: .75rem; height: 7.25rem; }
.fh .cell { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: .5rem .5rem .5rem .625rem; background: var(--paper); color: var(--ink); border-left: 1px solid #b9bbbf; }
.fh .cell b { font: 500 1rem/1 var(--mono); }
.fh .cell i { font: 400 .8125rem/1 var(--mono); font-style: normal; color: var(--muted); }
.fh .cell.c1, .fh .cell.c2 { background: #f6e6dc; }
.fh .is-folded .cell.again { background: linear-gradient(100deg, #c9a99a 0, #e7d2c6 14%, #f1dfd4 100%); border-left: 0; }
.fh .is-folded .cell.again::before { content: ""; position: absolute; left: -9px; top: -8px; bottom: -8px; width: 9px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.35)); clip-path: polygon(100% 0, 100% 100%, 0 calc(100% - 8px), 0 8px); }
.fh .is-folded .cell.again i { color: var(--rust); }
.fh .lane { position: absolute; left: 0; right: 0; top: 50%; height: 0; }
@media (max-width: 40rem) {
  .fh .ab-w { display: none; }
}
.fh .mk { position: absolute; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.fh .mk-early { background: var(--rust); width: 18px; height: 18px; margin: -9px 0 0 -9px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--rust); }
.fh .mk-missing { background: transparent; border: 2px dashed var(--muted); box-shadow: none; }
.fh .mk.tk { width: 3px; height: 20px; margin: -10px 0 0 -1.5px; border-radius: 0; box-shadow: none; }
.fh .mk-missing.tk { border: 0; background: repeating-linear-gradient(180deg, var(--muted) 0 3px, transparent 3px 6px); width: 2px; }
.fh .bd { position: absolute; top: -14px; height: 28px; }
.fh .bd-loop { background: repeating-linear-gradient(90deg, var(--rust) 0 2px, transparent 2px 4px); }
.fh .bd-dead { background: repeating-linear-gradient(135deg, rgba(21,21,24,.55) 0 2px, transparent 2px 7px); }
.fh .bd-unknown, .fh .bd-either { border: 2px dashed var(--rust); background: rgba(154,59,22,.08); }
.fh .bd-either { border-color: var(--ink); background: rgba(21,21,24,.06); }
.fh .legend { list-style: none; margin: .875rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .375rem 1.25rem; font-size: .9375rem; color: var(--muted-f); }
.fh .legend li { display: flex; align-items: center; gap: .5rem; }
.fh .key { flex: none; display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.fh .key.tk { width: 3px; height: 16px; border-radius: 0; background: var(--paper); box-shadow: none; }
.fh .key-missing.tk { background: repeating-linear-gradient(180deg, var(--muted-f) 0 3px, transparent 3px 6px); border: 0; }
.fh .key-early { background: var(--rust); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--rust-f); }
.fh .key-missing { background: transparent; border: 2px dashed var(--muted-f); box-shadow: none; }
.fh .key[class*="key-b-"] { box-shadow: none; }
.fh .key-b-loop { width: 22px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--rust-f) 0 2px, transparent 2px 4px); }
.fh .key-b-dead { width: 22px; border-radius: 0; background: repeating-linear-gradient(135deg, var(--muted-f) 0 2px, transparent 2px 6px); }
.fh .key-b-unknown, .fh .key-b-either { width: 22px; border-radius: 0; border: 2px dashed var(--rust-f); background: none; }
.fh .key-b-either { border-color: var(--paper); }
.fh .fold-after { margin: .75rem 0 0; font-size: 1rem; }
.fh .fold figcaption { margin-top: .75rem; color: var(--muted-f); font-size: .9375rem; line-height: 1.45; }
.fh .facts { margin: 1.75rem 0 0; border-top: 1px solid var(--line-f); }
.fh .facts > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .25rem 1.25rem; padding: .875rem 0; border-bottom: 1px solid var(--line-f); }
@media (max-width: 40rem) {
  .fh .facts > div { grid-template-columns: minmax(0, 1fr); }
}
.fh .facts dt { font: 500 .8125rem/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted-f); padding-top: .1rem; }
.fh .facts dd { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.fh .facts strong { font-weight: 600; font-size: 1.1875rem; color: var(--paper); }
.fh .why { display: block; color: var(--muted-f); font-size: .9375rem; margin-top: .25rem; }
.fh code.blk { display: block; margin-top: .5rem; padding: .625rem .75rem; background: var(--ground-2); border: 1px solid var(--line-f); color: var(--blue); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.fh .why + code.blk { margin-top: .875rem; }
.fh code.blk .nb { white-space: nowrap; }
.fh .conf { display: inline-block; padding: .125rem .5rem; border: 1px solid var(--muted-f); font: 500 .875rem/1.5 var(--mono); }
.fh .conf-measured { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.fh .conf-none { border-style: dashed; color: var(--blue); border-color: var(--blue); }
.fh .evidence { margin-top: 1.25rem; }
.fh .evidence summary { display: flex; align-items: center; min-height: var(--tap); cursor: pointer; font-weight: 600; color: var(--blue); }
.fh .evidence summary:focus-visible, .fh .result a:focus-visible { outline-color: var(--blue); }
.fh .evidence blockquote { margin: .75rem 0 0; padding: .125rem 0 .125rem 1rem; border-left: 2px solid var(--blue); font-size: 1rem; line-height: 1.55; color: var(--paper); }
.fh .evidence .src { margin: 1rem 0 0; }
.fh .result a { color: var(--blue); text-decoration-color: var(--blue); display: inline-flex; align-items: center; min-height: var(--tap); }
.fh .foot { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--hair); color: var(--muted); font-size: .9375rem; max-width: 52rem; }
.fh .foot a { display: inline-block; padding: .75rem 0; margin: -.75rem 0; }
@media (prefers-reduced-motion: no-preference) {
  .fh .mk, .fh .bd { transition: left .2s ease; }
}
.fh .fh-nojs { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 2px solid var(--wp-ink); max-width: 44rem; }
/* site resets: the shared main already sets the page width and gutters; styles.css caps h1 at 14ch, boxes .eyebrow and weights links */
.fh { max-width: none; padding: 0 0 4rem; }
.fh h1, .fh .verdict { max-width: none; }
.fh .eyebrow { display: block; padding: 0; border: 0; border-radius: 0; background: none; }
.fh a { font-weight: inherit; }
/* components.css .facts is a two-column dl grid with ruled cells; here each fact is its own ruled row */
.fh .facts { display: block; }
.fh .facts dt, .fh .facts dd { border-bottom: 0; padding-bottom: 0; }
.fh .facts dd { padding-top: 0; }
