/* =====================================================================
   R2 Eco Almoxarifado — visual
   Mobile-first, limpo e moderno. Tema claro/escuro. WCAG 2.2 AA.
   Fonte Inter embutida (funciona offline).
   ===================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/inter/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --fundo: #f3f5f2;
  --superficie: #ffffff;
  --superficie-2: #f1f4f0;
  --superficie-3: #e8ede7;
  --linha: #e2e8e1;
  --linha-forte: #c8d1c7;
  --texto: #111a15;
  --texto-2: #4f5f55;
  --texto-3: #5a685f;

  --verde: #157347;
  --verde-forte: #0e5a37;
  --verde-suave: #e3f3e9;
  --sobre-verde: #ffffff;
  --tijolo: #b9502a;
  --tijolo-suave: #fbeae2;
  --alerta: #8f5600;
  --alerta-suave: #fff1d6;
  --perigo: #c0281f;
  --perigo-suave: #fde7e5;
  --info: #1f5fa3;
  --info-suave: #e4effa;
  --foco: #2563eb;

  --gradiente: linear-gradient(135deg, #1b8a55 0%, #0e5a37 100%);
  --sombra-1: 0 1px 2px rgb(17 26 21 / 5%);
  --sombra-2: 0 1px 2px rgb(17 26 21 / 4%), 0 6px 20px rgb(17 26 21 / 7%);
  --sombra-3: 0 10px 40px rgb(17 26 21 / 18%);
  --r-g: 20px;
  --r: 14px;
  --r-p: 10px;
  --nav-h: 72px;
  --topo-h: 58px;
  --fonte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fundo: #0c120f; --superficie: #141c18; --superficie-2: #1a241f; --superficie-3: #223029;
    --linha: #24312a; --linha-forte: #34453b; --texto: #eaf1ec; --texto-2: #b1c2b7; --texto-3: #8fa396;
    --verde: #3fbf7f; --verde-forte: #6fd6a0; --verde-suave: #13301f; --sobre-verde: #062013;
    --tijolo: #f08e62; --tijolo-suave: #3a1f14; --alerta: #f4c25b; --alerta-suave: #362a10;
    --perigo: #ff8f86; --perigo-suave: #3b1714; --info: #86bdf2; --info-suave: #11263a; --foco: #8fb2ff;
    --gradiente: linear-gradient(135deg, #1d7a4c 0%, #0f4a2e 100%);
    --sombra-1: none; --sombra-2: 0 0 0 1px var(--linha); --sombra-3: 0 10px 40px rgb(0 0 0 / 55%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fundo: #0c120f; --superficie: #141c18; --superficie-2: #1a241f; --superficie-3: #223029;
  --linha: #24312a; --linha-forte: #34453b; --texto: #eaf1ec; --texto-2: #b1c2b7; --texto-3: #8fa396;
  --verde: #3fbf7f; --verde-forte: #6fd6a0; --verde-suave: #13301f; --sobre-verde: #062013;
  --tijolo: #f08e62; --tijolo-suave: #3a1f14; --alerta: #f4c25b; --alerta-suave: #362a10;
  --perigo: #ff8f86; --perigo-suave: #3b1714; --info: #86bdf2; --info-suave: #11263a; --foco: #8fb2ff;
  --gradiente: linear-gradient(135deg, #1d7a4c 0%, #0f4a2e 100%);
  --sombra-1: none; --sombra-2: 0 0 0 1px var(--linha); --sombra-3: 0 10px 40px rgb(0 0 0 / 55%);
  color-scheme: dark;
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; min-height: 100dvh; overflow-x: hidden;
  font-family: var(--fonte); font-size: 16px; line-height: 1.5; letter-spacing: -0.006em;
  color: var(--texto); background: var(--fundo);
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.75rem; line-height: 1.15; font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1rem; font-weight: 650; }
a { color: var(--verde); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: 6px; }
h1:focus, main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.dica { color: var(--texto-3); font-size: .875rem; }
.num, .tabular { font-variant-numeric: tabular-nums; }
.icone { width: 1.25rem; height: 1.25rem; flex: none; }

.pular { position: absolute; left: .75rem; top: -100px; z-index: 100; background: var(--verde); color: var(--sobre-verde); padding: .75rem 1rem; border-radius: var(--r-p); font-weight: 700; }
.pular:focus { top: .75rem; }

/* ---------------- Estrutura ---------------- */
.app { min-height: 100dvh; }
.topo {
  position: sticky; top: 0; z-index: 30; height: calc(var(--topo-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: color-mix(in srgb, var(--fundo) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.marca { display: flex; align-items: center; gap: .55rem; color: var(--texto); text-decoration: none; min-height: 44px; }
.marca img { width: 32px; height: 32px; border-radius: 9px; }
.marca-texto { display: grid; line-height: 1.05; }
.marca-texto strong { font-size: .95rem; font-weight: 750; letter-spacing: -0.02em; }
.marca-texto span { font-size: .75rem; color: var(--texto-3); font-weight: 500; }

.status-sync {
  display: inline-flex; align-items: center; gap: .4rem; height: 32px; padding: 0 .75rem;
  border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--superficie); box-shadow: var(--sombra-1); border: 1px solid var(--linha);
  max-width: 62vw; color: var(--texto-2);
}
.status-sync .icone { width: 1rem; height: 1rem; }
.status-texto { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-ponto { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status-online { color: var(--verde); }
.status-offline { color: var(--alerta); background: var(--alerta-suave); border-color: transparent; }
.status-sincronizando { color: var(--info); }
.status-sincronizando .icone { animation: girar 1.1s linear infinite; }
.status-local { color: var(--texto-3); }

.conteudo { width: 100%; max-width: 1080px; margin: 0 auto; padding: .5rem 1rem calc(var(--nav-h) + 2rem + env(safe-area-inset-bottom)); }
.conteudo-centro { min-height: 100dvh; display: grid; place-items: center; padding: 1.5rem 1rem; }

/* Navegação inferior (celular) */
.menu-inferior {
  position: fixed; inset: auto 0 0 0; z-index: 30; padding: 0 .5rem env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--superficie) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--linha);
}
.menu-inferior ul { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; display: grid; grid-template-columns: repeat(5, 1fr); }
.menu-inferior .menu-link {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: var(--nav-h); color: var(--texto-3); text-decoration: none; font-size: .72rem; font-weight: 600;
}
.menu-inferior .menu-link .icone { width: 1.5rem; height: 1.5rem; }
.menu-inferior .menu-link[aria-current="page"] { color: var(--verde); }
.menu-inferior .menu-link[aria-current="page"] .icone { stroke-width: 2.4; }
.menu-inferior .menu-destaque .menu-bolha {
  display: grid; place-items: center; width: 58px; height: 58px; margin-top: -26px; border-radius: 20px;
  background: var(--gradiente); color: #fff; box-shadow: 0 8px 20px rgb(21 115 71 / 35%); border: 4px solid var(--fundo);
}
.menu-inferior .menu-destaque .menu-bolha .icone { width: 1.6rem; height: 1.6rem; }
.menu-inferior .menu-destaque { color: var(--texto-2); }
.menu-lateral { display: none; }
.contador {
  position: absolute; top: 9px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--perigo); color: #fff; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--superficie);
}

@media (min-width: 960px) {
  .app { display: grid; grid-template-columns: 264px 1fr; }
  .topo { grid-column: 1 / -1; border-bottom: 1px solid var(--linha); background: var(--superficie); }
  .menu-inferior { display: none; }
  .menu-lateral { display: block; position: sticky; top: var(--topo-h); align-self: start; height: calc(100dvh - var(--topo-h)); overflow-y: auto; padding: 1rem .75rem; background: var(--superficie); border-right: 1px solid var(--linha); }
  .menu-lateral ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .menu-lateral .menu-link { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 44px; padding: .5rem .8rem; border-radius: var(--r-p); color: var(--texto-2); text-decoration: none; font-weight: 600; font-size: .94rem; }
  .menu-lateral .menu-link:hover { background: var(--superficie-2); color: var(--texto); }
  .menu-lateral .menu-link[aria-current="page"] { background: var(--verde-suave); color: var(--verde-forte); }
  .menu-lateral .menu-destaque { background: var(--gradiente); color: #fff !important; margin-bottom: .5rem; }
  .menu-lateral .menu-destaque:hover { filter: brightness(1.05); background: var(--gradiente); }
  .menu-lateral .menu-bolha { display: contents; }
  .menu-lateral .contador { position: static; margin-left: auto; box-shadow: none; }
  .menu-lateral .menu-sep { height: 1px; background: var(--linha); margin: .5rem .25rem; }
  .conteudo { padding: 1.75rem 2.25rem 3rem; }
  .conteudo-centro { grid-column: 1 / -1; }
}

/* ---------------- Cabeçalho de página ---------------- */
.cabecalho { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; margin: .5rem 0 1.25rem; }
.cabecalho .dica { margin-top: .3rem; font-size: .95rem; }
.cabecalho-acoes { display: flex; flex-wrap: wrap; gap: .5rem; }
.voltar { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; margin-left: -.25rem; padding: 0 .25rem; color: var(--texto-2); font-weight: 600; text-decoration: none; background: none; border: 0; }
.voltar:hover { color: var(--texto); }
.secao { margin-top: 1.75rem; }
.secao-titulo { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.secao-titulo a { font-size: .9rem; font-weight: 600; text-decoration: none; }

/* ---------------- Cartões ---------------- */
.cartao { background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); padding: 1.1rem; }
.cartao + .cartao { margin-top: .75rem; }
.grade-2 { display: grid; gap: 1rem; }
@media (min-width: 960px) { .grade-2 { grid-template-columns: 1fr 1fr; align-items: start; } .grade-2 > .secao { margin-top: 0; } }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .65rem 1.15rem;
  border-radius: var(--r); border: 1px solid transparent; font-weight: 650; font-size: .97rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .06s, filter .15s, background-color .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primario { background: var(--verde); color: var(--sobre-verde); }
.btn-primario:hover { filter: brightness(1.07); }
.btn-secundario { background: var(--superficie); color: var(--texto); border-color: var(--linha-forte); }
.btn-secundario:hover { background: var(--superficie-2); }
.btn-suave { background: var(--verde-suave); color: var(--verde-forte); }
.btn-perigo { background: var(--perigo); color: #fff; }
:root[data-theme="dark"] .btn-perigo { color: #2a0906; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-perigo { color: #2a0906; } }
.btn-perigo-suave { background: var(--perigo-suave); color: var(--perigo); }
.btn-fantasma { background: transparent; color: var(--texto-2); }
.btn-fantasma:hover { background: var(--superficie-2); }
.btn-grande { min-height: 56px; font-size: 1.05rem; border-radius: 16px; padding: .8rem 1.4rem; }
.btn-bloco { width: 100%; }
.btn-pequeno { min-height: 40px; padding: .4rem .85rem; font-size: .88rem; border-radius: 12px; }
.btn-icone { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: transparent; color: var(--texto-2); }
.btn-icone:hover { background: var(--superficie-2); color: var(--texto); }
.btn-link { background: none; border: 0; padding: .5rem 0; min-height: 44px; color: var(--verde); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.botoes { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------------- Listas estilo app ---------------- */
.lista-cartao { list-style: none; margin: 0; padding: .25rem 0; background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); overflow: hidden; }
.lista-cartao > li + li > .linha::before { content: ""; position: absolute; top: 0; left: 4.1rem; right: 0; height: 1px; background: var(--linha); }
.lista-cartao.sem-icone > li + li > .linha::before { left: 1rem; }
.linha {
  position: relative; display: flex; align-items: center; gap: .85rem; width: 100%; min-height: 64px; padding: .7rem 1rem;
  background: none; border: 0; text-align: left; color: var(--texto); text-decoration: none;
}
a.linha:hover, button.linha:hover { background: var(--superficie-2); }
.linha-icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.linha-icone .icone { width: 1.2rem; height: 1.2rem; }
.linha-texto { flex: 1; min-width: 0; display: grid; gap: 1px; }
.linha-titulo { font-weight: 600; overflow-wrap: anywhere; }
.linha-sub { color: var(--texto-3); font-size: .84rem; overflow-wrap: anywhere; }
.linha-direita { display: grid; justify-items: end; text-align: right; gap: 1px; }
.linha-valor { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.linha-seta { color: var(--texto-3); width: 1.1rem; height: 1.1rem; }
.linha .selo { margin-top: 2px; }

.tom-verde { background: var(--verde-suave); color: var(--verde); }
.tom-tijolo { background: var(--tijolo-suave); color: var(--tijolo); }
.tom-alerta { background: var(--alerta-suave); color: var(--alerta); }
.tom-perigo { background: var(--perigo-suave); color: var(--perigo); }
.tom-info { background: var(--info-suave); color: var(--info); }
.tom-neutro { background: var(--superficie-3); color: var(--texto-2); }
.tom-texto-verde { color: var(--verde); }
.tom-texto-perigo { color: var(--perigo); }
.tom-texto-info { color: var(--info); }
.tom-texto-alerta { color: var(--alerta); }

.dia-titulo { margin: 1.1rem .25rem .45rem; font-size: .78rem; font-weight: 700; color: var(--texto-3); text-transform: uppercase; letter-spacing: .06em; }
.dia-titulo:first-child { margin-top: 0; }

/* ---------------- Selos e níveis ---------------- */
.selo { display: inline-flex; align-items: center; gap: .3rem; height: 24px; padding: 0 .55rem; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.selo .icone { width: .9rem; height: .9rem; }
.selo-ok { background: var(--verde-suave); color: var(--verde); }
.selo-baixo { background: var(--alerta-suave); color: var(--alerta); }
.selo-zerado { background: var(--perigo-suave); color: var(--perigo); }
.selo-acima { background: var(--info-suave); color: var(--info); }
.selo-neutro { background: var(--superficie-3); color: var(--texto-2); }
.nivel { position: relative; height: 6px; border-radius: 999px; background: var(--superficie-3); overflow: hidden; }
.nivel > span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--verde); }
.nivel.baixo > span { background: var(--alerta); }
.nivel.zerado > span { background: var(--perigo); }

/* ---------------- Início ---------------- */
.ola { margin: .5rem 0 1.1rem; }
.ola p { color: var(--texto-3); font-size: .92rem; margin-top: .2rem; }
.hero-qr {
  display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.2rem; border-radius: var(--r-g);
  background: var(--gradiente); color: #fff; text-decoration: none; box-shadow: 0 10px 28px rgb(21 115 71 / 28%);
  position: relative; overflow: hidden;
}
.hero-qr::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgb(255 255 255 / 8%); }
.hero-qr-icone { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgb(255 255 255 / 16%); flex: none; }
.hero-qr-icone .icone { width: 1.8rem; height: 1.8rem; }
.hero-qr strong { display: block; font-size: 1.15rem; font-weight: 750; letter-spacing: -0.02em; }
.hero-qr span { font-size: .88rem; opacity: .9; }
.hero-qr .linha-seta { color: #fff; margin-left: auto; opacity: .85; width: 1.4rem; height: 1.4rem; }

.acoes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin-top: .75rem; }
@media (min-width: 640px) { .acoes { grid-template-columns: repeat(4, 1fr); } }
.acao {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: .95rem; min-height: 96px;
  background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); color: var(--texto); text-decoration: none; font-weight: 650;
  border: 0; text-align: left;
}
.acao:hover { box-shadow: var(--sombra-2), 0 0 0 2px var(--verde-suave); }
.acao .linha-icone { width: 42px; height: 42px; }
.acao small { display: block; color: var(--texto-3); font-weight: 500; font-size: .8rem; margin-top: 1px; }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { display: grid; gap: .15rem; padding: .95rem 1rem; background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); color: var(--texto); text-decoration: none; }
.kpi-rotulo { display: flex; align-items: center; gap: .4rem; color: var(--texto-3); font-size: .8rem; font-weight: 600; }
.kpi-rotulo .icone { width: 1rem; height: 1rem; }
.kpi-valor { font-size: 1.65rem; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.kpi.destaque .kpi-valor { color: var(--alerta); }

/* ---------------- Gráficos ---------------- */
.grafico { margin: 0; padding: 1.1rem; background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); min-width: 0; }
.grafico-cab { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .9rem; }
.grafico-cab strong { font-weight: 700; }
.grafico-total { font-size: 1.4rem; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.grafico-svg { width: 100%; height: auto; display: block; overflow: visible; }
.g-rot { font: 600 11px var(--fonte); fill: var(--texto-3); }
.g-val { font: 700 11px var(--fonte); fill: var(--texto-2); }
.g-grade { stroke: var(--linha); stroke-width: 1; }
.g-barra { fill: var(--verde); }
.g-barra.s1 { fill: var(--tijolo); }
.g-barra.hoje { fill: var(--verde-forte); }
.legenda { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: .75rem 0 0; font-size: .82rem; color: var(--texto-2); }
.legenda li { display: flex; align-items: center; gap: .35rem; }
.legenda i { width: 10px; height: 10px; border-radius: 3px; background: var(--verde); }
.legenda i.s1 { background: var(--tijolo); }
.grafico-tabela { margin-top: .6rem; }
.grafico-tabela summary { cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; font-size: .85rem; font-weight: 600; color: var(--verde); }
.barras-h { display: grid; gap: .6rem; }
.barra-h { display: grid; gap: .25rem; }
.barra-h-topo { display: flex; justify-content: space-between; gap: .5rem; font-size: .88rem; }
.barra-h-topo span:first-child { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barra-h-topo span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--texto-2); }
.barra-h .nivel { height: 8px; }
.barra-h .nivel > span { background: var(--verde); }
.barra-h.s1 .nivel > span { background: var(--tijolo); }

/* ---------------- Tabelas ---------------- */
.tabela-rolagem { overflow-x: auto; border-radius: var(--r); }
.tabela { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--superficie); }
.tabela caption { text-align: left; font-weight: 700; padding: .5rem 0; }
.tabela th, .tabela td { padding: .6rem .75rem; border-bottom: 1px solid var(--linha); text-align: left; vertical-align: top; }
.tabela thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--texto-3); font-weight: 700; background: var(--superficie-2); }
.tabela .num { text-align: right; }
.tabela tbody tr:last-child > * { border-bottom: 0; }

