/* NUVIO design system ─ tokens */
:root {
  --ink-900: #0A1A2F; --ink-700: #2A3A52; --ink-500: #56657A; --ink-400: #8696AC;
  --line: #E3E8F0; --line-strong: #8696AC;
  --bg: #F6F8FB; --surface: #FFFFFF; --surface-2: #F2F6FB;
  --brand-900: #0F2A66; --brand-700: #1838A0; --brand-600: #1F48C7; --brand-500: #3166E6;
  --sky-400: #6FB1F5; --sky-200: #BFDDFB; --sky-100: #E3F0FD; --sky-50: #F2F8FE;
  --success: #0E7A4E; --success-bg: #E5F5EE; --warning: #9A5B00; --warning-bg: #FFF4E0;
  --danger: #C2273A; --danger-bg: #FDECEE;
  --radius-s: 10px; --radius: 14px; --radius-l: 22px; --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(10,26,47,.06), 0 1px 1px rgba(10,26,47,.04);
  --shadow-2: 0 10px 30px -12px rgba(15,42,102,.22), 0 2px 6px rgba(10,26,47,.05);
  --shadow-3: 0 30px 60px -20px rgba(15,42,102,.30);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --max: 1200px;
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink-900); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: 36px; font-size: clamp(28px, 4.6vw, 52px); font-weight: 800; }
h2 { font-size: 26px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
small, .muted { color: var(--ink-500); }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 6px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

/* layout helpers */
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack { display: grid; gap: 12px; }
.stack-l { display: grid; gap: 24px; }
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-2 > *, .grid-3 > * { min-width: 0; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2,1fr);} .grid-4 { grid-template-columns: repeat(4,1fr);} }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr);} }
.spacer { flex: 1; }

/* header */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 30px; width: auto; }
.nav-links { display: none; gap: 6px; align-items: center; }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-links a { color: var(--ink-700); font-weight: 600; padding: 8px 12px; border-radius: var(--radius-pill); }
.nav-links a:hover { background: var(--surface-2); text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none !important; transition: transform .15s var(--ease), background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 18px -8px rgba(31,72,199,.7); }
.btn-primary:hover { background: var(--brand-700); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: #13263F; }
.btn-ghost { background: transparent; color: var(--ink-900); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-soft { background: var(--sky-100); color: var(--brand-700); }
.btn-soft:hover { background: var(--sky-200); }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-700); cursor: pointer; position: relative; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px; box-shadow: var(--shadow-1); }
.card-flat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card h3 { margin-bottom: 4px; }
.kpi { display: grid; gap: 4px; }
.kpi .v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.kpi .l { font-size: 13px; color: var(--ink-500); font-weight: 600; }

