/* Dental template additions (layered on the shared mockup styles). */
.hero-card .btn.on-hero { background:#fff; color:var(--accent-deep); box-shadow:none; }
.hero-card .btn.on-hero-2 { background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.35); box-shadow:none; }
.alert-card { border-color: var(--accent); background: var(--accent-soft); }
.chip-row.wrap { flex-wrap: wrap; overflow: visible; }

.tx-row { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line-soft); }
.tx-row div { display:grid; gap:2px; }
.tx-row span { font-size:12px; color:var(--ink-muted); }
.tx-row b { font-variant-numeric: tabular-nums; white-space:nowrap; }
.tx-row.muted b { color: var(--success); }
.tx-total { display:flex; justify-content:space-between; align-items:baseline; padding-top:12px; }
.tx-total strong { font-size:22px; font-variant-numeric: tabular-nums; }

.member-card { border-radius:18px; padding:18px; color:#fff; position:relative; overflow:hidden;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-deep) 60%, var(--accent-night)); box-shadow:0 14px 30px rgba(var(--accent-rgb),.35); }
.member-card::after { content:""; position:absolute; right:-40px; top:-40px; width:160px; height:160px; border-radius:50%; background:rgba(255,255,255,.08); }
.mc-top { display:flex; align-items:center; gap:10px; font-weight:600; font-size:13px; letter-spacing:.04em; text-transform:uppercase; }
.mc-mark { width:30px; height:30px; border-radius:9px; background:rgba(255,255,255,.18); display:grid; place-items:center; font-weight:800; }
.mc-price { font-size:34px; font-weight:800; margin:18px 0 4px; }
.mc-price small { font-size:14px; font-weight:500; opacity:.8; }
.mc-id { font-size:12.5px; opacity:.85; font-variant-numeric: tabular-nums; letter-spacing:.04em; }
.member-card.joined .mc-id { font-weight:700; opacity:1; }
.feature-list .feat { display:flex; gap:10px; padding:7px 0; color:var(--accent); font-weight:700; }
.feature-list .feat span { color:var(--ink); font-weight:500; }

.form-item { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; }
.form-item div { display:grid; gap:2px; }
.form-item span:not(.status-chip) { font-size:12px; color:var(--ink-muted); }
.em-item { margin-bottom:10px; }
.em-item p { margin:4px 0 0; font-size:13px; color:var(--ink-muted); line-height:1.45; }
.avatar.big { width:64px; height:64px; font-size:22px; margin:0 auto 8px; }
.refer p { margin:0 0 10px; font-size:13px; color:var(--ink-muted); }
.refer .code-box { margin-bottom:10px; }

.kpi-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:6px; }
.kpi { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:10px; display:grid; gap:2px; }
.kpi b { font-size:19px; font-variant-numeric: tabular-nums; }
.kpi span { font-size:11px; color:var(--ink-muted); }
.kpi.warn { border-color:#e3b872; background:#fbf3e4; }
.kpi.warn b { color:#8a5a12; }
.kpi.good b { color:var(--success); }

.sched { display:grid; gap:6px; }
.appt { display:grid; grid-template-columns:62px minmax(0,1fr) auto; gap:10px; align-items:center; background:var(--surface);
  border:1px solid var(--line); border-radius:12px; padding:9px 11px; }
.appt .t { font-size:12px; font-weight:700; color:var(--ink-muted); font-variant-numeric: tabular-nums; }
.appt .who { display:grid; gap:1px; min-width:0; }
.appt .who strong { font-size:13.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.appt .who span { font-size:11.5px; color:var(--ink-muted); }
.appt .chair { font-size:10.5px; font-weight:700; color:var(--accent); background:var(--accent-soft); padding:2px 7px; border-radius:6px; }
.appt.open { border:1.5px dashed #d08a2b; background:#fdf6ea; }
.appt.open .who strong { color:#8a5a12; }
.appt.open button { font-size:12px; padding:7px 10px; }
.appt.filled { border-color:var(--success); background:var(--accent-soft); animation: pop .5s ease; }
@keyframes pop { 0%{transform:scale(.98)} 60%{transform:scale(1.02)} 100%{transform:none} }
.appt.now { box-shadow: inset 3px 0 0 var(--accent); }

.lead { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 10px; align-items:center; margin-bottom:8px; }
.lead strong { font-size:14px; }
.lead span { font-size:12px; color:var(--ink-muted); }
.lead b { grid-row:1; grid-column:2; font-variant-numeric: tabular-nums; }
.lead button { grid-row:2; grid-column:2; font-size:11.5px; padding:5px 9px; }
.lead button.sent { background:var(--accent-soft); color:var(--accent); border-color:transparent; }

.bar-row { display:grid; grid-template-columns:90px minmax(0,1fr) 36px; gap:10px; align-items:center; padding:7px 0; font-size:12.5px; }
.bar-row .bar { height:8px; background:var(--line-soft); border-radius:99px; overflow:hidden; }
.bar-row .bar i { display:block; height:100%; background:var(--accent); border-radius:99px; }
.bar-row b { text-align:right; font-variant-numeric: tabular-nums; }

.wl { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--line-soft); }
.wl div { display:grid; gap:2px; }
.wl span { font-size:12px; color:var(--ink-muted); }
.wl .st { font-size:11.5px; font-weight:700; color:var(--ink-faint); }
.wl .st.ok { color:var(--success); }
#btn-wl-send { margin-top:14px; }
.sheet h2 { margin: 6px 0 2px; }

.map-card { border-radius:16px; overflow:hidden; border:1px solid var(--line); background:var(--bg-soft); height:210px; }
.map-card iframe { width:100%; height:100%; border:0; display:block; }
.checkin-card p { margin:0 0 10px; font-size:13px; color:var(--ink-muted); line-height:1.45; }

/* ---------- Nail salon additions ---------- */
.bar { height:8px; background:var(--line-soft); border-radius:99px; overflow:hidden; }
.bar i { display:block; height:100%; background:var(--accent); border-radius:99px; }
.bar.light { background:rgba(255,255,255,.22); margin:6px 0 8px; }
.bar.light i { background:#fff; }
.rewards-mini { display:grid; gap:8px; }
.rewards-mini div:first-child { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.rewards-mini span { font-size:12px; color:var(--ink-muted); }

.look-rail { display:grid; grid-auto-flow:column; grid-auto-columns:120px; gap:10px; overflow-x:auto; padding-bottom:4px; }
.look-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
.look { border:1px solid var(--line); border-radius:16px; background:var(--surface); overflow:hidden; text-align:left; padding:0; cursor:pointer; font:inherit; color:inherit; }
.look .art { height:96px; position:relative; display:flex; align-items:flex-end; justify-content:center; gap:5px; padding-bottom:10px; }
.look .art i { width:17px; border-radius:9px 9px 5px 5px; box-shadow:inset 0 3px 0 rgba(255,255,255,.35); }
.look .art i:nth-child(1){height:34px}.look .art i:nth-child(2){height:44px}.look .art i:nth-child(3){height:48px}.look .art i:nth-child(4){height:42px}.look .art i:nth-child(5){height:30px}
.look .meta { padding:8px 10px 10px; display:grid; gap:2px; }
.look .meta strong { font-size:12.5px; }
.look .meta span { font-size:11px; color:var(--ink-muted); }
.look .meta b { font-size:11px; color:var(--accent); }
.look .fav { position:absolute; top:6px; right:8px; font-size:16px; background:none; border:0; cursor:pointer; }

.svc { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 10px; align-items:center; padding:11px 12px; margin-bottom:8px; width:100%;
  border:1px solid var(--line); border-radius:14px; background:var(--surface); text-align:left; font:inherit; color:inherit; cursor:pointer; }
.svc strong { font-size:13.5px; }
.svc span { font-size:11.5px; color:var(--ink-muted); grid-column:1; }
.svc b { grid-row:1 / span 2; grid-column:2; font-variant-numeric:tabular-nums; }
.svc.selected { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); background:var(--accent-soft); }

.tech-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.tech { border:1px solid var(--line); border-radius:14px; background:var(--surface); padding:10px 4px; display:grid; justify-items:center; gap:5px; font:inherit; color:inherit; cursor:pointer; }
.tech .av { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:13px; color:#fff; background:var(--accent-mid); }
.tech span { font-size:11.5px; font-weight:650; }
.tech small { font-size:10px; color:var(--ink-muted); }
.tech.selected { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }

.book-total { margin-top:12px; display:grid; gap:8px; }
.book-total > div:first-child { display:flex; align-items:baseline; gap:8px; }
.book-total > div:first-child span { font-size:12px; color:var(--ink-muted); }
.book-total strong { font-size:22px; font-variant-numeric:tabular-nums; }
.book-total small { font-size:11.5px; color:var(--ink-muted); }
.book-total .dep { display:grid; gap:2px; padding:9px 10px; border-radius:10px; background:var(--accent-soft); }
.book-total .dep span { font-size:12.5px; font-weight:650; color:var(--accent-deep); }

.gift-card-art { border-radius:18px; height:150px; padding:16px; color:#fff; display:flex; flex-direction:column; justify-content:flex-end;
  background:radial-gradient(160px 120px at 85% 10%, rgba(255,255,255,.28), transparent 60%), linear-gradient(135deg, var(--accent-mid), var(--accent-deep)); box-shadow:0 14px 30px rgba(var(--accent-rgb),.35); }
.gift-card-art span { font-size:12px; letter-spacing:.1em; text-transform:uppercase; opacity:.85; }
.gift-card-art strong { font-size:34px; line-height:1.1; }
.gift-card-art small { opacity:.8; }

.wait-card { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.wait-card div { display:grid; gap:2px; }
.wait-card span { font-size:12px; color:var(--ink-muted); }
.wait-card strong { font-size:22px; color:var(--accent); }
.wait-card small { font-size:11px; color:var(--ink-faint); text-align:right; }

.visit-row { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:8px; }
.visit-row div { display:grid; gap:2px; }
.visit-row span { font-size:12px; color:var(--ink-muted); }
.swatches { display:flex; gap:8px; }
.swatches i { width:30px; height:30px; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 1px var(--line); }
.hint-s { margin:8px 0 0; font-size:12px; color:var(--ink-muted); }
.club .club-top { display:flex; justify-content:space-between; align-items:baseline; }
.club .club-top b { font-size:22px; color:var(--accent); }
.club .club-top b small { font-size:12px; color:var(--ink-muted); font-weight:500; }
.promo strong { display:block; font-size:14.5px; }
.promo p { margin:4px 0 10px; font-size:12.5px; color:var(--ink-muted); }
.promo .promo-result { margin:10px 0 0; font-weight:650; color:var(--success); }
.walk { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 10px; align-items:center; padding:8px 0; border-bottom:1px solid var(--line-soft); }
.walk:last-child { border-bottom:0; }
.walk strong { font-size:13px; }
.walk span { font-size:11.5px; color:var(--ink-muted); grid-column:1; }
.walk button { grid-row:1 / span 2; grid-column:2; font-size:11.5px; padding:6px 10px; }
.appt .chair.t1 { background:#fbe3ea; color:#9c2f55; }
.appt .chair.t2 { background:#e7e3fb; color:#4b3a9c; }
.appt .chair.t3 { background:#e1f2ec; color:#236b52; }

.punch-mini { display:grid; gap:8px; text-align:left; width:100%; font:inherit; color:inherit; cursor:pointer; }
.punch-mini small { font-size:11px; color:var(--ink-faint); }
.pm-top { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.pm-top span { font-size:12px; color:var(--ink-muted); }
.punch { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:5px; }
.punch i { aspect-ratio:1; border-radius:50%; border:1.5px dashed var(--line); display:grid; place-items:center; font-style:normal; font-size:10px; font-weight:800; color:#fff; }
.punch i.on { background:var(--accent); border:0; }
.punch i.free { border:1.5px solid var(--accent); color:var(--accent); font-size:6.5px; letter-spacing:.02em; background:var(--accent-soft); }
.punch.big { gap:7px; margin:10px 0 4px; }
.punch.big i.free { font-size:8px; }

.style-switch { display:flex; align-items:center; gap:8px; margin-bottom:12px; padding:8px 10px; border-radius:12px; background:var(--surface); border:1px dashed var(--line); }
.style-switch span { font-size:11.5px; font-weight:700; color:var(--ink-muted); margin-right:auto; }
.club .feature-list .feat { font-size:13px; padding:4px 0; }

/* Team + tech view */
.tm { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px 12px; align-items:center; margin-bottom:8px; }
.tm .av, .tech-banner .av { width:38px; height:38px; border-radius:50%; background:var(--accent-soft); color:var(--accent-deep); display:grid; place-items:center; font-weight:800; grid-row:1/3; }
.tm strong { font-size:14.5px; }
.tm .pay { font-size:10.5px; font-weight:700; color:var(--accent); background:var(--accent-soft); padding:2px 7px; border-radius:6px; margin-left:6px; white-space:nowrap; }
.tm .stats { grid-column:2; font-size:12px; color:var(--ink-muted); }
.tm button { grid-row:1/3; grid-column:3; font-size:11.5px; padding:7px 10px; }
.tech-banner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:10px 12px; margin:4px 0 12px; }
.tech-banner .av { grid-row:auto; }
.tech-banner div { display:grid; gap:1px; min-width:0; }
.tech-banner strong { font-size:15px; }
.tech-banner span { font-size:11.5px; color:var(--ink-muted); }
.tech-banner button { font-size:11.5px; padding:6px 10px; }
.review { padding:8px 0; border-bottom:1px solid var(--line-soft); font-size:13px; }
.review:last-child { border-bottom:0; }
.review b { color:#c68a12; letter-spacing:1px; font-size:12px; }
.review span { display:block; font-size:11.5px; color:var(--ink-muted); margin-top:2px; }
.info-row .v.neg { color:var(--ink-muted); }
.info-row.total .k, .info-row.total .v { font-weight:800; color:var(--ink); }
.pin-dots { display:flex; justify-content:center; gap:14px; margin:18px 0 14px; }
.pin-dots i { width:13px; height:13px; border-radius:50%; border:2px solid var(--accent); }
.pin-dots i.on { background:var(--accent); }
.pinpad { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; max-width:270px; margin:0 auto; }
.pinpad button { height:50px; border-radius:14px; border:1px solid var(--line); background:var(--surface); font-size:20px; font-weight:600; color:var(--ink); cursor:pointer; }
.pinpad button:active { background:var(--accent-soft); }
#screen-tech .kpi-row { margin-top:10px; }
#tab-bar-resident.tab-bar.resident-tabs { grid-template-columns: repeat(4, 1fr); }
#tab-bar-resident.tab-bar.resident-tabs .tab { font-size: 10.5px; }
.pitch-hint.app-links { margin-top: -8px; }
.pitch-hint.app-links a { color: var(--accent); font-weight: 700; }
