/* Fácil e Automático · página Demonstrações */
.demo-hero { padding: clamp(40px, 6vw, 72px) 0 28px; }
.demo-hero h1 { max-width: 18ch; }

.biz-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.biz-picker button {
	display: flex; align-items: center; gap: 10px; text-align: left;
	font: 600 .98rem/1.2 var(--font-body); color: var(--ink);
	background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px;
	padding: 14px 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.biz-picker button:hover { border-color: var(--primary); }
.biz-picker button[aria-checked="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(47, 91, 234, .28); }
.bz-ic { font-size: 1.45rem; line-height: 1; flex: none; }

.demo-nav { position: sticky; top: 76px; z-index: 20; background: rgba(246, 247, 251, .94); backdrop-filter: blur(8px); border-block: 1px solid var(--line); }
.demo-nav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.demo-nav-inner::-webkit-scrollbar { display: none; }
.demo-nav a { flex: none; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.demo-nav a span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--primary); font-size: .75rem; }
.demo-nav a:hover { border-color: var(--primary); }

.demo { padding: clamp(44px, 6vw, 72px) 0; scroll-margin-top: 130px; }
.demo:nth-child(even) { background: var(--surface); }
.demo-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.demo-head h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.demo-num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; font: 800 1.2rem var(--font-head); }
.demo-problem { color: var(--muted); max-width: 70ch; margin: 0; }

.ds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ds-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.demo:nth-child(odd) .ds-panel { background: var(--surface); }
.ds-wide { max-width: none; }
.demo button, .demo-hero button { font-family: var(--font-body); }
.ds-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.ds-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }

