/* Agenda fácil: shared typography, controls, identity and entry pages. */
@font-face { font-family: Figtree; src: url('/static/fonts/figtree.woff2') format('woff2'); font-style: normal; font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/static/fonts/bricolage.woff2') format('woff2'); font-style: normal; font-weight: 200 800; font-display: swap; }
:root {
    --ink: #20334B; --muted: #627287; --surface: #FFF; --canvas: #F0F4F8;
    --line: #D5DFE9; --soft: #F5F8FB; --primary: #285EA8; --primary-dark: #204D89;
    --accent-soft: #EAF1FA; --green: #26705B; --danger: #B83F46; --on-primary: #FFF;
    --violet: #285EA8; --amber: #94671E; --sidebar: #203958;
    --shadow: 0 18px 60px rgba(32,57,88,.12); --display: 'Bricolage Grotesque', sans-serif; --focus: #285EA8;
}
html[data-theme='dark'] {
    --ink: #E2EAF4; --muted: #A3B3C8; --surface: #1C2B3E; --canvas: #152235;
    --line: #3A4B62; --soft: #19273A; --primary: #96BFF5; --primary-dark: #B5D3FB;
    --accent-soft: #293E5B; --green: #91CCB7; --danger: #F0A1A5; --on-primary: #152A46;
    --violet: #96BFF5; --amber: #E0BF7D; --sidebar: #182B45;
    --shadow: 0 18px 60px rgba(0,0,0,.25); --focus: #AACFFD;
}
* { box-sizing: border-box; }
html { min-width: 0; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { min-width: 0; margin: 0; color: var(--ink); background: var(--canvas); font: 15px/1.5 Figtree, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button:disabled { cursor: not-allowed; }
.hidden { display: none !important; }
.ui-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
:is(button,a,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
label, .field-label { color: var(--ink); font-size: 14px; font-weight: 600; }
html[data-theme='dark'] label, html[data-theme='dark'] .field-label { color: var(--ink); }
label small, .field-help { color: var(--muted); font-size: 12px; font-weight: 400; }
input, select, textarea { min-height: 46px; padding: 10px 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; background: var(--surface); outline: none; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .85; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
input[type='checkbox'] { min-height: 18px; width: 18px; height: 18px; padding: 0; accent-color: var(--primary); }
input[type='date'], input[type='time'], time { font-variant-numeric: tabular-nums; }
.button { min-height: 44px; gap: 8px; padding: 10px 18px; border-radius: 7px; font-size: 14px; font-weight: 650; text-decoration: none; transition: background .15s, border-color .15s; }
.button:hover, .theme-toggle:hover { transform: none; }
.button.primary, .button.primary:hover { color: var(--on-primary); box-shadow: none; }
.button.secondary { background: var(--ink); }
.button.ghost { background: var(--surface); }
.button.ghost:hover { border-color: var(--primary); background: var(--accent-soft); }
.button:disabled { opacity: .5; }
.icon-button, .theme-toggle { width: 40px; height: 40px; border-radius: 7px; color: var(--muted); background: var(--surface); }
.theme-toggle { display: grid; place-items: center; padding: 0; border: 1px solid var(--line); }
.theme-toggle .ui-icon { width: 19px; height: 19px; }
.theme-toggle:hover { color: var(--ink); }
.eyebrow { color: var(--muted); letter-spacing: 0; text-transform: none; font: 500 13px/1.4 Figtree, sans-serif; }
.brand-mark, .platform-brand > span, html[data-theme='dark'] .brand-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px 10px 10px 3px; color: #FFF; background: #285EA8; }
.brand-mark .ui-icon, .platform-brand > span .ui-icon { width: 25px; height: 25px; }
.platform-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.platform-brand strong, .sidebar-brand strong, .brand strong { font: 700 18px/1.1 var(--display); letter-spacing: -.4px; }
.page-heading h1 { font: 650 clamp(30px,3vw,40px)/1.1 var(--display); letter-spacing: -1px; }
.page-heading p { max-width: 65ch; font-size: 14px; line-height: 1.6; }
.page-heading { margin-bottom: 30px; }
.form-grid, .stack-form { align-items: start; gap: 20px; }
.form-error { font-size: 13px; }
.toast { font-size: 14px; border-radius: 8px; }
.empty-state, .empty-card, .loading-card { color: var(--muted); font-size: 14px; }
.site-header { width: min(1240px, calc(100% - 64px)); height: 88px; display: flex; align-items: center; justify-content: space-between; margin: auto; }
.site-actions { gap: 18px; }
.admin-entry { color: var(--ink); font-size: 13px; font-weight: 600; }

/* The login illustration is the single expressive element of the identity. */
.login-page, .auth-page, html[data-theme='dark'] .login-page, html[data-theme='dark'] .auth-page { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; padding: 100px max(40px,calc((100vw - 1240px)/2)) 50px; gap: clamp(50px,8vw,120px); background: var(--surface); }
.login-page::before, .auth-page::before { content: ''; position: absolute; inset: 0 48% 0 0; background: var(--accent-soft); }
.login-brand, .auth-brand { position: absolute; z-index: 1; top: 30px; left: max(40px,calc((100vw - 1240px)/2)); gap: 11px; font: 700 21px var(--display); }
.login-theme-toggle, .auth-theme-toggle { position: absolute; top: 30px; right: max(40px,calc((100vw - 1240px)/2)); }
.auth-story { position: relative; max-width: 520px; }
.auth-story h2 { max-width: 12ch; margin: 0 0 20px; font: 600 clamp(38px,4.1vw,58px)/1.03 var(--display); letter-spacing: -2px; }
.auth-story > p { max-width: 36ch; margin: 0 0 36px; font-size: 16px; color: var(--muted); }
.auth-story-footer { display: block; margin-top: 26px; color: var(--muted); font-size: 12px; }
.login-card, .auth-card, html[data-theme='dark'] .login-card, html[data-theme='dark'] .auth-card { position: relative; width: min(100%,400px); padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.access-label { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; padding: 5px 10px; color: var(--primary); border: 1px solid var(--line); border-radius: 5px; font-size: 12px; font-weight: 600; }
.login-card h1, .auth-card h1 { font: 600 34px/1.12 var(--display); letter-spacing: -1px; }
.login-card > p, .auth-card > p { margin: 12px 0 30px; max-width: 37ch; color: var(--muted); font-size: 15px; }
.login-card .stack-form, .auth-card .stack-form { gap: 22px; }
.login-card input, .auth-card input { min-height: 50px; }
.login-card .button, .auth-card .button { min-height: 50px; margin-top: 6px; }
.login-card .auth-help, .auth-card .auth-help { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 25px 0; font-size: 12px; }
.auth-help .ui-icon { width: 15px; height: 15px; }
.auth-back { display: block; width: fit-content; margin: 40px auto 0; color: var(--muted); font-size: 13px; }
.daybook { position: relative; max-width: 455px; padding: 0 0 0 23px; border: 1px solid var(--line); border-radius: 12px; color: #20334B; background: #CEDCF0; box-shadow: 7px 8px 0 color-mix(in srgb,var(--primary) 9%,transparent); transform: rotate(-2deg); }
.daybook-binding { position: absolute; top: 22px; bottom: 22px; left: 8px; display: flex; flex-direction: column; justify-content: space-around; }
.daybook-binding i { width: 22px; height: 7px; margin-left: -17px; border: 2px solid #6E84A0; border-radius: 4px; background: #F4F7FB; }
.daybook-page { padding: 23px 24px 12px; border-radius: 0 11px 11px 0; background: #FFF; }
.daybook-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 18px var(--display); }
.daybook-heading .ui-icon { color: #285EA8; }
.daybook-week { display: flex; justify-content: space-between; padding: 16px 0; font-size: 11px; color: #61718A; }
.daybook-week span { padding: 4px 7px; }
.daybook-week .chosen { color: #FFF; background: #285EA8; border-radius: 5px; }
.daybook-slot { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 10px; padding: 8px 0; border-top: 1px solid #E4EAF2; }
.daybook-slot time { padding-top: 10px; color: #67758A; font-size: 11px; }
.daybook-appointment { position: relative; padding: 9px 32px 9px 11px; border-left: 3px solid #285EA8; border-radius: 3px; background: #E7EFFA; }
.daybook-appointment strong { display: block; font-size: 12px; font-weight: 600; }
.daybook-appointment span { font-size: 10px; color: #627287; }
.daybook-appointment b { position: absolute; right: 10px; top: 12px; color: #26705B; }
.daybook-appointment b .ui-icon { width: 15px; height: 15px; }
.daybook-appointment.light { background: #F0F5FB; border-color: #91AED4; }
.daybook-appointment.outline { background: #FFF; border: 1px dashed #B4C5DA; color: #6D7F96; }
.daybook-slot.pause { align-items: center; }
.daybook-slot.pause time { padding-top: 0; }
.daybook-slot.pause > div { display: flex; align-items: center; gap: 8px; padding: 8px 11px; font-size: 11px; color: #7A673D; background: #F7F1E5; border-radius: 3px; }
.daybook-slot.pause .ui-icon { width: 15px; height: 15px; }
.daybook-caption { margin-top: 8px; text-align: right; color: #67758A; font-size: 10px; }

/* Public home: guidance for customers and a direct entry for teams. */
.landing-page { width: min(1160px,calc(100% - 64px)); margin: 36px auto 60px; }
.landing-hero { min-height: 490px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; }
.landing-copy h1 { max-width: 10ch; margin: 0 0 26px; font: 600 clamp(44px,5.6vw,76px)/1.02 var(--display); letter-spacing: -3px; }
.landing-copy > p { max-width: 43ch; color: var(--muted); font-size: 17px; line-height: 1.65; }
.landing-copy .button { display: inline-flex; margin-top: 16px; }
.landing-secondary { display: block; width: fit-content; margin-top: 20px; color: var(--muted); font-size: 14px; }
.landing-visual { padding: 40px 0 40px 20px; }
.landing-visual .daybook { transform: rotate(3deg); }
.landing-booking { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 66px; padding: 50px 0; border-top: 1px solid var(--line); }
.landing-booking h2 { max-width: 21ch; margin: 0 0 18px; font: 600 32px/1.15 var(--display); letter-spacing: -.8px; }
.landing-booking p { max-width: 48ch; color: var(--muted); font-size: 15px; }
.landing-steps { list-style: none; display: grid; gap: 23px; margin: 0; padding: 0; }
.landing-steps li { display: flex; align-items: flex-start; gap: 17px; }
.landing-steps li > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; color: var(--primary); border: 1px solid var(--line); border-radius: 50%; font-size: 13px; }
.landing-steps h3 { margin: 0 0 3px; font-size: 16px; font-weight: 600; }
.landing-steps p { margin: 0; font-size: 14px; }
.landing-sectors { padding: 25px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.landing-sectors p { margin: 5px 0 0; color: var(--ink); }
.privacy-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 30px auto; color: var(--muted); font-size: 12px; }
.privacy-page main { width: min(800px,calc(100% - 48px)); margin: 30px auto 60px; padding: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.privacy-page h1 { margin: 0 0 24px; font: 600 clamp(30px,4vw,42px)/1.1 var(--display); letter-spacing: -1px; }
.privacy-page h2 { margin: 32px 0 8px; font: 600 22px/1.3 var(--display); }
.privacy-page p, .privacy-page li { color: var(--muted); line-height: 1.75; }
.privacy-page li + li { margin-top: 8px; }
.privacy-page a { color: var(--primary); }
.privacy-page .notice { padding: 16px 20px; border-left: 3px solid var(--primary); background: var(--accent-soft); }
.privacy-page .back { display: inline-block; margin: 28px 0 14px; }
.privacy-page small { color: var(--muted); font-size: 12px; }

/* Booking: a store identity beside a readable, sequential reservation form. */
html[data-theme='dark'] body { background: var(--canvas); }
.booking-page { width: min(1120px,calc(100% - 64px)); grid-template-columns: 310px minmax(0,1fr); gap: 44px; margin: 30px auto 65px; }
.business-card { top: 24px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.business-card .business-cover { height: 96px; border-radius: 12px; background: #203958; background-position: center; background-size: cover; }
.business-card .business-cover.has-image { height: 200px; }
.business-card .business-identity { display: block; padding: 0 8px; transform: none; }
.business-card .business-logo { position: relative; width: 68px; height: 68px; margin: -34px 0 18px 8px; border: 4px solid var(--canvas); border-radius: 12px; box-shadow: none; }
.business-card .business-logo #default-logo { font-size: 27px; color: var(--on-primary); }
.business-card .business-identity > div:last-child { padding: 0; }
.business-card #business-kind { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.business-card h1 { white-space: normal; margin: 7px 0 12px; font: 600 30px/1.1 var(--display); letter-spacing: -.8px; overflow-wrap: anywhere; }
.business-card #business-description { font-size: 14px; line-height: 1.6; }
.business-card .trust-row { gap: 11px; margin-top: 23px; padding: 0 8px 24px; font-size: 12px; }
.business-card .trust-row > span { display: flex; gap: 8px; }
.booking-aside-note { display: flex; align-items: flex-start; gap: 12px; padding: 24px 8px; border-top: 1px solid var(--line); color: var(--muted); }
.booking-aside-note p { margin: 0; font-size: 12px; line-height: 1.6; }
.booking-card { min-height: 650px; padding: 30px; border-radius: 12px; box-shadow: none; }
.booking-card .booking-title h2 { font: 600 30px/1.15 var(--display); letter-spacing: -.8px; }
.booking-card .booking-title > div > p:last-child { font-size: 14px; line-height: 1.5; }
.booking-card .booking-title > strong { padding: 3px 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 500; }
.booking-card .progress { margin: 27px 0 30px; }
.booking-card .progress-step small { font-size: 12px; font-weight: 600; }
.booking-card .progress-step span { width: 28px; height: 28px; font-size: 12px; }
.booking-card .progress-step { color: var(--muted); }
.booking-card .section-label > span { width: 24px; height: 24px; flex-basis: 24px; color: var(--muted); border-radius: 0; background: transparent; }
.booking-card .section-label strong { font: 600 15px/1.4 Figtree,sans-serif; }
.booking-card .section-label small { font-size: 12px; line-height: 1.5; }
.booking-card .people-count-card { gap: 10px 16px; padding: 16px; margin-bottom: 27px; border-color: var(--line); border-radius: 8px; background: var(--soft); }
.booking-card .people-count-copy > span { display: none; }
.booking-card .people-count-copy strong { font: 600 14px Figtree,sans-serif; }
.booking-card .people-count-copy small { max-width: 33ch; font-size: 12px; line-height: 1.5; }
.booking-card .people-count-card > p { margin: 0; font-size: 12px; font-weight: 400; }
.booking-card .people-stepper { grid-template-columns: 33px 30px 33px; border-color: var(--line); border-radius: 6px; background: var(--surface); }
.booking-card .people-stepper button { height: 37px; }
.booking-card .selection-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.booking-card .select-card { display: grid; grid-template-columns: 23px minmax(0,1fr) auto; min-height: 88px; gap: 14px; padding: 17px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--surface); box-shadow: none; }
.booking-card .select-card:hover { transform: none; background: var(--soft); }
.booking-card .select-card.selected { background: color-mix(in srgb,var(--primary) 7%,var(--surface)); }
.service-selector { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; }
.select-card.selected .service-selector { color: var(--on-primary); border-color: var(--primary); background: var(--primary); }
.service-selector .ui-icon { width: 17px; height: 17px; }
.booking-card .select-card strong { white-space: normal; font: 600 15px/1.4 Figtree,sans-serif; }
.booking-card .service-choice-copy small { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.service-choice-copy small .ui-icon { width: 13px; height: 13px; }
.service-choice-price { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.booking-card .step-actions { padding-top: 22px; margin-top: 10px; }
.booking-card .professional-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.booking-card .professional-card { display: flex; align-items: center; justify-content: flex-start; padding: 13px; gap: 11px; border-radius: 8px; }
.booking-card .professional-card strong { font-size: 13px; white-space: normal; text-align: left; }
.booking-card .professional-avatar { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; color: var(--primary); background: var(--accent-soft); font: 600 12px Figtree,sans-serif; }
.booking-card .professional-card.selected { color: var(--ink); background: color-mix(in srgb,var(--primary) 7%,var(--surface)); }
.booking-card .date-card { padding: 11px 6px; border-radius: 6px; }
.booking-card .date-card strong { font: 650 22px var(--display); }
.booking-card .date-card small { font-size: 12px; }
.booking-card .time-button { min-height: 44px; border-radius: 6px; font-size: 14px; }
.booking-card .date-card.selected, .booking-card .time-button.selected { color: var(--on-primary); }
.booking-card .summary-card { gap: 20px; padding: 20px; border-color: var(--line); border-radius: 8px; background: var(--soft); }
.summary-card small { font-size: 12px; }
.summary-card strong { font-size: 14px; }
.summary-card > button { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.booking-card .contact-form { gap: 20px 15px; }
.booking-card .pet-block { background: var(--soft); border-color: var(--line); border-radius: 8px; }
.booking-card .weight-feedback p { font-size: 12px; }
.booking-card .success-step h2 { font: 600 32px var(--display); }
.review-modal .review-details { gap: 0 24px; }
.review-modal .review-details > div, html[data-theme='dark'] .review-modal .review-details > div { padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.review-modal .review-details dd { font-size: 14px; }
.review-modal .review-details dt { font-size: 12px; }
.state-card .state-symbol .ui-icon { width: 36px; height: 36px; }
.state-card .button { margin-top: 20px; }
html[data-theme='dark'] .business-card { background: transparent; }
html[data-theme='dark'] .booking-card .people-count-card,
html[data-theme='dark'] .booking-card .summary-card,
html[data-theme='dark'] .booking-card .pet-block { border-color: var(--line); background: var(--soft); }

/* Team workspace: restrained navigation and a continuous daily summary. */
.sidebar { width: 232px; padding: 28px 16px 20px; }
.sidebar-brand { padding: 0 8px 26px; }
.sidebar-brand small { color: #AFC2DA; font-size: 12px; }
.sidebar .brand-mark.light { width: 35px; height: 35px; color: #FFF; background: #3E6697; }
.manager-card { gap: 10px; margin: 23px 0 26px; padding: 13px 9px; border-color: #4B617C; border-radius: 7px; background: transparent; }
.manager-card > span { color: #D9E8FA; background: #3E587A; }
.manager-card strong { font-size: 13px; }
.manager-card small { color: #B1C2D7; font-size: 11px; }
.sidebar .nav-list { gap: 5px; }
.sidebar .nav-item { min-height: 46px; padding: 0 12px; color: #BCCCE0; border-radius: 6px; font-size: 14px; font-weight: 500; }
.sidebar .nav-item:hover { background: #2B496C; color: #FFF; }
.sidebar .nav-item.active { background: #F0F5FC; color: #24466D; font-weight: 650; }
.sidebar .nav-item .ui-icon { width: 19px; height: 19px; }
.sidebar .sidebar-theme-toggle, .sidebar .logout-button { border: 0; padding: 0 12px; color: #BCCCE0; font-size: 13px; text-align: left; }
.sidebar .logout-button { border-top: 1px solid #4B617C; border-radius: 0; margin-top: 12px; padding-top: 10px; }
.content { margin-left: 232px; padding: 42px clamp(24px,3.6vw,60px) 70px; }
.stats-row { gap: 0; padding: 20px 0; margin: 20px 0 27px; border-block: 1px solid var(--line); }
.stats-row article, html[data-theme='dark'] .stats-row article { padding: 0 22px; gap: 13px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.stats-row article:first-child { padding-left: 0; }
.stats-row article:last-child { border: 0; }
html[data-theme='dark'] .stats-row article:first-child { padding-left: 0; }
html[data-theme='dark'] .stats-row article:last-child { border: 0; }
.stats-row article div { display: flex; flex-direction: column-reverse; gap: 1px; }
.stats-row article strong { font: 600 32px var(--display); font-variant-numeric: tabular-nums; }
.stats-row article small { font-size: 12px; }
.stats-row .stat-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--accent-soft); }
.date-navigator { gap: 6px; padding: 0; border: 0; background: transparent; }
.date-navigator label span { font-size: 11px; text-transform: none; }
.date-navigator input { width: 157px; padding-inline: 8px; font-size: 14px; }
.agenda-view-switch { border-radius: 7px; box-shadow: none; }
.agenda-view-switch button { border-radius: 4px; font-size: 13px; font-weight: 600; }
.agenda-view-switch button[aria-pressed='true'] { color: var(--on-primary); box-shadow: none; }
.agenda-view-switch button[aria-pressed='true']:hover { color: var(--on-primary); background: var(--primary); }
.agenda-view-switch button small { font-size: 10px; }
.agenda-professional-filter { font-size: 12px; }
.realtime-status { gap: 7px; padding: 0; background: transparent; font-size: 11px; }
.realtime-status i { width: 6px; height: 6px; box-shadow: none; }
.agenda-premium-note { border-radius: 7px; font-size: 12px; }
.agenda-timeline { border-radius: 10px; }
.agenda-item { gap: 25px; grid-template-columns: 77px 1fr auto; padding: 23px 24px; }
.agenda-time { color: var(--primary); font: 600 20px var(--display); }
.agenda-time small { font: 400 12px Figtree,sans-serif; }
.agenda-details strong { font-weight: 600; font-size: 15px; }
.agenda-details span { font-size: 13px; line-height: 1.65; }
.status-action { min-height: 36px; border-radius: 5px; font-size: 12px; }
.calendar-card, .calendar-grid { border-radius: 9px; }
.calendar-day-header { font-size: 13px; }
.calendar-event { border-radius: 4px; }
.calendar-event strong { font-family: Figtree,sans-serif; font-weight: 600; }
.calendar-empty-hint { font-size: 13px; }
.person-card, .service-card { padding: 22px; border-radius: 10px; box-shadow: none; }
.person-card:hover, .service-card:hover { transform: none; box-shadow: none; border-color: #9BAFC9; }
.people-grid, .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.person-avatar { border-radius: 50%; color: var(--primary); background: var(--accent-soft); font-weight: 600; }
.person-card h3, .service-card h3 { font: 600 21px/1.25 var(--display); }
.person-card > span { font-size: 13px; }
.person-badges > span, .service-pill { padding: 3px 7px; border-radius: 4px; font-size: 10px; font-weight: 600; text-transform: none; }
.access-pill { color: var(--primary); background: var(--accent-soft); }
.person-service-tag { color: var(--primary); background: var(--accent-soft); font-weight: 500; }
.service-icon { color: var(--primary); background: var(--accent-soft); border-radius: 7px; }
.service-meta { align-items: center; justify-content: space-between; margin-top: 13px; font-size: 14px; }
.service-meta > span:first-child { color: var(--ink); font: 600 24px var(--display); font-variant-numeric: tabular-nums; }
.card-actions { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-actions button { min-height: 36px; font-weight: 500; border-radius: 5px; }
.editor-card, .control-card { padding: 26px; border-radius: 10px; box-shadow: none; }
.editor-card h2, .control-card h2 { font: 600 24px var(--display); }
.editor-card > header p, .control-head p { max-width: 65ch; font-size: 13px; line-height: 1.6; }
.schedule-toolbar { border-radius: 6px; }
.week-row { padding-block: 17px; }
.week-day { font-size: 14px; }
.week-row .period-row input { min-height: 42px; }
.choice-chip { border-radius: 5px; font-size: 12px; }
.whatsapp-grid { gap: 20px; }
.whatsapp-connection-card { padding: 0; }
.whatsapp-card-head p, .whatsapp-actions p { font-size: 13px; }
.message-preview { background-image: none; background-color: var(--soft); }
.whatsapp-history-meta { font-size: 12px; }

/* Platform workspace: one row per establishment, easy to compare and open. */
.topbar { height: 82px; padding-inline: max(32px,calc((100vw - 1200px)/2)); border-color: var(--line); background: var(--surface); backdrop-filter: none; }
.topbar .brand small { font-size: 12px; margin-top: 6px; }
html[data-theme='dark'] .topbar, html[data-theme='dark'] .mobile-header { background: var(--surface); }
.user-chip { border: 0; background: transparent; font-size: 13px; }
.user-avatar { color: var(--primary); background: var(--accent-soft); }
.page-shell { width: min(1200px,calc(100% - 64px)); padding: 46px 0 80px; }
.page-shell .page-heading { margin-bottom: 35px; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; padding: 24px 0; margin-bottom: 36px; border-block: 1px solid var(--line); }
.metric-card { padding: 0 28px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.metric-card:first-child { padding-left: 0; }
.metric-card:last-child { border-right: 0; }
.metric-card div { display: flex; flex-direction: column-reverse; gap: 4px; }
.metric-card strong { font: 600 37px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.metric-card span:last-child { font-size: 13px; }
.metric-icon { width: 42px; height: 42px; border-radius: 8px; }
.metric-icon.violet { background: var(--accent-soft); }
.store-toolbar { align-items: end; gap: 18px; margin-bottom: 24px; }
.search-box input { padding-left: 43px; font-size: 14px; }
.search-box > span { top: 12px; }
.filter-select { width: 220px; font-size: 12px; letter-spacing: 0; }
.store-list-heading, .store-card { display: grid; grid-template-columns: minmax(210px,2fr) minmax(135px,1fr) 84px minmax(150px,1.2fr) 25px; align-items: center; gap: 20px; }
.store-list-heading { padding: 0 22px 12px; color: var(--muted); font-size: 12px; }
.stores-grid { display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stores-grid:empty { display: none; }
.stores-grid .store-card { min-height: 114px; padding: 23px 22px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: var(--surface); transition: background .15s; }
.stores-grid .store-card:last-child { border-bottom: 0; }
.stores-grid .store-card::after { display: none; }
.stores-grid .store-card:hover { background: var(--soft); transform: none; box-shadow: none; }
.store-card .store-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.store-identity > div { min-width: 0; }
.store-card .store-type-icon { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 8px; color: var(--primary); background: var(--accent-soft); }
.store-card h2 { margin: 0 0 5px; font: 600 18px/1.25 var(--display); letter-spacing: -.3px; overflow-wrap: anywhere; }
.store-card .slug { display: block; margin: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.store-category { display: grid; gap: 5px; }
.store-card .type-name { color: var(--ink); font-size: 13px; font-weight: 500; }
.store-plan { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.store-card .manager-mini { gap: 10px; }
.manager-mini span:first-child { color: var(--primary); background: var(--accent-soft); font-weight: 600; }
.manager-mini strong { font-size: 13px; font-weight: 600; }
.manager-mini small { font-size: 11px; }
.store-card .card-arrow { width: 25px; height: 30px; color: var(--muted); background: transparent; }
html[data-theme='dark'] .store-card .card-arrow { background: transparent; }
.status-pill { padding: 4px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; }
html[data-theme='dark'] .status-pill:not(.inactive):not(.neutral) { color: #A9DDC3; background: #20392D; }
html[data-theme='dark'] .status-pill.inactive { color: #F0A1A5; background: #442D3A; }
.modal-card { padding: 32px; border-radius: 12px; }
.modal-header h2 { font: 600 28px var(--display); }
.store-drawer { width: min(620px,100%); visibility: hidden; }
.store-drawer.open { visibility: visible; }
.overlay-open { overflow: hidden; }
#credential-modal { z-index: 80; }
.drawer-content { padding: 24px; }
.drawer-section { padding: 22px; border-radius: 9px; }
.drawer-store-identity h2 { font: 600 24px var(--display); }
.drawer-section .section-title h3 { font: 600 19px var(--display); }
.drawer-section .section-title .ui-icon { color: var(--muted); }
.section-help { font-size: 13px; }
.appearance-preview { box-shadow: none; }
.credential-cnpj strong { font-family: Figtree,sans-serif; }

@media (min-width: 1500px) { .login-page, .auth-page { gap: 170px; } }
@media (max-width: 1000px) {
    .login-page, .auth-page, html[data-theme='dark'] .login-page, html[data-theme='dark'] .auth-page { gap: 55px; padding-inline: 32px; }
    .auth-story h2 { font-size: 43px; }
    .daybook-page { padding: 18px 15px 10px; }
    .landing-hero, .landing-booking { gap: 40px; }
    .booking-page { width: calc(100% - 40px); grid-template-columns: 255px minmax(0,1fr); gap: 24px; }
    .booking-card { padding: 24px; }
    .store-list-heading, .store-card { grid-template-columns: minmax(200px,1.8fr) 120px 74px minmax(130px,1fr) 20px; gap: 14px; }
    .page-shell { width: calc(100% - 40px); }
    .content { padding-inline: 24px; }
    .agenda-heading { align-items: start; flex-direction: column; gap: 20px; }
    .week-row { grid-template-columns: 1fr; }
    .week-day { grid-column: auto; }
}
@media (min-width: 1100px) { .calendar-grid { grid-template-columns: 60px repeat(var(--calendar-days),minmax(110px,1fr)); min-width: calc(60px + var(--calendar-days) * 110px); } }
@media (min-width: 761px) and (max-height: 800px) {
    .login-page, .auth-page, html[data-theme='dark'] .login-page, html[data-theme='dark'] .auth-page { padding-top: 102px; padding-bottom: 30px; }
    .auth-story h2 { max-width: 17ch; font-size: 43px; margin-bottom: 15px; }
    .auth-story > p { margin-bottom: 24px; }
    .auth-story .daybook-page { padding-top: 18px; }
    .auth-story .daybook-week { padding-block: 10px; }
    .auth-story .daybook-slot { padding-block: 6px; }
    .auth-story-footer { margin-top: 20px; }
}
@media (max-width: 760px) {
    .login-page, .auth-page, html[data-theme='dark'] .login-page, html[data-theme='dark'] .auth-page { display: flex; justify-content: center; padding: 125px 26px 45px; min-height: 100svh; }
    .login-page::before, .auth-page::before, .auth-story { display: none; }
    .login-brand, .auth-brand { top: 25px; left: 26px; font-size: 20px; }
    .login-theme-toggle, .auth-theme-toggle { top: 25px; right: 26px; }
    .login-card, .auth-card { max-width: 410px; padding: 0; }
    .site-header { width: calc(100% - 36px); height: 76px; }
    .platform-brand strong { font-size: 17px; }
    .site-actions { gap: 10px; }
    .site-actions .admin-entry { max-width: 75px; font-size: 12px; line-height: 1.3; }
    .admin-entry::before { content: none; }
    .landing-page { width: calc(100% - 44px); margin-top: 35px; }
    .landing-hero, .landing-booking { grid-template-columns: 1fr; gap: 36px; }
    .landing-copy h1 { max-width: 12ch; font-size: 53px; letter-spacing: -2px; }
    .landing-copy > p { font-size: 16px; }
    .landing-visual { padding: 12px 7px 12px 3px; }
    .landing-visual .daybook { margin: auto; }
    .landing-booking { margin-top: 45px; padding-top: 34px; }
    .landing-booking h2 { font-size: 29px; }
    .privacy-page main { width: calc(100% - 32px); padding: 24px; margin-top: 15px; }
    input, select, textarea { font-size: 16px; }
    .booking-page { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 23px; margin: 15px auto 35px; }
    .business-card { position: relative; top: 0; }
    .business-card .business-cover { height: 68px; }
    .business-card .business-cover.has-image { height: 135px; }
    .business-card .business-identity { padding-inline: 5px; }
    .business-card .business-logo { width: 60px; height: 60px; margin-bottom: 8px; }
    .business-card h1 { font-size: 28px; }
    .business-card #business-description { font-size: 13px; }
    .business-card .trust-row { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 14px; padding-bottom: 0; }
    .booking-aside-note { display: none; }
    .booking-card { width: 100%; min-height: 0; padding: 24px 18px; border-radius: 10px; }
    .booking-card .booking-title h2 { font-size: 26px; }
    .booking-card .booking-title { gap: 10px; }
    .booking-card .booking-title > strong { font-size: 11px; }
    .booking-card .progress { gap: 6px; }
    .booking-card .progress-step { gap: 5px; }
    .booking-card .progress-step small { display: inline; font-size: 11px; }
    .booking-card .people-count-card { grid-template-columns: 1fr auto; padding: 12px; gap: 10px; }
    .booking-card .people-count-copy small { font-size: 11px; }
    .booking-card .select-card { gap: 10px; padding-inline: 2px; grid-template-columns: 21px minmax(0,1fr) auto; }
    .booking-card .select-card strong { font-size: 14px; }
    .service-choice-price { font-size: 13px; }
    .booking-card .service-choice-copy small { font-size: 11px; }
    .booking-card .professional-grid { grid-template-columns: 1fr 1fr; }
    .booking-card .professional-card { padding: 10px; gap: 7px; }
    .booking-card .professional-avatar { width: 30px; height: 30px; }
    .booking-card .professional-card strong { font-size: 12px; }
    .booking-card .time-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .booking-card .contact-form, .booking-card .form-grid { grid-template-columns: 1fr; }
    .booking-card .wide { grid-column: 1 / -1; }
    .booking-card .step-actions { gap: 8px; }
    .booking-card .step-actions .button { padding-inline: 13px; font-size: 13px; }
    .sidebar { width: 232px; visibility: hidden; }
    .sidebar.open { visibility: visible; }
    .content { margin-left: 0; padding: 93px 18px 50px; }
    .mobile-header { background: var(--surface); }
    .mobile-header strong { font-size: 14px; }
    .mobile-header small { font-size: 11px; }
    .page-heading { gap: 20px; margin-bottom: 25px; }
    .page-heading h1 { font-size: 32px; }
    .page-heading p { font-size: 13px; }
    .stats-row { grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 17px; gap: 0; }
    .stats-row article { display: block; padding-inline: 10px; }
    .stats-row article .stat-icon { display: none; }
    .stats-row article strong { font-size: 28px; }
    .stats-row article small { font-size: 11px; }
    .stats-row article div { gap: 5px; }
    .date-navigator { width: 100%; grid-template-columns: 36px minmax(0,1fr) 36px auto; align-items: end; }
    .date-navigator #agenda-today { grid-column: 4; grid-row: 1; }
    .date-navigator input { width: 100%; }
    .agenda-timeline .agenda-item { grid-template-columns: 58px minmax(0,1fr); gap: 14px; padding: 18px 14px; }
    .agenda-time { font-size: 18px; }
    .agenda-details strong { white-space: normal; }
    .agenda-actions { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
    .people-grid, .service-grid { grid-template-columns: 1fr; gap: 16px; }
    .editor-card, .control-card { padding: 20px; }
    .editor-card h2, .control-card h2 { font-size: 23px; }
    .day-periods { min-width: 0; }
    .period-row { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) 30px; gap: 5px; }
    .period-row input { min-width: 0; padding-inline: 5px; font-size: 14px; }
    .whatsapp-connection-card { padding: 0; }
    .whatsapp-history-card .control-head { align-items: stretch; }
    .topbar { height: 76px; padding-inline: 18px; }
    .topbar .brand small { display: none; }
    .topbar .brand strong { font-size: 16px; }
    .topbar-actions { gap: 7px; }
    .topbar .user-chip { display: none; }
    .page-shell { width: calc(100% - 36px); padding-top: 30px; }
    .metrics { grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 18px; margin-bottom: 27px; }
    .metric-card { display: block; padding-inline: 12px; }
    .metric-icon { display: none; }
    .metric-card strong { font-size: 30px; }
    .metric-card span:last-child { min-height: 34px; font-size: 11px; }
    .store-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
    .filter-select { width: 100%; }
    .store-list-heading { display: none; }
    .stores-grid { border: 0; border-radius: 0; gap: 14px; background: transparent; }
    .stores-grid .store-card { position: relative; grid-template-columns: 1fr auto; gap: 19px 12px; padding: 19px; border: 1px solid var(--line); border-radius: 9px; }
    .stores-grid .store-card:last-child { border-bottom: 1px solid var(--line); }
    .store-card .store-identity { grid-column: 1 / -1; padding-right: 15px; }
    .store-card .store-category { grid-column: 1; grid-row: 2; }
    .store-card .status-pill { grid-column: 2; grid-row: 2; }
    .store-card .manager-mini { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--line); }
    .store-card .card-arrow { position: absolute; top: 24px; right: 10px; }
    .drawer-content { padding: 16px; }
    .drawer-section { padding: 18px; }
    .drawer-store-identity h2 { font-size: 21px; }
    .modal-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
