/*
 * Cópia do design system do ERP (a Precificadora), oldboydev/3dprintingerp,
 * apps/web/src/app/styles.css no commit 468196e147f451def87389b2f9d2dec95148b7d7
 * (22/11/2026), docs/design-system.md v1.24.
 *
 * Só os blocos que o painel usa, copiados sem mudança; cada um diz as linhas de
 * origem, para comparar depois. O que é novo neste repositório fica em
 * painel.css e em docs/design-system.md daqui. Não edite este arquivo: atualize
 * a cópia a partir do ERP e troque o commit acima.
 */

/* --- styles.css 1-159 --- */
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Nunito+Sans:wght@500;600;700;800&display=swap");

/**
 * Precificadora — design system "Oficina de camadas".
 *
 * A regra que organiza tudo abaixo: a marca mora nos detalhes, o dado fica
 * sóbrio. A casca é quente e arejada; a mesa é branca, com níveis e bordas
 * legíveis. Cor só aparece para contexto, ação ou estado — nunca como enfeite.
 *
 * Nenhuma regra abaixo do bloco de tokens usa cor literal: toda cor passa
 * por um token semântico, que é o que permite trocar densidade ou tema
 * mexendo em uma variável em vez de varrer o arquivo.
 */

/* =========================================================
   Tokens
   ========================================================= */
:root {
  /* Primitivos — respondem "que cor é essa". */
  --fc-cream: #fff8ef;
  --fc-paper: #ffffff;
  --fc-line: #9c8977;
  --fc-mint-100: #e3f4ef;
  --fc-mint-400: #31a58d;
  --fc-mint-700: #1e7568;
  --fc-butter-100: #fff3d6;
  --fc-butter-400: #c77800;
  --fc-butter-700: #8a5300;
  --fc-coral-100: #ffeaee;
  --fc-coral-400: #c34f6b;
  --fc-coral-700: #9c3d55;
  --fc-caramel-500: #9a5b2e;
  --fc-ink: #202a3b;
  --fc-graphite: #526078;
  --fc-success: #187653;
  --fc-danger: #b94047;
  --fc-action: #287e72;
  --fc-action-soft: #e3f4ef;
  --fc-info: #75416d;
  --fc-info-soft: #f7eaf3;
  --fc-catalog: #a0523e;

  /* Semânticos — respondem "para que serve". */
  --surface-shell: var(--fc-cream);
  --surface-desk: var(--fc-paper);
  --surface-field: var(--fc-paper);
  --text: var(--fc-ink);
  --text-weak: var(--fc-graphite);
  --border: var(--fc-line);
  --action: var(--fc-action);
  --action-text: var(--fc-paper);
  --action-soft: var(--fc-action-soft);
  /* Texto de ação sobre --action-soft: o verde de --action dá 4,27:1 sobre
     ela, abaixo dos 4,5:1; este dá 4,86:1 (#186). */
  --action-soft-text: var(--fc-mint-700);
  --action-info: var(--fc-info);
  --action-info-soft: var(--fc-info-soft);
  --focus: var(--fc-action);

  /* A trinca do logo. Reservada: nunca decorativa. */
  --layer-production: var(--fc-mint-400);
  --layer-fees: var(--fc-butter-400);
  --layer-profit: var(--fc-coral-400);

  /* Tom escuro de cada camada, só para texto: --layer-production etc. dão
     3,05:1 sobre branco, abaixo dos 4,5:1 que o design system exige para
     texto. Estes são os que pintam títulos de bloco e de painel. */
  --layer-production-text: var(--fc-mint-700);
  --layer-fees-text: var(--fc-butter-700);
  --layer-profit-text: var(--fc-coral-700);

  --state-positive: var(--fc-success);
  --state-warning: var(--fc-butter-400);
  --state-warning-soft: var(--fc-butter-100);
  /* Texto sobre --state-warning-soft: o âmbar cru não chega a 4,5:1. */
  --state-warning-text: var(--fc-butter-700);
  --state-danger: var(--fc-danger);
  --state-danger-soft: var(--fc-coral-100);

  /* Uma família por papel, sem exceção decorativa. */
  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --font-data: "IBM Plex Mono", Consolas, monospace;

  --radius-data: 8px;
  --radius-field: 12px;
  --radius-card: 20px;
  --radius-highlight: 28px;
  --shadow: 0 12px 32px rgb(72 60 42 / 8%);
  --shadow-drawer: -12px 0 32px rgb(72 60 42 / 18%);
  --modal-backdrop: rgb(32 42 59 / 38%);
  --button-height: 44px;

  /* Cores próprias das áreas de catálogo, precificação e estoque. */
  --mint-mid: var(--fc-mint-100);
  --mint-pale: var(--fc-mint-100);
  --catalog: var(--fc-catalog);
  --catalog-pale: var(--fc-action-soft);
  --pricing: var(--fc-action);
  --pricing-pale: var(--fc-action-soft);
  --warm: var(--fc-caramel-500);

  /* Compatibilidade: as telas de catálogo e estoque referenciam os nomes
     anteriores. Ficam como apelidos dos tokens semânticos até serem
     migradas, para que uma mudança de paleta continue valendo para elas. */
  --cream: var(--surface-shell);
  --paper: var(--surface-desk);
  --mint: var(--layer-production);
  --mint-deep: var(--action);
  --ink: var(--text);
  --muted: var(--text-weak);
  --line: var(--border);
  --danger: var(--state-danger);
  --success: var(--state-positive);

  /* A casca (#411): a barra do topo, a de baixo do celular e o que a de
     baixo ocupa no pé da página (zero na mesa, onde ela não aparece). */
  --top-bar-height: 64px;
  --tab-bar-height: 64px;
  --shell-bottom: 0px;
  /* A barra de ação da subtela (#416): 48 px de botão, 12 px de cada lado e o
     fio de cima. */
  --action-bar-height: 73px;

  /* O recuo da folha: a barra do topo mais um respiro. O `price-construction-
     table.spec` prova a relação com `.topBar` e `.tabBar`, não esta
     constante. */
  --sheet-offset: 88px;

  /* A largura e o recuo do conteúdo, que as barras do topo seguem em tela
     larga (#24). */
  --content-width: 1440px;
  --gutter: clamp(20px, 5vw, 56px);
}

