/* Hallmark · genre: editorial with the v5 night · macrostructure: page head card over a ruled workbench · design-system: design.md · component set for forms and tools
 * Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4 · contrast: crema on the night 17.9:1, lead 14.6:1, ink on crema 16:1, muted 6.2:1, accent text 5.5:1
 * Capi Studio interior pages (hand-written): /comecar/, /contato/, the free tools, the visitor demonstrations and 404.
 * Shared pieces only: the night page head (the homepage's card, with the same moving glow), the page body, section
 * heads, fields, choice pills, notices, ruled rows, accordions and the aside panel. Each page keeps its own file for
 * what is only its own. Requires tokens.css and shell.css. No inline styles anywhere: several of these pages are served
 * with style-src 'self'. */

/* ---------- The page head: the night card of every inner page (the same geometry as the generated pages' band in
   pagina.css: inset by --band-x with the sheet radius, edge to edge with rounded lower corners on phones, the shell's
   bar floating over it). Put data-band on .pg-head and data-band-first on its first line of text: the bar then starts
   transparent over the night and turns crema as that line slides under it (movimento.js). ---------- */
.pg-main { display: block; padding-bottom: calc(var(--section-pad) / 2); }
.pg-main:focus { outline: none; }
.pg-head {
  position: relative;
  isolation: isolate;
  margin: var(--space-2xs) var(--band-x) 0;
  overflow: hidden;
  border-radius: var(--radius-sheet);
  background: var(--color-night);
  color: var(--color-on-night);
}
@media (max-width: 39.99rem) {
  .pg-head { margin: 0; border-radius: 0 0 var(--radius-sheet) var(--radius-sheet); }
  /* The edge-to-edge phone head keeps the same gutter as the shared band and the page below. */
  .pg-head > .pg-head-inner { width: min(100% - 2 * var(--gutter), var(--shell-max)); }
}
.pg-head :focus-visible { outline-color: var(--color-on-night); }
/* The content keeps the page's own left edge (the shell's), not the card's */
.pg-head-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  column-gap: var(--col-gap);
  width: min(100% - 2 * max(var(--gutter) - var(--band-x), 12px), var(--shell-max));
  margin-inline: auto;
  padding-block: calc(var(--header-h) + clamp(var(--space-sm), 4.5vh, var(--space-xl))) var(--pg-glow);
}
/* Forms and tools: the light keeps a shorter run below the text, so the form starts in the first screen */
.pg-head.pg-head--compact { --pg-glow: clamp(88px, 13vh, 140px); }
.pg-head--compact .pg-head-inner { padding-block: calc(var(--header-h) + clamp(var(--space-2xs), 2.5vh, var(--space-md))) var(--pg-glow); }
@media (min-width: 64rem) {
  .pg-head-inner { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pg-head-inner > * { grid-column: 1 / span 11; }
}
/* Without JavaScript on phones and tablets the bar stands in the flow above the band (sem-js.css), so the band no longer
   needs room for it (the same rule sem-js.css gives the generated pages' band) */
@media (scripting: none) and (max-width: 79.99rem) {
  .pg-head-inner, .pg-head--compact .pg-head-inner { padding-top: var(--space-xl); }
}
.pg-trail { color: var(--color-on-night-2); }
.pg-trail ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; column-gap: var(--space-2xs); }
.pg-trail li { display: inline-flex; align-items: center; gap: var(--space-2xs); min-width: 0; font-size: 0.9375rem; font-weight: var(--wght-small); line-height: 1.3; }
.pg-trail li + li::before { content: "/"; opacity: 0.55; }
.pg-trail a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.pg-trail [aria-current] { color: var(--color-on-night); }
@media (max-width: 39.99rem) {
  .pg-trail li:last-child:not(:first-child) { display: none; }
  .pg-trail--short { display: none; }
  .pg-trail--short + .pg-title { margin-top: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .pg-trail a { min-height: 32px; }
  .pg-trail a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; text-decoration-color: var(--color-on-night); }
}
.pg-title {
  margin-top: clamp(var(--space-sm), 2.4vh, var(--space-lg));
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 17ch;
  color: var(--color-on-night);
  font-size: var(--text-band-l);
  font-weight: var(--wght-display);
  font-stretch: var(--wdth-display);
  font-style: normal;
  letter-spacing: var(--track-display);
  line-height: var(--leading-display);
  text-wrap: balance;
}
.pg-title:first-child { margin-top: 0; }
.pg-title--m { max-width: 22ch; font-size: var(--text-band-m); line-height: 1; }
.pg-title:focus { outline: none; }
.pg-head .stop { color: var(--color-accent-on-night); }
.pg-lead {
  max-width: 52ch;
  margin-top: clamp(var(--space-sm), 2vh, var(--space-md));
  color: var(--color-on-night-2);
  font-size: var(--text-lead);
  line-height: 1.45;
  text-wrap: pretty;
}
.pg-head-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: 100%;
  margin-top: clamp(var(--space-lg), 4.4vh, var(--space-2xl));
}
.pg-head-actions .btn { width: 100%; }
@media (min-width: 40rem) {
  .pg-head-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-sm); width: auto; }
  .pg-head-actions .btn { width: auto; }
}
/* Pills over the night: crema with espresso text, and the crema outline over a light tint of the night */
.pg-head .btn { border-color: var(--color-on-night); background: var(--color-on-night); color: var(--color-night); }
.pg-head .btn--line {
  background: var(--color-glass-night);
  color: var(--color-on-night);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}
