/**
 * Estilos de página v2 (F3): Início, Entrar, Criar conta e Ferramentas. Somente tokens.
 */

/* ---- Início (AB#498) ---- */
.home-hero { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; }
.home-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.home-copy .t-lead { max-width: 38ch; color: var(--text2); }
.hero-drop {
  flex: 1 1 520px;
  min-width: 0;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 32px;
  border: 2px dashed color-mix(in srgb, var(--brand) 30%, transparent);
  text-align: center;
  color: var(--ink);
  text-decoration: none;
}
.hero-drop.drag { border-color: var(--brand); background: color-mix(in srgb, var(--wash) 70%, var(--brand) 10%); }
.hero-drop .art-stage { top: 36px; margin: 0 0 0 calc(-190px); transform-origin: 50% 0; }
.hero-drop > :not(.art-circle):not(.art-stage) { position: relative; }
.hero-drop-title { font-size: 22px; line-height: 30px; font-weight: 800; color: var(--ink); }
.hero-drop-hint { color: var(--text2); }
.home-printable { border-top: 1px solid var(--line); background: var(--inset); }
.home-printable-in { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.home-tile { display: flex; align-items: center; gap: 20px; padding: 18px; color: var(--ink); }
.home-tile-text { gap: 4px; min-width: 0; }
.stack { display: flex; flex-direction: column; }
.home-how { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.hiw-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hiw-col { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--line); }
.hiw-col.is-first { border-top-color: var(--brand); }
.hiw-n { color: var(--brand); }
.hiw-strip { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 20px 8px 18px; margin: 0; border-radius: var(--r-card); background: var(--inset); list-style: none; }
.hiw-line { position: absolute; left: 17%; right: 17%; top: 42px; height: 2px; background: var(--line); }
.hiw-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.hiw-step strong { font-size: 13px; line-height: 18px; }
.hiw-dot { display: grid; place-items: center; width: var(--h-icon); height: var(--h-icon); border-radius: var(--r-pill); background: var(--raised); color: var(--brand); box-shadow: var(--shadow); }
/* Achado do PO: ícone+texto curtos esticados na largura total do cartão deixavam um vazio enorme de
   um lado. Conteúdo centralizado como grupo em vez de esticar o texto. flex:1 1 auto (não flex:none)
   — "none" tira o encolher também, e o texto sem quebra ("WhatsApp... · seg a sex...") estourava a
   largura em 390px (achado rodando o e2e completo: 37px de overflow horizontal na home). */
.home-contact { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 18px; color: var(--ink); }
.home-contact-text { flex: 0 1 auto; min-width: 0; max-width: 360px; }
.site-footer { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); text-align: center; }
@media (max-width: 767px) {
  .home-hero { padding-top: 24px; padding-bottom: 32px; }
  .hero-drop { min-height: 250px; padding: 18px; --art-scale: 0.72; }
  .hero-drop .drop-txt.desk { display: none; }
}