/* ---------------- Formulários ---------------- */
.campo { display: grid; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.campo > label, .rotulo { font-weight: 600; font-size: .92rem; color: var(--texto-2); }
.campo .dica { margin: 0; font-size: .82rem; }
.obrigatorio { color: var(--perigo); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], input[type="datetime-local"], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: .65rem .9rem; border-radius: var(--r); border: 1.5px solid var(--linha-forte); background: var(--superficie); color: var(--texto); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: linear-gradient(45deg, transparent 50%, var(--texto-3) 50%), linear-gradient(135deg, var(--texto-3) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
textarea { min-height: 84px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--verde); box-shadow: 0 0 0 4px color-mix(in srgb, var(--verde) 22%, transparent); }
[aria-invalid="true"] { border-color: var(--perigo) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--perigo) 15%, transparent) !important; }
.erro-campo { color: var(--perigo); font-weight: 600; font-size: .86rem; }
.erro-campo:empty { display: none; }
.check { display: flex; align-items: center; gap: .65rem; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--verde); flex: none; }
.linha-campos { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .linha-campos { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }

.busca { position: relative; }
.busca .icone { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--texto-3); pointer-events: none; }
.busca input { padding-left: 2.7rem; border-radius: 16px; background: var(--superficie); border-color: transparent; box-shadow: var(--sombra-2); }

