@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fontes/figtree-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fontes/figtree-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --color-bg: #F6F4F1;
  --color-surface: #FFFFFF;
  --color-surface-2: #F1EEEA;
  --color-border: #E3DED7;
  --color-text: #1C1917;
  --color-text-2: #6B635A;
  --color-primary: #C2410C;
  --color-primary-hover: #A8380A;
  --color-on-primary: #FFFFFF;
  --color-primary-text: #B23B0A;
  --color-primary-bg: #FBE9DF;
  --color-primary-ring: rgb(194 65 12 / 0.35);
  --color-success: #0F7A52;
  --color-success-bg: #E2F3EC;
  --color-success-border: #B5DFCD;
  --color-danger: #C62F2A;
  --color-danger-bg: #FBE7E6;
  --color-danger-border: #F2BFBC;
  --color-warning: #8F620C;
  --color-warning-bg: #FAF0D8;
  --color-warning-border: #EBD49C;
  --color-info: var(--color-primary-text);
  --color-info-bg: var(--color-primary-bg);
  --color-info-border: #F3CDB9;
  --color-scrim: rgb(28 25 23 / 0.45);
  --color-code-bg: #F3F0EC;
  --ring: 0 0 0 1px var(--color-border);
  --overlay: 0 0 0 1px var(--color-border), 0 12px 32px -8px rgb(28 25 23 / 0.22);
  --radius-control: 6px;
  --radius-card: 10px;
  --menu-w: 232px;
  color-scheme: light;
}
:root[data-tema="escuro"] {
  --color-bg: #141210;
  --color-surface: #1D1A17;
  --color-surface-2: #26221E;
  --color-border: #342F29;
  --color-text: #EDE8E1;
  --color-text-2: #A39A8E;
  --color-primary: #FF7A3D;
  --color-primary-hover: #FF9159;
  --color-on-primary: #1F0F06;
  --color-primary-text: #FFA473;
  --color-primary-bg: #3A2114;
  --color-primary-ring: rgb(255 122 61 / 0.45);
  --color-success: #3ACB8D;
  --color-success-bg: #12301F;
  --color-success-border: #1F4D34;
  --color-danger: #F2706A;
  --color-danger-bg: #3A1917;
  --color-danger-border: #5C2623;
  --color-warning: #E3A62F;
  --color-warning-bg: #33270D;
  --color-warning-border: #544116;
  --color-info-border: #5A331F;
  --color-scrim: rgb(0 0 0 / 0.6);
  --color-code-bg: #26221E;
  --overlay: 0 0 0 1px var(--color-border), 0 12px 32px -8px rgb(0 0 0 / 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body { background: var(--color-bg); color: var(--color-text); font: 400 14px/1.5 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
a { color: var(--color-primary-text); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--color-primary-ring); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--color-border) transparent; }
svg.icone { flex: none; stroke-width: 1.75; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

.titulo-pagina { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.titulo-secao { font-size: 16px; font-weight: 600; }
.meta { font-size: 12px; color: var(--color-text-2); }
.suave { color: var(--color-text-2); }
.erro { color: var(--color-danger); white-space: pre-wrap; }
.sucesso { color: var(--color-success); }
.cortar { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.espaco { flex: 1; min-width: 0; }

.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--radius-control); border: 0; background: var(--color-surface); box-shadow: var(--ring); cursor: pointer; font-weight: 500; white-space: nowrap; transition: background 0.12s, box-shadow 0.12s; }
.botao:hover:not(:disabled) { background: var(--color-surface-2); }
.botao:disabled { opacity: 0.5; cursor: default; }
.botao.principal { background: var(--color-primary); color: var(--color-on-primary); box-shadow: none; font-weight: 600; }
.botao.principal:hover:not(:disabled) { background: var(--color-primary-hover); }
.botao.fantasma { background: transparent; box-shadow: none; }
.botao.fantasma:hover:not(:disabled) { background: var(--color-surface-2); }
.botao.perigo { color: var(--color-danger); }
.botao.perigo:hover:not(:disabled) { background: var(--color-danger-bg); }
.botao.so-icone { width: 36px; padding: 0; }
.botao.girando > svg.icone:first-child { display: none; }
.botao.girando::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: gira 0.7s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.gira { animation: gira 0.9s linear infinite; }

.entrada, textarea.entrada { width: 100%; height: 36px; padding: 0 10px; border-radius: var(--radius-control); border: 0; background: var(--color-surface); box-shadow: var(--ring); transition: box-shadow 0.12s; }
textarea.entrada { height: auto; padding: 8px 10px; resize: vertical; line-height: 1.5; }
.entrada::placeholder { color: var(--color-text-2); }
.entrada:hover:not(:disabled) { box-shadow: 0 0 0 1px var(--color-text-2); }
.entrada:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-primary); }
.entrada:disabled { background: var(--color-surface-2); color: var(--color-text-2); }
.entrada-com-icone { position: relative; }
.entrada-com-icone svg { position: absolute; left: 10px; top: 50%; margin-top: -8px; color: var(--color-text-2); pointer-events: none; }
.entrada-com-icone .entrada { padding-left: 34px; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo > label { font-weight: 500; }
.campo .ajuda { font-size: 12px; color: var(--color-text-2); }
.codigo { font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }

.seletor { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 36px; padding: 0 10px; border-radius: var(--radius-control); border: 0; background: var(--color-surface); box-shadow: var(--ring); cursor: pointer; text-align: left; }
.seletor:hover:not(:disabled) { box-shadow: 0 0 0 1px var(--color-text-2); }
.seletor:disabled { background: var(--color-surface-2); color: var(--color-text-2); cursor: default; }
.seletor svg { color: var(--color-text-2); }
.flutuante { position: fixed; z-index: 60; min-width: 180px; max-height: 300px; overflow-y: auto; padding: 4px; background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--overlay); }
.flutuante button { display: flex; align-items: center; gap: 8px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: var(--radius-control); background: transparent; cursor: pointer; text-align: left; white-space: nowrap; }
.flutuante button:hover, .flutuante button:focus-visible { background: var(--color-surface-2); outline: none; }
.flutuante button.ativa { color: var(--color-primary-text); font-weight: 600; }
.flutuante button.perigo { color: var(--color-danger); }
.flutuante .divisor { height: 1px; margin: 4px 0; background: var(--color-border); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--color-surface-2); color: var(--color-text-2); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.sem-ponto::before { display: none; }
.badge.ok { background: var(--color-success-bg); color: var(--color-success); }
.badge.ruim { background: var(--color-danger-bg); color: var(--color-danger); }
.badge.aviso { background: var(--color-warning-bg); color: var(--color-warning); }
.badge.marca-cor { background: var(--color-primary-bg); color: var(--color-primary-text); }
.badge.pulsa::before { animation: pulsa 1.2s ease-in-out infinite; }
@keyframes pulsa { 50% { opacity: 0.25; } }

