/* FisioFlow — manual de bolso de UTI.
   Fundo branco; botões, siglas e destaques no verde da fisioterapia.
   Uma família tipográfica (Archivo) em larguras diferentes: condensada para siglas e números. */

:root {
  --paper: #FFFFFF;      /* fundo */
  --sheet: #FFFFFF;      /* cartões (separados por borda) */
  --field: #F4F7F5;      /* fundo dos campos de digitar */
  --ink: #1D2722;        /* texto */
  --muted: #5E6B64;
  --rule: #DFE6E1;
  --scrub: #23905A;      /* verde da fisioterapia */
  --scrub-deep: #18714A;
  --scrub-ink: #FFFFFF;
  --scrub-tint: #E3F4EA;
  --head-bg: #FFFFFF; --head-ink: #1D2722;
  --ok: #23905A;      --ok-tint: #E3F4EA;
  --warn: #A86E06;    --warn-tint: #FBF0DA;
  --alert: #C0392B;   --alert-tint: #FBE6E3;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: only light;
}
/* Sempre claro: fundo branco mesmo com o sistema em modo escuro */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.5; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--scrub); outline-offset: 2px; border-radius: 4px; }
#app { max-width: 760px; margin: 0 auto; padding: 0 18px 32px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ---------- Início ---------- */
.masthead { margin: 0 -18px; padding: calc(26px + env(safe-area-inset-top)) 18px 20px; background: var(--head-bg); color: var(--head-ink); border-radius: 0 0 18px 18px; }
.mark { display: flex; align-items: center; gap: 10px; }
.mark img { border-radius: 10px; }
.mark span { font-family: "Bricolage Grotesque", var(--font); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--scrub); }
.masthead p { color: var(--head-ink); opacity: .82; margin-top: 6px; font-size: 15px; }
.search { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 0 14px; background: var(--field); border: 1.5px solid var(--rule); border-radius: 10px; color: var(--muted); }
.search:focus-within { border-color: var(--scrub); background: var(--sheet); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); padding: 12px 0; }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }

