/* Civil Service Exam Practice, validation draft.
   World: the printed answer sheet. Form-blue ink for structure, graphite for the examinee's marks. */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }

:root {
  --paper: #FBFBF8;
  --ink: #14213D;
  --ink-2: #47536B;
  --form: #2A4B9B;
  --form-tint: #EEF2FB;
  --rule: #C9D3EA;
  --graphite: #34363B;
  --ok: #176637;
  --ok-tint: #E7F3EB;
  --no: #A1281C;
  --no-tint: #FAEAE7;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.125rem, 5vw, 2.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--rule) var(--paper); }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  caret-color: var(--form); accent-color: var(--form);
}
::selection { background: var(--form); color: #fff; }
h1, h2, p, ol, ul, dl, dd, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--form); text-underline-offset: 0.2em; text-decoration-thickness: 1px; cursor: pointer; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
button, summary, label, select { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--form); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.num { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 10; padding: 0.6rem 0.9rem; background: var(--ink); color: #fff; border-radius: 0 0 8px 8px; }
.skip:focus { top: 0; color: #fff; }

/* ---------- masthead and progress ---------- */
.mast { border-bottom: 1.5px solid var(--form); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.mast__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.7rem var(--gutter) 0.6rem; max-width: 72rem; margin-inline: auto; }
.mast__name { font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.005em; }
.mast__by { font-weight: 400; color: var(--ink-2); margin-left: 0.35em; }
.mast__draft { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--no); border: 1px solid currentColor; border-radius: 3px; padding: 0.05rem 0.4rem; }

.track { padding: 0 var(--gutter) 0.65rem; max-width: 72rem; margin-inline: auto; }
.marks { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.mark { flex: 1; height: 14px; border: 1px solid var(--form); border-radius: 1px; transform: scaleY(0.57); transform-origin: bottom; transition: transform 0.35s var(--ease), background-color 0.2s; }
.mark--right { background: var(--graphite); border-color: var(--graphite); }
.mark--wrong { background: var(--no); border-color: var(--no); transform: scaleY(0.3); }
.mark--now { background: var(--form); transform: scaleY(1); }
.track__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 0.4rem; }
.track__where { font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.clock { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.clock.is-low { color: var(--no); }
.mark--done { background: var(--graphite); border-color: var(--graphite); }
.marks[hidden] { display: none; }
.marks[hidden] + .track__row { margin-top: 0; }

/* ---------- page shells ---------- */
main { flex: 1; }
.page { max-width: 40rem; margin-inline: auto; padding: clamp(1.5rem, 6vw, 3.5rem) var(--gutter) 2.5rem; }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(2.125rem, 8.5vw, 3.5rem); line-height: 1.04; letter-spacing: -0.022em; text-wrap: balance; }
.lede { margin-top: 1.1rem; font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); max-width: 34rem; text-wrap: pretty; }
.fine { font-size: 0.875rem; color: var(--ink-2); line-height: 1.45; }

.actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.375rem; padding: 0.7rem 1.4rem;
  font: 600 1.0625rem/1.2 var(--sans); color: #fff; background: var(--ink); border: 1.5px solid var(--ink); border-radius: 10px;
  text-decoration: none; transition: background-color 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}
.btn:hover:not(:disabled) { background: var(--form); border-color: var(--form); color: #fff; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { background: #E6E9F0; border-color: #E6E9F0; color: #5D667A; }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--quiet:hover:not(:disabled) { background: var(--form-tint); border-color: var(--form); color: var(--ink); }

/* ---------- intro ---------- */
.intro__sheet { margin-top: 2.75rem; }
.facts > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-2); }
.facts dd { font-weight: 500; text-align: right; }
.parts li { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
.parts .num { color: var(--ink-2); }
.intro__sheet .fine { margin-top: 1rem; }
.facts--stats { margin-top: 2rem; border-top: 1.5px solid var(--form); }

.h2 { font-family: var(--serif); font-weight: 500; font-size: 1.625rem; line-height: 1.15; letter-spacing: -0.012em; }
.intro__lead .facts { margin-top: 2rem; border-top: 1.5px solid var(--form); }
.intro__sheet { border-top: 0; }
.intro__sheet .h2 + .fine { margin-top: 0.5rem; }
.subjects { margin-top: 1.1rem; border-top: 1.5px solid var(--form); }
.subject {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; width: 100%; min-height: 3.75rem; padding: 0.8rem 0.5rem 0.8rem 0.25rem;
  font: inherit; color: inherit; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); transition: background-color 0.15s;
}
.subject:hover { background: var(--form-tint); }
.subject__name { font-weight: 500; white-space: nowrap; }
.subject__n { white-space: nowrap; }
.subject__n { color: var(--ink-2); }
.subject__n::after { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-left: 0.7rem; border-top: 1.5px solid var(--form); border-right: 1.5px solid var(--form); transform: rotate(45deg) translateY(-1px); }
.resume { margin-top: 1.6rem; padding: 1.1rem 0 1.3rem; border-top: 1.5px solid var(--form); border-bottom: 1px solid var(--rule); }
.resume .actions { margin-top: 0.9rem; }
.resume + .actions { margin-top: 1rem; }
.timeup { margin-top: 1rem; font-weight: 600; color: var(--no); }