.pg-head .link { color: var(--color-on-night); }
@media (hover: hover) and (pointer: fine) {
  .pg-head .btn:hover { background: var(--color-on-night-2); border-color: var(--color-on-night-2); }
  .pg-head .btn--line:hover { background: var(--color-on-night); border-color: var(--color-on-night); color: var(--color-night); }
  .pg-head .link:hover { text-decoration-color: var(--color-on-night); }
}
.pg-head-note { margin-top: var(--space-sm); max-width: 52ch; color: var(--color-on-night-2); font-size: var(--text-sm); font-weight: var(--wght-small); line-height: 1.45; }

/* The glow: shell.css draws the .campo layers (campo.js runs every [data-campo]); a little dimmer here, as on the
   generated pages' band, so the homepage's statement stays the showpiece */
/* The light keeps to the band under the text (--pg-glow, the head's lower padding): however tall the text runs on a
   phone, it never lies on the bright part, so crema on the night keeps its contrast */
.pg-head { --pg-glow: clamp(var(--space-3xl), 16vh, 184px); }
.pg-head .campo {
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to top, var(--color-night) 0, var(--color-night) calc(var(--pg-glow) * 0.5), transparent calc(var(--pg-glow) + var(--space-2xs)));
  mask-image: linear-gradient(to top, var(--color-night) 0, var(--color-night) calc(var(--pg-glow) * 0.5), transparent calc(var(--pg-glow) + var(--space-2xs)));
}

/* Arrival: the trail, the title, the line and the actions rise, fade and unblur on the house curve, once (quicker than
   the homepage's statement: on an inner page the visitor came to act) */