@media (max-width: 899.98px) {
  :root {
    --top-bar-height: 56px;
    --shell-bottom: calc(
      var(--tab-bar-height) + env(safe-area-inset-bottom, 0px)
    );
    --sheet-offset: 72px;
  }
}

/* Densidade: só o ar muda entre os modos, nunca cor ou tipografia. */
:root,
[data-density="comfortable"] {
  --field-height: 46px;
  --cell-py: 14px;
  --section-gap: 32px;
}

[data-density="compact"] {
  --field-height: 38px;
  --cell-py: 8px;
  --section-gap: 20px;
}


/* --- styles.css 160-447 --- */
/* =========================================================
   Base
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* O campo que recebe o foco, ou o alvo de `scrollIntoView`, para acima da
     barra de baixo do celular (#411), e não atrás dela. */
  scroll-padding-bottom: var(--shell-bottom);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface-shell);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 40px);
}

h2 {
  margin: 0;
  font-size: 24px;
}

h3 {
  margin: 0;
  font-size: 19px;
}

p {
  margin: 0;
}

/* Sobrancelha, rótulo, legenda: o vocabulário curto da interface. */
.eyebrow {
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: var(--action);
}

.subtitle {
  max-width: 56ch;
  color: var(--text-weak);
}

/* Todo dinheiro, percentual e markup: mono tabular, alinhado à direita.
   Sem isso a comparação vertical entre canais não existe. */
.mono {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* =========================================================
   Controles
   ========================================================= */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-data);
}

input,
select {
  height: var(--field-height);
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  background: var(--surface-field);
  font-size: 14.5px;
  font-weight: 600;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

input,
select,
textarea {
  width: 100%;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--layer-production);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--action);
}

select {
  appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentcolor 50%),
    linear-gradient(135deg, currentcolor 50%, transparent 50%);
  background-position:
    right 16px center,
    right 11px center;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

/* Rótulo sempre visível. Placeholder é exemplo, nunca rótulo. */
label {
  display: block;
  position: relative;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

label > input,
label > select {
  margin-top: 6px;
}

/* O catálogo e o estoque usam `.unit` para dicas ("opcional", "sugestão
   editável"), não para unidades. Como dica, ela acompanha o rótulo: dentro
   do campo, um texto longo passaria por baixo do que a usuária digita. */
.unit {
  display: inline-block;
  /* Alguns rótulos das telas novas são grid; sem isto o chip estica. */
  justify-self: start;
  width: fit-content;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--action-soft);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-weak);
  vertical-align: 1px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--button-height);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-field);
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.primary {
  background: var(--action);
  color: var(--action-text);
}

/* O botão Destrutivo do design system: a geometria do primário, em Perigo. */
.primary.danger {
  background: var(--danger);
}

