:root{--v-bg:#ffffff;--v-surface:#ffffff;--v-text:#17191d;--v-muted:#636b76;--v-line:#e6e8eb;--v-soft:#f5f6f8;--v-accent:#344d61;--v-accent-ink:#fff;--ink:var(--v-text)!important;--paper:var(--v-bg)!important;--muted:var(--v-muted)!important}
html,body{background:var(--v-bg)!important;color:var(--v-text)!important}body{line-height:1.5}header,.panel,.card,.studio-detail,.edit-dialog,.studio-public-extra,.day-cell,.hourly-scroll,.hourly-track{background:var(--v-surface)!important;border-color:var(--v-line)!important;color:var(--v-text)!important;box-shadow:none!important}.panel,.card{border-radius:14px!important}.hero{background:var(--v-surface)!important;border-color:var(--v-line)!important;box-shadow:none!important;border-radius:14px!important}.hero h2,h1,h2,h3,h4,.edit-top h3{color:var(--v-text)!important;letter-spacing:-.025em}.hero .eyebrow,.hero small{color:var(--v-muted)!important}.hero p,p,small,label,.muted,.studio-hint,.calendar-note,.calendar-help,.booking-masthead>a{color:var(--v-muted)!important}label{font-weight:500!important}a{color:var(--v-text)}input,select,textarea{color:var(--v-text)!important;background:var(--v-surface)!important;border:1px solid var(--v-line)!important;border-radius:7px!important;box-shadow:none!important}input:focus,select:focus,textarea:focus{outline:2px solid var(--v-accent);outline-offset:2px}input::placeholder,textarea::placeholder{color:var(--v-muted)!important;opacity:.8}input[type=checkbox]{accent-color:var(--v-accent)}button,.btn,#submit{background:var(--v-accent)!important;color:var(--v-accent-ink)!important;box-shadow:none!important;border-color:transparent!important;border-radius:7px!important}.secondary,.btn.alt{background:var(--v-soft)!important;color:var(--v-text)!important;border:1px solid var(--v-line)!important}.studio-nav{gap:5px!important;border-bottom:1px solid var(--v-line);padding-bottom:16px}.studio-nav a{color:var(--v-muted)!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:7px!important;padding:10px 14px!important}.studio-nav a[aria-current=page]{background:var(--v-accent)!important;color:var(--v-accent-ink)!important}.studio-kpi{background:var(--v-surface)!important;border:1px solid var(--v-line)!important;color:var(--v-muted)!important;border-radius:11px!important}.studio-kpi strong{color:var(--v-text)!important;font-variant-numeric:tabular-nums;letter-spacing:-.035em}.studio-table th,.studio-table td{border-color:var(--v-line)!important;color:var(--v-text)!important}.studio-table th{color:var(--v-muted)!important;font-weight:500}.studio-status,.notice{background:var(--v-soft)!important;color:var(--v-text)!important;border:1px solid var(--v-line)}.text-preferences{background:var(--v-surface);border:1px solid var(--v-line);padding:14px 18px;border-radius:10px}.text-preferences select{width:auto!important;min-width:110px}.text-preferences input[type=color]{width:46px!important;height:36px!important;padding:4px!important}.text-preferences span{font-size:12px;color:var(--v-muted)}.studio-detail .client-message{background:var(--v-soft)!important;color:var(--v-text)!important}.hour-corner,.hour-head,.hour-label{background:var(--v-surface)!important;color:var(--v-muted)!important;border-color:var(--v-line)!important}.hourly-track{border-color:var(--v-line)!important}.hour-appt{background:var(--appt-bg,#e7edef)!important;color:#263440!important}.hour-appt small{color:#465667!important}.hour-appt.awaiting-payment{background:#e9e4d6!important;border-color:#9e8a61!important}.hour-appt.awaiting-payment small{color:#695934!important}.day-cell.today{outline:1px solid var(--v-accent)}.booking-intro h1,.booking-intro p{color:var(--v-text)!important}.row,.staff-row{border-color:var(--v-line)!important}.studio-form{max-width:740px}.studio-form textarea{color:var(--v-text)!important}#management>.panel{padding:28px!important}.error{color:#ad4353!important}.success{color:#38705c!important}.finance-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:22px 0}.finance-toolbar label{display:grid;gap:6px;margin:0}.finance-toolbar input,.finance-toolbar select{width:auto;min-width:140px}.finance-charts{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;margin:24px 0}.finance-chart{border:1px solid var(--v-line);background:var(--v-surface);padding:20px;border-radius:12px;min-width:0}.finance-chart h3{font-size:calc(16px * var(--pro-text-scale,1));margin:0 0 16px}.finance-chart svg{display:block;width:100%;height:auto}.finance-chart svg text{fill:var(--v-muted);font-family:inherit;font-size:11px}.finance-chart svg .gridline{stroke:var(--v-line);stroke-width:1}.finance-chart svg .revenue-bar{fill:var(--v-accent)}.finance-chart svg .cost-bar{fill:#a7876a}.finance-chart svg .profit-line{stroke:#5c8575;fill:none;stroke-width:2.5}.finance-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--v-muted)}.finance-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:6px}.finance-empty{min-height:150px;display:grid;place-items:center;text-align:center;color:var(--v-muted)}.finance-settings{border:1px solid var(--v-line);padding:18px;border-radius:10px;margin-top:20px}.finance-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.finance-entry-grid>label{display:grid;gap:6px}.finance-entry-grid .wide{grid-column:1/-1}.finance-entry-grid label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.finance-entry-grid input[type=checkbox]{width:auto;min-height:0}.finance-negative{color:#a34545!important}.finance-positive{color:#4e7861!important}@media(max-width:800px){.finance-charts,.finance-entry-grid{grid-template-columns:1fr}.finance-entry-grid .wide{grid-column:auto}#management>.panel{padding:20px!important}.text-preferences{gap:8px}.hero{padding:24px!important}}
.hour-track,.hourly-grid{background:var(--v-surface)!important;border-color:var(--v-line)!important}.hour-slot{border-color:var(--v-line)!important;background:transparent!important}.hour-slot:hover{background:var(--v-soft)!important}html[data-velora-theme=night] .brand img,html[data-velora-theme=night] header img[alt*="VELORA"]{filter:brightness(0) invert(1)}

/* La connexion garde sa direction blanche, indépendante du thème de l’établissement. */
html[data-auth-view=true]{--v-bg:#fff!important;--v-surface:#fff!important;--v-text:#17191d!important;--v-muted:#68707c!important;--v-line:#e5e7eb!important;--v-soft:#f7f8fa!important;--v-accent:#17191f!important;--v-accent-ink:#fff!important;color-scheme:light!important}
html[data-auth-view=true] body{background:#fff!important}
html[data-auth-view=true] main{max-width:1100px;margin:0 auto;padding-top:38px}
html[data-auth-view=true] .hero{display:none!important}
html[data-auth-view=true] #auth{max-width:430px;margin:12px auto 70px;padding:28px 16px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
html[data-auth-view=true] #auth>small{font-size:10px!important;letter-spacing:.14em;color:#7c8490!important}
html[data-auth-view=true] #auth h2{font-size:32px!important;font-weight:600!important;letter-spacing:-.04em!important;margin:12px 0 26px}
html[data-auth-view=true] #auth label{font-size:13px!important;color:#474e59!important;margin-top:18px}
html[data-auth-view=true] #auth input{background:#fff!important;border-color:#dfe3e8!important;min-height:46px;border-radius:8px!important;padding:11px 13px!important}
html[data-auth-view=true] #auth button{font-size:13px!important;font-weight:550!important;min-height:42px;border-radius:8px!important}
html[data-auth-view=true] #auth .actions{display:flex!important;gap:0!important;padding:3px!important;background:#f5f6f8!important;border-radius:9px!important;margin-bottom:24px!important}
html[data-auth-view=true] #auth .actions button{flex:1;margin:0!important;background:#fff!important;color:#191d24!important;border:1px solid #e6e8ec!important;border-radius:7px!important;padding:9px 10px!important}
html[data-auth-view=true] #auth .actions button.secondary{background:transparent!important;color:#6c7480!important;border-color:transparent!important}
html[data-auth-view=true] #auth #pro-resend,html[data-auth-view=true] #auth #forgot-link,html[data-auth-view=true] #auth #forgot-back{background:transparent!important;border:0!important;color:#636d7b!important;min-height:30px;padding:6px 0!important;font-size:12px!important;text-align:left}
html[data-auth-view=true] #auth #pro-resend{margin-top:10px!important}
html[data-auth-view=true] #auth #forgot-link{margin-top:6px!important}
html[data-auth-view=true] #auth>p{font-size:11px!important;line-height:1.6;color:#7b8390!important}
html[data-auth-view=true] header{background:#fff!important;border-color:#f0f1f3!important}
html[data-auth-view=true] header img[alt*="VELORA"]{filter:none!important}
html[data-auth-view=true] #message:empty{display:none!important}