@media (prefers-reduced-motion: no-preference) {
  .pg-rise { animation: pg-rise var(--t, 1100ms) var(--ease-out) var(--d, 0ms) both; }
  .pg-trail.pg-rise { --d: 80ms; --y: 10px; --b: 0px; }
  .pg-title.pg-rise { --t: 1400ms; --d: 160ms; --y: 26px; --b: 10px; }
  .pg-lead.pg-rise { --d: 320ms; }
  .pg-head-actions.pg-rise, .pg-head-note.pg-rise { --d: 420ms; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 39.99rem) {
  .pg-title.pg-rise { --b: 5px; --y: 20px; }
  .pg-rise { --b: 3px; }
}
@keyframes pg-rise { from { opacity: 0; transform: translate3d(0, var(--y, 16px), 0); filter: blur(var(--b, 6px)); } }

/* The form's own skip link ("Ir para o formulário"), drawn like the shell's and hidden until focused */
.tool-skip {
  position: absolute;
  top: var(--space-2xs);
  left: var(--space-2xs);
  z-index: var(--z-modal);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-sm);
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-paper);
  font-weight: var(--wght-ui);
  text-decoration: none;
  transform: translateY(-160%);
}
.tool-skip:focus, .tool-skip:focus-visible { transform: none; outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- The page body on the crema ---------- */
.pg-body { padding-top: clamp(var(--space-xl), 5vw, var(--space-2xl)); }
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl) var(--col-gap); align-items: start; }
@media (min-width: 64rem) {
  .pg-split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pg-split > .pg-col-main { grid-column: 1 / span 8; }
  .pg-split > .pg-col-side { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + var(--space-md)); }
}
@media (min-width: 100rem) {
  .pg-split > .pg-col-main { grid-column: 1 / span 7; }
  .pg-split > .pg-col-side { grid-column: 9 / -1; }
}
.pg-col-main, .pg-col-side { min-width: 0; }

.pg-section { padding-block: calc(var(--section-pad) / 2); }
.pg-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-ink);
  margin-bottom: clamp(var(--space-lg), 3vw, var(--space-xl));
}
.pg-h2 {
  flex: 1 1 18ch;
  overflow-wrap: anywhere;
  min-width: 0;
  font-size: clamp(1.75rem, 1.15rem + 1.6vw, 3rem);
  font-weight: var(--wght-display);
  font-stretch: var(--wdth-display);
  font-style: normal;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.pg-h2:focus { outline: none; }
.pg-h3 { font-size: var(--text-title); font-weight: var(--wght-ui); letter-spacing: var(--track-title); line-height: 1.2; text-wrap: balance; }
.pg-intro { flex: 1 0 100%; max-width: 45ch; color: var(--color-ink-2); }
.pg-text { max-width: 45ch; color: var(--color-ink-2); }
.pg-text + .pg-text { margin-top: var(--space-sm); }
.pg-small { color: var(--color-muted); font-size: var(--text-sm); font-weight: var(--wght-small); line-height: 1.45; }
.pg-small a, .pg-text a, .fld-hint a, .note a { text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.pg-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-lg); }
/* Links inside small print: 24 px targets with a mouse, full 44 px on touch screens */
.pg-small a, .fld-hint a, .note a, .pg-head-note a { display: inline-flex; align-items: center; min-height: 24px; }
@media (pointer: coarse) {
  .pg-trail a { min-width: 44px; }
  .pg-small a, .fld-hint a, .note a, .pg-head-note a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- Fields ---------- */
.fld { display: grid; align-content: start; gap: var(--space-2xs); min-width: 0; }
.fld + .fld { margin-top: var(--space-lg); }
.fld-label { display: block; font-size: var(--text-body); font-weight: var(--wght-ui); line-height: 1.35; }
.fld-tag { color: var(--color-muted); font-size: var(--text-sm); font-weight: var(--wght-small); white-space: nowrap; }
.fld-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0 var(--space-md);
  border: 1px solid var(--color-rule-strong);
  border-radius: var(--radius-input);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: var(--text-body);
  line-height: 1.4;
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: border-color var(--dur-color) var(--ease-out), background-color var(--dur-color) var(--ease-out);
}
textarea.fld-input { min-height: 148px; padding-block: 14px; line-height: 1.5; resize: vertical; }
.fld-input::placeholder { color: var(--color-muted); opacity: 1; }
.fld-input:focus-visible { outline-color: var(--color-focus); border-color: var(--color-ink-2); }
.fld-input[aria-invalid="true"] { border-color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.fld-input:disabled, .fld-input[readonly] { background: var(--color-paper-2); color: var(--color-ink-2); cursor: not-allowed; }
.fld-input[readonly] { cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .fld-input:hover:not(:focus):not(:disabled):not([readonly]) { background: var(--color-paper-2); }
}
/* Selects keep the native list and get a drawn chevron (no image: these pages allow only same-origin images) */
.fld-select { position: relative; display: block; }
.fld-select .fld-input { padding-right: calc(var(--space-md) + 28px); -webkit-appearance: none; appearance: none; cursor: pointer; }
.fld-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--space-md) + 2px);
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.fld-hint { color: var(--color-muted); font-size: var(--text-sm); font-weight: var(--wght-small); line-height: 1.45; }
.fld-error { color: var(--color-accent); font-size: 0.9375rem; font-weight: var(--wght-ui); line-height: 1.4; }
.fld-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg) var(--col-gap); }
.fld-row > .fld + .fld { margin-top: 0; }
@media (min-width: 40rem) {
  .fld-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fld-row .fld--wide { grid-column: 1 / -1; }
}
fieldset.fld-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.fld-legend { padding: 0; margin-bottom: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-body); line-height: 1.45; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Choice pills: a real checkbox or radio over the whole pill, a mark that turns a plus into a tick ---------- */
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 52px;
  max-width: 100%;
  padding: var(--space-2xs) var(--space-md) var(--space-2xs) var(--space-sm);
  border: 1px solid var(--color-rule-strong);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: var(--text-body);
  font-weight: var(--wght-small);
  line-height: 1.25;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-color) var(--ease-out), border-color var(--dur-color) var(--ease-out), color var(--dur-color) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.choice > input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; border-radius: inherit; opacity: 0; cursor: pointer; }
