/* The business preference selects the theme. Printed documents keep their own palette. */
@media screen {
 html[data-activity-theme="artisan"]{color-scheme:light;--studio-ink:#203d5c;--studio-text:#50677e;--studio-paper:#ffffff;--studio-border:#d0e0ef;--studio-accent:#2867a1}
 html[data-activity-theme="artisan"] body:has(.shell){background:#f6faff;color:#203d5c}
 html[data-activity-theme="artisan"] .shell aside{background:#edf5ff;border-color:#d0e0ef;color:#203d5c}
 html[data-activity-theme="artisan"] .shell aside .brand,html[data-activity-theme="artisan"] .mobile-top{color:#234b73}
 html[data-activity-theme="artisan"] .shell .brand small,html[data-activity-theme="artisan"] .shell aside footer,html[data-activity-theme="artisan"] .shell header,html[data-activity-theme="artisan"] .shell .bottom{color:#526b83}
 html[data-activity-theme="artisan"] .shell .logo img{filter:brightness(0) saturate(100%) invert(30%) sepia(20%) saturate(1500%) hue-rotate(170deg)}
 html[data-activity-theme="artisan"] .shell aside nav button{color:#3d5a76}
 html[data-activity-theme="artisan"] .shell aside nav button:hover{background:#dfecfa;color:#234b73}
 html[data-activity-theme="artisan"] .shell aside nav button.active,html[data-activity-theme="artisan"] .shell aside nav button.active:hover{background:#cfe4fc;color:#244d76;box-shadow:none}
 html[data-activity-theme="artisan"] .shell aside footer a{color:#285f92!important}
 html[data-activity-theme="artisan"] .shell .hero{background:linear-gradient(115deg,#eaf4ff,#deedff);border-color:#c9ddf2;box-shadow:none}
 html[data-activity-theme="artisan"] .shell .hero h1{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:650;color:#24486c;font-size:clamp(28px,3vw,40px)}
 html[data-activity-theme="artisan"] .shell .hero:before{display:none}
 html[data-activity-theme="artisan"] .shell .hero:after{border-color:#5e7c9940;background:transparent}
 html[data-activity-theme="artisan"] .shell p,html[data-activity-theme="artisan"] .shell .hero p,html[data-activity-theme="artisan"] .shell small,html[data-activity-theme="artisan"] .shell .eyebrow,html[data-activity-theme="artisan"] .shell .hero .eyebrow{color:#50677e}
 html[data-activity-theme="artisan"] .shell h2,html[data-activity-theme="artisan"] .shell h3,html[data-activity-theme="artisan"] .setup-list strong,html[data-activity-theme="artisan"] .setup-panel>summary{color:#294b6b}
 html[data-activity-theme="artisan"] .shell .stat,html[data-activity-theme="artisan"] .shell .card,html[data-activity-theme="artisan"] .shell .client-card,html[data-activity-theme="artisan"] .shell .home-panel,html[data-activity-theme="artisan"] .shell .roadmap{background:#ffffff;border-color:#d0e0ef;box-shadow:none}
 html[data-activity-theme="artisan"] .shell .home-stats .stat:nth-child(n){background:#eaf3ff;border-color:#cfdfef}
 html[data-activity-theme="artisan"] .shell .stat strong{color:#24486c}
 html[data-activity-theme="artisan"] .shell .stat span,html[data-activity-theme="artisan"] .shell .stat small{color:#506b85}
 html[data-activity-theme="artisan"] .shell .salon-today{background:linear-gradient(120deg,#eff6ff,#e9f3ff)!important;border-color:#d0e0ef}
 html[data-activity-theme="artisan"] .shell .tag,html[data-activity-theme="artisan"] .shell header .tag,html[data-activity-theme="artisan"] .shell .home-head .tag{background:#e2efff;color:#315a84;border-color:#c5daf0}
 html[data-activity-theme="artisan"] .shell .primary,html[data-activity-theme="artisan"] dialog .primary{background:#2867a1;color:#244d76;border-color:#2867a1;box-shadow:none}
 html[data-activity-theme="artisan"] .shell .primary:hover,html[data-activity-theme="artisan"] dialog .primary:hover{background:#205783;color:#244d76}
 html[data-activity-theme="artisan"] .shell .secondary,html[data-activity-theme="artisan"] dialog .secondary,html[data-activity-theme="artisan"] .mobile-top button{background:#f0f6ff;color:#345a80;border-color:#b9d0e5}
 html[data-activity-theme="artisan"] .shell .secondary:hover,html[data-activity-theme="artisan"] dialog .secondary:hover{background:#e2efff;color:#244d76;border-color:#9dbddc}
 html[data-activity-theme="artisan"] .shell input,html[data-activity-theme="artisan"] .shell select,html[data-activity-theme="artisan"] .shell textarea,html[data-activity-theme="artisan"] dialog input,html[data-activity-theme="artisan"] dialog select,html[data-activity-theme="artisan"] dialog textarea{background:#ffffff;color:#294b6b;border-color:#88a9c8;accent-color:#2867a1}
 html[data-activity-theme="artisan"] .shell input::placeholder,html[data-activity-theme="artisan"] .shell textarea::placeholder,html[data-activity-theme="artisan"] dialog input::placeholder,html[data-activity-theme="artisan"] dialog textarea::placeholder{color:#667d94}
 html[data-activity-theme="artisan"] .shell label,html[data-activity-theme="artisan"] dialog label{color:#496782}
 html[data-activity-theme="artisan"] .setup-list li{background:#f4f8ff;border-color:#cbdff2}
 html[data-activity-theme="artisan"] .setup-panel progress,html[data-activity-theme="artisan"] .setup-panel progress::-webkit-progress-bar{background:#d9e8f9}
 html[data-activity-theme="artisan"] .setup-panel progress::-webkit-progress-value{background:#4b88bc}
 html[data-activity-theme="artisan"] .setup-panel progress::-moz-progress-bar{background:#4b88bc}
 html[data-activity-theme="artisan"] .data-safety li{color:#496782}
 html[data-activity-theme="artisan"] .shell .notice,html[data-activity-theme="artisan"] .shell .message-preview{background:#edf5ff;border-color:#c5dcef;color:#3c5f80}
 html[data-activity-theme="artisan"] .shell .home-time,html[data-activity-theme="artisan"] .shell .home-link,html[data-activity-theme="artisan"] .shell .home-timeline time,html[data-activity-theme="artisan"] .shell .cardfoot button{color:#2b618f}
 html[data-activity-theme="artisan"] .shell .home-row,html[data-activity-theme="artisan"] .shell .home-timeline li{border-color:#d4e1ee}
 html[data-activity-theme="artisan"] .section-subnav,html[data-activity-theme="artisan"] .shell .calendar-views{background:#f4f8ff;border-color:#ccdeef}
 html[data-activity-theme="artisan"] .section-tab,html[data-activity-theme="artisan"] .section-subnav-title{color:#496a89}
 html[data-activity-theme="artisan"] .section-tab.active{background:#dcecff;color:#244d76}
 html[data-activity-theme="artisan"] .section-tab:hover{background:#e7f1ff}
 html[data-activity-theme="artisan"] .shell .calendar-frame,html[data-activity-theme="artisan"] .shell .month-frame,html[data-activity-theme="artisan"] .shell .finance-chart{background:#ffffff;border-color:#c9dceb}
 html[data-activity-theme="artisan"] .shell .calendar-day-header strong{color:#365b7d}
 html[data-activity-theme="artisan"] .shell .calendar-day-header.is-today strong,html[data-activity-theme="artisan"] .shell .month-today .month-day-number{background:#cfe4fc;color:#244d76}
 html[data-activity-theme="artisan"] .shell .calendar-event,html[data-activity-theme="artisan"] .shell .month-event{background:#dcecff;color:#294f73;border-left-color:#6b9bc7}
 html[data-activity-theme="artisan"] .shell .calendar-slot:hover{background:#e5f1ff}
 html[data-activity-theme="artisan"] .shell .calendar-slot.is-closed{background:repeating-linear-gradient(135deg,#f5f9ff,#f5f9ff 5px,#e8f0f9 5px,#e8f0f9 6px)}
 html[data-activity-theme="artisan"] .shell .calendar-legend span,html[data-activity-theme="artisan"] .shell .empty{color:#526e87}
 html[data-activity-theme="artisan"] .shell .finance-table th{background:#eaf3ff;color:#325c82}
 html[data-activity-theme="artisan"] .shell .finance-table td,html[data-activity-theme="artisan"] .shell .finance-table th{border-color:#ccdeef}
 html[data-activity-theme="artisan"] .shell .hours-row,html[data-activity-theme="artisan"] .shell .appointment-services{background:#f2f7ff;border-color:#c9dceb}
 html[data-activity-theme="artisan"] .shell .hours-row legend,html[data-activity-theme="artisan"] .shell .appointment-service-total{color:#3b658b!important}
 html[data-activity-theme="artisan"] .shell .stock-product>strong,html[data-activity-theme="artisan"] .shell .stock-reorder,html[data-activity-theme="artisan"] .shell .followup-procedure summary,html[data-activity-theme="artisan"] .shell .home-panel details summary{color:#376791}
 html[data-activity-theme="artisan"] dialog{background:#ffffff;color:#294b6b;border-color:#c0d5e9;box-shadow:0 24px 90px #0008}
 html[data-activity-theme="artisan"] dialog h2,html[data-activity-theme="artisan"] dialog h3{color:#294b6b}
 html[data-activity-theme="artisan"] dialog p{color:#506b84}
 html[data-activity-theme="artisan"] dialog fieldset,html[data-activity-theme="artisan"] .invoice-line{background:#f2f7ff;border-color:#bfd6eb}
 html[data-activity-theme="artisan"] .invoice-totals{background:#e8f2ff;color:#2d567d;border-color:#bfd6eb}
 html[data-activity-theme="artisan"] .invoice-preview-dialog>.actions{background:#ffffff}
 html[data-activity-theme="artisan"] .invoice-preview{background:white;color:#27313b;color-scheme:light}
 html[data-activity-theme="artisan"] .invoice-preview p{color:#59616d}
 html[data-activity-theme="artisan"] .invoice-preview h1,html[data-activity-theme="artisan"] .invoice-preview h2{color:#303844}
 html[data-activity-theme="artisan"] .mobile-dock,html[data-activity-theme="artisan"] .mobile-menu{background:#edf5ff;border-color:#c6dced}
 html[data-activity-theme="artisan"] .mobile-dock button,html[data-activity-theme="artisan"] .mobile-menu-head h2{color:#3a6084}
 html[data-activity-theme="artisan"] .mobile-dock button.active{background:#cfe4fc;color:#244d76}
 html[data-activity-theme="artisan"] .mobile-menu-grid button,html[data-activity-theme="artisan"] .mobile-menu-grid button:nth-child(n){background:#eef5ff;color:#315d83;border-color:#b9d0e5}
 html[data-activity-theme="artisan"] #toast{background:#e7f2ff;color:#294b6b;border-color:#bbd4ed}
 html[data-activity-theme="artisan"] :focus-visible{outline-color:#3375af!important}
}

@media screen{
 html[data-activity-theme="artisan"] .shell .primary,html[data-activity-theme="artisan"] dialog .primary,html[data-activity-theme="artisan"] .shell .primary:hover,html[data-activity-theme="artisan"] dialog .primary:hover{color:white}
 html[data-activity-theme="artisan"] .shell .home-stats .stat:nth-child(2){background:#f0f7ff}
 html[data-activity-theme="artisan"] .shell .home-stats .stat:nth-child(3){background:#eaf6fc}
 html[data-activity-theme="artisan"] .shell .home-stats .stat:nth-child(4){background:#f2f6ff}
}
@media screen and (min-width:701px){.shell aside{position:sticky;top:0;height:100dvh;align-self:start;overflow-y:auto}.shell aside footer{padding-top:22px}}

/* Éditions (edition.js) : nom d'édition dans la barre latérale et univers « Atelier Beauté ». */
.shell aside .brand .edition-name{display:table;margin:8px 0 0 37px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.3px;vertical-align:middle;background:#e4eefa;color:#234b73}
.edition-note{font-size:12px}
@media screen {
 html[data-edition="beaute"]{--studio-ink:#542C46;--studio-text:#6e5265;--studio-accent:#9B4E73;--studio-accent-hover:#7f3c5d;--studio-border:#EED5DF;--studio-paper:#ffffff}
 html[data-edition="beaute"] body:has(.shell){background:radial-gradient(ellipse at 90% 0%,#f6e6ee 0,transparent 42%),#FCF8F5;color:#542C46}
 html[data-edition="beaute"] .shell aside{background:linear-gradient(175deg,#FCF8F5 0%,#f6e3ec 100%);border-right-color:#EED5DF}
 html[data-edition="beaute"] .shell aside .brand,html[data-edition="beaute"] .mobile-top{color:#542C46}
 html[data-edition="beaute"] .shell aside .brand .edition-name{background:#EED5DF;color:#542C46}
 html[data-edition="beaute"] .shell aside nav button{color:#6e5265}
 html[data-edition="beaute"] .shell aside nav button:hover{background:#f3e1e9;color:#542C46}
 html[data-edition="beaute"] .shell aside nav button.active,html[data-edition="beaute"] .shell aside nav button.active:hover,html[data-edition="beaute"] .shell aside .nav-section-button.active{background:#9B4E73;color:#fff;box-shadow:0 5px 15px #9B4E7326}
 html[data-edition="beaute"] .shell .primary,html[data-edition="beaute"] dialog .primary{background:#9B4E73;border-color:#9B4E73;color:#fff}
 html[data-edition="beaute"] .shell .primary:hover,html[data-edition="beaute"] dialog .primary:hover{background:#7f3c5d}
 html[data-edition="beaute"] .shell .home-panel,html[data-edition="beaute"] .shell .stat{border-color:#EED5DF}
 html[data-edition="beaute"] .section-tab.active{background:#9B4E73;color:#fff}
 html[data-edition="beaute"] .mobile-dock button.active{color:#9B4E73}
 html[data-edition="beaute"] .shell .next-appointment{background:#FCF8F5;border:1px solid #EED5DF;border-radius:12px;padding:12px 14px;margin:10px 0}
}