.ds-form label, .ds-in { display: grid; gap: 5px; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.ds-form input, .ds-form select, .ds-in input, .ds-list, .ds-rem textarea {
	font: 400 1rem var(--font-body); color: var(--ink); background: #fff;
	border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; box-sizing: border-box;
}
.ds-form input:focus, .ds-form select:focus, .ds-in input:focus, .ds-list:focus, .ds-rem textarea:focus { outline: none; border-color: var(--primary); }
.ds-brand { font: 800 1.15rem var(--font-head); margin-bottom: 14px; }

.ds-msg, .ds-notif { margin-top: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 12px; padding: 12px 14px; font-size: .92rem; box-shadow: var(--shadow); }
.ds-msg b, .ds-notif b { display: block; margin-bottom: 3px; }
.ds-notif { border-left-color: #25d366; }
.pop { animation: dsPop .45s ease; }
@keyframes dsPop { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }

.ds-sheet { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; overflow-x: auto; }
.ds-sheet-h { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-weight: 700; font-size: .9rem; border-bottom: 1px solid var(--line); background: #f8fafc; }
.ds-sheet-h::before { content: ""; width: 14px; height: 18px; border-radius: 3px; background: #1e8e3e; flex: none; }
.ds-sheet table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.ds-sheet th { text-align: left; font-weight: 600; color: var(--muted); background: #f1f5f9; padding: 8px 10px; font-size: .78rem; }
.ds-sheet td { padding: 9px 10px; border-top: 1px solid #eef2f7; vertical-align: top; }
.ds-sheet td small { display: block; color: var(--muted); font-size: .75rem; }
.ds-sheet tfoot td { font-weight: 700; background: #f8fafc; }
.ds-ok { display: inline-block; background: #dcfce7; color: #166534; border-radius: 999px; padding: 2px 9px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.ds-new td { animation: dsRow 1.6s ease; }
@keyframes dsRow { from { background: #fff1c2; } to { background: transparent; } }

/* Fatura */
.ds-invoice { position: relative; overflow: hidden; background: #fffdf8; border: 1px solid #e8e1d2; border-radius: 6px; padding: 18px; margin-bottom: 14px; font-family: "Courier New", monospace; font-size: .8rem; color: #333; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); transform: rotate(-.6deg); }
.ds-invoice .inv-h { display: flex; flex-direction: column; margin-bottom: 8px; }
.ds-invoice .inv-h b { font-size: .92rem; }
.ds-invoice .inv-meta { display: flex; justify-content: space-between; border-block: 1px dashed #ccc; padding: 5px 0; margin-bottom: 6px; }
.ds-invoice table { width: 100%; border-collapse: collapse; }
.ds-invoice td { padding: 3px 0; } .ds-invoice td:last-child { text-align: right; }
.ds-invoice .inv-t { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; border-top: 1px dashed #ccc; margin-top: 6px; padding-top: 6px; }
.ds-scan { position: absolute; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(to bottom, transparent, rgba(47, 91, 234, .35), transparent); opacity: 0; pointer-events: none; }
.ds-invoice.scanning .ds-scan { opacity: 1; animation: dsScan 1.1s linear infinite; }
.ds-invoice.read { outline: 3px solid #22c55e; outline-offset: -3px; }
@keyframes dsScan { from { top: -20%; } to { top: 100%; } }

/* Telemóvel / checklist */
.ds-phone { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); max-width: 380px; }
.ds-phone-h { font-weight: 700; margin-bottom: 12px; } .ds-phone-h small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.ds-check { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.ds-check li { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 10px; padding: 9px 10px; }
.ds-check label { display: flex; align-items: center; gap: 10px; flex: 1; font-size: .93rem; cursor: pointer; }
.ds-check input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; }
.ds-cam { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 7px; cursor: pointer; font-size: 1rem; filter: grayscale(1); opacity: .6; }
.ds-cam.on { filter: none; opacity: 1; border-color: var(--primary); background: var(--accent-soft); }
.ds-report { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px rgba(16, 26, 58, .1); font-size: .88rem; overflow: hidden; }
.rp-h { background: var(--primary); color: #fff; display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; flex-wrap: wrap; }
.rp-meta { padding: 12px 16px 0; color: var(--muted); font-size: .82rem; }
.ds-report ul { list-style: none; margin: 0; padding: 10px 16px; display: grid; gap: 6px; }
.ds-report li.ok { color: var(--ink); } .ds-report li.no { color: #a3a9b8; font-style: italic; }
.ds-report li em { color: var(--primary); font-style: normal; font-size: .8rem; }
.rp-obs { margin: 0 16px 16px; padding: 10px 12px; background: var(--bg); border-radius: 8px; }

/* Lembretes */
.ds-rem { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ds-rem li { display: grid; grid-template-columns: 240px 1fr 190px; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; transition: opacity .2s; }
.ds-rem li.done { opacity: .55; }
.rm-who b { display: block; } .rm-who span { font-size: .85rem; color: var(--muted); }
.ds-rem textarea { font-size: .9rem; resize: vertical; }
.rm-act { display: grid; gap: 8px; }
.rm-act .btn-primary { background: #1fa855; border-color: #1fa855; }

/* Textos */
.ds-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.ds-tabs button { font: 600 .85rem var(--font-body); border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.ds-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ds-post { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-height: 190px; margin-bottom: 12px; font-size: .95rem; line-height: 1.55; }
.ds-post.poster { text-align: center; font: 800 1.25rem/1.35 var(--font-head); background: #fffbea; border: 3px solid var(--accent); }

/* Resumo */
.ds-mailbox { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.ds-mailbox .ds-notif { margin: 0; }
.ds-email { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.ds-email.grow { animation: dsPop .5s ease; }
.em-h { padding: 14px 18px; border-bottom: 1px solid var(--line); } .em-h small { display: block; color: var(--muted); font-size: .78rem; } .em-h b { font-size: 1.05rem; }
.em-m { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 18px 0; }
.em-m div { background: var(--bg); border-radius: 12px; padding: 12px; } .em-m span { display: block; font-size: .78rem; color: var(--muted); } .em-m b { font: 800 1.35rem var(--font-head); }
.em-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 130px; padding: 18px; }
.em-chart div { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.em-chart i { display: block; width: 100%; max-width: 34px; height: var(--h); min-height: 3px; background: var(--primary); border-radius: 6px 6px 2px 2px; }
.em-chart span { font-size: .72rem; color: var(--muted); }
.em-pend { margin: 0 18px 18px; background: #fff8e1; border-radius: 12px; padding: 12px 14px; font-size: .9rem; } .em-pend ul { margin: 6px 0 0; padding-left: 18px; }

/* Seguimento */
.ds-tl { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.ds-tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.ds-tl li { position: relative; padding: 0 0 18px 32px; opacity: .45; transition: opacity .3s; }
.ds-tl li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); transition: background .3s, border-color .3s; }
.ds-tl li.on { opacity: 1; } .ds-tl li.on::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-when { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.tl-body b { display: block; } .tl-body > span { font-size: .88rem; color: var(--muted); }
.tl-bubble { display: inline-block; margin-top: 6px; background: #dcf8c6; border-radius: 12px 12px 12px 3px; padding: 8px 12px; font-size: .9rem; max-width: 520px; }

/* Documentos */
.ds-list { font-size: .95rem; line-height: 1.6; resize: vertical; }
.ds-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dc { position: relative; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 10px; padding: 12px; min-height: 92px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); animation: dsPop .35s ease; }
.dc small { color: var(--primary); font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.dc b { font-size: .92rem; } .dc span { font-size: .9rem; } .dc em { margin-top: auto; font-style: normal; font-size: .72rem; color: var(--muted); }
.dc-orcamento, .dc-declaracao { border-left-color: var(--primary); }
.dc-more { display: grid; place-items: center; font: 800 1.4rem var(--font-head); color: var(--muted); }

/* Antes / depois */
.demo-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.ba { border-radius: 14px; padding: 14px 16px; font-size: .92rem; }
.ba b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.ba ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.ba-a { background: #fdecec; color: #7f1d1d; } .ba-d { background: #e7f8ee; color: #14532d; }

.demo-site { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.demo-site h2 { margin: 0 0 6px; } .demo-site p { margin: 0; color: var(--muted); max-width: 60ch; }

@media (max-width: 860px) {
	.biz-picker { grid-template-columns: 1fr 1fr; }
	.ds-grid, .demo-ba { grid-template-columns: 1fr; }
	.ds-rem li { grid-template-columns: 1fr; }
	.rm-act { grid-template-columns: 1fr 1fr; }
	.em-m { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .em-m b { font-size: 1.05rem; }
}
@media (max-width: 420px) {
	.biz-picker button { font-size: .88rem; padding: 12px 10px; gap: 8px; }
	.ds-panel { padding: 14px; }
	.demo-head { gap: 12px; } .demo-num { width: 38px; height: 38px; font-size: 1rem; }
}

/* ================================================================
   Para restaurantes: apresentação de 12 ideias
   ================================================================ */
.rs-intro { padding: clamp(36px, 5vw, 60px) 0 10px; }
.rs-intro h1 { max-width: 20ch; }
.rs-pacotes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rs-pac { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 4px 11px; }
.rs-pac-base { background: #e8eeff; color: #2147c4; }
.rs-pac-clientes { background: #fff2cf; color: #8a5a00; }
.rs-pac-gestao { background: #e3f6ea; color: #1f6b3a; }
.rs-pac-equipa { background: #f3e6ff; color: #6b2fa3; }
.rs-app { padding: 18px 0 70px; }
.rs-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rs-chip { display: inline-flex; align-items: center; gap: 6px; font: 600 .85rem var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.rs-chip span { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--bg); font-size: .72rem; }
.rs-chip.on { border-color: var(--primary); background: var(--primary); color: #fff; }
.rs-chip.on span { background: rgba(255, 255, 255, .25); }
.rs-chip.quer:not(.on) { border-color: #1fa855; color: #14532d; background: #e7f8ee; }
.rs-chip-fim { margin-left: auto; }
.rs-slide { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); min-height: 520px; }
.rs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.rs-head h2 { margin: 8px 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.rs-dor { color: var(--muted); margin: 0; max-width: 70ch; font-size: 1.05rem; }
.rs-quero { flex: none; font: 700 1rem var(--font-body); border: 2px solid #1fa855; color: #1fa855; background: #fff; border-radius: 999px; padding: 11px 20px; cursor: pointer; }
.rs-quero.on { background: #1fa855; color: #fff; }
.rs-ganhos { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rs-ganhos li { position: relative; padding-left: 22px; font-weight: 600; font-size: .95rem; }
.rs-ganhos li::before { content: "✓"; position: absolute; left: 0; color: #1fa855; }
.rs-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 12px; }
.rs-count { color: var(--muted); font-weight: 600; }
.rs-dica { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 8px; }
.rs-demo .ds-panel { background: var(--bg); }
.rs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rs-2c { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rs-livres { margin: 6px 0 12px; font-size: .92rem; }
.rs-pad { padding: 16px 18px; font-size: .95rem; line-height: 1.55; }
.rs-pad ul { margin: 8px 0; }
.rs-botoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rs-cancel td { color: var(--muted); }
.rs-redes { display: grid; gap: 10px; }
.rs-rede { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; font-size: .92rem; }
.rs-rede small { font-weight: 700; color: var(--muted); }
.rs-insta-img { background: linear-gradient(135deg, #f58529, #dd2a7b 60%, #8134af); color: #fff; border-radius: 10px; padding: 18px; text-align: center; font: 700 1.1rem var(--font-head); }
.rs-orc table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; }
.rs-orc td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rs-orc td:last-child { text-align: right; font-weight: 600; }
.rs-orc tr.t td { font-weight: 800; font-size: 1.05rem; background: #eef3ff; }
.rs-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rs-lista li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rs-lista span { color: var(--muted); font-size: .88rem; }
.rs-bolha { display: block; max-width: none; margin: 0 0 12px; }
.rs-vale { background: #fff; border: 1px solid var(--line); border-left: 6px solid #b5523b; border-radius: 12px; padding: 14px 16px; display: grid; gap: 3px; margin-bottom: 12px; }
.rs-vale small { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; }
.rs-vale b { font-size: 1.15rem; } .rs-vale em { font-style: normal; color: var(--muted); font-size: .85rem; }
.rs-alerta { background: #fff4e5; border: 1px solid #f3c98b; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; display: grid; gap: 2px; }
.rs-alerta span { color: #7a4b00; font-size: .9rem; }
.rs-mau { display: inline-block; background: #fde2e1; color: #9b1c1c; border-radius: 999px; padding: 2px 9px; font-size: .75rem; font-weight: 700; }
.rs-bom { color: #1f6b3a; }
b.rs-mau { background: none; font-size: 1.35rem; padding: 0; }
.rs-n { width: 70px; font: inherit; border: 1.5px solid var(--line); border-radius: 8px; padding: 5px 8px; }
.rs-escala td, .rs-escala th { text-align: center; padding: 6px; }
.rs-escala td:first-child { text-align: left; white-space: nowrap; }
.rs-turno { font: 600 .78rem var(--font-body); border: 0; border-radius: 8px; padding: 6px 8px; cursor: pointer; width: 100%; }
.rs-turno.t0 { background: #e8eeff; color: #2147c4; } .rs-turno.t1 { background: #fff2cf; color: #8a5a00; }
.rs-turno.t2 { background: #e3f6ea; color: #1f6b3a; } .rs-turno.t3 { background: #eee; color: #777; }
.rs-msgs { display: grid; gap: 8px; margin-top: 14px; }
.rs-review { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.rs-stars { color: #f5a623; font-size: 1.2rem; letter-spacing: 2px; } .rs-stars span { color: #ddd; }
.rs-review p { margin: 6px 0 0; color: var(--ink); }
.rs-resumo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 20px; }
.rs-grupo { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.rs-grupo ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; font-weight: 600; }
.rs-envio { max-width: 560px; }
@media (max-width: 860px) {
	.rs-head { flex-direction: column; }
	.rs-2c, .rs-resumo { grid-template-columns: 1fr; }
	.rs-chip-fim { margin-left: 0; }
	.rs-escala { font-size: .8rem; }
}
.rs-link-rest { margin: 16px 0 0; font-weight: 600; }

/* ---------- Modo ao vivo (escondido, só com senha) ---------- */
.av-barra { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 16px; margin-bottom: 14px; }
.av-barra label { display: grid; gap: 3px; font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .75); flex: 1 1 200px; }
.av-barra input { font: 400 .98rem var(--font-body); border: 0; border-radius: 9px; padding: 9px 11px; color: var(--ink); }
.av-quota { font-size: .82rem; color: rgba(255, 255, 255, .8); margin-left: auto; align-self: center; }
.av-sair { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 7px 14px; font: 600 .85rem var(--font-body); cursor: pointer; align-self: center; }
.av-tag { display: inline-block; background: var(--accent); color: var(--ink); font: 800 .74rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; align-self: center; }
.rs-aovivo { margin-top: 18px; }
.av-box { border: 2px dashed var(--accent); background: #fffaf0; border-radius: 16px; padding: 16px 18px; }
.av-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.av-h b { font-size: 1.02rem; }
.av-box p { margin: 6px 0 10px; }
.av-st { font-weight: 600; min-height: 1.2em; }
.av-st:empty { display: none; }
.av-2 { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.av-qr { display: block; background: #fff; border-radius: 10px; border: 1px solid var(--line); image-rendering: pixelated; }
.av-linha { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.av-val { margin-top: 12px; }
.av-in { font: 400 1rem var(--font-body); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 11px; min-width: 0; flex: 1 1 180px; background: #fff; }
.av-res { font-weight: 600; }
.av-forn { display: grid; gap: 4px; font-size: .86rem; font-weight: 600; margin: 12px 0 6px; max-width: 420px; }
.av-file { cursor: pointer; }
.av-out:empty { display: none; }
.av-out { margin-top: 12px; display: grid; gap: 12px; }
.av-out .em-m { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; }
.av-out .em-m div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; }
.av-out .em-m span { font-size: .8rem; color: var(--muted); }
.av-bom { background: #e7f8ee !important; border-color: #b8e6c8 !important; }
.av-video { position: relative; max-width: 460px; border-radius: 14px; overflow: hidden; background: #000; }
.av-video video { display: block; width: 100%; }
.av-video span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .55); color: #fff; text-align: center; padding: 6px; font-size: .85rem; }
.av-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: av-gira 1s linear infinite; vertical-align: -2px; }
@keyframes av-gira { to { transform: rotate(360deg); } }
.av-modal { position: fixed; inset: 0; background: rgba(16, 26, 58, .55); display: grid; place-items: center; z-index: 9999; padding: 16px; }
.av-caixa { background: #fff; border-radius: 18px; padding: 22px; width: min(360px, 100%); display: grid; gap: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.av-caixa label { display: grid; gap: 5px; font-size: .88rem; font-weight: 600; }
.av-caixa input { font: 400 1rem var(--font-body); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.av-erro { color: var(--error); font-weight: 600; margin: 0; }
.rs-intro .eyebrow { user-select: none; }
@media (max-width: 640px) { .av-2 { grid-template-columns: 1fr; } .av-quota { margin-left: 0; } }

.rs-inclui { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: -4px 0 12px; font-size: .88rem; }
.rs-inclui ul { margin: 6px 0; padding-left: 18px; }
.rs-inclui li { margin: 2px 0; }
.rs-inclui small { color: var(--muted); }

/* Quanto perde sem cada ideia */
.rs-num { margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; }
.rs-num summary { font-weight: 700; cursor: pointer; }
.rs-num summary small { font-weight: 400; color: var(--muted); }
.rs-num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 16px; margin-top: 12px; }
.rs-num-grid label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted); }
.rs-num-grid input, .rs-pres input { font: inherit; font-weight: 700; color: var(--ink); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.rs-pres input { width: 74px; }
.rs-perda { margin-top: 18px; border-radius: var(--radius); background: #fff6f3; border: 2px solid #f1c7bb; padding: 18px 20px; }
.rs-perda-tit { margin: 0 0 10px; font-size: 1.15rem; }
.rs-perda-tit b { color: #b23a2b; font-size: 1.35rem; }
.rs-perda-tit span { color: var(--muted); }
.rs-perda-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.rs-perda-sub { margin: 0 0 6px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: #b23a2b; }
.rs-perda-sub small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.rs-perda ul { margin: 0; padding-left: 18px; }
.rs-perda li { margin: 4px 0; }
.rs-pres { display: grid; gap: 6px; margin-bottom: 10px; font-size: .9rem; }
.rs-contas { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; border-radius: 8px; overflow: hidden; }
.rs-contas td { padding: 6px 10px; border-bottom: 1px solid #f3e2dc; }
.rs-contas td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.rs-contas-total td { background: #b23a2b; color: #fff; }
.rs-perda-nota { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.rs-total { margin: 10px 0 20px; padding: 20px 24px; border-radius: var(--radius); background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.rs-total p { margin: 0; opacity: .85; }
.rs-total strong { font-size: 2.4rem; color: var(--accent); line-height: 1.1; }
.rs-total span { font-weight: 700; }
.rs-total small { opacity: .7; }
.rs-val { color: #b23a2b; white-space: nowrap; }
@media (max-width: 900px) { .rs-num-grid { grid-template-columns: 1fr 1fr; } .rs-perda-grid { grid-template-columns: 1fr; } }