.primary:hover:not(:disabled) {
  transform: translateY(-2px);
}

.secondary {
  border-color: var(--border);
  background: var(--surface-desk);
  color: var(--text);
}

.primary:disabled,
.secondary:disabled {
  opacity: 0.55;
  cursor: progress;
}

.full {
  width: 100%;
}

.linkButton {
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Alvo de 44 × 44 px em ação de texto (design-system.md, Acessibilidade): a
   área de toque cresce num pseudo-elemento, e a caixa, a linha e o anel de
   foco continuam do tamanho do texto (#90, #91). */
.tertiaryAction,
.linkButton {
  position: relative;
}

.tertiaryAction::after,
.linkButton::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}

/* =========================================================
   Marca e Pilha de Valor
   ========================================================= */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand b {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.05;
}

.brand small {
  display: block;
  font-size: 12px;
  line-height: 17px;
  font-weight: 600;
  color: var(--text-weak);
}

/* O logo é transparente e não é quadrado: cabe inteiro na caixa. */
.symbol {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

/* --- styles.css 486-1645 --- */
/* =========================================================
   Acesso — zona quente em estado puro
   ========================================================= */
.loginShell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      760px 420px at 12% 4%,
      var(--action-soft) 0%,
      transparent 64%
    ),
    radial-gradient(
      620px 380px at 92% 96%,
      var(--state-warning-soft) 0%,
      transparent 62%
    ),
    var(--surface-shell);
  font-size: 15px;
}

.loginCard {
  display: grid;
  width: min(444px, 100%);
  gap: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-highlight);
  background: var(--surface-desk);
  box-shadow: var(--shadow);
}

.loginCard .brand {
  margin-bottom: 6px;
}

.loginCard h1 {
  font-size: 32px;
}

.loginCard > p:not(.eyebrow):not(.feedback) {
  color: var(--text-weak);
}

.loginCard .primary {
  margin-top: 6px;
}

/* =========================================================
   Casca
   ========================================================= */

/* A Pilha aparece na navegação ativa — é assim que a v1.0 pediu. */

.content {
  display: grid;
  align-content: start;
  gap: var(--section-gap);
  min-width: 0;
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 36px var(--gutter) 64px;
}

/* =========================================================
   Casca do app (#411): no celular, a barra do topo com o Menu e a barra de
   baixo com o "+"; a partir de 900 px, o menu lateral. Parte do celular.
   ========================================================= */
.appShell {
  min-height: 100vh;
  padding-bottom: var(--shell-bottom);
}

.topBar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--top-bar-height);
  padding: 0 8px 0 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-shell);
}

.topBarLogo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.topBarTitle {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* A pílula do Bling também é `.blingBadge`, que a mostra: o seletor composto
   pesa mais e a esconde no celular, onde ela mora no Menu. */
.topBarPath,
.topBar > .topBarBling,
.appBrand {
  display: none;
}

.menuButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-field);
  background: transparent;
  color: var(--text);
}

/* O sino dos avisos (#456): o botão de 44 px do Menu, com o selo de Tarefas
   no canto de cima do ícone. No celular fica antes do Menu; na subtela, no
   fim da barra; na mesa, depois da pílula do Bling. */
.alertBell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius-field);
  background: transparent;
  color: var(--text);
}

.alertBell .shellBadge {
  position: absolute;
  top: 2px;
  left: calc(50% + 2px);
}

/* A subtela (#416): a seta de voltar no lugar da mascote e nada à direita.
   A barra de baixo some, e o que fica preso no pé é a barra de ação da
   própria tela. Na mesa, a seta some e o caminho leva o item no fim. */
.topBarBack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -8px;
  border-radius: var(--radius-field);
  color: var(--text);
}

.subScreen .menuButton,
.subScreen .tabBar {
  display: none;
}

@media (max-width: 899.98px) {
  :root:has(.appShell.subScreen) {
    --shell-bottom: 0px;
  }

  /* O campo que recebe o foco para acima da barra de ação, e não atrás. */
  :root:has(.actionBar) {
    scroll-padding-bottom: calc(
      var(--shell-bottom) + var(--action-bar-height) +
        env(safe-area-inset-bottom, 0px)
    );
  }
}

/* A ação principal presa no pé da tela, sempre à vista no celular, mesmo na
   página curta: `fixed`, e não `sticky`, que a deixava no meio da tela
   quando a página não passava da janela. Para acima da barra de baixo quando
   ela existe (`--shell-bottom`), e a página reserva a altura dela no fim. Na
   mesa, vira a linha de botões do fim do formulário. */