.cartao { background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--ring); }
.cartao.com-espaco { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.vazio { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 20px; text-align: center; color: var(--color-text-2); }
.vazio .titulo-secao { color: var(--color-text); }
.vazio .marca-vazio { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--color-primary-bg); color: var(--color-primary-text); }

.tabela-rolagem { overflow-x: auto; }
.tabela { width: 100%; border-collapse: collapse; }
.tabela th { padding: 10px 12px; text-align: left; font-size: 12px; font-weight: 500; color: var(--color-text-2); white-space: nowrap; }
.tabela td { padding: 12px; border-top: 1px solid var(--color-border); vertical-align: middle; }
.tabela th:first-child, .tabela td:first-child { padding-left: 20px; }
.tabela th:last-child, .tabela td:last-child { padding-right: 20px; }
.tabela .numero { text-align: right; font-variant-numeric: tabular-nums; }
.tabela .acoes { text-align: right; white-space: nowrap; width: 1%; }
.tabela tr.clicavel { cursor: pointer; }
.tabela tr.clicavel:hover td { background: var(--color-surface-2); }
.tabela .principal-celula { font-weight: 500; min-width: 220px; max-width: 420px; }
.tabela .sub { font-size: 12px; font-weight: 400; color: var(--color-text-2); }

.casca { height: 100vh; height: 100dvh; display: flex; overflow: hidden; }
.menu { width: var(--menu-w); flex: none; height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; background: var(--color-surface); box-shadow: 1px 0 0 var(--color-border); overflow-y: auto; z-index: 3; }
.menu .marca-linha { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px; margin-bottom: 12px; }
.menu .grupo { margin-top: 16px; padding: 0 12px 4px; font-size: 12px; color: var(--color-text-2); }
.menu .item { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: var(--radius-control); background: transparent; cursor: pointer; text-align: left; width: 100%; color: var(--color-text); }
.menu .item:hover { background: var(--color-surface-2); }
.menu .item.ativa { background: var(--color-primary-bg); color: var(--color-primary-text); font-weight: 600; }
.menu .pe { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.menu .maquina { display: flex; align-items: center; gap: 8px; padding: 6px 12px; }
.conteudo { flex: 1; min-width: 0; overflow-y: auto; }
.pagina { max-width: 1120px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.cabecalho-pagina { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cabecalho-pagina .sub { color: var(--color-text-2); margin-top: 4px; }
.barra-topo { display: none; }
.ferramentas { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ferramentas .w-busca { width: 256px; }
.ferramentas .w-selecao { width: 176px; }
.abas { display: flex; gap: 4px; box-shadow: inset 0 -1px 0 var(--color-border); overflow-x: auto; }
.abas button { height: 36px; padding: 0 12px; border: 0; background: transparent; cursor: pointer; color: var(--color-text-2); font-weight: 500; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.abas button:hover { color: var(--color-text); }
.abas button.ativa { color: var(--color-primary-text); box-shadow: inset 0 -2px 0 var(--color-primary); }
.grade-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grade-2 .larga { grid-column: 1 / -1; }
.linha-acoes { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.linha-acoes.fim { justify-content: flex-end; }
.secao-form { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--color-border); font-weight: 600; }

.marca { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--color-primary); color: var(--color-on-primary); flex: none; }
.marca svg { width: 62%; height: 62%; }
.marca.grande { width: 44px; height: 44px; border-radius: 12px; }
.nome-marca { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }

.fundo-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: var(--color-scrim); overflow-y: auto; }
.modal { width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--overlay); }
.modal-cabeca { display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.modal-corpo { padding: 4px 20px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.modal-pe { display: flex; justify-content: flex-end; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--color-border); }
.avisos { position: fixed; z-index: 70; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.aviso-flutuante { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--overlay); }
.aviso-flutuante svg { margin-top: 2px; }
.aviso-flutuante.ruim svg { color: var(--color-danger); }
.aviso-flutuante.ok svg { color: var(--color-success); }

.entrada-tela { min-height: 100dvh; display: grid; grid-template-columns: 1fr; background: var(--color-surface); }
.entrada-marca { display: none; }
.entrada-form { display: grid; place-items: center; padding: 24px 16px; }
.entrada-form form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.entrada-form .botao, .entrada-form .entrada { height: 40px; }

.oficina { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.oficina-topo { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 12px; background: var(--color-surface); box-shadow: 0 1px 0 var(--color-border); flex: none; z-index: 2; }
.oficina-titulo { display: flex; flex-direction: column; min-width: 0; padding: 0 4px; line-height: 1.3; }
.oficina-titulo strong { font-weight: 600; }
.oficina-corpo { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(360px, 32%) 1fr; }
.conversa { display: flex; flex-direction: column; min-height: 0; background: var(--color-surface); box-shadow: 1px 0 0 var(--color-border); z-index: 1; }
.mensagens { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 20px; }
.pedido { align-self: flex-end; max-width: 90%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--color-surface-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.pedido.desfeito, .resposta.desfeito { opacity: 0.5; text-decoration: line-through; }
.pedido .autor { display: block; margin-bottom: 2px; font-size: 12px; color: var(--color-text-2); }
.turno-bob { display: flex; gap: 10px; align-items: flex-start; }
.turno-bob .marca { width: 24px; height: 24px; border-radius: 7px; margin-top: 1px; }
.turno-bob .miolo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.resposta { overflow-wrap: anywhere; }
.resposta p { margin: 0 0 10px; white-space: pre-wrap; }
.resposta > :last-child { margin-bottom: 0; }
.resposta ul, .resposta ol { margin: 0 0 10px; padding-left: 20px; }
.resposta li { margin-bottom: 4px; }
.resposta code { padding: 1px 5px; border-radius: 4px; background: var(--color-code-bg); font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.resposta pre { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: var(--color-code-bg); overflow-x: auto; }
.resposta pre code { padding: 0; background: transparent; overflow-wrap: normal; }
.resposta .titulo-resposta { font-weight: 600; }
.passos { display: flex; flex-direction: column; gap: 2px; }
.passo { display: flex; align-items: center; gap: 8px; min-height: 24px; color: var(--color-text-2); }
.passo b { font-weight: 500; color: var(--color-text); flex: none; }
.passo.status { color: var(--color-warning); }
.resumo-turno { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 12px; color: var(--color-text-2); align-self: flex-start; }
.resumo-turno:hover { color: var(--color-text); }
.resumo-turno.sem-clique { cursor: default; }
.resumo-turno.sem-clique:hover { color: var(--color-text-2); }
.anexos-do-pedido { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ficha { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 28px; padding: 0 4px 0 10px; border-radius: 999px; background: var(--color-surface-2); font-size: 12px; color: var(--color-text); }
a.ficha { padding: 3px 10px 3px 3px; height: auto; border-radius: 8px; background: var(--color-surface); box-shadow: var(--ring); }
a.ficha:not(:has(img)) { padding-left: 10px; height: 28px; }
.ficha img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.ficha button { width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--color-text-2); }
.ficha button:hover { background: var(--color-border); }
.ficha.enviando { padding-right: 10px; color: var(--color-text-2); }

.publicacao { margin: 0 16px 12px; padding: 12px 14px; border-radius: var(--radius-card); background: var(--color-surface-2); display: flex; flex-direction: column; gap: 10px; }
.publicacao.ok { background: var(--color-success-bg); }
.publicacao.ruim { background: var(--color-danger-bg); }
.publicacao .cabeca { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.publicacao.ok .cabeca { color: var(--color-success); }
.publicacao.ruim .cabeca { color: var(--color-danger); }
.etapas { display: flex; flex-direction: column; gap: 6px; }
.etapa { display: flex; align-items: center; gap: 8px; color: var(--color-text-2); }
.etapa.feita { color: var(--color-text); }
.etapa.feita svg { color: var(--color-success); }
.etapa.atual { color: var(--color-text); font-weight: 500; }
.etapa.atual svg { color: var(--color-primary-text); }

.compositor { margin: 0 16px 16px; padding: 8px; border-radius: 12px; background: var(--color-surface); box-shadow: var(--ring); display: flex; flex-direction: column; gap: 8px; transition: box-shadow 0.12s; }
.compositor:focus-within { box-shadow: 0 0 0 2px var(--color-primary); }
.compositor textarea { width: 100%; min-height: 40px; max-height: 200px; padding: 6px 8px; border: 0; background: transparent; resize: none; line-height: 1.5; }
.compositor textarea:focus-visible { outline: none; }
.compositor .linha { display: flex; align-items: center; gap: 4px; }
.compositor .fichas { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }
.compositor .fichas:empty { display: none; }
.aviso-compositor { margin: 0 16px 8px; font-size: 12px; }
.aviso-compositor:empty { display: none; }
.botao.gravando { background: var(--color-danger); color: #fff; box-shadow: none; animation: pulsa 1.2s ease-in-out infinite; }

.previa { display: flex; flex-direction: column; min-height: 0; background: var(--color-bg); }
.previa-barra { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; flex: none; }
.previa-endereco { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--color-surface); box-shadow: var(--ring); font-size: 12px; color: var(--color-text-2); }
.alterna { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--color-surface-2); }
.alterna button { width: 32px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; cursor: pointer; color: var(--color-text-2); }
.alterna button.ativa { background: var(--color-surface); color: var(--color-text); box-shadow: var(--ring); }
.previa-palco { flex: 1; min-height: 0; display: flex; justify-content: center; padding: 0 12px 12px; }
.previa-moldura { width: 100%; height: 100%; border-radius: var(--radius-card); overflow: hidden; background: #fff; box-shadow: var(--ring); transition: width 0.2s; }
.previa-moldura.celular { width: 390px; max-width: 100%; }
.previa-moldura iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.previa-aviso { width: 100%; height: 100%; display: grid; place-items: center; padding: 24px; background: var(--color-surface); }
.abas-oficina { display: none; }

@media (min-width: 768px) {
  .grade-2 { grid-template-columns: 1fr 1fr; }
  .so-celular { display: none !important; }
}
@media (min-width: 960px) {
  .entrada-tela { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .entrada-marca { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px; background: var(--color-primary); color: var(--color-on-primary); position: relative; overflow: hidden; }
  .entrada-marca::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.09) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 70%); pointer-events: none; }
  .entrada-marca > * { position: relative; z-index: 1; }
  .entrada-marca .marca { background: var(--color-on-primary); color: var(--color-primary); }
  .entrada-marca .frase { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; max-width: 440px; }
  .destaques { display: flex; flex-direction: column; gap: 16px; max-width: 440px; }
  .destaque { display: flex; gap: 12px; align-items: flex-start; }
  .destaque .icone-caixa { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgb(255 255 255 / 0.16); }
  .destaque strong { display: block; font-weight: 600; }
  .destaque span { opacity: 0.85; }
  .so-na-entrada-pequena { display: none !important; }
}
@media (max-width: 767px) {
  .casca { flex-direction: column; }
  .barra-topo { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 12px; background: var(--color-surface); box-shadow: 0 1px 0 var(--color-border); flex: none; }
  .menu { position: fixed; inset: 0 auto 0 0; z-index: 40; width: min(280px, 86vw); transform: translateX(-100%); transition: transform 0.18s; box-shadow: none; padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .casca.menu-aberto .menu { transform: none; box-shadow: var(--overlay); }
  .oficina-topo { padding: 0 8px; gap: 4px; }
  .oficina-topo .marca { display: none; }
  .oficina-topo .rotulo-largo { display: none; }
  .oficina-topo .botao.principal { width: 40px; padding: 0; }
  .casca.menu-aberto::after { content: ""; position: fixed; inset: 0; z-index: 39; background: var(--color-scrim); }
  .menu .item { height: 40px; }
  .pagina { padding: 16px; gap: 16px; }
  .ferramentas .w-busca, .ferramentas .w-selecao { width: 100%; }
  .botao, .entrada, .seletor { height: 40px; }
  .botao.so-icone { width: 40px; }
  .so-computador { display: none !important; }
  .fundo-modal { padding: 0; place-items: end center; }
  .modal { max-width: none; max-height: 92dvh; border-radius: 14px 14px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .modal-pe { position: sticky; bottom: 0; background: var(--color-surface); }
  .modal-pe .botao { flex: 1; }
  .avisos { left: 16px; right: 16px; top: max(16px, env(safe-area-inset-top)); bottom: auto; max-width: none; }
  .oficina-corpo { grid-template-columns: 1fr; }
  .abas-oficina { display: flex; background: var(--color-surface); box-shadow: 0 1px 0 var(--color-border); flex: none; }
  .abas-oficina button { flex: 1; height: 40px; border: 0; background: transparent; cursor: pointer; color: var(--color-text-2); font-weight: 500; box-shadow: inset 0 -2px 0 transparent; }
  .abas-oficina button.ativa { color: var(--color-primary-text); box-shadow: inset 0 -2px 0 var(--color-primary); }
  .oficina-corpo[data-aba="conversa"] .previa, .oficina-corpo[data-aba="previa"] .conversa { display: none; }
  .conversa { box-shadow: none; }
  .compositor { margin-bottom: max(12px, env(safe-area-inset-bottom)); }
  .previa-palco { padding: 0 8px 8px; }
  .tabela th:first-child, .tabela td:first-child { padding-left: 16px; }
  .tabela th:last-child, .tabela td:last-child { padding-right: 16px; }
}
