/* Geros Turnero · Dashboard Agenda v2 · hoja independiente para evitar caché antigua */
#view-home.agenda-dashboard-v2:not(.hidden){display:block!important;background:#f6f9fc!important;}
#view-home.agenda-dashboard-v2.hidden{display:none!important;}
#view-home.agenda-dashboard-v2 button,#view-home.agenda-dashboard-v2 select{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;}
#view-home.agenda-dashboard-v2 button{appearance:none;-webkit-appearance:none;}
/* =========================================================
   GEROS TURNERO · PERSONALIZACIÓN Y PÁGINA PÚBLICA V11
   ========================================================= */
.page-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.personalizer-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:18px;align-items:start}
.personalizer-controls{display:grid;gap:16px}.personalizer-section{padding:18px}.personalizer-section h3{margin:3px 0 0}.personalizer-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.compact-action{padding:8px 10px}
.theme-preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.theme-preset{border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px;text-align:left;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;color:var(--text)}.theme-preset:hover,.theme-preset.active{border-color:#79d8d1;background:#f4fffe;box-shadow:0 7px 20px rgba(13,184,174,.08)}.theme-preset b{font-size:12px}.theme-preset small{grid-column:2;color:var(--muted);font-size:10px}.theme-swatch{grid-row:1/3;width:34px;height:34px;border-radius:10px;border:1px solid rgba(0,0,0,.08)}.theme-swatch.geros{background:linear-gradient(135deg,#102D40 50%,#0DB8AE 50%)}.theme-swatch.minimal{background:linear-gradient(135deg,#fff 50%,#4b5563 50%)}.theme-swatch.elegant{background:linear-gradient(135deg,#171A1F 50%,#B99B6B 50%)}.theme-swatch.natural{background:linear-gradient(135deg,#294D3B 50%,#F4F5EE 50%)}.theme-swatch.romantic{background:linear-gradient(135deg,#D9A6B5 50%,#FFF7F4 50%)}.theme-swatch.modern{background:linear-gradient(135deg,#132238 50%,#5E5CE6 50%)}.theme-swatch.dark{background:linear-gradient(135deg,#09131B 50%,#29D3C5 50%)}
.color-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.color-field{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;gap:5px 8px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:10px;background:#fbfdff}.color-field>span{grid-column:1/3;font-size:11px;font-weight:800;color:var(--muted)}.color-field input[type=color]{width:38px;height:34px;padding:2px;border:1px solid var(--line);border-radius:9px;background:#fff}.hex-input{width:100%;height:34px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:11px;font-weight:800;color:var(--text);text-transform:uppercase}.contrast-warning{margin-top:12px;border:1px solid #f3c567;background:#fff8e6;color:#815f16;border-radius:12px;padding:11px 12px;font-size:12px;line-height:1.45}.contrast-warning.critical{border-color:#f2a6b6;background:#fff1f4;color:#a92d4c}.upload-control{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.upload-control input[type=file]{flex:1;min-width:210px}.personalizer-savebar{position:sticky;bottom:12px;z-index:5;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:16px;padding:10px;display:flex;justify-content:flex-end;gap:9px;box-shadow:0 10px 30px rgba(13,39,64,.12)}
.personalizer-preview-card{position:sticky;top:92px;background:#eef4f7;border:1px solid #dce7ed;border-radius:20px;padding:12px;display:grid;gap:12px}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 4px 0}.preview-toolbar strong{display:block;font-size:13px}.preview-device-switch{display:flex;gap:3px;background:#dde7ec;padding:3px;border-radius:10px}.preview-device-switch button{border:0;background:transparent;color:#607588;border-radius:8px;padding:6px 9px;font-size:10px;font-weight:800}.preview-device-switch button.active{background:#fff;color:#16344a;box-shadow:0 2px 7px rgba(17,47,67,.08)}.preview-stage{min-height:530px;border-radius:15px;background:#dce7ec;padding:14px;overflow:auto}.booking-preview-frame{width:100%;max-width:720px;margin:auto;transition:max-width .2s ease}.booking-preview-frame[data-preview-device=mobile]{max-width:340px}.preview-public-shell{--pv-primary:#102D40;--pv-secondary:#0DB8AE;--pv-bg:#F4F7FA;--pv-card:#fff;--pv-text:#334155;--pv-muted:#64748B;--pv-button:#0DB8AE;--pv-button-text:#fff;--pv-border:#DCE6EF;--pv-selection:#0DB8AE;--pv-shadow:0 12px 30px rgba(15,35,50,.1);--pv-radius:22px;--pv-button-radius:12px;--pv-font:Inter,sans-serif;background:var(--pv-bg);color:var(--pv-text);font-family:var(--pv-font);border-radius:18px;overflow:hidden;box-shadow:0 12px 28px rgba(26,54,72,.13);border:1px solid var(--pv-border)}.preview-public-header{padding:24px;background:var(--pv-card);background-size:cover;background-position:center;min-height:190px;display:flex;flex-direction:column;justify-content:space-between;gap:25px}.preview-public-shell[data-header-style=gradient] .preview-public-header{background:linear-gradient(135deg,var(--pv-primary),color-mix(in srgb,var(--pv-primary) 78%,var(--pv-secondary)))}.preview-public-shell[data-header-style=gradient] .preview-public-header,.preview-public-shell[data-header-style=image] .preview-public-header{color:#fff}.preview-public-shell[data-header-align=center] .preview-public-header{text-align:center;align-items:center}.preview-brand-row{display:flex;align-items:center;gap:9px}.preview-brand-row.name-hidden>div:last-child{display:none}.preview-brand-row small{display:block;color:inherit;opacity:.72;font-size:9px}.preview-logo{width:36px;height:36px;border-radius:10px;background:var(--pv-secondary);color:#fff;display:grid;place-items:center;font-weight:900;overflow:hidden}.preview-logo img{width:100%;height:100%;object-fit:contain;background:#fff}.preview-kicker{font-size:9px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;opacity:.76}.preview-hero-copy h3{margin:4px 0 4px;font-size:25px}.preview-hero-copy p{margin:0;opacity:.78;font-size:10px}.preview-progress{display:flex;align-items:center;padding:12px 20px;background:var(--pv-card);border-bottom:1px solid var(--pv-border)}.preview-progress span{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--pv-border) 70%,var(--pv-card));font-size:9px;font-weight:900}.preview-progress span.done{background:var(--pv-selection);color:#fff}.preview-progress i{flex:1;height:2px;background:var(--pv-border)}.preview-body{padding:18px;background:var(--pv-bg);display:grid;gap:9px}.preview-service{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--pv-card);border:1px solid var(--pv-border);border-radius:var(--pv-radius);padding:12px;box-shadow:var(--pv-shadow)}.preview-service.selected{border-color:var(--pv-selection);box-shadow:0 0 0 2px color-mix(in srgb,var(--pv-selection) 15%,transparent)}.preview-service b{display:block;font-size:11px}.preview-service small{display:block;color:var(--pv-muted);margin-top:3px;font-size:8px}.preview-service strong{font-size:10px}.preview-times{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}.preview-times button{border:1px solid var(--pv-border);background:var(--pv-card);color:var(--pv-text);border-radius:9px;padding:7px 9px;font-size:9px}.preview-times button.selected{background:var(--pv-selection);color:#fff;border-color:var(--pv-selection)}.preview-main-button{border:0;background:var(--pv-button);color:var(--pv-button-text);border-radius:var(--pv-button-radius);padding:10px;font-weight:800;margin-top:4px}.preview-public-shell[data-card-style=compact] .preview-service{padding:8px;border-radius:10px}.preview-public-shell[data-card-style=rounded] .preview-service{border-radius:24px}.preview-public-shell[data-density=compact] .preview-body{padding:12px;gap:6px}.preview-actions{display:flex;justify-content:flex-end}.embedded-qr-card{box-shadow:none;padding:14px;background:#fff}.preview-lightbox{position:fixed;inset:0;background:rgba(8,24,34,.78);z-index:1000;padding:34px;display:grid;place-items:center}.preview-lightbox-window{width:min(900px,96vw);max-height:90vh;overflow:auto;background:#dde7ec;border-radius:20px;padding:22px}.preview-lightbox-window .preview-public-shell{max-width:820px;margin:auto}.preview-lightbox-close{position:fixed;top:20px;right:24px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#16344a;font-size:25px;box-shadow:0 8px 30px rgba(0,0,0,.18)}

/* Página pública personalizable */
.public-page{--pub-primary:#102D40;--pub-secondary:#0DB8AE;--pub-bg:#F4F7FA;--pub-card:#FFFFFF;--pub-text:#334155;--pub-muted:#64748B;--pub-button:#0DB8AE;--pub-button-text:#FFFFFF;--pub-border:#DCE6EF;--pub-selection:#0DB8AE;--pub-shadow:0 12px 35px rgba(13,39,64,.08);--pub-radius:22px;--pub-button-radius:12px;--pub-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--pub-bg);color:var(--pub-text);font-family:var(--pub-font)}
.public-page .public-shell{min-height:100vh;background:var(--pub-bg);padding:28px 18px 18px;color:var(--pub-text)}.public-page .public-wrap{max-width:1060px;margin:auto}.public-page .public-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:0 4px}.public-page .public-brand{display:flex;align-items:center;gap:11px}.public-logo-box{width:46px;height:46px;border:1px solid var(--pub-border);background:var(--pub-card);border-radius:14px;overflow:hidden;display:grid;place-items:center;box-shadow:var(--pub-shadow)}.public-logo-box img{width:100%;height:100%;object-fit:contain}.public-brand-copy strong{display:block;font-size:15px}.public-brand-copy span{display:block;color:var(--pub-muted);font-size:11px;margin-top:2px}.public-secure-badge{font-size:10px;font-weight:800;color:var(--pub-muted);border:1px solid var(--pub-border);background:var(--pub-card);padding:7px 10px;border-radius:999px}.public-page .public-card{background:var(--pub-card);border:1px solid var(--pub-border);border-radius:var(--pub-radius);box-shadow:var(--pub-shadow);overflow:hidden}.public-page .public-hero{padding:38px 40px;background:var(--pub-card);color:var(--pub-text);position:relative;overflow:hidden;background-size:cover;background-position:center}.public-page .public-hero-inner{max-width:720px;position:relative;z-index:1}.public-page .public-kicker,.booking-step-label{display:inline-block;color:var(--pub-secondary);font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:900}.public-page .public-hero h1{margin:7px 0 8px;font-size:38px;line-height:1.08;letter-spacing:-.035em}.public-page .public-hero p{margin:0;color:var(--pub-muted);font-size:14px;line-height:1.6}.public-page .public-social{margin-top:12px;color:inherit;opacity:.8;font-size:11px}.public-page[data-header-style=gradient] .public-hero{background:linear-gradient(135deg,var(--pub-primary),color-mix(in srgb,var(--pub-primary) 78%,var(--pub-secondary)));color:#fff}.public-page[data-header-style=gradient] .public-hero p,.public-page[data-header-style=image] .public-hero p{color:rgba(255,255,255,.78)}.public-page[data-header-style=gradient] .public-kicker,.public-page[data-header-style=image] .public-kicker{color:rgba(255,255,255,.78)}.public-page[data-header-style=image] .public-hero{color:#fff}.public-page[data-header-align=center] .public-hero-inner{margin:auto;text-align:center}.public-page .steps{display:grid;grid-template-columns:repeat(6,1fr);gap:0;padding:0 24px;background:var(--pub-card);border-bottom:1px solid var(--pub-border)}.public-page .step{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:var(--pub-muted);padding:15px 7px;position:relative}.public-page .step:not(:last-child):after{content:"";position:absolute;right:-1px;top:50%;width:2px;height:2px;border-radius:50%;background:var(--pub-border)}.public-page .num{width:26px;height:26px;border-radius:50%;background:color-mix(in srgb,var(--pub-border) 62%,var(--pub-card));color:var(--pub-muted);display:grid;place-items:center;font-weight:900}.public-page .step.active{color:var(--pub-text);font-weight:900}.public-page .step.active .num,.public-page .step.completed .num{background:var(--pub-selection);color:#fff}.public-page .step.completed{color:var(--pub-muted)}.public-page .booking{padding:30px 34px 32px;background:var(--pub-bg)}.booking-section-head{margin-bottom:18px}.booking-section-head h2{font-size:25px;margin:5px 0 5px;letter-spacing:-.025em}.booking-section-head p{margin:0;color:var(--pub-muted);font-size:12px;line-height:1.5}.public-page .service-list,.public-page .public-professional-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-page .service,.public-page .public-professional{position:relative;border:1px solid var(--pub-border);border-radius:var(--pub-radius);padding:16px;background:var(--pub-card);color:var(--pub-text);box-shadow:var(--pub-shadow);transition:border-color .15s,transform .15s,box-shadow .15s;cursor:pointer}.public-page .service:hover,.public-page .public-professional:hover{transform:translateY(-1px)}.public-page .service.selected,.public-page .public-professional.selected{border-color:var(--pub-selection);box-shadow:0 0 0 2px color-mix(in srgb,var(--pub-selection) 14%,transparent),var(--pub-shadow)}.public-page .service.selected:after,.public-page .public-professional.selected:after{content:"✓";position:absolute;right:12px;top:12px;width:23px;height:23px;border-radius:50%;background:var(--pub-selection);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}.public-page .service h3,.public-page .public-professional h3{font-size:15px;margin:0 0 5px;padding-right:26px}.public-page .service p,.public-page .public-professional p{font-size:11px;color:var(--pub-muted);margin:0 0 9px;line-height:1.45}.public-page .meta,.public-page .professional-meta{font-size:10px;color:var(--pub-muted)}.public-page .price{font-weight:900;white-space:nowrap;color:var(--pub-primary)}.professional-card-inner{display:flex;align-items:center;gap:11px}.professional-avatar{width:44px;height:44px;border-radius:14px;background:color-mix(in srgb,var(--pub-secondary) 14%,var(--pub-card));color:var(--pub-primary);display:grid;place-items:center;overflow:hidden;font-weight:900;flex:0 0 44px}.professional-avatar img{width:100%;height:100%;object-fit:cover}.public-page .professional-meta span{font-size:9px;font-weight:800;background:color-mix(in srgb,var(--pub-border) 45%,var(--pub-card));border-radius:999px;padding:5px 8px}.public-page .calendar-public{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.public-page .month-box{border:1px solid var(--pub-border);background:var(--pub-card);border-radius:var(--pub-radius);padding:15px;box-shadow:var(--pub-shadow)}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.icon-only{width:36px;height:36px;padding:0;display:grid;place-items:center}.public-page .days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.public-page .day{border:0;background:transparent;min-height:38px;border-radius:10px;color:var(--pub-muted)}.public-page .day.header{font-size:9px;font-weight:900;min-height:25px;display:grid;place-items:center}.public-page button.day.available{background:color-mix(in srgb,var(--pub-secondary) 8%,var(--pub-card));color:var(--pub-text);font-weight:800}.public-page button.day.available:hover{box-shadow:inset 0 0 0 1px var(--pub-selection)}.public-page button.day.selected{background:var(--pub-selection);color:#fff;box-shadow:none}.public-page button.day:disabled{opacity:.36;cursor:not-allowed}.public-page .times{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.public-page .time-btn{border:1px solid var(--pub-border);background:var(--pub-card);color:var(--pub-text);border-radius:10px;padding:9px 11px;font-weight:800;font-size:11px}.public-page .time-btn:hover,.public-page .time-btn.selected{border-color:var(--pub-selection)}.public-page .time-btn.selected{background:var(--pub-selection);color:#fff}.public-page .notice{color:var(--pub-muted);font-size:11px;line-height:1.5}.public-page .field label{color:var(--pub-text);font-size:11px;font-weight:800}.public-page .field input,.public-page .field textarea,.public-page .field select{border-color:var(--pub-border);background:var(--pub-card);color:var(--pub-text)}.public-page .field input:focus,.public-page .field textarea:focus,.public-page .field select:focus{outline:2px solid color-mix(in srgb,var(--pub-selection) 25%,transparent);border-color:var(--pub-selection)}.public-page .customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.public-page .actions{display:flex;justify-content:space-between;gap:10px;margin-top:22px}.public-page .primary,.public-page .secondary,.public-page .whatsapp{border-radius:var(--pub-button-radius);min-height:42px}.public-page .primary{background:var(--pub-button);color:var(--pub-button-text);box-shadow:none;border:1px solid transparent}.public-page .secondary{background:var(--pub-card);color:var(--pub-text);border-color:var(--pub-border)}.public-page .primary:focus-visible,.public-page .secondary:focus-visible,.public-page .whatsapp:focus-visible,.public-page .time-btn:focus-visible,.public-page .day:focus-visible,.public-page .service:focus-visible,.public-page .public-professional:focus-visible{outline:3px solid color-mix(in srgb,var(--pub-selection) 35%,transparent);outline-offset:2px}.public-page .payment-public{max-width:690px;margin:0 auto}.public-page .payment-method{border:1px solid var(--pub-border);border-radius:var(--pub-radius);padding:16px;margin-bottom:10px;background:var(--pub-card);box-shadow:var(--pub-shadow)}.payment-method-title{display:flex;align-items:center;gap:11px}.payment-method-title small{display:block;color:var(--pub-muted);margin-top:3px}.payment-icon{width:36px;height:36px;border-radius:11px;background:color-mix(in srgb,var(--pub-selection) 14%,var(--pub-card));color:var(--pub-selection);display:grid;place-items:center;font-weight:900}.public-page .payment-details{margin-top:14px;padding:14px;background:color-mix(in srgb,var(--pub-bg) 70%,var(--pub-card));border-radius:14px;border:1px solid var(--pub-border)}.public-page .copy-value{background:var(--pub-card);border-color:var(--pub-border);color:var(--pub-text)}.public-page .confirm{text-align:center;padding:18px 10px 8px}.public-page .check{width:70px;height:70px;border-radius:50%;margin:0 auto 14px;background:color-mix(in srgb,#16a363 14%,var(--pub-card));color:#16a363;display:grid;place-items:center;font-size:34px;font-weight:900}.public-page .summary{max-width:590px;margin:20px auto;border:1px solid var(--pub-border);border-radius:var(--pub-radius);text-align:left;background:var(--pub-card);overflow:hidden}.public-page .sum-row{display:flex;justify-content:space-between;gap:20px;padding:12px 14px;border-bottom:1px solid var(--pub-border)}.public-page .sum-row:last-child{border:0}.public-page .sum-row span{color:var(--pub-muted)}.summary-status{color:var(--pub-selection)}.public-page .confirmation-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.public-footer{text-align:center;color:var(--pub-muted);font-size:10px;padding:14px}.public-page .public-policy{margin:18px 0 0;padding:12px 14px;border:1px solid var(--pub-border);border-radius:12px;background:var(--pub-card)}.public-page .review-card{border-color:var(--pub-border);background:var(--pub-card);color:var(--pub-text)}
.public-page[data-card-style=compact] .service,.public-page[data-card-style=compact] .public-professional,.public-page[data-card-style=compact] .month-box{padding:11px;border-radius:11px}.public-page[data-card-style=rounded] .service,.public-page[data-card-style=rounded] .public-professional{border-radius:28px}.public-page[data-density=compact] .booking{padding:22px 26px}.public-page[data-density=compact] .service-list,.public-page[data-density=compact] .public-professional-list{gap:8px}.public-page[data-density=compact] .service,.public-page[data-density=compact] .public-professional{padding:11px}
@media(max-width:1100px){.personalizer-layout{grid-template-columns:1fr}.personalizer-preview-card{position:static}.preview-stage{min-height:auto}}
@media(max-width:760px){.theme-preset-grid,.color-editor-grid{grid-template-columns:1fr}.public-page .public-shell{padding:12px 10px}.public-page .public-top{margin-bottom:10px}.public-secure-badge{display:none}.public-page .public-card{border-radius:18px}.public-page .public-hero{padding:27px 22px}.public-page .public-hero h1{font-size:29px}.public-page .steps{padding:0 8px;overflow-x:auto}.public-page .step{min-width:54px;padding:12px 4px}.public-page .step span{display:none}.public-page .booking{padding:22px 16px 24px}.public-page .service-list,.public-page .public-professional-list,.public-page .calendar-public,.public-page .customer-grid{grid-template-columns:1fr}.public-page .actions{position:sticky;bottom:8px;background:color-mix(in srgb,var(--pub-bg) 88%,transparent);backdrop-filter:blur(8px);padding:8px 0;z-index:3}.public-page .actions .primary{min-width:130px}.public-page .confirmation-actions{display:grid}.public-page .confirmation-actions button{width:100%}.booking-section-head h2{font-size:22px}.public-page .sum-row{font-size:12px}.personalizer-savebar{bottom:6px}.preview-lightbox{padding:14px}.preview-lightbox-window{padding:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.public-page button.service,.public-page button.public-professional{width:100%;text-align:left;font:inherit}.public-page .empty-state{grid-column:1/-1;border:1px dashed var(--pub-border);background:var(--pub-card);color:var(--pub-text);border-radius:var(--pub-radius);padding:22px;text-align:center}.public-page .empty-state b{display:block;margin-bottom:5px}.public-page .empty-state span{display:block;color:var(--pub-muted);font-size:11px}

/* === v12: plantillas de distribución + logo configurable === */
.layout-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.layout-preset{border:1px solid var(--line);background:#fff;border-radius:15px;padding:10px;text-align:left;color:var(--text);transition:.16s ease;cursor:pointer}.layout-preset:hover{border-color:#9fded8;transform:translateY(-1px)}.layout-preset.active{border-color:#68cfc5;background:#f0fbfa;box-shadow:0 0 0 2px rgba(13,184,174,.09)}.layout-preset strong,.layout-preset small{display:block}.layout-preset strong{font-size:11px;margin-top:8px}.layout-preset small{font-size:9px;color:var(--muted);margin-top:2px}.layout-help{margin-top:10px}.layout-mini{height:62px;border:1px solid #dce6ef;border-radius:10px;background:#f7fafc;display:grid;gap:4px;padding:6px;overflow:hidden}.layout-mini i,.layout-mini b,.layout-mini em{display:block;border-radius:4px;background:#c9d7df}.layout-mini i{background:#a9deda}.layout-mini b{background:#fff;border:1px solid #dce6ef}.layout-mini em{background:#e7eef2}.layout-mini-classic{grid-template-rows:18px 1fr 7px}.layout-mini-split{grid-template-columns:34% 1fr;grid-template-rows:1fr 9px}.layout-mini-split i{grid-row:1/3}.layout-mini-split b{grid-column:2}.layout-mini-split em{grid-column:2}.layout-mini-top{grid-template-rows:25px 1fr 8px}.layout-mini-top i{border-radius:8px}.layout-mini-centered{grid-template-rows:18px 1fr 8px;padding-left:18%;padding-right:18%}.layout-mini-cover{grid-template-rows:30px 1fr 6px}.layout-mini-cover i{background:linear-gradient(135deg,#9acbc8,#c4d7df)}.layout-mini-compact{grid-template-columns:1fr 1fr;grid-template-rows:15px 1fr 7px}.layout-mini-compact i{grid-column:1/3}.layout-mini-compact em{grid-column:1/3}

/* Vista previa: tamaño y forma del logo */
.preview-logo{width:var(--pv-logo-size,68px);height:var(--pv-logo-size,68px);flex:0 0 var(--pv-logo-size,68px);transition:width .18s,height .18s,border-radius .18s}.preview-public-shell[data-logo-shape=circle] .preview-logo{border-radius:50%}.preview-public-shell[data-logo-shape=rounded] .preview-logo{border-radius:22%}.preview-public-shell[data-logo-shape=square] .preview-logo{border-radius:5px}.preview-public-shell[data-logo-shape=free] .preview-logo{border-radius:0;background:transparent;box-shadow:none}.preview-public-shell[data-logo-shape=free] .preview-logo img{background:transparent}.preview-public-shell[data-logo-align=center] .preview-brand-row{align-self:center;justify-content:center;text-align:center}.preview-public-shell[data-logo-align=center] .preview-brand-row{flex-direction:column}

/* Vista previa de las seis distribuciones */
.preview-public-shell[data-layout=split]{display:grid;grid-template-columns:36% 64%;grid-template-rows:auto 1fr;min-height:450px}.preview-public-shell[data-layout=split] .preview-public-header{grid-column:1;grid-row:1/3;min-height:450px;justify-content:center;align-items:flex-start;border-right:1px solid var(--pv-border)}.preview-public-shell[data-layout=split] .preview-progress{grid-column:2;grid-row:1}.preview-public-shell[data-layout=split] .preview-body{grid-column:2;grid-row:2;align-content:start}.preview-public-shell[data-layout=split] .preview-brand-row{flex-direction:column;align-items:flex-start}.preview-public-shell[data-layout=split][data-logo-align=center] .preview-public-header{align-items:center;text-align:center}.preview-public-shell[data-layout=split][data-logo-align=center] .preview-brand-row{align-items:center}.preview-public-shell[data-layout=split] .preview-hero-copy h3{font-size:21px}
.preview-public-shell[data-layout=top] .preview-public-header{align-items:center;text-align:center;min-height:245px}.preview-public-shell[data-layout=top] .preview-brand-row{flex-direction:column}.preview-public-shell[data-layout=top] .preview-hero-copy{max-width:500px}.preview-public-shell[data-layout=centered]{max-width:560px;margin:auto}.preview-public-shell[data-layout=centered] .preview-public-header{text-align:center;align-items:center}.preview-public-shell[data-layout=centered] .preview-brand-row{flex-direction:column}.preview-public-shell[data-layout=centered] .preview-body{padding-left:12%;padding-right:12%}.preview-public-shell[data-layout=cover] .preview-public-header{min-height:300px;justify-content:flex-end;background-size:cover;background-position:center;position:relative}.preview-public-shell[data-layout=cover] .preview-brand-row{position:absolute;top:22px;left:22px}.preview-public-shell[data-layout=cover][data-logo-align=center] .preview-brand-row{left:50%;transform:translateX(-50%)}.preview-public-shell[data-layout=compact] .preview-public-header{min-height:130px;padding:16px;gap:10px}.preview-public-shell[data-layout=compact] .preview-hero-copy h3{font-size:20px}.preview-public-shell[data-layout=compact] .preview-progress{padding:8px 14px}.preview-public-shell[data-layout=compact] .preview-body{padding:12px;gap:6px}

/* Página pública: logo configurable */
.public-logo-box{width:var(--pub-logo-size,92px);height:var(--pub-logo-size,92px);flex:0 0 var(--pub-logo-size,92px);transition:width .18s,height .18s,border-radius .18s}.public-page[data-logo-shape=circle] .public-logo-box{border-radius:50%}.public-page[data-logo-shape=rounded] .public-logo-box{border-radius:22%}.public-page[data-logo-shape=square] .public-logo-box{border-radius:7px}.public-page[data-logo-shape=free] .public-logo-box{border:0;border-radius:0;background:transparent;box-shadow:none}.public-page[data-logo-shape=free] .public-logo-box img{background:transparent}.public-page[data-logo-align=center] .public-brand{align-items:center;text-align:center}

/* 1. Clásica Geros: conserva la estructura base */
.public-page[data-layout=classic] .public-wrap{max-width:1060px}

/* 2. Panel lateral: inspirado en una agenda tipo salón */
.public-page[data-layout=split] .public-wrap{max-width:1160px;display:grid;grid-template-columns:minmax(270px,36%) minmax(0,64%);align-items:stretch}.public-page[data-layout=split] .public-top{grid-column:1;grid-row:1;margin:0;padding:42px 32px;min-height:690px;align-items:flex-start;flex-direction:column;justify-content:space-between;background:var(--pub-card);border:1px solid var(--pub-border);border-right:0;border-radius:var(--pub-radius) 0 0 var(--pub-radius);box-shadow:var(--pub-shadow)}.public-page[data-layout=split] .public-brand{flex-direction:column;align-items:flex-start;gap:18px;width:100%}.public-page[data-layout=split][data-logo-align=center] .public-brand{align-items:center;text-align:center}.public-page[data-layout=split] .public-brand-copy strong{font-size:25px;line-height:1.15}.public-page[data-layout=split] .public-brand-copy span{font-size:13px;line-height:1.55;margin-top:10px}.public-page[data-layout=split] .public-secure-badge{margin-top:auto}.public-page[data-layout=split] .public-card{grid-column:2;grid-row:1;border-radius:0 var(--pub-radius) var(--pub-radius) 0;box-shadow:var(--pub-shadow)}.public-page[data-layout=split] .public-hero{display:none}.public-page[data-layout=split] .steps{padding:0 18px}.public-page[data-layout=split] .booking{padding:34px 40px}.public-page[data-layout=split] .service-list,.public-page[data-layout=split] .public-professional-list{grid-template-columns:1fr}.public-page[data-layout=split] .service,.public-page[data-layout=split] .public-professional{min-height:82px;display:flex;flex-direction:column;justify-content:center;padding-right:64px}.public-page[data-layout=split] .service.selected:after,.public-page[data-layout=split] .public-professional.selected:after{right:18px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:8px}.public-page[data-layout=split] .booking-section-head{text-align:center}

/* 3. Encabezado premium */
.public-page[data-layout=top] .public-wrap{max-width:1060px}.public-page[data-layout=top] .public-top{flex-direction:column;justify-content:center;gap:16px;margin-bottom:20px;text-align:center}.public-page[data-layout=top] .public-brand{flex-direction:column;align-items:center}.public-page[data-layout=top] .public-brand-copy strong{font-size:22px}.public-page[data-layout=top] .public-brand-copy span{font-size:12px}.public-page[data-layout=top] .public-hero-inner{margin:auto;text-align:center}.public-page[data-layout=top] .public-hero{padding-top:48px;padding-bottom:48px}

/* 4. Minimal centrada */
.public-page[data-layout=centered] .public-wrap{max-width:780px}.public-page[data-layout=centered] .public-top{justify-content:center;flex-direction:column;gap:12px;text-align:center}.public-page[data-layout=centered] .public-brand{flex-direction:column;align-items:center}.public-page[data-layout=centered] .public-secure-badge{display:none}.public-page[data-layout=centered] .public-hero-inner{margin:auto;text-align:center}.public-page[data-layout=centered] .service-list,.public-page[data-layout=centered] .public-professional-list{grid-template-columns:1fr}.public-page[data-layout=centered] .calendar-public{grid-template-columns:1fr}.public-page[data-layout=centered] .booking{padding-left:48px;padding-right:48px}

/* 5. Portada visual */
.public-page[data-layout=cover] .public-wrap{max-width:1140px}.public-page[data-layout=cover] .public-top{position:relative;z-index:3;margin:0 24px -56px;padding:14px 18px;border:1px solid color-mix(in srgb,var(--pub-border) 75%,transparent);border-radius:18px;background:color-mix(in srgb,var(--pub-card) 88%,transparent);backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(10,28,42,.12)}.public-page[data-layout=cover] .public-hero{min-height:330px;display:flex;align-items:flex-end;padding-top:100px}.public-page[data-layout=cover] .public-hero-inner{max-width:760px}.public-page[data-layout=cover] .public-hero h1{font-size:46px}.public-page[data-layout=cover] .public-card{overflow:hidden}

/* 6. Compacta */
.public-page[data-layout=compact] .public-wrap{max-width:860px}.public-page[data-layout=compact] .public-top{margin-bottom:9px}.public-page[data-layout=compact] .public-brand{gap:8px}.public-page[data-layout=compact] .public-hero{padding:24px 28px}.public-page[data-layout=compact] .public-hero h1{font-size:30px}.public-page[data-layout=compact] .steps{padding:0 12px}.public-page[data-layout=compact] .step{padding:10px 5px}.public-page[data-layout=compact] .booking{padding:22px 24px}.public-page[data-layout=compact] .service,.public-page[data-layout=compact] .public-professional{padding:12px}.public-page[data-layout=compact] .booking-section-head{margin-bottom:12px}

@media(max-width:900px){.layout-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-page[data-layout=split] .public-wrap{display:block}.public-page[data-layout=split] .public-top{min-height:auto;border-right:1px solid var(--pub-border);border-radius:var(--pub-radius);margin-bottom:12px;padding:24px;flex-direction:row;align-items:center}.public-page[data-layout=split] .public-brand{flex-direction:row;align-items:center}.public-page[data-layout=split][data-logo-align=center] .public-brand{flex-direction:column}.public-page[data-layout=split] .public-secure-badge{margin-top:0}.public-page[data-layout=split] .public-card{border-radius:var(--pub-radius)}.public-page[data-layout=split] .public-hero{display:none}}
@media(max-width:760px){.layout-preset-grid{grid-template-columns:1fr 1fr}.public-logo-box{--pub-logo-size:min(var(--pub-logo-size),96px)}.public-page[data-layout=cover] .public-top{margin:0 8px -40px;padding:10px 12px}.public-page[data-layout=cover] .public-hero{min-height:250px;padding-top:80px}.public-page[data-layout=cover] .public-hero h1{font-size:32px}.public-page[data-layout=centered] .booking{padding-left:16px;padding-right:16px}.public-page[data-layout=split] .public-top{padding:18px;flex-direction:column;align-items:flex-start}.public-page[data-layout=split] .public-brand{flex-direction:column;align-items:flex-start}.public-page[data-layout=split][data-logo-align=center] .public-top,.public-page[data-layout=split][data-logo-align=center] .public-brand{align-items:center;text-align:center}.preview-public-shell[data-layout=split]{display:block;min-height:0}.preview-public-shell[data-layout=split] .preview-public-header{min-height:230px;border-right:0}.preview-public-shell[data-layout=split] .preview-progress,.preview-public-shell[data-layout=split] .preview-body{display:flex}.preview-public-shell[data-layout=split] .preview-progress{display:flex}.preview-public-shell[data-layout=split] .preview-body{display:grid}}

/* =========================================================
   Dashboard adaptativo por rubro · v13
   ========================================================= */
.adaptive-dashboard{
  --dash-accent:#0DB8AE;--dash-accent-2:#102D40;--dash-soft:#E9FAF8;--dash-ink:#102D40;--dash-bg:#F4F7FA;--dash-card:#fff;--dash-border:#DFE8EF;
  display:block;max-width:1600px;margin:0 auto
}
body[data-dash-theme="beauty"] .adaptive-dashboard{--dash-accent:#C95D79;--dash-accent-2:#4B2430;--dash-soft:#FFF0F4;--dash-ink:#321E28;--dash-bg:#FBF7F8}
body[data-dash-theme="health"] .adaptive-dashboard{--dash-accent:#3B72F4;--dash-accent-2:#173766;--dash-soft:#EDF4FF;--dash-ink:#10295A;--dash-bg:#F6F9FD}
body[data-dash-theme="wellness"] .adaptive-dashboard{--dash-accent:#D4687F;--dash-accent-2:#72543D;--dash-soft:#FFF2F0;--dash-ink:#4A2E2C;--dash-bg:#FBF8F5}
body[data-dash-theme="auto"] .adaptive-dashboard{--dash-accent:#0877FF;--dash-accent-2:#071E36;--dash-soft:#EAF4FF;--dash-ink:#0B223B;--dash-bg:#F3F7FB}
body[data-dash-theme="sport"] .adaptive-dashboard{--dash-accent:#27A873;--dash-accent-2:#163D35;--dash-soft:#EAF9F2;--dash-ink:#173D35;--dash-bg:#F5FAF8}
body[data-dash-theme="education"] .adaptive-dashboard{--dash-accent:#6C63F6;--dash-accent-2:#29245D;--dash-soft:#F0EFFF;--dash-ink:#282552;--dash-bg:#F7F7FD}
body[data-dash-theme="professional"] .adaptive-dashboard{--dash-accent:#0D8E97;--dash-accent-2:#102D40;--dash-soft:#EAF7F8;--dash-ink:#102D40;--dash-bg:#F4F7FA}
body[data-dash-theme="pets"] .adaptive-dashboard{--dash-accent:#EA7B45;--dash-accent-2:#5B3424;--dash-soft:#FFF2EA;--dash-ink:#4E2D21;--dash-bg:#FCF8F5}
body[data-dash-theme="services"] .adaptive-dashboard{--dash-accent:#0F9C8E;--dash-accent-2:#213948;--dash-soft:#ECF8F6;--dash-ink:#213948;--dash-bg:#F5F8F8}
#view-home.adaptive-dashboard{font-family:Inter,system-ui,sans-serif;color:var(--dash-ink)}
body:has(#view-home:not(.hidden)){background:var(--dash-bg,#F4F7FA)}
body[data-dash-theme] .nav-item[data-view="home"].active{background:color-mix(in srgb,var(--dash-accent,#0DB8AE) 14%,white);color:var(--dash-accent-2,#102D40)}

.dash-hero{min-height:238px;border-radius:22px;padding:30px 34px;position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr) 176px;gap:22px;align-items:center;background:linear-gradient(112deg,color-mix(in srgb,var(--dash-soft) 94%,white),#fff 65%);border:1px solid color-mix(in srgb,var(--dash-accent) 14%,var(--dash-border));box-shadow:0 12px 32px rgba(20,43,66,.07);background-size:cover;background-position:center}
.dash-hero:before,.dash-hero:after{content:"";position:absolute;border-radius:999px;pointer-events:none}
.dash-hero:before{width:360px;height:360px;right:170px;top:-190px;background:color-mix(in srgb,var(--dash-accent) 11%,transparent)}
.dash-hero:after{width:240px;height:240px;right:300px;bottom:-190px;background:color-mix(in srgb,var(--dash-accent-2) 8%,transparent)}
.dash-hero.has-cover{color:#fff;border-color:transparent;background-position:center;background-size:cover}
.dash-hero.has-cover:before,.dash-hero.has-cover:after{display:none}
.dash-hero-copy{position:relative;z-index:2;max-width:720px}.dash-hero-topline{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.dash-brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(17,41,64,.1);overflow:hidden;color:var(--dash-accent);font-weight:900}.dash-brand-mark img{width:100%;height:100%;object-fit:cover}.dash-brand-mark span{font-size:15px}
.dash-category{text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:800;color:var(--dash-accent)}.dash-hero.has-cover .dash-category{color:#fff;opacity:.88}
.dash-hero h1{margin:0;font-size:38px;line-height:1.03;letter-spacing:-.035em;color:var(--dash-ink)}.dash-hero.has-cover h1{color:#fff}
.dash-hero h2{font-size:22px;line-height:1.2;margin:7px 0 4px;color:var(--dash-accent-2);letter-spacing:-.02em}.dash-hero.has-cover h2{color:#fff}
.dash-hero p{margin:0;color:#607286;font-size:15px;line-height:1.55;max-width:610px}.dash-hero.has-cover p{color:rgba(255,255,255,.84)}
.dash-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.dash-hero-actions button{height:44px;padding:0 18px;border-radius:12px;font-weight:800}
.dash-primary{background:var(--dash-accent)!important;border-color:var(--dash-accent)!important}.dash-secondary{background:#fff!important;border-color:color-mix(in srgb,var(--dash-accent) 22%,#dbe6ec)!important;color:var(--dash-accent-2)!important}.dash-hero.has-cover .dash-secondary{background:rgba(255,255,255,.94)!important}
.dash-ghost{border:0;background:transparent;color:var(--dash-accent-2);font-weight:800}.dash-hero.has-cover .dash-ghost{color:#fff;background:rgba(255,255,255,.10)}
.dash-hero-art{position:relative;z-index:2;min-height:160px;display:flex;align-items:center;justify-content:center}.dash-hero-symbol{width:126px;height:126px;border-radius:36px;display:grid;place-items:center;font-size:56px;font-weight:900;color:var(--dash-accent);background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--dash-soft) 88%,#fff));box-shadow:0 18px 38px color-mix(in srgb,var(--dash-accent) 18%,transparent);transform:rotate(-4deg)}
.dash-hero-service-pills{position:absolute;right:0;bottom:6px;display:flex;flex-direction:column;align-items:flex-end;gap:7px}.dash-hero-service-pills span{max-width:200px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid color-mix(in srgb,var(--dash-accent) 17%,#e2eaef);box-shadow:0 5px 15px rgba(12,37,58,.05);font-size:11px;font-weight:800;color:var(--dash-ink)}
.dash-today-card{position:relative;z-index:2;align-self:stretch;border-left:1px solid color-mix(in srgb,var(--dash-accent) 16%,var(--dash-border));padding:20px 0 20px 24px;display:flex;flex-direction:column;justify-content:center}.dash-today-card span{font-size:13px;font-weight:800;color:var(--dash-accent)}.dash-today-card b{font-size:17px;margin:5px 0 14px;text-transform:capitalize}.dash-today-card small{font-size:12px;line-height:1.45;color:#728296;font-style:italic}.dash-hero.has-cover .dash-today-card{border-left-color:rgba(255,255,255,.25)}.dash-hero.has-cover .dash-today-card span,.dash-hero.has-cover .dash-today-card b{color:#fff}.dash-hero.has-cover .dash-today-card small{color:rgba(255,255,255,.74)}

.adaptive-dashboard .setup-checklist{margin-top:14px}
.dash-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0}.dash-kpi{min-height:104px;background:#fff;border:1px solid var(--dash-border);border-radius:17px;padding:16px;display:flex;align-items:center;gap:13px;box-shadow:0 6px 20px rgba(19,43,66,.045)}.dash-kpi>i{width:44px;height:44px;flex:0 0 44px;border-radius:14px;display:grid;place-items:center;background:var(--dash-soft);color:var(--dash-accent);font-style:normal;font-size:20px;font-weight:900}.dash-kpi div{min-width:0;display:flex;flex-direction:column}.dash-kpi span{font-size:12px;font-weight:700;color:#5E7185}.dash-kpi strong{font-size:23px;line-height:1.15;margin:2px 0;color:var(--dash-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-kpi small{font-size:11px;color:#8493A3}.dash-kpi-success>i{background:#EAF9F2;color:#1AA877}.dash-kpi-money>i{background:#EAF7F4;color:#10977E}.dash-kpi-info>i{background:#EDF4FF;color:#3B72F4}.dash-kpi-occupancy>i{background:#FFF3E7;color:#DC8B2A}

.dash-main-grid{display:grid;grid-template-columns:1.15fr .86fr .86fr;gap:14px;align-items:stretch}.dash-lower-grid{display:grid;grid-template-columns:1.25fr .8fr .8fr;gap:14px;margin-top:14px}.dash-panel{background:#fff;border:1px solid var(--dash-border);border-radius:19px;padding:16px;box-shadow:0 8px 24px rgba(18,43,66,.045);min-width:0}.dash-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}.dash-panel-head h3{margin:2px 0 0;font-size:17px;letter-spacing:-.015em;color:var(--dash-ink)}.dash-panel-kicker{font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--dash-accent)}.dash-panel-head button,.dash-panel-actions button{border:0;background:transparent;color:var(--dash-accent);font-size:11px;font-weight:800;padding:4px;cursor:pointer}.dash-panel-actions{display:flex;align-items:center;gap:7px}.dash-count-pill,.dash-inline-badge{font-size:10px;font-weight:800;border-radius:999px;background:var(--dash-soft);color:var(--dash-accent-2);padding:5px 8px}.dash-inline-badge{vertical-align:middle;margin-left:3px}
.dash-today-list,.dash-people-list,.dash-resource-list,.dash-waitlist,.dash-reminder-list{display:flex;flex-direction:column;gap:7px}
.dash-turn-row,.dash-person-row,.dash-resource-row,.dash-wait-row,.dash-activity-item,.dash-reminder-list button{width:100%;border:1px solid #E8EEF2;background:#fff;border-radius:13px;min-height:58px;padding:8px 10px;display:grid;align-items:center;text-align:left;color:var(--dash-ink);cursor:pointer;transition:.15s ease}.dash-turn-row:hover,.dash-person-row:hover,.dash-resource-row:hover,.dash-wait-row:hover,.dash-reminder-list button:hover{border-color:color-mix(in srgb,var(--dash-accent) 30%,#e3ebef);background:color-mix(in srgb,var(--dash-soft) 30%,#fff);transform:translateY(-1px)}
.dash-turn-row{grid-template-columns:50px 34px minmax(0,1fr) auto 18px;gap:9px}.dash-turn-row time{font-size:12px;font-weight:800;color:#536A7E}.dash-avatar,.dash-photo{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--dash-soft);color:var(--dash-accent-2);font-weight:800;font-size:11px;overflow:hidden}.dash-photo img{width:100%;height:100%;object-fit:cover}.dash-turn-main,.dash-person-row>span:nth-child(2),.dash-resource-row>span:nth-child(2),.dash-reminder-list button>span{min-width:0;display:flex;flex-direction:column}.dash-turn-main b,.dash-person-row b,.dash-resource-row b,.dash-wait-row b,.dash-reminder-list b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-turn-main small,.dash-person-row small,.dash-resource-row small,.dash-wait-row small,.dash-reminder-list small{font-size:10.5px;color:#7B8999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-status{font-size:9.5px;font-weight:800;border-radius:999px;padding:5px 8px;white-space:nowrap}.dash-status.ok,.dash-status.done{background:#DDF7EC;color:#168A65}.dash-status.progress{background:#E6F1FF;color:#2268C7}.dash-status.pending{background:#FFF0DA;color:#B56B13}.dash-status.danger{background:#FFE7EA;color:#C13C4E}.dash-more{color:#93A2B0;font-size:18px}
.dash-person-row{grid-template-columns:38px minmax(0,1fr) auto 14px;gap:9px}.dash-person-row em,.dash-resource-row em{font-size:9.5px;font-style:normal;font-weight:800;color:#5D7284;background:#F0F4F7;border-radius:999px;padding:5px 8px;white-space:nowrap}.dash-person-row i,.dash-resource-row i,.dash-wait-row i{font-style:normal;color:#8B9AA8}.dash-panel-footer{width:100%;border:0;border-radius:11px;background:var(--dash-soft);color:var(--dash-accent-2);font-weight:800;font-size:11px;padding:9px;margin-top:9px;cursor:pointer}
.dash-resource-row{grid-template-columns:34px minmax(0,1fr) auto 14px;gap:9px}.dash-resource-icon{width:32px;height:32px;border-radius:10px;background:var(--dash-soft);display:grid;place-items:center;color:var(--dash-accent);font-size:15px;font-weight:900}.dash-resource-row em.busy{background:#E4F7EF;color:#188961}.dash-resource-row em.free{background:#EAF1FF;color:#2E68BD}

.dash-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dash-service-card{border:1px solid #E7EDF1;background:#fff;border-radius:14px;padding:12px;min-height:116px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer;position:relative;overflow:hidden}.dash-service-card:hover{border-color:color-mix(in srgb,var(--dash-accent) 35%,#dde7ec);box-shadow:0 7px 18px rgba(16,45,64,.06)}.dash-service-icon{width:34px;height:34px;border-radius:11px;background:var(--dash-soft);color:var(--dash-accent);display:grid;place-items:center;font-weight:900;margin-bottom:9px}.dash-service-card b{font-size:12px;line-height:1.25;color:var(--dash-ink)}.dash-service-card small{font-size:10px;color:#77899A;margin-top:3px}.dash-service-card em{font-size:9px;font-style:normal;font-weight:800;color:var(--dash-accent);margin-top:auto;padding-top:8px}
.dash-wait-row{grid-template-columns:24px minmax(0,1fr) auto 12px;gap:8px}.dash-wait-row>span{width:23px;height:23px;border-radius:50%;background:var(--dash-soft);color:var(--dash-accent);display:grid;place-items:center;font-weight:900;font-size:10px}.dash-wait-row em{font-size:9px;font-style:normal;color:#8695A4;white-space:nowrap}.dash-reminder-list button{grid-template-columns:32px minmax(0,1fr) 12px;gap:8px}.dash-reminder-list button>i{width:30px;height:30px;border-radius:10px;background:var(--dash-soft);color:var(--dash-accent);display:grid;place-items:center;font-style:normal;font-weight:900}.dash-reminder-list button>em{font-style:normal;color:#8292A2}

.dash-activity-bar{margin-top:14px;background:#fff;border:1px solid var(--dash-border);border-radius:18px;padding:11px 14px;display:grid;grid-template-columns:185px minmax(0,1fr);gap:12px;align-items:center;box-shadow:0 7px 20px rgba(18,43,66,.04)}.dash-activity-title{display:flex;gap:9px;align-items:center}.dash-activity-title>span{width:34px;height:34px;border-radius:11px;background:var(--dash-soft);display:grid;place-items:center;color:var(--dash-accent)}.dash-activity-title div{display:flex;flex-direction:column}.dash-activity-title b{font-size:12px}.dash-activity-title small{font-size:9.5px;color:#8492A0}.dash-activity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.dash-activity-item{min-height:48px;grid-template-columns:8px minmax(0,1fr) auto;gap:7px;padding:7px 9px;border-radius:11px}.dash-activity-dot{width:7px;height:7px;border-radius:50%;background:#E9A13D}.dash-activity-dot.ok,.dash-activity-dot.done{background:#23B37F}.dash-activity-dot.progress{background:#4D8FF5}.dash-activity-dot.danger{background:#E85568}.dash-activity-item span:nth-child(2){display:flex;flex-direction:column;min-width:0}.dash-activity-item b{font-size:10px}.dash-activity-item small{font-size:9px;color:#7E8E9E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-activity-item time{font-size:8.5px;color:#92A0AD;white-space:nowrap}.dash-empty{border:1px dashed #DCE6EC;border-radius:13px;padding:22px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#6C7E8E}.dash-empty b{font-size:12px;color:var(--dash-ink)}.dash-empty span{font-size:10px;margin-top:3px}.dash-empty.compact{padding:14px}

@media(max-width:1350px){.dash-kpis{grid-template-columns:repeat(3,1fr)}.dash-main-grid{grid-template-columns:1.2fr 1fr}.dash-main-grid>.dash-panel:nth-child(3){grid-column:1/-1}.dash-resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dash-lower-grid{grid-template-columns:1fr 1fr}.dash-lower-grid>.dash-panel:last-child{grid-column:1/-1}.dash-reminder-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.dash-hero{grid-template-columns:minmax(0,1.35fr) 280px}.dash-today-card{display:none}.dash-activity{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.dash-hero{grid-template-columns:1fr;padding:25px}.dash-hero-art{display:none}.dash-kpis{grid-template-columns:repeat(2,1fr)}.dash-main-grid,.dash-lower-grid{grid-template-columns:1fr}.dash-main-grid>.dash-panel:nth-child(3),.dash-lower-grid>.dash-panel:last-child{grid-column:auto}.dash-services{grid-template-columns:repeat(2,1fr)}.dash-resource-list{grid-template-columns:1fr}.dash-reminder-list{display:flex}.dash-activity-bar{grid-template-columns:1fr}.dash-activity{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.dash-hero{border-radius:18px;padding:20px 17px;min-height:0}.dash-hero h1{font-size:29px}.dash-hero h2{font-size:18px}.dash-hero p{font-size:13px}.dash-hero-actions{display:grid;grid-template-columns:1fr 1fr}.dash-hero-actions .dash-ghost{grid-column:1/-1}.dash-kpis{grid-template-columns:1fr 1fr;gap:8px}.dash-kpi{min-height:90px;padding:12px}.dash-kpi>i{width:38px;height:38px;flex-basis:38px}.dash-kpi strong{font-size:18px}.dash-kpi small{display:none}.dash-main-grid,.dash-lower-grid{gap:10px}.dash-panel{border-radius:16px;padding:13px}.dash-turn-row{grid-template-columns:44px 30px minmax(0,1fr) 16px}.dash-turn-row .dash-status{display:none}.dash-avatar,.dash-photo{width:30px;height:30px}.dash-services{grid-template-columns:1fr 1fr}.dash-activity{grid-template-columns:1fr}.dash-activity-item:nth-child(n/**/+4){display:none}.dash-panel-actions .dash-count-pill{display:none}}

/* =========================================================
   v13.1 — Rubros específicos (corrige Barbería rosada)
   ========================================================= */
body[data-dash-theme="barber"] .adaptive-dashboard{--dash-accent:#19C7B2;--dash-accent-2:#0A2027;--dash-soft:#E7F8F4;--dash-ink:#13272D;--dash-bg:#F4F7F7;--dash-border:#DEE7E8}
body[data-dash-theme="salon"] .adaptive-dashboard{--dash-accent:#B66A7C;--dash-accent-2:#4A2F37;--dash-soft:#FAEFF2;--dash-ink:#38262B;--dash-bg:#FAF7F8}
body[data-dash-theme="dental"] .adaptive-dashboard{--dash-accent:#4C80F1;--dash-accent-2:#183C72;--dash-soft:#EEF5FF;--dash-ink:#16345E;--dash-bg:#F5F9FF}
body[data-dash-theme="spa"] .adaptive-dashboard{--dash-accent:#CB6A7C;--dash-accent-2:#6D5748;--dash-soft:#FAEFEC;--dash-ink:#4B3532;--dash-bg:#FBF7F4}
body[data-dash-theme="detailing"] .adaptive-dashboard{--dash-accent:#18C8E9;--dash-accent-2:#071E36;--dash-soft:#E9F8FC;--dash-ink:#0A253D;--dash-bg:#F2F7FB}

/* Barbería: dashboard oscuro + acentos turquesa/dorado, como la referencia elegida */
body[data-dash-theme="barber"] .dash-hero{
  background:
    radial-gradient(circle at 72% 20%,rgba(214,169,93,.18),transparent 24%),
    radial-gradient(circle at 88% 72%,rgba(25,199,178,.16),transparent 28%),
    linear-gradient(112deg,#0A151A 0%,#10262C 56%,#173238 100%);
  border-color:#203B41;box-shadow:0 16px 34px rgba(7,25,31,.16)
}
body[data-dash-theme="barber"] .dash-hero:before{background:rgba(214,169,93,.08)}
body[data-dash-theme="barber"] .dash-hero:after{background:rgba(25,199,178,.08)}
body[data-dash-theme="barber"] .dash-hero h1,
body[data-dash-theme="barber"] .dash-hero h2,
body[data-dash-theme="barber"] .dash-today-card b{color:#fff}
body[data-dash-theme="barber"] .dash-hero p,
body[data-dash-theme="barber"] .dash-today-card small{color:#BFD0D3}
body[data-dash-theme="barber"] .dash-category{color:#D6A95D}
body[data-dash-theme="barber"] .dash-brand-mark{background:#F5E7CC;color:#0C252B;box-shadow:none}
body[data-dash-theme="barber"] .dash-hero-symbol{background:linear-gradient(145deg,#17383F,#0C252B);color:#D6A95D;border:1px solid rgba(214,169,93,.24);box-shadow:0 20px 44px rgba(0,0,0,.24)}
body[data-dash-theme="barber"] .dash-hero-service-pills span{background:rgba(245,231,204,.96);border-color:rgba(214,169,93,.28);color:#18282B}
body[data-dash-theme="barber"] .dash-today-card{border-left-color:rgba(214,169,93,.24)}
body[data-dash-theme="barber"] .dash-today-card span{color:#D6A95D}
body[data-dash-theme="barber"] .dash-primary{background:#0F7D78!important;border-color:#0F7D78!important}
body[data-dash-theme="barber"] .dash-secondary{background:#F4E6CB!important;border-color:#E2C58E!important;color:#2A231A!important}
body[data-dash-theme="barber"] .dash-ghost{color:#D8E5E7}

/* Sidebar oscuro solo cuando se está viendo el Inicio de Barbería */

/* Detailing también usa el tratamiento oscuro de la referencia */
body[data-dash-theme="detailing"] .dash-hero{background:linear-gradient(112deg,#071A2B,#0A2944 58%,#0A3B55);border-color:#143D5C;box-shadow:0 16px 34px rgba(4,25,44,.18)}
body[data-dash-theme="detailing"] .dash-hero h1,body[data-dash-theme="detailing"] .dash-hero h2,body[data-dash-theme="detailing"] .dash-today-card b{color:#fff}
body[data-dash-theme="detailing"] .dash-hero p,body[data-dash-theme="detailing"] .dash-today-card small{color:#BED9E8}
body[data-dash-theme="detailing"] .dash-category,body[data-dash-theme="detailing"] .dash-today-card span{color:#32D4F2}
body[data-dash-theme="detailing"] .dash-hero-symbol{background:#0B304A;color:#32D4F2;border:1px solid #18516F;box-shadow:0 18px 40px rgba(0,0,0,.22)}
body[data-dash-theme="detailing"] .dash-today-card{border-left-color:rgba(50,212,242,.26)}

/* Odontología: azul clínico, nunca hereda rosa de Belleza */
body[data-dash-theme="dental"] .dash-hero{background:linear-gradient(112deg,#F5FAFF,#E7F2FF 62%,#DDEEFF);border-color:#D4E4F8}
body[data-dash-theme="dental"] .dash-hero-symbol{background:#fff;color:#4C80F1;box-shadow:0 16px 36px rgba(76,128,241,.15)}

/* El modal de profesionales toma la terminología del rubro */
body[data-dash-theme="barber"] #professionalModal .modal-box{border-top:4px solid #0F7D78}
body[data-dash-theme="dental"] #professionalModal .modal-box{border-top:4px solid #4C80F1}
body[data-dash-theme="spa"] #professionalModal .modal-box{border-top:4px solid #CB6A7C}
body[data-dash-theme="detailing"] #professionalModal .modal-box{border-top:4px solid #18C8E9}

/* v13.2 · El rubro personaliza el dashboard, no el shell administrativo. */
body[data-dash-theme] .sidebar{background:#fff;border-right-color:var(--line);color:var(--text)}
body[data-dash-theme] .brand{border-bottom-color:var(--line)}
body[data-dash-theme] .geros-brand-logo img{filter:none}
body[data-dash-theme] .turnero-pill{background:#dff8f4;color:#078e86}
body[data-dash-theme] .nav-section{color:#71889a}
body[data-dash-theme] .nav-item{color:#294055}
body[data-dash-theme] .nav-item:hover{background:#f0f7f8;color:#183246}
body[data-dash-theme] .nav-item.active{background:#dff6f4;color:#183246}
body[data-dash-theme] .nav-item.active::before{background:var(--teal)}
body[data-dash-theme] .nav-item.active .nav-icon{background:#cff1ed;color:#078e86;box-shadow:none}
body[data-dash-theme] .sidebar-footer{background:#fff;border-top-color:var(--line)}
body[data-dash-theme] .sidebar-email{color:#294055}
body[data-dash-theme] .sidebar-logout{background:#fff;border-color:var(--line);color:#183246}
body[data-dash-theme] .sidebar-toggle{background:var(--teal);box-shadow:0 6px 16px rgba(11,179,166,.25)}


/* =========================================================
   v14 · Reserva pública premium + plantillas completas
   ========================================================= */
.visual-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.visual-preset{border:1px solid #dce8ec;background:#fff;border-radius:16px;padding:11px;text-align:left;cursor:pointer;transition:.16s ease;display:flex;flex-direction:column;gap:4px}.visual-preset:hover,.visual-preset.active{border-color:var(--teal);box-shadow:0 8px 20px rgba(11,179,166,.10);transform:translateY(-1px)}.visual-preset strong{font-size:12px;color:var(--text)}.visual-preset small{font-size:10px;line-height:1.35;color:var(--muted)}.visual-thumb{height:76px;border-radius:12px;margin-bottom:4px;display:grid;grid-template-columns:34% 66%;grid-template-rows:26px 1fr;overflow:hidden;border:1px solid rgba(40,70,90,.1);background:#f6f8fa;position:relative}.visual-thumb i{grid-row:1/3;background:#12384a}.visual-thumb b{background:#fff;border-bottom:1px solid #e2e8ee}.visual-thumb em{margin:8px;border-radius:8px;background:#fff;box-shadow:0 3px 10px rgba(20,45,65,.08)}.visual-thumb-clinic i{background:#eaf3ff}.visual-thumb-clinic b{background:#f8fbff}.visual-thumb-salon i{background:#f4e8e6}.visual-thumb-salon em{border-radius:14px}.visual-thumb-barber{background:#12272b}.visual-thumb-barber i{background:#0b1e22}.visual-thumb-barber b{background:#d6ad67}.visual-thumb-barber em{background:#f7f4ed}.visual-thumb-spa{background:#fbf3ef}.visual-thumb-spa i{background:#ead9d1}.visual-thumb-spa em{border-radius:20px;background:#fffaf7}.visual-thumb-mobile{grid-template-columns:1fr;padding:7px;background:#eef7f6}.visual-thumb-mobile i{display:none}.visual-thumb-mobile b{border-radius:6px;background:#0db8ae}.visual-thumb-mobile em{margin:5px 8px;border-radius:8px}

/* Base tipográfica y jerarquía */
.public-page{--pub-heading-font:Manrope,Arial,sans-serif;font-size:15px;line-height:1.5}.public-page h1,.public-page h2,.public-page h3,.public-brand-copy strong{font-family:var(--pub-heading-font);font-optical-sizing:auto}.public-page .public-brand-copy strong{font-size:17px;letter-spacing:-.02em}.public-page .public-brand-copy span{font-size:12px}.public-page .public-hero h1{font-size:clamp(34px,4.2vw,48px);line-height:1.02;letter-spacing:-.045em}.public-page .public-hero p{font-size:15px;max-width:680px}.public-page .booking-section-head{margin-bottom:22px}.public-page .booking-section-head h2{font-family:var(--pub-heading-font);font-size:clamp(24px,3vw,30px);line-height:1.12;letter-spacing:-.035em;margin:6px 0 7px}.public-page .booking-section-head p{font-size:13px}.public-page .booking-step-label{font-size:10.5px;letter-spacing:.14em}.public-page .steps{padding:0 28px}.public-page .step{font-size:11px;padding:17px 7px}.public-page .num{width:28px;height:28px}.public-page .step.active .num{box-shadow:0 0 0 5px color-mix(in srgb,var(--pub-selection) 12%,transparent)}

/* Selección limpia: nunca superpone precio ni texto */
.public-page .service.selected:after,.public-page .public-professional.selected:after{display:none!important;content:none!important}.public-page .service{min-height:106px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:18px 18px 18px 17px;overflow:hidden}.service-content{min-width:0}.service-title-row{display:flex;gap:12px;align-items:flex-start}.service-icon{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;background:color-mix(in srgb,var(--pub-selection) 11%,var(--pub-card));color:var(--pub-selection);font-size:14px}.public-page .service h3{padding:0;font-size:16px;line-height:1.25;margin:1px 0 4px}.public-page .service p{font-size:11.5px;margin:0;color:var(--pub-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.public-page .service .meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0 48px}.public-page .service .meta span{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--pub-border) 34%,var(--pub-card));color:var(--pub-muted)}.service-side{min-width:112px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.public-page .price{font-size:14px;color:var(--pub-text)}.service-selection,.professional-selection{display:flex;align-items:center;gap:6px;min-height:28px;color:var(--pub-selection);font-size:10px;font-weight:800;opacity:0;transform:translateY(2px);transition:.16s ease}.service-selection i,.professional-selection i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--pub-selection);color:#fff;font-style:normal;font-size:11px}.service.selected .service-selection,.public-professional.selected .professional-selection{opacity:1;transform:none}.service.selected{background:color-mix(in srgb,var(--pub-selection) 4%,var(--pub-card))}.public-page .service:hover{box-shadow:0 10px 28px color-mix(in srgb,var(--pub-selection) 10%,transparent),var(--pub-shadow)}

/* Profesionales premium */
.public-page .public-professional{min-height:98px;padding:16px 17px}.professional-card-inner{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:13px;align-items:center}.professional-avatar{width:52px;height:52px;flex-basis:52px;border-radius:16px}.professional-copy{min-width:0}.public-page .public-professional h3{font-size:16px;padding:0;margin:0 0 3px}.public-page .public-professional p{font-size:11.5px;margin:0}.professional-selection{align-self:center}.public-page .professional-meta{margin-top:8px}.public-page .professional-meta span{font-size:9.5px}

/* Calendario, formulario, pago y confirmación con el mismo nivel visual */
.public-page .month-box{padding:18px}.public-page .calendar-toolbar strong{font-family:var(--pub-heading-font);font-size:17px}.public-page .day{font-size:12px;min-height:42px}.public-page .times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.public-page .time-btn{min-height:42px;font-size:12px;border-radius:12px}.public-page .customer-grid{gap:14px}.public-page .field label{font-size:11.5px}.public-page .field input,.public-page .field textarea,.public-page .field select{min-height:45px;border-radius:12px;font-size:13px}.public-page .field textarea{min-height:92px}.public-page .actions{margin-top:26px}.public-page .actions .primary,.public-page .actions .secondary{min-height:46px;padding:0 18px;font-size:12px;font-weight:800}.public-page .payment-method{padding:20px}.payment-method-title strong{font-family:var(--pub-heading-font);font-size:16px}.public-page .payment-details{padding:16px}.public-page .confirm h2{font-family:var(--pub-heading-font);font-size:32px;margin:6px 0}.public-page .summary{margin-top:24px}.public-page .sum-row{padding:14px 16px;font-size:12.5px}

/* Preview: refleja la plantilla completa */
.preview-public-shell{--pv-heading-font:Manrope,Arial,sans-serif}.preview-public-shell .preview-hero-copy h3,.preview-public-shell .preview-service b{font-family:var(--pv-heading-font)}.preview-service-side{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.preview-selected-pill{display:none;font-size:7px;font-weight:900;color:var(--pv-selection)}.preview-service.selected .preview-selected-pill{display:block}.preview-public-shell[data-visual-preset=salon] .preview-hero-copy h3,.preview-public-shell[data-visual-preset=spa] .preview-hero-copy h3{font-size:29px}.preview-public-shell[data-visual-preset=barber] .preview-public-header{background:linear-gradient(135deg,#0b1e22,#173b40)!important;color:#fff}.preview-public-shell[data-visual-preset=barber] .preview-body{background:#f3f4ef}.preview-public-shell[data-visual-preset=spa] .preview-public-header{background:#fff9f6!important;color:#493835}.preview-public-shell[data-visual-preset=clinic] .preview-public-header{background:#fff!important;color:#18314f;border-bottom:1px solid #dbe7f3}.preview-public-shell[data-visual-preset=mobile]{max-width:390px;margin:auto}

/* Plantillas completas: cada una cambia lenguaje visual, no solo color */
.public-page[data-visual-preset=clinic]{--pub-heading-font:Manrope,Arial,sans-serif}.public-page[data-visual-preset=clinic] .public-shell{background:linear-gradient(180deg,#f8fbff,#f3f7fb)}.public-page[data-visual-preset=clinic] .public-card{box-shadow:0 18px 55px rgba(37,88,140,.08)}.public-page[data-visual-preset=clinic] .public-hero{border-bottom:1px solid var(--pub-border)}.public-page[data-visual-preset=clinic][data-header-style=simple] .public-hero{background:linear-gradient(120deg,#fff,#f1f7ff)}.public-page[data-visual-preset=clinic] .service,.public-page[data-visual-preset=clinic] .public-professional{border-radius:14px;box-shadow:0 4px 18px rgba(37,88,140,.045)}.public-page[data-visual-preset=clinic] .service-icon{border-radius:50%}.public-page[data-visual-preset=clinic] .booking-step-label{color:#3478e5}

.public-page[data-visual-preset=salon]{--pub-heading-font:"Playfair Display",Georgia,serif}.public-page[data-visual-preset=salon] .public-shell{background:linear-gradient(135deg,#f7efec,#fbf7f5 45%,#f5efec)}.public-page[data-visual-preset=salon] .public-top{background:linear-gradient(180deg,#fffdfb,#faf2ef)}.public-page[data-visual-preset=salon] .public-brand-copy strong{font-family:var(--pub-heading-font);font-size:27px}.public-page[data-visual-preset=salon] .service{border-radius:18px;border-color:#eadcda}.public-page[data-visual-preset=salon] .service-icon{background:#f6e7e7;color:#9d596a;border-radius:50%}.public-page[data-visual-preset=salon] .service.selected{box-shadow:inset 4px 0 0 var(--pub-selection),0 12px 28px rgba(85,48,58,.07)}.public-page[data-visual-preset=salon] .public-professional{border-radius:18px}.public-page[data-visual-preset=salon] .professional-avatar{border-radius:50%}.public-page[data-visual-preset=salon] .booking-section-head h2{font-size:33px;font-weight:600}.public-page[data-visual-preset=salon] .primary{letter-spacing:.01em}

.public-page[data-visual-preset=barber]{--pub-heading-font:Sora,Arial,sans-serif}.public-page[data-visual-preset=barber] .public-shell{background:linear-gradient(180deg,#0d2025 0,#10272c 220px,#f3f4f1 220px)}.public-page[data-visual-preset=barber] .public-top{color:#f4f7f5}.public-page[data-visual-preset=barber] .public-brand-copy span{color:#b9c8c7}.public-page[data-visual-preset=barber] .public-secure-badge{background:#17343a;border-color:#285057;color:#d8e4e2}.public-page[data-visual-preset=barber] .public-logo-box{border-color:#31565c;background:#f7f3e9}.public-page[data-visual-preset=barber] .public-card{box-shadow:0 22px 60px rgba(6,24,28,.2)}.public-page[data-visual-preset=barber] .public-hero{background:radial-gradient(circle at 82% 15%,rgba(213,174,104,.19),transparent 24%),linear-gradient(115deg,#0a1b1f,#12363b)!important}.public-page[data-visual-preset=barber] .public-kicker{color:#e1bd7a!important}.public-page[data-visual-preset=barber] .service{border-radius:13px}.public-page[data-visual-preset=barber] .service-icon{background:#132f33;color:#d9af66;border-radius:8px}.public-page[data-visual-preset=barber] .service.selected{box-shadow:inset 4px 0 0 #d5ae68,0 12px 28px rgba(12,41,45,.08)}.public-page[data-visual-preset=barber] .service-selection i,.public-page[data-visual-preset=barber] .professional-selection i{background:#0e7f78}.public-page[data-visual-preset=barber] .booking-step-label{color:#9a773a}.public-page[data-visual-preset=barber] .primary{box-shadow:0 8px 22px rgba(14,127,120,.20)}

.public-page[data-visual-preset=spa]{--pub-heading-font:"Cormorant Garamond",Georgia,serif}.public-page[data-visual-preset=spa] .public-shell{background:radial-gradient(circle at 12% 10%,#f5e6e0,transparent 25%),linear-gradient(180deg,#fbf6f2,#fdfaf7)}.public-page[data-visual-preset=spa] .public-hero{background:linear-gradient(135deg,#fff9f6,#f7e9e5)!important;color:#493835}.public-page[data-visual-preset=spa] .public-hero h1{font-size:54px;font-weight:600;letter-spacing:-.025em}.public-page[data-visual-preset=spa] .public-hero p{color:#88746e!important}.public-page[data-visual-preset=spa] .public-kicker{color:#b96d7e!important}.public-page[data-visual-preset=spa] .service,.public-page[data-visual-preset=spa] .public-professional,.public-page[data-visual-preset=spa] .month-box{border-radius:26px}.public-page[data-visual-preset=spa] .service-icon{border-radius:50%;background:#f7e6e7;color:#b96d7e}.public-page[data-visual-preset=spa] .booking-section-head h2{font-size:36px;font-weight:600}.public-page[data-visual-preset=spa] .professional-avatar{border-radius:50%}.public-page[data-visual-preset=spa] .time-btn{border-radius:999px}.public-page[data-visual-preset=spa] .payment-method{border-radius:26px}

.public-page[data-visual-preset=mobile] .public-wrap{max-width:660px}.public-page[data-visual-preset=mobile] .public-shell{padding:12px 10px}.public-page[data-visual-preset=mobile] .public-card{border-radius:18px}.public-page[data-visual-preset=mobile] .public-hero{padding:25px 22px}.public-page[data-visual-preset=mobile] .public-hero h1{font-size:31px}.public-page[data-visual-preset=mobile] .booking{padding:18px}.public-page[data-visual-preset=mobile] .service-list,.public-page[data-visual-preset=mobile] .public-professional-list{grid-template-columns:1fr}.public-page[data-visual-preset=mobile] .service{min-height:88px;padding:14px}.public-page[data-visual-preset=mobile] .service-icon{width:32px;height:32px;flex-basis:32px}.public-page[data-visual-preset=mobile] .service .meta{margin-left:44px}.public-page[data-visual-preset=mobile] .actions{position:sticky;bottom:8px;z-index:5;padding:8px;background:color-mix(in srgb,var(--pub-bg) 86%,transparent);backdrop-filter:blur(12px);border-radius:16px}.public-page[data-visual-preset=mobile] .actions .primary{flex:1}.public-page[data-visual-preset=mobile] .calendar-public{grid-template-columns:1fr}

/* Split premium: evita tarjetas comprimidas y mantiene la selección separada */
.public-page[data-layout=split] .service,.public-page[data-layout=split] .public-professional{padding-right:18px;display:grid}.public-page[data-layout=split] .service{grid-template-columns:minmax(0,1fr) auto}.public-page[data-layout=split] .professional-card-inner{grid-template-columns:52px minmax(0,1fr) auto}.public-page[data-layout=split] .booking-section-head{text-align:left}

@media(max-width:900px){.visual-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-page[data-visual-preset=salon] .public-brand-copy strong{font-size:22px}.public-page[data-visual-preset=spa] .public-hero h1{font-size:44px}}
@media(max-width:760px){.visual-preset-grid{grid-template-columns:1fr 1fr}.public-page .public-hero h1{font-size:32px}.public-page .booking-section-head h2{font-size:24px}.public-page .service{grid-template-columns:minmax(0,1fr) auto;min-height:94px;padding:15px;gap:12px}.service-side{min-width:86px}.public-page .service .meta{margin-left:48px}.service-selection b,.professional-selection b{display:none}.public-page .times{grid-template-columns:repeat(2,minmax(0,1fr))}.professional-card-inner{grid-template-columns:46px minmax(0,1fr) 24px}.professional-avatar{width:46px;height:46px}.public-page[data-visual-preset=spa] .public-hero h1{font-size:39px}.public-page[data-visual-preset=salon] .booking-section-head h2,.public-page[data-visual-preset=spa] .booking-section-head h2{font-size:29px}}
@media(max-width:480px){.visual-preset-grid{grid-template-columns:1fr}.public-page .service{grid-template-columns:1fr}.service-side{width:100%;min-width:0;flex-direction:row;justify-content:space-between;align-items:center;padding-left:48px}.service-selection{order:2}.public-page .price{font-size:13px}.public-page .service .meta{margin-left:48px}.public-page .public-top{align-items:flex-start}.public-page .steps{padding:0 6px}.public-page .step{min-width:44px}.public-page .booking{padding:20px 14px 24px}}
/* Barbería en panel lateral: el bloque de marca también forma parte del concepto oscuro. */
.public-page[data-visual-preset=barber][data-layout=split] .public-top{background:linear-gradient(165deg,#0a1b1f,#13383d);border-color:#23464c;color:#f5f8f6}.public-page[data-visual-preset=barber][data-layout=split] .public-brand-copy strong{color:#fff}.public-page[data-visual-preset=barber][data-layout=split] .public-brand-copy span{color:#bdccca}.public-page[data-visual-preset=barber][data-layout=split] .public-secure-badge{background:#17343a;border-color:#2b5158;color:#dfe8e6}

/* =========================================================
   GEROS TURNERO · PERSONALIZADOR SIMPLE V15
   Plantillas completas + marca rápida + avanzado opcional
   ========================================================= */
.template-first-section{padding:22px}.template-gallery-head{align-items:flex-start}.template-gallery-head h3{font-size:21px;letter-spacing:-.025em}.template-view-toggle{display:flex;gap:4px;padding:4px;background:#eef4f6;border:1px solid #dce7eb;border-radius:12px;flex:0 0 auto}.template-view-toggle button{border:0;background:transparent;color:#607482;padding:7px 10px;border-radius:9px;font-size:10px;font-weight:900;cursor:pointer}.template-view-toggle button.active{background:#fff;color:#17364b;box-shadow:0 3px 10px rgba(18,53,73,.08)}
.visual-preset-grid-rich{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.visual-preset-rich{position:relative;padding:0;overflow:hidden;border-radius:18px;gap:0;background:#fff;min-height:228px}.visual-preset-rich .visual-thumb{height:118px;margin:0;border:0;border-radius:0;width:100%;flex:0 0 auto}.visual-preset-copy{display:block;padding:12px 13px 14px;min-height:104px}.visual-preset-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.visual-preset-topline mark{background:#e7fbf7;color:#087d75;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.visual-preset-topline small{font-size:9px;font-weight:800;color:#8a9aa5}.visual-preset-rich strong{font-size:14px;letter-spacing:-.01em;display:block;margin-bottom:4px}.visual-preset-copy>span:last-child{display:block;color:var(--muted);font-size:10px;line-height:1.4}.template-apply-label{position:absolute;right:10px;top:89px;background:rgba(255,255,255,.94);border:1px solid rgba(37,69,87,.10);box-shadow:0 4px 14px rgba(16,43,58,.10);border-radius:999px;padding:5px 9px;color:#164056;font-size:9px;font-weight:900;opacity:0;transform:translateY(3px);transition:.15s}.visual-preset-rich:hover .template-apply-label,.visual-preset-rich.active .template-apply-label{opacity:1;transform:none}.visual-preset-rich.active:after{content:"✓ Aplicada";position:absolute;left:10px;top:9px;background:#0b8f85;color:#fff;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:900;box-shadow:0 5px 14px rgba(4,106,99,.2)}.template-gallery-note{display:flex;gap:10px;align-items:flex-start;margin-top:14px;border:1px solid #dce9ed;background:#f7fbfc;border-radius:13px;padding:11px 12px;color:#5f7380}.template-gallery-note>span{width:22px;height:22px;border-radius:50%;background:#e4faf6;color:#078178;display:grid;place-items:center;font-size:10px;font-weight:900;flex:0 0 22px}.template-gallery-note p{margin:1px 0 0;font-size:10.5px;line-height:1.45}

/* miniaturas con lenguaje propio */
.visual-thumb-geros{background:#edf5f7}.visual-thumb-geros i{background:#102d40}.visual-thumb-geros b{background:#0db8ae}.visual-thumb-geros em{background:#fff}.visual-thumb-geros u{position:absolute;right:12px;bottom:11px;width:28px;height:8px;border-radius:99px;background:#0db8ae}
.visual-thumb-clinic{background:#f5f9ff}.visual-thumb-clinic i{background:#fff;border-right:1px solid #d8e5f3}.visual-thumb-clinic b{background:#e9f3ff}.visual-thumb-clinic em{border:1px solid #d8e5f3;box-shadow:none}.visual-thumb-dental{background:linear-gradient(135deg,#dbeff4,#f8fcfd)}.visual-thumb-dental i{background:#123b63}.visual-thumb-dental b{background:#57b7c9}.visual-thumb-dental em{background:#fff;border-radius:12px}.visual-thumb-salon{background:linear-gradient(135deg,#ead9d8,#fbf4f1)}.visual-thumb-salon i{background:#5a3941}.visual-thumb-salon b{background:#f6e8e5}.visual-thumb-salon em{border-radius:18px;background:#fffdfc}.visual-thumb-beauty{background:linear-gradient(145deg,#f4dfe6,#fff8f6)}.visual-thumb-beauty i{background:#6e4f5d}.visual-thumb-beauty b{background:#d6a3b3}.visual-thumb-beauty em{border-radius:22px;background:#fff}.visual-thumb-barber{background:#10272b}.visual-thumb-barber i{background:#08191d}.visual-thumb-barber b{background:#d5ae68}.visual-thumb-barber em{background:#f6f3e9;border-radius:10px}.visual-thumb-spa{background:#fbf3ef}.visual-thumb-spa i{background:#ead9d1}.visual-thumb-spa b{background:#c98292}.visual-thumb-spa em{border-radius:25px;background:#fffaf7}.visual-thumb-wellness{background:#f2f2e9}.visual-thumb-wellness i{background:#385849}.visual-thumb-wellness b{background:#8eaa8c}.visual-thumb-wellness em{background:#fffdf8;border-radius:24px}.visual-thumb-detailing{background:#0d2739}.visual-thumb-detailing i{background:#081a27}.visual-thumb-detailing b{background:#19b7b0}.visual-thumb-detailing em{background:#f7fbfc;border-radius:9px}.visual-thumb-fitness{background:linear-gradient(135deg,#17253a,#314c7b)}.visual-thumb-fitness i{background:#0f1a2b}.visual-thumb-fitness b{background:#6d8cff}.visual-thumb-fitness em{background:#fff;border-radius:12px}.visual-thumb-professional{background:#f7f8f8}.visual-thumb-professional i{background:#273645}.visual-thumb-professional b{background:#e9edef}.visual-thumb-professional em{background:#fff;border:1px solid #e1e5e7;box-shadow:none;border-radius:10px}.visual-thumb-education{background:#f3f6fc}.visual-thumb-education i{background:#253b65}.visual-thumb-education b{background:#f0a43c}.visual-thumb-education em{background:#fff;border-radius:18px}.visual-thumb-pets{background:#f8f5ef}.visual-thumb-pets i{background:#3e6658}.visual-thumb-pets b{background:#e3a86f}.visual-thumb-pets em{background:#fff;border-radius:22px}.visual-thumb-services{background:#edf2f5}.visual-thumb-services i{background:#24394c}.visual-thumb-services b{background:#e59a3a}.visual-thumb-services em{background:#fff;border-radius:9px}.visual-thumb-modern{background:linear-gradient(135deg,#172841,#30295f)}.visual-thumb-modern i{background:#14243a}.visual-thumb-modern b{background:#695cff}.visual-thumb-modern em{background:#fff;border-radius:18px}.visual-thumb-mobile{grid-template-columns:1fr;padding:9px;background:#eef7f6}.visual-thumb-mobile i{display:none}.visual-thumb-mobile b{border-radius:7px;background:#0db8ae}.visual-thumb-mobile em{margin:7px 11px;border-radius:10px}.visual-thumb-mobile u{display:block;margin:0 11px 7px;height:8px;border-radius:99px;background:#d4e7e5}

.quick-personalize-section{padding:20px}.quick-brand-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-brand-grid .full{grid-column:1/-1}.quick-color-control{height:43px;border:1px solid var(--line);border-radius:11px;background:#fff;display:flex;align-items:center;gap:10px;padding:5px 10px}.quick-color-control input[type=color]{border:0;background:transparent;width:34px;height:30px;padding:0}.quick-color-control span{font-size:11px;font-weight:900;color:#536979}.quick-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.quick-media-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;border:1px solid #dce7eb;background:#fbfdfe;border-radius:15px;padding:13px}.quick-media-icon{width:42px;height:42px;border-radius:12px;background:#e8f8f6;color:#087e76;display:grid;place-items:center;font-size:17px;font-weight:900}.quick-media-card strong{display:block;font-size:12px;color:var(--text);margin:1px 0 3px}.quick-media-card p{margin:0;color:var(--muted);font-size:9.5px;line-height:1.4}.quick-media-actions{grid-column:1/-1;display:flex;align-items:center;gap:7px;margin-top:2px}.file-action{cursor:pointer;position:relative;overflow:hidden}.file-action input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.ghost-action{border:0;background:transparent;color:#738692;font-size:10px;font-weight:800;padding:7px 5px;cursor:pointer}.ghost-action:hover{color:#29485a}

.personalizer-advanced{border:1px solid #dce6ea;border-radius:18px;background:#f8fbfc;overflow:hidden}.personalizer-advanced>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;background:#fff;user-select:none}.personalizer-advanced>summary::-webkit-details-marker{display:none}.personalizer-advanced>summary span{display:grid;gap:2px}.personalizer-advanced>summary b{font-size:13px;color:var(--text)}.personalizer-advanced>summary small{font-size:10px;color:var(--muted);font-weight:500}.personalizer-advanced>summary i{font-style:normal;font-size:18px;color:#718590;transition:.18s}.personalizer-advanced[open]>summary i{transform:rotate(180deg)}.personalizer-advanced-body{padding:12px;display:grid;gap:12px;border-top:1px solid #e2eaed}.personalizer-advanced-body .personalizer-section{box-shadow:none;margin:0}

/* Preview admin: nuevas plantillas */
.preview-public-shell[data-visual-preset=dental] .preview-public-header{background:linear-gradient(135deg,#123b63,#57b7c9)!important;color:#fff}.preview-public-shell[data-visual-preset=beauty] .preview-public-header{background:linear-gradient(135deg,#6e4f5d,#d6a3b3)!important;color:#fff;text-align:center}.preview-public-shell[data-visual-preset=wellness] .preview-public-header{background:linear-gradient(135deg,#385849,#8eaa8c)!important;color:#fff;text-align:center}.preview-public-shell[data-visual-preset=detailing] .preview-public-header{background:linear-gradient(135deg,#0c2538,#154d64)!important;color:#fff}.preview-public-shell[data-visual-preset=fitness] .preview-public-header{background:linear-gradient(135deg,#17253a,#526ee8)!important;color:#fff}.preview-public-shell[data-visual-preset=professional] .preview-public-header{background:#fff!important;color:#27313a;text-align:center;border-bottom:1px solid #e1e5e7}.preview-public-shell[data-visual-preset=education] .preview-public-header{background:linear-gradient(135deg,#253b65,#425fa8)!important;color:#fff;text-align:center}.preview-public-shell[data-visual-preset=pets] .preview-public-header{background:linear-gradient(135deg,#3e6658,#7a9b8f)!important;color:#fff}.preview-public-shell[data-visual-preset=services] .preview-public-header{background:linear-gradient(135deg,#24394c,#315b77)!important;color:#fff}.preview-public-shell[data-visual-preset=modern] .preview-public-header{background:linear-gradient(135deg,#14243a,#695cff)!important;color:#fff}

/* =========================================================
   V15 · Lenguaje visual de las nuevas plantillas públicas
   ========================================================= */
.public-page[data-visual-preset=dental] .public-shell{background:linear-gradient(180deg,#eaf4f7 0,#f5fafc 260px)}.public-page[data-visual-preset=dental] .public-card{box-shadow:0 22px 60px rgba(24,75,104,.10)}.public-page[data-visual-preset=dental] .public-hero{background:linear-gradient(115deg,#123b63,#2f7f98)!important}.public-page[data-visual-preset=dental] .service-icon{border-radius:50%;background:#e6f4f7;color:#146b8d}.public-page[data-visual-preset=dental] .service,.public-page[data-visual-preset=dental] .public-professional{border-radius:15px}.public-page[data-visual-preset=dental] .booking-step-label{color:#146b8d}
.public-page[data-visual-preset=beauty]{--pub-heading-font:"Playfair Display",Georgia,serif}.public-page[data-visual-preset=beauty] .public-shell{background:radial-gradient(circle at 10% 8%,#f4dfe7,transparent 25%),linear-gradient(180deg,#fff9f7,#fffdfc)}.public-page[data-visual-preset=beauty] .public-hero{background:linear-gradient(135deg,#6e4f5d,#b77d91)!important;text-align:center}.public-page[data-visual-preset=beauty] .public-hero-inner{margin:auto}.public-page[data-visual-preset=beauty] .public-hero h1{font-size:52px;font-weight:600}.public-page[data-visual-preset=beauty] .service,.public-page[data-visual-preset=beauty] .public-professional{border-radius:25px}.public-page[data-visual-preset=beauty] .service-icon,.public-page[data-visual-preset=beauty] .professional-avatar{border-radius:50%}.public-page[data-visual-preset=beauty] .booking-section-head h2{font-family:var(--pub-heading-font);font-size:34px;font-weight:600}
.public-page[data-visual-preset=wellness]{--pub-heading-font:"Cormorant Garamond",Georgia,serif}.public-page[data-visual-preset=wellness] .public-shell{background:radial-gradient(circle at 88% 7%,#e3eadc,transparent 27%),linear-gradient(180deg,#f4f3ec,#faf9f4)}.public-page[data-visual-preset=wellness] .public-hero{background:linear-gradient(135deg,#385849,#789078)!important;text-align:center}.public-page[data-visual-preset=wellness] .public-hero-inner{margin:auto}.public-page[data-visual-preset=wellness] .public-hero h1{font-size:52px;font-weight:600}.public-page[data-visual-preset=wellness] .service,.public-page[data-visual-preset=wellness] .public-professional,.public-page[data-visual-preset=wellness] .month-box{border-radius:24px}.public-page[data-visual-preset=wellness] .time-btn{border-radius:999px}
.public-page[data-visual-preset=detailing] .public-shell{background:linear-gradient(180deg,#0b2435 0,#0d2d40 230px,#eef4f7 230px)}.public-page[data-visual-preset=detailing] .public-top{color:#fff}.public-page[data-visual-preset=detailing] .public-brand-copy span{color:#bad0dc}.public-page[data-visual-preset=detailing] .public-secure-badge{background:#153b4d;border-color:#2d5668;color:#d8e7ed}.public-page[data-visual-preset=detailing] .public-hero{background:linear-gradient(115deg,#081e2c,#154f62)!important}.public-page[data-visual-preset=detailing] .public-card{box-shadow:0 24px 62px rgba(7,33,48,.20)}.public-page[data-visual-preset=detailing] .service-icon{background:#dff5f3;color:#0c8e89;border-radius:10px}.public-page[data-visual-preset=detailing] .service{border-radius:11px}.public-page[data-visual-preset=detailing] .primary{box-shadow:0 9px 22px rgba(12,142,137,.18)}
.public-page[data-visual-preset=fitness] .public-shell{background:linear-gradient(180deg,#15233a 0,#243b63 260px,#f4f6fb 260px)}.public-page[data-visual-preset=fitness] .public-top{color:#fff}.public-page[data-visual-preset=fitness] .public-brand-copy span{color:#c8d1e5}.public-page[data-visual-preset=fitness] .public-secure-badge{background:#243b63;border-color:#435c87;color:#e4e9f3}.public-page[data-visual-preset=fitness] .public-hero{background:linear-gradient(115deg,#17253a,#526ee8)!important}.public-page[data-visual-preset=fitness] .service{border-radius:14px}.public-page[data-visual-preset=fitness] .service-icon{background:#edf0ff;color:#526ee8}.public-page[data-visual-preset=fitness] .time-btn{font-size:12px;font-weight:900}
.public-page[data-visual-preset=professional] .public-wrap{max-width:930px}.public-page[data-visual-preset=professional] .public-shell{background:#f7f8f8}.public-page[data-visual-preset=professional] .public-card{box-shadow:none}.public-page[data-visual-preset=professional] .public-hero{text-align:center;background:#fff!important;border-bottom:1px solid #e1e5e7}.public-page[data-visual-preset=professional] .public-hero-inner{margin:auto}.public-page[data-visual-preset=professional] .public-hero h1{font-size:42px}.public-page[data-visual-preset=professional] .service,.public-page[data-visual-preset=professional] .public-professional{box-shadow:none}.public-page[data-visual-preset=professional] .service-icon{background:#edf1f3;color:#344b5e}.public-page[data-visual-preset=professional] .steps{border-top:1px solid #e1e5e7}
.public-page[data-visual-preset=education] .public-shell{background:linear-gradient(180deg,#eef2fb,#f8f9fd)}.public-page[data-visual-preset=education] .public-hero{background:linear-gradient(130deg,#253b65,#425fa8)!important;text-align:center}.public-page[data-visual-preset=education] .public-hero-inner{margin:auto}.public-page[data-visual-preset=education] .service-icon{background:#fff4e5;color:#c77c17;border-radius:15px}.public-page[data-visual-preset=education] .service,.public-page[data-visual-preset=education] .public-professional{border-radius:20px}.public-page[data-visual-preset=education] .time-btn{border-radius:14px}
.public-page[data-visual-preset=pets] .public-shell{background:radial-gradient(circle at 90% 9%,#f3e2ce,transparent 23%),linear-gradient(180deg,#f8f5ef,#fbfaf7)}.public-page[data-visual-preset=pets] .public-hero{background:linear-gradient(125deg,#3e6658,#6d8f82)!important}.public-page[data-visual-preset=pets] .service,.public-page[data-visual-preset=pets] .public-professional{border-radius:23px}.public-page[data-visual-preset=pets] .service-icon{background:#f8eadc;color:#a56a33;border-radius:50%}.public-page[data-visual-preset=pets] .professional-avatar{border-radius:50%}
.public-page[data-visual-preset=services] .public-shell{background:#f3f6f8}.public-page[data-visual-preset=services] .public-hero{background:linear-gradient(120deg,#24394c,#315b77)!important}.public-page[data-visual-preset=services] .booking{padding:24px}.public-page[data-visual-preset=services] .service-list,.public-page[data-visual-preset=services] .public-professional-list{gap:8px}.public-page[data-visual-preset=services] .service{border-radius:10px;padding:13px}.public-page[data-visual-preset=services] .service-icon{background:#fff2df;color:#b4711d;border-radius:9px}.public-page[data-visual-preset=services] .time-btn{border-radius:8px}
.public-page[data-visual-preset=modern] .public-shell{background:linear-gradient(180deg,#f2f3fb,#f8f9fc)}.public-page[data-visual-preset=modern] .public-hero{background:linear-gradient(130deg,#14243a,#695cff)!important}.public-page[data-visual-preset=modern] .service,.public-page[data-visual-preset=modern] .public-professional{border-radius:22px}.public-page[data-visual-preset=modern] .service-icon{background:#eeecff;color:#5e5ce6}.public-page[data-visual-preset=modern] .primary{box-shadow:0 9px 24px rgba(94,92,230,.20)}

/* si la persona carga una portada, la foto manda por encima del fondo de la plantilla */
.public-page[data-header-style=image] .public-hero[style*="background-image"]{background-size:cover!important;background-position:center!important}.preview-public-shell[data-header-style=image] .preview-public-header[style*="background-image"]{background-size:cover!important;background-position:center!important}

@media(max-width:980px){.quick-media-grid{grid-template-columns:1fr}.visual-preset-grid-rich{grid-template-columns:repeat(2,minmax(0,1fr))}.template-gallery-head{flex-direction:column}.template-view-toggle{align-self:flex-start}}
@media(max-width:680px){.quick-brand-grid{grid-template-columns:1fr}.quick-brand-grid .full{grid-column:auto}.visual-preset-grid-rich{grid-template-columns:1fr}.visual-preset-rich{min-height:0}.template-view-toggle{width:100%}.template-view-toggle button{flex:1}.personalizer-advanced>summary small{display:none}.quick-media-actions{flex-wrap:wrap}.public-page[data-visual-preset=beauty] .public-hero h1,.public-page[data-visual-preset=wellness] .public-hero h1{font-size:38px}}

/* =========================================================
   V15.1 · Paridad entre vista previa y página pública
   La plantilla lateral usa el mismo encabezado visual del preview.
   ========================================================= */
.public-page[data-header-style="image"] .public-hero:not([style*="background-image"]),
.preview-public-shell[data-header-style="image"] .preview-public-header:not([style*="background-image"]){
  background:linear-gradient(135deg,var(--pub-primary,#102D40),var(--pub-secondary,#0DB8AE));
}
.preview-public-shell[data-header-style="image"] .preview-public-header:not([style*="background-image"]){
  background:linear-gradient(135deg,var(--pv-primary,#102D40),var(--pv-secondary,#0DB8AE))!important;
}

.public-page[data-layout="split"] .public-top{
  position:relative;
  overflow:hidden;
  justify-content:flex-start;
  gap:20px;
  background-size:cover!important;
  background-position:center!important;
}
.public-page[data-layout="split"] .public-top>*{position:relative;z-index:1}
.public-page[data-layout="split"] .public-split-intro{
  width:100%;
  margin:auto 0;
  padding:24px 0;
  color:inherit;
}
.public-page[data-layout="split"] .public-split-intro .public-kicker{
  color:currentColor;
  opacity:.72;
}
.public-page[data-layout="split"] .public-split-intro h1{
  margin:8px 0 10px;
  max-width:360px;
  font-family:var(--pub-heading-font,var(--pub-font));
  font-size:clamp(38px,4.3vw,60px);
  line-height:.98;
  letter-spacing:-.045em;
  color:inherit;
}
.public-page[data-layout="split"] .public-split-intro p{
  margin:0;
  max-width:360px;
  font-size:13px;
  line-height:1.65;
  color:inherit;
  opacity:.80;
}
.public-page[data-layout="split"] .public-split-social{
  margin-top:16px;
  font-size:10px;
  font-weight:800;
  opacity:.72;
}
.public-page[data-layout="split"] .public-secure-badge{align-self:flex-start}

/* Cuando la plantilla lateral usa portada/imagen, el panel izquierdo
   es el hero, igual que en la vista previa. */
.public-page[data-layout="split"][data-header-style="image"] .public-top{
  color:#fff;
  border-color:color-mix(in srgb,var(--pub-primary) 72%,#fff 28%);
  background-color:var(--pub-primary);
}
.public-page[data-layout="split"][data-header-style="image"] .public-brand-copy strong{color:#fff}
.public-page[data-layout="split"][data-header-style="image"] .public-brand-copy span{color:rgba(255,255,255,.72)}
.public-page[data-layout="split"][data-header-style="image"] .public-secure-badge{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.20);
  color:#fff;
  backdrop-filter:blur(8px);
}

/* Fallbacks de plantilla si todavía no se cargó una foto propia. */
.public-page[data-visual-preset="salon"][data-layout="split"] .public-top:not([style*="background-image"]){
  background:linear-gradient(155deg,#4b3038 0%,#6b4651 58%,#b57d8b 100%)!important;
  color:#fff;
}
.public-page[data-visual-preset="salon"][data-layout="split"] .public-brand-copy strong{color:#fff}
.public-page[data-visual-preset="salon"][data-layout="split"] .public-brand-copy span{color:rgba(255,255,255,.70)}
.public-page[data-visual-preset="detailing"][data-layout="split"] .public-top:not([style*="background-image"]){
  background:linear-gradient(155deg,#081c29,#0c3447 58%,#106b70)!important;color:#fff
}
.public-page[data-visual-preset="barber"][data-layout="split"] .public-top:not([style*="background-image"]){
  background:linear-gradient(155deg,#08191d,#10343a 62%,#3d4a3c)!important;color:#fff
}

/* El título de la reserva vive en el panel lateral; no se duplica. */
.public-page[data-layout="split"] .public-hero{display:none!important}

@media(max-width:900px){
  .public-page[data-layout="split"] .public-top{
    min-height:360px;
    flex-direction:column;
    align-items:flex-start;
    padding:28px 26px;
  }
  .public-page[data-layout="split"] .public-brand{flex-direction:row;align-items:center}
  .public-page[data-layout="split"] .public-split-intro{margin:18px 0 0;padding:0}
  .public-page[data-layout="split"] .public-split-intro h1{font-size:42px;max-width:520px}
  .public-page[data-layout="split"] .public-split-intro p{max-width:520px}
  .public-page[data-layout="split"] .public-secure-badge{margin-top:auto}
}
@media(max-width:560px){
  .public-page[data-layout="split"] .public-top{min-height:310px;padding:22px 18px}
  .public-page[data-layout="split"] .public-split-intro h1{font-size:34px}
  .public-page[data-layout="split"] .public-split-intro p{font-size:12px}
}


/* =========================================================
   V15.2 · Vista previa REAL
   La previsualización usa reserva.html real, no una maqueta.
   ========================================================= */
.booking-preview-frame{
  position:relative;
  overflow:hidden;
  border-radius:18px;
}
.public-preview-iframe{
  display:block;
  width:100%;
  height:690px;
  border:0;
  background:#fff;
  border-radius:16px;
  box-shadow:0 12px 28px rgba(26,54,72,.13);
}
.booking-preview-frame[data-preview-device="desktop"]{
  max-width:100%;
}
.booking-preview-frame[data-preview-device="mobile"]{
  max-width:390px;
}
.booking-preview-frame[data-preview-device="mobile"] .public-preview-iframe{
  height:760px;
}
.preview-stage{
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.preview-lightbox-window-real{
  width:min(1180px,96vw);
  height:min(860px,90vh);
  max-height:none;
  overflow:hidden;
  padding:10px;
}
.public-preview-iframe-large{
  width:100%;
  height:100%;
  min-height:760px;
  border-radius:14px;
}
.public-page[data-preview-mode="true"] .public-shell{
  min-height:100vh;
}
.public-page[data-preview-mode="true"] .public-footer{
  padding-bottom:18px;
}
@media(max-width:680px){
  .public-preview-iframe{height:720px}
}

/* v15.3 — Iconografía profesional Geros */
.geros-icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.nav-icon svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.nav-item .nav-icon{border:1px solid rgba(7,154,145,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}
.nav-item.active .nav-icon{border-color:rgba(13,47,90,.08)}
body.sidebar-collapsed .nav-icon svg{width:20px;height:20px}

/* v15.3 — Portadas en alta calidad */
.public-page[data-header-style=image] .public-hero,
.public-page[data-layout=split][data-header-style=image] .public-top{background-repeat:no-repeat!important;background-size:cover!important;background-position:center center!important;image-rendering:auto}
.public-page[data-layout=split] .public-top{background-attachment:scroll!important}
@media(min-width:1100px){.public-page[data-layout=cover] .public-hero{min-height:380px}.public-page[data-layout=split] .public-top{background-position:center center!important}}

/* === v15.4 · Barra superior funcional + Recordatorios más livianos === */
.top-utility-btn{position:relative;display:grid;place-items:center;color:#294055;transition:.18s ease;background:#fff}
.top-utility-btn:hover{background:#f1f7f8;border-color:#c9dcdf;color:#087e76;transform:translateY(-1px)}
.top-utility-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.top-icon-badge{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#ef476f;color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:9px;font-weight:900;line-height:1}


.reminders-page-head{align-items:center;margin-bottom:16px}
.reminders-page-head h2{font-size:28px}.reminders-page-head p{max-width:650px;font-size:13px;line-height:1.55}
.soft-action{background:#fff!important;box-shadow:none!important}
.reminders-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:16px;align-items:stretch}
.reminder-config-card,.whatsapp-preview-card{padding:20px;box-shadow:0 10px 26px rgba(13,39,64,.055)}
.reminder-card-title{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-bottom:14px;border-bottom:1px solid #edf2f4}
.reminder-card-title>div{display:flex;align-items:center;gap:12px}.reminder-card-title h3,.wa-preview-copy h3{margin:0;font-size:18px}.reminder-card-title p,.wa-preview-copy p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.reminder-soft-icon{width:40px;height:40px;border-radius:13px;background:#e7f7f5;color:#078e86;display:grid;place-items:center;flex:0 0 40px}.reminder-soft-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.reminder-status-pill{font-size:10px;font-weight:900;padding:6px 9px;border-radius:999px;background:#e7f7ef;color:#16865f}.reminder-status-pill.is-off{background:#eef2f4;color:#738594}
.reminder-options{display:grid;gap:8px;padding:14px 0}
.reminder-option{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 13px;border:1px solid #e7eef1;border-radius:14px;background:#fbfdfe;cursor:pointer;transition:.15s ease}
.reminder-option:hover{border-color:#c7dfdf;background:#f7fbfb}.reminder-option>div{display:grid;gap:3px}.reminder-option strong{font-size:13px}.reminder-option span:not(.module-switch):not(.module-switch span){font-size:11px;color:var(--muted);line-height:1.4}
.reminder-send-mode{padding:14px;border-radius:14px;background:#f7fafb;border:1px solid #e6edf0}.reminder-send-mode label{display:block;font-size:11px;font-weight:900;margin-bottom:7px}.reminder-send-mode select{width:100%;border:1px solid #dce7eb;background:#fff;border-radius:11px;padding:10px 12px;color:var(--text);outline:none}.reminder-send-mode small{display:block;color:var(--muted);font-size:10.5px;line-height:1.45;margin-top:8px}
.reminder-actions{display:flex;gap:9px;margin-top:14px}.reminder-actions .primary,.reminder-actions .secondary{min-height:42px}

.whatsapp-preview-card{display:flex;flex-direction:column;background:linear-gradient(180deg,#fff,#fbfdfd);overflow:hidden}
.wa-preview-kicker{display:block;color:#079a91;font-size:10px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:5px}
.wa-phone{width:min(330px,100%);margin:18px auto 12px;border:1px solid #d9e4e7;border-radius:28px;background:#edf3ee;box-shadow:0 18px 38px rgba(22,48,62,.12);overflow:hidden}
.wa-phone-bar{height:28px;background:#f8fbf9;display:flex;justify-content:space-between;align-items:center;padding:0 15px;color:#5c6c66;font-size:9px;font-weight:800;border-bottom:1px solid #e1e9e5}
.wa-chat-head{height:60px;background:#f8fbf9;display:grid;grid-template-columns:36px 1fr 30px;align-items:center;gap:9px;padding:0 12px;border-bottom:1px solid #dfe8e4}.wa-chat-head strong{display:block;font-size:12px;color:#1d342d}.wa-chat-head small{display:block;font-size:9px;color:#778982;margin-top:2px}.wa-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(145deg,#0d7f77,#12b7a7);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:900}.wa-chat-mark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e4f7ee;color:#168c64}.wa-chat-mark svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wa-chat-body{min-height:235px;padding:14px 13px 20px;background-color:#e9efe9;background-image:radial-gradient(circle at 15% 18%,rgba(255,255,255,.65) 0 1px,transparent 1.5px),radial-gradient(circle at 78% 70%,rgba(255,255,255,.55) 0 1px,transparent 1.5px);background-size:24px 24px,28px 28px}
.wa-day-chip{width:max-content;margin:0 auto 12px;padding:5px 9px;border-radius:8px;background:rgba(255,255,255,.78);color:#6e8179;font-size:9px;font-weight:800;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.wa-message-bubble{position:relative;width:88%;margin-left:auto;background:#d8f7c8;border-radius:12px 3px 12px 12px;padding:10px 11px 8px;box-shadow:0 1px 2px rgba(0,0,0,.07)}.wa-message-bubble:after{content:"";position:absolute;right:-7px;top:0;border-top:8px solid #d8f7c8;border-right:8px solid transparent}.wa-message-bubble p{margin:0;color:#23342e;font-size:11px;line-height:1.48;white-space:pre-line}.wa-bubble-meta{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-top:5px;color:#71877e;font-size:8px}.wa-bubble-meta b{color:#4c94ca;font-size:9px;letter-spacing:-2px}
.wa-preview-note{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:10.5px;text-align:center}.wa-dot{width:7px;height:7px;border-radius:50%;background:#25b47a;box-shadow:0 0 0 4px #eaf8f1}
.reminder-queue-soft{margin-top:16px;padding:16px;box-shadow:none}.reminder-queue-soft .stats-title{align-items:flex-start}.reminder-queue-soft .notice{margin:4px 0 0;background:none;padding:0;border:0;font-size:11px;color:var(--muted)}
.reminder-empty{min-height:78px;border:1px dashed #dce7ea;border-radius:14px;background:#fbfdfd;display:flex;align-items:center;justify-content:center;gap:10px;color:#617786}.reminder-empty>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e5f7ee;color:#16865f;font-weight:900}.reminder-empty div{display:grid;gap:2px}.reminder-empty b{font-size:12px;color:var(--text)}.reminder-empty small{font-size:10.5px;color:var(--muted)}
























@media(max-width:1050px){.reminders-layout{grid-template-columns:1fr}.whatsapp-preview-card{min-height:auto}.wa-phone{width:min(360px,100%)}}
@media(max-width:620px){.reminder-actions{flex-direction:column}.reminder-actions>*{width:100%}.reminder-config-card,.whatsapp-preview-card{padding:15px}.reminder-option{padding:11px}.wa-phone{border-radius:22px}}

/* v15.5 · WhatsApp Studio más liviano y visual */
.communications-view{max-width:1500px;margin:0 auto}
.communications-page-head{align-items:flex-end}
.wa-status-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#eefaf7;color:#187b6f;font-size:11px;font-weight:800;border:1px solid #d8eee8;white-space:nowrap}.wa-status-pill>span{width:7px;height:7px;border-radius:50%;background:#24b18c;box-shadow:0 0 0 4px rgba(36,177,140,.10)}
.communications-studio{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:16px;align-items:stretch}
.wa-editor-card,.wa-live-card,.wa-upcoming-card,.wa-history-card{padding:20px;border:1px solid #dfe9ed;box-shadow:0 10px 28px rgba(20,55,77,.045)}
.wa-live-card{background:linear-gradient(180deg,#fbfefd,#f7fbfa)}
.wa-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.wa-card-heading.compact{margin-bottom:8px}.wa-card-heading h3{margin:2px 0 4px;font-size:18px;letter-spacing:-.2px}.wa-card-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.wa-section-kicker{display:block;color:#0a998f;font-size:9.5px;font-weight:900;letter-spacing:1.15px;text-transform:uppercase}.wa-edit-badge,.wa-count-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef7f7;color:#25736f;border:1px solid #dcebec;font-size:10px;font-weight:850;padding:6px 9px;white-space:nowrap}.wa-count-pill{min-width:28px}
.wa-template-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:4px;margin-bottom:14px;border-radius:13px;background:#f5f8fa;border:1px solid #e8eef1}.wa-template-tab{border:0;background:transparent;color:#687b89;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer;transition:.18s ease}.wa-template-tab:hover{background:#fff;color:#244052}.wa-template-tab.active{background:#fff;color:#0c706b;box-shadow:0 2px 7px rgba(25,55,72,.08)}
.wa-template-editor{min-height:210px}.wa-template-pane{display:none}.wa-template-pane.active{display:block}.wa-template-pane label{display:block;margin:0 0 7px;color:#425b6d;font-size:11px;font-weight:850}.wa-template-pane textarea{width:100%;min-height:150px;resize:vertical;border:1px solid #dbe5ea;border-radius:14px;background:#fbfdfe;padding:13px 14px;color:#1f3443;font:500 13px/1.55 inherit;transition:border-color .18s,box-shadow .18s}.wa-template-pane textarea:focus{outline:0;border-color:#75cbc4;box-shadow:0 0 0 3px rgba(15,169,158,.09);background:#fff}.wa-template-pane small{display:block;margin-top:7px;color:#8495a1;font-size:10.5px;line-height:1.45}
.wa-variable-strip{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px}.wa-variable-strip>span{font-size:10px;color:#7b8d99;margin-right:2px}.wa-variable-strip button{border:1px solid #dfe8ec;background:#fff;color:#466270;border-radius:999px;padding:5px 8px;font-size:9.5px;font-weight:750;cursor:pointer}.wa-variable-strip button:hover{border-color:#abd9d4;color:#0d7972;background:#f6fcfb}.wa-editor-actions{display:flex;align-items:center;gap:12px;margin-top:16px}.wa-editor-actions .primary{min-width:150px}.wa-save-hint{font-size:10.5px;color:#82929d}
.wa-phone-communications{margin-top:14px;margin-bottom:10px;width:min(355px,100%)}
.communications-lower-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:16px;margin-top:16px}.wa-upcoming-card .stats-title,.wa-history-card .stats-title{margin-bottom:8px}.wa-upcoming-card .stats-title h3,.wa-history-card .stats-title h3{font-size:17px;margin:2px 0 0}
.wa-appointment-soft{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf2f4}.wa-appointment-soft:last-child{border-bottom:0}.wa-appointment-person{display:flex;align-items:center;gap:10px;min-width:0}.wa-client-avatar{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#e8f7f5;color:#0d8179;font-size:11px;font-weight:900;flex:0 0 34px}.wa-appointment-person>div{min-width:0}.wa-appointment-person b{display:block;font-size:12.5px;color:#203746;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-appointment-person span{display:block;margin-top:2px;color:#81919c;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-quick-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.wa-quick-actions button{border:1px solid #dce6ea;background:#fff;color:#4a6674;border-radius:9px;padding:6px 8px;font-size:9.5px;font-weight:800;cursor:pointer}.wa-quick-actions button:hover{border-color:#9fd3cd;color:#0d7872;background:#f7fcfb}.wa-soft-empty{display:flex;align-items:center;gap:10px;padding:20px 4px;color:#6f838e}.wa-soft-empty>span{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#eaf8f2;color:#229166;font-weight:900}.wa-soft-empty b,.wa-soft-empty small{display:block}.wa-soft-empty b{font-size:12px;color:#304957}.wa-soft-empty small{margin-top:2px;font-size:10.5px;color:#85959f}
.wa-history-card #messageHistory{max-height:290px;overflow:auto;padding-right:3px}.wa-history-card .message-log-row{padding:9px 0}.wa-history-card .message-log-row b{font-size:12px}.wa-history-card .message-log-row span,.wa-history-card .message-log-row small{font-size:10.5px}

@media(max-width:1120px){.communications-studio,.communications-lower-grid{grid-template-columns:1fr}.wa-live-card{min-height:auto}.wa-phone-communications{width:min(390px,100%)}}
@media(max-width:680px){.communications-page-head{align-items:flex-start}.wa-status-pill{display:none}.wa-editor-card,.wa-live-card,.wa-upcoming-card,.wa-history-card{padding:15px}.wa-card-heading{flex-direction:column;gap:8px}.wa-template-tabs{flex-wrap:nowrap;overflow:auto;padding-bottom:5px}.wa-template-tab{white-space:nowrap}.wa-editor-actions{align-items:stretch;flex-direction:column}.wa-editor-actions .primary{width:100%}.wa-save-hint{text-align:center}.wa-appointment-soft{align-items:flex-start;flex-direction:column}.wa-quick-actions{justify-content:flex-start;width:100%}.wa-quick-actions button{flex:1}.wa-appointment-person span{white-space:normal}}


























/* Superficies generales */





/* Inicio / dashboard */




























/* Revisión / checklist */













/* Listas, servicios, tablas y formularios */














/* WhatsApp / Recordatorios */


















/* Modales */




/* Scrollbars discretas */










/* Shell: mismo contraste que el POS. */



















/* Barra superior y controles. */













/* Todas las superficies administrativas que tenían blanco fijo. */


/* KPIs de Profesionales / Servicios / otras pantallas. */














/* Agenda / tablas / filas. */






/* Dashboard: replica el comportamiento de superficies del POS. */














/* Onboarding, personalización y selección. */







/* WhatsApp / recordatorios: oscuros, pero sin salir de la paleta POS. */












/* Modales y estados. */








/* Scrollbar igual de discreta que en POS. */







/* ===== Planes y suscripción Geros Turnero ===== */
.plan-hidden{display:none!important}
.subscription-summary{display:flex;flex-direction:column;gap:6px;padding:14px 16px;margin:12px 0 16px;border:1px solid var(--border);border-radius:14px;background:var(--soft)}
.subscription-summary span{font-size:12px;font-weight:800;color:var(--primary)}
.subscription-summary strong{font-size:14px;color:var(--text)}
.subscription-summary small{color:var(--muted)}
.plan-products{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.plan-product-card{border:1px solid var(--border);border-radius:16px;padding:16px;background:var(--card);display:flex;flex-direction:column;gap:12px}
.plan-product-card.featured{border-color:color-mix(in srgb,var(--primary) 55%,var(--border));box-shadow:0 10px 24px rgba(25,145,150,.08)}
.plan-product-card.current-plan{outline:2px solid var(--primary);outline-offset:2px}
.plan-product-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-product-head span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.plan-product-head h4{margin:2px 0 0;font-size:20px}.plan-product-head b{font-size:11px;padding:6px 8px;border-radius:999px;background:var(--soft);white-space:nowrap}
.plan-feature-list{display:grid;gap:7px;font-size:12px;color:var(--muted);flex:1}.plan-feature-list div{line-height:1.35}
.subscription-gate{position:fixed;inset:0;z-index:100000;background:rgba(7,23,54,.62);backdrop-filter:blur(7px);display:grid;place-items:center;padding:24px}.subscription-gate.hidden{display:none}.subscription-gate-card{width:min(460px,100%);background:var(--card,#fff);border-radius:24px;padding:32px;text-align:center;box-shadow:0 28px 70px rgba(5,24,58,.28)}.subscription-gate-icon{width:58px;height:58px;border-radius:18px;margin:0 auto 16px;display:grid;place-items:center;background:linear-gradient(135deg,#14b8b2,#5fc9e4);color:#fff;font-weight:900;font-size:24px}.subscription-gate-card h2{margin:0 0 10px;color:var(--text,#173868)}.subscription-gate-card p{margin:0 auto 22px;max-width:360px;color:var(--muted,#7182a5);line-height:1.5}.subscription-gate-actions{display:flex;gap:10px;justify-content:center}
@media(max-width:760px){.plan-products{grid-template-columns:1fr}.subscription-gate-card{padding:26px 20px}.subscription-gate-actions{flex-direction:column}}

/* Trial visible */
.trial-top-pill{height:38px;border:1px solid #b9e9e4;background:#effcf9;color:#087b77;border-radius:999px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:850;white-space:nowrap;cursor:pointer}.trial-top-pill.hidden{display:none!important}.trial-top-dot{width:7px;height:7px;border-radius:50%;background:#11b9ae;box-shadow:0 0 0 4px rgba(17,185,174,.12)}.trial-top-pill.is-expired{background:#fff3f2;border-color:#ffd3ce;color:#b33d32}.trial-top-pill.is-active{background:var(--soft);border-color:var(--border);color:var(--text)}
.trial-dashboard-banner{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:15px 18px;margin:14px 0;border:1px solid #bdebe7;border-radius:18px;background:linear-gradient(110deg,#f3fffd,#f7fbff);box-shadow:0 8px 22px rgba(14,93,112,.05)}.trial-dashboard-banner.hidden{display:none!important}.trial-dashboard-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#0db9ae,#56cbd0);color:#fff;font-size:20px;font-weight:950}.trial-dashboard-copy{display:flex;flex-direction:column;gap:2px}.trial-dashboard-copy span{font-size:10px;letter-spacing:.09em;font-weight:900;color:#0aa39b}.trial-dashboard-copy strong{font-size:15px;color:var(--text)}.trial-dashboard-copy p{margin:0;color:var(--muted);font-size:12px}.trial-dashboard-days{min-width:92px;text-align:center;padding:6px 14px;border-left:1px solid #d8eeec}.trial-dashboard-days b{display:block;font-size:24px;color:#0b8f89}.trial-dashboard-days span{font-size:10px;font-weight:750;color:var(--muted)}

@media(max-width:760px){.trial-dashboard-banner{grid-template-columns:1fr auto}.trial-dashboard-icon{display:none}.trial-dashboard-action{grid-column:1/3}.trial-dashboard-days{border:0;padding:0}.trial-top-pill{padding:0 9px}}


/* =========================================================
   Dashboard Agenda v2 · referencia visual aprobada 14/10/2026
   ========================================================= */
body:has(#view-home:not(.hidden)){background:#f6f9fc}
#view-home.agenda-dashboard-v2{--dash-navy:#082f6a;--dash-blue:#0b63d8;--dash-teal:#10bdb3;--dash-soft:#e8faf8;--dash-line:#dbe6f1;--dash-muted:#6881a3;--dash-bg:#f6f9fc;max-width:none!important;padding:22px 20px 30px!important;color:#0c356b}
.agenda-page-head-v2{display:grid;grid-template-columns:minmax(260px,1fr) auto minmax(520px,1.25fr);align-items:center;gap:18px;margin-bottom:18px}.agenda-page-head-v2 h1{margin:0;color:var(--dash-navy);font-size:34px;line-height:1.05;font-weight:850;letter-spacing:-.035em}.agenda-page-head-v2 p{margin:6px 0 0;color:#5f7da3;font-size:14px}.agenda-new-turn-v2{height:50px;padding:0 28px;border-radius:12px!important;font-size:15px!important;box-shadow:0 9px 20px rgba(16,189,179,.18)}
.agenda-day-strip-v2{display:grid;grid-template-columns:48px repeat(5,minmax(76px,1fr)) 48px;gap:10px;align-items:stretch}.agenda-day-arrow,.agenda-day-chip{border:1px solid #e0e8f2;background:#fff;color:#123c73;border-radius:12px;min-height:66px;cursor:pointer;transition:.18s ease}.agenda-day-arrow{font-size:30px;font-weight:300}.agenda-day-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.agenda-day-chip span{font-size:10px;font-weight:800;color:#7690b2}.agenda-day-chip b{font-size:20px;margin-top:3px}.agenda-day-chip i{width:5px;height:5px;background:#fff;border-radius:50%;position:absolute;bottom:7px}.agenda-day-chip.active{background:linear-gradient(160deg,#1ac6bc,#0bb4ae);border-color:#11bab2;color:#fff;box-shadow:0 8px 20px rgba(16,189,179,.22)}.agenda-day-chip.active span{color:#eafffd}
.agenda-filter-row-v2{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;padding:12px;background:#fff;border:1px solid var(--dash-line);border-radius:15px;margin-bottom:12px;box-shadow:0 5px 18px rgba(35,77,120,.04)}.agenda-filter-v2{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:6px 12px;border:1px solid #dfe8f3;border-radius:11px;background:#fff}.agenda-filter-v2:before{grid-row:1/3;content:"◉";width:34px;height:34px;border-radius:10px;background:#eff7ff;color:#0b63d8;display:grid;place-items:center;font-weight:800}.agenda-filter-v2 span{font-size:11px;color:#173e72;font-weight:800}.agenda-filter-v2 select{border:0!important;padding:0!important;min-height:22px!important;box-shadow:none!important;background:transparent!important;color:#49698e!important;font-size:12px!important}
.agenda-dashboard-grid-v2{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:14px;align-items:start}.agenda-timeline-card-v2,.agenda-side-card-v2{background:#fff;border:1px solid var(--dash-line);border-radius:15px;box-shadow:0 5px 18px rgba(35,77,120,.04)}.agenda-timeline-card-v2{padding:8px 16px 16px;min-height:610px}.agenda-timeline-v2{display:flex;flex-direction:column}.agenda-slot-v2{display:grid;grid-template-columns:76px 1fr;min-height:52px;align-items:start}.agenda-slot-v2>time{font-size:12px;color:#6684aa;padding-top:13px}.agenda-slot-v2:nth-child(2n)>time{font-weight:800;color:#123d72}.agenda-slot-content-v2{position:relative;min-height:52px;border-top:1px dashed #dbe6f1;padding:7px 0}.agenda-empty-line-v2{display:block;height:1px}.agenda-appointment-v2{width:100%;border:0;border-left:5px solid #13bdb3;border-radius:9px;background:linear-gradient(90deg,#e8fbfa,#f7fcfd);min-height:46px;padding:7px 12px;display:grid;grid-template-columns:minmax(180px,1.7fr) minmax(150px,1fr) 95px 98px 18px;align-items:center;gap:10px;color:#153f72;text-align:left;cursor:pointer}.agenda-appointment-v2.pending{border-left-color:#7f65f5;background:linear-gradient(90deg,#f1efff,#fbfaff)}.agenda-appointment-v2.cancelled{border-left-color:#ff6b6b;background:linear-gradient(90deg,#fff1f1,#fffafa)}.agenda-appointment-v2.done{border-left-color:#1ea86d;background:linear-gradient(90deg,#effbf4,#fbfefc)}.agenda-appt-main-v2 b{display:block;font-size:13px}.agenda-appt-main-v2 small{display:block;color:#55769c;font-size:11px;margin-top:2px}.agenda-appt-pro-v2{display:flex;align-items:center;gap:8px;font-size:11px;color:#41658f}.agenda-appt-pro-v2 i{width:29px;height:29px;border-radius:50%;background:#eaf1f8;display:grid;place-items:center;font-style:normal;font-weight:800;color:#315985}.agenda-appt-duration-v2{font-size:11px;color:#46688f}.agenda-appt-status-v2{justify-self:end;padding:6px 10px;border-radius:999px;background:#d5f8f4;color:#0b8e86;font-size:10px;font-weight:800}.pending .agenda-appt-status-v2{background:#fff0e6;color:#d56b20}.cancelled .agenda-appt-status-v2{background:#ffe6e6;color:#c94848}.done .agenda-appt-status-v2{background:#def7e8;color:#17865a}.agenda-appt-more-v2{font-size:20px;color:#2d588d}
.agenda-side-v2{display:flex;flex-direction:column;gap:12px}.agenda-side-card-v2{padding:14px}.agenda-card-head-v2{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.agenda-card-head-v2 h3{margin:0;font-size:18px;color:#0c356b}.agenda-card-head-v2 button{border:0;background:none;color:#0b63d8;font-size:11px;font-weight:700;cursor:pointer}.agenda-summary-content-v2{display:grid;grid-template-columns:145px 1fr;align-items:center;gap:10px}.agenda-donut-v2{--pct:0;width:118px;height:118px;border-radius:50%;margin:auto;display:grid;place-items:center;align-content:center;position:relative;background:conic-gradient(#10bdb3 calc(var(--pct)*1%),#ffd6b7 0)}.agenda-donut-v2:before{content:"";position:absolute;inset:11px;border-radius:50%;background:#fff}.agenda-donut-v2 strong,.agenda-donut-v2 span{position:relative;z-index:1}.agenda-donut-v2 strong{font-size:27px;color:#123d72}.agenda-donut-v2 span{font-size:11px;color:#6983a6}.agenda-summary-list-v2{display:flex;flex-direction:column;gap:10px}.agenda-summary-list-v2 div{display:grid;grid-template-columns:9px 20px 1fr 35px;align-items:center;gap:6px;font-size:11px;color:#365c88}.agenda-summary-list-v2 i{width:8px;height:8px;border-radius:50%}.agenda-summary-list-v2 i.confirmed{background:#10bdb3}.agenda-summary-list-v2 i.pending{background:#d96a14}.agenda-summary-list-v2 i.cancelled{background:#ff8f8f}.agenda-summary-list-v2 b{font-size:13px;color:#173f73}.agenda-summary-list-v2 em{font-style:normal;color:#6f89aa;text-align:right}
.agenda-next-turn-v2 button{width:100%;border:0;border-radius:11px;background:linear-gradient(100deg,#eafafa,#f8fbff);padding:12px;display:grid;grid-template-columns:70px 1fr 16px;align-items:center;text-align:left;color:#173e72;cursor:pointer}.agenda-next-turn-v2>button>strong{font-size:20px}.agenda-next-turn-v2 div b{display:block;font-size:13px}.agenda-next-turn-v2 div span{display:block;font-size:11px;color:#466b95;margin:1px 0 6px}.agenda-next-turn-v2 div small{color:#6684aa}.agenda-next-empty-v2{padding:18px;background:#f7fafc;border-radius:10px}.agenda-next-empty-v2 b,.agenda-next-empty-v2 span{display:block}.agenda-next-empty-v2 span{margin-top:4px;color:#7890ad;font-size:11px}
.agenda-quick-actions-v2{display:flex;flex-direction:column;gap:7px}.agenda-quick-actions-v2 button{border:1px solid #dfe8f3;background:#fff;border-radius:10px;padding:8px 9px;display:grid;grid-template-columns:40px 1fr 16px;gap:9px;align-items:center;text-align:left;color:#173f73;cursor:pointer}.agenda-quick-actions-v2 button>span{width:36px;height:36px;border-radius:10px;background:#eef5ff;color:#0b63d8;display:grid;place-items:center;font-weight:900}.agenda-quick-actions-v2 button:nth-child(2)>span{background:#f1efff;color:#765cf2}.agenda-quick-actions-v2 button:nth-child(3)>span{background:#e8faf8;color:#10a99f}.agenda-quick-actions-v2 b{display:block;font-size:12px}.agenda-quick-actions-v2 small{display:block;color:#7188a6;font-size:10px;margin-top:2px}.agenda-public-ready-v2{border:1px solid #d8e8f7;border-radius:15px;background:linear-gradient(100deg,#e8fbfa,#f1f0ff);padding:12px 14px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}.agenda-public-ready-v2>span{width:34px;height:34px;border-radius:10px;background:#d8f7f3;display:grid;place-items:center;color:#0aa79f;font-weight:900}.agenda-public-ready-v2 b{display:block;color:#113d73;font-size:12px}.agenda-public-ready-v2 small{display:block;color:#6582a5;font-size:10px;margin-top:2px}.agenda-public-ready-v2 button{border:1px solid #d8e3f0;background:#fff;border-radius:9px;padding:9px 12px;color:#15437b;font-size:10px;font-weight:800;cursor:pointer}.setup-checklist-v2{margin-top:14px!important}
/* Sidebar/topbar refinements matching the reference */
.sidebar{background:#fff!important;border-right:1px solid #e2eaf3!important}.brand{padding:22px 20px 14px!important}.sidebar-nav{padding:4px 16px 18px!important}.nav-section{font-size:10px!important;color:#6782a4!important;letter-spacing:.1em!important;margin:17px 12px 7px!important}.nav-item{border-radius:10px!important;min-height:44px!important;color:#21466f!important}.nav-item.active{background:#dff7f5!important;color:#123d72!important}.nav-icon{background:#e8faf8!important;color:#0cb7ad!important;border-radius:9px!important}.topbar{background:#fff!important;border-bottom:1px solid #e3ebf3!important;min-height:74px!important}.search input{border-color:#dfe7f0!important;border-radius:11px!important;background:#fff!important}.branch-top select{border:1px solid #dfe7f0!important;border-radius:11px!important;background:#fff!important;color:#173e72!important;font-weight:700!important}.trial-top-pill{height:31px!important;border-radius:999px!important;padding:0 9px!important;font-size:10px!important;box-shadow:none!important;background:#f0fbfa!important;border-color:#caefeb!important;color:#0a837d!important}
/* Trial modal */
.trial-welcome-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px}.trial-welcome-modal.hidden{display:none!important}.trial-welcome-backdrop{position:absolute;inset:0;background:rgba(7,29,54,.42);backdrop-filter:blur(3px)}.trial-welcome-card{position:relative;width:min(470px,calc(100vw - 32px));background:#fff;border-radius:22px;padding:28px;box-shadow:0 28px 75px rgba(10,42,75,.24);border:1px solid #e2ebf4;text-align:left}.trial-welcome-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;border:1px solid #e0e8f0;background:#fff;color:#55708f;font-size:21px;cursor:pointer}.trial-welcome-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e8faf8;color:#0a9e95;font-size:10px;font-weight:900;letter-spacing:.08em}.trial-welcome-card h2{font-size:25px;color:#0d376b;margin:14px 0 7px}.trial-welcome-card p{margin:0;color:#627e9e;line-height:1.55}.trial-welcome-days{display:flex;align-items:flex-end;gap:8px;margin:22px 0;padding:16px 18px;border-radius:14px;background:#f6fafc;border:1px solid #e3ebf3}.trial-welcome-days strong{font-size:34px;line-height:1;color:#0f807b}.trial-welcome-days span{font-size:12px;color:#6682a2;padding-bottom:3px;font-weight:700}.trial-welcome-actions{display:flex;gap:10px}.trial-welcome-actions>*{flex:1}
@media(max-width:1180px){.agenda-page-head-v2{grid-template-columns:1fr auto}.agenda-day-strip-v2{grid-column:1/-1}.agenda-dashboard-grid-v2{grid-template-columns:1fr}.agenda-side-v2{display:grid;grid-template-columns:repeat(2,1fr)}.agenda-public-ready-v2{grid-column:1/-1}}
@media(max-width:760px){#view-home.agenda-dashboard-v2{padding:14px 12px 24px!important}.agenda-page-head-v2{grid-template-columns:1fr}.agenda-new-turn-v2{width:100%}.agenda-day-strip-v2{grid-template-columns:36px repeat(5,minmax(54px,1fr)) 36px;gap:5px}.agenda-filter-row-v2{grid-template-columns:1fr}.agenda-dashboard-grid-v2{grid-template-columns:1fr}.agenda-side-v2{display:flex}.agenda-appointment-v2{grid-template-columns:1fr auto}.agenda-appt-pro-v2,.agenda-appt-duration-v2{display:none}.agenda-appt-status-v2{grid-column:2;grid-row:1/3}.agenda-appt-more-v2{display:none}.agenda-slot-v2{grid-template-columns:54px 1fr}.agenda-summary-content-v2{grid-template-columns:120px 1fr}.trial-welcome-actions{flex-direction:column}}


/* =========================================================
   GEROS TURNERO · PERÍODO DE PRUEBA · MODAL BIENVENIDA V4
   Modal de inicio para usuarios en prueba gratis.
   ========================================================= */
.trial-welcome-modal{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;padding:24px}
.trial-welcome-modal.hidden{display:none!important}
.trial-welcome-backdrop{position:absolute;inset:0;background:rgba(15,35,58,.42);backdrop-filter:blur(4px)}
.trial-start-card{position:relative;z-index:1;width:min(580px,calc(100vw - 32px));padding:34px 36px 30px;border-radius:34px;border:1px solid rgba(181,230,235,.95);background:linear-gradient(180deg,#fff 0%,#fbffff 100%);box-shadow:0 30px 90px rgba(5,33,62,.22),0 0 0 1px rgba(210,241,244,.6) inset;overflow:hidden;color:#0b2d69}
.trial-start-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;border:1px solid #dbe9f2;background:#fff;color:#6b81a0;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 10px rgba(12,51,83,.08)}
.trial-start-decor{position:absolute;border-radius:999px;pointer-events:none}
.trial-start-decor-top{right:-72px;top:-78px;width:260px;height:260px;background:radial-gradient(circle at 30% 35%,rgba(160,238,242,.72) 0,rgba(211,247,249,.62) 45%,rgba(211,247,249,0) 70%)}
.trial-start-decor-bottom{left:-110px;bottom:-120px;width:270px;height:270px;background:radial-gradient(circle at 66% 36%,rgba(144,233,240,.32) 0,rgba(144,233,240,.22) 34%,rgba(144,233,240,0) 68%)}
.trial-start-header{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}
.trial-start-logo{width:184px;max-width:56%;height:auto;display:block}
.trial-start-icon{width:112px;height:112px;border-radius:32px;display:grid;place-items:center;background:linear-gradient(145deg,#eefdfc,#ddf8f6);color:#08bdb4;box-shadow:0 16px 36px rgba(7,196,188,.12)}
.trial-start-icon svg{width:68px;height:68px;overflow:visible;filter:drop-shadow(0 8px 12px rgba(0,181,174,.15))}
.trial-start-sparkles{display:flex;gap:10px;justify-content:center;margin:4px 0 2px}
.trial-start-sparkles span{display:block;width:6px;border-radius:999px;background:#1ad4cb;transform-origin:center bottom}
.trial-start-sparkles span:nth-child(1){height:18px;transform:rotate(-26deg)}
.trial-start-sparkles span:nth-child(2){height:28px}
.trial-start-sparkles span:nth-child(3){height:18px;transform:rotate(26deg)}
.trial-start-card h2{position:relative;z-index:1;margin:0 0 12px!important;color:#082767!important;font-size:56px!important;line-height:1.05!important;letter-spacing:-.045em!important;font-weight:850!important;text-align:center}
.trial-start-card h2 span{font:inherit;color:inherit}
.trial-start-copy{position:relative;z-index:1;margin:0!important;color:#647c9d!important;font-size:18px;line-height:1.45;text-align:center}
.trial-start-ready{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:12px;margin:24px auto 18px;color:#0b918a;font-size:16px;font-weight:800;text-align:center}
.trial-start-ready-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#11c8bc;color:#fff;font-size:17px;font-weight:900;box-shadow:0 10px 20px rgba(17,200,188,.18)}
.trial-start-benefits{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:0;align-items:center;padding:0 4px;margin:0 auto 26px;min-height:54px;border-radius:18px;background:linear-gradient(90deg,#ecfbfb,#effafb);border:1px solid #d8efef;color:#0b8d87;font-size:15px;font-weight:800}
.trial-start-benefits span{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;text-align:center}
.trial-start-benefits span+span{border-left:1px solid #cde9e8}
.trial-start-benefits i{font-style:normal;font-size:17px;line-height:1}
.trial-start-cta{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:14px;width:100%;height:66px;border:0;border-radius:999px;background:linear-gradient(90deg,#08c3d7,#11cfb2);color:#fff;font-size:20px;font-weight:900;letter-spacing:-.02em;cursor:pointer;box-shadow:0 20px 42px rgba(6,197,184,.24)}
.trial-start-cta span{font-size:30px;line-height:1;font-weight:300;transform:translateY(-1px)}
.trial-start-footer{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px;color:#6e82a0;font-size:14px;text-align:center}
.trial-start-footer em{display:block;width:1px;height:14px;background:#d4e3ed;font-style:normal}
.trial-start-footer i{font-style:normal;margin-right:6px}

/* indicador superior: discreto como solicitaste */
.trial-top-pill{height:30px!important;padding:0 10px!important;border-radius:999px!important;border:1px solid #ccefeb!important;background:#effaf9!important;color:#09857f!important;font-size:10px!important;font-weight:850!important;box-shadow:none!important}
.trial-top-dot{width:6px!important;height:6px!important;box-shadow:none!important}

/* pequeños ajustes para acercar el dashboard a la referencia */
#view-home.agenda-dashboard-v2{padding-top:40px!important}
.agenda-page-head-v2 h1{font-size:36px!important;letter-spacing:-.035em!important}
.agenda-new-turn-v2{min-width:178px!important;height:58px!important;border-radius:12px!important}
.agenda-filter-row-v2{border-radius:14px!important;padding:12px!important}
.agenda-timeline-card-v2,.agenda-side-card-v2{border-radius:14px!important}

@media(max-width:760px){
 .trial-welcome-modal{padding:14px;align-items:end}
 .trial-start-card{width:100%;padding:26px 18px 22px;border-radius:28px}
 .trial-start-close{top:12px;right:12px;width:32px;height:32px;font-size:18px}
 .trial-start-logo{width:152px;max-width:64%}
 .trial-start-icon{width:84px;height:84px;border-radius:24px}.trial-start-icon svg{width:52px;height:52px}
 .trial-start-sparkles{margin-top:2px}.trial-start-sparkles span:nth-child(2){height:22px}.trial-start-sparkles span:nth-child(1),.trial-start-sparkles span:nth-child(3){height:15px}
 .trial-start-card h2{font-size:38px!important;margin-bottom:10px!important}
 .trial-start-copy{font-size:15px}
 .trial-start-ready{margin:18px auto 14px;font-size:14px;gap:9px}.trial-start-ready-icon{width:24px;height:24px;font-size:14px}
 .trial-start-benefits{grid-template-columns:1fr;min-height:0;padding:8px 0}.trial-start-benefits span{justify-content:flex-start;padding:10px 14px}.trial-start-benefits span+span{border-left:0;border-top:1px solid #d9efef}
 .trial-start-cta{height:58px;font-size:18px}.trial-start-cta span{font-size:28px}
 .trial-start-footer{gap:8px;font-size:12px}.trial-start-footer em{display:none}
}








/* V62 mobile agenda tuned via index.html overrides. */

/* ===== Margen lateral en todas las secciones (menú expandido o contraído) =====
   `.content{padding:0!important}` dejaba las vistas pegadas al borde del menú
   lateral y el botón de contraer tapaba las primeras letras. Inicio y
   Comunicaciones ya definen su propio espaciado. */
.content>.admin-view:not(#view-home):not(.communications-view){
  padding:30px 30px 40px 36px!important;
  box-sizing:border-box!important;
}
@media (max-width:980px){
  .content>.admin-view:not(#view-home):not(.communications-view){padding:24px 20px 34px!important}
}
@media (max-width:760px){
  .content>.admin-view:not(#view-home):not(.communications-view){padding:18px 14px 28px!important}
}

/* ===== Encabezados unificados en todas las secciones =====
   Mismo tamaño, color y tipografía para kicker, título y subtítulo. */
:root{--head-title-size:30px;--head-title-color:#0d2740;--head-sub-size:16px;--head-sub-color:#6f8498;--head-kicker-color:#078e86}
body .content .page-head h1,body .content .page-head h2,body .content .agenda-page-head-v2 h1,body .content .calendar-hero-geros h2,body .content .public-template-hub-head h2,body .content .wa-designer-title h2{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:var(--head-title-size)!important;font-weight:700!important;line-height:1.15!important;
  letter-spacing:normal!important;color:var(--head-title-color)!important;margin:2px 0 4px!important;
}
body .content .page-head p,body .content .agenda-page-head-v2 p,body .content .calendar-hero-geros p,body .content .public-template-hub-head p,body .content .wa-designer-title p{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:var(--head-sub-size)!important;font-weight:400!important;line-height:1.4!important;
  color:var(--head-sub-color)!important;margin:0!important;max-width:none!important;
}
body .content .page-head .eyebrow,body .content .agenda-page-head-v2 .eyebrow,body .content .calendar-hero-geros .eyebrow,body .content .public-template-hub-head .eyebrow,body .content .wa-designer-title .eyebrow{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:11px!important;font-weight:900!important;letter-spacing:1.4px!important;text-transform:uppercase!important;
  color:var(--head-kicker-color)!important;margin:0!important;line-height:1.3!important;
}
@media (max-width:760px){
  :root{--head-title-size:26px;--head-sub-size:14px}
}
@media (min-width:981px){body .content #view-home.agenda-dashboard-v2{padding-left:36px!important}}

/* ===== Página pública · opción B (tarjeta con vista previa + plantillas compactas) ===== */
.pub-b{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;min-width:0}
.pub-b>*{min-width:0}
.pub-b [hidden]{display:none!important}
.pub-b .public-template-hub-head{display:block}

/* Vista previa escalada (misma maqueta de siempre, ajustada al ancho disponible) */
.pub-b .pub-fit-box{position:relative;width:100%;overflow:hidden;aspect-ratio:560/330}
.pub-b .pub-fit{position:absolute;left:0;top:0;width:560px;height:330px;transform-origin:0 0}
.pub-b .pub-fit .landing-template-preview{width:560px!important;height:330px!important;padding:14px!important;box-sizing:border-box}
.pub-b .pub-fit .mini-sitebar span{display:inline!important}
.pub-b .pub-fit .mini-landing-hero{padding:18px!important}
.pub-b .pub-fit .mini-landing-hero strong{font-size:30px!important}

/* Tarjeta del link */
.pub-b .pub-b-hero{display:flex!important;align-items:center;gap:24px;padding:18px!important;border:1px solid #dbe6ee;border-radius:18px;background:#fff!important;box-shadow:none!important}
.pub-b .pub-b-thumb-wrap{width:250px;flex:0 0 250px}
.pub-b .pub-b-thumb.landing-template-card{display:block;border:1px solid #dbe6ee;border-radius:12px;box-shadow:none!important;transform:none!important;overflow:hidden}
.pub-b .pub-b-thumb .pub-fit-box{border-radius:12px}
.pub-b .pub-b-hero-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}
.pub-b .pub-b-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.pub-b .pub-b-label{font-size:11px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase;color:#078e86}
.pub-b .pub-b-current{font-size:14px;color:#566d83}.pub-b .pub-b-current b{color:#0d2740}
.pub-b .pub-b-url{font-size:20px;font-weight:700;color:#0d2740;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pub-b .pub-b-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Botones */
.pub-b .pub-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 16px;border:1px solid #dbe6ee;border-radius:10px;background:#fff;color:#0d2740;font:600 14px Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap}
.pub-b .pub-btn:hover{background:#f6fbfb;border-color:#c9dcdf;color:#0d2740}
.pub-b .pub-btn.pub-btn-primary{background:#0a9b92;border-color:#0a9b92;color:#fff;font-weight:700;padding:0 18px}
.pub-b .pub-btn.pub-btn-primary:hover{background:#088a82;border-color:#088a82;color:#fff}
.pub-b .pub-btn:focus-visible,.pub-b .pub-b-chips button:focus-visible{outline:3px solid rgba(10,155,146,.35);outline-offset:2px}

/* Título + filtros */
.pub-b .pub-b-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pub-b .pub-b-toolbar h3{margin:0;font-size:20px;font-weight:700;color:#0d2740}
.pub-b .pub-b-chips{display:flex;gap:8px;flex-wrap:wrap}
.pub-b .pub-b-chips button{height:44px;padding:0 18px;border:1px solid #dbe6ee;border-radius:999px;background:#fff;color:#0d2740;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
.pub-b .pub-b-chips button.active{background:#0a9b92;border-color:#0a9b92;color:#fff;font-weight:700}

/* Plantillas compactas, de a tres */
.pub-b .public-template-showcase{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.pub-b .landing-template-card{border-radius:16px;box-shadow:none}
.pub-b .landing-template-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,48,72,.10)}
.pub-b .public-template-showcase .landing-template-info{flex-direction:row;align-items:center;padding:14px 16px;gap:10px}
.pub-b .landing-template-info span{font-size:12px;letter-spacing:.06em;color:#566d83;font-weight:600;text-transform:none}
.pub-b .landing-template-info h3{font-size:17px;margin:0 0 2px;color:#0d2740}
.pub-b .landing-template-info p{display:none}
.pub-b .landing-template-info>b{display:inline-flex;align-items:center;height:44px;padding:0 14px;border-radius:10px;background:#e3f8f6;color:#067a73;font-size:14px;font-weight:700}
.pub-b .pub-b-empty{margin:0;padding:22px;border:1px dashed #c5d3de;border-radius:14px;background:#fff;color:#566d83;font-size:15px;text-align:center}

/* Ventana del QR */
.pub-b .pub-qr-modal{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(14,35,56,.55)}
.pub-b .pub-qr-card{width:min(380px,100%);box-sizing:border-box;padding:24px;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(8,27,48,.30);text-align:center}
.pub-b .pub-qr-card h3{margin:0 0 6px;font-size:20px;color:#0d2740}
.pub-b .pub-qr-card p{margin:0 0 16px;font-size:14px;color:#566d83;line-height:1.4}
.pub-b .pub-qr-box{display:flex;align-items:center;justify-content:center;min-height:236px;margin-bottom:18px;padding:8px;border:1px solid #dbe6ee;border-radius:12px;background:#fff}
.pub-b .pub-qr-box img,.pub-b .pub-qr-box canvas{max-width:100%;height:auto}
.pub-b .pub-qr-actions{display:flex;gap:10px;justify-content:center}

@media (max-width:1100px){
  .pub-b .public-template-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .pub-b .pub-b-hero{flex-direction:column;align-items:stretch;gap:16px}
  .pub-b .pub-b-thumb-wrap{width:100%;flex:none}
  .pub-b .pub-b-url{font-size:16px}
  .pub-b .pub-b-actions .pub-btn{flex:1 1 calc(50% - 10px)}
  .pub-b .public-template-showcase{grid-template-columns:minmax(0,1fr)}
  .pub-b .pub-b-chips{overflow-x:auto;flex-wrap:nowrap;width:100%;padding-bottom:4px}
  .pub-b .pub-b-chips button{flex:0 0 auto}
}


/* V57 · Serena Editorial en la galería */
.landing-template-card.serena .landing-template-preview{
  background:#f6f1e7;
  color:#25301c;
}
.landing-template-card.serena .mini-sitebar{
  background:#fbf8f1;
  color:#28301e;
  border-bottom:1px solid #ddd5c6;
}
.landing-template-card.serena .mini-sitebar i,
.landing-template-card.serena .mini-landing-hero button{
  background:#425529;
  color:#fff;
}
.landing-template-card.serena .mini-landing-hero{
  background:linear-gradient(105deg,#f5efe4 0 52%,#d6cbb6 52% 100%);
}
.landing-template-card.serena .mini-landing-hero strong{
  font-family:Georgia,"Times New Roman",serif;
  color:#202719;
  font-weight:500;
}
.landing-template-card.serena .mini-landing-hero small{color:#766d58}
.landing-template-card.serena .serena-photo{
  background:
    radial-gradient(circle at 65% 32%,rgba(255,255,255,.72),transparent 24%),
    linear-gradient(135deg,#b9b197,#e8dfcf 48%,#8b9470);
}
.landing-template-card.serena .mini-cards span{
  background:#f9f6ef;
  border-color:#dfd7c8;
}