/* forms */
label { font-weight: 650; font-size: 14px; display: grid; gap: 6px; }
.field { display: grid; gap: 6px; }
.hint { font-weight: 500; font-size: 13px; color: var(--ink-500); }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], input[type=url], input[type=datetime-local], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); font: inherit; color: var(--ink-900);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(31,72,199,.55); outline-offset: 1px; border-color: var(--brand-500); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--brand-600); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* badges, alerts */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 700; background: var(--surface-2); color: var(--ink-700); }
.badge.blue { background: var(--sky-100); color: var(--brand-700); }
.badge.green { background: var(--success-bg); color: var(--success); }
.badge.amber { background: var(--warning-bg); color: var(--warning); }
.badge.red { background: var(--danger-bg); color: var(--danger); }
.alert { padding: 12px 16px; border-radius: var(--radius); font-weight: 600; border: 1px solid; }
.alert.ok { background: var(--success-bg); color: var(--success); border-color: #BFE6D3; }
.alert.err { background: var(--danger-bg); color: var(--danger); border-color: #F5C2C8; }
.alert.info { background: var(--sky-50); color: var(--brand-700); border-color: var(--sky-200); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── marketplace ── */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; background:
  radial-gradient(1200px 500px at 85% -10%, var(--sky-200) 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 20%, var(--sky-100) 0%, transparent 60%), var(--bg); }
@media (min-width: 900px) { .hero { padding: 96px 0 72px; } }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand-600), var(--sky-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; color: var(--ink-700); max-width: 52ch; }
.searchbar { margin-top: 28px; display: grid; gap: 8px; background: var(--surface); padding: 8px; border-radius: 24px; box-shadow: var(--shadow-3); border: 1px solid var(--line); max-width: 860px; }
@media (min-width: 760px) { .searchbar { grid-template-columns: 1.3fr 1fr 1fr auto; border-radius: var(--radius-pill); padding: 8px 8px 8px 12px; } }
.searchbar .seg { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: var(--radius-pill); }
.searchbar .seg + .seg { border-top: 1px solid var(--line); }
@media (min-width: 760px) { .searchbar .seg + .seg { border-top: 0; border-left: 1px solid var(--line); border-radius: 0; } }
.searchbar input, .searchbar select { border: 0; min-height: 48px; padding: 0; background: transparent; outline: none !important; }
.searchbar svg { color: var(--ink-500); flex: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 650; color: var(--ink-900); white-space: nowrap; }
.chip:hover { border-color: var(--brand-500); text-decoration: none; }
.chip.on { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.section { padding: 40px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }

.venue-card { display: grid; background: var(--surface); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.venue-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); text-decoration: none; }
.venue-card .ph { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--sky-100), var(--sky-200)); position: relative; }
.venue-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.venue-card .fav { position: absolute; top: 10px; right: 10px; }
.venue-card .body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.venue-card .name { font-weight: 750; font-size: 16px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; }
.rating svg { color: #F2A100; }
.ph-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; letter-spacing: -.03em;
  background: radial-gradient(120% 90% at 85% 0%, rgba(111,177,245,.35), transparent 60%), linear-gradient(135deg, #16307A, #0A1A2F); }
.ph-fallback > span { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }

.search-layout { display: grid; gap: 20px; padding: 24px 0 48px; }
@media (min-width: 960px) { .search-layout { grid-template-columns: 280px 1fr; } }
.filters { display: grid; gap: 16px; align-content: start; }
@media (min-width: 960px) { .filters { position: sticky; top: 84px; } }

/* venue page */
.venue-hero { display: grid; gap: 8px; grid-template-columns: 1fr; border-radius: var(--radius-l); overflow: hidden; }
@media (min-width: 860px) { .venue-hero { grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px; } .venue-hero > :first-child { grid-row: span 2; } }
.venue-hero > div { background: var(--sky-100); min-height: 220px; }
.venue-hero img { width: 100%; height: 100%; object-fit: cover; }
.venue-layout { display: grid; gap: 28px; padding: 24px 0 64px; }
@media (min-width: 1000px) { .venue-layout { grid-template-columns: 1fr 380px; } }
.sticky-side { align-self: start; }
@media (min-width: 1000px) { .sticky-side { position: sticky; top: 84px; } }
.svc { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.svc + .svc { margin-top: 10px; }
.svc .meta { color: var(--ink-500); font-size: 14px; }
.svc .price { font-weight: 750; white-space: nowrap; }
.team { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 6px; }
.member { display: grid; justify-items: center; gap: 6px; min-width: 88px; text-align: center; font-size: 14px; font-weight: 650; }
.avatar { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; background: var(--brand-600); overflow: hidden; }
.avatar.sm { width: 32px; height: 32px; font-size: 13px; }
/* foto sempre preenchendo o redondinho, centralizada — inclusive no Safari antigo (iPad/iPhone com iOS 12), que não estica imagem dentro de grid */
.avatar img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: 50%; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.hours { width: 100%; font-size: 14px; }
.hours td { padding: 6px 0; border: 0; }
.stars { color: #F2A100; letter-spacing: 1px; }

/* booking widget */
.booking { display: grid; gap: 16px; }
.steps { display: flex; gap: 6px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps span.on { background: var(--brand-600); }
.opt { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; text-align: left; width: 100%; font: inherit; color: inherit; }
.opt:hover { border-color: var(--brand-500); }
.opt.on { border-color: var(--brand-600); background: var(--sky-50); box-shadow: 0 0 0 3px var(--sky-100); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.date { min-width: 62px; padding: 10px 6px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface); text-align: center; cursor: pointer; font: inherit; color: inherit; }
.date b { display: block; font-size: 18px; }
.date small { font-size: 12px; text-transform: capitalize; }
.date.on { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.date.on small { color: #C9D3E1; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: 700; cursor: pointer; color: var(--ink-900); }
.slot:hover { border-color: var(--brand-500); }
.slot.on { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.summary { background: var(--surface-2); border-radius: var(--radius); padding: 14px; font-size: 14px; display: grid; gap: 6px; }
.summary .tot { font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), #E8EEF7, var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius-s); min-height: 44px; }
@keyframes sk { to { background-position: -200% 0; } }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); z-index: 25; display: flex; gap: 12px; align-items: center; }
@media (min-width: 1000px) { .mobile-cta { display: none; } }

/* ── app shells (business/admin) ── */
.app { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .app { grid-template-columns: 248px minmax(0, 1fr); } }
.side { background: var(--ink-900); color: #C9D3E1; padding: 18px 14px; display: none; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
@media (min-width: 1024px) { .side { display: flex; } }
.side .brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; color: #fff; font-weight: 800; }
.side .brand img { height: 30px; }
.side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #C9D3E1; font-weight: 600; }
.side a:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.side a.on { background: rgba(111,177,245,.16); color: #fff; }
.side .biz-name { font-size: 13px; color: #8FA2BD; padding: 0 12px 10px; }
.main { min-width: 0; }
.main-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; background: rgba(246,248,251,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .main-top { padding: 0 28px; } }
.main-body { padding: 20px 16px 96px; }
@media (min-width: 768px) { .main-body { padding: 28px 28px 64px; } }
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-title h1 { font-size: 26px; margin: 0; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 1024px) { .tabbar { display: none; } }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 0 10px; font-size: 11.5px; font-weight: 650; color: var(--ink-500); }
.tabbar a.on { color: var(--brand-600); }
.tabbar a:hover { text-decoration: none; }
.menu-sheet { display: none; }
.dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; background: var(--danger); border-radius: 50%; border: 2px solid var(--surface); }

/* calendar */
.cal-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.seg-ctl { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px; }
.seg-ctl a, .seg-ctl button { padding: 7px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; color: var(--ink-700); border: 0; background: none; cursor: pointer; font-family: inherit; }
.seg-ctl .on { background: var(--ink-900); color: #fff; }
.seg-ctl a:hover { text-decoration: none; }
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: calc(100vh - 246px); }
.cal-grid { display: grid; position: relative; min-width: max-content; }
.cal-head { position: sticky; top: 0; z-index: 9; background: var(--surface); border-bottom: 1px solid var(--line); display: grid; }
.cal-head > div { padding: 10px 8px; font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px; min-width: 150px; border-left: 1px solid var(--line); }
.cal-head > div:first-child { min-width: 56px; border-left: 0; }
.cal-head > div.cal-pro { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 12px 8px 10px; }
.cal-pro-pic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .02em;
  border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--ring), var(--shadow-1); flex: none; }
.cal-pro-pic { position: relative; overflow: visible; text-decoration: none; }
.cal-pro-pic > img { border-radius: 50%; }
a.cal-pro-pic[href] { cursor: pointer; transition: transform .15s ease; }
a.cal-pro-pic[href]:hover, a.cal-pro-pic[href]:focus-visible { transform: scale(1.06); }
.cal-pro-edit { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); color: var(--ink-700, #334); font-size: 11px;
  display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.cal-pro-pic > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: 50%; }
.cal-pro .cal-pro-name { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.ev-icons { position: absolute; top: 5px; right: 6px; display: -webkit-box; display: flex; align-items: center; pointer-events: none; line-height: 0; }
.ev-icons > * + * { margin-left: 6px; } /* espaço entre os ícones sem depender de 'gap' (Safari antigo) */
.ev-heart { color: #E5484D; display: block; line-height: 0; }
.ev.ic1 > b { padding-right: 18px; }
.ev.ic2 > b { padding-right: 38px; }
.heart-ico { color: #E5484D; }
.cal-body { display: grid; position: relative; }
.cal-times { position: sticky; left: 0; z-index: 7; background: var(--surface); }
.cal-times div { height: var(--hour, 64px); font-size: 11.5px; color: var(--ink-500); text-align: right; padding: 2px 8px 0 0; border-top: 1px solid var(--line); width: 56px; }
.cal-col { position: relative; border-left: 1px solid var(--line); min-width: 150px; }
.cal-col .hr { height: var(--hour, 64px); border-top: 1px solid var(--line); }
.cal-col .hr:nth-child(odd) { background: rgba(10, 26, 47, 0.012); }
.cal-col .closed { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #F2F5F9, #F2F5F9 6px, #ECF0F5 6px, #ECF0F5 12px); }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 6px 8px; font-size: 12.5px; line-height: 1.3; color: var(--ink-900); background: var(--sky-100); border: 0; border-left: 4px solid var(--brand-600); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-1); }
.ev b { display: block; font-size: 13px; }
.ev.st-completed, .ev.st-no_show { background: #EEF1F5; border-left-color: #B9C2CF; color: #5B6577; box-shadow: none; } /* feito ou não veio: cinza clarinho */
.ev.st-cancelled { background: #F1F3F6; border-left-color: var(--ink-400); text-decoration: line-through; opacity: .7; }
.ev-mark { display: block; line-height: 0; }
.ev-mark.done { color: #7C8798; }
.ev-mark.noshow { color: #C2474A; opacity: .85; }
.ev.block { background: repeating-linear-gradient(135deg, #EEF1F5, #EEF1F5 6px, #E6EAF0 6px, #E6EAF0 12px); border-left-color: var(--ink-400); color: var(--ink-500); }
.ev.flash { animation: flash 1.6s var(--ease) 2; }
@keyframes flash { 50% { box-shadow: 0 0 0 4px var(--sky-400); } }
.now-line { position: absolute; left: -1px; right: 0; height: 2px; margin-top: -1px; background: var(--now, #E5484D); z-index: 4; pointer-events: none; }
.cal-times { position: sticky; }
.now-pill { position: absolute; right: 3px; transform: translateY(-50%); z-index: 5; padding: 1px 6px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 17px;
  color: var(--now, #E5484D); background: var(--surface); border: 1.5px solid var(--now, #E5484D); font-variant-numeric: tabular-nums; pointer-events: none; }
.now-pill::after { content: ''; position: absolute; left: 100%; top: 50%; width: 4px; height: 2px; margin-top: -1px; background: var(--now, #E5484D); }
.month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.month > div { background: var(--surface); min-height: 96px; padding: 8px; font-size: 13px; }
.month .dow { min-height: 0; font-weight: 700; color: var(--ink-500); font-size: 12px; text-transform: uppercase; }
.month .out { background: var(--surface-2); color: var(--ink-400); }
.month .today b { background: var(--brand-600); color: #fff; border-radius: 50%; width: 26px; height: 26px; display: inline-grid; place-items: center; }

dialog { border: 0; border-radius: var(--radius-l); padding: 0; width: min(560px, calc(100vw - 24px)); box-shadow: var(--shadow-3); }
dialog::backdrop { background: rgba(10,26,47,.45); backdrop-filter: blur(2px); }
/* iPad/iPhone com Safari antigo (sem <dialog>): mesma aparência das janelinhas */
.no-dialog dialog:not([open]) { display: none; }
.no-dialog dialog[open] { display: block; position: fixed; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); margin: 0; z-index: 1001; max-height: 90vh; overflow: auto; -webkit-overflow-scrolling: touch; background: #fff; color: inherit; }
.dlg-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; background: rgba(10,26,47,.45); }
html.dlg-lock, html.dlg-lock body { overflow: hidden; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dlg-body { padding: 20px; display: grid; gap: 14px; max-height: 70vh; overflow-y: auto; }

/* bars */
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 120px 1fr 90px; gap: 10px; align-items: center; font-size: 14px; }
.bar .track { height: 10px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.bar .fill { height: 100%; background: linear-gradient(90deg, var(--brand-600), var(--sky-400)); border-radius: 6px; }
.spark { display: flex; align-items: end; gap: 4px; height: 120px; }
.spark div { flex: 1; background: linear-gradient(180deg, var(--sky-400), var(--brand-600)); border-radius: 6px 6px 2px 2px; min-height: 2px; position: relative; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 56px; margin-top: 40px; font-size: 14px; }
.footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer a { color: var(--ink-700); display: block; padding: 3px 0; }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-500); }
.empty svg { color: var(--sky-400); margin-bottom: 8px; }
.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(800px 400px at 80% 0%, var(--sky-100), transparent 70%), var(--bg); }
.auth-card { width: min(440px, 100%); }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 520px; background: var(--ink-900); color: #E3E8F0; padding: 14px 16px; border-radius: var(--radius); display: flex; gap: 12px; align-items: center; font-size: 13.5px; box-shadow: var(--shadow-3); }
.cookie a { color: var(--sky-200); }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }

@media (max-width: 520px) { .hide-sm { display: none !important; } }
.push-ok { color: var(--success) !important; font-weight: 700; }
.push-err { color: var(--danger) !important; font-weight: 600; }
[data-push-enable][hidden] { display: none !important; }

.grid-4 > *, .grid-3 > *, .grid-2 > * { min-width: 0; }
/* valor sempre numa linha só (o "00" não desce); se não couber, o app diminui a letra até caber */
.kpi { min-width: 0; align-content: start; gap: 8px; }
.kpi .v { display: block; white-space: nowrap; overflow: hidden; text-overflow: clip; overflow-wrap: normal; font-variant-numeric: tabular-nums; line-height: 1.15; }
@media (max-width: 719px) { .kpi .v { font-size: 22px; } .grid-4 > .card.kpi { padding: 16px; } }
.stack > *, .stack-l > *, .main-body > * { min-width: 0; }
.card.row > span, .card.row > div { min-width: 0; overflow-wrap: anywhere; }

/* ── agenda: arrastar e esticar (dedo e mouse) ── */
.ev { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.ev.movable { cursor: grab; }
.cal.dragging, .cal.dragging * { cursor: grabbing !important; }
.ev.lifted { opacity: .35; box-shadow: none; }
.ev.ghost { z-index: 5; pointer-events: none; background: var(--brand-600) !important; color: #fff; border-left-color: #0A1A2F; box-shadow: 0 10px 24px rgba(10,26,47,.28); opacity: .95; }
.ev.ghost.resize { background: var(--sky-100) !important; color: var(--ink-900); outline: 2px dashed var(--brand-600); }
.cal-col.drop { background-image: linear-gradient(rgba(31,72,199,.06), rgba(31,72,199,.06)); }
.ev-grip { display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; cursor: ns-resize; touch-action: none; display: flex; align-items: center; justify-content: center; }
.ev-grip::after { content: ''; width: 28px; height: 4px; border-radius: 4px; background: rgba(10,26,47,.35); }
@media (pointer: coarse) { .ev-grip { height: 14px; } .ev-grip::after { width: 34px; height: 5px; } }
.fake-input { min-height: 46px; display: flex; align-items: center; padding: 0 12px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-700); font-weight: 700; background: var(--bg, #F5F8FC); }
.field > .lbl, .field .lbl { font-weight: 700; font-size: 14px; }
.grid-3.compact { grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .grid-3.compact { grid-template-columns: 1fr 1fr; } .grid-3.compact > :first-child { grid-column: 1 / -1; } }
.field .lbl small { font-weight: 600; }
.ev-grip::after { opacity: .55; }

/* ── olhinho de mostrar/ocultar senha ── */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 52px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 40px; border: 0; background: transparent; border-radius: 10px; color: var(--ink-500); display: grid; place-items: center; cursor: pointer; }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--ink-900); background: rgba(10,26,47,.05); }
.pw-eye .eye-off, .pw-eye.on .eye-on { display: none; }
.pw-eye.on .eye-off { display: block; }

/* ── horário de funcionamento simplificado ── */
.hours { display: grid; gap: 8px; }
.hday { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 8px; background: var(--surface); }
.hday-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hday-top b { font-size: 15px; }
.hday .times, .hday .lunch-times { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hday .times label, .hday .lunch-times label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--ink-700); }
.hours, .hday, .hday > * { min-width: 0; }
.hours { grid-template-columns: minmax(0, 1fr); }
.hday { grid-template-columns: minmax(0, 1fr); width: 100%; box-sizing: border-box; }
.hday input[type=time] { width: 108px; min-width: 0; min-height: 42px; text-align: center; padding-left: 6px; padding-right: 6px; }
.hday .times label, .hday .lunch-times label { flex: 0 1 auto; min-width: 0; }
.hday .closed-label { color: var(--ink-500); font-weight: 600; }
.hday:not(:has(.open-toggle:checked)) .times, .hday:not(:has(.open-toggle:checked)) .lunch { display: none; }
.hday.is-closed .times, .hday.is-closed .lunch, .hday.no-lunch .lunch-times { display: none; }
.hday.is-closed { background: #F6F8FB; }
.hday:not(.is-closed) .closed-label { display: none; }
.hday:has(.open-toggle:checked) .closed-label { display: none; }
.hday:not(:has(.lunch-toggle:checked)) .lunch-times { display: none; }
.hday:not(:has(.open-toggle:checked)) { background: #F6F8FB; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 13.5px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 28px; border-radius: 99px; background: #CBD3DF; position: relative; transition: background .15s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + .track { background: var(--success, #0E7A4E); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid rgba(31,72,199,.35); outline-offset: 2px; }

/* ── foto enviada do aparelho ── */
.img-field { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.img-field .prev { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--sky-100); border: 1px solid var(--line); }
.img-field .prev.wide { width: 120px; height: 72px; border-radius: 12px; }
.img-field input[type=file] { display: none; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs .t { position: relative; }
.thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.thumbs button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #0A1A2F; color: #fff; font-size: 12px; cursor: pointer; }

/* ── fechamento com produtos ── */
.co-items { display: grid; gap: 6px; }
.co-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.co-row .qty { display: inline-flex; align-items: center; gap: 4px; }
.co-row .qty button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 18px; cursor: pointer; }
.co-row .qty input { width: 46px; min-height: 34px; text-align: center; padding: 0; }
.co-search { width: 100%; }
.co-js .co-row:not(.show) { display: none; }
.co-js .co-row.picked { border-color: var(--brand, #3166E6); background: var(--sky-50, #f2f6ff); }
.co-js:not(:has(.show)) { display: none; }
.co-total { font-size: 20px; }

/* setinhas para puxar o começo e o fim do atendimento: discretas (marquinha cinza), mas com área de toque grande */
.ev-handle { position: absolute; left: 50%; transform: translateX(-50%); z-index: 6; width: 40px; height: 26px; display: grid; place-items: center; cursor: ns-resize; touch-action: none; -webkit-user-select: none; user-select: none; }
.ev-handle i { display: block; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; opacity: .55; transition: opacity .12s, transform .12s; }
.ev-handle.top i { border-bottom: 5px solid #45526A; }
.ev-handle.bottom i { border-top: 5px solid #45526A; }
.ev-handle.top { place-items: end center; padding-bottom: 2px; }
.ev-handle.bottom { place-items: start center; padding-top: 2px; }
.ev-handle:hover i, .ev-handle:active i { opacity: 1; transform: scale(1.25); }
@media (pointer: coarse) { .ev-handle { width: 48px; height: 34px; } .ev-handle i { border-left-width: 6px; border-right-width: 6px; } .ev-handle.top i { border-bottom-width: 6px; } .ev-handle.bottom i { border-top-width: 6px; } }

/* bolinha de dúvidas da agenda + instruções de uso */
.help-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; padding: 0; -webkit-appearance: none; appearance: none; text-align: center;
  background: linear-gradient(145deg, #3D7BF2, #132F86); color: #fff; font-family: inherit; font-size: 24px; font-weight: 800; line-height: 48px; box-shadow: 0 6px 18px rgba(19, 47, 134, .35); display: block; }
.help-fab:hover { transform: translateY(-1px); }
.help-fab:focus-visible { outline: 3px solid #BFDDFB; outline-offset: 2px; }
@media (max-width: 900px) { .help-fab { bottom: calc(78px + env(safe-area-inset-bottom)); right: 14px; } }
.help-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; line-height: 1.45; }
.help-topic > summary { cursor: pointer; list-style: none; }
.help-topic > summary::-webkit-details-marker { display: none; }
.help-topic > summary::after { content: '▾'; float: right; color: var(--ink-500); }
.help-topic[open] > summary::after { content: '▴'; }
.help-topic[open] > summary { margin-bottom: 10px; }
.help-index { gap: 6px; }
.help-index .badge { text-decoration: none; }

/* atendimentos curtos (5–20 min): uma linha só, letra menor */
.ev.short { padding: 2px 6px; font-size: 11px; line-height: 1.2; }
.ev.short b { font-size: 11.5px; display: inline; white-space: nowrap; }
.ev.side { padding-left: 6px; padding-right: 6px; }
.ev.side b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.help-target { scroll-margin-top: 90px; }
@media (max-width: 640px) { .help-fab { width: 40px; height: 40px; line-height: 40px; font-size: 18px; opacity: .92; } .cal-toolbar { gap: 6px; } }

/* ── iPad/iPhone antigos (iOS 12–14.0) ── */
html.js .js-hide { display: none; } /* botão de reserva só aparece se o código da página não rodar */
@supports not (aspect-ratio: 1) { .venue-card .ph { height: 0; padding-top: 62.5%; } .venue-card .ph img, .venue-card .ph .ph-fallback { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } }
/* sem "gap" em flex: espaçamento com margem nos itens */
.no-flexgap .row > * + *, .no-flexgap .topbar .container > * + *, .no-flexgap .check > * + *, .no-flexgap .searchbar .seg > * + *,
.no-flexgap .section-head > * + *, .no-flexgap .svc > * + *, .no-flexgap .opt > * + *, .no-flexgap .side .brand > * + *, .no-flexgap .side a > * + *,
.no-flexgap .main-top > * + *, .no-flexgap .page-title > * + *, .no-flexgap .cal-head > div > * + *, .no-flexgap .hday-top > * + *,
.no-flexgap .co-row .qty > * + *, .no-flexgap .ev-icons > * + * { margin-left: 10px; }
.no-flexgap .row.wrap > *, .no-flexgap .form-actions > *, .no-flexgap .cal-toolbar > *, .no-flexgap .chips > *, .no-flexgap .team > *, .no-flexgap .dates > *,
.no-flexgap .hday .times > *, .no-flexgap .hday .lunch-times > *, .no-flexgap .img-field > *, .no-flexgap .thumbs > *, .no-flexgap .steps > * { margin: 0 8px 8px 0; }
.no-flexgap .row.wrap > * + *, .no-flexgap .cal-toolbar > * + * { margin-left: 0; }
.no-flexgap .ev-icons > * + * { margin-left: 6px; }

/* ── agenda: visão de mês (dias redondinhos, marquinha no dia escolhido, pontinhos de agendamento) ── */
.mcal-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .mcal-wrap { grid-template-columns: minmax(0, 1fr); } }
.mcal { padding: 14px 12px 10px; }
.mcal-dow, .mcal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mcal-dow span { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-500); letter-spacing: .04em; padding: 2px 0 8px; }
.mcal-day { display: flex; flex-direction: column; align-items: center; padding: 4px 0 8px; border-radius: 14px; color: var(--ink-900); text-decoration: none; min-height: 64px; -webkit-tap-highlight-color: transparent; }
.mcal-day:hover { text-decoration: none; background: var(--sky-50, #F2F6FF); }
.mcal-day .n { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 650; font-size: 15.5px; transition: background .15s, color .15s; }
.mcal-day.today .n { box-shadow: inset 0 0 0 2px var(--brand-600); color: var(--brand-700); }
.mcal-day.sel .n { background: var(--brand-600); color: #fff; box-shadow: 0 4px 12px rgba(31, 72, 199, .35); }
.mcal-day.out { opacity: .35; }
.mcal-day .dots { display: flex; justify-content: center; height: 6px; margin-top: 4px; }
.mcal-day .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-500, #3166E6); margin: 0 1.5px; }
.mcal-day .cnt { display: none; font-size: 11.5px; color: var(--ink-500); margin-top: 3px; white-space: nowrap; }
@media (min-width: 901px) { .mcal-day { min-height: 82px; } .mcal-day .cnt { display: block; } }
.mcal-list { display: grid; gap: 12px; }
.mcal-items { list-style: none; margin: 0; padding: 0; }
.mcal-items li + li { border-top: 1px solid var(--line); }
.mcal-items a { display: grid; grid-template-columns: 4px 52px minmax(0, 1fr) auto; align-items: center; padding: 10px 2px; color: inherit; text-decoration: none; }
.mcal-items a > * + * { margin-left: 10px; }
.mcal-items .bar { align-self: stretch; border-radius: 4px; }
.mcal-items .t { font-weight: 800; font-size: 14.5px; line-height: 1.15; }
.mcal-items .t small, .mcal-items .who small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-500); }
.mcal-items .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcal-items .who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── calendário de escolher a data (toque no nome do dia/mês) ── */
.datepick { position: relative; }
.datepick > summary { list-style: none; display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); font-weight: 800; font-size: 15px; cursor: pointer; color: var(--ink-900); -webkit-tap-highlight-color: transparent; user-select: none; }
.datepick > summary::-webkit-details-marker { display: none; }
.datepick > summary > * + * { margin-left: 8px; }
.datepick > summary svg { color: var(--brand-600); }
.datepick[open] > summary { border-color: var(--brand-500, #3166E6); box-shadow: 0 0 0 3px var(--sky-100, #E3ECFF); }
.dp-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: 312px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-3); padding: 14px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); justify-items: center; }
.dp-dow span { font-size: 11.5px; font-weight: 700; color: var(--ink-500); padding: 4px 0; }
.dp-day { width: 38px; height: 38px; margin: 2px 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14.5px; color: var(--ink-900); text-decoration: none; }
.dp-day:hover { background: var(--sky-50, #F2F6FF); text-decoration: none; }
.dp-day.out { color: var(--ink-400); }
.dp-day.today { box-shadow: inset 0 0 0 2px var(--brand-600); color: var(--brand-700); }
.dp-day.sel { background: var(--brand-600); color: #fff; box-shadow: 0 4px 12px rgba(31, 72, 199, .35); }
.dp-pop .btn-block { margin-top: 8px; }

/* ── link direto do salão (bio do Instagram): sem marketplace ── */
.direct-top .container { display: flex; align-items: center; }
.direct-name { font-weight: 800; font-size: 18px; color: var(--ink-900); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.direct-name:hover { text-decoration: none; }
.direct-foot { text-align: center; padding: 28px 16px calc(96px + env(safe-area-inset-bottom)); color: var(--ink-500); font-size: 13px; }
.direct-foot a { color: var(--ink-500); }
.bio-link { border-color: var(--sky-200, #CFE0FF); background: linear-gradient(180deg, var(--sky-50, #F2F6FF), var(--surface)); }
.bio-row { display: flex; align-items: center; }
.bio-row input { flex: 1; min-width: 0; font-weight: 600; color: var(--brand-700); background: var(--surface); }
.bio-row > * + * { margin-left: 8px; }
@media (max-width: 520px) { .bio-row { flex-direction: column; align-items: stretch; } .bio-row > * + * { margin-left: 0; margin-top: 8px; } }

/* ── Barrinha "‹ Voltar" (todas as telas internas, site e aplicativo) ── */
.backbar { padding-top: 8px; }
.backbar .container { padding-top: 0; padding-bottom: 0; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px 6px 4px; margin-left: -4px; border-radius: var(--radius-pill); color: var(--ink-700); font-weight: 650; font-size: 15px; -webkit-tap-highlight-color: transparent; }
.back-link svg { margin-right: 4px; flex: none; }
.back-link:hover, .back-link:focus-visible { background: var(--surface-2); text-decoration: none; color: var(--ink-900); }
.main-body > .backbar { padding-top: 0; margin: -8px 0 0; }
.main-body > .backbar .back-link { min-height: 36px; padding-top: 4px; padding-bottom: 4px; }
/* ── Menu dos três pontinhos ── */
.umenu { position: relative; }
.umenu > summary { list-style: none; }
.umenu > summary::-webkit-details-marker { display: none; }
.umenu[open] > summary { background: var(--surface-2); }
.umenu-pop { position: absolute; right: 0; top: 48px; z-index: 50; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(10,26,47,.16); padding: 6px; }
.umenu-pop a, .umenu-out { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: var(--ink-900); font-weight: 600; font-size: 15px; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit; }
.umenu-pop a:hover, .umenu-out:hover { background: var(--surface-2); text-decoration: none; }
.umenu-pop form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.umenu-out { color: #B4232A; }
.umenu-out svg { margin-right: 8px; }
.umenu-who { padding: 8px 12px 6px; font-size: 13px; color: var(--ink-500, #56657A); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
@media (max-width: 374px) { .hide-xs { display: none !important; } }
.auth-card > .backbar { padding-top: 0; margin: -10px 0 -6px; }

/* avaliações do Google (página do estabelecimento) */
.g-rating{margin-top:8px}
.g-rating-link{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;color:inherit;text-decoration:none;font-size:15px}
.g-rating-link b{font-size:16px}
.g-stars{position:relative;display:inline-block;font-size:17px;line-height:1;letter-spacing:1px}
.g-stars-bg{color:#D6DCE5}
.g-stars-fg{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:#F2A100}
.g-count{color:var(--ink-500)}
.g-attr{font-family:Roboto,Arial,sans-serif;font-weight:400;font-style:normal;font-size:12px;color:#5E5E5E;white-space:nowrap;padding-left:10px;border-left:1px solid var(--line)}

/* listas longas dentro de um quadro: rolam por dentro, a página não fica comprida */
.scroll-box{max-height:440px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-gutter:stable}
.scroll-box table thead th{position:sticky;top:0;background:var(--surface);z-index:1}
.err-text{color:var(--danger)}
/* ── Revisão de experiência (out/2026) ── */
.venue-addr { display: inline-flex; align-items: center; gap: 4px; }
.venue-addr svg { flex: none; }
.venue-hero.single { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
.venue-hero.single > div { min-height: 0; height: 300px; height: clamp(180px, 34vw, 380px); }
.venue-hero.single > :first-child { grid-row: auto !important; }
.venue-cover-ph { border-radius: var(--radius-l); height: 132px; display: flex; align-items: center; gap: 16px; padding: 0 24px; color: #fff; overflow: hidden;
  background: radial-gradient(90% 140% at 100% 0%, rgba(111,177,245,.38), transparent 60%), linear-gradient(120deg, #16307A, #0A1A2F); }
.venue-cover-ph .mono { width: 72px; height: 72px; flex: none; border-radius: 22px; display: grid; place-items: center; font-size: 34px; font-weight: 800;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); }
.venue-cover-ph .lbl { font-weight: 650; font-size: 15px; color: #CFE3FB; }
.no-flexgap .venue-cover-ph > * + * { margin-left: 16px; }
@media (max-width: 999px) { .venue-layout.direct > .sticky-side { order: -1; } }
.open-hours { width: 100%; font-size: 14.5px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.open-hours th, .open-hours td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.open-hours td { text-align: right; }
.open-hours tr:last-child th, .open-hours tr:last-child td { border-bottom: 0; }
.open-hours tr.today th, .open-hours tr.today td { font-weight: 750; color: var(--ink-900); }
.open-hours .badge { margin-left: 8px; font-size: 11px; vertical-align: 1px; }
/* foco sempre visível (teclado e leitores de tela) */
.searchbar .seg:focus-within { box-shadow: 0 0 0 3px var(--brand-500); border-radius: 14px; }
.sr-only:focus { position: fixed !important; top: 8px; left: 8px; width: auto !important; height: auto !important; clip: auto !important; padding: 10px 14px; background: var(--surface); color: var(--ink-900); border-radius: 10px; z-index: 100; box-shadow: var(--shadow-2); }
/* vidro fosco do topo também no Safari */
.topbar, .main-top { -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.date.off { color: var(--ink-400); background: var(--surface-2); border-style: dashed; }
.date.off small:last-child { font-size: 10.5px; font-weight: 700; text-transform: none; }
.date.off.on { color: #fff; background: var(--ink-700); border-style: solid; }
.dates { position: relative; }
/* agenda: nome e serviço separados no cartão curto ("Vinícius Dias · Barba"); ícones sem tampar o nome */
.ev.short .ev-svc::before { content: ' · '; }
.ev.short.ic1 { padding-right: 22px; }
.ev.short.ic2 { padding-right: 40px; }
@media (max-width: 640px) { .now-pill { font-size: 10.5px; padding: 0 4px; right: 2px; line-height: 15px; } }
.slot-group + .slot-group { margin-top: 14px; }
.slot-period { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); margin-bottom: 8px; }
/* cartões lado a lado com alturas diferentes: o conteúdo fica no topo (sem campos e botões esticados no iPad) */
.stack, .stack-l { align-content: start; }
.grid-2, .grid-3 { align-items: start; }
.hday input[type=time] { width: 118px; }
/* quadrinhos dentro de um cartão no celular pequeno (ex.: Formas de pagamento): menos margem para o valor caber */
@media (max-width: 400px) { .card .grid-4 { gap: 8px; } .card .grid-4 > .card-flat.kpi { padding: 10px 8px; } .card.stack:has(> .grid-4) { padding-left: 12px; padding-right: 12px; } }

/* botões discretos do Google (ver avaliações / avaliar) — sem Google Cloud */
.g-link{display:inline-flex;align-items:center;min-height:40px;padding:7px 14px 7px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink-700);font-size:14px;font-weight:600;line-height:1.2;text-decoration:none;box-shadow:0 1px 2px rgba(10,26,47,.04);-webkit-transition:background .15s,border-color .15s,color .15s;transition:background .15s,border-color .15s,color .15s}
.g-link:hover{background:var(--surface-2);border-color:#CBD3DF;color:var(--ink-900);text-decoration:none}
.g-link:active{background:#E9EEF5}
.g-link .g-logo{-ms-flex-negative:0;flex-shrink:0;margin-right:8px}
.g-link .g-ext{-ms-flex-negative:0;flex-shrink:0;margin-left:6px;color:var(--ink-400);-webkit-transition:-webkit-transform .15s;transition:transform .15s}
.g-link:hover .g-ext{color:var(--ink-700);-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}
.venue-google{margin-top:12px}
.reviews-google{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.reviews-google > span{color:var(--ink-500);font-size:14px;margin:4px 12px 4px 0}
.g-ask{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:12px 14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.g-ask > span{font-size:14px;color:var(--ink-700);margin:4px 12px 4px 0;max-width:340px}
.g-help{font-size:14px;color:var(--ink-700)}
.g-help summary{cursor:pointer;color:var(--brand-600);font-weight:600}
.g-help ol{margin:8px 0 0;padding-left:20px}
.g-help li{margin:4px 0}
