/* O2 Engine's pages (/engine/): the teaching page's kit, copied in by the build as /engine/kit.css (a public page never
   points at /teach/), and only what the engine adds to it. */
/* A heading the page moves to when a view changes is not a control: no ring is drawn round it. */
.eng h1[tabindex="-1"]:focus, .eng h2[tabindex="-1"]:focus { outline: none; }
/* The lockup: the O2 mark and the word "Engine" (the owner's words: "just our logo and the word engine"). */
.brand { text-decoration: none; color: var(--ink); }
.brand .brand__name { color: var(--ink); font-weight: 650; letter-spacing: -.01em; }
.brand .brand__beta { color: var(--ink-2); font-weight: 400; white-space: nowrap; }

/* One column: the teaching page's main is a list beside an editor; the engine's #view takes the whole width. */
.teach.eng { grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
.eng-start textarea { min-height: 140px; }
.eng-refused h2 { margin: 0; }

/* What it builds: one ready, the rest next. Read, not pressed. */
.eng-kinds { display: grid; gap: 10px; }
/* What is free, what is not open yet, and the team: said before the form (the audit of 6 November 2026), as three
   short rows, a label and one line each (the owner, 7 November 2026: less text). */
/* a logo the business already has: one small button (engine.js start) */
.eng-logo { display: flex; align-items: center; margin-top: -4px; }
.eng-logo__input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.eng-logo__btn { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--sunken); color: var(--ink-2); font: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; }
.eng-logo__chosen { display: inline-flex; align-items: center; gap: 10px; }
.eng-logo__img { width: 36px; height: 36px; object-fit: contain; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.eng-logo:focus-within .eng-logo__btn { outline: 3px solid var(--accent); outline-offset: 2px; }
.eng-ready { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--sunken); }
.eng-ready > div { display: grid; grid-template-columns: 6.75rem 1fr; gap: 12px; align-items: baseline; }
.eng-ready__h { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.eng-ready p { margin: 0; font-size: .875rem; line-height: 1.45; }
.eng-kinds__h { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.eng-kinds ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eng-kinds li { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--sunken); font-size: .875rem; }
.eng-kinds li small { font-size: .75rem; color: var(--ink-3); }
.eng-kinds li.is-ready { box-shadow: inset 0 0 0 1.5px var(--accent); }
.eng-kinds li.is-ready small { color: var(--accent); font-weight: 600; }
.eng-kinds li.is-next span { color: var(--ink-2); }

/* Building: the steps as the server takes them. */
.eng-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.eng-steps li { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 1rem; transition: color 240ms var(--ease); }
.eng-steps li.is-on, .eng-steps li.is-done { color: var(--ink); }
.eng-steps__dot { position: relative; width: 18px; height: 18px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--hair-2); }
.eng-steps li.is-on .eng-steps__dot { box-shadow: inset 0 0 0 2px var(--accent); }
.eng-steps li.is-on .eng-steps__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent); animation: eng-spin 900ms linear infinite; }
.eng-steps li.is-done .eng-steps__dot { background: var(--accent); box-shadow: none; }
.eng-steps li.is-done .eng-steps__dot::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes eng-spin { to { transform: rotate(360deg); } }

/* The result: the whole website, large, and beside it the box to tell the engine what to change (like a chat with a
   designer), with the conversation above the box. On a phone the website comes first. */
