.adg-mc-box{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;margin:12px 0;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.adg-mc-muted{color:#667085;margin-top:-6px}.adg-mc-table-wrap{overflow-x:auto}.adg-mc-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.adg-mc-table th{background:#f8fafc;color:#0f2745;font-weight:800}.adg-mc-table th,.adg-mc-table td{border-bottom:1px solid #eef2f7;padding:12px;text-align:left;vertical-align:top}.adg-mc-table tr:last-child td{border-bottom:0}.adg-mc-note{width:100%;min-width:220px;border:1px solid #cbd5e1;border-radius:8px;padding:10px}.adg-mc-actions{min-width:260px}.adg-mc-action-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.adg-mc-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px!important;border-radius:9px!important;border:1px solid transparent!important;text-decoration:none!important;font-weight:800!important;line-height:1!important;cursor:pointer;box-shadow:0 2px 5px rgba(15,23,42,.08);opacity:1!important;visibility:visible!important}.adg-mc-btn-primary{background:#005bbb!important;color:#fff!important;border-color:#005bbb!important}.adg-mc-btn-light{background:#fff!important;color:#0f2745!important;border-color:#cbd5e1!important}.adg-mc-btn-wa{background:#25D366!important;color:#fff!important;border-color:#25D366!important}.adg-mc-wa-svg{width:20px;height:20px;display:block;flex:0 0 20px}.adg-mc-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0 16px}.adg-mc-filters label{display:flex;flex-direction:column;font-weight:700;font-size:13px;gap:4px}.adg-mc-filters input{min-height:40px;border:1px solid #cbd5e1;border-radius:7px;padding:8px 10px}.adg-mc-history-row td{background:#f8fafc}.adg-mc-history-list{margin:8px 0 0 18px}.adg-mc-pending{display:inline-block;padding:5px 10px;border-radius:999px;background:#fff7ed;color:#9a3412;font-weight:800}.adg-mc-clients-table th:nth-child(1){width:24%}.adg-mc-clients-table th:nth-child(2){width:18%}.adg-mc-clients-table th:nth-child(4){width:300px}@media(max-width:760px){.adg-mc-actions{min-width:210px}.adg-mc-btn span{display:none}.adg-mc-btn{padding:8px 10px!important}}


/* v0.1.5: UX de acciones y filtros */
.adg-mc-clients-table .adg-mc-actions{min-width:360px!important;width:360px!important;vertical-align:middle!important}
.adg-mc-clients-table .adg-mc-action-row{display:grid!important;grid-template-columns:1fr 1fr 1fr;gap:8px;align-items:center;flex-wrap:nowrap!important}
.adg-mc-clients-table .adg-mc-action-row .adg-mc-btn{width:100%!important;min-width:0!important;white-space:nowrap!important}
.adg-mc-filters{align-items:flex-end!important;gap:10px!important}
.adg-mc-filters .adg-mc-filter-btn{height:40px!important;min-width:92px!important;margin-bottom:0!important;opacity:1!important;visibility:visible!important;color:inherit!important}
.adg-mc-filters .adg-mc-btn-primary{color:#fff!important;background:#005bbb!important;border-color:#005bbb!important}
.adg-mc-filters .adg-mc-btn-light{color:#0f2745!important;background:#fff!important;border-color:#cbd5e1!important}
.adg-mc-table .adg-mc-btn-wa{min-width:124px!important}
.adg-mc-table .adg-mc-wa-svg{fill:currentColor!important}
@media(max-width:900px){.adg-mc-clients-table .adg-mc-actions{min-width:260px!important;width:auto!important}.adg-mc-clients-table .adg-mc-action-row{grid-template-columns:1fr}.adg-mc-btn span{display:inline!important}}


/* v0.1.6: acciones con iconos */
.adg-mc-btn-icon{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;border-radius:10px!important;font-size:18px!important}
.adg-mc-btn-icon span{display:inline!important;line-height:1!important}
.adg-mc-btn-icon .adg-mc-wa-svg{width:21px!important;height:21px!important}
.adg-mc-clients-table .adg-mc-actions{min-width:164px!important;width:164px!important}
.adg-mc-clients-table .adg-mc-action-row{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;align-items:center!important;justify-content:flex-start!important}
.adg-mc-clients-table .adg-mc-action-row .adg-mc-btn{width:42px!important;min-width:42px!important}
.adg-mc-table .adg-mc-btn-wa.adg-mc-btn-icon{min-width:42px!important;width:42px!important}
.adg-mc-saving{opacity:.65!important}
.adg-mc-saved{box-shadow:0 0 0 2px rgba(22,163,74,.22)!important}
@media(max-width:900px){.adg-mc-clients-table .adg-mc-actions{min-width:164px!important}.adg-mc-clients-table .adg-mc-action-row{flex-direction:row!important}.adg-mc-btn span{display:inline!important}}


/* v0.1.7: iconos más limpios y WhatsApp más ágil */
.adg-mc-svg-icon{width:20px!important;height:20px!important;display:block!important;flex:0 0 20px!important}
.adg-mc-btn-icon{transition:transform .12s ease, box-shadow .12s ease, background .12s ease!important}
.adg-mc-btn-icon:hover{transform:translateY(-1px)!important;box-shadow:0 6px 14px rgba(15,23,42,.16)!important}
.adg-mc-save-note{background:#0b5fff!important;border-color:#0b5fff!important;color:#fff!important}
.adg-mc-toggle-history{background:#ffffff!important;border-color:#cbd5e1!important;color:#334155!important}
.adg-mc-toggle-history:hover{background:#f8fafc!important;color:#0f2745!important}
.adg-mc-wa-icon,.adg-mc-send-reminder{background:#22c55e!important;border-color:#22c55e!important;color:#fff!important}

/* v0.1.8: landing Barber / SaaS */
.adg-mc-landing{padding:52px 26px;background:linear-gradient(135deg,#eef5fb 0%,#ffffff 100%);border-top:1px solid #d8e2ec;border-bottom:1px solid #d8e2ec}
.adg-mc-hero{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1.35fr .65fr;gap:28px;align-items:center}
.adg-mc-kicker{display:inline-flex;background:#0f2745;color:#fff;border-radius:999px;padding:7px 12px;font-weight:800;font-size:13px;letter-spacing:.02em;margin-bottom:14px}
.adg-mc-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.02;margin:0 0 14px;color:#07182c;font-weight:900;letter-spacing:-.04em}
.adg-mc-hero p{font-size:19px;line-height:1.55;color:#334155;max-width:720px;margin:0 0 24px}
.adg-mc-hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.adg-mc-hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border-radius:12px;font-weight:900;text-decoration:none!important;border:1px solid transparent;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.adg-mc-hero-btn-primary{background:#0b5fff;color:#fff!important;border-color:#0b5fff}
.adg-mc-hero-btn-light{background:#fff;color:#0f2745!important;border-color:#cbd5e1}
.adg-mc-hero-btn-outline{background:#0f2745;color:#fff!important;border-color:#0f2745}
.adg-mc-hero-card{background:#fff;border:1px solid #dbe4ee;border-radius:22px;padding:24px;box-shadow:0 20px 40px rgba(15,39,69,.12)}
.adg-mc-hero-card h3{margin:0 0 12px;font-size:22px;color:#0f2745}.adg-mc-hero-card ul{margin:0;padding:0;list-style:none}.adg-mc-hero-card li{padding:10px 0;border-bottom:1px solid #eef2f7;font-weight:750;color:#16283f}.adg-mc-hero-card li:before{content:'✓';display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#dcfce7;color:#166534;margin-right:8px;font-weight:900}.adg-mc-hero-card li:last-child{border-bottom:0}.adg-mc-signup-form{display:grid;gap:12px;max-width:680px}.adg-mc-signup-form label{display:grid;gap:6px;font-weight:800}.adg-mc-signup-form input{min-height:42px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;background:#f8fafc}
@media(max-width:860px){.adg-mc-hero{grid-template-columns:1fr}.adg-mc-landing{padding:34px 16px}.adg-mc-hero-actions .adg-mc-hero-btn{width:100%}}

/* v0.2.0: Inicio = Turnos con marca Barber + alta de cuenta */
.adg-mc-booking-page{min-height:100vh;background:#eef4f9;padding:0 0 46px;color:#07182c}
.adg-mc-booking-header{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border-bottom:1px solid #d8e2ec;padding:14px 7vw;position:relative;z-index:2}
.adg-mc-brand{display:flex;align-items:center;gap:18px}.adg-mc-brand-logo{width:116px;height:116px;object-fit:contain;display:block}.adg-mc-brand h1{font-size:24px;line-height:1.15;margin:0 0 4px;font-weight:900;color:#07182c}.adg-mc-brand p{margin:0;color:#475569;font-weight:650}.adg-mc-public-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.adg-mc-public-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px;border:1px solid #0f2745;border-radius:8px;text-decoration:none!important;color:#0f2745!important;background:#fff;font-weight:850}.adg-mc-public-actions .adg-mc-create-link{background:#0f2745;color:#fff!important}.adg-mc-bookly-shell{max-width:1060px;margin:0 auto;padding:34px 18px}.adg-mc-bookly-shell>h2{display:none}
.adg-mc-signup-page{max-width:980px;margin:34px auto;padding:0 18px}.adg-mc-signup-hero{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #dbe4ee;border-radius:20px;padding:18px;box-shadow:0 12px 28px rgba(15,39,69,.08);margin-bottom:18px}.adg-mc-signup-hero img{width:96px;height:96px;object-fit:contain}.adg-mc-signup-hero h1{margin:0 0 6px;font-size:34px;color:#07182c}.adg-mc-signup-hero p{margin:0;color:#475569;font-weight:650}.adg-mc-form-card{background:#fff;border:1px solid #dbe4ee;border-radius:16px;padding:18px;margin:14px 0;box-shadow:0 8px 20px rgba(15,39,69,.06)}.adg-mc-form-card h2{margin:0 0 14px;font-size:20px;color:#0f2745}.adg-mc-form-card h2 span{font-size:13px;color:#64748b;font-weight:700}.adg-mc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.adg-mc-services-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px 12px}.adg-mc-signup-form label{display:grid;gap:6px;font-weight:850;color:#0f2745}.adg-mc-signup-form input{min-height:42px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;background:#fff}.adg-mc-submit{width:100%;min-height:48px;border:0;border-radius:12px;background:#0b5fff;color:#fff;font-weight:950;cursor:pointer;box-shadow:0 10px 22px rgba(11,95,255,.2)}.adg-mc-alert{border-radius:14px;padding:14px 16px;font-weight:800;margin:14px 0}.adg-mc-alert-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.adg-mc-alert-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}
@media(max-width:820px){.adg-mc-booking-header{padding:12px 16px;align-items:flex-start;flex-direction:column}.adg-mc-brand-logo{width:82px;height:82px}.adg-mc-brand h1{font-size:20px}.adg-mc-public-actions{width:100%}.adg-mc-public-actions a{flex:1}.adg-mc-form-grid,.adg-mc-services-grid{grid-template-columns:1fr}.adg-mc-signup-hero{align-items:flex-start}.adg-mc-signup-hero img{width:74px;height:74px}}


/* v0.2.1: Login comercial + crear cuenta más consistente */
.adg-mc-login-page{min-height:100vh;background:#eef4f9;color:#07182c}
.adg-mc-login-shell{max-width:760px;margin:0 auto;padding:34px 18px}
.adg-mc-login-shell .adg-login-wrapper{min-height:auto!important;padding:18px 0 0!important;display:flex!important;justify-content:center!important;align-items:flex-start!important}
.adg-mc-login-shell .adg-login-card{max-width:480px!important;width:100%!important;border-radius:18px!important;box-shadow:0 12px 28px rgba(15,39,69,.10)!important;border:1px solid #dbe4ee!important;text-align:left!important}
.adg-mc-login-shell .adg-login-title{text-align:center!important;color:#07182c!important;font-size:26px!important;font-weight:900!important;margin-bottom:20px!important}
.adg-mc-login-shell .adg-login-card input{width:100%!important;min-height:46px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;padding:10px 12px!important;background:#fff!important;box-sizing:border-box!important}
.adg-mc-login-shell .adg-login-card button{width:100%!important;min-height:46px!important;border-radius:10px!important;background:#0b5fff!important;color:#fff!important;font-weight:900!important;border:0!important}
.adg-mc-signup-page{max-width:760px!important}
.adg-mc-signup-form{max-width:760px!important;width:100%!important}
.adg-mc-signup-form input{width:100%!important;box-sizing:border-box!important}
.adg-mc-form-grid{grid-template-columns:1fr!important}
.adg-mc-services-grid{grid-template-columns:1.5fr .75fr .75fr!important}
.adg-mc-signup-hero{align-items:center!important}
@media(max-width:820px){.adg-mc-services-grid{grid-template-columns:1fr!important}.adg-mc-login-shell{padding:18px 14px}.adg-mc-signup-page{margin:18px auto}.adg-mc-signup-hero{align-items:flex-start!important}}

/* v0.2.2: limpieza de títulos, login comercial y servicios dinámicos */
body:has(.adg-mc-booking-page) .entry-title,
body:has(.adg-mc-login-page) .entry-title,
body:has(.adg-mc-signup-page) .entry-title,
body:has(.adg-mc-booking-page) .page-title,
body:has(.adg-mc-login-page) .page-title,
body:has(.adg-mc-signup-page) .page-title{display:none!important}
.adg-mc-login-card-custom{max-width:520px;margin:0 auto;background:#fff;border:1px solid #dbe4ee;border-radius:20px;padding:24px;box-shadow:0 12px 28px rgba(15,39,69,.10)}
.adg-mc-login-card-custom>img{width:96px;height:96px;object-fit:contain;display:block;margin:0 auto 10px}
.adg-mc-login-card-custom h2{text-align:center;margin:0 0 6px;font-size:30px;line-height:1.15;color:#07182c;font-weight:950}
.adg-mc-login-card-custom p{text-align:center;margin:0 0 18px;color:#475569;font-weight:650;line-height:1.45}
.adg-mc-login-card-custom .login-username,
.adg-mc-login-card-custom .login-password,
.adg-mc-login-card-custom .login-remember,
.adg-mc-login-card-custom .login-submit{margin:0 0 12px!important}
.adg-mc-login-card-custom label{font-weight:850;color:#0f2745;display:block;margin-bottom:6px}
.adg-mc-login-card-custom input[type=text],
.adg-mc-login-card-custom input[type=password]{width:100%!important;box-sizing:border-box!important;min-height:46px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;padding:10px 12px!important;background:#fff!important}
.adg-mc-login-card-custom input[type=submit]{width:100%!important;min-height:48px!important;border:0!important;border-radius:12px!important;background:#0b5fff!important;color:#fff!important;font-weight:950!important;cursor:pointer!important;box-shadow:0 10px 22px rgba(11,95,255,.2)!important}
.adg-mc-login-foot{text-align:center;font-weight:800;color:#475569;margin-top:10px}.adg-mc-login-foot a{color:#0b5fff!important;text-decoration:none!important}
.adg-mc-services-list{display:grid;gap:10px}.adg-mc-service-row{display:grid;grid-template-columns:1.5fr .75fr .75fr 42px;gap:10px;align-items:end}.adg-mc-remove-service{height:42px;border-radius:10px;border:1px solid #fecaca;background:#fff;color:#991b1b;font-size:22px;font-weight:900;cursor:pointer}.adg-mc-add-service{margin-top:12px;min-height:42px;border-radius:10px;border:1px solid #0f2745;background:#fff;color:#0f2745;font-weight:900;cursor:pointer;padding:9px 14px}.adg-mc-add-service:hover{background:#f8fafc}
@media(max-width:820px){.adg-mc-service-row{grid-template-columns:1fr}.adg-mc-remove-service{width:100%}}


/* v0.2.3: login UX, profesional 2 clave y servicios alineados */
.adg-mc-login-page{background:#eef4f9!important;min-height:100vh!important;padding-bottom:46px!important}
.adg-mc-login-page .adg-mc-booking-header{min-height:auto!important;padding:14px 7vw!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid #d8e2ec!important}
.adg-mc-login-page .adg-mc-brand-logo{width:74px!important;height:74px!important;object-fit:contain!important}
.adg-mc-login-page .adg-mc-brand h1{font-size:24px!important;margin:0!important;line-height:1.15!important}
.adg-mc-login-page .adg-mc-brand p{margin:3px 0 0!important;font-weight:700!important;color:#475569!important}
.adg-mc-login-shell{max-width:760px!important;margin:0 auto!important;padding:38px 18px!important}
.adg-mc-login-card-custom{max-width:560px!important;margin:0 auto!important;background:#fff!important;border:1px solid #dbe4ee!important;border-radius:22px!important;padding:26px!important;box-shadow:0 16px 34px rgba(15,39,69,.12)!important;box-sizing:border-box!important}
.adg-mc-login-card-custom>img{width:92px!important;height:92px!important;object-fit:contain!important;display:block!important;margin:0 auto 12px!important}
.adg-mc-login-card-custom h2{text-align:center!important;margin:0 0 8px!important;font-size:30px!important;line-height:1.15!important;color:#07182c!important;font-weight:950!important}
.adg-mc-login-card-custom p{text-align:center!important;margin:0 0 22px!important;color:#475569!important;font-weight:650!important;line-height:1.45!important}
.adg-mc-login-card-custom .login-username,.adg-mc-login-card-custom .login-password,.adg-mc-login-card-custom .login-remember,.adg-mc-login-card-custom .login-submit{margin:0 0 14px!important}
.adg-mc-login-card-custom label{font-weight:850!important;color:#0f2745!important;display:block!important;margin-bottom:7px!important}
.adg-mc-login-card-custom input[type=text],.adg-mc-login-card-custom input[type=password]{width:100%!important;box-sizing:border-box!important;min-height:46px!important;border:1px solid #cbd5e1!important;border-radius:11px!important;padding:10px 12px!important;background:#fff!important}
.adg-mc-login-card-custom input[type=submit]{width:100%!important;min-height:48px!important;border:0!important;border-radius:12px!important;background:#0b5fff!important;color:#fff!important;font-weight:950!important;cursor:pointer!important;box-shadow:0 10px 22px rgba(11,95,255,.2)!important}
.adg-mc-services-list{display:grid!important;gap:12px!important;justify-items:center!important}
.adg-mc-service-row{width:100%!important;display:grid!important;grid-template-columns:minmax(220px,1.4fr) minmax(130px,.8fr) minmax(130px,.8fr) 52px!important;gap:10px!important;align-items:end!important}
.adg-mc-service-row label{width:100%!important;margin:0!important}
.adg-mc-service-row input{width:100%!important;min-height:42px!important;box-sizing:border-box!important}
.adg-mc-remove-service{width:52px!important;height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:10px!important;border:1px solid #fecaca!important;background:#fff!important;color:#b91c1c!important;cursor:pointer!important;padding:0!important}
.adg-mc-trash-icon{width:20px!important;height:20px!important;display:block!important}
.adg-mc-add-service{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:14px auto 0!important;min-height:42px!important;border-radius:10px!important;border:1px solid #0f2745!important;background:#fff!important;color:#0f2745!important;font-weight:900!important;cursor:pointer!important;padding:9px 16px!important}
@media(max-width:820px){.adg-mc-login-page .adg-mc-booking-header{padding:12px 16px!important;flex-direction:column!important;align-items:flex-start!important}.adg-mc-login-page .adg-mc-brand-logo{width:64px!important;height:64px!important}.adg-mc-service-row{grid-template-columns:1fr!important}.adg-mc-remove-service{width:100%!important}}

/* v0.2.4: servicios por profesional y formulario compacto */
.adg-mc-service-row{grid-template-columns:minmax(190px,1.35fr) minmax(115px,.65fr) minmax(115px,.65fr) minmax(150px,.85fr) 52px!important;align-items:end!important}
.adg-mc-service-row select{width:100%!important;min-height:42px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;padding:9px 10px!important;background:#fff!important;box-sizing:border-box!important}
.adg-mc-service-row .adg-mc-remove-service svg{pointer-events:none!important}
@media(max-width:920px){.adg-mc-service-row{grid-template-columns:1fr!important}.adg-mc-remove-service{width:100%!important}}

/* v0.2.6 */
.adg-mc-login-card-custom .adg-mc-forgot-form{display:grid;gap:12px;margin-top:14px}
.adg-mc-login-card-custom .adg-mc-forgot-form label{display:grid;gap:7px;font-weight:850;color:#0f2745}
.adg-mc-login-card-custom .adg-mc-forgot-form input{min-height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;background:#fff;width:100%;box-sizing:border-box}
.adg-mc-form-grid label{min-width:0}
.adg-mc-service-row .adg-mc-remove-service{display:flex;align-items:center;justify-content:center}

/* v0.3.3: panel profesional limpio, recordatorios compactos y notas por fecha */
body:has(.adg-pro-tab-btn) .entry-title,
body:has(.adg-pro-tab-btn) .page-title{display:none!important}
.adg-mc-table:not(.adg-mc-clients-table) th:last-child,
.adg-mc-table:not(.adg-mc-clients-table) td:last-child{width:92px!important;min-width:92px!important;max-width:92px!important;text-align:center!important;vertical-align:middle!important}
.adg-mc-table:not(.adg-mc-clients-table) td:last-child .adg-mc-btn{margin:0 auto!important}
.adg-mc-table:not(.adg-mc-clients-table) th:nth-child(4),
.adg-mc-table:not(.adg-mc-clients-table) td:nth-child(4){display:none!important}
.adg-mc-clients-table-v033 th:nth-child(1){width:24%!important}
.adg-mc-clients-table-v033 th:nth-child(2){width:18%!important}
.adg-mc-clients-table-v033 th:nth-child(3){width:auto!important}
.adg-mc-clients-table-v033 th:nth-child(4),
.adg-mc-clients-table-v033 .adg-mc-actions{width:164px!important;min-width:164px!important;text-align:center!important;vertical-align:middle!important}
.adg-mc-clients-table-v033 .adg-mc-action-row{justify-content:center!important}
.adg-mc-note-composer{display:grid!important;gap:8px!important;margin-bottom:12px!important}
.adg-mc-new-note{width:100%!important;min-width:220px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;padding:10px 12px!important;box-sizing:border-box!important;resize:vertical!important;background:#fff!important}
.adg-mc-add-note{width:max-content!important;min-height:36px!important;padding:8px 12px!important}
.adg-mc-notes-list{display:grid!important;gap:8px!important;max-height:260px!important;overflow:auto!important;padding-right:4px!important}
.adg-mc-note-entry{border:1px solid #e5e7eb!important;background:#f8fafc!important;border-radius:10px!important;padding:10px 12px!important}
.adg-mc-note-entry time{display:block!important;font-size:12px!important;font-weight:900!important;color:#475569!important;margin-bottom:5px!important}
.adg-mc-note-entry p{margin:0!important;line-height:1.4!important;color:#0f2745!important}
.adg-mc-history-printable h3{margin-top:0!important}
.adg-mc-history-printable h4{margin:14px 0 8px!important;color:#0f2745!important}
@media(max-width:900px){.adg-mc-clients-table-v033 th:nth-child(4),.adg-mc-clients-table-v033 .adg-mc-actions{width:150px!important;min-width:150px!important}.adg-mc-add-note{width:100%!important}}

/* v0.3.4: notas compactas en listado y edición desde historial */
.adg-mc-note-composer-compact{margin-bottom:6px!important}
.adg-mc-note-composer-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.adg-mc-note-feedback{font-size:13px!important;font-weight:800!important;color:#047857!important}
.adg-mc-notes-hint{margin:6px 0 0!important;font-size:13px!important}
.adg-mc-history-notes{display:grid!important;gap:8px!important;margin-top:8px!important}
.adg-mc-history-note .adg-mc-note-edit{width:100%!important;border:1px solid #cbd5e1!important;border-radius:10px!important;padding:10px 12px!important;box-sizing:border-box!important;margin-top:8px!important;background:#fff!important}
.adg-mc-note-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:10px!important}
.adg-mc-btn-danger{background:#fff!important;color:#b42318!important;border-color:#fda29b!important}
.adg-mc-clients-table-v033 .adg-mc-notes-cell{min-width:320px!important}
.adg-mc-clients-table-v033 .adg-mc-actions{vertical-align:middle!important;text-align:center!important}
.adg-mc-clients-table-v033 .adg-mc-action-row{justify-content:center!important}
@media print{.no-print,.adg-mc-note-actions,.adg-mc-note-edit{display:none!important}.adg-mc-note-entry{break-inside:avoid}}

/* v0.3.5: impresión limpia de historial */
@media print{button,input,select,textarea,.no-print,.adg-mc-note-actions,.adg-mc-note-edit{display:none!important}}


/* v0.3.7: observaciones compactas */
.adg-mc-observations-cell{min-width:260px!important;vertical-align:middle!important}
.adg-mc-observations-summary{display:flex!important;flex-direction:column!important;gap:3px!important;margin-bottom:10px!important;line-height:1.25!important}
.adg-mc-observations-summary strong{color:#0f2745!important;font-weight:900!important}
.adg-mc-note-feedback{display:block!important;margin-top:8px!important;font-size:12px!important;font-weight:800!important;color:#166534!important}
.adg-mc-note-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:none!important;align-items:center!important;justify-content:center!important;padding:18px!important}
.adg-mc-note-modal.is-open{display:flex!important}
.adg-mc-note-modal[aria-hidden="true"]{display:none!important}
.adg-mc-note-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.52)!important}
.adg-mc-note-modal-card{position:relative!important;width:min(560px,96vw)!important;background:#fff!important;border:1px solid #dbe4ee!important;border-radius:18px!important;box-shadow:0 24px 60px rgba(15,23,42,.26)!important;padding:22px!important;color:#07182c!important}
.adg-mc-note-modal-card h3{margin:0 32px 8px 0!important;font-size:24px!important;color:#07182c!important;font-weight:950!important}
.adg-mc-note-modal-card textarea{width:100%!important;box-sizing:border-box!important;min-height:130px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:12px!important;margin:12px 0!important;background:#fff!important}
.adg-mc-note-modal-close{position:absolute!important;right:14px!important;top:12px!important;width:34px!important;height:34px!important;border:0!important;border-radius:10px!important;background:#f1f5f9!important;color:#334155!important;font-size:24px!important;line-height:1!important;cursor:pointer!important}
.adg-mc-note-modal-card .adg-mc-note-composer-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;align-items:center!important}
.adg-mc-clients-table-v033 th:nth-child(3),.adg-mc-clients-table-v033 td:nth-child(3){width:32%!important}


/* v0.3.9: observaciones en una sola fila y CRUD de historial más limpio */
.adg-mc-clients-table-v033 td{vertical-align:middle!important}
.adg-mc-observations-cell{
  min-width:300px!important;
  vertical-align:middle!important;
}
.adg-mc-observations-cell{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.adg-mc-observations-summary{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.adg-mc-observations-summary .adg-mc-muted{
  margin:0!important;
  font-size:12px!important;
  color:#64748b!important;
}
.adg-mc-observations-cell .adg-mc-open-note-modal{
  min-height:32px!important;
  padding:7px 10px!important;
  border-radius:8px!important;
  white-space:nowrap!important;
}
.adg-mc-observations-cell .adg-mc-note-feedback{
  flex:0 0 100%!important;
  margin:0!important;
}
.adg-mc-history-note{
  position:relative!important;
  padding:12px!important;
}
.adg-mc-history-note .adg-mc-note-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin-top:8px!important;
  padding-top:8px!important;
  border-top:1px solid #e5e7eb!important;
}
.adg-mc-history-note .adg-mc-note-actions .adg-mc-btn{
  min-height:30px!important;
  padding:6px 9px!important;
  border-radius:8px!important;
  font-size:12px!important;
  box-shadow:none!important;
}
.adg-mc-history-note .adg-mc-note-text{
  padding-right:4px!important;
}
@media(max-width:900px){
  .adg-mc-observations-cell{display:block!important;min-width:220px!important}
  .adg-mc-observations-summary{margin-bottom:8px!important;white-space:normal!important}
}


/* v0.4.1 - plan selector */
.adg-mc-plan-options{display:grid;gap:12px}.adg-mc-plan-option{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #dbe3ef;border-radius:14px;background:#fff;cursor:pointer}.adg-mc-plan-option input{margin-top:4px}.adg-mc-plan-option strong{display:block;color:#0f172a}.adg-mc-plan-option span{display:block;color:#64748b;font-size:13px;margin-top:3px}.adg-mc-plan-option:has(input:checked){border-color:#0a74b9;box-shadow:0 0 0 3px rgba(10,116,185,.10)}

/* ADG Modo Comercial v0.4.2 - suscripción al final */
.adg-mc-billing-card{border-color:#bfd8f5!important;box-shadow:0 14px 32px rgba(10,116,185,.10)!important}
.adg-mc-plan-option{align-items:center!important;justify-content:space-between!important;gap:14px!important}
.adg-mc-plan-option input{width:20px!important;min-height:20px!important;flex:0 0 auto!important;margin:0!important}
.adg-mc-plan-copy{display:block!important;flex:1!important}
.adg-mc-plan-option b{font-size:16px;color:#0a74b9;white-space:nowrap}
.adg-mc-subscription-summary{margin:14px 0 18px;padding:14px 16px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff;display:grid;gap:4px}
.adg-mc-subscription-summary span{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:900}
.adg-mc-subscription-summary strong{font-size:18px;color:#0f2745}.adg-mc-subscription-summary em{font-style:normal;font-size:24px;color:#0a74b9;font-weight:950}.adg-mc-subscription-summary small{color:#64748b;font-weight:700}
.adg-mc-billing-title{margin:14px 0 12px;font-size:16px;color:#0f2745}.adg-mc-billing-note{margin-top:12px}.adg-mc-billing-note textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;background:#fff;resize:vertical}
@media(max-width:640px){.adg-mc-plan-option{align-items:flex-start!important}.adg-mc-plan-option b{white-space:normal}.adg-mc-subscription-summary em{font-size:20px}}

/* ADG Modo Comercial v0.4.3 - pagos ocultos/inactivos para pruebas */
.adg-mc-billing-collapsed{padding:0!important;overflow:hidden!important;border-style:dashed!important;box-shadow:none!important;background:#f8fafc!important}
.adg-mc-billing-collapsed summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;color:#0f2745;font-weight:900}
.adg-mc-billing-collapsed summary::-webkit-details-marker{display:none}
.adg-mc-billing-collapsed summary span{display:grid;gap:3px}
.adg-mc-billing-collapsed summary small{font-size:13px;color:#64748b;font-weight:700}
.adg-mc-billing-collapsed summary b{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;background:#e2e8f0;border-radius:999px;padding:7px 10px;white-space:nowrap}
.adg-mc-billing-collapsed summary:after{content:'Abrir';font-size:13px;color:#0a74b9;font-weight:900}
.adg-mc-billing-collapsed[open] summary:after{content:'Cerrar'}
.adg-mc-billing-inner{padding:0 20px 20px}
.adg-mc-subscription-disabled{background:#f1f5f9!important;border-color:#cbd5e1!important}
.adg-mc-subscription-disabled em{color:#475569!important}

/* ADG Modo Comercial v0.4.4 - usuarios visibles y pagos preparados */
.adg-mc-users-card .adg-mc-muted{margin-top:0;margin-bottom:12px}
.adg-mc-user-count-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.adg-mc-user-count-option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dbe3ef;border-radius:14px;background:#fff;cursor:pointer}
.adg-mc-user-count-option input{width:20px!important;min-height:20px!important;flex:0 0 auto!important;margin:0!important}
.adg-mc-user-count-option span{display:grid;gap:3px}
.adg-mc-user-count-option strong{color:#0f172a;font-size:15px}
.adg-mc-user-count-option small{color:#64748b;font-weight:700}
.adg-mc-user-count-option:has(input:checked){border-color:#0a74b9;box-shadow:0 0 0 3px rgba(10,116,185,.10)}
.adg-mc-plan-option-readonly{cursor:default!important}
.adg-mc-plan-option-readonly:has(input:checked){box-shadow:none!important}
@media(max-width:640px){.adg-mc-user-count-options{grid-template-columns:1fr}}

/* ADG Modo Comercial v0.4.5 - compacta tabla de clientes */
.adg-mc-clients-table-v033{
  table-layout:fixed!important;
}
.adg-mc-clients-table-v033 th:nth-child(1),
.adg-mc-clients-table-v033 td:nth-child(1){width:24%!important}
.adg-mc-clients-table-v033 th:nth-child(2),
.adg-mc-clients-table-v033 td:nth-child(2){width:18%!important}
.adg-mc-clients-table-v033 th:nth-child(3),
.adg-mc-clients-table-v033 td:nth-child(3){width:auto!important}
.adg-mc-clients-table-v033 th:nth-child(4),
.adg-mc-clients-table-v033 td:nth-child(4){width:180px!important;min-width:180px!important;max-width:180px!important}
.adg-mc-clients-table-v033 .adg-mc-notes-cell{min-width:0!important;white-space:normal!important}
.adg-mc-clients-table-v033 .adg-mc-observations-cell{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.adg-mc-clients-table-v033 .adg-mc-observations-summary{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:1 1 150px!important}
.adg-mc-clients-table-v033 .adg-mc-observations-summary strong{white-space:nowrap!important}
.adg-mc-clients-table-v033 .adg-mc-observations-summary .adg-mc-muted{margin:0!important;white-space:nowrap!important;font-size:12px!important}
.adg-mc-clients-table-v033 .adg-mc-open-note-modal{flex:0 0 auto!important;white-space:nowrap!important}
.adg-mc-clients-table-v033 .adg-mc-actions{width:180px!important;min-width:180px!important;max-width:180px!important;text-align:center!important}
.adg-mc-clients-table-v033 .adg-mc-action-row{justify-content:center!important;gap:8px!important;flex-wrap:nowrap!important}
.adg-mc-clients-table-v033 .adg-mc-action-row .adg-mc-btn{width:42px!important;min-width:42px!important;max-width:42px!important;padding-left:0!important;padding-right:0!important}
@media(max-width:900px){
  .adg-mc-clients-table-v033{table-layout:auto!important}
  .adg-mc-clients-table-v033 th:nth-child(4),
  .adg-mc-clients-table-v033 td:nth-child(4){width:160px!important;min-width:160px!important;max-width:none!important}
  .adg-mc-clients-table-v033 .adg-mc-observations-cell{min-width:280px!important}
}

/* ADG Modo Comercial v0.4.9 - opciones claras de Mercado Pago */
.adg-mc-payment-options{display:grid;gap:10px;margin:12px 0 18px}
.adg-mc-payment-option{display:flex;gap:10px;align-items:flex-start;border:1px solid #dbeafe;border-radius:14px;padding:12px;background:#fff;cursor:pointer}
.adg-mc-payment-option input{margin-top:4px}
.adg-mc-payment-option span{display:grid;gap:3px}
.adg-mc-payment-option strong{color:#0f2745;font-weight:900}
.adg-mc-payment-option small{color:#64748b;font-weight:700;line-height:1.35}
.adg-mc-payment-link{display:inline-block;margin-top:10px;padding:10px 14px;border-radius:10px;background:#0d6efd;color:#fff!important;text-decoration:none;font-weight:900}

/* ADG Modo Comercial v0.5.2 - UX suscripción SaaS */
.adg-mc-billing-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.adg-mc-billing-head h2{margin:0 0 6px!important}
.adg-mc-billing-head p{margin:0;color:#64748b;font-weight:700;line-height:1.45}
.adg-mc-mp-status{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:7px 12px;font-weight:900;font-size:12px;border:1px solid #dbeafe;background:#f8fafc;color:#334155}
.adg-mc-mp-ok{background:#ecfdf5!important;color:#047857!important;border-color:#bbf7d0!important}
.adg-mc-mp-warning{background:#fff7ed!important;color:#c2410c!important;border-color:#fed7aa!important}
.adg-mc-subscription-summary{border:1px solid #dbeafe;border-radius:16px;background:#f8fbff;padding:16px;margin:12px 0 16px;display:grid;gap:5px}
.adg-mc-subscription-summary span{text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:900;font-size:12px}
.adg-mc-subscription-summary strong{font-size:18px;color:#0f2745;font-weight:950}
.adg-mc-subscription-summary em{font-style:normal;color:#0d6efd;font-size:22px;font-weight:950}
.adg-mc-subscription-summary small{color:#64748b;font-weight:750;line-height:1.35}
.adg-mc-payment-options-v052{grid-template-columns:1fr 1fr}
.adg-mc-payment-options-v052 .adg-mc-payment-option{position:relative;padding:16px;border-radius:18px;align-items:center;min-height:92px;transition:.15s ease}
.adg-mc-payment-options-v052 .adg-mc-payment-option:hover{border-color:#93c5fd;box-shadow:0 8px 22px rgba(15,39,69,.07)}
.adg-mc-payment-options-v052 .adg-mc-payment-option input{width:20px;height:20px;margin:0}
.adg-mc-payment-recommended:after{content:'Recomendado';position:absolute;right:12px;top:10px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-weight:900;font-size:11px;padding:4px 8px}
.adg-mc-mp-inline{margin:4px 0 0!important;padding:10px 12px;border-radius:12px;font-weight:800;line-height:1.35}
@media (max-width:720px){.adg-mc-payment-options-v052{grid-template-columns:1fr}.adg-mc-billing-head{display:grid}.adg-mc-mp-status{justify-self:start}}


/* v0.5.5: buscador de clientes en panel profesional */
.adg-mc-client-search{margin:14px 0 14px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:14px!important;padding:12px!important}
.adg-mc-client-search label{display:block!important;font-weight:900!important;color:#0f2745!important;margin:0 0 7px!important}
.adg-mc-client-search-row{display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important}
.adg-mc-client-search-input{flex:1 1 280px!important;min-height:44px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;padding:10px 12px!important;background:#fff!important;box-sizing:border-box!important;font-weight:650!important;color:#0f2745!important}
.adg-mc-client-search-input:focus{outline:none!important;border-color:#0b5fff!important;box-shadow:0 0 0 3px rgba(11,95,255,.12)!important}
.adg-mc-client-search-count{margin:8px 0 0!important;font-size:13px!important;font-weight:800!important}
.adg-mc-client-no-results td{text-align:center!important;color:#64748b!important;font-weight:800!important;background:#f8fafc!important}
@media(max-width:760px){.adg-mc-client-search-row{display:grid!important;grid-template-columns:1fr!important}.adg-mc-client-search-clear{width:100%!important}}


/* ADG Modo Comercial v1.0.1 - checkbox de prueba alineado */
.adg-mc-terms-check{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  margin-top:14px!important;
  font-weight:900!important;
  color:#0f2745!important;
  line-height:1.35!important;
}
.adg-mc-terms-check input[type="checkbox"]{
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:0!important;
  padding:0!important;
  flex:0 0 18px!important;
  accent-color:#0b5fff!important;
}
@media(max-width:720px){
  .adg-mc-terms-check{align-items:flex-start!important}
}


/* ADG Modo Comercial v1.0.2 - banner activación suscripción */
.adg-mc-sub-banner{margin:14px 0 18px;padding:14px 16px;border-radius:14px;border:1px solid #bfdbfe;background:#eff6ff;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 8px 24px rgba(15,39,69,.06)}
.adg-mc-sub-banner strong{display:block;color:#0f2745;font-size:16px;margin-bottom:3px}.adg-mc-sub-banner p{margin:0;color:#475569;font-size:13px;line-height:1.35}.adg-mc-sub-banner--warn{background:#fffbeb;border-color:#fde68a}.adg-mc-sub-banner--danger{background:#fef2f2;border-color:#fecaca}.adg-mc-sub-btn{border:0;border-radius:10px;background:#0d6efd;color:#fff;font-weight:900;padding:11px 15px;cursor:pointer;white-space:nowrap}.adg-mc-sub-btn:hover{filter:brightness(.95)}.adg-mc-sub-error{margin-top:6px!important;color:#b91c1c!important;font-weight:800}.adg-mc-sub-action{margin:0}@media(max-width:760px){.adg-mc-sub-banner{align-items:stretch;flex-direction:column}.adg-mc-sub-btn{width:100%}}


/* v1.3.0 - Mi enlace y reserva directa por negocio */
.adg-mc-share-box{max-width:880px}.adg-mc-share-url{display:flex;gap:10px;align-items:center;margin:16px 0}.adg-mc-share-url input{flex:1;min-width:0;padding:12px 14px;border:1px solid #d7dfeb;border-radius:9px;background:#fff}.adg-mc-share-actions{display:flex;gap:10px;flex-wrap:wrap}.adg-mc-copy-feedback{min-height:20px;margin:8px 0 0;color:#08783e;font-weight:600}.adg-mc-selected-business{margin:0 0 16px;padding:14px 16px;border:1px solid #bdd4ff;border-radius:10px;background:#f3f7ff;display:flex;gap:8px;flex-direction:column}.adg-mc-selected-business strong{font-size:18px}.adg-mc-business-category-hidden{display:none!important}.adg-mc-booking-unavailable{max-width:720px;margin:40px auto;padding:28px;border:1px solid #e0e5ec;border-radius:12px;background:#fff;text-align:center}
@media(max-width:640px){.adg-mc-share-url{align-items:stretch;flex-direction:column}.adg-mc-share-url .adg-mc-btn{width:100%}}

/* v1.3.3: ocultar selector del negocio preseleccionado */
.adg-mc-business-category-hidden{display:none!important;}

/* v1.3.5 - enlaces individuales y filtro negocio/profesional */
.adg-mc-staff-links{margin-top:24px;padding-top:18px;border-top:1px solid #dbe4ef}
.adg-mc-staff-link-row{padding:14px 0;border-bottom:1px solid #edf2f7}
.adg-mc-staff-link-row:last-child{border-bottom:0}
.adg-mc-staff-link-row>strong{display:block;margin-bottom:8px}

/* v1.4.0-alpha - Configuración y servicios */
.adg-mc-config-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}
.adg-mc-config-nav{position:sticky;top:16px;background:#fff;border:1px solid #dbe4ee;border-radius:16px;padding:12px;box-shadow:0 8px 24px rgba(15,39,69,.07)}
.adg-mc-config-group-title{display:block;margin:10px 8px 6px;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#64748b;font-weight:900}
.adg-mc-config-section-btn{display:block;width:100%;border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:10px;color:#19324f;font-weight:800;cursor:pointer}
.adg-mc-config-section-btn:hover,.adg-mc-config-section-btn.is-active{background:#eaf4ff;color:#0966a8}
.adg-mc-config-section{display:none;min-width:0}.adg-mc-config-section.is-active{display:block}
.adg-mc-services-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.adg-mc-services-head h3{margin:0 0 5px}
.adg-mc-status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:900}.adg-mc-status-pill.is-active{background:#dcfce7;color:#166534}.adg-mc-status-pill.is-inactive{background:#f1f5f9;color:#64748b}
.adg-mc-service-modal{position:fixed;inset:0;z-index:1000000;display:none;align-items:center;justify-content:center;padding:18px}.adg-mc-service-modal.is-open{display:flex}.adg-mc-service-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55)}
.adg-mc-service-modal-card{position:relative;width:min(520px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:22px;box-shadow:0 25px 70px rgba(15,23,42,.28)}
.adg-mc-service-modal-card h3{margin:0 36px 18px 0}.adg-mc-service-modal-card label{display:grid;gap:6px;margin:13px 0;font-weight:800;color:#19324f}.adg-mc-service-modal-card input[type=text],.adg-mc-service-modal-card input[type=number],.adg-mc-service-modal-card select{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;background:#fff}
.adg-mc-service-active-label{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important}.adg-mc-service-modal-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:10px;background:#f1f5f9;font-size:24px;cursor:pointer}.adg-mc-service-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.adg-mc-sub-banner{padding:10px 14px!important;margin-bottom:12px!important}.adg-mc-sub-banner h3{font-size:15px!important;margin:0!important}.adg-mc-sub-banner p{margin:2px 0!important;font-size:12px!important}
@media(max-width:780px){.adg-mc-config-shell{grid-template-columns:1fr}.adg-mc-config-nav{position:static;display:flex;overflow-x:auto;gap:6px}.adg-mc-config-group-title{display:none}.adg-mc-config-section-btn{width:auto;white-space:nowrap}.adg-mc-services-head{flex-direction:column}.adg-mc-services-head .adg-mc-btn{width:100%}}

/* v1.4.0-rc1 - Pulido UX de Servicios */
.adg-mc-services-manager{padding:22px!important;border-radius:16px!important}
.adg-mc-services-head{padding-bottom:16px;border-bottom:1px solid #e8eef5;margin-bottom:18px}
.adg-mc-services-head h3{font-size:24px;line-height:1.2;color:#172b45}
.adg-mc-services-head .adg-mc-muted{max-width:720px;margin:0;color:#64748b;line-height:1.55}
.adg-mc-services-head .adg-mc-btn{min-height:44px;padding:0 18px;white-space:nowrap;border-radius:10px;box-shadow:0 6px 14px rgba(11,95,255,.15)}
.adg-mc-services-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;overflow:hidden;border:1px solid #dfe7f0;border-radius:14px;background:#fff}
.adg-mc-services-table th{background:#f7f9fc;color:#243b5a;font-size:13px;text-transform:none;letter-spacing:0;padding:14px 16px;border-bottom:1px solid #dfe7f0}
.adg-mc-services-table td{padding:15px 16px;vertical-align:middle;border-bottom:1px solid #edf1f5;color:#334155}
.adg-mc-services-table tr:last-child td{border-bottom:0}
.adg-mc-services-table tbody tr:hover{background:#fbfdff}
.adg-mc-services-table th:nth-child(1){width:36%}.adg-mc-services-table th:nth-child(2){width:16%}.adg-mc-services-table th:nth-child(3){width:18%}.adg-mc-services-table th:nth-child(4){width:16%}.adg-mc-services-table th:nth-child(5){width:14%;text-align:right}
.adg-mc-services-table td:nth-child(3){font-weight:800;color:#172b45;white-space:nowrap}
.adg-mc-services-table .adg-mc-actions{text-align:right;white-space:nowrap}
.adg-mc-service-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}
.adg-mc-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #cbd8e6;border-radius:9px;background:#fff;color:#17324f;font-size:18px;font-weight:800;cursor:pointer;transition:.15s ease}
.adg-mc-icon-btn:hover{background:#eef6ff;border-color:#90bce8;color:#075ea7;transform:translateY(-1px)}
.adg-mc-icon-btn-danger{color:#b42318;border-color:#f2c7c3}.adg-mc-icon-btn-danger:hover{background:#fff2f1;border-color:#e99c95;color:#9d1c13}
.adg-mc-service-feedback{display:none;margin:0 0 14px;padding:11px 14px;border-radius:10px;font-weight:800}
.adg-mc-service-feedback.is-success{display:block;background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}
.adg-mc-service-feedback.is-error{display:block;background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}
@media(max-width:780px){
 .adg-mc-services-manager{padding:14px!important}.adg-mc-services-table{table-layout:auto;min-width:650px}.adg-mc-services-head{align-items:stretch}.adg-mc-services-head .adg-mc-btn{width:100%}
}


/* v1.4.0-rc3 - Precio visible y acciones estables en Servicios */
.adg-mc-services-table th:last-child,
.adg-mc-services-table td:last-child{
  width:180px!important;
  min-width:180px!important;
  max-width:180px!important;
}
.adg-mc-services-table .adg-mc-actions{
  min-width:0!important;
  width:180px!important;
  max-width:180px!important;
  overflow:visible!important;
}
.adg-mc-services-table th:nth-child(3),
.adg-mc-services-table td:nth-child(3){
  width:180px!important;
  min-width:180px!important;
  max-width:none!important;
  overflow:visible!important;
  text-indent:0!important;
  white-space:nowrap!important;
  direction:ltr!important;
}
.adg-mc-services-table td:nth-child(3){padding-left:16px!important;padding-right:16px!important}
@media(max-width:780px){
  .adg-mc-services-table th:last-child,
  .adg-mc-services-table td:last-child,
  .adg-mc-services-table .adg-mc-actions{width:150px!important;min-width:150px!important;max-width:150px!important}
}

/* v1.4.3 - Clientes 2.0 */
.adg-mc-clients-table thead th{position:sticky;top:0;z-index:2;background:#f7f9fc}
.adg-mc-clients-table th:nth-child(1){width:24%}.adg-mc-clients-table th:nth-child(2){width:20%}.adg-mc-clients-table th:nth-child(3){width:24%}.adg-mc-clients-table th:nth-child(4){width:32%}
.adg-mc-observations-summary{display:flex;align-items:center;gap:8px}.adg-mc-observations-summary strong{white-space:nowrap}
.adg-mc-action-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap}
.adg-mc-client-edit-modal,.adg-mc-note-modal{position:fixed;inset:0;z-index:1000001;display:none!important;align-items:center;justify-content:center;padding:18px}.adg-mc-client-edit-modal.is-open,.adg-mc-note-modal.is-open{display:flex!important}
.adg-mc-client-modal-backdrop,.adg-mc-note-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58)}
.adg-mc-client-modal-card,.adg-mc-note-modal-card{position:relative;width:min(580px,96vw);max-height:88vh;overflow:auto;background:#fff;border-radius:18px;padding:22px;box-shadow:0 25px 70px rgba(15,23,42,.28)}
.adg-mc-client-modal-card label{display:grid;gap:6px;margin:13px 0;font-weight:800;color:#19324f}.adg-mc-client-modal-card input{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:11px 12px}
.adg-mc-client-modal-close,.adg-mc-history-modal-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:10px;background:#f1f5f9;font-size:24px;cursor:pointer}
.adg-mc-client-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.adg-mc-client-edit-feedback{min-height:20px;margin:10px 0 0;font-weight:800}.adg-mc-client-edit-feedback.is-ok{color:#08783e}
.adg-mc-modal-notes-list{margin:14px 0;max-height:330px;overflow:auto;padding-right:4px}.adg-mc-note-entry{padding:12px;border:1px solid #e2e8f0;border-radius:12px;margin:10px 0;background:#fbfdff}.adg-mc-note-entry time{font-size:12px;font-weight:800;color:#64748b}.adg-mc-note-entry p{margin:7px 0}
.adg-mc-history-row{position:fixed!important;inset:0;z-index:1000000;background:transparent}.adg-mc-history-row>td{padding:0!important;border:0!important}.adg-mc-history-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.58)}.adg-mc-history-modal-card{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,94vw);max-height:88vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 25px 70px rgba(15,23,42,.28)}
@media(max-width:760px){.adg-mc-action-row{gap:6px}.adg-mc-clients-table{min-width:760px}.adg-mc-client-modal-actions{flex-direction:column}.adg-mc-client-modal-actions .adg-mc-btn{width:100%}}

/* v1.4.4 - Ajustes finales Clientes 2.0 */
.adg-mc-client-kpis{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}
.adg-mc-client-kpi{
  display:grid;
  gap:3px;
  min-height:92px;
  padding:15px 17px;
  border:1px solid #dbe5ef;
  border-radius:14px;
  background:#f8fbff;
  box-sizing:border-box;
}
.adg-mc-client-kpi span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.adg-mc-client-kpi strong{font-size:28px;line-height:1.05;color:#0f2745}
.adg-mc-client-kpi small{font-size:11px;font-weight:700;color:#64748b}

.adg-mc-box > .adg-mc-table-wrap{
  max-height:620px;
  overflow:auto!important;
  border:1px solid #dfe7f0;
  border-radius:14px;
}
.adg-mc-clients-table-v033{
  width:100%!important;
  min-width:900px!important;
  table-layout:fixed!important;
  margin:0!important;
  border:0!important;
}
.adg-mc-clients-table-v033 thead th{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  background:#f7f9fc!important;
  box-shadow:0 1px 0 #dfe7f0;
}
.adg-mc-clients-table-v033 th:nth-child(1),
.adg-mc-clients-table-v033 td:nth-child(1){width:22%!important}
.adg-mc-clients-table-v033 th:nth-child(2),
.adg-mc-clients-table-v033 td:nth-child(2){width:18%!important}
.adg-mc-clients-table-v033 th:nth-child(3),
.adg-mc-clients-table-v033 td:nth-child(3){width:auto!important}
.adg-mc-clients-table-v033 th:nth-child(4),
.adg-mc-clients-table-v033 td:nth-child(4){
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.adg-mc-clients-table-v033 .adg-mc-actions{padding-left:8px!important;padding-right:8px!important}
.adg-mc-clients-table-v033 .adg-mc-action-row{
  display:grid!important;
  grid-template-columns:repeat(4,38px)!important;
  justify-content:center!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.adg-mc-clients-table-v033 .adg-mc-action-row .adg-mc-btn{
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.adg-mc-clients-table-v033 .adg-mc-observations-cell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
}
.adg-mc-empty-notes{display:grid;gap:3px;padding:12px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;color:#334155}
.adg-mc-empty-notes strong{font-size:14px}.adg-mc-empty-notes span{font-size:12px;color:#64748b;line-height:1.35}
.adg-mc-note-actions{display:flex!important;gap:7px!important;justify-content:flex-end!important;flex-wrap:wrap!important;margin-top:10px!important}
.adg-mc-note-actions .adg-mc-btn{min-height:32px!important;padding:6px 10px!important}
@media(max-width:760px){
  .adg-mc-client-kpis{grid-template-columns:1fr}
  .adg-mc-box > .adg-mc-table-wrap{max-height:70vh}
}


/* v1.4.5 - Clientes: email, notas en acciones e historial unificado */
.adg-mc-box > .adg-mc-table-wrap{
  max-height:none!important;
  overflow:visible!important;
  border:1px solid #dfe7f0;
  border-radius:14px;
}
.adg-mc-clients-table-v033 thead th{
  position:sticky!important;
  top:0!important;
  z-index:50!important;
  background:#f7f9fc!important;
}
.adg-mc-clients-table-v033 th:nth-child(1),.adg-mc-clients-table-v033 td:nth-child(1){width:22%!important}
.adg-mc-clients-table-v033 th:nth-child(2),.adg-mc-clients-table-v033 td:nth-child(2){width:19%!important}
.adg-mc-clients-table-v033 th:nth-child(3),.adg-mc-clients-table-v033 td:nth-child(3){width:auto!important}
.adg-mc-clients-table-v033 th:nth-child(4),.adg-mc-clients-table-v033 td:nth-child(4){width:232px!important;min-width:232px!important;max-width:232px!important}
.adg-mc-clients-table-v033 .adg-mc-action-row{grid-template-columns:repeat(5,38px)!important}
.adg-mc-email-cell{overflow-wrap:anywhere;color:#334155}
.adg-mc-note-feedback{display:block;font-size:12px;font-weight:800;color:#08783e;margin-top:4px}
.adg-mc-note-composer-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.adg-mc-history-notes .adg-mc-note-entry{background:#fbfdff}
@media(max-width:900px){
  .adg-mc-box > .adg-mc-table-wrap{overflow-x:auto!important;overflow-y:visible!important}
  .adg-mc-clients-table-v033{min-width:940px!important}
}

/* v1.5.0 - UX Refresh + Mi Enlace 2.0 */
.adg-mc-client-modal-close,.adg-mc-history-modal-close,.adg-mc-note-modal-close,.adg-mc-service-modal-close{
  right:16px!important;top:14px!important;width:36px!important;height:36px!important;
  display:grid!important;place-items:center!important;padding:0!important;border:1px solid #dbe4ee!important;
  border-radius:50%!important;background:#fff!important;color:#334155!important;font-size:0!important;
  line-height:1!important;box-shadow:0 4px 14px rgba(15,39,69,.09)!important;cursor:pointer!important;
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease!important;
}
.adg-mc-client-modal-close::before,.adg-mc-history-modal-close::before,.adg-mc-note-modal-close::before,.adg-mc-service-modal-close::before{content:'×';font-size:22px;font-weight:600;line-height:1}
.adg-mc-client-modal-close:hover,.adg-mc-history-modal-close:hover,.adg-mc-note-modal-close:hover,.adg-mc-service-modal-close:hover{background:#eef6ff!important;color:#075fb7!important;border-color:#9dc8ee!important;transform:scale(1.04)}

.adg-mc-links-v2{display:grid;gap:18px}
.adg-mc-links-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:22px;border:1px solid #dce7f2;border-radius:18px;background:linear-gradient(135deg,#f7fbff 0%,#fff 70%)}
.adg-mc-links-hero h3{margin:4px 0 8px;font-size:26px;color:#102a4a}.adg-mc-links-hero p{margin:0;color:#64748b;max-width:680px}
.adg-mc-links-eyebrow{display:inline-flex;padding:5px 9px;border-radius:999px;background:#e9f3ff;color:#075fb7;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.adg-mc-link-grid{display:grid;gap:16px}
.adg-mc-link-card{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:22px;padding:20px;border:1px solid #dce7f2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,39,69,.06)}
.adg-mc-link-card-main{min-width:0}.adg-mc-link-card h4{margin:8px 0 2px;font-size:21px;color:#0f2745}.adg-mc-link-card p{margin:0 0 14px;color:#64748b}
.adg-mc-link-type{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.adg-mc-link-url-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:center}.adg-mc-link-url-row input{width:100%;box-sizing:border-box;border:1px solid #cbd8e5;border-radius:10px;background:#f8fafc;padding:11px 12px;color:#334155}
.adg-mc-icon-action{width:42px;height:42px;border:1px solid #cbd8e5;border-radius:10px;background:#fff;color:#0f2745;font-size:21px;cursor:pointer}.adg-mc-icon-action:hover{background:#eef6ff;border-color:#9dc8ee}
.adg-mc-link-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.adg-mc-link-actions .adg-mc-btn{min-width:92px;justify-content:center}
.adg-mc-link-qr-panel{display:grid;align-content:center;justify-items:center;gap:10px;padding:12px;border-radius:14px;background:#f8fbff;border:1px solid #e0e9f2}.adg-mc-link-qr-panel img{width:145px;height:145px;border-radius:9px;background:#fff}.adg-mc-link-qr-panel .adg-mc-btn{width:100%;justify-content:center}
.adg-mc-copy-feedback{min-height:20px;margin:0;color:#08783e;font-weight:800}
@media(max-width:760px){.adg-mc-links-hero{display:grid}.adg-mc-link-card{grid-template-columns:1fr}.adg-mc-link-qr-panel{grid-template-columns:120px 1fr;justify-items:stretch;align-items:center}.adg-mc-link-qr-panel img{width:120px;height:120px}.adg-mc-link-actions .adg-mc-btn{flex:1}.adg-mc-links-hero>.adg-mc-btn{width:100%;justify-content:center}}

/* v1.5.1 - Enlaces, tablas y primera capa ADG para agenda */
.adg-mc-qr-title{display:block;text-align:center;color:#0f2745;font-size:13px;line-height:1.25}
.adg-mc-qr-help{display:block;text-align:center;color:#64748b;font-size:11px;line-height:1.3;margin-top:-4px}

.adg-mc-services-manager>.adg-mc-table-wrap{
  max-height:520px!important;
  overflow:auto!important;
  border:1px solid #dfe7f0!important;
  border-radius:14px!important;
}
.adg-mc-services-table{margin:0!important;table-layout:fixed!important}
.adg-mc-services-table thead th{
  position:sticky!important;top:0!important;z-index:25!important;
  background:#f7f9fc!important;box-shadow:0 1px 0 #dfe7f0!important;
}
.adg-mc-services-table th:last-child,.adg-mc-services-table td:last-child{width:132px!important;text-align:center!important}
.adg-mc-services-table .adg-mc-service-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.adg-mc-services-table .adg-mc-icon-btn{
  width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;
  display:grid!important;place-items:center!important;border-radius:10px!important;
  border:1px solid #cbd8e5!important;background:#fff!important;color:#15324f!important;
  font-size:18px!important;line-height:1!important;box-shadow:0 2px 7px rgba(15,39,69,.05)!important;
}
.adg-mc-services-table .adg-mc-icon-btn:hover{background:#eef6ff!important;border-color:#9dc8ee!important;color:#075fb7!important}
.adg-mc-services-table .adg-mc-icon-btn-danger{color:#c93636!important;border-color:#f1c5c5!important;background:#fffafa!important}
.adg-mc-services-table .adg-mc-icon-btn-danger:hover{background:#fff0f0!important;border-color:#e99898!important}

.adg-mc-box>.adg-mc-table-wrap{
  max-height:620px!important;
  overflow:auto!important;
  border:1px solid #dfe7f0!important;
  border-radius:14px!important;
}
.adg-mc-clients-table-v033{margin:0!important}
.adg-mc-clients-table-v033 thead th{
  position:sticky!important;top:0!important;z-index:60!important;
  background:#f7f9fc!important;box-shadow:0 1px 0 #dfe7f0!important;
}

.adg-mc-config-intro{margin:0 0 16px;padding:18px 20px;border:1px solid #dce7f2;border-radius:16px;background:linear-gradient(135deg,#f7fbff,#fff)}
.adg-mc-config-intro h3{margin:0 0 5px;color:#102a4a;font-size:23px}
.adg-mc-config-intro p{margin:0;color:#64748b;line-height:1.45}
.adg-mc-bookly-skin{padding:18px;border:1px solid #e1e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,39,69,.04)}
.adg-mc-bookly-skin button,.adg-mc-bookly-skin input,.adg-mc-bookly-skin select{border-radius:9px!important}
@media(max-width:760px){
 .adg-mc-services-manager>.adg-mc-table-wrap,.adg-mc-box>.adg-mc-table-wrap{max-height:70vh!important}
 .adg-mc-bookly-skin{padding:10px}
}

/* v1.5.2 - Sticky real, agenda ADG y QR imprimible */
.adg-mc-box > .adg-mc-table-wrap{
  position:relative!important;
  max-height:620px!important;
  overflow:auto!important;
  overscroll-behavior:contain;
}
.adg-mc-clients-table-v033{
  border-collapse:separate!important;
  border-spacing:0!important;
}
.adg-mc-clients-table-v033 thead{
  position:sticky!important;
  top:0!important;
  z-index:80!important;
}
.adg-mc-clients-table-v033 thead th{
  top:0!important;
  z-index:81!important;
  background:#f3f7fb!important;
  box-shadow:0 2px 0 #d8e2ec!important;
}

.adg-mc-bookly-tip{
  display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:14px 16px;
  border:1px solid #cfe1f3;border-radius:13px;background:#f4f9ff;color:#17314e;
}
.adg-mc-bookly-tip:before{content:'✓';display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#0868c9;color:#fff;font-weight:900}
.adg-mc-bookly-tip strong{display:block;font-size:14px}.adg-mc-bookly-tip span{display:block;margin-top:2px;color:#60748c;font-size:13px;line-height:1.4}
.adg-mc-schedule-ui > div:not(.adg-mc-bookly-tip){width:100%}
.adg-mc-schedule-ui table{width:100%!important;border-collapse:separate!important;border-spacing:0 10px!important}
.adg-mc-schedule-ui tr{background:#f8fbff!important}
.adg-mc-schedule-ui td{padding:12px 10px!important;border-top:1px solid #e0e9f2!important;border-bottom:1px solid #e0e9f2!important;vertical-align:middle!important}
.adg-mc-schedule-ui td:first-child{border-left:1px solid #e0e9f2!important;border-radius:12px 0 0 12px!important;font-weight:800!important;color:#17314e!important}
.adg-mc-schedule-ui td:last-child{border-right:1px solid #e0e9f2!important;border-radius:0 12px 12px 0!important}
.adg-mc-schedule-ui select,.adg-mc-schedule-ui input{min-height:42px!important;border:1px solid #cbd8e5!important;background:#fff!important;padding:8px 12px!important}
.adg-mc-schedule-ui button{min-height:40px!important;border:1px solid #b9c9d9!important;background:#fff!important;color:#17314e!important;font-weight:800!important;padding:8px 14px!important;box-shadow:0 2px 7px rgba(15,39,69,.05)!important}
.adg-mc-schedule-ui button:hover{background:#eef6ff!important;border-color:#8dbce7!important}
.adg-mc-days-off-ui .bookly-js-calendar,.adg-mc-days-off-ui .fc-view-container,.adg-mc-days-off-ui table{border-radius:14px!important;overflow:hidden!important}
.adg-mc-days-off-ui button{border-radius:10px!important;min-height:40px!important;border:1px solid #c5d3e1!important;background:#fff!important;color:#17314e!important;font-weight:800!important}
.adg-mc-days-off-ui td,.adg-mc-days-off-ui th{border-color:#e5ecf3!important}
.adg-mc-days-off-ui td:hover{background:#eef6ff!important;cursor:pointer!important}
@media(max-width:760px){
 .adg-mc-schedule-ui table{min-width:700px!important}.adg-mc-schedule-ui{overflow-x:auto!important}
}


/* v1.5.5 - sticky definitivo para Clientes */
.adg-mc-box > .adg-mc-table-wrap{
  position:relative!important;
  display:block!important;
  height:min(620px,70vh)!important;
  max-height:min(620px,70vh)!important;
  overflow-y:auto!important;
  overflow-x:auto!important;
  border-radius:14px!important;
  isolation:isolate!important;
}
.adg-mc-clients-table-v033{
  overflow:visible!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  margin:0!important;
}
.adg-mc-clients-table-v033 thead{
  display:table-header-group!important;
  position:static!important;
}
.adg-mc-clients-table-v033 thead th{
  position:-webkit-sticky!important;
  position:sticky!important;
  top:0!important;
  z-index:999!important;
  background:#f3f7fb!important;
  box-shadow:inset 0 -1px 0 #d8e2ec,0 2px 4px rgba(15,39,69,.08)!important;
}


/* v1.5.7 - restauración estable: Días libres nativo y encabezado visible */
.adg-mc-days-off-native{
  width:100%;
}
.adg-mc-days-off-native .adg-mc-bookly-tip,
.adg-mc-days-off-native .adg-mc-current-year-btn{
  display:none!important;
}
.adg-mc-clients-head-clone{display:none!important}
.adg-mc-clients-table-v033 .adg-mc-original-head{visibility:visible!important}
.adg-mc-box > .adg-mc-table-wrap{
  position:relative!important;
  display:block!important;
  max-height:min(620px,70vh)!important;
  overflow:auto!important;
  border:1px solid #dbe4ee!important;
  border-radius:14px!important;
}
.adg-mc-clients-table-v033{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  margin:0!important;
  overflow:visible!important;
}
.adg-mc-clients-table-v033 thead{
  display:table-header-group!important;
  visibility:visible!important;
  position:static!important;
}
.adg-mc-clients-table-v033 thead th{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  visibility:visible!important;
  background:#f3f7fb!important;
  color:#0f2745!important;
  box-shadow:inset 0 -1px 0 #d8e2ec!important;
}

/* v1.5.9: conservar el tab nativo de Bookly para Días libres, oculto en la barra principal. */
.adg-pro-tab-btn[data-adg-tab="dias-libres"]{display:none!important;}

/* v1.5.10 - Días libres dentro de la misma navegación visual de Configuración */
.adg-mc-config-nav a.adg-mc-config-section-btn,
.adg-mc-config-nav span.adg-mc-config-section-btn{
  text-decoration:none!important;
}
.adg-mc-native-days-shell{
  align-items:flex-start;
}
.adg-mc-native-days-content{
  min-width:0;
}
.adg-mc-native-days-content > *:first-child{
  margin-top:0!important;
}
@media (max-width:782px){
  .adg-mc-native-days-shell{
    display:block!important;
  }
  .adg-mc-native-days-shell .adg-mc-config-nav{
    margin-bottom:18px;
  }
}


/* v1.6.0-beta.1 - Directorio Provincia → Ciudad → Negocio */
.adg-mc-geo-directory{max-width:980px;margin:28px auto;padding:30px;border:1px solid #dfe7ef;border-radius:22px;background:#fff;box-shadow:0 18px 45px rgba(15,39,69,.08)}
.adg-mc-geo-intro{text-align:center;max-width:650px;margin:0 auto 24px}.adg-mc-geo-intro h2{margin:5px 0 8px;color:#0f2745}.adg-mc-geo-intro p{margin:0;color:#64748b}.adg-mc-geo-eyebrow{font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#2563eb}
.adg-mc-geo-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:720px;margin:0 auto 22px}.adg-mc-geo-filters label{font-weight:700;color:#334155}.adg-mc-geo-filters select{display:block;width:100%;margin-top:7px;min-height:48px;padding:0 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a}
.adg-mc-geo-hint,.adg-mc-geo-empty{text-align:center;padding:20px;color:#64748b;background:#f8fafc;border-radius:14px}.adg-mc-geo-result-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:8px 0 14px;color:#475569}.adg-mc-geo-result-head strong{color:#0f2745}
.adg-mc-business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.adg-mc-business-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border:1px solid #dfe7ef;border-radius:16px;background:#fff}.adg-mc-business-card h3{margin:0 0 5px;color:#0f2745;font-size:18px}.adg-mc-business-card p{margin:0;color:#64748b}.adg-mc-business-card a{white-space:nowrap;padding:11px 15px;border-radius:11px;background:#0f2745;color:#fff!important;text-decoration:none!important;font-weight:700}.adg-mc-bookly-shell-directory{display:none!important}
@media(max-width:700px){.adg-mc-geo-directory{padding:20px 15px;margin:18px auto}.adg-mc-geo-filters,.adg-mc-business-grid{grid-template-columns:1fr}.adg-mc-business-card{align-items:flex-start;flex-direction:column}.adg-mc-business-card a{width:100%;text-align:center}.adg-mc-geo-result-head{align-items:flex-start;flex-direction:column}}


/* v1.6.0-beta.4 - elección de pago únicamente al finalizar la prueba */
.adg-mc-payment-choice-form{display:grid!important;gap:14px;min-width:min(560px,100%)}
.adg-mc-payment-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.adg-mc-payment-choice{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:14px;border:1px solid #dbe4ee;border-radius:14px;background:#fff;cursor:pointer}
.adg-mc-payment-choice input{margin:0!important;width:18px!important;height:18px!important;min-height:18px!important}
.adg-mc-payment-choice span{display:grid;gap:3px}.adg-mc-payment-choice strong{color:#0f2745}.adg-mc-payment-choice small{color:#64748b;font-weight:700;line-height:1.3}
.adg-mc-payment-choice b{color:#0a74b9;white-space:nowrap}.adg-mc-payment-choice:has(input:checked){border-color:#0a74b9;box-shadow:0 0 0 3px rgba(10,116,185,.10)}
.adg-mc-payment-choice--annual{background:#f8fbff}
@media(max-width:760px){.adg-mc-payment-choice-grid{grid-template-columns:1fr}.adg-mc-payment-choice-form{min-width:0;width:100%}.adg-mc-payment-choice{grid-template-columns:auto 1fr}.adg-mc-payment-choice b{grid-column:2}}