/* ---- Entrar e Criar conta (AB#500, AB#502) ---- */
.auth-wrap { flex: 1; width: 100%; padding-top: 56px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; }
.auth-art { flex: 0 1 440px; height: 520px; }
.auth-col { flex: 0 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.auth-narrow { width: 100%; max-width: 520px; padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.auth-head { gap: 8px; }
.auth-form { gap: 16px; }
.auth-form .btn-block { margin-top: 4px; }
.auth-or { display: flex; align-items: center; gap: 12px; }
.auth-or span { flex: 1; height: 1px; background: var(--line); }
.auth-help { text-align: center; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 2px; top: 2px; }
.mono-input { font-family: var(--font-mono); }
.pw-meter { display: flex; align-items: center; gap: 8px; }
.pw-bar { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.pw-bar > span { display: block; width: 0; height: 100%; background: var(--warn-fill); transition: width var(--motion-fast); }
.pw-bar > span.success { background: var(--ok-fill); }
.pw-meter .help.success { color: var(--ok); font-weight: 600; }
.pw-ok { display: inline-flex; color: var(--ok); }
.pw-ok[hidden] { display: none; }
.field-error[hidden] { display: none; }
.auth-form .input[aria-invalid="true"] { border-color: var(--bad); }
@media (prefers-reduced-motion: reduce) { .pw-bar > span { transition: none; } }
.home-copy h1, .home-copy p { margin: 0; }
.hero-drop .art-stage { width: 380px; height: 230px; scale: var(--art-scale, 1); }
.auth-head h1, .auth-head p { margin: 0; }

/* ---- Ferramentas (AB#504) ---- */
.tools-page { padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.tools-head { gap: 8px; }
.tools-head h1, .tools-head p { margin: 0; }
.tools-tabs { max-width: 460px; }
.tools-card { gap: 18px; display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.tools-card h2 { margin: 0; }
.tools-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tools-card .help { margin: 0; }
.tools-row-head { justify-content: space-between; gap: 12px; display: flex; align-items: center; }
.tools-art { height: 360px; display: grid; place-items: center; }
/* Navegação entre folhas da colagem, quando há mais de uma (AB#504). */
.tools-sheet-nav { margin-top: 12px; }
/* AB#981 (revisto): a célula nasce no tamanho certo — calculado em tools.js (toolsCellGeometry) a
   partir da medida pedida, já encaixado em cols×linhas sem estourar a folha. A grade (de tamanho
   fixo em px, não 1fr/auto) é só centralizada aqui; não precisa mais de aspect-ratio em CSS. */
.tools-sheet { position: relative; width: 200px; height: 283px; padding: 12px; display: grid; gap: 8px; justify-content: center; align-content: center; }
.tools-sheet.is-landscape { width: 283px; height: 200px; }
/* Espaço reservado quando a última folha não enche a grade (AB#982): contorno pontilhado, sem cor. */
.tools-sheet .ph-empty { background: none !important; border: 1.5px dashed var(--line); border-radius: 3px; }
.tools-result { gap: 4px; padding: 20px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-card); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.tools-thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--inset); cursor: grab; }
.tools-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tools-thumb-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: var(--r-pill); background: var(--raised); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.tools-add { aspect-ratio: 1; border-radius: 12px; border: 2px dashed var(--line); background: transparent; display: grid; place-items: center; align-content: center; gap: 4px; color: var(--brand); font: 600 12px/16px var(--font-sans); cursor: pointer; }
.tools-empty { margin: 0; text-align: center; padding: 8px 0; }
.tools-panel .split { align-items: flex-start; }
@media (max-width: 767px) {
  .tools-page { padding-top: 20px; padding-bottom: 32px; gap: 22px; }
  .tools-card { padding: 18px; }
}

/* ---- Pedido (AB#508, AB#512, AB#514) ---- */
.order-page { padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; width: 100%; }
.narrow.order-page { max-width: var(--narrow); }
.order-head { gap: 8px; }
.order-head h1, .order-head p { margin: 0; }
.order-drop {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 32px;
  border: 2px dashed color-mix(in srgb, var(--brand) 30%, transparent);
  text-align: center;
  color: var(--ink);
  cursor: pointer;
}
.order-drop:hover, .order-drop.drag { border-color: var(--brand); }
.order-drop.drag { border-style: solid; }
.order-drop > :not(.art-circle):not(.order-drop-art) { position: relative; }
.order-drop-art { position: absolute; left: 50%; top: 48px; width: 200px; height: 180px; margin-left: calc(-100px); }
.order-drop-art .paper { position: absolute; }
.order-drop-up { position: absolute; left: 108px; top: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow); }
.order-drop-title { font-size: 20px; line-height: 28px; font-weight: 800; color: var(--ink); }
.order-drop-hint { color: var(--text2); }
.order-drop .drop-over { display: none; }
.order-drop.drag .drop-idle { display: none; }
.order-drop.drag .drop-over { display: inline; }
.order-refused { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.order-refused li { display: flex; gap: 8px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--bad-bg); color: var(--bad); font-size: 14px; line-height: 20px; }
.order-refused svg { flex: none; margin-top: 0; transform: translateY(2px); }
.order-note { gap: 8px; align-items: flex-start; display: flex; }
.order-note svg { flex: none; margin-top: 0; transform: translateY(1px); }
.order-actions { display: flex; }
.order-actions .btn { max-width: 360px; }
.order-list { display: flex; flex-direction: column; gap: 16px; }
/* .order-photo-item e .order-collage compartilham o corpo do cartão com .order-item (documento)
   para o padrão visual ser o mesmo nos três tipos de item (achado do PO) — classes próprias (não
   .order-item) para não confundir com a semântica de "é um documento" que tests/e2e.js já usa
   nessa classe. .order-collage tinha display/align-items/gap/padding próprios, sobra de uma versão
   anterior do cartão (linha única, não cartão com corpo) — removidos aqui para herdar exatamente o
   mesmo padrão. */
.order-item, .order-photo-item, .order-collage { display: flex; flex-direction: column; gap: 20px; }
.order-item-head { display: flex; align-items: center; gap: 12px; }
.order-item-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.order-item-name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-mini { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.order-mini .paper { position: relative; }
/* Miniatura real da foto (AB#984) — substitui o ícone genérico quando o arquivo está em memória. */
.order-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-opts { gap: 16px 20px; }
.order-copies { justify-content: space-between; gap: 12px; display: flex; align-items: center; }
.order-product { align-self: flex-start; margin-top: 8px; }
.order-photos-bulk .order-between { align-items: center; }
.order-bulk { flex-wrap: wrap; gap: 8px; }
/* .order-photo-select agora é um campo dentro do corpo do cartão (igual aos campos de documento),
   não mais um item de linha — largura total, sem o flex-basis da antiga linha horizontal. */
.order-photo-select { min-width: 0; }
.order-photo-select select { height: 44px; text-overflow: ellipsis; }
.sum-row dt { display: flex; flex-direction: column; min-width: 0; }
.sum-row dt .order-sum-name { overflow-wrap: anywhere; }
.order-missing { margin: 0; }
.order-item-product, .item-product { align-self: flex-start; }
.order-badges, .item-badges { align-self: flex-start; flex-wrap: wrap; gap: 8px; }
.order-collage .order-item-text, .order-collage-toggles .order-item-text { flex: 1 1 0; min-width: 0; }
.order-collage .t-small, .order-collage-toggles .t-small, .order-collage .order-item-product { overflow-wrap: anywhere; }
.order-collage-toggles { gap: 8px; }
.order-item-product, .item-product, .po-product { white-space: normal; text-align: left; overflow-wrap: anywhere; }
.order-photos-bulk, .order-photo-item, .order-photo-select, .order-photo-select select { min-width: 0; max-width: 100%; }
.order-photo-select select { width: 100%; }
.split-main > * { min-width: 0; }
.order-collage-toggles .check { min-width: 0; }
@media (max-width: 600px) {
  .order-collage-toggles .check { flex-wrap: wrap; }
}
.order-photo-select select { font-size: 14px; padding-left: 12px; padding-right: 32px; }
.order-add { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border-radius: 18px; border: 2px dashed var(--line); font-weight: 700; color: var(--brand); }
.order-add:hover { border-color: var(--brand); }
.order-addons { display: flex; flex-direction: column; gap: 12px; }
.order-addons h2 { margin: 0; }
.order-addon-price { font-weight: 700; white-space: nowrap; }
.order-optional { font-weight: 500; }
.order-between { justify-content: space-between; display: flex; align-items: center; gap: 12px; }
.order-addr-head { justify-content: space-between; display: flex; align-items: center; gap: 8px; width: 100%; }
.order-fee { font-weight: 700; color: var(--text2); }
.order-fee.is-free, dd.order-fee.is-free { color: var(--ok); }
.order-center { text-align: center; }
.order-money { font-weight: 700; }
.order-uploads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.order-up { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 12px; align-items: center; font-size: 14px; }
.order-up-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbar-track { display: block; height: 4px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.pbar-track > span { display: block; height: 100%; background: var(--brand); }
.alert-danger { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-radius: 16px; background: var(--bad-bg); color: var(--bad); font-size: 14px; line-height: 20px; }
.order-alert-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.order-alert-actions .btn { color: var(--ink); }
[data-order-pay][aria-busy="true"], [data-order-pay][aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
#order-continue-1[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.pbar.mob { margin-bottom: 0; }

/* Etapas do pedido no cabeçalho completo */
.ostepper { margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 0; list-style: none; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--subtle); }
.ostep { display: flex; align-items: center; gap: 8px; }
.ostep.now { color: var(--ink); font-weight: 800; }
.ostep-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r-pill); font-size: 12px; font-weight: 800; background: var(--inset); color: var(--subtle); }
.ostep.now .ostep-dot { background: var(--brand); color: var(--on-brand); }
.ostep.done .ostep-dot { background: var(--wash); color: var(--brand); }
@media (max-width: 767px) {
  .order-page { padding-top: 20px; padding-bottom: 32px; gap: 20px; }
  .order-drop { min-height: 420px; }
  .order-up { grid-template-columns: minmax(0, 1fr) 90px; }
}

/* Pagamento Pix (AB#525, AB#529, AB#527) */
.pay-page { max-width: 640px; width: 100%; padding-top: 48px; padding-bottom: 64px; }
@media (max-width: 1023px) { .pay-page { padding-top: 20px; padding-bottom: 32px; } }
.pay-qr { flex: none; display: grid; place-items: center; width: 168px; height: 168px; padding: 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.pay-qr img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.pay-code { word-break: break-all; padding: 12px 16px; user-select: all; }
.pay-art { height: 200px; }
.pay-art-check { position: absolute; left: 50%; top: 110px; margin-left: 32px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px rgb(15 111 134 / 0.3); }
.pay-page .alert-danger { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.pay-page [data-pay-title]:focus { outline: none; }
@keyframes pay-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.badge.live::before { animation: pay-pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .badge.live::before { animation: none; } }

/* Meus pedidos (AB#531) e Detalhe do pedido (AB#533) */
.orders-page { max-width: 880px; padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.orders-featured { display: flex; flex-direction: column; gap: 16px; background: var(--wash); border-color: transparent; }
.orders-chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.orders-chips::-webkit-scrollbar { display: none; }
.orders-chips .chip { flex: none; }
.seg-progress { display: flex; gap: 8px; }
.seg-progress span { flex: 1; height: 4px; border-radius: 999px; background: var(--line); }
.seg-progress span.on { background: var(--brand); }
.lrow.ord { border-radius: 12px; padding: 12px 8px; }
.lrow.ord:hover { background: var(--inset); }
.row-icon.item-ic { width: 44px; height: 44px; }
.item-art { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.order-detail { max-width: 1040px; padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.tl li.bad .tl-dot { background: var(--bad); border-color: var(--bad); }
.tl li.bad .tl-title { color: var(--bad); font-weight: 800; }
.tl li.bad::before { display: none; }
@media (max-width: 767px) {
  .orders-page, .order-detail { padding-top: 20px; padding-bottom: 32px; gap: 20px; }
  .detail-split { display: flex; flex-direction: column; gap: 20px; }
  .detail-split .split-main { display: contents; }
  .detail-progress { order: 1; }
  .detail-aside { order: 2; }
  .detail-items { order: 3; }
  .detail-help { order: 4; }
}

/* Perfil (AB#535) */
.profile-page { max-width: 760px; padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 14px; }
.help { font-size: 13px; line-height: 18px; color: var(--text2); }
.dlg-card.addr-dialog { width: min(560px, 100%); }
.addr-dialog .grid2 { grid-template-columns: 1fr 1fr; gap: 12px; }
.addr-overlay { overflow: auto; }
@media (max-width: 767px) {
  .profile-page { padding-top: 20px; padding-bottom: 32px; gap: 20px; }
  .profile-page .grid2 { grid-template-columns: 1fr; }
  .dlg-overlay.addr-overlay { padding: 0; place-items: stretch; }
  .dlg-card.addr-dialog { width: 100%; max-height: none; height: 100%; border-radius: 0; box-shadow: none; overflow: auto; }
  .addr-dialog .grid2 { grid-template-columns: 1fr 1fr; }
}

/* Parceiro: Fila, Pedidos e Pedido (AB#537, AB#539, AB#541) */
.pq-page, .pl-page, .po-page, .pc-page { display: flex; flex-direction: column; gap: 24px; }
.pq-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pq-counter { padding: 16px; gap: 4px; }
.pq-card { gap: 16px; padding: 16px 18px; flex-wrap: wrap; }
.pq-main { flex: 1 1 260px; min-width: 0; gap: 4px; }
.pq-num { font-size: 16px; font-weight: 800; }
.pq-wait { width: 90px; }
.pq-action { min-width: 168px; }
.pl-tools { gap: 12px; flex-wrap: wrap; }
.pl-search { position: relative; flex: 1 1 280px; max-width: 380px; }
.pl-search > svg { position: absolute; left: 14px; top: 15px; color: var(--subtle); }
.pl-search .input { padding-left: 48px; height: 48px; width: 100%; }
.po-top { gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.po-next { min-width: 200px; }
.po-art { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
/* Miniatura real da foto no item do parceiro (AB#984). */
.po-photo-thumb { background: var(--wash); color: var(--brand); }
.po-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.po-aside { top: 32px; }
.pq-products { color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .pq-card { padding: 16px; }
  .pq-action { flex: 1 1 100%; }
  .po-next { flex: 1 1 100%; }
  .po-top { flex-direction: column; align-items: stretch; }
}

.pq-page, .pl-page, .po-page, .pc-page { min-width: 0; max-width: 100%; }
.pq-page > *, .pl-page > *, .po-page > *, .pc-page > *, #pl-content > .stack, #pq-content > .stack { min-width: 0; max-width: 100%; }

/* Em destaque no Início (AB#638) */
.home-highlights { padding-top: 8px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.home-highlights[hidden] { display: none; }
.home-highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.home-highlight { gap: 8px; }
.home-highlight-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-highlight-price { font-weight: 800; color: var(--ink); margin-top: 4px; }
@media (max-width: 767px) { .home-highlights { padding-bottom: 32px; } }

/* Loja (AB#276, AB#319) e aviso no passo de entrega (AB#282, AB#318) */
.store-page { display: flex; flex-direction: column; gap: 24px; max-width: 760px; min-width: 0; }
.store-pause { gap: 16px; padding: 16px 20px; }
.store-day { display: grid; grid-template-columns: 110px auto 1fr 1fr; gap: 12px 16px; align-items: center; padding: 12px 0; }
.store-day-name { font-weight: 700; }
.store-time { display: flex; flex-direction: column; gap: 4px; }
.store-time .input { height: 44px; }
.notice-warn { display: flex; align-items: flex-start; gap: 8px; padding: 12px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); font-size: 14px; line-height: 20px; font-weight: 600; }
.notice-warn svg { flex: none; margin-top: 0; transform: translateY(1px); }
@media (max-width: 767px) { .store-day { grid-template-columns: 1fr 1fr; } .store-day-name { grid-column: 1 / -1; } }

/* Financeiro (AB#316, AB#317, AB#325) */
.fin-page { display: flex; flex-direction: column; gap: 24px; min-width: 0; max-width: 100%; }
.fin-page > * { min-width: 0; max-width: 100%; }
.fin-filters { gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.fin-field { min-width: 150px; }
.fin-search { align-self: flex-end; flex: 1 1 220px; max-width: 320px; }
.fin-search .input { height: 48px; }

/* Passo 1: Arquivos enviados e barra inferior (AB#697) */
.order-sent-badges { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.order-sent .order-between { flex-wrap: wrap; }
.order-sent-row { padding-left: 0; padding-right: 0; }
.order-bar { align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; background: var(--page); }
.order-bar-count { font-weight: 700; color: var(--ink); white-space: nowrap; }
.order-bar .btn { flex: 1; }
