/* Painel, Caixa PDV e Pedidos (15/11) — referência visual: FácilZap. */
body[data-screen="dashboard"] #dashboard-area, body[data-screen="pdv"] #pdv-area, body[data-screen="orders"] #orders-area { display: block; padding: 0; }
#dashboard-area > *, #pdv-area > *, #orders-area > * { max-width: none; }
.dash-ic, .pdv-ic { display: inline-grid; place-items: center; flex: none; width: 1.3rem; height: 1.3rem; }
.dash-ic svg, .pdv-ic svg { width: 100%; height: 100%; }

/* Botões do topo */
.topbar-shortcuts { display: flex; gap: 6px; flex-wrap: wrap; }
.top-short { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.top-short.is-panel { background: linear-gradient(150deg, #4f6bed, #0e7c63); }
.top-short.is-pdv { background: linear-gradient(150deg, #9b6bdc, #6534b0); }
.top-short.is-orders { background: linear-gradient(150deg, #f2994a, #d0640c); }
.top-short[aria-current="page"] { outline: 3px solid rgba(255,255,255,.8); }

/* ---------- Painel ---------- */
.dash-root { max-width: 1300px; margin: 0 auto; padding: 18px 16px 40px; display: grid; gap: 16px; }
.dash-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 30px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #0b4f5c, #0f6e6a 55%, #19a38a); box-shadow: 0 10px 24px rgba(11,79,92,.25); flex-wrap: wrap; }
.dash-hero h1 { margin: 6px 0; font-size: 2rem; }
.dash-hero p { margin: 0; }
.dash-hero-sub { opacity: .9; }
.dash-hero-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.dash-hero-btn { border: 0; background: #fff; color: #0b4f5c; font: inherit; font-weight: 700; padding: 11px 18px; border-radius: 10px; cursor: pointer; }
.dash-hero-btn.is-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.dash-hero-card { background: #fff; color: #111b21; border-radius: 14px; padding: 14px 18px; min-width: 190px; display: grid; gap: 2px; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.dash-hero-card span, .dash-hero-card small { color: #54656f; font-size: .82rem; }
.dash-hero-card strong { font-size: 1.6rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dash-kpi { display: flex; align-items: center; gap: 12px; background: #fff; border: 0; border-radius: 14px; padding: 16px; box-shadow: 0 1px 3px rgba(11,20,26,.12); font: inherit; text-align: left; cursor: pointer; }
.dash-kpi > div { flex: 1; min-width: 0; }
.dash-kpi span { display: block; color: #667781; font-size: .82rem; }
.dash-kpi strong { font-size: 1.35rem; }
.dash-kpi .dash-ic { width: 2.6rem; height: 2.6rem; border-radius: .8rem; padding: .6rem; box-sizing: border-box; }
.dash-ic.is-green { background: #dff7ee; color: #1f9d6b; } .dash-ic.is-blue { background: #e3e9ff; color: #3b5bdb; }
.dash-ic.is-purple { background: #efe5ff; color: #7c4ddb; } .dash-ic.is-orange { background: #fff0dc; color: #e08a14; }
.dash-mini { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.dash-mini i { width: 7px; border-radius: 3px 3px 0 0; background: currentColor; }
.dash-mini.is-green { color: #38b48b; } .dash-mini.is-blue { color: #4f6bed; } .dash-mini.is-purple { color: #9b6bdc; } .dash-mini.is-orange { color: #f2a33a; }
.dash-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.dash-card { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 1px 3px rgba(11,20,26,.12); display: grid; gap: 12px; }
.dash-card h2, .dash-store h2 { margin: 0; font-size: 1.1rem; }
.dash-card p, .dash-sub { margin: 0; color: #667781; font-size: .82rem; }
.dash-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash-cstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.dash-cstat { border: 1px solid #e9edef; border-top: 5px solid; border-radius: 12px; padding: 12px; display: grid; gap: 4px; }
.dash-cstat span { font-weight: 700; font-size: .82rem; } .dash-cstat strong { font-size: 1.5rem; } .dash-cstat small { color: #667781; font-size: .72rem; }
.dash-cstat.is-purple { border-top-color: #7c4ddb; } .dash-cstat.is-blue { border-top-color: #4f6bed; } .dash-cstat.is-green { border-top-color: #38b48b; }
.dash-cstat.is-yellow { border-top-color: #e5c04a; } .dash-cstat.is-red { border-top-color: #e2544e; } .dash-cstat.is-pink { border-top-color: #c2449c; } .dash-cstat.is-dark { border-top-color: #2b3440; }
.dash-store { background: linear-gradient(150deg, #8a3df0, #6a2cd6); color: #fff; border-radius: 16px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.dash-store > p { margin: 0; opacity: .85; font-size: .8rem; }
.dash-store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-stat { background: #fff; color: #111b21; border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: flex-start; }
.dash-stat span { display: block; font-size: .78rem; color: #667781; } .dash-stat strong { font-size: 1.25rem; } .dash-stat small { display: block; font-size: .7rem; color: #8696a0; }
.dash-ic.is-soft { width: 2.2rem; height: 2.2rem; border-radius: .7rem; padding: .5rem; box-sizing: border-box; background: #efe5ff; color: #7c4ddb; }
.dash-progress { display: flex; align-items: center; gap: 10px; font-size: .82rem; }
.dash-bar { width: 140px; height: 8px; background: #eef1f3; border-radius: 999px; overflow: hidden; }
.dash-bar i { display: block; height: 100%; background: #25c7a5; }
.dash-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dash-step { border: 1px solid #e9edef; border-radius: 12px; padding: 14px; display: grid; gap: 6px; justify-items: start; }
.dash-step small { color: #667781; }
.dash-step.is-done { background: #effcf8; border-color: #bfeee2; }
.dash-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #3b6cf6; color: #fff; font-weight: 700; }
.dash-step.is-done .dash-num { background: #25c7a5; }
.dash-shortcuts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.dash-short { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border: 0; border-radius: 12px; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; color: #111b21; }
.dash-short .dash-ic { width: 1.6rem; height: 1.6rem; }
.dash-short:hover { filter: brightness(.96); transform: translateY(-1px); }
.dash-short.is-pink { background: #f6ecfb; } .dash-short.is-green { background: #e8f8f1; } .dash-short.is-teal { background: #e5f6f4; } .dash-short.is-blue { background: #e8eefc; }
.dash-short.is-indigo { background: #eceffd; } .dash-short.is-purple { background: #f0eafc; } .dash-short.is-rose { background: #fdecef; } .dash-short.is-amber { background: #fdf4e3; }
.dash-short.is-orange { background: #fdeee3; } .dash-short.is-slate { background: #eef1f3; }
.dash-link { border: 0; background: none; color: #3b5bdb; font: inherit; font-weight: 700; cursor: pointer; }
.dash-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; height: 260px; align-items: end; border-bottom: 1px solid #e9edef; padding-top: 10px; }
.dash-col { display: grid; grid-template-rows: auto 1fr auto; height: 100%; justify-items: center; gap: 4px; }
.dash-col small { font-size: .7rem; color: #54656f; }
.dash-col-bar { width: 100%; display: flex; align-items: flex-end; }
.dash-col-bar i { width: 100%; background: linear-gradient(180deg, #8fe3cf, #4fc9ad); border-radius: 6px 6px 0 0; }
.dash-col > span { font-size: .78rem; color: #667781; padding-bottom: 6px; }

/* ---------- Caixa PDV ---------- */
.pdv-root { padding: 12px 14px 30px; display: grid; gap: 12px; background: #eef1f4; min-height: 100%; }
.pdv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.pdv-head h1 { margin: 0; font-size: 1.15rem; display: flex; gap: 8px; align-items: center; }
.pdv-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.pdv-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.pdv-tool { color: #fff; }
.pdv-tool.is-orange { background: #f5a000; color: #3a2a00; } .pdv-tool.is-dark { background: #2b3440; } .pdv-tool.is-purple { background: #9b3ce6; }
.pdv-tool.is-gray { background: #7d8a94; } .pdv-tool.is-amber { background: #f07d00; } .pdv-tool.is-blue { background: #2f7de1; }
.pdv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.pdv-left, .pdv-right { display: grid; gap: 12px; }
.pdv-card { background: #fff; border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.08); display: grid; gap: 8px; }
.pdv-card h2 { margin: 0; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.pdv-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pdv-scan, .pdv-search { width: 100%; box-sizing: border-box; min-height: 42px; border: 1px solid #25c7a5; border-radius: 6px; padding: 0 12px; font: inherit; }
.pdv-search { border-color: #d1d7db; }
.pdv-check { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; }
.pdv-rows { max-height: 52vh; overflow-y: auto; display: grid; }
.pdv-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) 70px 52px; gap: 10px; align-items: center; padding: 8px 6px; border-bottom: 1px solid #eef1f3; }
.pdv-row:nth-child(odd) { background: #f7f8f9; }
.pdv-row-head { background: none !important; font-weight: 700; font-size: .85rem; padding: 4px 6px; border-bottom: 2px solid #e1e5e8; }
.pdv-row img, .pdv-ic.is-thumb { width: 44px; height: 52px; object-fit: cover; border-radius: 6px; background: #eef1f3; color: #8696a0; padding: 0; }
.pdv-row-info strong { display: block; font-weight: 500; font-size: .86rem; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdv-chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.pdv-chip { font-size: .7rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; color: #fff; }
.pdv-chip.is-green { background: #3fbf6f; } .pdv-chip.is-dark { background: #2b3440; } .pdv-chip.is-teal { background: #25c7a5; }
.pdv-stock { text-align: center; }
.pdv-row.is-out .pdv-stock { color: #c0392b; font-weight: 700; }
.pdv-add { width: 46px; height: 40px; justify-content: center; background: #2f7de1; color: #fff; padding: 0; }
.pdv-add .pdv-ic { width: 1.1rem; height: 1.1rem; }
.pdv-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdv-kpi { display: flex; align-items: center; gap: 14px; border-radius: 8px; padding: 8px 14px; color: #fff; }
.pdv-kpi strong { display: block; font-size: 1.4rem; } .pdv-kpi span { font-size: .78rem; }
.pdv-kpi.is-gray { background: #7d8a94; } .pdv-kpi.is-dark { background: #2b3440; }
.pdv-ic.is-big { width: 2.2rem; height: 2.2rem; } .pdv-dollar { font-size: 2rem; font-weight: 300; }
.pdv-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdv-wide { width: 100%; justify-content: center; color: #fff; }
.pdv-wide.is-cyan { background: #12b5cb; } .pdv-wide.is-blue { background: #3b8cf0; }
.pdv-notify, .pdv-opts label { display: flex; gap: 8px; align-items: center; justify-content: center; background: #fff; border-radius: 8px; padding: 8px; font-size: .88rem; }
.pdv-opts { grid-template-columns: 1fr 1fr; }
.pdv-switch { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: #c9d1d6; position: relative; cursor: pointer; flex: none; transition: background .15s; margin: 0; }
.pdv-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.pdv-switch:checked { background: #25c7a5; } .pdv-switch:checked::after { left: 19px; }
.pdv-clear { background: #fff; color: #c0392b; border: 1px solid #f1b9b4; padding: 5px 10px; }
.pdv-cart { display: grid; gap: 4px; }
.pdv-line { display: grid; grid-template-columns: minmax(0, 1fr) 118px 80px 86px 30px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #eef1f3; }
.pdv-line-head { font-weight: 700; font-size: .8rem; color: #54656f; }
.pdv-line-prod { display: flex; gap: 8px; align-items: center; min-width: 0; }
.pdv-line-prod img { width: 34px; height: 42px; object-fit: cover; border-radius: 4px; }
.pdv-line-prod strong { display: block; font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdv-line-prod small { color: #667781; font-size: .72rem; }
.pdv-line input { min-height: 32px; border: 1px solid #d1d7db; border-radius: 6px; text-align: center; width: 100%; box-sizing: border-box; font: inherit; }
.pdv-qty { display: grid; grid-template-columns: 30px 1fr 30px; gap: 3px; }
.pdv-qbtn, .pdv-rm { padding: 0; height: 32px; justify-content: center; background: #eef1f3; color: #3b4a54; }
.pdv-rm { background: #fde2e1; color: #a8241f; }
.pdv-empty { text-align: center; background: #f5f6f7; color: #54656f; padding: 10px; border-radius: 6px; margin: 0; }
.pdv-cashbar { display: flex; align-items: center; gap: 10px; background: #2b3440; color: #fff; border-radius: 8px; padding: 10px 14px; }
.pdv-cashbar.is-open { background: #155e4f; }
.pdv-cashbar > span:nth-child(2) { flex: 1; }
.pdv-cash-btn { background: #2f7de1; color: #fff; padding: 6px 12px; }
.pdv-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: 0 -2px 8px rgba(0,0,0,.08); flex-wrap: wrap; z-index: 5; }
.pdv-sum { display: grid; text-align: center; flex: 1; min-width: 100px; }
.pdv-sum span { font-weight: 700; font-size: .8rem; } .pdv-sum strong { font-weight: 500; }
.pdv-sum:nth-last-child(2) strong { font-weight: 800; font-size: 1.15rem; color: #00745b; }
.pdv-foot-actions { display: flex; gap: 6px; }
.pdv-cancel { background: #f5b335; color: #3a2a00; padding: 10px 14px; }
.pdv-save { background: #25c7a5; color: #fff; padding: 10px 18px; font-size: 1rem; }
.pdv-toast:empty { display: none; }
.pdv-toast { margin: 0; background: #e3f3ed; color: #00745b; font-weight: 700; padding: 8px 12px; border-radius: 8px; }
.pdv-toast.is-bad { background: #fde2e1; color: #a8241f; }
.pdv-overlay { position: fixed; inset: 0; z-index: 2100; background: rgba(11,20,26,.45); display: grid; place-items: start center; overflow-y: auto; padding: 40px 12px; }
.pdv-dialog { width: min(560px, 100%); background: #fff; border-radius: 14px; padding: 18px 20px; display: grid; gap: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.pdv-dialog h2 { margin: 0; font-size: 1.15rem; }
.pdv-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.pdv-field input, .pdv-field select, .pdv-field textarea { width: 100%; box-sizing: border-box; min-height: 40px; border: 1px solid #d1d7db; border-radius: 8px; padding: 6px 10px; font: inherit; }
.pdv-change { margin: 0; font-weight: 800; color: #00745b; }
.pdv-vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pdv-var { display: grid; gap: 2px; text-align: left; border: 1px solid #bfeee2; background: #effcf8; border-radius: 10px; padding: 10px; cursor: pointer; font: inherit; }
.pdv-var span { font-size: .75rem; color: #54656f; }
.pdv-var.is-out { opacity: .5; }
.pdv-done { font-size: 1.05rem; font-weight: 700; margin: 0; }
.pdv-done-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pdv-done-actions .pdv-btn { background: #2f7de1; color: #fff; }
.pdv-cash-sum { display: grid; gap: 4px; }
.pdv-cash-sum div { display: flex; justify-content: space-between; border-bottom: 1px solid #eef1f3; padding: 4px 0; }
.pdv-cash-sum .is-total { font-weight: 800; }
.pdv-orders { display: grid; gap: 8px; max-height: 60vh; overflow-y: auto; }
.pdv-order { display: flex; justify-content: space-between; gap: 10px; border: 1px solid #e9edef; border-radius: 10px; padding: 10px; }
.pdv-order small { display: block; color: #667781; }
.pdv-order.is-cancelado { opacity: .6; }
.pdv-order-actions { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.pdv-badge { margin-left: 6px; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e3f3ed; color: #00745b; }
.pdv-badge.is-orcamento { background: #e8f0fe; color: #1f4fbf; } .pdv-badge.is-cancelado { background: #fde2e1; color: #a8241f; }
.pdv-orders-sum { margin: 0; font-weight: 700; }
#pdv-receipt { display: none; }
@media print {
  body.pdv-printing > *:not(#pdv-receipt) { display: none !important; }
  body.pdv-printing #pdv-receipt { display: block; font: 12px/1.4 monospace; }
}

/* ---------- Pedidos ---------- */
.ord-root { max-width: 1400px; margin: 0 auto; padding: 16px 16px 40px; display: grid; gap: 14px; }
.ord-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.ord-head h1 { margin: 2px 0 0; font-size: 1.6rem; }
.ord-crumb { margin: 0; color: #667781; font-size: .82rem; }
.ord-new { background: #25c7a5 !important; border-color: #25c7a5 !important; }
.ord-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ord-tabs button { display: inline-flex; gap: 8px; align-items: center; border: 0; background: #fff; border-radius: 10px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; color: #54656f; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ord-tabs button[aria-selected="true"] { background: #e3f3ed; color: #00745b; }
.ord-count { background: #eef1f3; border-radius: 999px; padding: 0 8px; font-size: .78rem; }
.ord-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ord-kpi { border-radius: 12px; padding: 12px 14px; color: #fff; display: grid; }
.ord-kpi span { font-size: .8rem; opacity: .9; } .ord-kpi strong { font-size: 1.3rem; }
.ord-kpi.is-blue { background: linear-gradient(150deg, #4f6bed, #0e7c63); } .ord-kpi.is-green { background: linear-gradient(150deg, #38b48b, #1f7a5b); }
.ord-kpi.is-amber { background: linear-gradient(150deg, #f2b632, #c78400); } .ord-kpi.is-purple { background: linear-gradient(150deg, #9b6bdc, #6534b0); }
.ord-card { background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(11,20,26,.12); display: grid; gap: 12px; }
.ord-filters { position: relative; }
.ord-frow { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ord-flabel { display: block; font-size: .78rem; color: #3b4a54; margin-bottom: 4px; }
.ord-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ord-chip { border: 1px solid #dfe5e8; background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .82rem; cursor: pointer; color: #3b4a54; }
.ord-chip[aria-pressed="true"] { background: #25c7a5; border-color: #25c7a5; color: #fff; font-weight: 700; }
.ord-custom { display: flex; gap: 10px; }
.ord-custom input { min-height: 34px; border: 1px solid #d1d7db; border-radius: 8px; padding: 0 8px; font: inherit; }
.ord-clear { position: absolute; right: 16px; bottom: 14px; border: 0; background: none; color: #e2544e; font: inherit; font-weight: 700; cursor: pointer; }
.ord-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ord-total { font-weight: 700; color: #54656f; }
.ord-searchbox { display: flex; }
.ord-searchbox select, .ord-searchbox input { min-height: 38px; border: 1px solid #d1d7db; padding: 0 10px; font: inherit; }
.ord-searchbox select { border-radius: 8px 0 0 8px; border-right: 0; }
.ord-searchbox input { border-radius: 0 8px 8px 0; width: 220px; }
.ord-table-wrap { overflow-x: auto; }
.ord-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ord-table th { text-align: left; font-weight: 700; background: #f5f6f7; padding: 10px 8px; border-bottom: 1px solid #e1e5e8; white-space: nowrap; }
.ord-table td { padding: 10px 8px; border-bottom: 1px solid #eef1f3; vertical-align: top; }
.ord-table td small { display: block; color: #667781; }
.ord-table tr.is-cancelado td { opacity: .55; }
.ord-empty { text-align: center; color: #667781; padding: 30px !important; }
.ord-exp { border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: #54656f; }
.ord-badge { display: inline-block; margin: 2px 0; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; border: 0; }
.ord-badge.is-pago { background: #e3f3ed; color: #00745b; } .ord-badge.is-pendente { background: #fff1d6; color: #9a6400; }
.ord-badge.is-pdv { background: #e3f3ed; color: #00745b; display: block; width: max-content; margin-top: 4px; }
.ord-badge.is-stage { background: #e5f6f4; color: #0f6e6a; } .ord-badge.is-entregue { background: #e3f3ed; color: #00745b; }
.ord-badge.is-cancel { background: #fde2e1; color: #a8241f; } .ord-badge.is-quote { background: #e8f0fe; color: #1f4fbf; }
.ord-check { display: block; cursor: pointer; font: inherit; font-size: .7rem; font-weight: 700; }
.ord-check.is-warn { background: #fde2e1; color: #c0392b; } .ord-check.is-ok { background: #e3f3ed; color: #00745b; }
.ord-act-wrap { position: relative; }
.ord-act { border: 1px solid #d1d7db; background: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; cursor: pointer; white-space: nowrap; }
.ord-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(11,20,26,.25); padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 10px 16px; width: max-content; }
.ord-menu[hidden] { display: none; }
.ord-mgroup p { margin: 0 0 4px; font-size: .7rem; font-weight: 800; color: #667781; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid #eef1f3; padding-bottom: 4px; }
.ord-mgroup button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 7px 6px; border-radius: 6px; font: inherit; cursor: pointer; }
.ord-mgroup button:hover { background: #f0f2f5; }
.ord-mgroup button.is-danger { color: #e2544e; }
.ord-items td { background: #fafbfc; }
.ord-items-box { display: grid; gap: 6px; }
.ord-item { display: flex; gap: 10px; align-items: center; }
.ord-item img, .ord-noimg { width: 30px; height: 38px; object-fit: cover; border-radius: 4px; background: #eef1f3; }
.ord-item span { flex: 1; }
.ord-item-sum { margin: 4px 0 0; font-weight: 700; }
.ord-note { margin: 0; color: #54656f; }
.ord-kanban { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 10px; overflow-x: auto; }
.ord-col { background: #f5f6f7; border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 200px; border-top: 4px solid #8696a0; }
.ord-col.is-realizado { border-top-color: #4f6bed; } .ord-col.is-em_separacao { border-top-color: #f2b632; } .ord-col.is-separado { border-top-color: #9b6bdc; }
.ord-col.is-despachado { border-top-color: #12b5cb; } .ord-col.is-entregue { border-top-color: #38b48b; }
.ord-col h3 { margin: 0; display: flex; justify-content: space-between; font-size: .92rem; }
.ord-kcard { background: #fff; border-radius: 10px; padding: 10px; display: grid; gap: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ord-kcard span { font-size: .82rem; color: #54656f; }
.ord-kfoot { display: flex; justify-content: space-between; align-items: center; }
.ord-kfoot button { padding: 2px 10px; }
.ord-view-meta { margin: 0; color: #54656f; }
.ord-view-chips { display: flex; gap: 6px; }

@media (max-width: 900px) {
  .dash-kpis, .ord-kpis { grid-template-columns: 1fr 1fr; }
  .dash-split, .pdv-grid { grid-template-columns: 1fr; }
  .dash-steps { grid-template-columns: 1fr 1fr; }
  .dash-hero h1 { font-size: 1.4rem; }
  .ord-menu { grid-template-columns: 1fr; right: -8px; }
  .ord-clear { position: static; justify-self: end; }
  .ord-searchbox input { width: 100%; }
  .pdv-line { grid-template-columns: 1fr 110px 30px; }
  .pdv-line > input, .pdv-line > strong, .pdv-line-head span:nth-child(3), .pdv-line-head span:nth-child(4) { display: none; }
  .pdv-foot .pdv-sum { min-width: 30%; }
  .topbar-shortcuts { width: 100%; justify-content: center; }
}
@media (max-width: 520px) {
  .dash-kpis, .ord-kpis, .dash-store-grid, .dash-steps { grid-template-columns: 1fr; }
  .dash-chart { height: 200px; gap: 6px; }
  .dash-col small { display: none; }
  .pdv-opts, .pdv-2, .pdv-kpis { grid-template-columns: 1fr; }
}

#mainnav [data-go="dashboard"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%229%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%225%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2212%22%20width%3D%227%22%20height%3D%229%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2216%22%20width%3D%227%22%20height%3D%225%22%20rx%3D%221.5%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(150deg, #4f6bed, #0e7c63); }
#mainnav [data-go="pdv"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2220%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2220%22%20r%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M2%203h3l2.7%2012.4a2%202%200%200%200%202%201.6h7.8a2%202%200%200%200%202-1.5L21%208H6%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(150deg, #9b6bdc, #6534b0); }
#mainnav [data-go="orders"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%208h14l-1%2012H6zM9%208V6a3%203%200%200%201%206%200v2%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(150deg, #f2994a, #d0640c); }
.ord-clear { position: static !important; justify-self: end; padding: 0; }
@media (min-width: 901px) { .ord-table-wrap { overflow: visible; } }
@media (max-width: 900px) { .pdv-foot { position: static; } .ord-menu { position: fixed; left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 70vh; overflow-y: auto; } }

/* Papéis (etapa 2): áreas escondidas para o atendente. */
body[data-mode="server"] #mainnav .menu-panel button[data-go][hidden], #mainnav button[data-go][hidden] { display: none !important; }
/* Primeiros passos (onboarding.js) */
.top-short.is-onb { background: linear-gradient(150deg, #25c7a5, #0f8f75); }
.onb-overlay { position: fixed; inset: 0; z-index: 2300; background: rgba(11,20,26,.5); display: grid; place-items: center; padding: 16px; }
.onb-box { width: min(560px, 100%); background: #fff; border-radius: 18px; padding: 22px; display: grid; gap: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.3); max-height: calc(100vh - 32px); overflow-y: auto; }
.onb-kicker { margin: 0; color: #00745b; font-weight: 800; }
.onb-box h2 { margin: 0; font-size: 1.35rem; }
.onb-progress { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: #54656f; }
.onb-bar { flex: 1; height: 8px; background: #eef1f3; border-radius: 999px; overflow: hidden; }
.onb-bar i { display: block; height: 100%; background: #25c7a5; }
.onb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.onb-steps li { display: flex; align-items: center; gap: 12px; border: 1px solid #e9edef; border-radius: 12px; padding: 10px 12px; }
.onb-steps li.is-done { background: #effcf8; border-color: #bfeee2; }
.onb-steps li > div { flex: 1; min-width: 0; } .onb-steps small { display: block; color: #667781; }
.onb-num { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #3b6cf6; color: #fff; font-weight: 800; }
.onb-steps li.is-done .onb-num { background: #25c7a5; }
.onb-go { border: 0; border-radius: 9px; padding: 8px 12px; background: #111b21; color: #fff; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.onb-go.is-done { background: #e3f3ed; color: #00745b; }
.onb-skip { justify-self: end; border: 0; background: none; color: #54656f; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) { .onb-steps li { flex-wrap: wrap; } .onb-go { width: 100%; } }
#mainnav .menu-group[hidden] { display: none !important; }

/* PDV simples e prático (15/11) */
.pdv-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pdv-more { background: #fff; color: #111b21; border: 1px solid #c9d1d6; }
.pdv-tool.is-cyan { background: #12b5cb; }
.pdv-extras { display: grid; gap: 12px; }
.pdv-extras[hidden], .pdv-tools[hidden] { display: none !important; }
.pdv-extras .pdv-tools { background: #fff; border-radius: 10px; padding: 10px; }
.pdv-opts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }
.pdv-big-total { flex: 2 !important; text-align: right !important; }
.pdv-big-total span { font-weight: 600 !important; color: #54656f; font-size: .9rem !important; }
.pdv-big-total strong { font-size: 1.9rem !important; font-weight: 800 !important; color: #00745b !important; }
.pdv-save { font-size: 1.15rem !important; padding: 14px 26px !important; border-radius: 12px !important; }
.pdv-save:disabled { opacity: .45; cursor: not-allowed; }
.pdv-checkout { width: min(480px, 100%); text-align: center; }
.pdv-co-label { margin: 0; color: #54656f; font-weight: 600; }
.pdv-co-total { margin: 0; font-size: 2.4rem; font-weight: 800; color: #00745b; }
.pdv-co-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.pdv-co-pay { display: grid; justify-items: center; gap: 4px; padding: 14px 8px; border: 2px solid #e1e5e8; border-radius: 14px; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pdv-co-pay[aria-pressed="true"] { border-color: #0e7c63; background: #e7fce3; color: #00745b; }
.pdv-co-ic { font-size: 1.6rem; }
.pdv-co-extra { text-align: left; display: grid; gap: 8px; }
.pdv-co-extra[hidden] { display: none; }
.pdv-co-extra input { font-size: 1.3rem !important; min-height: 50px !important; }
.pdv-co-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.pdv-co-chip { border: 1px solid #c9d1d6; background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; cursor: pointer; }
.pdv-co-ok { min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px; background: #0e7c63; color: #fff; font: inherit; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.pdv-co-ok:disabled { opacity: .45; cursor: not-allowed; }
/* Menu: mais usados à vista, resto em "Mais opções" */
body[data-mode="server"] #mainnav .menu-group.is-main { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
body[data-mode="server"] #mainnav .menu-group.is-main .menu-group-title { grid-column: 1 / -1; }
body[data-mode="server"] #mainnav .menu-panel:not(.show-more) .menu-group.is-more { display: none; }
#mainnav .menu-more-toggle { grid-column: 1 / -1; justify-self: start; border: 1px solid #c9d1d6; background: #fff; color: #111b21; border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 700px) { body[data-mode="server"] #mainnav .menu-group.is-main { grid-template-columns: 1fr; } }
.ord-badge.is-site { background: #fff1e6; color: #c25a00; display: block; width: max-content; margin-top: 4px; }

/* Painel: Seu site / catálogo */
.dash-site { border: 1px solid #ffd8bf; background: linear-gradient(120deg, #fff7f0, #fff 60%); }
.dash-site.is-off { border-style: dashed; }
.dash-site .dash-card-head { flex-wrap: wrap; gap: 12px; }
.dash-site .dash-hero-btn { text-decoration: none; display: inline-flex; align-items: center; background: #e8571a; color: #fff; border: 0; }
.dash-site .dash-hero-btn.is-ghost { background: #fff; color: #b8440f; border: 1px solid #f3b892; }
.dash-site-link { color: #0b6b55; font-weight: 700; word-break: break-all; text-decoration: none; }
.dash-site-new { font-style: normal; font-size: .8rem; color: #0b6b55; font-weight: 700; }
.dash-site .dash-store-grid { margin-top: 12px; }

/* Marca FeiraFácil no topo do sistema (logo escolhida pelo Lucas, 16/11) */
.brand-mark { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22f%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%230e7c63%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23064d3d%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22s%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff8a4c%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e8571a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20rx%3D%2214%22%20fill%3D%22url%28%23f%29%22%2F%3E%3Cpath%20d%3D%22M32%2013v-2q0-1%201-1.5q2-1%202-3q0-2.5-3-2.5q-2.5%200-3%202%22%20fill%3D%22none%22%20stroke%3D%22%23ffd9c2%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M23%2024q0-10%209-10q9%200%209%2010%22%20fill%3D%22none%22%20stroke%3D%22%23ffd9c2%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M16%2021h32q2%200%202.3%202l2.6%2027q.3%203-2.7%203H13.8q-3%200-2.7-3l2.6-27q.3-2%202.3-2z%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2227%22%20r%3D%221.6%22%20fill%3D%22%239a3410%22%20opacity%3D%22.55%22%2F%3E%3Ccircle%20cx%3D%2241%22%20cy%3D%2227%22%20r%3D%221.6%22%20fill%3D%22%239a3410%22%20opacity%3D%22.55%22%2F%3E%3C%2Fsvg%3E") center / cover no-repeat !important; box-shadow: 0 3px 8px rgba(0,0,0,.25) !important; }
.dash-site .dash-store-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Paleta da logo FeiraFácil no sistema todo (16/11): verde #0e7c63/#064d3d + laranja #ff8a4c/#e8571a */
.top-short.is-panel { background: linear-gradient(150deg, #13977a, #0b6b55) !important; }
.top-short.is-pdv { background: linear-gradient(150deg, #ff8a4c, #e8571a) !important; }
.top-short.is-orders { background: #fff !important; color: #0b6b55 !important; }
.top-short.is-support { background: linear-gradient(150deg, #ffb489, #f27a3a) !important; }
.dash-store { background: linear-gradient(150deg, #0e7c63, #064d3d) !important; }
.dash-hero { background: linear-gradient(120deg, #064d3d, #0e7c63 60%, #13977a) !important; }
.dash-hero-btn:not(.is-ghost) { background: linear-gradient(90deg, #ff8a4c, #e8571a) !important; color: #fff !important; border: 0 !important; }

/* Suporte e Primeiros passos dentro do menu (16/11) */
.menu-shortcuts .topbar-shortcuts { display: grid !important; gap: 6px; margin: 0; padding: 0; background: none; box-shadow: none; }
.menu-shortcuts .top-short { justify-content: flex-start; width: 100%; border-radius: 10px; padding: 10px 12px; font-size: .95rem; background: #f3faf7 !important; color: #0b6b55 !important; box-shadow: none; border: 1px solid #d4ebe2; }
.menu-shortcuts .top-short:hover { background: #e3f3ed !important; }
.menu-shortcuts .top-short::before { content: ""; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background-position: center; background-repeat: no-repeat; background-size: 24px; box-shadow: 0 2px 4px #173d3824; }
.menu-shortcuts .top-short.is-support::before { background-color: #087c68; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2013v-1a8%208%200%200%201%2016%200v1M4%2012H3v7h4v-7H4Zm16%200h1v7h-4v-7h3Zm0%207a3%203%200%200%201-3%203h-4%22%2F%3E%3C%2Fsvg%3E"); }
.menu-shortcuts .top-short.is-onb::before { background-color: #3f66b7; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%208c3-4%206-5%209-5%200%203-1%206-5%209l-4%203-4-4%204-3ZM8%2011H4l-2%205%206-1m5%201v4l-5%202%201-6M6%2018l-3%203%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%228%22%20r%3D%221.5%22%2F%3E%3C%2Fsvg%3E"); }

/* Atalhos do painel: símbolos brancos em cores próprias, com relevo discreto. */
.dash-short { gap: 10px; padding: 14px 8px; transition: transform .15s, box-shadow .15s; }
.dash-short .dash-ic { width: 2.65rem; height: 2.65rem; padding: .57rem; color: #fff; border-radius: .8rem; background: linear-gradient(145deg,var(--shortcut-light),var(--shortcut-dark)); box-shadow: 0 4px 7px #172b3e26,inset 0 1px 0 #ffffff66,inset 0 -2px 0 #00000018; }
.dash-short .dash-ic svg { stroke-width: 1.9; }
.dash-short.is-pink { --shortcut-light: #c65fd4; --shortcut-dark: #9636ac; }
.dash-short.is-green { --shortcut-light: #32b78d; --shortcut-dark: #08795d; }
.dash-short.is-teal { --shortcut-light: #24b9ac; --shortcut-dark: #087f82; }
.dash-short.is-blue { --shortcut-light: #5b96ed; --shortcut-dark: #275eb6; }
.dash-short.is-indigo { --shortcut-light: #647fed; --shortcut-dark: #3c4fae; }
.dash-short.is-purple { --shortcut-light: #ac79e4; --shortcut-dark: #743eb7; }
.dash-short.is-rose { --shortcut-light: #ee6c95; --shortcut-dark: #bc315e; }
.dash-short.is-amber { --shortcut-light: #e7b64c; --shortcut-dark: #b37b12; }
.dash-short.is-orange { --shortcut-light: #ed9d57; --shortcut-dark: #bf661d; }
.dash-short.is-slate { --shortcut-light: #6f96ad; --shortcut-dark: #345a74; }
.dash-short:hover { filter: none; transform: translateY(-2px); box-shadow: 0 5px 12px #172b3e12; }
.dash-short:active { transform: none; }

/* Etiquetas ao alcance de quem atende, junto aos filtros de conversas. */
.pane-list #inbox-open-labels { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #0b6b55; }
.pane-list #inbox-open-labels svg { flex: none; }

/* Guia completo, com símbolos vetoriais e leitura confortável. */
.onb-box { width: min(820px, 100%); box-sizing: border-box; padding: clamp(18px, 3vw, 30px); max-height: calc(100dvh - 32px); overscroll-behavior: contain; scrollbar-gutter: stable; }
.onb-intro { margin: 0; color: #54656f; max-width: 65ch; }
.onb-summary { margin: 0 0 4px; font-size: .85rem; color: #0b6b55; font-weight: 600; }
.onb-steps { gap: 10px; }
.onb-steps li { align-items: flex-start; padding: 16px; gap: 14px; }
.onb-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #087c68; background: #e3f3ed; }
.onb-icon svg { width: 24px; height: 24px; }
.onb-step-label { display: block; font-size: .72rem; color: #667781; margin-bottom: 3px; }
.onb-steps strong { display: block; font-size: 1rem; line-height: 1.35; }
.onb-steps small { margin-top: 5px; font-size: .86rem; line-height: 1.5; }
.onb-detected { display: inline-block; margin-top: 7px; font-size: .74rem; font-weight: 600; color: #087c68; }
.onb-go, .onb-go.is-done { align-self: center; background: #fff; color: #0b6b55; border: 1px solid #b3d4c8; font-size: .82rem; padding: 9px 12px; white-space: normal; max-width: 170px; }
.onb-go:hover { background: #e3f3ed; }
.onb-go:focus-visible, .onb-skip:focus-visible { outline: 3px solid #087c68; outline-offset: 3px; }
@media (max-width: 600px) { .onb-steps li { flex-wrap: wrap; } .onb-go, .onb-go.is-done { margin-left: 56px; width: calc(100% - 56px); max-width: none; } }

.res-networks { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; }
.res-networks button { border: 1px solid #c9dcd4; border-radius: 999px; background: #fff; color: #245348; padding: 9px 17px; font: inherit; font-weight: 600; cursor: pointer; }
.res-networks button[aria-selected="true"] { background: #0b6b55; border-color: #0b6b55; color: #fff; }
.res-networks button:focus-visible { outline: 3px solid #12a68b; outline-offset: 3px; }
#results-group-section[hidden], #results-campaign-section[hidden] { display: none; }
.res-kpi { min-width: 0; overflow-wrap: anywhere; }

.dash-hero .dash-hero-btn.is-conversations { background: #fff; color: #075441; border: 1px solid #fff; display: inline-flex; align-items: center; gap: 8px; }
.dash-hero .dash-hero-btn.is-conversations:hover { background: #e0f4e9; border-color: #e0f4e9; }
.dash-hero .dash-hero-btn.is-conversations:focus-visible { outline: 3px solid #ffbc93; outline-offset: 3px; }

/* Painel amplo: ocupa a tela e mantém leitura confortável no computador. */
#dashboard-host .dash-root { width:100%;max-width:none;margin:0;padding:20px 24px 40px;gap:20px; }
@media(min-width:1000px) {
  #dashboard-host .dash-root { font-size:17px; }
  #dashboard-host .dash-hero { padding:32px 36px; }
  #dashboard-host .dash-hero h1 { font-size:2.35rem; }
  #dashboard-host .dash-hero p { font-size:1rem; }
  #dashboard-host .dash-hero-btn { font-size:16px;padding:14px 22px; }
  #dashboard-host .dash-kpi { padding:22px; }
  #dashboard-host .dash-kpi span { font-size:15px; }
  #dashboard-host .dash-kpi strong { font-size:26px; }
  #dashboard-host .dash-card { padding:22px 24px; }
  #dashboard-host :is(.dash-card,.dash-store) h2 { font-size:21px; }
  #dashboard-host :is(.dash-card p,.dash-sub,.dash-cstat span,.dash-store > p,.dash-hero-card span,.dash-hero-card small) { font-size:15px; }
  #dashboard-host :is(.dash-cstat small,.dash-store small) { font-size:14px; }
  #dashboard-host .dash-step small { font-size:15px;line-height:1.5; }
  #dashboard-host .dash-short { font-size:16px;padding:20px 12px; }
}
@media(max-width:600px) { #dashboard-host .dash-root { padding:12px 12px 28px;gap:14px; } }

/* PDV ocupa a área de trabalho; produtos e pedido rolam sem esconder o total. */
body[data-screen="pdv"] #pdv-area { min-height:0;overflow:hidden; }
#pdv-host { width:100%;height:100%;min-height:0; }
#pdv-host .pdv-root { width:100%;height:100%;min-height:0;max-width:none;margin:0;padding:12px;grid-template-rows:auto minmax(0,1fr) auto auto; }
.pdv-root:fullscreen { width:100vw;height:100dvh;max-width:none;padding:14px;overflow:auto;background:#eef1f4;grid-template-rows:auto minmax(0,1fr) auto auto; }
.pdv-fullscreen { background:#e5f4ed;color:#0b6b55;border:1px solid #badccc; }
.pdv-root .pdv-toast:empty { display:none; }
@media(min-width:901px) {
 .pdv-root .pdv-grid { min-height:0;overflow:hidden;align-items:stretch; }
 .pdv-root .pdv-left { min-height:0;display:flex;flex-direction:column; }
 .pdv-root .pdv-left > .pdv-card:first-child { flex:none; }
 .pdv-root .pdv-search-card { flex:1;min-height:0;display:flex;flex-direction:column; }
 .pdv-root .pdv-rows { min-height:0;max-height:none;flex:1;overflow:auto;align-content:start; }
 .pdv-root .pdv-right { min-height:0;overflow-y:auto;align-content:start; }
 .pdv-root .pdv-foot { margin:0;flex-wrap:wrap; }
}
@media(max-width:900px) {
 body[data-screen="pdv"] #pdv-area { overflow-y:auto; }
 #pdv-host { height:auto;min-height:100%; }
 #pdv-host .pdv-root { height:auto;min-height:100%;grid-template-rows:auto auto auto auto; }
 .pdv-root:fullscreen { overflow-y:auto;grid-template-rows:auto auto auto auto; }
}