/* Chips (escolha única) */
.chips { border: 0; margin: 0 0 1.1rem; padding: 0; min-width: 0; }
.chips-legenda { padding: 0; margin-bottom: .45rem; font-weight: 600; font-size: .92rem; color: var(--texto-2); }
.chips-area { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips.rolagem .chips-area { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: 2px 1rem 4px; }
.chips.rolagem .chips-area::-webkit-scrollbar { display: none; }
.chip-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .45rem .95rem; border-radius: 999px; white-space: nowrap;
  background: var(--superficie); color: var(--texto-2); font-weight: 600; font-size: .9rem; cursor: pointer; border: 1.5px solid var(--linha-forte);
  transition: background-color .12s, border-color .12s, color .12s;
}
.chip .icone { width: 1rem; height: 1rem; }
.chip:hover { border-color: var(--texto-3); }
.chip-radio:checked + .chip { background: var(--texto); color: var(--fundo); border-color: var(--texto); }
.chip-radio:focus-visible + .chip { outline: 3px solid var(--foco); outline-offset: 2px; }
.chip-botao { background: var(--superficie-2); border-style: dashed; }

/* Escolha de ação (cartões grandes) */
.escolhas { display: grid; gap: .65rem; }
@media (min-width: 640px) { .escolhas { grid-template-columns: repeat(2, 1fr); } }
.escolha { display: flex; align-items: center; gap: 1rem; padding: 1.1rem; min-height: 84px; background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); color: var(--texto); text-decoration: none; }
.escolha:hover { box-shadow: var(--sombra-2), 0 0 0 2px var(--verde-suave); }
.escolha .linha-icone { width: 50px; height: 50px; border-radius: 15px; }
.escolha .linha-icone .icone { width: 1.5rem; height: 1.5rem; }
.escolha strong { display: block; font-size: 1.05rem; font-weight: 700; }
.escolha span.dica { display: block; }
.escolha .linha-seta { margin-left: auto; }

