:root {
  --bg: #f6f6f4; --card: #fff; --ink: #1f1a17; --muted: #6b6b6b; --line: #e5e3df;
  --brand: #c4471f; --brand-dark: #9d3414; --green: #2f6b3a; --red: #b42318; --soft: #f1efeb;
  --radius: 14px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 1.1rem; margin-bottom: 12px; }
.muted { color: var(--muted); } .small { font-size: .82rem; }

/* Layout */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: #fff; border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; padding: 4px 8px; }
.brand small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.brand .mark { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.brand.big { font-size: 1.4rem; justify-content: center; margin-bottom: 8px; }
.side nav { display: grid; gap: 2px; }
.side nav a { padding: 9px 12px; border-radius: 10px; font-weight: 500; font-size: .94rem; }
.side nav a:hover { background: var(--soft); }
.side nav a.on { background: #fdf0ea; color: var(--brand-dark); font-weight: 600; }
.nav-title { margin: 14px 12px 4px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 12px 8px 0; display: grid; gap: 6px; font-size: .88rem; }
.side-foot .who { font-weight: 600; }
.linkbtn { color: var(--brand-dark); text-decoration: underline; padding: 0; font-size: .88rem; }
.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 12px; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-title { font-weight: 700; font-size: 1.15rem; flex: 1; }
.icon-btn { display: none; width: 40px; height: 40px; border-radius: 10px; font-size: 1.3rem; }
.content { padding: 24px; max-width: 1200px; }
.scrim { display: none; }

/* Componentes */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card.narrow { max-width: 460px; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; }
.flash.ok { background: #e8f4ea; color: #1d5128; border: 1px solid #c4e1c9; }
.flash.err { background: #fdecea; color: var(--red); border: 1px solid #f5c2bd; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: .15s; }
.btn:hover { background: #e9e6e0; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.danger { color: var(--red); }
.btn.small { padding: 6px 12px; font-size: .82rem; }
.btn.wide { width: 100%; padding: 12px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
body.priv .amt { filter: blur(7px); user-select: none; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--soft); font-size: .75rem; color: var(--muted); }

label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: #444; }
input, select, textarea { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none; font-weight: 400; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(196,71,31,.12); }
input[type=color] { padding: 2px; height: 40px; width: 56px; cursor: pointer; }
input[type=checkbox], input[type=radio] { width: auto; }
.stack { display: grid; gap: 14px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.inline-form label { min-width: 0; }
.inline-form input, .inline-form select { width: auto; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.tab:hover { border-color: var(--ink); }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr.off { opacity: .55; }
.tbl td.actions { text-align: right; white-space: nowrap; }
.tbl td.actions > * { display: inline-block; vertical-align: middle; margin-left: 6px; }
.row-form { display: flex; gap: 8px; align-items: center; }
.row-form input { width: auto; min-width: 0; }
.row-form input:not([type=color]):not([size]) { flex: 1; }
.swatch { height: 34px !important; width: 44px !important; }
.empty { padding: 20px 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 16px; }
.step { background: var(--soft); border-radius: 12px; padding: 16px; display: grid; gap: 2px; transition: .15s; }
.step:hover { background: #fdf0ea; }
.step b { font-size: 1.8rem; }
.step span { color: var(--muted); font-size: .85rem; }

/* Login y errores */
.loginpage, .errpage { display: grid; place-items: center; padding: 20px; }
.loginbox, .errbox { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; width: min(380px, 100%); display: grid; gap: 14px; box-shadow: var(--shadow); }
.errbox { text-align: center; }

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; z-index: 40; transform: translateX(-100%); transition: transform .25s; }
  body.menu-open .side { transform: none; }
  body.menu-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 30; }
  .icon-btn { display: grid; place-items: center; }
  .content { padding: 16px; }
  .top { padding: 10px 14px; }
}

/* Tablas anchas en celular: scroll horizontal dentro de la tarjeta */
.card { overflow-x: auto; }

/* ===== Productos ===== */
.toolbar { display: flex; gap: 14px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.grow { flex: 1; min-width: 160px; }
.thumbcell { width: 70px; }
.thumbcell img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.noimg { width: 56px; height: 56px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; font-size: .65rem; color: var(--muted); text-align: center; }
.plink { font-weight: 600; } .plink:hover { color: var(--brand-dark); text-decoration: underline; }
.badge.red { background: #fdecea; color: var(--red); }
.switch { padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.switch.on { background: #e8f4ea; color: #1d5128; border-color: #c4e1c9; }
.prod-tbl td { vertical-align: middle; }

/* ===== Formulario de producto ===== */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.span2 { grid-column: 1 / -1; }
.with-btn { display: flex; gap: 8px; } .with-btn select { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.vblock { margin-top: 18px; } .vtitle { font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; }
.pick:hover { border-color: var(--ink); }
.pick.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); vertical-align: middle; }
.vtable { margin-top: 18px; } .vtable input { min-width: 70px; padding: 7px 9px; } .vtable input.stock { max-width: 90px; font-weight: 700; }
.pgroup { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.upl { cursor: pointer; }
.tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.tile { position: relative; width: 130px; height: 130px; border-radius: 12px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.tile img { width: 100%; height: 100%; object-fit: contain; }
.tile .tact { position: absolute; inset: auto 0 0 0; display: flex; justify-content: center; gap: 4px; padding: 5px; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: .15s; }
.tile:hover .tact, .tile:focus-within .tact { opacity: 1; }
.tact button { width: 30px; height: 30px; border-radius: 8px; background: #fff; font-size: .85rem; }
.main-badge { position: absolute; top: 6px; left: 6px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tile-empty { color: var(--muted); font-size: .85rem; padding: 14px; border: 1.5px dashed var(--line); border-radius: 12px; }
@media (hover: none) { .tile .tact { opacity: 1; } }
.specrow { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; margin-bottom: 8px; }
.savebar { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 12px 16px; margin: 0 -8px; background: rgba(246,246,244,.92); backdrop-filter: blur(6px); border-top: 1px solid var(--line); }
details summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); }
.row.end { display: flex; justify-content: flex-end; gap: 10px; }

.toast { position: fixed; bottom: 80px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: 92vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.err { background: var(--red); }

/* Ventanas */
.modal { position: fixed; inset: 0; background: rgba(20,15,10,.55); display: grid; place-items: center; z-index: 100; padding: 16px; overflow-y: auto; }
.modal-box { background: #fff; border-radius: 16px; padding: 22px; width: min(440px, 100%); box-shadow: 0 20px 60px rgba(0,0,0,.3); display: grid; gap: 14px; }
.modal-box.wide { width: min(760px, 100%); }
.modal-box h3 { font-size: 1.15rem; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; font-size: .86rem; background: #fff; }
.seg button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.bgrow { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.stage { background: #efefec; border-radius: 12px; padding: 10px; display: grid; place-items: center; min-height: 260px; }
.stage-crop { width: 100%; max-height: 56vh; } .stage-crop img { max-width: 100%; display: block; }
.stage-fit { width: 100%; display: grid; place-items: center; }
.fitbox { width: min(360px, 100%); max-height: 56vh; border: 1px solid var(--line); }
.fitbox img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } .specrow { grid-template-columns: 1fr; } }
.neg { color: var(--red); } .warn { color: #b25e09; } .pos { color: var(--green); }
.badge.ok { background: #e8f4ea; color: #1d5128; }
.hist { max-height: 50vh; overflow-y: auto; }

/* ===== Variante con círculo de color (stock y listas) ===== */
.vlabel { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vlabel .dot { width: 20px; height: 20px; flex: none; }
.vsep::before { content: "·"; margin-right: 8px; color: var(--muted); }
.vname { font-weight: 600; }

/* ===== Celulares y tablets ===== */
@media (max-width: 1024px) {
  .content { padding: 18px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
/* Tablas como tarjetas también en tablets verticales */
@media (max-width: 900px) {
  /* Las tablas se vuelven tarjetas: una por fila, con el nombre de cada dato */
  .tbl.cards thead { display: none; }
  .tbl.cards, .tbl.cards tbody, .tbl.cards tr, .tbl.cards td { display: block; width: 100%; }
  .tbl.cards tr { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin-bottom: 12px; background: #fff; }
  .tbl.cards td { border: 0; padding: 6px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  .tbl.cards td::before { content: attr(data-label); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 600; text-align: left; flex: none; }
  .tbl.cards td.nolabel::before { display: none; }
  .tbl.cards td.nolabel { text-align: left; justify-content: flex-start; }
  .tbl.cards td.actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; padding-top: 10px; white-space: normal; text-align: left; }
  .tbl.cards td.actions > * { margin-left: 0; }
  .tbl.cards .thumbcell { width: auto; }
  .tbl.cards.stock-tbl tr, .tbl.cards.prod-tbl tr { position: relative; padding-left: 88px; min-height: 88px; }
  .tbl.cards.stock-tbl td.thumbcell, .tbl.cards.prod-tbl td.thumbcell { position: absolute; left: 12px; top: 12px; width: 62px; padding: 0; display: block; }
  .stock-tbl .thumbcell img, .stock-tbl .noimg, .prod-tbl .thumbcell img, .prod-tbl .noimg { width: 62px; height: 62px; }
  .tbl.cards.vtable tr { padding-left: 14px; }
  .vtable td input { max-width: 150px; text-align: right; }
}

@media (max-width: 760px) {
  .row-form { flex-wrap: wrap; } .row-form input { min-width: 100px; }
  .inline-form { flex-direction: column; align-items: stretch; } .inline-form input, .inline-form select, .inline-form .btn { width: 100%; }
  .toolbar { flex-direction: column; align-items: stretch; } .toolbar .btn { width: 100%; }
  .top-title { font-size: 1rem; }
  .card { padding: 16px; }
  .modal { align-items: end; padding: 0; }
  .modal-box { border-radius: 18px 18px 0 0; width: 100% !important; max-height: 94vh; overflow-y: auto; }
  .tile { width: calc(50% - 6px); height: auto; aspect-ratio: 1; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .savebar { margin: 0 -16px; padding: 10px 16px; } .savebar .btn { flex: 1; }
  .specrow { grid-template-columns: 1fr 1fr auto; }
  input, select, textarea { font-size: 16px; } /* evita el zoom automático en iPhone */
}
@media (max-width: 480px) {
  .grid4 { grid-template-columns: 1fr; }
  .specrow { grid-template-columns: 1fr; }
  #privBtn { font-size: 0; padding: 7px 11px; } #privBtn::before { content: "👁"; font-size: 1rem; }
}
/* Pantallas táctiles: botones y campos más grandes para el dedo */
@media (pointer: coarse) {
  .btn { min-height: 44px; } .btn.small { min-height: 38px; padding: 8px 14px; }
  input:not([type=checkbox]):not([type=radio]):not([type=color]), select { min-height: 44px; }
  .pick, .tab, .seg button { min-height: 42px; }
  .side nav a { padding: 12px; }
}

/* ===== Venta en el local ===== */
.posgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.posgrid .card { margin-bottom: 0; }
.results { display: grid; gap: 8px; margin-top: 10px; max-height: 62vh; overflow-y: auto; }
.res { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: left; width: 100%; }
.res:hover, .res.on { border-color: var(--brand); background: #fdf6f2; }
.res img, .res .noimg, .cline img, .cline .noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: var(--soft); flex: none; border: 1px solid var(--line); }
.res.new { color: var(--brand-dark); font-weight: 600; flex-wrap: wrap; }
.rinfo { display: grid; flex: 1; min-width: 0; gap: 2px; } .rinfo b { overflow: hidden; text-overflow: ellipsis; }
.rprice { display: grid; text-align: right; }
.cline { display: grid; grid-template-columns: 52px 1fr; gap: 10px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cinfo { display: grid; gap: 2px; min-width: 0; }
.cctl { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 36px; height: 38px; font-size: 1.2rem; background: var(--soft); }
.qty .qin { width: 46px; text-align: center; border: 0; border-radius: 0; padding: 6px 2px; min-height: 0; }
.pin { width: 110px; text-align: right; } .mini { width: 110px; text-align: right; }
.ltot { min-width: 90px; text-align: right; }
.x-btn { width: 34px; height: 34px; border-radius: 8px; color: var(--red); font-size: 1rem; } .x-btn:hover { background: #fdecea; }
.tot-box { margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: var(--soft); display: grid; gap: 8px; }
.tot-box.right { max-width: 340px; margin-left: auto; }
.trow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.trow.big { font-size: 1.35rem; font-weight: 800; padding-top: 8px; border-top: 1px solid var(--line); }
.posgrid h3 { font-size: .95rem; margin: 4px 0 8px; }
.payrows { display: grid; gap: 8px; margin: 10px 0; } .payrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.payrow input { width: 140px; text-align: right; }
.more { margin: 12px 0; }
.pos-confirm { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.pos-total { display: grid; } .pos-total b { font-size: 1.5rem; }
.btn.big { padding: 14px 24px; font-size: 1.05rem; }
kbd { font-family: inherit; font-size: .72rem; padding: 1px 6px; border-radius: 5px; background: rgba(0,0,0,.12); margin-left: 6px; }
.btn.primary kbd { background: rgba(255,255,255,.25); }
.pick kbd { background: rgba(0,0,0,.08); } .pick.on kbd { background: rgba(255,255,255,.25); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; box-shadow: var(--shadow); }
.stat span { font-size: .76rem; color: var(--muted); font-weight: 600; } .stat b { font-size: 1.35rem; }
.quick { display: flex; gap: 8px; margin-top: 10px; }
.detail-cell { max-width: 360px; }
@media (max-width: 900px) {
  .posgrid { grid-template-columns: 1fr; }
  .results { max-height: 46vh; }
  .pos-confirm { position: sticky; bottom: 0; background: rgba(255,255,255,.96); margin: 14px -16px -16px; padding: 12px 16px; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; }
}

/* ===== Caja, cuentas, análisis ===== */
.daynav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .daynav form { display: flex; gap: 6px; } .dayin { width: auto; }
.grid-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.grid-cols .card { margin-bottom: 0; }
.stat.accent { background: #fdf6f2; border-color: #f0cdbd; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; font-size: .86rem; }
.bt { height: 14px; background: var(--soft); border-radius: 999px; overflow: hidden; } .bt i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.bv { font-weight: 700; min-width: 90px; text-align: right; }
.cfg-row { align-items: flex-end; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); } .cfg-row.off { opacity: .55; }
.cfg-row label { min-width: 90px; } .cfg-row input, .cfg-row select { width: auto; }
.plain { list-style: none; display: grid; gap: 6px; }
.small-check { font-size: .85rem; }
.side nav a.strong { font-weight: 700; background: var(--ink); color: #fff; margin-bottom: 4px; }
.side nav a.strong.on, .side nav a.strong:hover { background: var(--brand); color: #fff; }

/* ===== Verificación en dos pasos ===== */
.qrbox { display: grid; place-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 12px 0; } .qrbox svg { width: 220px; height: 220px; }
.secret { background: var(--soft); padding: 3px 8px; border-radius: 6px; letter-spacing: .08em; word-break: break-all; }
.steps-list { padding-left: 20px; display: grid; gap: 4px; margin: 10px 0; }
.codes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; font-family: ui-monospace, Consolas, monospace; font-size: 1.05rem; }
.codes li { background: var(--soft); padding: 10px 14px; border-radius: 10px; text-align: center; letter-spacing: .06em; }
.banner { background: #fff7e6; border: 1px solid #f3d9a4; color: #7a4b00; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner.good { background: #e8f4ea; border-color: #c4e1c9; color: #1d5128; }
.banner.bad { background: #fdecea; border-color: #f5c2bd; color: var(--red); }