.tabs { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); margin: 6px -18px 0; padding: 0 10px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.tabs button { position: relative; padding: 13px 2px 12px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--scrub); }
.count { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
/* No celular só a aba ativa aparece; na busca, todas as seções com resultado */
.index:not(.searching) section { display: none; }
.index[data-active="vm"]:not(.searching) [data-sec="vm"],
.index[data-active="oxi"]:not(.searching) [data-sec="oxi"],
.index[data-active="desmame"]:not(.searching) [data-sec="desmame"],
.index[data-active="escalas"]:not(.searching) [data-sec="escalas"] { display: block; }
.index:not(.searching) h2 { display: none; }
.index section { padding-top: 6px; }
.index.searching section { padding-top: 18px; }
.index h2 { font-size: 20px; font-weight: 700; font-stretch: 90%; letter-spacing: -0.01em; padding-bottom: 8px; border-bottom: 2px solid var(--scrub); color: var(--scrub-deep); }
.index ul { list-style: none; }
.index li a { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; gap: 4px 12px; padding: 14px 2px; border-bottom: 1px solid var(--rule); }
.index li a:active { background: var(--scrub-tint); }
@media (hover: hover) { .index li a:hover .nm { color: var(--scrub); } }
.abbr { font-size: 23px; font-weight: 700; font-stretch: 68%; color: var(--scrub); line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.nm { font-size: 16px; font-weight: 600; line-height: 1.3; }
.nm small { display: none; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }

.empty { color: var(--muted); padding: 32px 0; }
.foot { color: var(--muted); font-size: 13px; padding-top: 28px; max-width: 46ch; }

/* ---------- Cabeçalho das páginas ---------- */
.phead { padding: calc(10px + env(safe-area-inset-top)) 0 18px; }
.back { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: 10px; color: var(--ink); }
.back:active { background: var(--rule); }
.phead h1 { font-size: 32px; font-weight: 700; font-stretch: 80%; letter-spacing: -0.015em; line-height: 1.05; margin-top: 4px; }
.phead p { color: var(--muted); margin-top: 8px; max-width: 52ch; }
.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
#body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.material { font-size: 14px; color: var(--muted); }
.material b { color: var(--ink); font-weight: 600; }
.ref { font-size: 13px; color: var(--muted); padding-top: 4px; }
.sub { font-size: 20px; font-weight: 700; font-stretch: 90%; padding: 12px 0 8px; border-bottom: 2px solid var(--scrub); color: var(--scrub-deep); }

/* ---------- Campos: nome à esquerda, valor à direita, como no painel do ventilador ---------- */
.panel { background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 0 16px; }
.frow { display: grid; grid-template-columns: 1fr minmax(128px, 44%); align-items: center; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.panel > .frow:last-child { border-bottom: 0; }
.flabel { font-size: 15px; font-weight: 600; line-height: 1.3; }
.opt { display: block; font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); }
.inbox { display: flex; align-items: baseline; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--field); padding: 0 10px; transition: border-color .15s; }
.inbox:focus-within { border-color: var(--scrub); background: var(--sheet); }
.inbox input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); font-size: 21px; font-weight: 600; font-stretch: 85%; font-variant-numeric: tabular-nums; text-align: right; padding: 8px 0; }
.inbox.text input { text-align: left; font-size: 16px; font-stretch: 100%; font-weight: 500; }
.unit { font-size: 13px; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.hint, .ferr { grid-column: 1 / -1; font-size: 13px; color: var(--muted); line-height: 1.4; }
.frow.bad .inbox { border-color: var(--alert); background: var(--alert-tint); }
.ferr { color: var(--alert); font-weight: 600; }

.seg-row { grid-template-columns: 1fr; }
.seg { display: flex; gap: 6px; }
.seg.wrap { flex-wrap: wrap; }
.seg button { flex: 1 1 0; padding: 9px 10px; border: 1.5px solid var(--rule); border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--muted); line-height: 1.25; }
.seg.wrap button { flex: 0 1 auto; }
.seg button[aria-checked="true"] { background: var(--scrub); border-color: var(--scrub); color: var(--scrub-ink); }