.actionBar {
  position: fixed;
  right: 0;
  bottom: var(--shell-bottom);
  left: 0;
  z-index: 7;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-desk);
}

.subScreen .actionBar {
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.actionBar > * {
  flex: 1 1 0;
  min-height: 48px;
}

.actionBar > .secondaryButton {
  flex: 0 1 40%;
}

@media (min-width: 900px) {
  .topBarBack {
    display: none;
  }

  .actionBar,
  .subScreen .actionBar {
    position: static;
    margin: 24px 0 0;
    padding: 0;
    border-top: 0;
    background: transparent;
  }

  .actionBar > *,
  .actionBar > .secondaryButton {
    flex: 0 0 auto;
  }
}

.shellIcon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* O Menu do celular é o próprio menu lateral, aberto entre as duas barras. */
.appMenu {
  display: none;
}

/* O Menu aberto fica por cima da pilha de avisos (`.toaster`, 10): o aviso
   cobria os primeiros links até alguém fechá-lo (#456). */
.appMenu.open {
  position: fixed;
  inset: var(--top-bar-height) 0 var(--shell-bottom);
  z-index: 11;
  display: block;
  overflow-y: auto;
  padding: 16px;
  background: var(--surface-shell);
}

.menuGroup {
  margin-bottom: 16px;
}

/* O grupo do Início (#415) é só do menu lateral: no celular o Início mora na
   barra de baixo, e o Menu não o repete (`celular-menu.png`). */
.menuGroupDeskOnly {
  display: none;
}

.menuGroupLabel {
  margin: 0 0 8px 4px;
  color: var(--text-weak);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.menuGroup > ul,
.appMenuFoot {
  margin: 0;
  padding: 0 16px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-desk);
}

.menuGroup > ul > li + li,
.menuBling + .signOut {
  border-top: 1px solid var(--border);
}

.menuArea,
.menuBling,
.signOut {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  text-decoration: none;
}

.menuAreaIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-field);
  background: var(--action-soft);
  color: var(--action-soft-text);
}

.menuAreaText {
  display: grid;
  min-width: 0;
}

.menuAreaText small {
  color: var(--text-weak);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.menuChevron {
  margin-left: auto;
  color: var(--text-weak);
}

/* No Menu do celular, o Bling e o Sair fecham o painel de Configurar, como no
   desenho (`celular-menu.png`): o último grupo perde o pé, e o pé do menu
   continua o painel dele, com o fio entre as linhas. */
@media (max-width: 899.98px) {
  .menuGroup:last-child {
    margin-bottom: 0;
  }

  .menuGroup:last-child > ul {
    border-bottom: 0;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
  }

  /* O fio entre Cadastros e o Bling fica recuado como os outros da lista. */
  .appMenuFoot {
    border-top: 0;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
  }

  .appMenuFoot > :first-child {
    border-top: 1px solid var(--border);
  }
}

.menuArea[aria-current] {
  color: var(--action-soft-text);
}

.menuSections {
  margin: 0;
  padding: 0 0 8px 58px;
  list-style: none;
}

.menuSections a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-data);
  color: var(--text-weak);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.menuSections a[aria-current="page"] {
  background: var(--action-soft);
  color: var(--action-soft-text);
  font-weight: 800;
}

.signOut:disabled {
  color: var(--text-weak);
  cursor: default;
}

.signOutIcon {
  background: var(--state-warning-soft);
  color: var(--state-warning-text);
}

.signOutFailure {
  padding: 0 0 12px;
  color: var(--state-danger);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

/* A situação do Bling, no tom do selo: conectado em menta, desconectado em
   âmbar, conferindo ou falha em creme. O texto diz o estado. */
.blingBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-shell);
  color: var(--text-weak);
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
}

.blingPositive {
  background: var(--action-soft);
  color: var(--action-soft-text);
}

.blingWarning {
  background: var(--state-warning-soft);
  color: var(--state-warning-text);
}

.blingPositive::before,
.blingWarning::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--state-positive);
}

.blingWarning::before {
  background: var(--state-warning);
}

/* A barra de baixo: as quatro áreas de operar e o "+" no meio, ao alcance
   do polegar. */
.tabBar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: var(--shell-bottom);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--border);
  background: var(--surface-desk);
}

.tabItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  color: var(--text-weak);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  /* O rótulo que não cabe na coluna de 390 px quebra em linhas centradas sob
     o ícone, e não encostadas na borda. */
  text-align: center;
  text-decoration: none;
}