.choice-text { min-width: 0; overflow-wrap: anywhere; }
/* The mark: two 2 px bars on a 16 px square. Unchosen they cross as a plus; chosen they fold into a tick (short bar
   at 45 degrees, long bar at -49 degrees, meeting at 6.6 x 12.1). Transform only, so it morphs smoothly. */
.choice-mark { position: relative; flex: none; width: 16px; height: 16px; }
.choice-mark::before, .choice-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-short) var(--ease-out);
}
.choice-mark::before { transform: translate(-50%, -50%); }
.choice-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.choice:has(input:checked) { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.choice:has(input:checked) .choice-mark::before { transform: translate(-50%, -50%) translate(-3.2px, 2.2px) rotate(45deg) scaleX(0.4); }
.choice:has(input:checked) .choice-mark::after { transform: translate(-50%, -50%) translate(1.8px, 0.2px) rotate(-49deg) scaleX(0.72); }
/* Radios: a ring with a dot that grows in */
.choice--radio .choice-mark { border: 2px solid currentColor; border-radius: 50%; }
.choice--radio .choice-mark::before { width: 6px; height: 6px; border-radius: 50%; transform: translate(-50%, -50%) scale(0); }
.choice--radio .choice-mark::after { display: none; }
.choice--radio:has(input:checked) .choice-mark::before { transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) { .choice { min-height: 48px; } }
.choice:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.choice:active { transform: translateY(1px); }
.choice:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.choice:has(input:disabled) > input { cursor: not-allowed; }
.choices[aria-invalid="true"] .choice:not(:has(input:checked)), .fld-set[aria-invalid="true"] .choice:not(:has(input:checked)) { border-color: var(--color-accent); }
@media (hover: hover) and (pointer: fine) {
  .choice:hover:not(:has(input:checked)):not(:has(input:disabled)) { border-color: var(--color-ink); background: var(--color-paper-2); }
}

/* ---------- Actions row ---------- */
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: clamp(var(--space-lg), 3vw, var(--space-xl)); }
.pg-actions .btn--go { margin-left: auto; }
.btn .ico { transition: transform var(--dur-short) var(--ease-out); }
.btn--big { min-height: 56px; padding: 0 var(--space-lg); font-size: 1.0625rem; }
@media (min-width: 64rem) { .btn--big { font-size: 1.125rem; } }
.btn[aria-busy="true"] { cursor: progress; }
.btn--line:disabled { background: transparent; color: var(--color-ink); }
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-ink);
  font-size: 1rem;
  font-weight: var(--wght-ui);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  cursor: pointer;
  transition: text-decoration-color var(--dur-color) var(--ease-out);
}
.text-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.text-btn:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .ico--go { transform: translateX(3px); }
  .btn:hover .ico--back { transform: translateX(-3px); }
  .text-btn:hover:not(:disabled) { text-decoration-color: var(--color-accent); }
}
@media (max-width: 39.99rem) {
  .pg-actions .btn--go { flex: 1 1 auto; }
}