/* shared material: passage or table */
.passage { margin: 0 0 1.3rem; padding: 0.2rem 0 0.2rem 1rem; border-left: 1px solid var(--form); font-family: var(--serif); font-size: 1.125rem; line-height: 1.5; }
.data-wrap { margin: 0 0 1.4rem; overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.data caption { caption-side: top; text-align: left; padding-bottom: 0.55rem; font-weight: 600; line-height: 1.35; }
.data th, .data td { padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.data thead th { border-top: 1.5px solid var(--form); border-bottom: 1px solid var(--form); font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.data .num { text-align: right; padding-right: 0; padding-left: 0.6rem; }
.miss__body .passage, .miss__body .data-wrap { margin-bottom: 0.9rem; font-size: 1rem; }

.actions--nav { flex-direction: row; }
.actions--nav .btn { flex: 1; min-width: 0; }
.actions--nav .btn--back { flex: 0 0 auto; padding-inline: 1.1rem; background: var(--paper); }
.meter { display: block; height: 9px; border: 1px solid var(--form); border-radius: 1px; }
.meter i { display: block; height: 100%; background: var(--graphite); }
.bysec__meter { width: 38%; padding-inline: 0.75rem !important; }

.home {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; margin: -0.6rem 0 0.9rem; padding: 0 0.5rem 0 0;
  font: 600 0.9375rem/1 var(--sans); color: var(--form); background: none; border: 0; text-decoration: underline transparent; text-underline-offset: 0.25em; transition: color 0.15s, text-decoration-color 0.15s;
}
.home::before { content: ""; width: 0.5rem; height: 0.5rem; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 0.15rem; }
.home:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- forms: unlock code, owner's code page ---------- */
.unlock { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1.5px solid var(--form); }
.unlock .h2 + * { margin-top: 0.9rem; }
.unlock__ok { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--ok); }
.unlock .fine { margin-top: 0.6rem; }
.field { display: block; }
.field > span { display: block; margin-bottom: 0.4rem; font-size: 0.9375rem; font-weight: 500; }
.field input {
  width: 100%; min-height: 3.25rem; padding: 0.6rem 0.85rem; font: 500 1.0625rem/1.2 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--form); border-radius: 8px; transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:hover { border-color: var(--ink); }
.field input:focus-visible { outline: 3px solid var(--form); outline-offset: 2px; }
.code-input { letter-spacing: 0.08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.form-msg { margin-top: 0.8rem; font-weight: 500; color: var(--no); }
.form-msg:empty { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.page--codes { max-width: 56rem; }
.panel { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1.5px solid var(--form); }
.panel .h2 { margin-bottom: 1.1rem; }
.panel .field + .field, .field-row { margin-top: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 8rem; gap: 1rem; }
.panel .fine { margin-top: 0.9rem; }
.newcode { margin-top: 1.4rem; padding: 1.1rem 0 0.2rem; border-top: 1px solid var(--rule); }
.newcode__value { margin-top: 0.6rem; font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 600; letter-spacing: 0.06em; user-select: all; overflow-wrap: anywhere; }
.codes td { vertical-align: top; }
.state { font-weight: 600; }
.state--active { color: var(--ok); }
.state--cancelled, .state--expired { color: var(--no); }
.codes__acts { white-space: nowrap; text-align: right; }
.linkbtn { padding: 0.35rem 0; margin-left: 1rem; font: 600 0.875rem/1.2 var(--sans); color: var(--form); background: none; border: 0; text-decoration: underline; text-underline-offset: 0.25em; }
.linkbtn:hover:not(:disabled) { color: var(--ink); text-decoration-thickness: 2px; }
.linkbtn:disabled { color: var(--ink-2); text-decoration: none; }

.subject__reset { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.25rem 0.5rem; padding: 0.35rem 0.5rem 0.6rem 0.25rem; border-bottom: 1px solid var(--rule); font-size: 0.875rem; color: var(--ink-2); }
.subject:has(+ .subject__reset) { border-bottom: 0; }
.subject__reset .linkbtn { min-height: 2rem; margin-left: 0.5rem; }
.sync__status { margin-top: 1.1rem; font-weight: 500; }
.sync__status + .actions { margin-top: 0.8rem; }

/* ---------- item ---------- */
.page--item { padding-top: clamp(1.25rem, 5vw, 3rem); padding-bottom: 0; }
.stem { font-family: var(--serif); font-size: clamp(1.3125rem, 5.2vw, 1.625rem); line-height: 1.34; letter-spacing: -0.005em; }
.stem__line + .stem__line { margin-top: 0.7em; }
.stem__line--lead { font-family: var(--sans); font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); letter-spacing: 0; }
.stem__line--step { font-size: 0.88em; line-height: 1.4; padding-left: 1.9em; text-indent: -1.9em; margin-top: 0.5em !important; }
.stem__line--passage { font-size: 0.86em; line-height: 1.5; padding: 0.9em 0 0.9em 1em; border-left: 1px solid var(--form); }

.options { margin-top: 1.6rem; border-top: 1.5px solid var(--form); }
.opt {
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.95rem; align-items: center;
  min-height: 3.75rem; padding: 0.8rem 0.5rem 0.8rem 0.25rem; border-bottom: 1px solid var(--rule);
  transition: background-color 0.15s;
}
.opt:hover { background: var(--form-tint); }
.opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__text { line-height: 1.4; }
.opt__tag { grid-column: 2; display: none; align-items: center; gap: 0.35rem; margin-top: 0.3rem; font-size: 0.8125rem; font-weight: 600; }

/* The bubble: an answer-sheet oval that takes a graphite shade when chosen. */
.bubble {
  position: relative; display: grid; place-items: center; width: 2.75rem; height: 1.75rem; flex: none;
  border: 1.5px solid var(--form); border-radius: 999px; color: var(--form);
  font-size: 0.8125rem; font-weight: 600; overflow: hidden; background: #fff;
}
.bubble::before {
  content: ""; position: absolute; inset: 0; background: var(--graphite);
  clip-path: ellipse(0% 0% at 30% 60%); transition: clip-path 0.42s var(--ease);
}
.bubble span { position: relative; transition: color 0.2s; }
.opt__input:checked + .bubble { border-color: var(--graphite); }
.opt__input:checked + .bubble::before { clip-path: ellipse(120% 130% at 30% 60%); }
.opt__input:checked + .bubble span { color: #fff; }
.opt__input:focus-visible + .bubble { outline: 3px solid var(--form); outline-offset: 3px; }
.opt:has(.opt__input:checked) .opt__text { font-weight: 500; }

.is-locked .opt { cursor: not-allowed; }
.is-locked .opt:hover { background: transparent; }
.is-locked .opt__tag:not(:empty) { display: inline-flex; }
.is-locked .opt--right, .is-locked .opt--right:hover { background: var(--ok-tint); }
.is-locked .opt--right .opt__tag { color: var(--ok); }
.is-locked .opt--right .bubble { border-color: var(--ok); }
.is-locked .opt--right .bubble:not(:has(+ *)) { color: var(--ok); }
.is-locked .opt--wrong, .is-locked .opt--wrong:hover { background: var(--no-tint); }
.is-locked .opt--wrong .opt__tag { color: var(--no); }
.is-locked .opt--wrong .bubble { border-color: var(--no); }
.is-locked .opt--wrong .bubble::before { background: var(--no); }
.is-locked .opt--right .opt__input:not(:checked) + .bubble span { color: var(--ok); }
.is-locked .opt--right .opt__input:checked + .bubble::before { background: var(--ok); }

.ico { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.feedback:empty { display: none; }
.feedback { padding: 1.4rem 0 0.4rem; }
.feedback__head { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; }
.feedback__head.is-right { color: var(--ok); }
.feedback__head.is-wrong { color: var(--no); }
.feedback__why { margin-top: 0.6rem; max-width: 36rem; }
.feedback__src { margin-top: 0.6rem; font-size: 0.875rem; color: var(--ink-2); }

.actions--stick {
  position: sticky; bottom: 0; margin: 1.2rem calc(var(--gutter) * -1) 0; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--rule);
}

/* ---------- result ---------- */
.bysec { width: 100%; margin-top: 2.25rem; border-collapse: collapse; border-top: 1.5px solid var(--form); }
.bysec caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bysec th, .bysec td { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; vertical-align: middle; }
.bysec td.num { text-align: right; white-space: nowrap; font-weight: 500; }
.bysec__dots { padding-inline: 0.75rem !important; }
.dots { display: flex; gap: 3px; justify-content: flex-end; }
.dots i { width: 9px; height: 9px; border: 1px solid var(--form); border-radius: 1px; }
.dots i.on { background: var(--graphite); border-color: var(--graphite); }

.review, .ask { margin-top: 3rem; }
.review h2, .ask h2 { font-family: var(--serif); font-weight: 500; font-size: 1.625rem; line-height: 1.15; letter-spacing: -0.012em; }
.review h2 + * { margin-top: 0.9rem; }
.miss { border-bottom: 1px solid var(--rule); }
.miss:first-of-type { border-top: 1.5px solid var(--form); }
.miss summary { display: grid; grid-template-columns: 2rem 1fr auto; gap: 0.5rem; align-items: baseline; padding: 0.85rem 0.25rem; list-style: none; }
.miss summary::-webkit-details-marker { display: none; }
.miss summary::after { content: "Show"; font-size: 0.8125rem; font-weight: 600; color: var(--form); }
.miss[open] summary::after { content: "Hide"; }
.miss summary:hover { background: var(--form-tint); }
.miss__n { color: var(--ink-2); }
.miss__q { font-family: var(--serif); font-size: 1.125rem; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.miss[open] .miss__q { display: block; }
.miss__body { padding: 0.2rem 0.25rem 1.2rem 2.75rem; }
.miss__body p + p { margin-top: 0.5rem; }

.ask { padding: 1.6rem 0 0; border-top: 1.5px solid var(--form); }
.ask h2 + p { margin-top: 0.8rem; }
.ask p { max-width: 36rem; }
.ask .fine { margin-top: 0.9rem; }
.ask__ok { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.8rem; font-weight: 600; color: var(--ok); }
.ask__ok + p { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.foot { padding: 1.5rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.foot p { max-width: 72rem; margin-inline: auto; }

/* ---------- wider screens ---------- */
@media (min-width: 40rem) {
  .actions { flex-direction: row; flex-wrap: wrap; }
  .btn { min-width: 14rem; }
  .actions--stick { position: static; margin-inline: 0; padding: 0; border: 0; margin-top: 1.6rem; }
  .page--item { padding-bottom: 3rem; }
}
@media (min-width: 62rem) {
  .page--intro, .page--item, .page--result { max-width: 72rem; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .intro__sheet { margin-top: 0.9rem; }
  .item__q { position: sticky; top: 7rem; }
  .options { margin-top: 0.4rem; }
  .result__lead { position: sticky; top: 7rem; }
  .result__rest > .review:first-child { margin-top: 0.4rem; }
  .display { font-size: clamp(3rem, 4.6vw, 4.25rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
.form-msg[role="status"] { color: var(--ink-2); }
.field-row .field + .field { margin-top: 0; }
.field-row { align-items: end; }

/* ---------- payment page ---------- */
.page--buy { max-width: 42rem; }
.home--link { text-decoration: none; }
.steps { margin-top: 2.5rem; counter-reset: step; }
.step { counter-increment: step; padding: 1.6rem 0 2rem; border-top: 1.5px solid var(--form); }
.step > .h2::before { content: counter(step) ". "; color: var(--form); font-variant-numeric: tabular-nums; }
.step > .h2 + p, .step form > p:first-child { margin-top: 0.8rem; }
.step p + p { margin-top: 0.8rem; }
.step .field { margin-top: 1.1rem; }
.qr { margin: 1.3rem 0 1rem; }
.qr img { display: block; width: min(100%, 20rem); height: auto; border: 1.5px solid var(--form); border-radius: 8px; background: #fff; }
.qr figcaption { margin-top: 0.6rem; font-weight: 600; }
.filepick { display: block; }
.filepick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filepick:focus-within .btn { outline: 3px solid var(--form); outline-offset: 3px; }
.filepick .btn { min-height: 3rem; }
.field > .fine { margin-top: 0.5rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; margin-top: 1.4rem; line-height: 1.45; }
.check input { width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; cursor: pointer; }
.hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.done { margin-top: 1rem; }
.done:focus { outline: none; }
.notice { margin-top: 1.4rem; padding: 0.9rem 0; border-top: 1.5px solid var(--no); border-bottom: 1px solid var(--rule); font-weight: 600; color: var(--no); }
.help, .privacy { margin-top: 1rem; padding-top: 1.6rem; border-top: 1.5px solid var(--form); }
.help p, .privacy p { margin-top: 0.8rem; max-width: 38rem; }
.privacy { margin-top: 2.5rem; font-size: 0.9375rem; }
.page--legal .privacy { margin-top: 2rem; font-size: 1rem; }
.page--legal .fine { margin-top: 0.8rem; }
.list { margin-top: 0.8rem; padding-left: 1.25rem; max-width: 38rem; }
.list li { margin-top: 0.45rem; }
.list li::marker { color: var(--form); }
.buylink { margin-top: 1rem; font-weight: 500; }
.receipt-row td { padding: 0.8rem 0 1.2rem; }
.receipt-row img { display: block; max-width: min(100%, 22rem); height: auto; border: 1px solid var(--rule); border-radius: 6px; }
.sentcode { margin-top: 1rem; padding: 1rem 0 0.2rem; border-top: 1px solid var(--rule); }
.state--pending { color: var(--form); }