.tabItem[aria-current="page"] {
  color: var(--action);
}

.tabItem[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24%;
  left: 24%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--action);
}

/* O selo de Tarefas (#415): o número de atrasadas. O fundo é o âmbar de texto
   porque o âmbar cru dá 4,27:1 com o branco, abaixo dos 4,5:1. */
.shellBadge {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--state-warning-text);
  color: var(--action-text);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.tabItem .shellBadge {
  position: absolute;
  top: 6px;
  left: calc(50% + 6px);
}

/* No Menu do celular a linha de Tarefas fica sem o selo, como no desenho: o
   número já está na barra de baixo. */
.menuArea .shellBadge {
  display: none;
}

.tabRegister {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
}

.tabRegister > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-top: -18px;
  border: 4px solid var(--surface-desk);
  border-radius: 50%;
  background: var(--action);
  color: var(--action-text);
  box-shadow: var(--shadow);
}

.tabRegister .shellIcon {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}

/* A folha de baixo (#411, generalizada na #413 e na #414): presa ao pé, sobre
   o véu, na largura toda, abaixo de 900 px; a partir dele, no centro, com
   480 px. A folha "Registrar", a "Categorias do produto" e a folha de edição
   do preço são ela. */
dialog.bottomSheet {
  inset: auto 0 0;
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  border: 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--surface-desk);
  color: var(--text);
}

dialog.bottomSheet::backdrop {
  background: var(--modal-backdrop);
}

.bottomSheetHandle {
  width: 40px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 2px;
  background: var(--border);
}

.bottomSheet h2 {
  font-size: 20px;
  line-height: 26px;
}

.bottomSheet > p,
.bottomSheetLead {
  margin: 4px 0 8px;
  color: var(--text-weak);
  font-size: 14px;
}

/* "Cancelar" (secundário) e a ação primária, lado a lado, na largura. */
.bottomSheetActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

/* Com uma classe só, o `width: max-content` do `.secondaryButton`, que vem
   depois no arquivo, ganhava, e "Cancelar" ficava com a largura do texto. */
.bottomSheet .bottomSheetActions > * {
  width: 100%;
  min-height: 48px;
}

@media (min-width: 900px) {
  dialog.bottomSheet {
    inset: 0;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100dvh - 64px);
    margin: auto;
    padding: 24px;
    border-radius: var(--radius-card);
  }

  .bottomSheetHandle {
    display: none;
  }
}

/* A folha de edição: os campos de hoje do ajuste, um embaixo do outro. */
.editSheet form {
  display: grid;
  gap: 12px;
}

.editSheet .catalogFormGrid {
  grid-template-columns: 1fr;
}

.editSheet .bottomSheetActions {
  margin-top: 8px;
}

.editSheetChannels {
  display: grid;
  gap: 16px;
}

.registerList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.registerList li + li {
  border-top: 1px solid var(--border);
}

.registerList a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}

.registerText {
  display: grid;
}

.registerText small {
  color: var(--text-weak);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.registerIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-field);
  background: var(--action-soft);
  color: var(--action-soft-text);
}

.registerIconWarning {
  background: var(--state-warning-soft);
  color: var(--state-warning-text);
}

.registerIconInfo {
  background: var(--action-info-soft);
  color: var(--action-info);
}

.registerSheet .registerCancel {
  width: 100%;
  margin-top: 8px;
}

/* A lista do sino (#456) na folha de baixo, com as linhas da "Registrar".
   Sem a linha que explica o título, o título leva o respiro dela; a frase
   longa quebra dentro da linha, com o ícone no alto. */
.alertsSheet h2 {
  margin-bottom: 8px;
}

.alertsList .registerIcon {
  align-self: start;
  margin-top: 8px;
}

.alertsList a {
  align-items: start;
  padding: 8px 0;
}

.alertsList .registerText small {
  overflow-wrap: anywhere;
}