/* ---------- Notices: the error summary, a status line, a quiet note ---------- */
.note {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-input);
  background: var(--color-paper-2);
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.note--erro { border-color: var(--color-accent); background: var(--color-paper); }
.note--erro > p:first-child, .note-title { font-weight: var(--wght-ui); }
.note--erro > p:first-child { color: var(--color-accent); }
.note ul { margin: var(--space-2xs) 0 0; padding-left: 1.2em; }
.note li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--wght-ui); }
.note--ok { border-color: var(--color-ink); background: var(--color-paper); }
.status:empty { display: none; }

/* ---------- Ruled rows (definition lists), the aside panel, accordions, big numbers ---------- */
.rows { margin: 0; }
.rows > div { padding-block: var(--space-xs); border-bottom: 1px solid var(--color-rule); }
.rows dt { color: var(--color-muted); font-size: var(--text-sm); font-weight: var(--wght-small); line-height: 1.4; }
.rows dd { margin: var(--space-3xs) 0 0; font-size: 1rem; font-weight: var(--wght-ui); line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.rows dd.is-empty { color: var(--color-muted); font-weight: var(--wght-small); }
@media (prefers-reduced-motion: no-preference) {
  .rows dd.is-new { animation: pg-wipe 900ms var(--ease-out) both; }
}
@keyframes pg-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.panel {
  padding: clamp(var(--space-md), 2.4vw, var(--space-lg));
  border-radius: var(--radius-media);
  background: var(--color-paper-2);
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm); padding-bottom: var(--space-sm); border-bottom: 2px solid var(--color-ink); }
.panel-title { font-size: 1.125rem; font-weight: var(--wght-ui); line-height: 1.3; }
.panel-part + .panel-part { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }

.acc { border-top: 1px solid var(--color-rule); }
.acc:last-child { border-bottom: 1px solid var(--color-rule); }
.acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 56px;
  padding-block: var(--space-sm);
  font-weight: var(--wght-ui);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc-plus { position: relative; flex: none; width: 16px; height: 16px; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; top: calc(50% - 1px); left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-short) var(--ease-out); }
.acc-plus::after { transform: rotate(90deg); }
.acc[open] .acc-plus::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) {
  .acc > summary:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
}
@media (prefers-reduced-motion: no-preference) {
  .acc[open] > :not(summary) { animation: pg-answer 420ms var(--ease-out); }
}
@keyframes pg-answer { from { opacity: 0; transform: translateY(-6px); } }

.num {
  font-size: clamp(2.5rem, 1.4rem + 3vw, 4.5rem);
  font-weight: var(--wght-display);
  font-stretch: var(--wdth-display);
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* Status tags: severity by how much of the one accent they carry (ink tick, accent outline, accent fill, dashed) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 2px 12px;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-pill);
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: var(--wght-ui);
  line-height: 1.2;
  white-space: nowrap;
}
.tag--atencao { border-color: var(--color-accent); color: var(--color-accent); }
.tag--falta { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.tag--neutro { border-style: dashed; border-color: var(--color-rule-strong); color: var(--color-muted); }

/* ---------- Reduced motion: no entrance, no travel ---------- */
@media (prefers-reduced-motion: reduce) {
  .pg-rise { animation: none; }
  .choice, .choice-mark::before, .choice-mark::after { transition: none; }
}
