:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --card: #fffcf5;
  --ink: #203d32;
  --green: #214e3d;
  --quiet: #515c51;
  --rule: #cecfc0;
  --amber: #bf812d;
  --display: "STIX Two Text", Georgia, "Times New Roman", serif;
  font: 100%/1.5 "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box }
body { margin: 0 }
button, select, input, textarea { font: inherit }
button, input, textarea, select, img { max-width: 100% }
h1, h2, h3, p { margin: 0 0 .75rem; overflow-wrap: anywhere }
h1, h2, h3 { line-height: 1.16 }
h1, .example-copy h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); text-wrap: balance; margin-bottom: 1rem }
h2 { font-size: 1.25rem }
h3 { font-size: 1.05rem }
.masthead { border-bottom: 1px solid var(--rule) }
.brand, main, footer { width: min(100% - 2rem, 53rem); margin-inline: auto }
.brand { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; padding-block: .9rem }
.brand-lockup { display: flex; align-items: center; flex: 1 1 11rem; min-width: 0; gap: .55rem }
.brand-mark { width: 1.8rem; height: auto; flex: none }
.brand-name { min-width: 0; line-height: 1.17 }
.brand-name strong { display: block; font-size: 1.45rem; line-height: 1.12; letter-spacing: -.045em }
.brand-name span, .pilot-mark { font-size: .79rem; overflow-wrap: anywhere }
.brand-name span { display: block; color: var(--quiet); margin-top: .18rem }
.pilot-mark { display: inline-flex; gap: .45rem; align-items: center; margin-inline-start: auto; line-height: 1.22; color: #615133; overflow-wrap: normal }
.pilot-mark::before { content: ""; flex: none; width: .44rem; height: .44rem; background: var(--amber); border-radius: 50% }
main { padding-block-start: clamp(1.3rem, 4vw, 3rem) }
footer { border-top: 1px solid var(--rule); color: var(--quiet); font-size: .81rem; margin-block-start: 2rem; padding: 1rem 0 max(1.6rem, env(safe-area-inset-bottom)) }
#notice:empty, #route:empty { display: none }
#notice, .note { background: #e9eee2; border-inline-start: 3px solid #6b826a; padding: .8rem 1rem; border-radius: 3px }
#route, .actions, .entry-actions, .source-options { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap }
#route { margin-bottom: 1rem }
#screen { background: var(--card); padding: clamp(1rem, 4vw, 2.5rem); border: 1px solid var(--rule); border-radius: .65rem; overflow-wrap: anywhere; min-width: 0 }
#screen:has(.entry-intro) { padding: 0; border: 0; border-radius: 0; background: transparent }
button {
  min-height: 2.8rem; min-width: 0; padding: .6rem 1rem; border: 1.5px solid var(--green); border-radius: .44rem;
  color: #fffdf6; background: var(--green); font-weight: 600; line-height: 1.32; text-align: center;
  white-space: normal; overflow-wrap: anywhere; cursor: pointer;
}
button.alt, [data-provider] { color: var(--green); background: transparent }
button[aria-pressed=true] { color: var(--green); background: #dce5d8; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green) }
button:disabled { opacity: .63; cursor: default }
@media (hover: hover) {
  button:not(:disabled):hover { background: #14392a; color: #fffdf6 }
  button.alt:not(:disabled):hover, [data-provider]:not(:disabled):hover { background: #e9eadf; color: var(--ink) }
}
:focus-visible { outline: 3px solid #95570b; outline-offset: 3px }
h1:focus-visible { outline-offset: 4px }
.quiet, .route-label { color: var(--quiet); font-size: .9rem }
.entry-intro { padding-bottom: clamp(1.35rem, 3.5vw, 2.2rem) }
.entry-intro h1 { font-size: clamp(2.6rem, 7vw, 4.65rem); line-height: 1.01; max-width: 100%; margin-bottom: .65rem }
.entry-intro > p { font-size: clamp(1rem, 2vw, 1.14rem); color: var(--quiet); max-width: 35em; line-height: 1.42; margin-bottom: 1.15rem }
.entry-actions button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 3rem; padding-inline: 1rem }
.arrow { display: inline-block; flex: 0 0 auto; position: relative; width: .85rem; height: .72rem; color: inherit }
.arrow::before { content: ""; position: absolute; width: 100%; left: 0; top: 50%; border-top: 1.5px solid }
.arrow::after { content: ""; position: absolute; right: 0; top: calc(50% - .21rem); width: .43rem; height: .43rem; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg) }
.arrow.back { transform: rotate(180deg) }
.examples { border-top: 1px solid var(--rule); padding-top: 1.05rem }
.example-heading, .source { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap }
.example-heading { margin-bottom: .65rem }
.example-heading h2, .source h2 { font-size: 1.03rem; font-weight: 650; margin-bottom: 0 }
.example-count { font-size: .85rem; font-variant-numeric: tabular-nums; color: var(--quiet) }
.example-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: #e9ebdf; border-radius: .5rem; border: 1px solid #d5dacb }
.example-photo { display: block; width: 100%; height: 100%; min-height: 0; min-width: 0; aspect-ratio: 1.72; object-fit: cover; border-radius: .45rem 0 0 .45rem; background: #c4b391 }
.example-copy { align-self: center; padding: clamp(1rem, 3vw, 2rem) }
.example-copy h3 { font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1.09; margin: 0 0 .55rem; text-wrap: balance }
.example-copy p { margin: 0; color: #374b3d; font-size: .98rem; line-height: 1.48 }
.example-nav { display: flex; justify-content: space-between; gap: .35rem; margin-top: .32rem }
.example-nav button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .45rem .3rem; min-height: 2.75rem; border-color: transparent; font-size: .9rem }
.source { border-top: 1px solid var(--rule); padding-top: 1.05rem; margin-top: 1rem }
.source p { margin: .25rem 0 0 }
.source-options button { min-height: 2.75rem; font-size: .9rem }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0 }
.panel { margin: 1.25rem 0 .25rem; padding-top: 1.1rem; border-top: 1px solid var(--rule) }
.actions { margin: 1rem 0 }
.actions:last-child, .note p:last-child { margin-bottom: 0 }
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .7rem }
.path > div { background: #ebece1; padding: 1rem; border-radius: .45rem }
.path button { width: 100%; margin-bottom: .5rem }
.field { display: block; font-weight: 600; margin: .8rem 0 }
.field > input, .field > textarea, .field > select {
  display: block; width: 100%; min-height: 2.8rem; margin: .4rem 0; padding: .62rem .75rem;
  color: var(--ink); background: #fffef9; border: 1px solid #8a9988; border-radius: .4rem; font-weight: 400;
}
textarea { resize: vertical; min-height: 5rem }
.check { margin: .9rem 0; display: flex; gap: .6rem; align-items: flex-start }
.check input { width: 1.2rem; height: 1.2rem; flex: none; accent-color: var(--green) }
details { margin: .8rem 0 }
summary { cursor: pointer; color: var(--green); min-height: 2.75rem; padding: .5rem 0; font-weight: 600 }
.statuses { padding: 0; margin: .8rem 0; list-style: none }
.statuses li { padding: .5rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .7rem; border-bottom: 1px solid var(--rule) }
.copy, .version-text { white-space: pre-wrap; overflow-wrap: anywhere; border-inline-start: 3px solid var(--amber); padding-inline-start: .9rem }
.question-progress { font-size: .9rem; font-weight: 650; color: var(--green); margin-bottom: .8rem }
.mina-hint { padding: .1rem .85rem; background: #eff0e5; border-radius: .4rem }
.save-status { color: var(--quiet); font-size: .9rem }
.question-form { min-width: 0 }
@media (max-width: 38rem) {
  .brand { gap: .55rem }
  .example-card { grid-template-columns: 1fr }
  .example-photo { aspect-ratio: 2.23; height: auto; border-radius: .45rem .45rem 0 0 }
  .example-copy { padding: 1rem }
  .entry-actions { display: grid; grid-template-columns: minmax(0,1fr) }
}
@media (max-width: 23rem) {
  .brand, main, footer { width: calc(100% - 1.5rem) }
  .brand-name span { font-size: .73rem }
  .pilot-mark { max-width: 6.6em }
  .example-nav button { font-size: .85rem; gap: .3rem }
}
@media (max-width: 16em) {
  .pilot-mark { max-width: none; margin-inline-start: 0 }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
}