/* Registro: etapas */
.etapas { display: flex; gap: .35rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.etapas li { flex: 1; height: 4px; border-radius: 999px; background: var(--superficie-3); }
.etapas li.feita { background: var(--verde); }
.item-resumo { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); margin-bottom: 1.1rem; }
.item-resumo .linha-icone { width: 46px; height: 46px; }
.item-resumo-texto { flex: 1; min-width: 0; }
.item-resumo-texto strong { display: block; font-size: 1.05rem; }
.item-resumo-saldo { text-align: right; }
.item-resumo-saldo strong { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.stepper { display: grid; grid-template-columns: 64px 1fr 64px; gap: .5rem; align-items: stretch; }
.stepper .btn { min-height: 64px; padding: 0; border-radius: 18px; }
.stepper .btn .icone { width: 1.5rem; height: 1.5rem; }
.qtd-input { min-height: 64px !important; text-align: center; font-size: 1.9rem !important; font-weight: 750; letter-spacing: -0.03em; border-radius: 18px !important; font-variant-numeric: tabular-nums; }
.qtd-unidade { text-align: center; color: var(--texto-3); font-size: .85rem; margin-top: .3rem; }
.rapidos { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; justify-content: center; }
.rodape-fixo {
  position: sticky; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + .75rem); z-index: 5; margin-top: 1.25rem;
  padding: .5rem; border-radius: 22px; background: color-mix(in srgb, var(--fundo) 80%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (min-width: 960px) { .rodape-fixo { bottom: 1rem; } }
.mais-opcoes { margin: .25rem 0 1rem; border-radius: var(--r); background: var(--superficie-2); padding: 0 1rem; }
.mais-opcoes > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--texto-2); font-size: .92rem; list-style: none; }
.mais-opcoes > summary::-webkit-details-marker { display: none; }
.mais-opcoes > summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; color: var(--texto-3); }
.mais-opcoes[open] > summary::after { content: "−"; }
.mais-opcoes[open] { padding-bottom: .25rem; }
.alerta-caixa { display: grid; gap: .5rem; padding: .9rem 1rem; margin-bottom: 1rem; background: var(--alerta-suave); color: var(--texto); border-radius: var(--r); }
.alerta-caixa > p { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; color: var(--alerta); }