/* ---------- Leitura do resultado ---------- */
.readout { --tone: var(--scrub); --tint: var(--scrub-tint); background: var(--sheet); border: 1px solid var(--rule); border-left: 6px solid var(--tone); border-radius: 12px; padding: 16px 18px 18px; }
.readout.lv-baixo { --tone: var(--ok); --tint: var(--ok-tint); }
.readout.lv-medio { --tone: var(--warn); --tint: var(--warn-tint); }
.readout.lv-alto, .readout.err { --tone: var(--alert); --tint: var(--alert-tint); }
.readout.idle { border-left-color: var(--rule); color: var(--muted); }
.readout.err p { color: var(--alert); font-weight: 600; }
.readout .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lbl { font-size: 15px; font-weight: 600; color: var(--muted); }
.status { font-size: 14px; font-weight: 700; color: var(--tone); }
.big { font-size: 76px; font-weight: 650; font-stretch: 72%; line-height: .95; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--tone); margin-top: 4px; overflow-wrap: anywhere; }
.big span { font-size: 18px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.verdict { font-size: 17px; font-weight: 600; line-height: 1.35; margin-top: 10px; }
.second { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding: 12px 14px; background: var(--tint); border-radius: 8px; }
.second span { font-size: 15px; font-weight: 600; }
.second b { font-size: 30px; font-weight: 700; font-stretch: 75%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.second small { font-size: 14px; font-weight: 500; font-stretch: 100%; color: var(--muted); margin-left: 4px; }
.warn { margin-top: 14px; padding: 11px 14px; background: var(--warn-tint); border-radius: 8px; font-size: 15px; line-height: 1.45; }
.vt { width: 100%; border-collapse: collapse; margin-top: 16px; font-variant-numeric: tabular-nums; }
.vt caption { text-align: left; font-size: 14px; font-weight: 600; color: var(--muted); padding-bottom: 4px; }
.vt th, .vt td { padding: 8px 4px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.vt th { text-align: left; font-weight: 500; color: var(--muted); }
.vt td { text-align: right; font-weight: 700; }
.vt tr.hl th, .vt tr.hl td { color: var(--tone); font-weight: 800; }
.vt tr.hl th { position: relative; }
.vt tr.hl th::before { content: ""; position: absolute; left: -18px; top: 6px; bottom: 6px; width: 6px; background: var(--tone); }
.details { margin-top: 14px; }
.details div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.details dt { color: var(--muted); }
.details dd { font-weight: 600; text-align: right; max-width: 60vw; }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.share { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 14px; border: 1.5px solid var(--rule); border-radius: 999px; font-size: 15px; font-weight: 600; }
.share:active { border-color: var(--scrub); color: var(--scrub); }
.after { display: flex; }
.clear { font-size: 15px; font-weight: 600; color: var(--muted); padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }

/* ---------- Escalas com itens ---------- */
.item { background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 14px 12px; scroll-margin-top: 12px; }
.item legend { float: left; width: 100%; display: flex; gap: 10px; align-items: baseline; font-size: 17px; font-weight: 700; line-height: 1.3; }
.num { font-size: 22px; font-weight: 700; font-stretch: 68%; color: var(--scrub); min-width: 20px; }
.instr { clear: both; font-size: 14px; color: var(--muted); padding-top: 4px; }
.instr.block { font-size: 15px; }
.opts { clear: both; display: grid; gap: 6px; padding-top: 12px; }
.opts button { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: baseline; text-align: left; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: 8px; }
.opts button b { font-size: 21px; font-weight: 700; font-stretch: 70%; color: var(--muted); line-height: 1; }
.opts button span { font-size: 15px; line-height: 1.35; }
.opts button[aria-checked="true"] { border-color: var(--scrub); background: var(--scrub-tint); box-shadow: inset 4px 0 0 var(--scrub); }
.opts button[aria-checked="true"] b { color: var(--scrub); }
.opts.compact { grid-template-columns: repeat(6, 1fr); }
.opts.compact button { grid-template-columns: 1fr; justify-items: center; padding: 10px 0; }
.opts.compact button b { font-size: 26px; }
.opts.compact button span { display: none; }
.tally { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; background: var(--scrub-deep); color: #fff; border-radius: 12px; }
.tally span { font-size: 14px; opacity: .8; }
.tally b { font-size: 26px; font-weight: 700; font-stretch: 72%; font-variant-numeric: tabular-nums; }
.scale-bar { position: relative; display: flex; height: 8px; margin: 16px 0 4px; }
.scale-bar span { height: 100%; }
.scale-bar span + span { margin-left: 2px; }
.b-alto { background: var(--alert); } .b-medio { background: var(--warn); } .b-baixo { background: var(--ok); }
.scale-bar i { position: absolute; top: -6px; width: 3px; height: 20px; background: var(--ink); transform: translateX(-50%); }

/* EVA */
.pain { padding: 16px; }
.pain-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.pain-scale button { aspect-ratio: 3 / 4; border-radius: 6px; font-size: 18px; font-weight: 700; font-stretch: 75%; color: #fff; background: hsl(var(--h) 52% 42%); opacity: .5; }
.pain-scale button[aria-checked="true"] { opacity: 1; outline: 3px solid var(--ink); outline-offset: 2px; }
.ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Cronômetro */
.stopwatch { padding-top: 14px; }
.clock { text-align: center; font-size: 88px; font-weight: 600; font-stretch: 70%; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.clock span { font-size: 24px; font-stretch: 100%; color: var(--muted); margin-left: 4px; }
.tbtns { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin: 16px 0 6px; }
.tbtns button { padding: 15px; border-radius: 10px; font-size: 18px; font-weight: 700; }
.tbtns .go { background: var(--scrub); color: var(--scrub-ink); }
.tbtns .go.stop { background: var(--alert); color: #fff; }
.tbtns .ghost { border: 1.5px solid var(--rule); }

/* Goniometria */
.gonio { width: 100%; border-collapse: collapse; margin: 6px 0 2px; }
.gonio th, .gonio td { padding: 7px 4px; border-bottom: 1px solid var(--rule); text-align: left; font-size: 15px; }
.gonio thead th { font-size: 13px; font-weight: 600; color: var(--muted); }
.gonio tbody th { font-weight: 600; }
.gonio .nrm { color: var(--muted); font-size: 14px; white-space: nowrap; }
.gonio td:nth-child(3), .gonio td:nth-child(4) { width: 64px; }
.gonio input { width: 100%; text-align: center; font: inherit; font-size: 18px; font-weight: 600; font-stretch: 80%; padding: 7px 2px; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--field); color: var(--ink); outline: 0; }
.gonio input:focus { border-color: var(--scrub); }
.gonio input.ok { border-color: var(--ok); background: var(--ok-tint); }
.gonio input.mid { border-color: var(--warn); background: var(--warn-tint); }
.gonio input.low, .gonio input.bad { border-color: var(--alert); background: var(--alert-tint); }
.gonio + .note { padding-bottom: 14px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); background: var(--scrub-deep); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; opacity: 0; transition: opacity .2s, transform .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Escalas: um item por vez ---------- */
.steps { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px 4px; }
.steps::-webkit-scrollbar { display: none; }
.steps button { flex: 0 0 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--rule); font-size: 15px; font-weight: 700; font-stretch: 75%; color: var(--muted); }
.steps button.done { background: var(--scrub-tint); border-color: var(--scrub-tint); color: var(--scrub); }
.steps button[aria-current="step"] { border-color: var(--scrub); color: var(--ink); box-shadow: inset 0 0 0 1px var(--scrub); }
.secname { font-size: 14px; font-weight: 600; color: var(--scrub); margin-bottom: 2px; }
.stepnav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stepnav button { padding: 12px; border: 1.5px solid var(--rule); border-radius: 10px; font-weight: 600; }
.stepnav button:disabled { opacity: .35; cursor: default; }

/* ---------- Site em tela grande ---------- */
@media (min-width: 900px) {
  #app { max-width: 1180px; padding: 0 40px 64px; }
  .masthead { display: grid; grid-template-columns: auto 1fr minmax(260px, 340px); align-items: center; gap: 6px 24px; padding: 30px 40px 26px; margin: 0 -40px; border-radius: 0 0 18px 18px; }
  .masthead p { margin: 0; }
  .search { margin: 0; }
  .tabs { display: none; }
  .index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; align-items: start; }
  .index section, .index:not(.searching) section { display: block; padding-top: 22px; }
  .index h2, .index:not(.searching) h2 { display: block; font-size: 18px; }
  .index li a { grid-template-columns: 54px 1fr; padding: 11px 2px; }
  .abbr { font-size: 20px; }
  .nm { font-size: 15px; }
  .nm small { display: block; font-size: 13px; }
  .empty { grid-column: 1 / -1; }

  .phead { padding: 28px 0 22px; }
  .phead h1 { font-size: 44px; }
  .page:has(> .panel + #res) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: 28px; }
  .page:has(> .panel + #res) > #res { grid-column: 2; grid-row: 1 / span 20; position: sticky; top: 24px; }
  .page:has(> .panel + #res) > .after, .page:has(> .panel + #res) > .ref { grid-column: 1; }
  .page:has(#body) { max-width: 760px; }
}
.tally.inline { position: static; padding: 8px 14px; background: var(--scrub-tint); color: var(--ink); }
.tally.inline span { opacity: 1; color: var(--muted); }
.tally.inline b { color: var(--scrub); font-size: 22px; }
@media (max-width: 899px) { .phead h1 { font-size: 28px; } }

/* Calculadora de volume (Peso Predito) */
.vtcalc { margin-top: 14px; padding: 14px; background: var(--tint); border-radius: 10px; display: grid; gap: 12px; }
.vtc-title { font-size: 15px; font-weight: 700; }
.vtc-base button { display: grid; gap: 1px; padding: 8px 6px; background: var(--sheet); }
.vtc-base small { font-size: 13px; font-weight: 500; opacity: .85; }
.vtc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper { display: flex; align-items: center; background: var(--sheet); border: 1.5px solid var(--rule); border-radius: 10px; }
.stepper button { width: 44px; height: 44px; font-size: 24px; font-weight: 500; color: var(--scrub); }
.stepper output { min-width: 64px; text-align: center; font-size: 22px; font-weight: 700; font-stretch: 75%; font-variant-numeric: tabular-nums; line-height: 1; }
.stepper output small { display: block; font-size: 11px; font-weight: 500; font-stretch: 100%; color: var(--muted); margin-top: 2px; }
.vtc-out { text-align: right; line-height: 1; }
.vtc-out b { font-size: 40px; font-weight: 700; font-stretch: 72%; font-variant-numeric: tabular-nums; color: var(--tone); }
.vtc-out small { font-size: 15px; color: var(--muted); margin-left: 4px; }
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.chips button { padding: 8px 0; border-radius: 8px; background: var(--sheet); border: 1.5px solid var(--rule); font-weight: 700; font-size: 16px; font-stretch: 80%; }
.chips button[aria-pressed="true"] { border-color: var(--scrub); color: var(--scrub); box-shadow: inset 0 0 0 1px var(--scrub); }
.vtc-alert { font-size: 14px; line-height: 1.4; color: var(--ink); background: var(--warn-tint); padding: 9px 12px; border-radius: 8px; }

/* Celular: números do resultado mais contidos */
@media (max-width: 899px) {
  .readout { padding: 14px 14px 16px; }
  .big { font-size: 54px; }
  .big span { font-size: 16px; }
  .verdict { font-size: 16px; }
  .second b { font-size: 26px; }
  .details div { font-size: 14px; }
  .inbox input { font-size: 19px; }
}

/* "Como usar" e "Ver cálculo": recolhidos por padrão */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.help { margin-top: 14px; }
.help > summary, .steps-calc > summary { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border: 1.5px solid var(--rule); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--scrub); background: var(--sheet); }
.help > summary::before, .steps-calc > summary::before { content: "+"; font-size: 18px; line-height: 1; width: 12px; text-align: center; }
.help[open] > summary::before, .steps-calc[open] > summary::before { content: "−"; }
.help-body { margin-top: 12px; padding: 14px 16px 16px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; max-width: 68ch; }
.help-body h3 { font-size: 16px; font-weight: 700; margin: 14px 0 6px; }
.help-body h3:first-child { margin-top: 0; }
.help-body li { font-size: 15px; line-height: 1.5; }
.phead .help-body p { color: var(--ink); margin: 0; max-width: none; font-size: 15px; }
.help-body ol, .help-body ul { padding-left: 20px; display: grid; gap: 5px; }
.steps-calc { margin-top: 14px; }
.steps-calc ol { margin-top: 10px; padding: 12px 14px 12px 32px; background: var(--field); border-radius: 8px; display: grid; gap: 8px; }
.steps-calc li { font-size: 14px; line-height: 1.45; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Crédito no rodapé de todas as telas */
.credit { max-width: 760px; margin: 0 auto; padding: 18px 18px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); text-align: center; font-size: 13px; color: var(--muted); line-height: 1.4; }
.credit b { color: var(--scrub-deep); font-weight: 700; }
.credit span { display: block; }
@media (min-width: 900px) { .credit { max-width: 1180px; } }
.credit .reg { font-size: 12px; margin-top: 2px; letter-spacing: 0.01em; }

/* Crédito colado na borda de baixo da tela, letra menor */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
#app { width: 100%; }
.credit { width: 100%; margin-top: auto; padding: 10px 18px calc(8px + env(safe-area-inset-bottom)); font-size: 11.5px; line-height: 1.35; }
.credit .reg { font-size: 10.5px; margin-top: 1px; }