.eng-result__body { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
.eng-result__side { display: grid; gap: 14px; position: sticky; top: calc(var(--bar-h, 64px) + 12px); min-width: 0; }
.eng-result__main { display: grid; gap: 12px; min-width: 0; }
.eng-result__views { justify-content: flex-end; }
.eng-result__acts { align-items: center; flex-wrap: wrap; gap: 8px; }
.eng-look { margin: 0; }
.eng-ask textarea { min-height: 84px; }
.eng-turns { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; max-height: 42vh; overflow-y: auto; }
.eng-turns:empty { display: none; }
.eng-turn { display: grid; gap: 2px; max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: .9375rem; line-height: 1.45; }
.eng-turn p { margin: 0; }
.eng-turn__who { font-size: .6875rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.eng-turn--you { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.eng-turn--you .eng-turn__who { color: rgba(255, 255, 255, .8); }
.eng-turn--ai { justify-self: start; background: var(--sunken); color: var(--ink); border-bottom-left-radius: 6px; }
.eng-turn.is-pending p { color: var(--ink-2); animation: eng-pulse 1.4s ease-in-out infinite; }
.eng-turn.is-err p { color: var(--err); }
@keyframes eng-pulse { 50% { opacity: .45; } }
@media (max-width: 900px) {
  .eng-result__body { grid-template-columns: minmax(0, 1fr); }
  .eng-result__side { position: static; order: 2; }
  .eng-result__views { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .eng-turn.is-pending p { animation: none; } }
.eng-stage { display: grid; justify-items: center; }
.eng-device--result { width: 100%; transition: max-width 320ms var(--ease); max-width: 100%; }
.eng-device--result[data-view="phone"] { max-width: 410px; }
.eng-frame--result { height: calc(100vh - 230px); height: calc(100dvh - 230px); min-height: 560px; }
.eng-next { max-width: 760px; }
@media (max-width: 700px) { .eng-frame--result { height: 70vh; height: 70dvh; min-height: 440px; } }
@media (prefers-reduced-motion: reduce) {
  .eng-steps li.is-on .eng-steps__dot::after { animation: none; }
  .eng-device--result { transition: none; }
}

/* The editor beside its preview: side by side on a wide screen, the preview first-class; stacked on a phone. */
.eng-grid { display: grid; grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
.eng-side { display: grid; gap: 16px; min-width: 0; }
.eng-form { display: grid; gap: 16px; }
.eng-form fieldset { border: 0; margin: 0; min-width: 0; }
.eng-form legend { padding: 0; margin-bottom: 4px; }
.eng-save { position: sticky; bottom: 12px; z-index: 2; justify-content: flex-end; }
.eng-save .btn { box-shadow: 0 10px 24px -12px rgba(17, 23, 34, .45); }
.eng-preview { position: sticky; top: calc(var(--bar-h, 64px) + 12px); min-width: 0; }
.eng-device { border-radius: 22px; padding: 10px; background: var(--sunken); box-shadow: var(--shadow); }
.eng-frame { display: block; width: 100%; height: calc(100vh - 140px); min-height: 560px; border: 0; border-radius: 14px; background: #fff; }
.eng-err { color: var(--err); }
.eng-slug { display: flex; align-items: stretch; min-width: 0; }
.eng-slug input { flex: 1 1 auto; min-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.eng-slug__suffix { display: inline-flex; align-items: center; padding: 0 12px; border-radius: 0 var(--r-s) var(--r-s) 0; background: var(--sunken); color: var(--ink-2); font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.eng-signin { display: grid; gap: 12px; }
.eng-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eng-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.eng-item p { margin: 2px 0 0; }

.eng-panes { display: none; }
@media (max-width: 900px) {
  .eng-grid { grid-template-columns: minmax(0, 1fr); }
  .eng-preview { position: static; }
  .eng-frame { height: calc(100vh - 230px); height: calc(100dvh - 230px); min-height: 440px; }
  /* Edit and Preview take turns on a phone; the switch stays in reach at the top. */
  .eng-panes { display: inline-flex; position: sticky; top: calc(var(--bar-h, 64px) + 8px); z-index: 3; box-shadow: var(--shadow); }
  .eng-grid[data-pane="edit"] .eng-preview, .eng-grid[data-pane="preview"] .eng-side { display: none; }
}
@media (max-width: 520px) {
  .eng-item { grid-template-columns: minmax(0, 1fr) auto; }
  .eng-item .btn { grid-column: 1 / -1; justify-self: start; }
}

/* The kit styles text and search fields; the engine also asks for an email, a phone and a map link. */
.eng input[type="email"], .eng input[type="tel"], .eng input[type="url"] { width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-radius: var(--r-m); background: var(--sunken); color: var(--ink); font: inherit; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 160ms var(--ease), background 160ms var(--ease); }
@media (prefers-contrast: more) { .eng input[type="email"], .eng input[type="tel"], .eng input[type="url"] { box-shadow: inset 0 0 0 1px var(--hair-2); } }
.eng [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--err); }

/* The report page's formal complaint: its fields under the box that asks for them. */
.eng-formal { display: grid; gap: 14px; padding: 14px; border-radius: var(--r-m); background: var(--sunken); }

/* The brand study's notes, behind one press. */
.eng-why summary { cursor: pointer; list-style: none; }
.eng-why summary::-webkit-details-marker { display: none; }
.eng-why summary::after { content: " +"; color: var(--ink-3); }
.eng-why[open] summary::after { content: " −"; }
.eng-why dl { display: grid; gap: 10px; margin: 8px 0 0; }
.eng-why dt { font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.eng-why dd { margin: 2px 0 0; font-size: .9375rem; }
/* The build, step by step (server/engine/jobs.js): the steps beside the preview as it fills in; on a phone, stacked. */
.eng-building__body { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.eng-building__steps { display: grid; gap: 14px; min-width: 0; }
.eng-building__preview[hidden] { display: none; }
.eng-count { margin: 0; font-variant-numeric: tabular-nums; }
.eng-stopped h2 { margin: 0 0 6px; }
.eng-stopped p { margin: 0 0 12px; }
.eng-turn__acts { margin-top: 10px; gap: 8px; }
.eng-partly { margin: 0; }
@media (max-width: 900px) { .eng-building__body { grid-template-columns: minmax(0, 1fr); } }
/* The editor, page by page: each page a card, each section in it a group of its own fields (server/engine/library.js). */
.eng-page { display: grid; gap: 14px; }
.eng-sec { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-m); background: var(--sunken); }
.eng-sec__h { margin: 0; font-size: .875rem; font-weight: 650; color: var(--ink-2); }
.eng-item-fields { display: grid; gap: 8px; padding-left: 12px; box-shadow: inset 2px 0 0 var(--hair-2); }
.eng-item-n { font-size: .75rem; color: var(--ink-3); }
/* What the review checked (server/engine/critique.js), under the brand study's notes. */
.eng-checked { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; box-shadow: inset 0 1px 0 var(--hair-2); }
.eng-checked h3, .eng-checked h4 { margin: 0; }
.eng-checked h4 { margin-top: 6px; font-size: .8125rem; font-weight: 650; color: var(--ink-2); }
.eng-checked__list { display: grid; gap: 6px; margin: 0; padding-left: 18px; font-size: .9375rem; }
.eng-checked__list li strong { display: block; font-weight: 600; }
.eng-checked__list li span { color: var(--ink-3); font-size: .875rem; overflow-wrap: anywhere; }
.eng-checked__marks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 12px; margin: 0; }
.eng-checked__marks dt { font-size: .75rem; color: var(--ink-3); }
.eng-checked__marks dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; }
.eng-checked__marks dt:nth-of-type(n) { grid-row: 1; } .eng-checked__marks dd { grid-row: 2; }
/* A demo link: the link itself, readable and selectable, its actions under it; the note says what happened. */
.eng-share { display: grid; gap: 10px; }
.eng-share h2 { margin: 0; }
.eng-share p { margin: 0; }
.eng-share .row { flex-wrap: wrap; gap: 8px; }
.eng-share__link { width: 100%; min-width: 0; font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
.eng-share__note:empty { display: none; }

/* Preview, then take it (server/engine/unlock.js; 7 November 2026). The offer beside the preview: two cards, the
   membership the marked one; prices are Stripe's. It rises in once, when a preview has just been built, and draws the
   eye again when a change asks for it (is-called). Under reduced motion it only fades. */
.eng-result__body.is-preview { grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); }
.eng-result__body.is-preview .eng-result__side { position: static; }
.eng-previewbar { margin: 0 auto 0 0; padding: 6px 12px; border-radius: var(--pill); background: var(--sunken); color: var(--ink-2); font-size: .8125rem; line-height: 1.3; }
.eng-result__views:has(.eng-previewbar) { justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.eng-pay { display: grid; gap: 12px; }
.eng-pay h2 { margin: 0; letter-spacing: -.015em; }
.eng-pay__lead { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.eng-pay__note:empty { display: none; }
.eng-pay.is-fresh { animation: eng-rise 560ms var(--ease) both; }
.eng-pay.is-called { animation: eng-call 900ms var(--ease); }
@keyframes eng-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes eng-call { 30% { box-shadow: 0 0 0 3px var(--accent), var(--shadow); } }
.eng-plans { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.eng-plan { position: relative; display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: var(--r-l); background: var(--sunken); }
.eng-plan--member { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent), 0 14px 30px -22px var(--accent); }
.eng-plan__badge { justify-self: start; margin: 0 0 2px; padding: 3px 10px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 600; }
.eng-plan__h { margin: 0; font-size: 1rem; font-weight: 650; }
.eng-plan__price { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.eng-plan__amount { font-size: 1.875rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.eng-plan__per { color: var(--ink-2); font-size: .875rem; }
.eng-plan__list { margin: 2px 0 4px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9rem; line-height: 1.4; }
.eng-plan__list li { position: relative; padding-left: 22px; }
.eng-plan__list li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.eng-plan__go { justify-self: stretch; }
.eng-plan__seg { justify-self: start; }
.eng-plan__save { margin: 2px 0 0; color: var(--ok); font-size: .8125rem; font-weight: 600; }
.eng-plan .field__hint { margin: 0; }
.btn-link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.eng-owned, .eng-member, .eng-key { display: grid; gap: 10px; }
.eng-owned h2, .eng-key h2 { margin: 0; }
.eng-owned p, .eng-member p, .eng-key p { margin: 0; }
.eng-owned__link { display: grid; gap: 6px; }
.eng-copy { display: flex; gap: 8px; min-width: 0; }
.eng-copy__value { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; letter-spacing: .01em; text-overflow: ellipsis; }
.eng-key { padding: 14px; border-radius: var(--r-m); background: var(--sunken); }
.eng-left:empty { display: none; }
.eng-wait { display: grid; gap: 12px; justify-items: start; }
.eng-spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--hair-2); border-top-color: var(--accent); animation: eng-spin 900ms linear infinite; }
.eng-chip { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
@media (max-width: 900px) { .eng-result__body.is-preview { grid-template-columns: minmax(0, 1fr); } .eng-result__body.is-preview .eng-result__side { order: 2; } }
@media (min-width: 1240px) { .eng-result__body.is-preview { grid-template-columns: minmax(420px, 520px) minmax(0, 1fr); } .eng-plans--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .eng-pay.is-fresh { animation: eng-fade 200ms ease both; }
  .eng-pay.is-called { animation: none; box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
  .eng-spin { animation-duration: 2.4s; }
}
@keyframes eng-fade { from { opacity: 0; } }

/* Phase 7, ENG-04: the first paint in the page's language (the Thai page is the same file with lang="th"). */
html[lang="en"] .eng-boot [lang="th"], html[lang="th"] .eng-boot [lang="en"] { display: none; }
.eng-boot h1 { margin: 0 0 12px; }
.eng-boot__back { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- Phase 7, ENG-01 to ENG-03 (13 November 2026) ------------------------------------------------------------------ */
/* The entry: the form first; what Engine does and the other products folded under it. */
.eng-more { margin-top: 14px; border-radius: 16px; background: var(--sunken); }
.eng-more > summary { cursor: pointer; padding: 12px 16px; min-height: 44px; display: flex; align-items: center; font-size: .875rem; font-weight: 600; color: var(--ink-2); list-style-position: inside; }
.eng-more__body { display: grid; gap: 12px; padding: 0 16px 14px; }
.eng-more .eng-ready { padding: 0; background: none; }
.eng-kinds__ask { font-size: .8125rem; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
/* A preview that keeps its last good frame: the next revision loads behind it and takes its place once loaded. */
.eng-stack { display: grid; }
.eng-stack > iframe { grid-area: 1 / 1; }
.eng-stack > iframe.is-back { visibility: hidden; pointer-events: none; }
/* Before the first page is drawn: the facts taken from their words and the pages planned. */
.eng-plan { display: grid; gap: 10px; }
.eng-plan h2, .eng-plan p { margin: 0; }
.eng-plan__now { font-weight: 600; min-height: 1.4em; }
.eng-plan__facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; font-size: .875rem; }
.eng-plan__facts dt { color: var(--ink-2); }
.eng-plan__facts dd { margin: 0; overflow-wrap: anywhere; }
.eng-plan__h { margin: 4px 0 0; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.eng-plan__pages { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.eng-plan__pages li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 12px; background: var(--sunken); font-size: .875rem; }
.eng-plan__pages li small { color: var(--ink-3); }
.eng-plan__pages li.is-writing { box-shadow: inset 0 0 0 1.5px var(--accent); }
.eng-plan__pages li.is-writing small, .eng-plan__pages li.is-written small { color: var(--accent); font-weight: 600; }
/* On a computer the progress and the preview sit side by side; on a phone they are two views of the same job. */
.eng-bpanes { display: none; margin-bottom: 12px; }
@media (max-width: 900px) {
  .eng-bpanes { display: inline-flex; }
  .eng-building__body[data-pane="preview"] > [data-pane="steps"], .eng-building__body[data-pane="steps"] > [data-pane="preview"] { display: none; }
}
/* A change aimed at one section: said above the box; the outline; the last change with Before / After. */
.eng-chosen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--sunken); box-shadow: inset 0 0 0 1.5px var(--accent); font-size: .875rem; font-weight: 600; }
.eng-chosen[hidden] { display: none; }
.eng-chosen__x, .eng-outline__go { min-height: 44px; font-size: .8125rem; font-weight: 600; }
.eng-outline > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.eng-outline p { margin: 4px 0 10px; }
.eng-outline__pages { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eng-outline__page { display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.eng-outline__pages ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.eng-outline__sec { display: flex; width: 100%; min-height: 44px; align-items: baseline; gap: 8px; padding: 8px 12px; border: 0; border-radius: 12px; background: var(--sunken); color: var(--ink); font: inherit; font-size: .875rem; text-align: start; cursor: pointer; transition: box-shadow 120ms var(--ease), background-color 120ms var(--ease); }
.eng-outline__sec small { min-width: 0; overflow: hidden; color: var(--ink-3); text-overflow: ellipsis; white-space: nowrap; }
.eng-outline__sec:hover { background: var(--hair); }
.eng-outline__sec.is-on { box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 600; }
.eng-last { display: grid; gap: 8px; }
.eng-last h2, .eng-last p { margin: 0; }
.eng-last__h { margin: 4px 0 0; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.eng-last__list { display: grid; gap: 2px; margin: 0; padding-left: 18px; font-size: .875rem; }
.eng-last__list .btn-link { min-height: 32px; text-align: start; }
.eng-last__acts { align-items: center; }
.eng-beforebar { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--sunken); box-shadow: inset 0 0 0 1.5px var(--ink-3); font-size: .875rem; font-weight: 600; }
.eng-beforebar[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .eng-outline__sec { transition: none; } }
@media (prefers-contrast: more) { .eng-outline__sec, .eng-plan__pages li { box-shadow: inset 0 0 0 1px var(--hair-2); } }
/* A link-like button (the chosen section's "Change the whole site instead", a changed section to look at). */
.eng button.btn-link { display: inline-flex; align-items: center; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.eng button.btn-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.eng-ready-line { margin: 0 0 14px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.eng-ready-line strong { color: var(--ink); font-weight: 600; }
/* Hidden is hidden, whatever display a card has; words for screen readers only take no room. */
.eng-plan[hidden], .eng-last[hidden], .eng-device[hidden], .eng-outline[hidden] { display: none; }
.eng .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* In the folded part the words are on the sunken ground: links and the "Ready" label take the ink colour (4.5:1 at least). */
.eng-more a, .eng-more .eng-kinds__ask { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.eng-more .eng-kinds li.is-ready small { color: var(--ink); }
.eng-claim[hidden] { display: none; }
.eng-claim { display: grid; gap: 8px; }
.eng-claim h2, .eng-claim p { margin: 0; }

/* The way to the site's Cookie settings (src/js/engine-ga.js adds it, only in a build with Google Analytics): before the
   studio credit, which stays the last thing, in the foot's own colour and size. */
.foot .eng-cookies { display: inline-flex; align-items: center; min-height: 44px; margin-right: 24px; color: inherit; font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.foot .eng-cookies:hover { color: var(--ink-2); }