/* Tela de sucesso */
.sucesso { display: grid; justify-items: center; text-align: center; gap: .6rem; padding: 2rem 0 1rem; }
.sucesso-icone { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--verde-suave); color: var(--verde); animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
.sucesso-icone .icone { width: 2.8rem; height: 2.8rem; stroke-width: 2.4; }
.sucesso h1 { font-size: 1.6rem; }
.sucesso .resumo { color: var(--texto-2); max-width: 420px; }
.sucesso-acoes { display: grid; gap: .6rem; width: 100%; max-width: 420px; margin-top: 1rem; }

/* ---------------- Estoque ---------------- */
.barra-busca { position: sticky; top: calc(var(--topo-h) + env(safe-area-inset-top)); z-index: 10; padding: .25rem 0 .5rem; margin: 0 -1rem; padding-inline: 1rem; background: var(--fundo); }
@media (min-width: 960px) { .barra-busca { top: var(--topo-h); margin: 0; padding-inline: 0; } }
.barra-busca .chips { margin: .65rem 0 0; }
.resumo-lista { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: .6rem .25rem .5rem; }
.resumo-lista select { width: auto; min-height: 40px; font-size: .88rem; padding-top: .3rem; padding-bottom: .3rem; border-radius: 12px; }
.item-nivel { width: 64px; margin-top: 5px; }