.alertsMessage {
  margin: 8px 0 4px;
  color: var(--text-weak);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

@media (min-width: 900px) {
  .appShell {
    display: grid;
    grid-template-areas:
      "menu top"
      "menu page";
    grid-template-columns: 248px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    padding-bottom: 0;
  }

  .topBar {
    grid-area: top;
    gap: 16px;
    padding: 0 var(--gutter);
  }

  .topBarLogo,
  .topBarTitle,
  .menuButton,
  .tabBar,
  .menuBling,
  .menuAreaText small {
    display: none;
  }

  .topBarPath {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--text-weak);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }

  /* O item sem espaço no meio do caminho (o nome do produto no preço, #414)
     encolhe com reticências, como o último. */
  .topBarStep {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topBarPath b {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topBar > .topBarBling {
    display: inline-flex;
    white-space: nowrap;
  }

  .appMenu,
  .appMenu.open {
    position: sticky;
    top: 0;
    z-index: auto;
    display: flex;
    flex-direction: column;
    grid-area: menu;
    height: 100vh;
    overflow-y: auto;
    padding: 16px 12px;
    border-right: 1px solid var(--border);
    background: var(--surface-desk);
  }

  .appBrand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-bottom: 8px;
    padding: 4px 8px;
    color: var(--text);
    text-decoration: none;
  }

  .appBrandLogo {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .appBrand b {
    display: block;
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 20px;
    white-space: nowrap;
  }

  .appBrand small {
    display: block;
    color: var(--text-weak);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
  }

  .appPage {
    grid-area: page;
    min-width: 0;
  }

  .menuGroup {
    margin: 0;
  }

  .menuGroupLabel {
    margin: 0;
    padding: 16px 12px 6px;
    font-size: 12px;
    line-height: 16px;
  }

  .menuGroup > ul,
  .appMenuFoot {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .menuGroup > ul > li + li,
  .menuBling + .signOut {
    border-top: 0;
  }

  .menuArea,
  .signOut {
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-field);
    font-size: 14px;
    line-height: 20px;
  }

  .menuArea:hover,
  .signOut:hover:not(:disabled) {
    background: var(--surface-shell);
  }

  /* Só a área da tela é posicionada, para o fio à esquerda: posicionada, a
     área aberta pintaria por cima da borda do primeiro link do submenu e
     tiraria 1 px do alvo dele. */
  .menuArea[aria-current="page"] {
    position: relative;
    background: var(--action-soft);
  }

  .menuArea[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: -12px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--action);
  }

  .menuAreaIcon,
  .signOutIcon {
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: none;
    color: inherit;
  }

  .menuAreaIcon .shellIcon {
    width: 20px;
    height: 20px;
  }

  .menuChevron {
    width: 16px;
    height: 16px;
  }

  /* Na mesa, a seta só marca a área que tem submenu. */
  .menuChevronPhoneOnly {
    display: none;
  }

  .menuGroupDeskOnly {
    display: block;
  }

  .menuArea .shellBadge {
    display: inline-block;
    margin-left: auto;
  }

  .menuSections {
    padding: 0 0 6px 44px;
  }

  .appMenuFoot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
}

/* =========================================================
   Cabeçalho da página
   ========================================================= */
.pageHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.integrationNotice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  max-width: 760px;
  margin: -8px 0 28px;
  padding: 15px 18px;
  border: 1px solid var(--action-info);
  border-left: 5px solid var(--action-info);
  border-radius: var(--radius-field);
  background: var(--action-info-soft);
  color: var(--ink);
}
.integrationNotice > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--action-info);
  color: #fff;
  font-weight: 800;
}
.integrationNotice strong {
  display: block;
  margin-bottom: 2px;
}
.integrationNotice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.pageHeader > div {
  display: grid;
  gap: 6px;
}

.feedback {
  padding: 13px 18px;
  border-left: 4px solid var(--action);
  border-radius: 0 var(--radius-field) var(--radius-field) 0;
  background: var(--action-soft);
  font-size: 14px;
  font-weight: 600;
}

.feedback.error {
  border-color: var(--state-danger);
  background: var(--state-danger-soft);
  color: var(--state-danger);
}

/* =========================================================
   Painéis e formulário — zona fria
   ========================================================= */
.panel {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-desk);
}

/* A pilha do aviso flutuante da casca (#456): no celular, 8 px abaixo da
   barra do topo, com 16 px de cada lado; na mesa, 16 px abaixo dela, no alto
   à direita, alinhada à margem da página. O mais novo fica em cima. */
/* Numa janela baixa, a pilha rola por dentro, e o "Fechar aviso" com o foco
   fica à vista. O respiro em volta dos avisos guarda a sombra, que o
   `overflow` cortaria, e não pega clique: só o aviso pega. */
.toaster {
  position: fixed;
  top: var(--top-bar-height);
  right: 0;
  left: 0;
  z-index: 10;
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: calc(100dvh - var(--top-bar-height));
  padding: 8px 16px 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* O foco rola o "Fechar aviso" para dentro do respiro, com o anel à vista. */
  scroll-padding: 16px 0 48px;
  pointer-events: none;
}

