/* ================= Descomplique Agenda: telas do salão ================= */
:root { --gold: #a07a3c; --gold-soft: #f6efe3; --gold-line: #e8dcc6; }
.s-screen { background: #faf6ef; height: 100%; }
.s-cover { height: 84px; background: url("../assets/demo/capa.webp") center/cover; position: relative; }
.s-logo { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow); margin: -30px auto 0; position: relative; }
.s-logo img { width: 100%; height: 100%; object-fit: cover; }
.s-name { text-align: center; font-weight: 800; color: var(--gold); font-size: 12px; margin-top: 4px; }
.s-promo { margin: 8px 10px; background: var(--gold); color: #fff; border-radius: 10px; padding: 7px 9px; font-size: 9.5px; text-align: center; font-weight: 700; }
.s-svc { display: flex; gap: 8px; margin: 0 10px 7px; background: #fff; border: 1px solid var(--gold-line); border-radius: 12px; overflow: hidden; }
.s-svc img { width: 66px; height: 60px; object-fit: cover; flex: none; }
.s-svc div { padding: 5px 4px 5px 0; flex: 1; min-width: 0; }
.s-svc b { display: block; font-size: 10.5px; color: #4a3b22; }
.s-svc span { color: var(--muted); font-size: 8.5px; display: block; }
.s-svc em { font-style: normal; display: inline-block; margin-top: 3px; background: var(--gold); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 8.5px; font-weight: 700; }
.s-head { background: linear-gradient(90deg, #8f6a2f, #c9a160); color: #fff; padding: 30px 12px 10px; font-weight: 800; font-size: 11.5px; }
.s-body { padding: 10px 12px; }
.s-body h6 { font-size: 12px; color: #4a3b22; margin-bottom: 2px; }
.s-body p { color: var(--muted); font-size: 9px; }
.s-label { font-size: 9px; font-weight: 700; color: #4a3b22; margin: 9px 0 5px; }
.s-pro, .s-days { display: flex; gap: 5px; }
.s-pro span { flex: 1; border: 1px solid var(--gold-line); background: #fff; border-radius: 9px; padding: 6px 4px; text-align: center; font-size: 9px; font-weight: 700; }
.s-days span { flex: 1; border: 1px solid var(--gold-line); background: #fff; border-radius: 9px; padding: 5px 0; text-align: center; font-size: 8.5px; line-height: 1.2; }
.s-days b { display: block; font-size: 12px; }
.s-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.s-times span { border: 1px solid var(--gold-line); background: #fff; border-radius: 8px; padding: 6px 0; text-align: center; font-size: 9.5px; font-weight: 700; }
.s-times span.off { background: #eee; color: #b5b5b5; text-decoration: line-through; border-color: #eee; }
.s-pro span.on, .s-days span.on, .s-times span.on { background: var(--gold); color: #fff; border-color: var(--gold); }
.s-input { border: 1px solid var(--gold-line); background: #fff; border-radius: 8px; padding: 7px 8px; font-size: 9.5px; color: #4a3b22; margin-bottom: 6px; }
.s-btn { background: #25d366; color: #fff; text-align: center; font-weight: 800; border-radius: 999px; padding: 9px; font-size: 10px; margin-top: 8px; }

/* Painel do salão (notebook) */
.a-panel { flex: 1; display: flex; flex-direction: column; background: #faf6ef; min-width: 0; }
.a-top { background: linear-gradient(90deg, #8f6a2f, #c9a160); color: #fff; padding: 9px 14px; font-weight: 800; font-size: 12px; display: flex; justify-content: space-between; }
.a-top span { font-weight: 600; font-size: 10px; opacity: .9; }
.a-tabs { display: flex; gap: 6px; padding: 9px 14px 4px; }
.a-tabs span { border: 1px solid var(--gold-line); background: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 9.5px; color: #6b5226; }
.a-tabs span.on { background: var(--gold); color: #fff; border-color: var(--gold); }
.a-main { padding: 8px 14px; flex: 1; overflow: hidden; }
.a-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 6px; }
.a-row-head b { color: #6b5226; font-size: 14px; }
.a-chip { border-radius: 999px; padding: 3px 9px; font-weight: 700; font-size: 9px; white-space: nowrap; }
.a-chip.gold { background: var(--gold); color: #fff; }
.a-chip.line { border: 1px solid var(--gold-line); color: #6b5226; background: #fff; }
.a-appt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--gold-line); border-radius: 9px; padding: 7px 10px; margin-bottom: 6px; }
.a-appt .t { font-weight: 800; color: #6b5226; font-size: 11px; width: 38px; flex: none; }
.a-appt .who { flex: 1; min-width: 0; }
.a-appt .who b { display: block; font-size: 10.5px; }
.a-appt .who span { color: var(--muted); font-size: 9px; }
.a-st { border-radius: 6px; padding: 2px 7px; font-size: 8.5px; font-weight: 800; white-space: nowrap; }
.a-st.ok { background: #e3f6e8; color: #127a35; }
.a-st.wait { background: #fff1d6; color: #9a5b00; }
.a-st.done { background: #e7ecf3; color: #3b4a63; }
.a-st.lock { background: #f3e3e3; color: #9b2c2c; }
.a-btns { white-space: nowrap; }
.a-btns span { border: 1px solid var(--gold-line); color: #6b5226; border-radius: 6px; padding: 2px 6px; font-size: 8.5px; margin-left: 3px; }
.a-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.a-kpis div { background: #fff; border: 1px solid var(--gold-line); border-radius: 9px; padding: 6px 9px; }
.a-kpis small { color: var(--muted); font-size: 8.5px; }
.a-kpis b { display: block; font-size: 13px; color: #4a3b22; }
.a-chart { display: flex; gap: 10px; }
.a-bars { flex: 1.4; display: flex; align-items: flex-end; gap: 4px; height: 140px; background: #fff; border: 1px solid var(--gold-line); border-radius: 9px; padding: 10px 8px 18px; }
.a-bars span { flex: 1; background: var(--gold); border-radius: 3px 3px 0 0; position: relative; }
.a-bars span::after { content: attr(data-m); position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); font-size: 7px; color: var(--muted); }
.a-rank { flex: 1; background: #fff; border: 1px solid var(--gold-line); border-radius: 9px; padding: 8px; font-size: 9px; }
.a-rank b { display: block; margin-bottom: 4px; color: #6b5226; }
.a-rank div { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid #f1ebe0; }

/* Ficha da cliente (celular) */
.f-card { margin: 8px 10px; background: #fff; border: 1px solid var(--gold-line); border-radius: 12px; padding: 9px; }
.f-card b { font-size: 11.5px; display: block; }
.f-card small { color: var(--muted); font-size: 9px; }
.f-stars { color: #f5a623; font-size: 12px; letter-spacing: 1px; }
.f-bday { display: inline-block; background: #fde8ef; color: #b02a5b; border-radius: 6px; font-size: 8.5px; font-weight: 800; padding: 2px 6px; margin-top: 4px; }
.f-sec { margin: 0 10px 6px; background: #fff; border: 1px solid var(--gold-line); border-radius: 10px; padding: 7px 9px; font-size: 10px; font-weight: 700; color: #6b5226; display: flex; justify-content: space-between; }
.f-photos { display: flex; gap: 6px; margin: 0 10px 6px; }
.f-photos div { flex: 1; height: 62px; border-radius: 9px; background: #e9dfcf center/cover; position: relative; }
.f-photos div span { position: absolute; left: 5px; top: 5px; background: rgba(0,0,0,.55); color: #fff; font-size: 8px; font-weight: 800; padding: 1px 5px; border-radius: 4px; }

/* Planos */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.plans > * { min-width: 0; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; position: relative; }
.plan.best { border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
.plan.best::before { content: "Mais completo"; position: absolute; top: -14px; left: 34px; background: var(--green); color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.6rem; }
.plan > p { color: var(--muted); margin: 6px 0 18px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; }
.plan .btn { align-self: flex-start; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .plan { padding: 24px; } }