/* ---------------- Item ---------------- */
.item-hero { padding: 1.25rem; }
.item-hero-topo { display: flex; gap: .9rem; align-items: center; }
.item-hero-topo .linha-icone { width: 52px; height: 52px; border-radius: 16px; }
.item-hero h1 { font-size: 1.4rem; }
.saldo-grande { display: flex; align-items: baseline; gap: .4rem; margin: 1.1rem 0 .35rem; }
.saldo-grande strong { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.saldo-grande span { color: var(--texto-3); font-weight: 600; }
.item-nivel-grande { display: grid; gap: .35rem; margin: .5rem 0 1.1rem; }
.item-nivel-grande .nivel { height: 8px; }
.item-nivel-grande p { display: flex; justify-content: space-between; font-size: .8rem; color: var(--texto-3); }
.acoes-item { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; }
.dados { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; font-size: .92rem; }
.dados dt { color: var(--texto-3); font-weight: 500; }
.dados dd { margin: 0; font-weight: 600; text-align: right; }
.qr-cartao { display: grid; justify-items: center; gap: .5rem; padding: 1.25rem; text-align: center; }
.qr-cartao .qr { width: min(220px, 70vw); padding: 10px; background: #fff; border-radius: 14px; }
.qr { width: 100%; height: auto; display: block; }

/* ---------------- Leitor QR ---------------- */
.leitor { display: grid; gap: .75rem; }
.leitor-moldura { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; background: #0a0f0c; box-shadow: var(--sombra-3); }
@media (min-width: 640px) { .leitor-moldura { aspect-ratio: 4 / 3; } }
.leitor-video { width: 100%; height: 100%; object-fit: cover; }
.leitor-mira { position: absolute; inset: 50% auto auto 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 26px; box-shadow: 0 0 0 999px rgb(0 0 0 / 45%); }
.leitor-mira::before, .leitor-mira::after { content: ""; position: absolute; inset: -3px; border-radius: 28px; border: 4px solid #fff; mask: linear-gradient(#000 0 0) top left / 34px 34px no-repeat, linear-gradient(#000 0 0) top right / 34px 34px no-repeat, linear-gradient(#000 0 0) bottom left / 34px 34px no-repeat, linear-gradient(#000 0 0) bottom right / 34px 34px no-repeat; -webkit-mask: linear-gradient(#000 0 0) top left / 34px 34px no-repeat, linear-gradient(#000 0 0) top right / 34px 34px no-repeat, linear-gradient(#000 0 0) bottom left / 34px 34px no-repeat, linear-gradient(#000 0 0) bottom right / 34px 34px no-repeat; }
.leitor-mira::after { border: 0; inset: auto 8% 50% 8%; height: 2px; background: linear-gradient(90deg, transparent, #4ade80, transparent); animation: varrer 2.2s ease-in-out infinite; mask: none; -webkit-mask: none; }
.leitor-inicio { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 1.5rem; text-align: center; color: #e8efe9; background: radial-gradient(circle at 50% 35%, #1d3a2b, #0a0f0c 70%); }
.leitor-inicio .hero-qr-icone { width: 72px; height: 72px; border-radius: 22px; color: #fff; }
.leitor-inicio .hero-qr-icone .icone { width: 2.2rem; height: 2.2rem; }
.leitor-controles { position: absolute; left: 0; right: 0; bottom: 1rem; display: flex; justify-content: center; gap: .5rem; }
.leitor-controles .btn { background: rgb(0 0 0 / 55%); color: #fff; border-color: rgb(255 255 255 / 25%); backdrop-filter: blur(6px); }
.leitor-controles .btn[aria-pressed="true"] { background: #fff; color: #111; }
.leitor-status { text-align: center; color: var(--texto-2); font-weight: 500; min-height: 1.5em; }

/* ---------------- Produção ---------------- */
.grade-tijolos { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border: 0; padding: 0; margin: 0; }
.grade-tijolos legend { padding: 0; margin-bottom: .6rem; font-weight: 600; color: var(--texto-2); font-size: .92rem; }
.tijolo-card { display: grid; gap: .5rem; padding: .9rem; background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); }
.tijolo-card label { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.tijolo-card label .linha-icone { width: 30px; height: 30px; border-radius: 9px; }
.tijolo-card label .linha-icone .icone { width: 1rem; height: 1rem; }
.tijolo-card input { text-align: center; font-size: 1.35rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.tijolo-card .rapidos { margin-top: 0; justify-content: stretch; }
.tijolo-card .rapidos .btn { flex: 1; min-height: 36px; padding: 0; font-size: .8rem; }
.tijolo-card .dica { font-size: .78rem; }
.tijolo-card .erro-campo { font-size: .78rem; }

/* ---------------- Mais / configurações ---------------- */
.perfil { display: flex; align-items: center; gap: .9rem; padding: 1.1rem; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gradiente); color: #fff; font-weight: 750; font-size: 1.05rem; flex: none; }
.avatar.pequeno { width: 40px; height: 40px; font-size: .85rem; }
.ajuste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .8rem 1rem; min-height: 64px; }
.ajuste > .linha-texto { min-width: 9rem; }
.ajuste > .segmentos, .ajuste > select { margin-left: auto; }
.ajuste + .ajuste { border-top: 1px solid var(--linha); }
.cartao-lista { padding: .2rem 0; }
.ajuste .linha-texto { flex: 1; }
.ajuste select { width: auto; min-width: 140px; min-height: 42px; border-radius: 12px; font-size: .92rem; }
.segmentos { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: var(--superficie-3); border: 0; margin: 0; }
.segmentos input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmentos label { display: grid; place-items: center; min-height: 36px; min-width: 44px; padding: 0 .7rem; border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--texto-2); cursor: pointer; }
.segmentos input:checked + label { background: var(--superficie); color: var(--texto); box-shadow: var(--sombra-1), 0 1px 3px rgb(0 0 0 / 10%); }
.segmentos input:focus-visible + label { outline: 3px solid var(--foco); outline-offset: 1px; }
.segmentos.largo { display: flex; width: 100%; }
.segmentos.largo label { flex: 1; }

/* ---------------- Avisos (toasts) ---------------- */
.area-avisos, .area-atualizacao { position: fixed; left: 50%; transform: translateX(-50%); z-index: 70; width: min(520px, calc(100% - 1.5rem)); display: grid; gap: .5rem; pointer-events: none; }
.area-avisos { bottom: calc(var(--nav-h) + .75rem + env(safe-area-inset-bottom)); }
.area-atualizacao { top: calc(var(--topo-h) + env(safe-area-inset-top) + .5rem); }
@media (min-width: 960px) { .area-avisos { bottom: 1.25rem; } }
.aviso {
  pointer-events: auto; display: flex; align-items: center; gap: .65rem; padding: .7rem .5rem .7rem .95rem; border-radius: 16px;
  background: #18211c; color: #eef4f0; box-shadow: var(--sombra-3); animation: entrar .22s ease-out; font-size: .92rem; font-weight: 500;
}
:root[data-theme="dark"] .aviso { background: #e9f0eb; color: #111a15; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aviso { background: #e9f0eb; color: #111a15; } }
.aviso > .icone { width: 1.2rem; height: 1.2rem; }
.aviso-sucesso > .icone { color: #4ade80; }
.aviso-erro > .icone { color: #f87171; }
.aviso-alerta > .icone { color: #fbbf24; }
.aviso-info > .icone { color: #93c5fd; }
:root[data-theme="dark"] .aviso-sucesso > .icone { color: #15803d; }
:root[data-theme="dark"] .aviso-erro > .icone { color: #b91c1c; }
:root[data-theme="dark"] .aviso-alerta > .icone { color: #a16207; }
:root[data-theme="dark"] .aviso-info > .icone { color: #1d4ed8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .aviso-sucesso > .icone { color: #15803d; }
  :root:not([data-theme="light"]) .aviso-erro > .icone { color: #b91c1c; }
  :root:not([data-theme="light"]) .aviso-alerta > .icone { color: #a16207; }
  :root:not([data-theme="light"]) .aviso-info > .icone { color: #1d4ed8; }
}
.aviso-texto { flex: 1; }
.aviso .btn-icone { color: inherit; opacity: .75; width: 40px; height: 40px; }
.aviso .btn-icone:hover { background: rgb(127 127 127 / 18%); opacity: 1; }
.aviso-acao { min-height: 40px; padding: 0 .8rem; border: 0; border-radius: 10px; background: rgb(127 127 127 / 22%); color: inherit; font-weight: 700; }
.aviso.saindo { opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.area-atualizacao .aviso { background: var(--superficie); color: var(--texto); border: 1px solid var(--linha); }

/* ---------------- Janelas (bottom sheet no celular) ---------------- */
.janela {
  width: 100%; max-width: 100%; max-height: 92dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 24px 24px 0 0;
  background: var(--superficie); color: var(--texto); box-shadow: var(--sombra-3); animation: subir .25s cubic-bezier(.2, .9, .3, 1);
}
.janela::backdrop { background: rgb(8 14 11 / 50%); backdrop-filter: blur(2px); }
.janela-cabecalho { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1rem .75rem .5rem 1.25rem; background: var(--superficie); }
.janela-cabecalho::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 999px; background: var(--linha-forte); }
.janela-corpo { padding: .5rem 1.25rem 1rem; }
.janela-rodape { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; padding: .75rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); background: var(--superficie); border-top: 1px solid var(--linha); }
.janela-rodape .btn { flex: 1; }
@media (min-width: 640px) {
  .janela { width: min(540px, calc(100% - 2rem)); margin: auto; border-radius: 24px; animation: entrar .2s ease-out; }
  .janela-larga { width: min(820px, calc(100% - 2rem)); }
  .janela-cabecalho::before { display: none; }
  .janela-rodape .btn { flex: 0 0 auto; }
}
.janela .lista-cartao { box-shadow: none; background: var(--superficie-2); }

/* ---------------- Abas / segmentos de cadastros ---------------- */
.abas { display: flex; gap: 2px; padding: 3px; border-radius: 14px; background: var(--superficie-3); margin-bottom: 1rem; overflow-x: auto; }
.aba { flex: 1; min-height: 40px; padding: 0 .9rem; border: 0; border-radius: 11px; background: transparent; color: var(--texto-2); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.aba[aria-selected="true"] { background: var(--superficie); color: var(--texto); box-shadow: 0 1px 3px rgb(0 0 0 / 10%); }

/* ---------------- Login ---------------- */
.tela-login { width: 100%; max-width: 420px; display: grid; gap: 1.5rem; }
.login-marca { display: grid; justify-items: center; gap: .75rem; text-align: center; }
.login-marca img { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 12px 30px rgb(21 115 71 / 30%); }
.login-marca p { color: var(--texto-3); font-weight: 600; font-size: .9rem; }
.tela-login .cartao { padding: 1.5rem; }
.tela-login h1 { font-size: 1.5rem; margin-bottom: .35rem; }
.tela-login .cartao > .dica { margin-bottom: 1.25rem; }
.login-links { display: grid; justify-items: center; gap: .1rem; }

.cartao-centro { max-width: 440px; display: grid; justify-items: center; gap: .75rem; text-align: center; padding: 2rem 1.5rem; }

/* ---------------- Estados ---------------- */
.vazio { display: grid; justify-items: center; gap: .4rem; padding: 2.5rem 1rem; text-align: center; }
.vazio-icone { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--verde-suave); color: var(--verde); margin-bottom: .4rem; }
.vazio-icone .icone { width: 1.8rem; height: 1.8rem; }
.vazio-titulo { font-weight: 700; font-size: 1.05rem; }
.vazio .btn { margin-top: .75rem; }
.carregando { display: grid; justify-items: center; gap: 1rem; color: var(--texto-3); }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3.5px solid var(--verde-suave); border-top-color: var(--verde); animation: girar .8s linear infinite; }
.passos { padding-left: 1.3rem; display: grid; gap: .45rem; margin: 0; color: var(--texto-2); }
.passos li::marker { color: var(--verde); font-weight: 700; }

/* ---------------- Etiquetas ---------------- */
.lista-checks { border: 0; padding: .5rem 1rem; margin: 0; max-height: 360px; overflow-y: auto; background: var(--superficie); border-radius: var(--r-g); box-shadow: var(--sombra-2); }
.lista-checks legend { font-weight: 700; padding: .5rem 0; float: left; width: 100%; }
.lista-checks .botoes { clear: both; margin-bottom: .25rem; }
.folha-etiquetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; margin-top: .75rem; }
.etiqueta { display: flex; align-items: center; gap: .6rem; padding: .6rem; background: #fff; color: #111; border-radius: 12px; border: 1px dashed #b8c2bb; break-inside: avoid; }
.etiqueta .qr { width: 42%; flex: none; }
.etiqueta-texto { display: grid; gap: 2px; font-size: .8rem; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.etiqueta-texto strong { font-size: .95rem; }
.etiqueta-empresa { color: #4d5a52; font-size: .7rem; }
.impressao-apenas { display: none; }

/* ---------------- Animações ---------------- */
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes entrar { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes subir { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes varrer { 0%, 100% { transform: translateY(-110px); opacity: 0; } 50% { transform: translateY(110px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .chip, .linha, .cartao, .lista-cartao, .selo, .acao, .escolha, .kpi { border: 1px solid CanvasText; }
  .chip-radio:checked + .chip, .segmentos input:checked + label { outline: 3px solid Highlight; }
}