/* Presa por baixo do Menu aberto do celular, a pilha não pega toque nem
   foco, mas numa janela baixa ainda era desenhada por cima da faixa de cima
   da barra de baixo: escondida, ela volta quando o Menu fecha (#456). */
.toaster[inert] {
  visibility: hidden;
}

@media (min-width: 900px) {
  .toaster {
    right: calc(var(--gutter) - 32px);
    left: auto;
    width: calc(min(430px, 100vw - 32px) + 64px);
    padding: 16px 32px 48px;
  }
}

.toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--mint-deep);
  border-radius: var(--radius-field);
  background: var(--paper);
  box-shadow: 0 14px 32px rgb(72 60 42 / 14%);
  pointer-events: auto;
}
.toastMark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-deep);
  color: #fff;
  font-weight: 900;
}
.toast strong {
  display: block;
  margin-bottom: 2px;
}
/* O título de tarefa de 160 caracteres quebra dentro do aviso. */
.toast strong,
.toast p {
  overflow-wrap: anywhere;
}
.toast p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
/* O "×" tem 44 × 44 px de alvo com o mesmo desenho: a margem negativa o
   mantém no lugar do de 28 px. */
.toastClose {
  width: 44px;
  height: 44px;
  margin: -9px -9px -9px 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-data);
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}
.toast-error {
  border-left-color: var(--danger);
}
.toast-error .toastMark {
  background: var(--danger);
}
/* O aviso novo: a marca no âmbar de texto, porque o âmbar cru dá 4,27:1 com
   o branco. */
.toast-warning {
  border-left-color: var(--state-warning);
}
.toast-warning .toastMark {
  background: var(--state-warning-text);
}
.toastAction {
  min-height: 44px;
  margin-top: 10px;
  padding: 0 16px;
}

.panelHeading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panelHeading > div {
  display: grid;
  gap: 4px;
}

/* --- styles.css 1711-1764 --- */

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.memoryLoading {
  color: var(--text-weak);
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 900px) {
  .content {
    padding: 28px 20px 56px;
  }
}

@media (max-width: 620px) {
  .pageHeader,
  .sectionHeading,
  .panelHeading {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .primary:hover:not(:disabled) {
    transform: none;
  }
}

/* --- styles.css 2316-2371 --- */
/* Rótulo de ação não quebra no meio: partido em duas linhas, o link teria a
   área de toque partida também, e um pedaço cairia no vizinho (#100). */
.tertiaryAction {
  color: var(--mint-deep);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.tertiaryAction:hover {
  text-decoration: underline;
}

.materialsPage {
  max-width: 1120px;
}

/* Ações de linha do estoque: texto discreto, cabem numa linha densa. */

/* Ação secundária de verdade — "Adicionar peça", "Editar composição",
   "Configurar embalagem", "Cancelar". Antes era um link sublinhado e
   parecia rodapé, não ação. Mesma geometria do .primary; serve a <button>
   e a <a>. */
.secondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  min-height: var(--button-height);
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  background: var(--surface-desk);
  color: var(--action);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.secondaryButton:hover:not(:disabled) {
  border-color: var(--action);
  background: var(--action-soft);
  color: var(--action-soft-text);
}

.secondaryButton:disabled {
  opacity: 0.55;
  cursor: progress;
}

/* --- styles.css 2701-2764 --- */
/* Botões juntos, o atual em ação e pressionado: "Lista | Calendário" (#354) e
   o filtro com contagem (#417). Sem `overflow: hidden` no grupo, que cortaria
   o anel de foco de cada botão. */
.segmentedButtons {
  display: inline-flex;
}
.segmentedButtons button {
  min-height: var(--button-height);
  padding: 0 14px;
  border: 1px solid var(--border);
  border-left-width: 0;
  background: var(--surface-desk);
  color: var(--action);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}
.segmentedButtons button:first-child {
  border-left-width: 1px;
  border-radius: var(--radius-field) 0 0 var(--radius-field);
}
.segmentedButtons button:last-child {
  border-radius: 0 var(--radius-field) var(--radius-field) 0;
}
.segmentedButtons button[aria-pressed="true"] {
  border-color: var(--action);
  background: var(--action);
  color: var(--action-text);
}
.segmentedButtons button:hover:not(:disabled, [aria-pressed="true"]) {
  background: var(--action-soft);
  color: var(--action-soft-text);
}
.segmentedButtons button:disabled {
  cursor: progress;
}
/* Filtro com contagem (#417): no celular, as opções dividem a largura da
   lista; na mesa, 320 px, à esquerda (`prototipo.html` da #410, `.seg`). */
.segmentedButtons.countFilter {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}
@media (min-width: 900px) {
  .segmentedButtons.countFilter {
    justify-self: start;
    width: 320px;
  }
}
.countFilter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  white-space: nowrap;
}
/* Sem a opacidade do protótipo: misturada ao fundo, a contagem caía abaixo
   do contraste de 4,5:1 (revisão local da #417). */
.countFilterCount {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
}

/* --- styles.css 3387-3445 --- */
/* O interruptor "Mostrar todas as contas": checkbox nativo, trilho desenhado. */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

/* O checkbox nativo cobre o rótulo inteiro (some visualmente, mas o alvo de
   clique continua do tamanho do controle) — não um retângulo de 1px, que
   deixaria o trilho por cima interceptando o clique. */
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.switch .track {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: var(--border);
  transition: background 0.18s;
}

.switch .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-desk);
  transition: transform 0.18s;
}

.switch input:checked + .track {
  background: var(--action);
}

.switch input:checked + .track::after {
  transform: translateX(18px);
}

.switch input:focus-visible + .track {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* --- styles.css 4926-4940 --- */
/* No celular, o campo tem 16 px: abaixo disso o Safari do iPhone dá zoom na
   página ao focar o campo (#411). O `:is` herda o peso do argumento mais
   específico, o `input` com os quatro `:not`, e vence as regras de tela,
   como `.sheet .field input`, sem `!important`. */
@media (max-width: 899.98px) {
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
        [type="file"]
      ),
    select,
    textarea
  ) {
    font-size: 16px;
  }
}

/* --- styles.css 5099-5176 --- */
/* A lista que leva à tela do item: o número em destaque à direita, com a
   nota embaixo. Sem estoque mínimo, nenhuma linha muda de cor pelo saldo. */
.stockList {
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-desk);
  box-shadow: var(--shadow);
  list-style: none;
}

.stockRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.stockList > li:last-child .stockRow {
  border-bottom: 0;
}

.stockRowMain,
.stockRowSide {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.stockRowSide {
  justify-items: end;
  text-align: right;
}

.stockRowName {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  overflow-wrap: anywhere;
}

.stockRowMeta {
  display: flex;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  gap: 0 12px;
  color: var(--text-weak);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.stockRowBalance {
  font-family: var(--font-data);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.stockRowCost {
  color: var(--text-weak);
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  white-space: nowrap;
}

.rowChevron {
  width: 20px;
  height: 20px;
  color: var(--text-weak);
}

/* --- styles.css 5727-5757 --- */
/* A etiqueta da situação do preço: âmbar quando o custo ou a taxa mudou,
   ameixa quando não há preço; o preço em dia não tem. */
.priceTag {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  white-space: nowrap;
}

.priceTag.attention {
  background: var(--state-warning-soft);
  color: var(--state-warning-text);
}

.priceTag.info {
  background: var(--action-info-soft);
  color: var(--action-info);
}

/* A tarefa atrasada no Início (#415): Perigo sobre o rosado, 4,70:1. */
.priceTag.danger {
  background: var(--state-danger-soft);
  color: var(--state-danger);
}


/* --- styles.css 6255-6323 --- */
/* A fila de filtros: no celular rola de lado dentro dela, até a borda da
   tela, e a página não rola; na mesa quebra em linhas. O respiro de cima e
   de baixo é o do anel de foco, que a rolagem cortaria; o dos lados é o
   `.content` abaixo de 900 px, de 20 px, e não o `--gutter`. */
.filterRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px -20px;
  padding: 6px 20px;
  overflow-x: auto;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}

.filterRow::-webkit-scrollbar {
  display: none;
}

/* O nome sem espaço que passa da largura da fila quebra dentro do botão. */
.filterChip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: var(--button-height);
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-desk);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: left;
  overflow-wrap: anywhere;
}

.filterChipCount {
  color: var(--text-weak);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.filterChip[aria-pressed="true"] {
  border-color: var(--action);
  background: var(--action-soft);
  color: var(--action-soft-text);
}

.filterChip[aria-pressed="true"] .filterChipCount {
  color: inherit;
}

.filterChip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.filterRow .tertiaryAction {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: var(--button-height);
  padding: 0 6px;
}

/* --- styles.css 6510-6516 (só a regra da fila de filtros, de dentro do bloco de 900 px) --- */
@media (min-width: 900px) {
  .filterRow {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

/* --- styles.css 6999-7002 --- */
.priceTag.positive {
  background: var(--action-soft);
  color: var(--action-soft-text);
}
