:root{--clinessy-green:#003f2b;--clinessy-green2:#006141;--clinessy-gold:#e6c477;--clinessy-cream:#fbfaf7;--clinessy-border:#ebe6db;--clinessy-text:#151c2b;--clinessy-muted:#677083;--clinessy-purple:#6b4ce6}.toplevel_page_clinessy-dashboard #wpcontent,.clinessy_page_clinessy-sales #wpcontent,.clinessy_page_clinessy-reservations #wpcontent,.clinessy_page_clinessy-agenda #wpcontent,.clinessy_page_clinessy-services #wpcontent,.clinessy_page_clinessy-branches #wpcontent,.clinessy_page_clinessy-users #wpcontent,.clinessy_page_clinessy-hr #wpcontent,.clinessy_page_clinessy-stock #wpcontent,.clinessy_page_clinessy-cash #wpcontent,.clinessy_page_clinessy-reports #wpcontent,.clinessy_page_clinessy-settings #wpcontent{padding-left:0}.clinessy-app{display:flex;min-height:100vh;background:var(--clinessy-cream);margin-left:-20px;color:var(--clinessy-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.clinessy-sidebar{width:255px;flex:0 0 255px;background:linear-gradient(180deg,#003f2b 0%,#003820 58%,#00291d 100%);padding:22px 16px;box-sizing:border-box;color:#fff;position:sticky;top:32px;min-height:calc(100vh - 32px)}.clinessy-logo{background:#fff;border-radius:18px;padding:18px;text-align:center;margin-bottom:22px;min-height:82px;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 14px 30px rgba(0,0,0,.08)}.clinessy-logo img{max-width:175px;max-height:72px;object-fit:contain}.clinessy-logo-text{font-size:32px;letter-spacing:7px;color:var(--clinessy-green);font-weight:700}.clinessy-nav{display:flex;align-items:center;gap:18px;color:#fff;text-decoration:none;padding:18px 22px;border-radius:0;margin:7px 0;font-weight:800;font-size:18px;line-height:1.1;letter-spacing:-.2px;transition:all .16s ease}.clinessy-nav .dashicons{width:24px;height:24px;font-size:24px;line-height:24px;flex:0 0 24px;color:currentColor}.clinessy-nav:hover,.clinessy-nav.active{background:linear-gradient(90deg,var(--clinessy-gold),#f3d98f);color:#0d1b18;border-radius:0 18px 18px 0;box-shadow:0 10px 26px rgba(0,0,0,.12);transform:translateX(-16px);padding-left:28px}.clinessy-help{border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:14px;margin-top:42px;color:#fff;display:flex;gap:10px;align-items:center}.clinessy-help .dashicons{color:var(--clinessy-gold)}.clinessy-main{flex:1;padding:26px 28px 34px}.clinessy-header{display:flex;align-items:start;justify-content:space-between;margin-bottom:22px}.clinessy-header h1{font-size:30px;line-height:1;margin:0;color:#172033;font-weight:800}.clinessy-header p{margin:5px 0 0;color:var(--clinessy-muted)}.clinessy-user{background:#fff;border:1px solid var(--clinessy-border);border-radius:999px;padding:11px 17px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.04)}.clinessy-notice{background:#e9f8f1;color:#006141;border:1px solid #bee8d3;border-radius:12px;padding:12px 16px;margin-bottom:16px;font-weight:700}.clinessy-filters{display:flex;gap:14px;margin-bottom:18px;align-items:center;justify-content:flex-end}.clinessy-filters form{display:flex;gap:12px;align-items:center}.clinessy-filters select,.clinessy-filters input{background:#fff;border:1px solid var(--clinessy-border);border-radius:11px;padding:10px 14px;min-width:180px}.clinessy-kpis{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:16px;margin-bottom:20px}.clinessy-card{background:#fff;border:1px solid var(--clinessy-border);border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(14,33,28,.045);margin-bottom:18px}.clinessy-card h2{margin:0 0 16px;font-size:19px;font-weight:800}.clinessy-card h3{margin:0 0 14px}.kpi{min-height:120px;position:relative}.kpi .dot{width:35px;height:35px;background:#f0dfbd;border-radius:50%;display:block;margin-bottom:8px;position:relative}.kpi .dot:after{content:"";position:absolute;width:9px;height:9px;background:#788392;border-radius:50%;left:0;top:0}.kpi h4{font-size:12px;text-transform:uppercase;margin:0 0 6px;color:#232a3b;font-weight:800}.kpi strong{font-size:27px;display:block;margin-bottom:6px}.kpi p{margin:0 0 8px;color:#3e4859}.kpi small{color:var(--clinessy-purple);font-weight:800}.clinessy-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}.clinessy-grid .wide{grid-column:span 2}.clinessy-list{margin:0;padding:0;list-style:none}.clinessy-list li{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f0eee9}.clinessy-list small{display:block;color:var(--clinessy-muted);margin-top:3px}.clinessy-chart-bars{display:flex;gap:18px;align-items:end;height:230px;padding:10px 0 0;border-bottom:1px solid #eee}.clinessy-chart-bars div{flex:1;text-align:center}.clinessy-chart-bars span{display:block;background:linear-gradient(180deg,#007a52,#d5c07f);border-radius:8px 8px 0 0;min-height:8px}.clinessy-chart-bars small{display:block;margin-top:8px;color:var(--clinessy-muted)}.clinessy-chart-bars b{display:block;font-size:11px}.clinessy-actions{background:#fff;border:1px solid var(--clinessy-border);border-radius:16px;padding:14px 18px;display:flex;gap:12px;margin-top:18px}.clinessy-form{display:grid;gap:14px}.clinessy-form.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.clinessy-form.reservation{grid-template-columns:1.1fr 1.1fr 1fr}.clinessy-form label{font-weight:700;color:#273044}.clinessy-form input,.clinessy-form select,.clinessy-form textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #dcdfe5;border-radius:10px;padding:10px 12px;margin-top:6px;background:#fff}.clinessy-form textarea{min-height:74px}.clinessy-form .full{grid-column:1/-1}.phone{display:grid;grid-template-columns:130px 1fr;gap:8px}.permissions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;background:#faf9f6;border:1px solid var(--clinessy-border);border-radius:14px;padding:14px}.permissions label{font-weight:600}.summary-box{background:#faf9f6;border:1px solid var(--clinessy-border);border-radius:14px;padding:16px;color:#505a6b}.form-actions{display:flex;gap:12px;justify-content:flex-end;border-top:1px solid var(--clinessy-border);padding-top:16px}.clinessy-table{width:100%;border-collapse:collapse}.clinessy-table th{background:#faf7ef;color:#556073;text-transform:uppercase;font-size:12px;text-align:left;padding:12px;border-bottom:1px solid var(--clinessy-border)}.clinessy-table td{padding:14px 12px;border-bottom:1px solid #f1f1f1}.badge{display:inline-block;background:#e8f8ef;color:#007146;border-radius:8px;padding:5px 9px;font-weight:800;font-size:12px}.badge.warn{background:#fff0d7;color:#a35c00}.clinessy-agenda{display:grid;grid-template-columns:70px repeat(6,minmax(170px,1fr));gap:0;background:#fff;border:1px solid var(--clinessy-border);border-radius:18px;overflow:auto}.hours{padding-top:55px;background:#fbfaf7;border-right:1px solid var(--clinessy-border)}.hours div{height:76px;border-bottom:1px solid #f0eee9;text-align:center;color:#5b6472;font-weight:700}.agenda-col{border-right:1px solid var(--clinessy-border);min-width:175px}.agenda-col h3{height:55px;margin:0;text-align:center;padding:10px;border-bottom:1px solid var(--clinessy-border);box-sizing:border-box}.agenda-col h3 small{display:block;color:#657083;font-weight:500}.agenda-empty{height:76px;border-bottom:1px solid #f0eee9;color:#9aa2ad;padding:8px;box-sizing:border-box}.agenda-event{height:76px;border-bottom:1px solid #f0eee9;border-radius:10px;margin:4px;padding:8px;box-sizing:border-box;overflow:hidden}.agenda-event b,.agenda-event span,.agenda-event small{display:block}.status-confirmed,.status-new,.status-scheduled{background:#e9f7ef;border:1px solid #9ed9b9}.status-attended,.status-sold{background:#eee8ff;border:1px solid #b8a7ff}.status-no_show,.status-cancelled,.status-lost{background:#ffeded;border:1px solid #ffb0b0}.status-rescheduled{background:#fff2dc;border:1px solid #ffc46b}.clinessy-footer{color:#8a92a0;font-size:12px;margin-top:24px}.muted{color:var(--clinessy-muted)}@media(max-width:1280px){.clinessy-kpis{grid-template-columns:repeat(3,1fr)}.clinessy-grid{grid-template-columns:1fr}.clinessy-grid .wide{grid-column:auto}.clinessy-form.reservation{grid-template-columns:1fr}}@media(max-width:900px){.clinessy-app{display:block}.clinessy-sidebar{position:relative;top:0;width:100%;min-height:auto}.clinessy-main{padding:18px}.clinessy-kpis,.clinessy-form.grid2{grid-template-columns:1fr}.permissions{grid-template-columns:1fr}.clinessy-actions{flex-wrap:wrap}.clinessy-filters{justify-content:flex-start;overflow:auto}}
.clinessy-danger-link{border-color:#dc2626!important;color:#dc2626!important;background:#fff!important}
.clinessy-danger-link:hover{background:#fee2e2!important;color:#991b1b!important}
.clinessy-branch-actions{display:flex;align-items:center;gap:10px;padding-top:2px}.clinessy-branch-submit{display:inline-flex!important;min-width:154px;min-height:42px;align-items:center;justify-content:center;gap:7px;margin:0!important;padding:0 18px!important;border:1px solid #6236cf!important;border-radius:8px!important;background:#6236cf!important;color:#fff!important;font-family:inherit!important;font-size:13px!important;font-weight:800!important;line-height:1!important;box-shadow:0 7px 16px rgba(98,54,207,.18)!important;cursor:pointer!important}.clinessy-branch-submit .dashicons{width:17px;height:17px;font-size:17px;line-height:17px}.clinessy-branch-submit:hover,.clinessy-branch-submit:focus{border-color:#5427bf!important;background:#5427bf!important;color:#fff!important;box-shadow:0 8px 18px rgba(84,39,191,.24)!important}.clinessy-branch-submit:focus{outline:3px solid rgba(98,54,207,.18)!important;outline-offset:2px}@media(max-width:600px){.clinessy-branch-actions{align-items:stretch;flex-direction:column}.clinessy-branch-actions .button{width:100%;justify-content:center}}


.clinessy-settings-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px 0;padding:10px;background:#fff;border:1px solid rgba(19,74,55,.12);border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.clinessy-settings-tab{display:inline-flex;align-items:center;padding:10px 14px;border-radius:14px;text-decoration:none;font-weight:700;color:#12402f;background:#f7f4ec;border:1px solid transparent}
.clinessy-settings-tab:hover{background:#efe8d9;color:#12402f}
.clinessy-settings-tab.active{background:#143f2e;color:#fff;border-color:#c6a25d}

.clinessy-sale-entry{max-width:560px;border-color:#e8d9bd;border-radius:28px;padding:28px 34px;box-shadow:0 18px 45px rgba(25,40,32,.05)}
.clinessy-sale-entry h2{font-size:24px;margin-bottom:24px}
.clinessy-sale-form{display:block}
.clinessy-sale-form label{display:block;margin-bottom:18px;font-size:16px;color:#354052;font-weight:800}
.clinessy-sale-form input,.clinessy-sale-form select,.clinessy-sale-form textarea{border-color:#d9c9ad;border-radius:18px;padding:16px 18px;font-size:18px;font-weight:700;margin-top:9px;min-height:56px}
.clinessy-sale-form textarea{min-height:118px;font-weight:500}
.clinessy-save-main{background:#00452f!important;border-color:#00452f!important;border-radius:14px!important;padding:8px 18px!important;font-size:16px!important;font-weight:800!important}
.simple-reservation{grid-template-columns:1fr 1fr 1fr;gap:28px}
.simple-reservation>div{background:#fff;border:1px solid #eee7db;border-radius:18px;padding:18px}
.projection-summary{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:12px 0 18px}
.projection-summary strong{background:#fff6da;border:1px solid #e9cf71;border-radius:12px;padding:10px 14px;font-size:18px}
.projection-summary span{background:#f6f4ef;border:1px solid var(--clinessy-border);border-radius:12px;padding:10px 14px;color:#465164;font-weight:700}
.projection-grid{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));border:1px solid var(--clinessy-border);border-radius:16px;overflow:auto;background:#fff}
.projection-day{border-right:1px solid var(--clinessy-border);min-width:170px;display:flex;flex-direction:column;min-height:420px}
.projection-day:last-child{border-right:0}
.projection-day h3{margin:0;text-align:center;background:#f7e7ee;padding:10px;font-size:15px;border-bottom:1px solid var(--clinessy-border)}
.projection-day h3 small{display:block;color:#5f6977;font-weight:700;margin-top:3px}
.projection-list{padding:8px;flex:1}
.projection-item{border:1px solid #dfece4;background:#effaf3;border-radius:10px;padding:8px;margin-bottom:8px}
.projection-item.inactive{background:#f4f4f4;border-color:#ddd;opacity:.65}
.projection-item strong,.projection-item span,.projection-item b,.projection-item small{display:block}
.projection-item strong{font-size:13px}
.projection-item span{color:#566174;margin:3px 0;font-size:12px}
.projection-item b{font-size:14px;color:#0b5138}
.projection-item small{font-size:11px;color:#707985;margin-top:3px}
.projection-empty{color:#99a1ad;text-align:center;padding:24px 6px;font-weight:700}
.projection-total{border-top:1px solid var(--clinessy-border);background:#faf7ef;padding:10px;text-align:center}
.projection-total span,.projection-total strong,.projection-total small{display:block}
.projection-total strong{font-size:16px;color:#0b5138}
@media(max-width:1280px){.simple-reservation{grid-template-columns:1fr}.projection-grid{grid-template-columns:repeat(7,170px)}}

.clinessy-frontend-fullscreen{
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #f6f2ea;
  overflow: auto;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Keep the complete service/pack action label visible at supported zoom levels. */
.service-create-choices details{min-width:290px}
.service-create-choices summary.button-primary{width:100%;min-width:290px;padding-left:14px!important;padding-right:10px!important;box-sizing:border-box;white-space:nowrap}
.service-create-choices summary.button-primary>.dashicons{flex:0 0 20px}
@media(max-width:700px){.service-create-choices details,.service-create-choices summary.button-primary{width:100%;min-width:0}}


/* Clinessy Core 2.0.24: contraste del botón Crear box. */
.box-editor-actions .button-primary,
.box-editor-actions .button-primary:hover,
.box-editor-actions .button-primary:focus {
  color:#fff!important;
}

/* Clinessy Core 2.0.19 - dashboard desktop inspirado en el mockup iOS */
.clinessy-dashboard-modern{
  gap:12px!important;
  color:#0f1f3a!important;
}
.clinessy-dashboard-modern .modern-topline{
  margin:0!important;
}
.clinessy-dashboard-modern .modern-topline h2{
  font-size:24px!important;
  font-weight:900!important;
  letter-spacing:0!important;
}
.clinessy-dashboard-modern .modern-topline p{
  color:#51617a!important;
  font-size:12px!important;
}
.clinessy-dashboard-modern .modern-kpi-row{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(136px,1fr))!important;
  gap:12px!important;
  margin:0!important;
}
.clinessy-dashboard-modern .modern-kpi,
.clinessy-dashboard-modern .modern-cash-strip,
.clinessy-dashboard-modern .modern-operational,
.clinessy-dashboard-modern .modern-next-step,
.clinessy-dashboard-modern .modern-card,
.clinessy-dashboard-modern .modern-footer-strip{
  border:1px solid #d9e1ec!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(15,23,42,.035)!important;
}
.clinessy-dashboard-modern .modern-kpi{
  min-height:88px!important;
  padding:13px!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:10px!important;
}
.clinessy-dashboard-modern .modern-kpi-icon{
  width:42px!important;
  height:42px!important;
  border-radius:12px!important;
}
.clinessy-dashboard-modern .modern-kpi small{
  color:#14284a!important;
  font-size:9px!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
}
.clinessy-dashboard-modern .modern-kpi strong{
  font-size:21px!important;
  margin:3px 0!important;
}
.clinessy-dashboard-modern .modern-kpi em{
  font-size:11px!important;
}
.clinessy-dashboard-modern .modern-cash-state{
  grid-template-columns:minmax(0,1.7fr) minmax(330px,.75fr)!important;
  gap:12px!important;
  margin:0!important;
}
.clinessy-dashboard-modern .modern-cash-strip,
.clinessy-dashboard-modern .modern-operational{
  padding:14px!important;
}
.clinessy-dashboard-modern .modern-next-step{
  margin:0!important;
  min-height:76px!important;
  padding:14px 16px!important;
  background:linear-gradient(135deg,#f3fff8 0%,#fffaff 100%)!important;
}
.clinessy-dashboard-modern .modern-main-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  gap:12px!important;
  margin:0!important;
}
.clinessy-dashboard-modern .modern-lower-grid{
  display:grid!important;
  grid-template-columns:minmax(260px,.85fr) minmax(260px,.75fr) minmax(360px,1.2fr)!important;
  gap:12px!important;
  margin:0!important;
}
.clinessy-dashboard-modern .modern-card{
  padding:14px!important;
  min-height:0!important;
}
.clinessy-dashboard-modern .modern-card-head{
  margin-bottom:12px!important;
  padding-bottom:0!important;
}
.clinessy-dashboard-modern .modern-card-head h3{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#12264b!important;
  font-size:15px!important;
  text-transform:none!important;
  letter-spacing:0!important;
  font-weight:900!important;
}
.clinessy-dashboard-modern .modern-card-head h3 .dashicons{
  color:#14325d!important;
  font-size:17px!important;
  width:17px!important;
  height:17px!important;
}
.clinessy-dashboard-modern .modern-card-head a{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  color:#0b6b45!important;
  font-size:12px!important;
  font-weight:900!important;
}
.agenda-today-card{
  min-height:282px!important;
}
.agenda-today-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  border:1px solid #e3e9f2!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#fbfcff!important;
  margin-bottom:14px!important;
}
.agenda-today-summary span{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  align-items:center!important;
  padding:11px 14px!important;
  border-right:1px solid #e3e9f2!important;
}
.agenda-today-summary span:last-child{
  border-right:0!important;
}
.agenda-today-summary i{
  grid-row:1/3!important;
  width:34px!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:11px!important;
  background:#eaf3ff!important;
  color:#1b79d5!important;
}
.agenda-today-summary span:nth-child(2) i{background:#eaf7ff!important;color:#2563eb!important}
.agenda-today-summary span:nth-child(3) i{background:#e9fbf1!important;color:#0b8f55!important}
.agenda-today-summary span:nth-child(4) i{background:#fff4e1!important;color:#f08219!important}
.agenda-today-summary b{
  color:#10203a!important;
  font-size:19px!important;
  line-height:1!important;
}
.agenda-today-summary small{
  color:#56647a!important;
  font-size:11px!important;
  font-weight:850!important;
}
.agenda-today-body{
  min-height:154px!important;
  display:grid!important;
}
.agenda-empty-state{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:150px!important;
  border:0!important;
  background:transparent!important;
  text-align:center!important;
  color:#23324a!important;
  padding:12px!important;
}
.agenda-empty-state>.dashicons{
  width:56px!important;
  height:56px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-bottom:8px!important;
  border-radius:18px!important;
  background:#f0e9ff!important;
  color:#7c3aed!important;
  font-size:32px!important;
}
.agenda-empty-state strong{
  color:#10203a!important;
  font-size:16px!important;
  font-weight:900!important;
}
.agenda-empty-state small{
  color:#60708a!important;
  font-size:12px!important;
  margin:3px 0 10px!important;
}
.agenda-empty-state .button{
  min-height:32px!important;
  border-radius:8px!important;
  padding:0 14px!important;
  background:#07543e!important;
  border-color:#07543e!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
}
.sales-week-card{
  min-height:282px!important;
}
.sales-week-card .modern-bars{
  position:relative!important;
  height:205px!important;
  padding:18px 10px 26px!important;
  border-bottom:0!important;
  background:repeating-linear-gradient(to bottom,transparent 0,transparent 49px,#dce4ee 50px,transparent 51px)!important;
  border-radius:8px!important;
}
.sales-week-card .modern-bars span{
  max-width:36px!important;
  min-width:26px!important;
  border-radius:9px 9px 0 0!important;
  background:linear-gradient(180deg,#cbdafe,#f4f7ff)!important;
}
.sales-week-card .modern-bars span.today{
  background:linear-gradient(180deg,#22a56d,#c6f0d7)!important;
}
.sales-week-card .modern-bars b{
  color:#0f2038!important;
  border-color:#dfe6ef!important;
  box-shadow:0 7px 16px rgba(15,23,42,.05)!important;
}
.sales-week-card .modern-bars small{
  bottom:-24px!important;
  color:#53627a!important;
}
.sales-week-empty{
  position:absolute!important;
  inset:56px 16px auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:8px!important;
  text-align:center!important;
  pointer-events:none!important;
}
.sales-week-empty .dashicons{
  width:54px!important;
  height:54px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:18px!important;
  background:#f1eaff!important;
  color:#7c3aed!important;
  font-size:30px!important;
}
.sales-week-empty strong{
  color:#10203a!important;
  font-size:13px!important;
}
.clinessy-dashboard-modern .modern-rank li{
  min-height:38px!important;
  padding:8px 0!important;
}
.clinessy-dashboard-modern .conversion-box strong{
  font-size:38px!important;
}
.clinessy-dashboard-modern .modern-alerts a{
  border-color:#f5cf94!important;
  background:#fff8ed!important;
  border-radius:8px!important;
}
.clinessy-dashboard-modern .modern-alerts .dashicons{
  background:#f59e0b!important;
  color:#fff!important;
}
.clinessy-dashboard-modern .modern-footer-strip{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  margin-top:0!important;
  overflow:hidden!important;
}
.clinessy-dashboard-modern .modern-footer-strip span{
  padding:12px 14px!important;
  grid-template-columns:40px minmax(0,1fr)!important;
}
.clinessy-dashboard-modern .modern-footer-strip i{
  width:36px!important;
  height:36px!important;
  border-radius:11px!important;
}
.clinessy-dashboard-modern .modern-footer-strip b{
  color:#66758c!important;
  font-size:10px!important;
}
.clinessy-dashboard-modern .modern-footer-strip strong{
  color:#10203a!important;
  font-size:19px!important;
}
@media(max-width:1500px){
  .clinessy-dashboard-modern .modern-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .clinessy-dashboard-modern .modern-cash-state,
  .clinessy-dashboard-modern .modern-main-grid,
  .clinessy-dashboard-modern .modern-lower-grid{grid-template-columns:1fr!important}
  .clinessy-dashboard-modern .modern-footer-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .clinessy-dashboard-modern .modern-kpi-row,
  .clinessy-dashboard-modern .modern-footer-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .agenda-today-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .agenda-today-summary span:nth-child(2){border-right:0!important}
  .agenda-today-summary span:nth-child(1),
  .agenda-today-summary span:nth-child(2){border-bottom:1px solid #e3e9f2!important}
  .sales-week-card .modern-bars{height:170px!important;gap:8px!important}
}

/* Clinessy Core 2.0.15 - cabecera movil como mockup */
@media(max-width:700px){
  .clinessy-app .clinessy-main{
    padding:132px 18px 118px!important;
    background:#f7f5fb!important;
  }
  body.admin-bar .clinessy-app .clinessy-main{
    padding-top:176px!important;
  }
  .clinessy-app .clinessy-mobile-app-brand{
    position:fixed!important;
    z-index:99970!important;
    top:0!important;
    left:0!important;
    right:0!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    height:92px!important;
    margin:0!important;
    padding:16px 18px 16px 130px!important;
    border-radius:0 0 28px 28px!important;
    background:linear-gradient(135deg,#063d31 0%,#073629 100%)!important;
    color:#fff!important;
    box-shadow:0 16px 34px rgba(6,61,49,.18)!important;
    box-sizing:border-box!important;
  }
  body.admin-bar .clinessy-app .clinessy-mobile-app-brand{
    top:46px!important;
  }
  .clinessy-app .clinessy-mobile-app-brand img{
    width:48px!important;
    height:48px!important;
    border-radius:15px!important;
    background:#fff!important;
    padding:5px!important;
    box-sizing:border-box!important;
  }
  .clinessy-app .clinessy-mobile-app-brand strong{
    font-size:29px!important;
    line-height:1!important;
    font-weight:850!important;
    letter-spacing:0!important;
  }
  .clinessy-app .clinessy-mobile-app-brand span{
    margin-left:auto!important;
    padding:10px 14px!important;
    border-radius:14px!important;
    background:#7c3aed!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:900!important;
  }
  .clinessy-app .clinessy-mobile-menu-button{
    position:fixed!important;
    z-index:99990!important;
    top:18px!important;
    left:18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:96px!important;
    height:56px!important;
    border-radius:22px!important;
    background:#fff!important;
    color:#07543e!important;
    border:0!important;
    box-shadow:0 14px 28px rgba(15,23,42,.14)!important;
  }
  body.admin-bar .clinessy-app .clinessy-mobile-menu-button{
    top:64px!important;
  }
  .clinessy-app .clinessy-mobile-menu-button:after{
    color:#07543e!important;
    font-size:14px!important;
    font-weight:900!important;
  }
  .clinessy-app .clinessy-header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    margin:0 0 24px!important;
    padding:0!important;
    background:transparent!important;
  }
  .clinessy-app .clinessy-header-title{
    grid-column:1!important;
    padding:0!important;
    margin:0!important;
    min-height:0!important;
    text-align:left!important;
  }
  .clinessy-app .clinessy-header h1{
    display:block!important;
    margin:0!important;
    font-size:39px!important;
    line-height:1.02!important;
    font-weight:900!important;
    color:#111827!important;
    letter-spacing:0!important;
  }
  .clinessy-app .clinessy-header p{
    display:block!important;
    margin:10px 0 0!important;
    max-width:100%!important;
    font-size:16px!important;
    line-height:1.25!important;
    color:#657083!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .clinessy-app .clinessy-global-search{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:4px 0 0!important;
  }
  .clinessy-app .clinessy-global-search input{
    height:70px!important;
    border-radius:25px!important;
    padding:0 18px 0 58px!important;
    font-size:21px!important;
    color:#111827!important;
    background:#fff!important;
    border:1px solid #edf0f5!important;
    box-shadow:0 14px 34px rgba(15,23,42,.07)!important;
  }
  .clinessy-app .clinessy-global-search .dashicons{
    left:20px!important;
    font-size:28px!important;
    width:28px!important;
    height:28px!important;
    color:#596172!important;
  }
  .clinessy-app .clinessy-header-controls{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
    width:100%!important;
    margin:0!important;
  }
  .clinessy-app .clinessy-notifications,
  .clinessy-app .clinessy-theme-toggle,
  .clinessy-app .clinessy-refresh-button,
  .clinessy-app .clinessy-top-new-reservation{
    position:static!important;
    grid-row:1!important;
    width:100%!important;
    height:96px!important;
    min-width:0!important;
    min-height:96px!important;
    padding:14px 4px 12px!important;
    border-radius:24px!important;
    box-sizing:border-box!important;
  }
  .clinessy-app .clinessy-notifications{grid-column:1!important}
  .clinessy-app .clinessy-theme-toggle{grid-column:2!important}
  .clinessy-app .clinessy-refresh-button{grid-column:3!important}
  .clinessy-app .clinessy-top-new-reservation{grid-column:4!important}
  .clinessy-app .clinessy-notifications,
  .clinessy-app .clinessy-theme-toggle,
  .clinessy-app .clinessy-refresh-button{
    background:#fff!important;
    color:#07543e!important;
    border:1px solid #eef1f5!important;
    box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
  }
  .clinessy-app .clinessy-top-new-reservation{
    background:#07543e!important;
    color:#fff!important;
    border:0!important;
    box-shadow:0 15px 30px rgba(7,84,62,.22)!important;
    text-decoration:none!important;
  }
  .clinessy-app .clinessy-notifications,
  .clinessy-app .clinessy-notification-trigger,
  .clinessy-app .clinessy-theme-toggle,
  .clinessy-app .clinessy-refresh-button,
  .clinessy-app .clinessy-top-new-reservation{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    overflow:visible!important;
    font-size:12px!important;
    line-height:1.1!important;
    font-weight:850!important;
    text-align:center!important;
  }
  .clinessy-app .clinessy-notification-trigger{
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-width:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    border-radius:0!important;
    color:#07543e!important;
  }
  .clinessy-app .clinessy-notification-trigger:after{
    content:"Notificaciones";
    display:block;
    margin-top:8px;
    color:#596172;
    font-size:11px;
    font-weight:850;
  }
  .clinessy-app .clinessy-notification-trigger b{
    right:13px!important;
    top:-4px!important;
  }
  .clinessy-app .clinessy-theme-toggle{
    font-size:0!important;
  }
  .clinessy-app .clinessy-theme-toggle:after{
    content:"Tema";
    display:block;
    color:#596172;
    font-size:12px;
    font-weight:850;
  }
  .clinessy-app .clinessy-refresh-button{
    font-size:0!important;
  }
  .clinessy-app .clinessy-refresh-button:after{
    content:"Actualizar";
    display:block;
    color:#596172;
    font-size:12px;
    font-weight:850;
  }
  .clinessy-app .clinessy-top-new-reservation{
    font-size:0!important;
  }
  .clinessy-app .clinessy-top-new-reservation:after{
    content:"Nueva reserva";
    display:block;
    color:#fff;
    font-size:11px;
    font-weight:900;
  }
  .clinessy-app .clinessy-notification-trigger .dashicons,
  .clinessy-app .clinessy-refresh-button .dashicons,
  .clinessy-app .clinessy-top-new-reservation .dashicons{
    font-size:32px!important;
    width:32px!important;
    height:32px!important;
    margin:0!important;
  }
  .clinessy-app .clinessy-theme-toggle{
    color:#07543e!important;
    font-size:28px!important;
  }
  .clinessy-app .clinessy-user{
    grid-column:1/-1!important;
    grid-row:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    height:66px!important;
    min-width:0!important;
    margin:0!important;
    padding:10px 18px!important;
    border-radius:24px!important;
    background:#fff!important;
    border:1px solid #eef1f5!important;
    color:#111827!important;
    box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
    font-size:15px!important;
    font-weight:900!important;
    box-sizing:border-box!important;
  }
  .clinessy-app .clinessy-user a{
    margin-left:auto!important;
    color:#07543e!important;
    font-size:15px!important;
    font-weight:900!important;
    text-decoration:none!important;
  }
  .clinessy-app .clinessy-last-updated{
    display:none!important;
  }
  .clinessy-app .clinessy-dashboard-modern .modern-topline{
    margin-top:2px!important;
    padding:24px 20px!important;
    border-radius:26px!important;
  }
}

/* Usuarios y accesos 0.2.41 */
.users-directory-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 18px 0}
.users-directory-heading h3{margin:0;color:#171b31;font-size:20px;line-height:1.2}
.users-directory-heading p{margin:5px 0 0;color:#747b8f;font-size:11px}
.clinessy-frontend-fullscreen .clinessy-app{min-height:100vh;margin:0;}
.clinessy-login-box{
  max-width: 440px;
  margin: 12vh auto;
  padding: 34px;
  border-radius: 24px;
  background: #fffaf2;
  border: 1px solid rgba(198,161,91,.35);
  box-shadow: 0 22px 60px rgba(15,46,36,.12);
  text-align: center;
}
.clinessy-login-box h2{margin:0 0 8px;color:#123d32;font-size:28px;}
.clinessy-login-box p{color:#59645f;margin-bottom:22px;}
.projection-controls{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  gap:10px;
  margin:14px 0 18px;
  padding:12px;
  background:#fbf8f1;
  border:1px solid rgba(198,161,91,.22);
  border-radius:16px;
}
.projection-controls label{display:flex;flex-direction:column;gap:4px;font-weight:700;color:#123d32;}
.projection-controls input[type="date"]{min-height:38px;border:1px solid #ddcfb2;border-radius:10px;padding:0 10px;background:#fff;}

.clinessy-dashboard-top{display:flex;justify-content:flex-end;margin:-58px 0 28px;pointer-events:none}.clinessy-top-actions{display:flex;gap:16px;align-items:center;pointer-events:auto}.clinessy-top-actions select{background:#fff;border:1px solid #e4e8f0;border-radius:10px;padding:14px 52px 14px 18px;font-weight:700;color:#2d3748}.clinessy-top-actions>.dashicons{background:#fff;border:1px solid #e4e8f0;border-radius:10px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#667085}.clinessy-bell{position:relative}.clinessy-bell b{position:absolute;right:-6px;top:-8px;background:#ef3f85;color:#fff;border-radius:999px;min-width:18px;height:18px;font-size:11px;display:flex;align-items:center;justify-content:center}.clinessy-dash-kpis{display:grid;grid-template-columns:1.15fr 1.1fr 1.45fr 1.1fr 1fr;gap:18px;margin-bottom:20px}.dash-card{background:#fff;border:1px solid #e7eaf0;border-radius:14px;padding:20px;box-shadow:0 7px 22px rgba(15,23,42,.04)}.dash-kpi{display:grid;grid-template-columns:56px 1fr;gap:16px;min-height:128px}.dash-icon{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center}.dash-icon .dashicons{font-size:25px;width:25px;height:25px;color:#fff}.dash-kpi.pink .dash-icon{background:#f53f87}.dash-kpi.blue .dash-icon{background:#d8edff}.dash-kpi.blue .dash-icon .dashicons{color:#1684d8}.dash-kpi.green .dash-icon{background:#c9f3dc}.dash-kpi.green .dash-icon .dashicons{color:#06924f}.dash-kpi.orange .dash-icon{background:#ffe1c7}.dash-kpi.orange .dash-icon .dashicons{color:#f47920}.dash-kpi.purple .dash-icon{background:#efe7ff}.dash-kpi.purple .dash-icon .dashicons{color:#874ee9}.dash-kpi h4{font-size:12px;color:#344054;font-weight:900;text-transform:uppercase;margin:0 0 6px}.dash-kpi strong{font-size:28px;line-height:1;display:block;color:#111827;letter-spacing:-.8px}.dash-kpi p{margin:10px 0 8px;color:#667085;font-weight:600}.mini-progress{height:8px;background:#edf0f4;border-radius:999px;overflow:hidden;display:inline-block;width:78%;vertical-align:middle}.mini-progress span{display:block;height:100%;background:#ef3f85;border-radius:999px}.dash-kpi small{margin-left:9px;color:#667085;font-weight:800}.sparkline{height:46px;display:flex;align-items:end;gap:8px;margin-top:10px}.sparkline span{display:block;width:24px;border-radius:999px;background:#0fa35c}.sparkline span:nth-child(1){height:12px}.sparkline span:nth-child(2){height:18px}.sparkline span:nth-child(3){height:26px}.sparkline span:nth-child(4){height:31px}.sparkline span:nth-child(5){height:42px}.clinessy-dash-main{display:grid;grid-template-columns:1.25fr 1.18fr 1.25fr;gap:20px;margin-bottom:20px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-head h2{margin:0;font-size:17px;text-transform:uppercase;color:#1f2937;display:flex;gap:8px;align-items:center}.section-head a{font-weight:700;text-decoration:none;color:#1580d8}.agenda-row{display:grid;grid-template-columns:58px 12px 1fr;align-items:center;gap:10px;margin:9px 0}.agenda-row time{color:#344054;font-weight:700}.state-dot{width:9px;height:9px;border-radius:50%;display:block}.state-dot.free{background:#14a56a}.state-dot.pending{background:#ff8a00}.state-dot.confirmed{background:#2487d8}.state-dot.blocked{background:#98a2b3}.agenda-pill{border-radius:10px;padding:12px 14px;border:1px solid #dce7e0;display:flex;justify-content:space-between;align-items:center}.agenda-pill.free{background:#effaf5;color:#0c8b55}.agenda-pill.pending{background:#fff5e8;color:#f06b18}.agenda-pill.confirmed{background:#eef7ff;color:#1476c8}.agenda-pill.blocked{background:#f5f6f7;color:#344054}.agenda-pill small{color:#667085;font-weight:700}.status-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}.status-card{border-radius:12px;text-align:center;padding:18px 8px}.status-card .dashicons{font-size:34px;width:34px;height:34px}.status-card strong{display:block;font-size:28px;margin:10px 0 4px}.status-card small{font-weight:800;color:#344054}.status-card.orange{background:#fff0dc;color:#f36b00}.status-card.blue{background:#eaf4ff;color:#1684d8}.status-card.green{background:#e8f8ef;color:#0aa960}.citas-today h3{font-size:15px;text-transform:uppercase;margin:8px 0 14px}.donut-row{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:center}.donut{width:160px;height:160px;border-radius:50%;background:conic-gradient(#58cf8a 0 70%, #1684d8 70% 84%, #ff8a00 84% 100%);display:flex;align-items:center;justify-content:center;position:relative}.donut:before{content:"";position:absolute;inset:35px;background:#fff;border-radius:50%}.donut span{position:relative;text-align:center;font-size:30px;font-weight:900}.donut small{display:block;font-size:12px;color:#667085}.donut-row ul{margin:0;padding:0;list-style:none}.donut-row li{margin:12px 0;color:#667085;font-weight:700}.donut-row b{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:10px}.orange-dot{background:#ff8a00}.blue-dot{background:#1684d8}.green-dot{background:#58cf8a}.line-chart{height:230px;border-bottom:1px dashed #dde3ea;border-left:1px dashed #dde3ea;display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:end;padding:20px 10px 0}.line-day{text-align:center;position:relative}.line-day span{display:block;width:10px;margin:0 auto;background:linear-gradient(180deg,#ef3f85,#ffd1e2);border-radius:999px;position:relative}.line-day span b{position:absolute;left:50%;top:-30px;transform:translateX(-50%);background:#fff;border:1px solid #e5e7eb;border-radius:7px;padding:4px 6px;font-size:11px;white-space:nowrap;box-shadow:0 4px 14px rgba(0,0,0,.06)}.line-day small{display:block;margin-top:10px;color:#667085;font-weight:700}.projection-foot{display:flex;justify-content:space-between;margin-top:16px;color:#344054}.clinessy-dash-bottom{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:20px}.rank-list,.branch-sales{list-style:none;margin:0;padding:0}.rank-list li,.branch-sales li{display:grid;grid-template-columns:22px 1fr auto 70px 34px;gap:10px;align-items:center;border-bottom:1px solid #f0f2f5;padding:11px 0}.branch-sales li{grid-template-columns:1fr auto 70px 34px}.rank-list em{font-style:normal;color:#ef3f85;font-weight:900}.rank-list div,.branch-sales div{height:6px;background:#edf0f4;border-radius:999px;overflow:hidden}.rank-list div b,.branch-sales div b{display:block;height:100%;background:#ef3f85;border-radius:999px}.rank-list small,.branch-sales small{text-align:right;color:#667085;font-weight:700}.branch-sales .total{grid-template-columns:1fr auto;font-weight:900}.alert-item{border:1px solid #ffd8b8;background:#fff9f1;border-radius:10px;padding:12px 14px;margin-bottom:10px;color:#344054}.alert-item strong,.alert-item small{display:block}.alert-item small{color:#667085;margin-top:3px}.alert-item.pink{border-color:#ffd0e1;background:#fff5fa}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.quick-grid a{background:#fff;border:1px solid #e7eaf0;border-radius:10px;min-height:88px;text-decoration:none;color:#344054;font-weight:800;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}.quick-grid .dashicons{width:42px;height:42px;font-size:42px;color:#ef3f85}.quick-grid a:nth-child(2) .dashicons{color:#1684d8}.quick-grid a:nth-child(3) .dashicons{color:#0aa960}.quick-grid a:nth-child(4) .dashicons{color:#874ee9}.instructions-card pre{background:#0b2f23;color:#fff;border-radius:12px;padding:14px;font-size:16px;display:inline-block}.instructions-card code{background:#f4f2ee;border-radius:6px;padding:3px 6px}.instructions-card li{margin:7px 0}
@media(max-width:1500px){.clinessy-dash-kpis{grid-template-columns:repeat(3,1fr)}.clinessy-dash-main{grid-template-columns:1fr}.clinessy-dash-bottom{grid-template-columns:repeat(2,1fr)}.clinessy-dashboard-top{margin:0 0 18px}}
@media(max-width:900px){.clinessy-dash-kpis,.clinessy-dash-bottom{grid-template-columns:1fr}.dash-kpi{grid-template-columns:50px 1fr}.donut-row{grid-template-columns:1fr}.projection-foot{display:block}.clinessy-top-actions{flex-wrap:wrap}.clinessy-dashboard-top{justify-content:flex-start}}

.clinessy-sidebar nav{padding-top:8px;}
.clinessy-nav-section{
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1;
  font-weight:900;
  letter-spacing:.9px;
  margin:26px 10px 10px;
  text-transform:uppercase;
}
.clinessy-nav-section:first-child{margin-top:8px;}
.clinessy-nav{
  border-radius:14px;
  padding:14px 17px;
  margin:5px 0;
  font-size:16px;
  gap:15px;
  font-weight:800;
}
.clinessy-nav .dashicons{
  width:23px;
  height:23px;
  font-size:23px;
  line-height:23px;
  opacity:.96;
}
.clinessy-nav:hover,
.clinessy-nav.active{
  border-radius:14px;
  transform:none;
  padding-left:17px;
}
.clinessy-nav.active{
  background:linear-gradient(90deg,#e6c477,#f3d98f);
  color:#0d1b18;
}
.clinessy-nav:not(.active):hover{
  background:rgba(255,255,255,.10);
  color:#fff;
  box-shadow:none;
}

/* Clinessy Core 0.1.0 */
.clinessy-header{gap:16px;align-items:center}.clinessy-global-search{position:relative;min-width:280px;flex:1;max-width:520px}.clinessy-global-search .dashicons{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#6b7280}.clinessy-global-search input{width:100%;border:1px solid #e5e7eb;border-radius:18px;padding:12px 16px 12px 42px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05)}.clinessy-top-new-reservation{display:inline-flex;align-items:center;gap:7px;background:#123d35;color:#fff!important;border-radius:16px;padding:12px 16px;text-decoration:none;font-weight:800;box-shadow:0 12px 24px rgba(18,61,53,.18)}.clinessy-theme-toggle{border:0;border-radius:14px;background:#111827;color:#fff;padding:10px 12px;cursor:pointer}.role-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.role-template{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:16px}.role-template h3{margin:0 0 8px}.role-template p{font-size:12px;color:#64748b;line-height:1.5}.agenda-toolbar{position:sticky;top:0;z-index:2}.agenda-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.agenda-filters select,.agenda-filters input{min-height:40px;border-radius:12px;border:1px solid #e5e7eb;padding:8px 12px}.agenda-modern-wrap{display:grid;grid-template-columns:70px 1fr 280px;gap:14px;margin-top:18px}.agenda-hours{padding-top:70px;color:#64748b;font-size:12px}.agenda-hours div{height:86px;display:flex;align-items:flex-start;justify-content:center}.agenda-modern{display:flex;gap:12px;overflow-x:auto;padding-bottom:10px}.agenda-modern-col{min-width:245px;background:#fff;border:1px solid #e5e7eb;border-radius:24px;overflow:hidden;box-shadow:0 16px 34px rgba(15,23,42,.06)}.agenda-modern-col h3{position:sticky;top:0;background:#fff;margin:0;padding:18px;border-bottom:1px solid #edf2f7}.agenda-modern-col h3 small{display:block;color:#64748b;font-weight:500;margin-top:4px}.agenda-slot{height:86px;border-bottom:1px solid #f1f5f9;padding:8px;position:relative}.slot-free{font-size:12px;color:#94a3b8}.agenda-event-modern{position:relative;border-radius:16px;padding:10px;background:#e8f4ff;border-left:5px solid #3b82f6;box-shadow:0 8px 20px rgba(15,23,42,.08);font-size:12px;cursor:grab}.agenda-event-modern.status-confirmed{background:#e8f8ef;border-color:#16a34a}.agenda-event-modern.status-attended,.agenda-event-modern.status-sold{background:#f3e8ff;border-color:#7c3aed}.agenda-event-modern.status-cancelled,.agenda-event-modern.status-lost{background:#f1f5f9;border-color:#94a3b8;opacity:.7}.agenda-event-modern.status-no_show{background:#fee2e2;border-color:#ef4444}.event-head{display:flex;justify-content:space-between;gap:8px}.event-head strong{font-size:13px}.event-menu{background:transparent;border:0;font-weight:bold;cursor:pointer}.agenda-event-modern span,.agenda-event-modern small,.agenda-event-modern b{display:block;margin-top:3px}.event-actions{display:none;position:absolute;right:8px;top:32px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 16px 30px rgba(15,23,42,.16);z-index:3;min-width:155px;padding:8px}.agenda-event-modern.open .event-actions{display:block}.event-actions a{display:block;padding:8px 10px;color:#123d35;text-decoration:none;border-radius:10px}.event-actions a:hover{background:#f8fafc}.event-actions a.danger{color:#dc2626}.agenda-side-panel{background:#123d35;color:#fff;border-radius:24px;padding:20px;box-shadow:0 20px 40px rgba(18,61,53,.18)}.agenda-side-panel p,.agenda-side-panel li{color:#d7e6e1}.agenda-empty-state{padding:30px;background:#fff;border-radius:20px}.client-profile{display:grid;grid-template-columns:330px 1fr;gap:18px}.client-summary h2{margin-top:0}.client-metrics{display:grid;gap:10px;margin:18px 0}.client-metrics span{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:12px}.client-metrics b{display:block;font-size:20px;color:#123d35}.client-timeline{position:relative}.timeline-item{border-left:3px solid #d5b66f;padding:0 0 18px 18px;margin-left:8px;position:relative}.timeline-item:before{content:"";position:absolute;left:-8px;top:0;width:13px;height:13px;border-radius:50%;background:#123d35;border:3px solid #fff;box-shadow:0 0 0 1px #d5b66f}.timeline-item time{display:block;color:#64748b;font-size:12px}.timeline-item strong{display:block;color:#123d35;margin:4px 0}.daily-report-card textarea{min-height:74px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.grid3 .full{grid-column:1/-1}.appearance-options{display:flex;gap:12px;flex-wrap:wrap}.appearance-options label{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:14px 18px;font-weight:700}.clinessy-dark{background:#0b1110;color:#e5e7eb}.clinessy-dark .clinessy-main,.clinessy-dark .clinessy-card,.clinessy-dark .dash-card,.clinessy-dark .agenda-modern-col{background:#111827!important;color:#e5e7eb!important;border-color:#273244!important}.clinessy-dark .clinessy-header,.clinessy-dark .agenda-modern-col h3{background:#0f172a!important}.clinessy-dark input,.clinessy-dark select,.clinessy-dark textarea{background:#0b1110!important;color:#fff!important;border-color:#334155!important}.clinessy-dark .muted,.clinessy-dark small{color:#94a3b8!important}@media(max-width:1100px){.agenda-modern-wrap,.client-profile{grid-template-columns:1fr}.agenda-hours,.agenda-side-panel{display:none}.role-template-grid{grid-template-columns:1fr 1fr}.clinessy-global-search{min-width:180px}}@media(max-width:700px){.grid3,.role-template-grid{grid-template-columns:1fr}.clinessy-top-new-reservation{position:fixed;right:18px;bottom:18px;z-index:99;border-radius:999px;padding:14px 18px}.clinessy-header{flex-wrap:wrap}.clinessy-global-search{order:3;min-width:100%;max-width:none}}

/* Clinessy Core 0.1.0 */
.clinessy-logo img{max-width:100%;height:auto;object-fit:contain;}
.clinessy-notifications{position:relative;display:inline-flex;align-items:center;}
.clinessy-notification-trigger{position:relative;border:1px solid #e8e0cf;background:#fff;border-radius:14px;width:43px;height:43px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#123d35;}
.clinessy-notification-trigger .dashicons{font-size:22px;width:22px;height:22px;}
.clinessy-notification-trigger b{position:absolute;right:-6px;top:-7px;background:#ef3f85;color:#fff;border-radius:999px;min-width:18px;height:18px;font-size:11px;display:flex;align-items:center;justify-content:center;}
.clinessy-notification-panel{display:none;position:absolute;right:0;top:54px;width:330px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 24px 60px rgba(15,23,42,.18);z-index:200;padding:14px;}
.clinessy-notifications:hover .clinessy-notification-panel{display:block;}
.clinessy-notification-panel h3{margin:2px 4px 12px;color:#123d35;}
.notice-row{display:block;text-decoration:none;border-radius:14px;padding:12px 14px;margin:8px 0;background:#f8fafc;border:1px solid #edf2f7;color:#172033;}
.notice-row strong{display:block;margin-bottom:4px;}
.notice-row small{display:block;color:#64748b;line-height:1.35;}
.notice-row.critical{background:#fff5f5;border-color:#fecaca;}
.notice-row.warning{background:#fffbeb;border-color:#fed7aa;}
.notice-row.info{background:#eff6ff;border-color:#bfdbfe;}
.notice-row.ok{background:#ecfdf5;border-color:#bbf7d0;}
.badge.danger{background:#fee2e2!important;color:#b91c1c!important;}
.clinessy-danger-link{color:#b91c1c!important;border-color:#fecaca!important;}
.clinessy-form.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.clinessy-form.grid3 .full{grid-column:1/-1;}
.clinessy-card code{background:#f7f2e8;border:1px solid #eadcc2;border-radius:8px;padding:2px 6px;}
@media(max-width:900px){.clinessy-form.grid3{grid-template-columns:1fr}.clinessy-notification-panel{right:-90px;width:290px}}

/* Clinessy Core 0.1.0 — Agenda familiar tipo Reservo moderno */
.agenda-topbar{position:sticky;top:0;z-index:40;padding:14px!important;}
.agenda-pro-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;}
.agenda-pro-toolbar input,.agenda-pro-toolbar select{min-height:40px;border-radius:10px;border:1px solid #d9e2ec;padding:8px 11px;background:#fff;}
.agenda-pro-toolbar input[name="q"]{margin-left:auto;min-width:230px;}
.agenda-arrow{font-size:22px;line-height:1!important;min-width:40px;text-align:center;}
.agenda-legend{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0;padding:12px!important;}
.agenda-legend .st{border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;border:1px solid transparent;}
.agenda-legend .confirmed{background:#ddf7e8;color:#146c43}.agenda-legend .new{background:#eaf3ff;color:#2563eb}.agenda-legend .attended{background:#f1e8ff;color:#6d28d9}.agenda-legend .no_show{background:#fee2e2;color:#b91c1c}.agenda-legend .cancelled{background:#f1f5f9;color:#64748b}.agenda-legend .rescheduled{background:#fff7dc;color:#a16207}.agenda-legend .blocked{background:#2f3437;color:#fff}
.agenda-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}.agenda-section-title h2{margin:0;font-size:22px}.agenda-section-title p{margin:0;color:#64748b}
.agenda-day-shell,.agenda-week-shell{overflow:hidden;}
.agenda-day-grid{display:grid;grid-template-columns:74px repeat(auto-fit,minmax(320px,1fr));border:1px solid #e7edf3;border-radius:20px;overflow:auto;background:#fff;max-height:72vh;}
.agenda-time-col,.agenda-box-col{min-width:74px;border-right:1px solid #e7edf3;}
.agenda-box-col{min-width:320px;background:linear-gradient(#fff,#fffdf8);}
.agenda-col-head{height:56px;position:sticky;top:0;z-index:2;background:#fbfcfd;border-bottom:1px solid #e7edf3;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:900;color:#172033;}
.agenda-col-head small{font-weight:600;color:#64748b;margin-top:2px;}
.agenda-time-slot{height:34px;border-bottom:1px solid #eef2f6;display:flex;align-items:flex-start;justify-content:center;font-size:12px;color:#475569;background:#fff;}
.agenda-slot-free{height:34px;width:100%;border:0;border-bottom:1px solid #eef2f6;background:transparent;color:transparent;cursor:pointer;text-align:left;padding:0 8px;font-size:11px;}
.agenda-slot-free:hover{background:#ecfdf5;color:#15803d;}
.agenda-event-card{min-height:34px;border-radius:7px;border:2px solid #3b82f6;background:#dbeafe;margin:2px 5px;padding:5px 7px;box-sizing:border-box;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.08);font-size:12px;overflow:hidden;}
.agenda-event-card .event-line{display:flex;justify-content:space-between;gap:8px;align-items:center;}
.agenda-event-card strong{font-size:12px}.agenda-event-card span{font-size:10px;border-radius:999px;background:rgba(255,255,255,.75);padding:2px 6px;white-space:nowrap}.agenda-event-card small,.agenda-event-card em{display:block;color:#334155;font-style:normal;line-height:1.25}.event-mini-actions{display:none;margin-top:5px;gap:4px;flex-wrap:wrap}.agenda-event-card:hover .event-mini-actions{display:flex}.event-mini-actions a,.event-mini-actions button{font-size:11px;border:0;background:#fff;color:#123d35;text-decoration:none;border-radius:6px;padding:3px 6px;cursor:pointer;font-weight:800}.agenda-event-card.status-confirmed{background:#dcfce7;border-color:#16a34a}.agenda-event-card.status-new,.agenda-event-card.status-scheduled,.agenda-event-card.status-pending{background:#dbeafe;border-color:#2563eb}.agenda-event-card.status-attended,.agenda-event-card.status-sold{background:#ede9fe;border-color:#7c3aed}.agenda-event-card.status-no_show{background:#fee2e2;border-color:#ef4444}.agenda-event-card.status-cancelled,.agenda-event-card.status-lost{background:#f1f5f9;border-color:#94a3b8;color:#64748b}.agenda-event-card.status-rescheduled{background:#fef3c7;border-color:#f59e0b}.agenda-event-card.status-blocked{background:#333;color:#fff;border-color:#111}.agenda-event-card.status-blocked small,.agenda-event-card.status-blocked em{color:#eee}
.agenda-week-grid{display:grid;grid-template-columns:repeat(7,minmax(185px,1fr));gap:10px;overflow:auto;}.agenda-week-day{border:1px solid #e7edf3;border-radius:18px;background:#fff;min-height:360px;padding:10px}.agenda-week-day header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf2f7;padding-bottom:8px;margin-bottom:8px}.agenda-week-day header strong{font-size:14px}.agenda-week-day header span{color:#64748b;font-size:12px}.agenda-week-empty{width:100%;border:1px dashed #cbd5e1;background:#f8fafc;border-radius:14px;color:#64748b;padding:12px;cursor:pointer}.agenda-week-empty:hover{background:#ecfdf5;color:#15803d;border-color:#86efac}
.agenda-quick-panel{margin-top:14px}.agenda-quick-panel .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.agenda-quick-panel button,.agenda-quick-panel a{border:1px solid #e5e7eb;background:#fff;color:#123d35;border-radius:16px;text-decoration:none;padding:14px;font-weight:900;text-align:center;cursor:pointer;}
.clinessy-modal{display:none;position:fixed;inset:0;background:rgba(2,6,23,.62);z-index:9999;align-items:center;justify-content:center;padding:28px;}.clinessy-modal.is-open{display:flex}.clinessy-modal-card{position:relative;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(2,6,23,.35);width:min(1180px,96vw);max-height:90vh;overflow:auto;padding:24px}.clinessy-modal-card h2{margin:0 0 18px;color:#0f172a}.clinessy-modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:32px;color:#94a3b8;cursor:pointer}.agenda-modal-card .clinessy-form h3{margin:0 0 12px;color:#123d35}.agenda-detail-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;border-top:1px solid #e5e7eb;padding-top:16px;margin-top:6px}
@media(max-width:1100px){.agenda-day-grid{grid-template-columns:64px repeat(auto-fit,minmax(260px,1fr));}.agenda-week-grid{grid-template-columns:repeat(2,minmax(220px,1fr));}.agenda-quick-panel .quick-grid{grid-template-columns:1fr 1fr}.agenda-pro-toolbar input[name="q"]{margin-left:0}}
@media(max-width:720px){.agenda-pro-toolbar{display:grid;grid-template-columns:1fr 1fr}.agenda-pro-toolbar input[name="q"],.agenda-pro-toolbar select,.agenda-pro-toolbar .button{min-width:0;width:100%}.agenda-day-grid{grid-template-columns:54px minmax(260px,1fr);}.agenda-week-grid{grid-template-columns:1fr}.clinessy-modal{padding:12px}.agenda-detail-actions{flex-direction:column;align-items:stretch}.agenda-detail-actions .button{width:100%;text-align:center}.agenda-quick-panel .quick-grid{grid-template-columns:1fr}.clinessy-form.grid3{grid-template-columns:1fr!important}}

/* Clinessy Core 0.1.0 — Agenda operativa avanzada */
.agenda-live-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:14px 0;}
.agenda-live-metrics div{background:#fff;border:1px solid #e8edf3;border-radius:18px;padding:14px 16px;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.agenda-live-metrics strong{display:block;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}.agenda-live-metrics span{font-size:24px;font-weight:900;color:#0f172a}
.agenda-smart-insights{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0 12px;padding:12px 16px!important}.agenda-smart-insights strong{color:#123d35}.agenda-smart-insights span{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:8px 12px;font-weight:800;color:#334155;font-size:12px}
.agenda-legend .scheduled{background:#dbeafe;color:#1d4ed8}.agenda-legend .arrived{background:#fef3c7;color:#a16207}.agenda-legend .suspended{background:#fee2e2;color:#b91c1c}.agenda-event-card.status-arrived{background:#fef3c7;border-color:#f59e0b}.agenda-event-card.status-suspended{background:#fee2e2;border-color:#ef4444}.agenda-event-card.status-in_progress{background:#e0f2fe;border-color:#0284c7}
.agenda-context-menu{display:none;position:fixed;z-index:10060;width:218px;padding:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 24px 58px rgba(15,23,42,.22);font-family:inherit}
.agenda-context-menu.is-open{display:grid;gap:2px}
.agenda-context-menu.is-saving{opacity:.72;pointer-events:none}
.agenda-context-menu button,.agenda-context-menu a{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:9px;background:#fff;color:#1f2937;text-align:left;text-decoration:none;font-size:14px;font-weight:800;line-height:1.1;cursor:pointer;box-sizing:border-box}
.agenda-context-menu button:hover,.agenda-context-menu a:hover{background:#f7f2ff;color:#6d28d9}
.agenda-context-menu .dashicons{width:24px;height:24px;border-radius:999px;background:#f0ebff;color:#713ce4;font-size:15px;line-height:24px;text-align:center;flex:0 0 24px}
.agenda-context-menu [data-context-delete]{color:#be123c}
.agenda-context-menu [data-context-delete] .dashicons{background:#fff1f2;color:#e11d48}
.agenda-context-menu [data-context-delete]:hover{background:#fff1f2;color:#be123c}
.agenda-context-separator{display:block;height:1px;background:#edf0f5;margin:5px 2px}
.reception-view{margin-top:14px}.reception-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.reception-column{border:1px solid #e5e7eb;border-radius:18px;padding:14px;background:#fbfcfd}.reception-column h3{margin:0 0 12px}.reception-row{background:#fff;border:1px solid #e7edf3;border-radius:14px;padding:12px;margin-bottom:10px}.reception-row strong,.reception-row span{display:block}.reception-row span{font-size:12px;color:#64748b;margin:4px 0}.reception-row button{border:1px solid #d7e2ef;background:#fff;border-radius:10px;padding:5px 9px;font-weight:800;cursor:pointer}
.whatsapp-tools{border:1px solid #dcfce7;background:#f0fdf4;border-radius:16px;padding:14px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.whatsapp-tools h3{width:100%;margin:0 0 6px!important;color:#166534!important}.whatsapp-tools button,.whatsapp-tools a{border:1px solid #86efac;background:#fff;color:#166534;border-radius:10px;padding:8px 10px;font-weight:900;text-decoration:none;cursor:pointer}
.clinessy-autocomplete-wrap{position:relative}.clinessy-autocomplete-results{display:none;position:absolute;left:0;right:0;top:100%;z-index:10020;background:#fff;border:1px solid #cbd5e1;border-radius:14px;box-shadow:0 20px 50px rgba(15,23,42,.18);overflow:hidden;max-height:280px;overflow-y:auto}.clinessy-autocomplete-results.is-empty{position:static;margin-top:6px;box-shadow:none;max-height:none}.clinessy-autocomplete-results button{display:block;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid #eef2f7;padding:10px 12px;cursor:pointer}.clinessy-autocomplete-results button:hover{background:#f8fafc}.clinessy-autocomplete-results strong{display:block;color:#111827}.clinessy-autocomplete-results small{display:block;color:#64748b;margin-top:2px}.clinessy-autocomplete-results .empty{padding:10px 12px;color:#64748b}
@media(max-width:1100px){.agenda-live-metrics{grid-template-columns:repeat(3,1fr)}.reception-grid{grid-template-columns:1fr}}
@media(max-width:720px){.agenda-live-metrics{grid-template-columns:repeat(2,1fr)}.agenda-live-metrics span{font-size:20px}.agenda-smart-insights{display:block}.agenda-smart-insights span{display:block;margin-top:8px}.whatsapp-tools{display:grid}.whatsapp-tools button,.whatsapp-tools a{width:100%;text-align:center}}

/* Agenda 0.2.8: controles compactos y calendario como protagonista */
.agenda-control-panel{padding:12px 14px!important;margin-bottom:10px!important;border-color:#e8e4f0!important;overflow:visible!important}
.agenda-toolbar-v3{display:flex!important;align-items:center;gap:10px!important;flex-wrap:nowrap!important}
.agenda-toolbar-v3 .agenda-date-navigation,.agenda-toolbar-v3 .agenda-view-segment{display:flex;align-items:center;gap:0;background:#f7f5fb;border:1px solid #e8e3f1;border-radius:12px;padding:3px}
.agenda-toolbar-v3 .agenda-date-navigation input{width:142px!important;min-width:142px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.agenda-toolbar-v3 .button,.agenda-toolbar-v3 select,.agenda-filter-popover summary{min-height:40px!important;height:40px!important;border-radius:10px!important;display:inline-flex!important;align-items:center;justify-content:center;font-weight:800!important;box-sizing:border-box}
.agenda-toolbar-v3 .agenda-arrow{width:38px!important;min-width:38px!important;padding:0!important;border:0!important;background:transparent!important;font-size:24px!important}
.agenda-toolbar-v3 .agenda-today{border:0!important;background:transparent!important}
.agenda-view-segment .button{border:0!important;background:transparent!important;box-shadow:none!important;padding:0 17px!important}
.agenda-view-segment .button-primary{background:#fff!important;color:#702ee8!important;box-shadow:0 4px 12px rgba(90,38,177,.12)!important}
.agenda-toolbar-v3>select[name="branch_id"]{min-width:170px!important;max-width:220px!important}
.agenda-filter-popover{position:relative;margin-left:auto}
.agenda-filter-popover summary{list-style:none;cursor:pointer;padding:0 15px;background:#fff;border:1px solid #ded8e8;color:#302446;gap:6px;white-space:nowrap}
.agenda-filter-popover summary::-webkit-details-marker{display:none}.agenda-filter-popover[open] summary{border-color:#7c3aed;color:#6d28d9}
.agenda-filter-fields{position:absolute;right:0;top:48px;z-index:80;width:520px;padding:14px;background:#fff;border:1px solid #e7e1ee;border-radius:16px;box-shadow:0 22px 55px rgba(34,20,63,.18);display:grid;grid-template-columns:1fr 1fr;gap:10px}
.agenda-filter-fields input,.agenda-filter-fields select{width:100%!important;min-width:0!important}.agenda-filter-fields .button{grid-column:1/-1}
.agenda-primary-action{gap:7px!important;white-space:nowrap!important;padding:0 18px!important;background:linear-gradient(135deg,#6530e8,#d832b3)!important;border:0!important;box-shadow:0 10px 22px rgba(113,46,225,.22)!important}
.agenda-summary-strip{display:flex!important;align-items:center;gap:0;margin:0 0 10px!important;padding:10px 14px!important;border-color:#ebe7f1!important;overflow-x:auto}
.agenda-summary-strip>div{display:flex;align-items:baseline;gap:7px;padding:0 18px;border-right:1px solid #ece8f1;white-space:nowrap}.agenda-summary-strip>div:first-child{padding-left:2px}.agenda-summary-strip>div:last-child{border:0}
.agenda-summary-strip b{font-size:20px;color:#111827}.agenda-summary-strip span{font-size:12px;font-weight:800;color:#667085}.agenda-summary-strip .confirmed b,.agenda-summary-strip .attended b{color:#15966a}.agenda-summary-strip .pending b{color:#e68a00}.agenda-summary-strip .no-show b{color:#e44755}
.agenda-smart-insights{margin:0 0 10px!important;padding:9px 14px!important;box-shadow:none!important}.agenda-smart-insights span{padding:6px 10px!important}
.agenda-day-shell,.agenda-week-shell{padding:0!important;overflow:hidden!important;border-color:#e7e1ee!important}
.agenda-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid #ebe7f1;background:#fff}.agenda-calendar-head h2{margin:0 0 3px;font-size:18px}.agenda-calendar-head p{margin:0;color:#728097;font-size:12px;font-weight:700}
.agenda-inline-legend{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.agenda-inline-legend .st{position:relative;padding:5px 8px 5px 18px!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important}.agenda-inline-legend .st:before{content:"";position:absolute;left:7px;top:50%;width:6px;height:6px;border-radius:50%;background:currentColor;transform:translateY(-50%)}
.agenda-day-grid{max-height:calc(100vh - 300px);min-height:560px;overflow:auto!important;background:#fff}.agenda-day-grid .agenda-col-head{position:sticky;top:0;z-index:12;background:#fff}.agenda-day-grid .agenda-time-col{position:sticky;left:0;z-index:14;background:#fff}.agenda-day-grid .agenda-time-col .agenda-col-head{z-index:16}
.agenda-empty-setup{min-height:420px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px!important;color:#697386}.agenda-empty-setup>.dashicons{width:52px;height:52px;font-size:30px;display:grid;place-items:center;background:#f0e8ff;color:#7436e8;border-radius:16px;margin-bottom:14px}.agenda-empty-setup strong{font-size:20px;color:#172033}.agenda-empty-setup p{max-width:360px;margin:7px 0 16px}.agenda-empty-setup .button{min-height:40px;display:inline-flex;align-items:center}
.agenda-quick-panel{display:none!important}
@media(max-width:1250px){.agenda-toolbar-v3{flex-wrap:wrap!important}.agenda-filter-popover{margin-left:0}.agenda-primary-action{margin-left:auto}.agenda-day-grid{max-height:none}.agenda-inline-legend{justify-content:flex-start}}
@media(max-width:760px){.agenda-control-panel{padding:10px!important}.agenda-toolbar-v3{display:grid!important;grid-template-columns:1fr 1fr}.agenda-date-navigation{grid-column:1/-1}.agenda-toolbar-v3 .agenda-date-navigation input{width:100%!important;min-width:0!important;flex:1}.agenda-view-segment{grid-column:1/-1}.agenda-view-segment .button{flex:1}.agenda-toolbar-v3>select[name="branch_id"]{min-width:0!important;max-width:none!important;width:100%!important}.agenda-filter-popover{position:static}.agenda-filter-popover summary,.agenda-primary-action{width:100%!important}.agenda-filter-fields{left:10px;right:10px;top:auto;width:auto;grid-template-columns:1fr}.agenda-summary-strip{padding:9px!important}.agenda-summary-strip>div{padding:0 12px}.agenda-calendar-head{align-items:flex-start;flex-direction:column}.agenda-inline-legend{flex-wrap:nowrap;width:100%;overflow-x:auto;justify-content:flex-start;padding-bottom:3px}.agenda-day-grid{min-height:520px;grid-template-columns:54px minmax(260px,1fr)!important}.agenda-smart-insights{display:none!important}}

/* Configuración 0.2.9: categorías coherentes entre menú y panel */
.clinessy-settings-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 10px;background:#fff;border:1px solid #e7e2ef;border-radius:16px;box-shadow:0 10px 28px rgba(42,25,78,.06);overflow:hidden}
.clinessy-settings-group{min-height:66px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;color:#22213d;text-decoration:none;font-weight:850;border-right:1px solid #ece8f2;transition:.18s ease;text-align:center}.clinessy-settings-group:last-child{border-right:0}.clinessy-settings-group:hover{background:#f8f5ff;color:#6d31e8}.clinessy-settings-group .dashicons{width:23px;height:23px;font-size:23px}.clinessy-settings-group.active{color:#fff;background:linear-gradient(135deg,#6530e8,#d832b3);box-shadow:0 9px 22px rgba(110,48,226,.2)}
.clinessy-settings-tabs{margin:0 0 18px!important;padding:8px!important;border-radius:14px!important;gap:7px!important;box-shadow:none!important;background:#faf9fc!important;border-color:#ebe7f1!important}.clinessy-settings-tab{padding:9px 13px!important;background:transparent!important;color:#5b6172!important;border-radius:10px!important}.clinessy-settings-tab:hover{background:#f0eaff!important;color:#6d31e8!important}.clinessy-settings-tab.active{background:#fff!important;color:#6d31e8!important;border-color:#ddd2f2!important;box-shadow:0 4px 12px rgba(75,45,125,.1)!important}
.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-subnav .clinessy-subnav-link{min-height:38px}.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-subnav .clinessy-subnav-link.active{background:linear-gradient(135deg,#6934e8,#a44be4)!important;color:#fff!important}
@media(max-width:1050px){.clinessy-settings-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.clinessy-settings-group:nth-child(3){border-right:0}.clinessy-settings-group{border-bottom:1px solid #ece8f2}}
@media(max-width:680px){.clinessy-settings-groups{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.clinessy-settings-group{min-width:190px;scroll-snap-align:start}.clinessy-settings-tabs{flex-wrap:nowrap!important;overflow-x:auto!important}.clinessy-settings-tab{white-space:nowrap}}

/* Configuración 0.2.11: selector intuitivo del color de empresa */
.clinessy-company-color{display:grid;gap:8px;align-self:start}.clinessy-company-color>strong{color:#173f32;font-size:13px}.clinessy-company-color>small{color:#747b8f;font-size:11px;font-weight:650}
.clinessy-color-input-group{display:grid;grid-template-columns:38px minmax(120px,1fr) auto;gap:9px;align-items:center;padding:7px 8px;border:1px solid #d8c8ad;border-radius:12px;background:#fff}.clinessy-color-swatch{width:34px;height:34px;border-radius:50%;box-shadow:0 0 0 3px #fff,0 0 0 4px #e4ddec}.clinessy-color-input-group input[type="text"]{min-height:38px!important;padding:7px 10px!important;border:1px solid #e1dce8!important;border-radius:9px!important;background:#fbfaff!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:850}.clinessy-color-input-group input[type="color"]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.clinessy-color-input-group .button{min-height:38px!important;border-color:#8b5cf6!important;color:#6d28d9!important;background:#fff!important;font-weight:850!important}
.clinessy-color-suggestions{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:3px}.clinessy-color-suggestions>span{font-size:11px;color:#555d72;font-weight:850}.clinessy-color-presets{display:flex;gap:10px}.clinessy-color-presets button{position:relative;width:30px;height:30px;padding:0;border:3px solid #fff;border-radius:50%;background:var(--preset-color);box-shadow:0 0 0 1px #ded8e8;cursor:pointer}.clinessy-color-presets button:hover{transform:scale(1.08)}.clinessy-color-presets button.active{box-shadow:0 0 0 2px #7c3aed}.clinessy-color-presets button.active:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:15px;font-weight:950;text-shadow:0 1px 2px rgba(0,0,0,.35)}.clinessy-color-reset{padding:0;border:0;background:none;color:#6d28d9;font-size:11px;font-weight:850;cursor:pointer}
.clinessy-color-preview{margin-top:3px;padding:10px 12px;border:1px solid #e6dff0;border-radius:11px;background:#f9f7ff}.clinessy-color-preview>span{display:block;margin-bottom:8px;color:#71778a;font-size:11px;font-weight:750}.clinessy-color-preview>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.clinessy-color-preview b,.clinessy-color-preview em{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:8px;font-size:11px;font-style:normal;font-weight:850}.clinessy-color-preview b{color:#fff}.clinessy-color-preview em{gap:7px;border:1px solid}.clinessy-color-preview em i{width:8px;height:8px;border-radius:50%}
@media(max-width:760px){.clinessy-color-input-group{grid-template-columns:34px 1fr}.clinessy-color-input-group .button{grid-column:1/-1;width:100%}.clinessy-color-suggestions{grid-template-columns:1fr auto}.clinessy-color-suggestions>span{grid-column:1/-1}.clinessy-color-presets{overflow-x:auto}}

/* Configuración 0.2.12: editor semanal de boxes */
.clinessy-box-editor{padding:0!important;overflow:hidden}.clinessy-box-editor>h2{padding:18px 20px;margin:0!important;border-bottom:1px solid #ebe7f1}.clinessy-box-editor form{display:block!important}.box-editor-section{padding:18px 20px;border-bottom:1px solid #ebe7f1}.box-editor-section>h3{display:flex;align-items:center;gap:9px;margin:0 0 15px;color:#172033}.box-editor-section>h3>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#efe7ff;color:#7135e6;font-size:12px}.box-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.box-editor-grid label,.box-professional-select{display:grid;gap:6px;color:#24483b;font-size:12px;font-weight:850}.box-editor-grid input,.box-editor-grid select,.box-professional-select select{width:100%;min-height:43px;box-sizing:border-box;border:1px solid #d9d2c5;border-radius:10px;padding:8px 11px}.box-editor-grid small{color:#777f91}.box-color-control{display:grid;grid-template-columns:48px 1fr;align-items:center;min-height:43px;border:1px solid #d9d2c5;border-radius:10px;overflow:hidden}.box-color-control input{width:48px!important;height:43px!important;padding:5px!important;border:0!important}.box-color-control code{padding:0 10px;color:#313447;font-weight:850}.box-legacy-notice{margin:14px 0;padding:11px 13px;border:1px solid #f1d391;border-radius:10px;background:#fff9e9;color:#755512;font-size:12px}.box-week-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 9px}.box-week-head strong{font-size:14px;color:#20253d}.box-week-head .button{border-color:#b9a4eb!important;color:#6d31e8!important}.box-week{border:1px solid #e3dfea;border-radius:13px;overflow:hidden}.box-day{display:grid;grid-template-columns:105px 118px minmax(0,1fr) 82px;align-items:center;gap:12px;min-height:58px;padding:7px 12px;border-bottom:1px solid #ece9f0;background:#fff}.box-day:last-child{border-bottom:0}.box-day.closed{background:#f8f8fa;color:#8a8d99}.box-day>strong{font-size:12px}.box-day-toggle{display:flex;align-items:center;gap:7px;cursor:pointer}.box-day-toggle input{position:absolute;opacity:0}.box-day-toggle span{position:relative;width:34px;height:19px;border-radius:999px;background:#cdd0d7}.box-day-toggle span:after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:.18s}.box-day-toggle input:checked+span{background:#7c3aed}.box-day-toggle input:checked+span:after{transform:translateX(15px)}.box-day-toggle b{font-size:11px;color:#6d31e8}.box-day.closed .box-day-toggle b{color:#818592}.box-day-ranges{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.box-day.closed .box-time-range{display:none}.box-time-range{display:flex;align-items:center;gap:5px}.box-time-range input{width:93px;min-height:36px;padding:5px 7px;border:1px solid #ddd8e5;border-radius:8px}.box-time-range button{width:30px;height:30px;border:1px solid #f3b4c0;border-radius:7px;background:#fff;color:#e23e5d;font-size:18px;cursor:pointer}.box-time-range.invalid input{border-color:#e23e5d;box-shadow:0 0 0 2px rgba(226,62,93,.12)}.box-add-range,.box-copy-day{border:0;background:transparent;color:#6d31e8;font-size:11px;font-weight:850;cursor:pointer}.box-day.closed .box-add-range:after{content:" horario"}.box-day.closed .box-add-range{display:block}.box-day.closed .box-copy-day{visibility:hidden}.box-schedule-summary{display:flex;align-items:center;gap:7px;margin-top:9px;padding:10px 12px;border:1px solid #e2dafa;border-radius:10px;background:#f7f4ff;color:#554678;font-size:11px}.box-assignment{display:grid;grid-template-columns:1fr 1fr;gap:14px}.box-assignment label{display:flex;gap:10px;padding:14px;border:1px solid #ddd8e7;border-radius:12px;cursor:pointer}.box-assignment label:has(input:checked){border-color:#7c3aed;background:#faf8ff;box-shadow:0 0 0 2px rgba(124,58,237,.08)}.box-assignment strong,.box-assignment small{display:block}.box-assignment small{margin-top:4px;color:#73798b}.box-professional-select{margin-top:13px}.box-notes{margin-top:13px;border:1px solid #e3dfea;border-radius:10px}.box-notes summary{padding:12px 14px;cursor:pointer;font-weight:800;color:#555b70}.box-notes textarea{width:calc(100% - 24px);min-height:80px;margin:0 12px 12px;box-sizing:border-box}.box-editor-actions{position:sticky;bottom:0;z-index:15;display:flex;justify-content:flex-end;gap:10px;padding:13px 20px;background:rgba(255,255,255,.95);box-shadow:0 -8px 22px rgba(31,20,78,.07);backdrop-filter:blur(9px)}.box-editor-actions .button{min-height:42px;padding:5px 20px!important}.box-editor-actions .button-primary{background:linear-gradient(135deg,#6530e8,#d832b3)!important;border:0!important}
@media(max-width:1000px){.box-day{grid-template-columns:90px 110px 1fr}.box-copy-day{grid-column:3;justify-self:end}.box-day-ranges{grid-column:3}}
@media(max-width:700px){.box-editor-grid,.box-assignment{grid-template-columns:1fr}.box-editor-section{padding:15px}.box-day{grid-template-columns:1fr auto;gap:8px}.box-day-toggle{justify-self:end}.box-day-ranges{grid-column:1/-1}.box-copy-day{grid-column:1/-1;justify-self:start}.box-week-head{align-items:flex-start;gap:10px}.box-time-range input{width:100px}.box-editor-actions .button{flex:1}}

/* Correcciones 0.2.13: contraste y control explícito de apertura */
.box-week-head .button{border:1px solid #7c3aed!important;background:#fff!important;background-image:none!important;color:#5b21b6!important;text-shadow:none!important;box-shadow:none!important;font-weight:850!important}.box-week-head .button:hover{background:#f4efff!important;color:#4c1d95!important}
.box-day-toggle{display:flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;cursor:pointer}.box-day-toggle span{position:relative;width:34px;height:19px;border-radius:999px;background:#cdd0d7}.box-day-toggle span:after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:.18s}.box-day-toggle[aria-pressed="true"] span{background:#7c3aed}.box-day-toggle[aria-pressed="true"] span:after{transform:translateX(15px)}.box-day-toggle:focus-visible{outline:3px solid rgba(124,58,237,.25);outline-offset:3px;border-radius:6px}.box-time-range.invalid input{border-color:#e23e5d!important;background:#fff5f6!important;box-shadow:0 0 0 2px rgba(226,62,93,.14)!important}

/* Mejoras 0.2.14: recomendación y selector visual Copiar a */
.box-block-recommendation{display:flex!important;align-items:flex-start;gap:6px;margin-top:2px;padding:9px 10px;border:1px solid #e4dbfb;border-radius:9px;background:#f8f5ff;color:#62547e!important;line-height:1.45}.box-block-recommendation .dashicons{width:16px;height:16px;font-size:16px;color:#7c3aed}.box-block-recommendation b{color:#4c278a}
.box-copy-dialog[hidden]{display:none!important}.box-copy-dialog{position:fixed;inset:0;z-index:1000000;display:grid;place-items:center;padding:20px;background:rgba(22,16,43,.52);backdrop-filter:blur(3px)}.box-copy-dialog-card{width:min(480px,calc(100vw - 32px));overflow:hidden;border:1px solid #e2dced;border-radius:17px;background:#fff;box-shadow:0 28px 70px rgba(25,14,55,.28)}.box-copy-dialog-card>.box-copy-dialog-head{display:flex!important;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid #ece8f1}.box-copy-dialog-card h4{margin:0 0 4px;color:#181b31;font-size:18px}.box-copy-dialog-card p{margin:0;color:#74798b;font-size:12px}.box-copy-dialog-head>button{width:32px;height:32px;border:0;border-radius:9px;background:#f4f1f8;color:#5e6170;font-size:20px;cursor:pointer}.box-copy-days{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:18px 20px}.box-copy-days label{display:flex;align-items:center;gap:9px;min-height:42px;padding:0 12px;border:1px solid #e2dde9;border-radius:10px;background:#fbfafd;cursor:pointer;font-weight:800;color:#383b50}.box-copy-days label:has(input:checked){border-color:#7c3aed;background:#f5f0ff;color:#6025c7}.box-copy-days label:has(input:disabled){opacity:.45;cursor:not-allowed}.box-copy-days input{accent-color:#7c3aed}.box-copy-dialog-card>.box-copy-dialog-actions{display:flex!important;justify-content:flex-end;gap:9px;padding:13px 20px;border-top:1px solid #ece8f1;background:#faf9fc}.box-copy-dialog-actions .button{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:4px 17px!important}.box-copy-dialog-actions .button-primary{border:0!important;background:linear-gradient(135deg,#6530e8,#d832b3)!important;color:#fff!important}
@media(max-width:520px){.box-copy-days{grid-template-columns:1fr}.box-copy-dialog-actions .button{flex:1}}

/* Clinessy Core 0.2.15: asignación profesional clara y condicionada */
.box-professional-section .box-section-heading{margin-bottom:18px}.box-professional-section .box-section-heading h3{display:flex;align-items:center;gap:9px;margin:0;color:#172033}.box-professional-section .box-section-heading h3>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#efe7ff;color:#7135e6;font-size:12px}.box-professional-section .box-section-heading p{margin:5px 0 0 34px;color:#74798b;font-size:12px}.box-professional-section .box-assignment{gap:16px}.box-professional-section .box-assignment label{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) 30px;align-items:center;gap:15px;min-height:112px;padding:18px 20px;box-sizing:border-box;transition:border-color .18s,box-shadow .18s,background .18s}.box-professional-section .box-assignment input{position:absolute;opacity:0;pointer-events:none}.box-assignment-icon{display:grid!important;place-items:center;width:58px!important;height:58px!important;border-radius:50%;background:#f4f2f7;color:#626571;font-size:29px!important}.box-assignment-copy strong{color:#171a31;font-size:17px}.box-assignment-copy small{max-width:420px;font-size:13px;line-height:1.45}.box-assignment-check{display:grid!important;place-items:center;width:30px!important;height:30px!important;border:2px solid #d5d5df;border-radius:50%;color:transparent;font-size:24px!important}.box-professional-section .box-assignment label:has(input:checked){border-color:#7c3aed;background:linear-gradient(135deg,#fbf9ff,#fff);box-shadow:0 0 0 2px rgba(124,58,237,.08)}.box-professional-section .box-assignment label:has(input:checked) .box-assignment-icon{background:#f0eaff;color:#7135e6}.box-professional-section .box-assignment label:has(input:checked) .box-assignment-check{border-color:#7135e6;background:#7135e6;color:#fff}.box-assignment-detail{margin-top:14px}.box-assignment-info{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 16px;border:1px solid #e5ddfb;border-radius:11px;background:#f8f5ff;color:#55536b}.box-assignment-info>span{display:grid;place-items:center;width:30px;height:30px;border:2px solid #7135e6;border-radius:50%;color:#7135e6}.box-assignment-info p{margin:0;font-size:13px}.box-assignment-info button{border:0;background:transparent;color:#6d31e8;font-weight:800;cursor:pointer}.box-professional-select[hidden],.box-assignment-info[hidden]{display:none!important}.box-professional-select{padding:15px;border:1px solid #e2ddec;border-radius:11px;background:#fcfbfe}.box-professional-select small{color:#74798b;font-weight:500}.box-professional-section .box-notes{margin-top:14px}.box-professional-section .box-notes summary{display:flex;align-items:center;gap:9px;list-style:none;color:#303449}.box-professional-section .box-notes summary::-webkit-details-marker{display:none}.box-professional-section .box-notes summary .dashicons:last-child{margin-left:auto;color:#7135e6;transition:transform .18s}.box-professional-section .box-notes[open] summary .dashicons:last-child{transform:rotate(180deg)}.box-editor-actions{align-items:center;justify-content:space-between}.box-editor-actions>p{display:flex;align-items:center;gap:7px;margin:0;color:#74798b;font-size:12px}.box-editor-actions>div{display:flex;gap:10px}.box-editor-actions .button-primary span{font-size:19px;line-height:1;vertical-align:-1px}
@media(max-width:700px){.box-professional-section .box-section-heading p{margin-left:0}.box-professional-section .box-assignment label{grid-template-columns:46px minmax(0,1fr) 28px;min-height:96px;padding:14px}.box-assignment-icon{width:46px!important;height:46px!important;font-size:23px!important}.box-assignment-info{grid-template-columns:30px 1fr}.box-assignment-info button{grid-column:1/-1;text-align:left;padding-left:42px}.box-editor-actions{align-items:stretch;flex-direction:column}.box-editor-actions>div{display:grid;grid-template-columns:1fr 1fr}.box-editor-actions .button{width:100%}}

/* Clinessy Core 0.2.16: directorio y asistente de profesionales */
.professionals-screen{display:grid;gap:16px}.professionals-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.professionals-title h2{margin:0;color:#151a33;font-size:25px}.professionals-title p{margin:4px 0 0;color:#747b8f}.professionals-title>.button{min-height:44px;padding:6px 18px!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,#6530e8,#e635a9)!important;color:#fff!important}.professionals-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px 170px;gap:12px;padding:14px;border:1px solid #e8e4ef;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(32,24,70,.04)}.professionals-toolbar label{position:relative}.professionals-toolbar label .dashicons{position:absolute;z-index:1;left:12px;top:12px;color:#7a8091}.professionals-toolbar input,.professionals-toolbar select{width:100%;height:43px;box-sizing:border-box;border:1px solid #ddd9e6;border-radius:9px;background:#fff}.professionals-toolbar input{padding-left:40px}.professionals-directory{overflow:hidden;border:1px solid #e8e4ef;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(32,24,70,.04)}.professionals-directory-head,.professional-row{display:grid;grid-template-columns:minmax(235px,1.5fr) 1fr 1fr .9fr .9fr .7fr 80px;align-items:center;gap:12px}.professionals-directory-head{padding:12px 16px;background:#f9f7fc;color:#555d70;font-size:11px;font-weight:850;text-transform:uppercase}.professional-row{min-height:82px;padding:10px 16px;border-top:1px solid #efecf3}.professional-row[hidden]{display:none}.professional-person{display:flex;align-items:center;gap:12px;min-width:0}.professional-person>img,.professional-person>span{width:48px;height:48px;flex:0 0 48px;border-radius:50%;object-fit:cover}.professional-person>span{display:grid;place-items:center;background:linear-gradient(135deg,#7342ea,#e945a5);color:#fff;font-weight:900}.professional-person strong,.professional-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.professional-person strong{color:#171b31}.professional-person small{margin-top:3px;color:#747b8f;font-size:11px}.professional-chip{display:inline-flex;max-width:100%;padding:5px 8px;border-radius:7px;background:#f1ecff;color:#6c35d3;font-size:10px;font-weight:800}.professional-chip.success{background:#eaf9ef;color:#16844a}.professional-chip.muted-chip{background:#f0f1f4;color:#747887}.professional-actions .button{border-color:#a785f4!important;color:#6831dc!important}.professionals-empty{display:grid;justify-items:center;padding:55px 20px;text-align:center}.professionals-empty>.dashicons{width:52px;height:52px;font-size:52px;color:#7c3aed}.professionals-empty h3{margin:13px 0 3px}.professionals-empty p{margin:0 0 15px;color:#747b8f}.professional-drawer-backdrop{position:fixed;inset:0;z-index:99998;background:rgba(16,20,43,.27);backdrop-filter:blur(1px)}.professional-drawer{position:fixed;z-index:99999;top:0;right:0;width:min(700px,48vw);height:100vh;box-sizing:border-box;overflow:auto;background:#fff;box-shadow:-20px 0 55px rgba(20,18,45,.2)}body.admin-bar .professional-drawer{top:32px;height:calc(100vh - 32px)}.professional-drawer>header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:flex-start;padding:20px 24px;border-bottom:1px solid #ece8f1;background:#fff}.professional-drawer>header h2{margin:0}.professional-drawer>header p{margin:4px 0 0;color:#747b8f}.professional-drawer>header>a{color:#202438;text-decoration:none;font-size:30px}.professional-drawer form{display:block!important}.professional-steps{display:grid;grid-template-columns:repeat(5,1fr);padding:17px 20px 12px;border-bottom:1px solid #ece8f1;background:#fcfbfe}.professional-steps button{display:grid;justify-items:center;gap:6px;padding:0;border:0;background:transparent;color:#777c8e;font-size:10px;cursor:pointer}.professional-steps b{display:grid;place-items:center;width:28px;height:28px;border:1px solid #ddd9e6;border-radius:50%;background:#fff}.professional-steps button.active{color:#6b2fe0}.professional-steps button.active b,.professional-steps button.complete b{border-color:#7c3aed;background:#7c3aed;color:#fff}.professional-wizard-body{padding:22px 24px 100px}.professional-wizard-body section{display:grid;gap:17px}.professional-wizard-body .grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.professional-wizard-body label{display:grid;gap:6px;color:#252a40;font-size:12px;font-weight:800}.professional-wizard-body input:not([type=checkbox]):not([type=radio]),.professional-wizard-body select,.professional-wizard-body textarea{width:100%;min-height:43px;box-sizing:border-box;border:1px solid #ddd8e6;border-radius:9px;padding:8px 11px}.professional-avatar-upload{place-items:center;padding:25px;border:1px dashed #bda9ef;border-radius:13px;background:#fbf9ff;cursor:pointer}.professional-avatar-upload input{position:absolute;opacity:0;pointer-events:none}.professional-avatar-upload>.dashicons{width:48px;height:48px;font-size:48px;color:#7c3aed}.professional-avatar-upload small{color:#777d8e;font-weight:500}.professional-privacy,.professional-access-note{display:flex;align-items:flex-start;gap:9px;margin:0;padding:12px;border-radius:9px;background:#f5f1ff;color:#62577d;font-size:11px}.professional-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.professional-check-grid label{display:flex;align-items:center;gap:8px;padding:11px;border:1px solid #e3dfea;border-radius:9px}.professional-check-grid input{accent-color:#7c3aed}.professional-wizard-body fieldset{display:grid;gap:10px;padding:15px;border:1px solid #e3dfea;border-radius:11px}.professional-wizard-body legend{padding:0 6px;font-weight:850}.professional-switch{display:flex!important;align-items:center;gap:12px;padding:14px;border:1px solid #e3dfea;border-radius:11px}.professional-switch>input{position:absolute;opacity:0}.professional-switch>span{position:relative;width:40px;height:23px;border-radius:99px;background:#cdd0d9}.professional-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:.18s}.professional-switch>input:checked+span{background:#7c3aed}.professional-switch>input:checked+span:after{transform:translateX(17px)}.professional-switch strong,.professional-switch small{display:block}.professional-switch small{margin-top:3px;color:#747b8f;font-weight:500}.professional-drawer footer{position:fixed;right:0;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;width:min(700px,48vw);box-sizing:border-box;padding:14px 24px;border-top:1px solid #e7e3ed;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}.professional-drawer footer>span{color:#747b8f;font-size:11px}.professional-drawer footer .button-primary{border:0!important;background:linear-gradient(135deg,#6530e8,#e635a9)!important;color:#fff!important}
.employee-agenda-toggle{display:grid!important;grid-template-columns:48px auto minmax(0,1fr)!important;align-items:center!important;gap:12px!important;margin-top:8px!important;padding:17px 18px!important;border:2px solid #cbd5e1!important;border-radius:11px!important;background:#f8fafc!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important;cursor:pointer!important;transition:border-color .18s,background .18s,box-shadow .18s!important}.employee-agenda-toggle strong{display:block;color:#243047!important;font-size:15px!important}.employee-agenda-toggle small{display:block;margin-top:3px;color:#64748b!important;font-weight:700!important}.employee-agenda-toggle>span{width:48px!important;height:27px!important;background:#94a3b8!important;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08)}.employee-agenda-toggle>span:after{width:21px!important;height:21px!important}.employee-agenda-toggle>input:checked+span{background:#16a34a!important}.employee-agenda-toggle>input:checked+span:after{transform:translateX(21px)!important}.employee-agenda-toggle.is-agenda-enabled,.employee-agenda-toggle:has(input:checked){border-color:#15803d!important;background:#ecfdf3!important;box-shadow:0 14px 28px rgba(21,128,61,.13)!important}.employee-agenda-toggle.is-agenda-enabled strong,.employee-agenda-toggle:has(input:checked) strong{color:#064e3b!important}.employee-agenda-toggle.is-agenda-enabled small,.employee-agenda-toggle:has(input:checked) small{color:#166534!important}.employee-agenda-status{justify-self:start;padding:7px 10px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:10px;font-weight:900;white-space:nowrap}.employee-agenda-toggle.is-agenda-enabled .employee-agenda-status,.employee-agenda-toggle:has(input:checked) .employee-agenda-status{background:#15803d;color:#fff}@media(max-width:700px){.employee-agenda-toggle{grid-template-columns:48px minmax(0,1fr)!important}.employee-agenda-toggle>div{grid-column:1/-1}.employee-agenda-status{justify-self:start}}
.employee-form-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;margin-top:8px!important;padding-top:18px!important;border-top:1px solid #e7edf3!important}.employee-save-button{display:inline-flex!important;min-width:210px!important;min-height:46px!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 22px!important;border:0!important;border-radius:10px!important;background:#0b684d!important;color:#fff!important;font-size:14px!important;font-weight:850!important;line-height:1!important;text-shadow:none!important;box-shadow:0 12px 24px rgba(11,104,77,.22)!important;cursor:pointer!important}.employee-save-button:hover,.employee-save-button:focus{background:#07543e!important;color:#fff!important;transform:translateY(-1px)}.employee-save-button .dashicons{width:18px;height:18px;font-size:18px;line-height:18px}
.professionals-empty .professionals-empty-action{display:inline-flex!important;min-width:210px!important;min-height:44px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 18px!important;border:1px solid #6d35e6!important;border-radius:9px!important;background:#6d35e6!important;color:#fff!important;font-size:13px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;text-shadow:none!important;box-shadow:0 10px 22px rgba(109,53,230,.2)!important;cursor:pointer!important;transition:background .18s,border-color .18s,transform .18s!important}.professionals-empty .professionals-empty-action:hover,.professionals-empty .professionals-empty-action:focus{border-color:#5725c7!important;background:#5725c7!important;color:#fff!important;transform:translateY(-1px)}.professionals-empty .professionals-empty-action .dashicons{width:18px;height:18px;font-size:18px;line-height:18px}
.professionals-directory-head,.professional-row{grid-template-columns:minmax(235px,1.5fr) 1fr 1fr .9fr .9fr .7fr 125px}.employee-row-actions,.professional-actions{display:flex!important;align-items:center!important;gap:7px!important}.employee-delete-action,.professional-actions .professional-delete-action{border-color:#f0b6c1!important;background:#fff!important;color:#c92f4d!important}.employee-delete-action:hover,.employee-delete-action:focus,.professional-actions .professional-delete-action:hover,.professional-actions .professional-delete-action:focus{border-color:#c92f4d!important;background:#fff1f3!important;color:#a91f3b!important}.professional-actions .professional-delete-action{display:inline-grid!important;width:32px!important;min-width:32px!important;height:32px!important;place-items:center!important;padding:0!important;border-radius:8px!important}.professional-delete-action .dashicons{width:16px;height:16px;font-size:16px;line-height:16px}
.my-profile-actions{display:flex!important;align-items:center!important;padding-top:6px!important}.my-profile-save-button{display:inline-flex!important;min-width:210px!important;min-height:46px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 22px!important;border:1px solid #0b684d!important;border-radius:9px!important;background:#0b684d!important;color:#fff!important;font-size:14px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;text-shadow:none!important;box-shadow:0 10px 22px rgba(11,104,77,.2)!important;cursor:pointer!important;transition:background .18s,border-color .18s,transform .18s!important}.my-profile-save-button:hover,.my-profile-save-button:focus{border-color:#07543e!important;background:#07543e!important;color:#fff!important;transform:translateY(-1px)}.my-profile-save-button .dashicons{width:18px;height:18px;font-size:18px;line-height:18px}
.payment-method-status.is-inactive{border:1px solid #fecdd3!important;background:#fff1f2!important;color:#be123c!important}.payment-method-status.is-active{border:1px solid #bbf7d0!important;background:#f0fdf4!important;color:#15803d!important}
.payment-method-actions{display:flex!important;align-items:center!important;padding-top:6px!important}.payment-method-add-button{display:inline-flex!important;min-width:230px!important;min-height:46px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 22px!important;border:1px solid #0b684d!important;border-radius:9px!important;background:#0b684d!important;color:#fff!important;font-size:14px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;text-shadow:none!important;box-shadow:0 10px 22px rgba(11,104,77,.2)!important;cursor:pointer!important;transition:background .18s,border-color .18s,transform .18s!important}.payment-method-add-button:hover,.payment-method-add-button:focus{border-color:#07543e!important;background:#07543e!important;color:#fff!important;transform:translateY(-1px)}.payment-method-add-button .dashicons{width:18px!important;height:18px!important;font-size:18px!important;line-height:18px!important;color:#fff!important}
@media(max-width:1100px){.professionals-directory-head{display:none}.professional-row{grid-template-columns:2fr 1fr 1fr}.professional-row>div:nth-child(4),.professional-row>div:nth-child(5){display:none}.professional-drawer,.professional-drawer footer{width:min(760px,75vw)}}
@media(max-width:700px){.professionals-title{align-items:flex-start;flex-direction:column}.professionals-toolbar{grid-template-columns:1fr}.professional-row{grid-template-columns:1fr auto}.professional-row>div:not(:first-child):not(:last-child){display:none}.professional-drawer,.professional-drawer footer{width:100vw}.professional-steps span{display:none}.professional-wizard-body .grid2,.professional-check-grid{grid-template-columns:1fr}.professional-drawer footer{gap:8px}.professional-drawer footer>span{display:none}}

/* Clinessy Core 0.2.18: asistente, sucursales y disponibilidad visual */
.professional-wizard-body section[hidden]{display:none!important}.professional-avatar-upload>img{width:78px;height:78px;border:3px solid #fff;border-radius:50%;object-fit:cover;box-shadow:0 4px 15px rgba(67,35,145,.18)}.professional-avatar-upload>img[hidden]{display:none!important}.professional-avatar-upload.has-preview>[data-avatar-icon]{display:none}
.professional-step-title{display:flex;align-items:center;gap:12px}.professional-step-title>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#f0eaff;color:#7135e6;font-size:22px}.professional-step-title h3{margin:0;color:#171b31;font-size:18px}.professional-step-title p{margin:3px 0 0;color:#747b8f;font-size:12px}.professional-step-title button{margin-left:auto;border:0;background:transparent;color:#6d31e8;font-weight:800;cursor:pointer}.professional-branch-search{position:relative}.professional-branch-search>.dashicons{position:absolute;z-index:1;left:12px;top:12px;color:#777e90}.professional-branch-search input{padding-left:40px!important}.professional-branch-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.professional-branch-cards article{position:relative;display:grid;justify-items:center;gap:7px;min-height:170px;padding:18px 13px;box-sizing:border-box;border:1px solid #e1dce8;border-radius:13px;background:#fff;text-align:center}.professional-branch-cards article.selected{border-color:#7c3aed;background:linear-gradient(135deg,#fbf9ff,#fff);box-shadow:0 0 0 2px rgba(124,58,237,.07)}.branch-card-select{position:absolute;top:10px;right:10px}.branch-card-select input{position:absolute;opacity:0}.branch-card-select span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #ccd0da;border-radius:7px;color:transparent}.branch-card-select input:checked+span{border-color:#7c3aed;background:#7c3aed;color:#fff}.branch-card-icon{width:40px!important;height:40px!important;margin-top:7px;color:#7651cf;font-size:40px!important}.professional-branch-cards article>strong{color:#171b31;font-size:15px}.professional-branch-cards article>small{min-height:28px;color:#747b8f}.branch-primary{display:flex!important;align-items:center;gap:6px;padding:7px 10px;border-radius:99px;background:#f6f3fa;color:#555b70!important;cursor:pointer}.branch-primary input{position:absolute;opacity:0}.branch-primary span{color:#9a91aa}.branch-primary input:checked~span,.branch-primary input:checked~b{color:#6d31e8}.branch-primary b{font-size:10px}.professional-branch-summary{display:flex;align-items:center;gap:8px;margin:0;padding:12px 14px;border-radius:10px;background:#f4f0ff;color:#605477;font-size:11px}.professional-branch-summary>.dashicons{color:#7135e6}.professional-agenda-switch{background:#f8f5ff!important;border-color:#e4dbfa!important}.professional-schedule-options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.professional-schedule-options>label{position:relative;display:grid;grid-template-columns:46px 1fr;align-content:start;gap:4px 11px;padding:16px;border:1px solid #e0dce8;border-radius:13px;cursor:pointer}.professional-schedule-options>label.selected{border-color:#7c3aed;background:#fbf9ff;box-shadow:0 0 0 2px rgba(124,58,237,.07)}.professional-schedule-options>label>input{position:absolute;opacity:0}.schedule-choice-check{position:absolute;top:10px;right:10px;display:grid!important;place-items:center;width:23px!important;height:23px!important;border:1px solid #ccd0da;border-radius:7px;color:transparent}.professional-schedule-options>label.selected .schedule-choice-check{border-color:#7c3aed;background:#7c3aed;color:#fff}.schedule-choice-icon{grid-row:1/3;display:grid!important;place-items:center;width:46px!important;height:46px!important;border-radius:50%;background:#eee8ff;color:#7135e6;font-size:25px!important}.schedule-choice-icon.pink{background:#ffeaf5;color:#dc338c}.professional-schedule-options strong{padding-right:24px;color:#171b31;font-size:13px}.professional-schedule-options small{color:#747b8f;font-weight:500;line-height:1.4}.branch-hours-preview{grid-column:1/-1;display:grid;gap:7px;margin-top:11px;padding:11px;border-radius:9px;background:#f4f0ff}.branch-hours-preview p{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:6px;margin:0;color:#5e5577;font-size:10px}.branch-hours-preview p[hidden]{display:none}.branch-hours-preview .dashicons{width:16px;height:16px;color:#7135e6;font-size:16px}.professional-custom-schedule{overflow:hidden;border:1px solid #e2ddec;border-radius:12px}.professional-custom-schedule[hidden]{display:none}.professional-schedule-head{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;background:#faf9fc}.professional-schedule-head button{border:0;background:transparent;color:#6d31e8;font-size:11px;font-weight:800;cursor:pointer}.professional-schedule-day{display:grid;grid-template-columns:90px 125px 1fr;align-items:center;gap:10px;padding:8px 13px;border-top:1px solid #ece9f1}.professional-schedule-day>strong{font-size:11px}.professional-schedule-day>button{display:flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#6d31e8;cursor:pointer}.professional-schedule-day>button>span{position:relative;width:32px;height:18px;border-radius:99px;background:#7c3aed}.professional-schedule-day>button>span:after{content:"";position:absolute;top:3px;left:17px;width:12px;height:12px;border-radius:50%;background:#fff}.professional-schedule-day>button b{font-size:10px}.professional-schedule-day>div{display:flex;align-items:center;gap:5px}.professional-schedule-day input[type=time]{min-height:34px!important;padding:4px 6px!important}.professional-schedule-day.closed{background:#f8f8fa;color:#9295a0}.professional-schedule-day.closed>button{color:#858996}.professional-schedule-day.closed>button>span{background:#ccd0d8}.professional-schedule-day.closed>button>span:after{left:3px}.professional-schedule-day.closed>div{opacity:.35;pointer-events:none}.professional-schedule-day.invalid{background:#fff2f4}.professional-schedule-day.invalid input{border-color:#e33b5e!important}
@media(max-width:700px){.professional-branch-cards,.professional-schedule-options{grid-template-columns:1fr}.professional-schedule-day{grid-template-columns:1fr auto}.professional-schedule-day>div{grid-column:1/-1}.professional-step-title button{font-size:10px}}

/* Clinessy Core 0.2.19: navegación del asistente siempre visible */
.professional-drawer{display:flex!important;flex-direction:column;overflow:hidden!important}.professional-drawer>header{position:relative!important;top:auto!important;flex:0 0 auto}.professional-drawer>form{display:flex!important;flex:1 1 auto;min-height:0;flex-direction:column;overflow:hidden}.professional-drawer .professional-steps{flex:0 0 auto}.professional-drawer .professional-wizard-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding-bottom:28px}.professional-drawer footer{position:relative!important;right:auto!important;bottom:auto!important;width:100%!important;flex:0 0 auto;min-height:70px;box-shadow:0 -8px 24px rgba(31,20,78,.08)}.professional-drawer footer .button{display:inline-flex!important;align-items:center;justify-content:center;min-width:116px;min-height:42px;border-radius:9px}.professional-drawer footer [hidden]{display:none!important}
@media(max-width:700px){.professional-drawer footer{display:grid;grid-template-columns:1fr 1fr}.professional-drawer footer .button{width:100%}}

/* Clinessy Core 0.2.20: acciones del asistente dentro del área visible */
.professional-drawer-close{position:absolute;z-index:20;top:12px;right:14px;display:grid;width:38px;height:38px;place-items:center;border:1px solid #e4deec;border-radius:50%;background:#fff;color:#24283a!important;text-decoration:none!important;font-size:27px;line-height:1;box-shadow:0 5px 16px rgba(28,20,57,.1)}
.professional-wizard-actions{position:relative;z-index:8;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;flex:0 0 auto;padding:12px 24px;border-bottom:1px solid #e7e3ed;background:#fff;box-shadow:0 7px 18px rgba(31,20,78,.06)}
.professional-wizard-actions>span{text-align:center;color:#747b8f;font-size:11px}.professional-wizard-actions .button{display:inline-flex!important;align-items:center;justify-content:center;min-width:116px;min-height:42px;border-radius:9px}.professional-wizard-actions .button-primary{border:0!important;background:linear-gradient(135deg,#6530e8,#e635a9)!important;color:#fff!important}.professional-wizard-actions [hidden]{display:none!important}
@media(max-width:700px){.professional-drawer-close{top:8px;right:8px}.professional-wizard-actions{grid-template-columns:1fr 1fr;padding:10px 14px}.professional-wizard-actions>span{display:none}.professional-wizard-actions .button{width:100%;min-width:0}}

/* Clinessy Core 0.2.21: navegación después de la información solicitada */
.professional-drawer>form{display:block!important;overflow-y:auto!important;min-height:0}.professional-drawer .professional-wizard-body{display:block;overflow:visible!important;min-height:auto!important;padding-bottom:18px}.professional-wizard-actions{position:relative!important;bottom:auto!important;margin:0 24px 24px;padding:15px 0 0;border-top:1px solid #e7e3ed;border-bottom:0;background:#fff;box-shadow:none}.professional-wizard-actions .button:disabled{border-color:#dedbe5!important;background:#f2f1f5!important;color:#9b9da8!important;box-shadow:none!important;cursor:not-allowed}
@media(max-width:700px){.professional-wizard-actions{margin:0 14px 18px}}

/* Clinessy Core 0.2.22: selección visual y funcional de servicios */
.professional-services-title{margin-bottom:2px}.professional-service-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 210px auto;align-items:center;gap:10px}.professional-service-toolbar label{position:relative}.professional-service-toolbar label>.dashicons{position:absolute;z-index:1;left:12px;top:12px;color:#777e90}.professional-service-toolbar input{padding-left:40px!important}.professional-service-toolbar button{border:0;background:transparent;color:#6d31e8;font-size:11px;font-weight:850;cursor:pointer}.professional-service-count{justify-self:start;padding:6px 11px;border:1px solid #a98bf0;border-radius:99px;background:#f5f1ff;color:#6530d5;font-size:11px;font-weight:850}.professional-service-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.professional-service-cards>label{position:relative;display:grid!important;grid-template-columns:34px 1fr;align-items:center;gap:11px;min-height:74px;padding:13px 15px;box-sizing:border-box;border:1px solid #ddd9e5;border-radius:11px;background:#fff;cursor:pointer}.professional-service-cards>label[hidden]{display:none!important}.professional-service-cards>label.selected{border-color:#7c3aed;background:linear-gradient(135deg,#fbf9ff,#fff);box-shadow:0 0 0 2px rgba(124,58,237,.06)}.professional-service-cards input{position:absolute;opacity:0}.service-card-check{display:grid!important;place-items:center;width:30px!important;height:30px!important;border:1px solid #c9c9d2;border-radius:7px;color:transparent}.professional-service-cards label.selected .service-card-check{border-color:#7135e6;background:#7135e6;color:#fff}.professional-service-cards strong,.professional-service-cards small{display:block}.professional-service-cards strong{color:#171b31;font-size:12px}.professional-service-cards small{margin-top:4px;color:#747b8f;font-size:10px;font-weight:550}.professional-services-help{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:10px;padding:13px 15px;border:1px solid #e3dcf5;border-radius:10px;background:#faf8ff;color:#625b75!important;text-decoration:none!important;font-size:10px}.professional-services-help>.dashicons{color:#6c35d3}.professional-services-help strong{color:#6530d5;font-size:11px}.professional-services-empty{grid-column:1/-1;padding:25px;border:1px dashed #dcd6e7;border-radius:11px;color:#747b8f;text-align:center}
@media(max-width:700px){.professional-service-toolbar{grid-template-columns:1fr}.professional-service-toolbar button{text-align:left}.professional-service-cards{grid-template-columns:1fr}.professional-services-help{grid-template-columns:24px 1fr}.professional-services-help strong{grid-column:2}}

/* Clinessy Core 0.2.23: selección de sucursal contenida y accesible */
.professional-branch-cards article{grid-template-rows:auto auto auto 1fr;cursor:pointer;outline:none}.professional-branch-cards article:focus-visible{box-shadow:0 0 0 3px rgba(124,58,237,.18)}.branch-card-select{display:block!important;width:26px;height:26px}.branch-card-select span{box-sizing:border-box}.branch-primary{align-self:end;justify-content:center;width:auto!important;max-width:100%;min-height:34px;box-sizing:border-box;padding:7px 12px!important;overflow:hidden;border:1px solid #e3ddea;background:#f7f4fb!important;white-space:nowrap}.branch-primary input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important}.branch-primary span{flex:0 0 18px;width:18px!important;height:18px!important;font-size:18px!important}.branch-primary b{overflow:hidden;text-overflow:ellipsis;color:#676b7a;font-size:10px!important}.professional-branch-cards article.selected .branch-primary{border-color:#d6c8f5;background:#f2ecff!important}.professional-branch-cards article.selected .branch-primary:hover{border-color:#7c3aed}.professional-branch-cards article:not(.selected) .branch-primary{opacity:.62}

/* Clinessy Core 0.1.0 — contraste de formularios y multiempresa */
.clinessy-card,
.clinessy-form,
.clinessy-modal-card{
  border-color:#d7c7ae !important;
  box-shadow:0 10px 28px rgba(15,46,36,.075) !important;
}
.clinessy-form label,
.clinessy-form .summary-box{
  color:#17392f;
}
.clinessy-form input,
.clinessy-form select,
.clinessy-form textarea,
.clinessy-global-search input,
.clinessy-company-switch select{
  border:1.4px solid #bfae93 !important;
  background:#fffdf8 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}
.clinessy-form input:focus,
.clinessy-form select:focus,
.clinessy-form textarea:focus,
.clinessy-global-search input:focus,
.clinessy-company-switch select:focus{
  border-color:#123d32 !important;
  box-shadow:0 0 0 3px rgba(18,61,50,.13) !important;
  outline:none;
}
.clinessy-form h3{
  color:#0f352b;
  border-bottom:1px solid #d7c7ae;
  padding-bottom:8px;
}
.clinessy-company-switch{display:flex;align-items:center;margin-left:auto;margin-right:10px;}
.clinessy-company-switch label{display:flex;align-items:center;gap:8px;font-weight:900;color:#123d32;font-size:12px;text-transform:uppercase;letter-spacing:.4px;}
.clinessy-company-switch select{min-height:42px;border-radius:12px;padding:0 14px;font-weight:800;min-width:170px;}
.agenda-event-card[draggable="true"]{cursor:grab;}
.agenda-event-card.dragging{opacity:.55;transform:scale(.98);}
.agenda-drop-slot.drag-over{background:#eaf7ef !important;border:2px dashed #0b6b53 !important;color:#0b6b53 !important;}
.agenda-event-card.drag-over{outline:2px dashed #0b6b53!important;outline-offset:3px!important;box-shadow:0 0 0 4px rgba(11,107,83,.12)!important;}
.client-appointments{grid-column:1/-1;}
.client-appointments small{display:block;color:#68756f;margin-top:4px;}
@media(max-width:1100px){.clinessy-company-switch{order:3;width:100%;margin:8px 0 0}.clinessy-company-switch label,.clinessy-company-switch select{width:100%;}}

/* Clinessy Core 0.1.0 — identidad, acerca y cierre de sesión */
.clinessy-sidebar{display:flex;flex-direction:column;}
.clinessy-sidebar nav{flex:1;}
.clinessy-logo{padding:14px 16px;min-height:86px;}
.clinessy-logo img{max-width:100%;max-height:76px;object-fit:contain;}
.clinessy-sidebar-bottom{margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);display:grid;gap:10px;}
.clinessy-sidebar-link{display:flex;gap:10px;align-items:center;text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:12px 13px;background:rgba(255,255,255,.035);}
.clinessy-sidebar-link:hover{background:rgba(255,255,255,.09);color:#fff;}
.clinessy-sidebar-link .dashicons{color:var(--clinessy-gold);font-size:22px;width:22px;height:22px;}
.clinessy-sidebar-link div{font-weight:800;line-height:1.18;}
.clinessy-sidebar-link small{font-weight:600;color:rgba(255,255,255,.72);}
.clinessy-logout-link{border-color:rgba(230,196,119,.32);}
.clinessy-logout-link .dashicons{color:#f6d98a;}
.clinessy-about-card{max-width:980px;}
.clinessy-about-hero{display:flex;gap:22px;align-items:center;margin-bottom:18px;}
.clinessy-about-hero img{width:min(360px,42vw);height:auto;background:#fff;border:1px solid var(--clinessy-border);border-radius:18px;padding:14px;box-shadow:0 10px 28px rgba(15,46,36,.07);}
.clinessy-about-hero h2{font-size:34px;margin-bottom:8px;}
.clinessy-about-card pre,.instructions-card pre{background:#0b1f19;color:#f7e6b3;border-radius:14px;padding:14px 16px;font-weight:800;overflow:auto;}
.clinessy-login-box{max-width:460px;margin:70px auto;padding:28px;background:#fff;border:1px solid var(--clinessy-border);border-radius:24px;box-shadow:0 24px 70px rgba(15,46,36,.12);text-align:center;}
.clinessy-login-logo{max-width:320px;width:100%;height:auto;margin:0 auto 16px;display:block;}
@media(max-width:900px){.clinessy-sidebar-bottom{margin-top:18px}.clinessy-about-hero{display:block}.clinessy-about-hero img{width:100%;max-width:380px;margin-bottom:14px}}

.kpi-sub-money{display:block;font-weight:800;color:#123d32;margin-top:4px;}
body.clinessy-dark .kpi-sub-money{color:#d6b45f;}
.clinessy-danger-link{color:#b42318!important;border-color:#f0b4ad!important;}

.realtime-branches .realtime-list{display:grid;gap:12px;margin-top:12px}
.realtime-branch{border:1px solid #ded3c2;background:#fffdf9;border-radius:16px;padding:14px 16px;box-shadow:0 8px 20px rgba(18,61,50,.05)}
.realtime-branch>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.realtime-branch strong{font-weight:800;color:#152033}
.realtime-branch p{margin:5px 0;color:#5d687c;font-weight:600}
.state-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800;white-space:nowrap}
.state-badge.ok{background:#e5f7ed;color:#047846}
.state-badge.neutral{background:#f1f3f5;color:#667085}
.clinessy-danger-link{color:#b42318!important;border-color:#f4b8b0!important;background:#fff7f5!important}
.clinessy-danger-link:hover{background:#ffe7e3!important}

.office-dashboard{display:flex;flex-direction:column;gap:18px}.office-hero{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;background:linear-gradient(135deg,#ffffff 0%,#f7fbf8 100%)}.office-hero h2{margin:4px 0 8px;font-size:28px}.office-hero p{margin:0;color:#64748b}.office-eyebrow{font-weight:800;color:#0b4a35;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.office-date{display:flex;align-items:center;gap:8px;color:#475569;font-weight:700}.office-grid-top{display:grid;grid-template-columns:1fr 1.35fr;gap:18px}.next-appointment h3,.office-actions h3{margin-top:0}.next-client{display:flex;align-items:center;gap:10px;margin:14px 0}.next-client strong{font-size:22px}.next-appointment p{display:flex;align-items:center;gap:8px;color:#334155}.office-action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.office-action-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:92px;border:1px solid #e4e7ec;border-radius:16px;text-decoration:none;color:#172033;font-weight:800;background:#fff;transition:.18s ease}.office-action-grid a:hover{border-color:#0b4a35;box-shadow:0 10px 30px rgba(11,74,53,.08);transform:translateY(-1px)}.office-action-grid .dashicons{font-size:28px;width:28px;height:28px;color:#0b4a35}.office-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.office-kpis .mini{position:relative;padding:22px}.office-kpis .mini strong{display:block;font-size:32px;line-height:1;margin:8px 0}.office-kpis .mini p{margin:0;color:#64748b;font-weight:700}.ok-dot,.done-dot,.warn-dot,.money-dot{width:12px;height:12px;border-radius:999px;display:inline-block;background:#f59e0b}.done-dot{background:#10b981}.warn-dot{background:#ef4444}.money-dot{background:#2563eb}.office-content-grid{display:grid;grid-template-columns:1.6fr .85fr;gap:18px}.office-table td,.office-table th{vertical-align:middle}.office-summary ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.office-summary li{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid #edf0f3;border-radius:14px}.office-summary li .dashicons{display:flex;align-items:center;justify-content:center;background:#ecfdf5;color:#0b4a35;border-radius:12px;font-size:22px;width:42px;height:42px}.office-summary li strong{display:block}.office-summary li small{color:#64748b}.office-summary li b{font-size:22px}.office-notes{min-height:92px}@media(max-width:1100px){.office-grid-top,.office-content-grid{grid-template-columns:1fr}.office-kpis{grid-template-columns:repeat(2,1fr)}.office-action-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.office-hero{align-items:flex-start;flex-direction:column}.office-kpis,.office-action-grid{grid-template-columns:1fr}}

.permissions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:#faf9f6;border:1px solid var(--clinessy-border);border-radius:14px;padding:14px}
.permissions .perm-check{display:flex!important;align-items:center;gap:8px;background:#fff;border:1px solid #d9cfbd;border-radius:10px;padding:10px 12px;margin:0;font-weight:700;color:#253047}
.permissions .perm-check input[type="checkbox"]{width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;padding:0!important;appearance:auto!important;-webkit-appearance:checkbox!important;border-radius:3px!important}
.permissions .perm-check span{line-height:1.2}
.button-link-delete{color:#b32d2e!important;border-color:#b32d2e!important}
.button-link-delete:hover{background:#b32d2e!important;color:#fff!important}
@media(max-width:900px){.permissions{grid-template-columns:1fr}}

.clinessy-company-identity-preview{display:flex;align-items:center;gap:16px;background:#fbfaf7;border:1px solid #d8c8b0;border-radius:18px;padding:16px;margin-top:4px;flex-wrap:wrap}
.clinessy-company-identity-preview span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#6b7280;font-weight:900;width:100%}
.clinessy-company-identity-preview img{max-width:260px;max-height:90px;object-fit:contain;background:#fff;border:1px solid #ece4d8;border-radius:14px;padding:10px}
.clinessy-company-identity-preview strong{font-size:22px;color:#123d32}
.clinessy-company-identity-preview small{color:#6b7280;font-weight:700}
.clinessy-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.clinessy-info-grid>div{background:#fbfaf7;border:1px solid #e6ddcd;border-radius:16px;padding:15px}
.clinessy-info-grid strong{display:block;color:#123d32;margin-bottom:6px}
.clinessy-info-grid p{margin:0;color:#6b7280;font-weight:600}
@media(max-width:900px){.clinessy-info-grid{grid-template-columns:1fr}.clinessy-company-identity-preview{display:block}.clinessy-company-identity-preview img{max-width:100%;margin:10px 0}}

/* Clinessy Core 0.1.0 — pago dividido en ventas */
.clinessy-split-button{display:inline-flex!important;align-items:center;justify-content:center;margin:8px 0 18px!important;cursor:pointer}
.clinessy-split-button input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.clinessy-split-button span{display:inline-flex;align-items:center;justify-content:center;background:#064936;color:#fff;border:1px solid #064936;border-radius:16px;padding:14px 20px;min-height:48px;font-weight:900;font-size:16px;box-shadow:0 10px 24px rgba(6,73,54,.18);transition:all .18s ease}
.clinessy-split-button span:before{content:'+';font-size:22px;line-height:1;margin-right:10px;font-weight:800}
.clinessy-split-button input:checked + span{background:#0b5a43;border-color:#0b5a43}
.clinessy-split-button input:checked + span:before{content:'−'}
.clinessy-split-payment-box{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:#f9f6ef;border:1px solid #d7c7aa;border-radius:18px;padding:18px;margin:0 0 18px}
.clinessy-split-payment-box .full{grid-column:1/-1}
@media(max-width:780px){.clinessy-split-payment-box{grid-template-columns:1fr}}

/* Clinessy Core 0.1.0 - Reportes premium */
.clinessy-report-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;align-items:start}.clinessy-report-submenu{position:sticky;top:18px;background:linear-gradient(180deg,#063f2c,#01291d);border-radius:22px;padding:14px;box-shadow:0 22px 50px rgba(0,42,28,.16)}.clinessy-report-submenu a{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:14px;color:#e9fff5;text-decoration:none;font-weight:800;margin-bottom:5px}.clinessy-report-submenu a:hover,.clinessy-report-submenu a.active{background:linear-gradient(135deg,#0f8a55,#09623e);color:#fff;box-shadow:0 10px 25px rgba(7,112,68,.22)}.clinessy-report-submenu .dashicons{font-size:18px;width:18px;height:18px}.clinessy-report-content{min-width:0}.report-filter-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end;margin-bottom:20px}.report-filter-bar label{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:7px 11px;box-shadow:0 8px 20px rgba(15,23,42,.04)}.report-filter-bar input,.report-filter-bar select{border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:6px!important;min-width:160px}.report-export-btn{background:#0b7a46!important;color:#fff!important;border-color:#0b7a46!important;border-radius:12px!important}.report-title{margin-bottom:18px}.report-title h2{font-size:24px;margin:0 0 4px;color:#111827}.report-title p{margin:0;color:#64748b}.report-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-bottom:22px}.report-kpi-grid.compact{grid-template-columns:repeat(2,minmax(0,260px));justify-content:start}.report-kpi-card{background:#fff;border:1px solid #e8edf2;border-radius:18px;padding:20px;box-shadow:0 18px 40px rgba(15,23,42,.06);position:relative;min-height:118px}.report-kpi-card .dashicons{display:grid;place-items:center;width:48px;height:48px;border-radius:18px;margin-bottom:12px;color:#fff;font-size:23px}.report-kpi-card small{display:block;color:#475569;font-weight:700}.report-kpi-card strong{display:block;font-size:24px;line-height:1.15;margin:5px 0;color:#0f172a}.report-kpi-card em{display:block;font-style:normal;color:#16a34a;font-weight:700;font-size:12px}.report-kpi-card.green .dashicons{background:#0ea85f}.report-kpi-card.green2 .dashicons{background:#11a36e}.report-kpi-card.blue .dashicons{background:#2f8dff}.report-kpi-card.purple .dashicons{background:#8b5cf6}.report-kpi-card.orange .dashicons{background:#fb8c00}.report-kpi-card.violet .dashicons{background:#7c3aed}.report-grid-main{display:grid;grid-template-columns:2fr .95fr 1.25fr;gap:18px;margin-bottom:18px}.report-grid-main .wide{min-height:340px}.report-chart-card .section-head,.report-list-card .section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.report-bars{height:250px;display:flex;gap:20px;align-items:end;border-bottom:1px dashed #dbe3ea;padding:0 10px 12px}.report-bars div{flex:1;text-align:center;display:flex;flex-direction:column;justify-content:flex-end;height:100%}.report-bars span{display:block;background:linear-gradient(180deg,#0b7a46,#b9e3c9);border-radius:12px 12px 0 0;min-height:10px}.report-bars b{font-size:12px;color:#334155;margin-bottom:6px}.report-bars small{margin-top:8px;color:#64748b}.fake-donut{width:170px;height:170px;border-radius:50%;margin:18px auto;background:conic-gradient(#12a264 0 45%,#328bea 45% 75%,#fb923c 75% 90%,#ef4444 90% 100%);position:relative;display:grid;place-items:center}.fake-donut:after{content:"";position:absolute;width:96px;height:96px;border-radius:50%;background:#fff}.fake-donut strong,.fake-donut span{position:relative;z-index:1;display:block;text-align:center}.fake-donut strong{font-size:28px}.fake-donut span{font-size:12px;color:#64748b;margin-top:32px;position:absolute}.report-legend{list-style:none;margin:0;padding:0}.report-legend li{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:7px 0;color:#475569}.report-legend i{width:10px;height:10px;border-radius:50%;background:#12a264;display:inline-block}.report-service-list{list-style:none;margin:0;padding:0;counter-reset:item}.report-service-list li{display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid #edf2f7;position:relative}.report-service-list li:before{counter-increment:item;content:counter(item)'.';font-weight:800;color:#64748b;margin-right:8px}.report-service-list li span{grid-column:1}.report-service-list li strong{grid-column:2;color:#0f172a}.report-service-list li b{grid-column:1/3;height:4px;background:linear-gradient(90deg,#08774a,#c7d2fe);border-radius:99px;display:block;width:70%}.report-mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:18px}.mini-report{background:#fff;border:1px solid #e8edf2;border-radius:18px;padding:18px;display:grid;gap:6px;box-shadow:0 14px 34px rgba(15,23,42,.05)}.mini-report .dashicons{font-size:28px;color:#0b7a46}.mini-report strong{font-size:25px;color:#0f172a}.mini-report p{margin:0;color:#64748b;font-weight:700}.report-grid-bottom{display:grid;grid-template-columns:2fr 1fr;gap:18px}.report-progress{height:8px;background:#e5e7eb;border-radius:99px;display:inline-block;width:120px;vertical-align:middle;overflow:hidden;margin-right:8px}.report-progress b{display:block;height:100%;background:linear-gradient(90deg,#0b7a46,#22c55e);border-radius:99px}.report-alert{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;border-bottom:1px solid #edf2f7;padding:14px 0}.report-alert span{font-size:22px}.report-alert strong{display:block}.report-alert small{display:block;color:#64748b}.report-alert:after{content:'Ver';color:#0b7a46;font-size:12px;font-weight:800}.clinessy-dark .clinessy-report-submenu{background:linear-gradient(180deg,#031f18,#061512)}.clinessy-dark .report-kpi-card,.clinessy-dark .mini-report{background:#111827!important;border-color:#263244!important}.clinessy-dark .report-title h2,.clinessy-dark .report-kpi-card strong,.clinessy-dark .mini-report strong{color:#f8fafc}.clinessy-dark .fake-donut:after{background:#111827}@media(max-width:1320px){.report-kpi-grid{grid-template-columns:repeat(3,1fr)}.report-grid-main{grid-template-columns:1fr}.report-mini-grid{grid-template-columns:repeat(2,1fr)}.report-grid-bottom{grid-template-columns:1fr}}@media(max-width:900px){.clinessy-report-shell{grid-template-columns:1fr}.clinessy-report-submenu{position:relative;display:flex;overflow:auto}.clinessy-report-submenu a{white-space:nowrap}.report-kpi-grid{grid-template-columns:1fr}.report-filter-bar{justify-content:flex-start}.report-mini-grid{grid-template-columns:1fr}}


/* Clinessy Core 0.1.0 — menú lateral colapsable */
.clinessy-sidebar-toggle{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:14px;padding:10px 12px;margin-bottom:14px;cursor:pointer;font-weight:800;transition:all .18s ease;}
.clinessy-sidebar-toggle:hover{background:rgba(255,255,255,.14);}
.clinessy-sidebar-toggle .dashicons{color:var(--clinessy-gold);font-size:22px;width:22px;height:22px;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar{width:86px;flex-basis:86px;padding:18px 10px;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-logo{padding:9px;min-height:54px;border-radius:16px;margin-bottom:16px;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-logo img{max-width:48px;max-height:48px;object-fit:contain;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-toggle-label,
.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav-section,
.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav span:not(.dashicons),
.clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-link div{display:none;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav{justify-content:center;gap:0;padding:14px 0;margin:8px 0;border-radius:16px;transform:none;font-size:0;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav:hover,
.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav.active{transform:none;padding-left:0;border-radius:16px;background:linear-gradient(180deg,var(--clinessy-gold),#f3d98f);}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-link{justify-content:center;padding:12px 0;border-radius:14px;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-bottom{gap:8px;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-help{margin-top:18px;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-main{padding-left:28px;}
@media(max-width:900px){.clinessy-sidebar-toggle{display:none}.clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar{width:100%;flex-basis:auto;padding:22px 16px}.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav span:not(.dashicons),.clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-link div{display:block}.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav{justify-content:flex-start;gap:18px;padding:18px 22px}.clinessy-app.clinessy-sidebar-collapsed .clinessy-logo img{max-width:175px;max-height:72px}}

/* Clinessy Core 0.1.0 - Ficha moderna de clienta */
.client-profile-v2{display:flex;flex-direction:column;gap:18px}
.client-hero-card{display:grid;grid-template-columns:92px 1fr auto;gap:18px;align-items:center;background:linear-gradient(135deg,#ffffff 0%,#fbf8f1 100%)}
.client-avatar{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0b4a35,#0d7a54);color:#fff;box-shadow:0 14px 34px rgba(11,74,53,.18)}
.client-avatar .dashicons{font-size:30px;width:30px;height:30px;color:#f5d98b}
.client-label{display:inline-block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#0b4a35;margin-bottom:4px}
.client-hero-main h2{font-size:30px;margin:0 0 5px;color:#142033}
.client-hero-main p{margin:0;color:#64748b;font-weight:700}
.client-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.client-tabs{display:flex;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--clinessy-border);border-radius:18px;padding:8px;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.client-tabs a{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:13px;text-decoration:none;color:#334155;font-weight:900;border:1px solid transparent}
.client-tabs a.active{background:#064936;color:#fff;box-shadow:0 10px 22px rgba(6,73,54,.18)}
.client-tabs a:hover:not(.active){background:#f7f3ea;border-color:#e5d7bd;color:#064936}
.client-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.client-info-panel h3{margin:0 0 12px;color:#064936;font-size:18px}.client-info-panel h3:not(:first-child){margin-top:22px}
.client-info-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e4dac8;border-radius:14px;overflow:hidden;background:#fff}
.client-info-table th,.client-info-table td{padding:12px 14px;border-bottom:1px solid #ece5d8;text-align:left;vertical-align:top}.client-info-table tr:last-child th,.client-info-table tr:last-child td{border-bottom:0}.client-info-table th{width:38%;background:#fbf8f1;color:#475569;font-weight:900}.client-info-table td{color:#172033;font-weight:700}
.client-notes-box{min-height:96px;border:1px solid #e1d5c2;border-radius:14px;background:#fffdf9;padding:14px;color:#334155;font-weight:600}.client-notes-box.large{min-height:180px}
.client-tab-card{overflow-x:auto}.client-tab-card .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.client-tab-card h2{margin:0}
.client-citas-table th,.client-citas-table td{vertical-align:middle}.client-citas-table td:nth-child(4){max-width:260px}.client-citas-table td:nth-child(9){max-width:230px}
.badge.status-confirmed,.badge.status-confirmada{background:#dcfce7;color:#166534}.badge.status-attended,.badge.status-atendida{background:#dbeafe;color:#1d4ed8}.badge.status-no_show,.badge.status-no-asistio{background:#fee2e2;color:#991b1b}.badge.status-suspended,.badge.status-suspendida{background:#ffedd5;color:#9a3412}.badge.status-new,.badge.status-nueva,.badge.status-reservada{background:#eef2ff;color:#3730a3}.badge.pay-pagado{background:#dcfce7;color:#166534}.badge.pay-no-pagado,.badge.pay-no_pagado{background:#fef3c7;color:#92400e}.badge.pay-abono{background:#e0f2fe;color:#075985}
.timeline-list{display:flex;flex-direction:column;gap:12px}.trace-box{margin-top:10px;border-left:3px solid #0b4a35;background:#f8faf9;border-radius:0 12px 12px 0;padding:10px 12px;display:flex;flex-direction:column;gap:5px}.trace-box b{color:#0b4a35}.trace-box span{font-size:12px;color:#334155;font-weight:800}.trace-box small{font-size:12px;color:#64748b}
body.clinessy-dark .client-hero-card,body.clinessy-dark .client-tabs,body.clinessy-dark .client-info-table,body.clinessy-dark .client-notes-box{background:#111827!important;border-color:#263244!important}body.clinessy-dark .client-hero-main h2,body.clinessy-dark .client-info-table td{color:#f8fafc}body.clinessy-dark .client-info-table th{background:#0b1220;color:#cbd5e1}body.clinessy-dark .client-tabs a{color:#cbd5e1}body.clinessy-dark .client-tabs a.active{background:#0b4a35;color:#fff}
@media(max-width:1100px){.client-hero-card{grid-template-columns:76px 1fr}.client-hero-actions{grid-column:1/-1;justify-content:flex-start}.client-profile-grid{grid-template-columns:1fr}}@media(max-width:640px){.client-hero-card{grid-template-columns:1fr;text-align:left}.client-avatar{width:66px;height:66px}.client-tabs{overflow:auto;flex-wrap:nowrap}.client-tabs a{white-space:nowrap}.client-info-table th,.client-info-table td{display:block;width:100%}.client-info-table th{border-bottom:0}.client-info-table td{border-bottom:1px solid #ece5d8}}

/* Clinessy Core 0.1.0 — actualización inteligente / anti-caché */
.clinessy-refresh-button{
  display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(12,77,63,.16);background:#f6fbf8;color:#0c4d3f;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer;white-space:nowrap;
}
.clinessy-refresh-button:hover{background:#eaf6ef;border-color:rgba(12,77,63,.28)}
.clinessy-refresh-button.is-loading .dashicons{animation:clinessySpin 1s linear infinite}
@keyframes clinessySpin{to{transform:rotate(360deg)}}
.clinessy-last-updated{font-size:12px;color:#74827a;white-space:nowrap;background:#fff;border:1px solid #ebe5da;border-radius:999px;padding:8px 10px}
.clinessy-live-update-banner{position:fixed;right:22px;bottom:22px;z-index:99999;display:grid;grid-template-columns:1fr auto;gap:2px 14px;align-items:center;max-width:430px;background:#0c4d3f;color:#fff;border:1px solid rgba(212,175,55,.45);box-shadow:0 20px 50px rgba(0,0,0,.22);border-radius:18px;padding:16px 16px 16px 18px}
.clinessy-live-update-banner strong{grid-column:1/2;font-size:14px;color:#fff}
.clinessy-live-update-banner span{grid-column:1/2;font-size:12px;color:rgba(255,255,255,.82)}
.clinessy-live-update-banner button{grid-column:2/3;grid-row:1/3;border:0;border-radius:999px;background:#d4af37;color:#17362d;font-weight:900;padding:9px 13px;cursor:pointer;white-space:nowrap}
.clinessy-live-update-banner button:hover{filter:brightness(1.04)}
body.clinessy-dark .clinessy-refresh-button{background:#123b33;color:#f5f1e7;border-color:rgba(212,175,55,.25)}
body.clinessy-dark .clinessy-last-updated{background:#15211f;color:#b9c4bf;border-color:#2d3d39}
@media (max-width: 980px){.clinessy-last-updated{display:none}.clinessy-refresh-button{padding:8px 10px;font-size:12px}.clinessy-live-update-banner{left:14px;right:14px;bottom:14px;max-width:none}}

/* Clinessy Core 0.1.0 — Agenda control panel refresh */
.agenda-control-panel{border:1px solid #e9ddc9!important;background:linear-gradient(180deg,#fff 0%,#fffdf8 100%)!important;box-shadow:0 14px 38px rgba(12,35,28,.06)!important;padding:18px!important;}
.agenda-toolbar-v2{display:grid!important;grid-template-columns:auto minmax(180px,240px) auto auto auto auto minmax(210px,1fr) minmax(180px,220px) minmax(200px,240px);gap:12px!important;align-items:center!important;}
.agenda-toolbar-v2 input,.agenda-toolbar-v2 select{height:52px!important;border:1px solid #dfe6ee!important;border-radius:15px!important;background:#fff!important;color:#162033!important;font-weight:750!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important;}
.agenda-toolbar-v2 input:focus,.agenda-toolbar-v2 select:focus{border-color:#0b6b53!important;box-shadow:0 0 0 3px rgba(11,107,83,.12)!important;outline:none!important;}
.agenda-toolbar-v2 .button{height:52px!important;border-radius:14px!important;padding:0 18px!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-color:#dfe6ee!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important;}
.agenda-toolbar-v2 .button-primary{background:#0b6b53!important;border-color:#0b6b53!important;color:#fff!important;}
.agenda-toolbar-v2 .agenda-arrow{min-width:52px!important;font-size:25px!important;background:#fff!important;color:#0b6b53!important;border-color:#dfe6ee!important;}
.agenda-toolbar-v2 input[name="q"]{margin-left:0!important;min-width:220px!important;}
.agenda-toolbar-v2 button.clinessy-open-new-reservation{background:linear-gradient(135deg,#0b6b53,#078d61)!important;border-color:#0b6b53!important;color:#fff!important;box-shadow:0 13px 28px rgba(11,107,83,.22)!important;}
.agenda-kpi-strip{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;margin:18px 0!important;}
.agenda-kpi-strip .agenda-kpi{position:relative;background:#fff!important;border:1px solid #e7edf3!important;border-radius:19px!important;padding:18px 18px 18px 60px!important;min-height:76px!important;box-shadow:0 12px 28px rgba(15,23,42,.045)!important;overflow:hidden;}
.agenda-kpi-strip .agenda-kpi>.dashicons{position:absolute;left:18px;top:19px;width:30px;height:30px;font-size:30px;border-radius:14px;color:#0b6b53;}
.agenda-kpi-strip .agenda-kpi strong{display:block!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.055em!important;color:#667085!important;margin:0 0 5px!important;font-weight:900!important;}
.agenda-kpi-strip .agenda-kpi b{display:block!important;font-size:30px!important;line-height:1!important;color:#101828!important;font-weight:950!important;}
.agenda-kpi-boxes>.dashicons{color:#0b6b53!important}.agenda-kpi-clients>.dashicons{color:#2563eb!important}.agenda-kpi-ok>.dashicons{color:#16a34a!important}.agenda-kpi-pending>.dashicons{color:#f59e0b!important}.agenda-kpi-alert>.dashicons{color:#ef4444!important}.agenda-kpi-occupancy>.dashicons{color:#7c3aed!important}
.agenda-smart-card{display:flex!important;align-items:center!important;gap:12px!important;border-color:#e9ddc9!important;background:#fff!important;padding:15px 18px!important;margin:8px 0 14px!important;box-shadow:0 10px 24px rgba(15,23,42,.035)!important;}
.agenda-smart-card .smart-title{display:flex;align-items:center;gap:8px;margin-right:6px;color:#0b4b38;white-space:nowrap;}
.agenda-smart-card .smart-title .dashicons{color:#e4b750;}
.agenda-smart-card span:not(.dashicons){background:#f8fafc!important;border:1px solid #e5e7eb!important;color:#334155!important;border-radius:999px!important;padding:9px 14px!important;font-size:12px!important;font-weight:900!important;}
.agenda-legend-v2{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;margin:8px 0 14px!important;padding:13px 15px!important;border-color:#e9ddc9!important;box-shadow:0 10px 24px rgba(15,23,42,.03)!important;}
.agenda-legend-v2 strong{font-size:12px;text-transform:uppercase;letter-spacing:.055em;color:#667085;margin-right:2px;}
.agenda-legend-v2 .st{border-radius:999px!important;padding:8px 13px!important;font-size:12px!important;font-weight:900!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);}
@media(max-width:1550px){.agenda-toolbar-v2{grid-template-columns:repeat(4,minmax(0,1fr))!important}.agenda-toolbar-v2 input[name="q"]{min-width:0!important}.agenda-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.agenda-toolbar-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.agenda-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.agenda-smart-card{align-items:flex-start!important;flex-direction:column!important}.agenda-smart-card .smart-title{margin-bottom:2px}}
@media(max-width:560px){.agenda-toolbar-v2{grid-template-columns:1fr!important}.agenda-kpi-strip{grid-template-columns:1fr!important}.agenda-kpi-strip .agenda-kpi{min-height:68px!important}}


.clinessy-main{padding:18px 24px 28px!important;}
.clinessy-header{margin-bottom:14px!important;align-items:center!important;min-height:48px!important;}
.clinessy-header h1{font-size:26px!important;line-height:1.05!important;}
.clinessy-header p{font-size:13px!important;margin-top:3px!important;}
.clinessy-dashboard-top{margin:-44px 0 16px!important;}
.clinessy-dash-kpis{gap:14px!important;margin-bottom:14px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;}
.dash-card{border-radius:14px!important;padding:16px!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important;}
.dash-kpi{min-height:98px!important;grid-template-columns:44px 1fr!important;gap:13px!important;align-items:start!important;}
.dash-icon{width:40px!important;height:40px!important;}
.dash-icon .dashicons{font-size:21px!important;width:21px!important;height:21px!important;}
.dash-kpi h4{font-size:11px!important;margin-bottom:4px!important;}
.dash-kpi strong{font-size:26px!important;line-height:1.05!important;margin-bottom:4px!important;}
.dash-kpi p{font-size:14px!important;margin:0 0 8px!important;}
.dash-kpi .progress{height:7px!important;margin-top:10px!important;}
.dash-kpi .mini-bars{height:44px!important;margin-top:6px!important;}
.dash-kpi .mini-bars span{width:22px!important;}
.dash-grid-2{gap:14px!important;margin-bottom:14px!important;}
.dash-grid-3{gap:14px!important;margin-bottom:14px!important;}
.dash-section-title{font-size:18px!important;margin-bottom:12px!important;}
.realtime-branches{gap:10px!important;}
.realtime-branch-card{padding:14px 16px!important;border-radius:14px!important;}
.realtime-branch-card strong{font-size:16px!important;}
.realtime-branch-card p{font-size:14px!important;margin:6px 0 0!important;line-height:1.35!important;}
.realtime-branch-card .badge{font-size:11px!important;padding:4px 8px!important;}
.clinessy-app:not(.clinessy-sidebar-collapsed) .clinessy-sidebar{width:230px!important;flex-basis:230px!important;padding:18px 14px!important;}
.clinessy-logo{min-height:70px!important;margin-bottom:18px!important;padding:14px!important;border-radius:15px!important;}
.clinessy-logo img{max-width:150px!important;max-height:58px!important;}
.clinessy-nav{font-size:16px!important;padding:14px 18px!important;gap:14px!important;margin:5px 0!important;}
.clinessy-nav .dashicons{font-size:22px!important;width:22px!important;height:22px!important;}
.clinessy-nav-section{font-size:12px!important;margin:18px 0 7px!important;letter-spacing:.08em!important;}
.clinessy-sidebar-link{padding:12px 14px!important;}
.clinessy-help{margin-top:26px!important;padding:12px!important;}
.clinessy-footer{font-size:11px!important;margin-top:18px!important;}
/* compactar cards generales en fullscreen sin tocar formularios importantes */
.clinessy-app .clinessy-card{padding:16px!important;margin-bottom:14px!important;border-radius:16px!important;}
.clinessy-app .clinessy-card h2{font-size:18px!important;margin-bottom:12px!important;}
/* mejor uso del ancho cuando el menú está colapsado */
.clinessy-app.clinessy-sidebar-collapsed .clinessy-main{padding:16px 24px 28px!important;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-dash-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
@media(max-width:1500px){.clinessy-dash-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dash-kpi{min-height:92px!important}.dash-grid-2,.dash-grid-3{grid-template-columns:1fr!important}}
@media(max-width:900px){.clinessy-main{padding:14px!important}.clinessy-dash-kpis{grid-template-columns:1fr!important}.dash-card{padding:14px!important}.dash-kpi{min-height:auto!important}.clinessy-app:not(.clinessy-sidebar-collapsed) .clinessy-sidebar{width:100%!important;flex-basis:auto!important}.clinessy-logo img{max-width:140px!important}.clinessy-header{display:block!important}.clinessy-dashboard-top{margin:0 0 14px!important}.clinessy-top-actions{flex-wrap:wrap!important}}


body.clinessy-core-panel-page{margin:0!important;overflow:hidden!important;background:#f6f2ea!important;}
body.clinessy-core-panel-page #page,
body.clinessy-core-panel-page .site,
body.clinessy-core-panel-page .site-content,
body.clinessy-core-panel-page .entry-content,
body.clinessy-core-panel-page main,
body.clinessy-core-panel-page article{margin:0!important;padding:0!important;max-width:none!important;width:100%!important;}
body.clinessy-core-panel-page header,
body.clinessy-core-panel-page footer,
body.clinessy-core-panel-page .site-header,
body.clinessy-core-panel-page .site-footer,
body.clinessy-core-panel-page .entry-header,
body.clinessy-core-panel-page .entry-title{display:none!important;}
.clinessy-frontend-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:2147483000!important;background:#f6f2ea!important;overflow:auto!important;}
.clinessy-frontend-fullscreen *,
.clinessy-frontend-fullscreen *:before,
.clinessy-frontend-fullscreen *:after{box-sizing:border-box;}
.clinessy-frontend-fullscreen .clinessy-app{margin:0!important;width:100%!important;min-height:100vh!important;display:flex!important;background:var(--clinessy-cream)!important;font-size:14px!important;line-height:1.35!important;}
.clinessy-frontend-fullscreen .clinessy-sidebar{top:0!important;min-height:100vh!important;position:sticky!important;}
.clinessy-frontend-fullscreen .clinessy-main{flex:1 1 auto!important;min-width:0!important;padding:18px 24px 28px!important;max-width:none!important;}
.clinessy-frontend-fullscreen .clinessy-app:not(.clinessy-sidebar-collapsed) .clinessy-sidebar{width:230px!important;flex:0 0 230px!important;}
.clinessy-frontend-fullscreen .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar{width:86px!important;flex:0 0 86px!important;padding:18px 10px!important;}
.clinessy-frontend-fullscreen .clinessy-app.clinessy-sidebar-collapsed .clinessy-main{padding-left:22px!important;}
.clinessy-frontend-fullscreen .clinessy-app.clinessy-sidebar-collapsed .clinessy-logo img{max-width:48px!important;max-height:48px!important;}
.clinessy-frontend-fullscreen .clinessy-app.clinessy-sidebar-collapsed .clinessy-toggle-label,
.clinessy-frontend-fullscreen .clinessy-app.clinessy-sidebar-collapsed .clinessy-nav-section,
.clinessy-frontend-fullscreen .clinessy-app.clinessy-sidebar-collapsed .clinessy-nav span:not(.dashicons),
.clinessy-frontend-fullscreen .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-link div{display:none!important;}
.clinessy-frontend-fullscreen .clinessy-app.clinessy-sidebar-collapsed .clinessy-nav{justify-content:center!important;gap:0!important;padding:14px 0!important;font-size:0!important;}
.clinessy-frontend-fullscreen .clinessy-header{margin-bottom:14px!important;}
.clinessy-frontend-fullscreen .clinessy-agenda-toolbar{gap:10px!important;}
.clinessy-frontend-fullscreen .agenda-stat{min-height:84px!important;padding:14px 16px!important;}
@media(max-width:900px){body.clinessy-core-panel-page{overflow:auto!important}.clinessy-frontend-fullscreen{position:relative!important;min-height:100vh!important}.clinessy-frontend-fullscreen .clinessy-app{display:block!important}.clinessy-frontend-fullscreen .clinessy-sidebar{position:relative!important;width:100%!important;min-height:auto!important}.clinessy-frontend-fullscreen .clinessy-main{padding:14px!important}}


html:has(body.clinessy-core-standalone-template),
body.clinessy-core-standalone-template{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
  background:#f6f2ea!important;
}
body.clinessy-core-standalone-template #wpadminbar{display:none!important;}
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  max-width:none!important;
  height:100vh!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  overflow:auto!important;
  background:#f6f2ea!important;
}
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-app{
  width:100vw!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
}
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-main{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .agenda-table-wrap,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-card{
  max-width:none!important;
}
@media(max-width:900px){
  body.clinessy-core-standalone-template{overflow:auto!important;}
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen{position:relative!important;height:auto!important;min-height:100vh!important;}
}


/* El selector antiguo del dashboard quedaba flotando sobre campana/usuario: se oculta. */
.clinessy-dashboard-top{display:none!important;}

/* Header estable: permite wrap limpio sin superponer elementos */
.clinessy-header{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:12px!important;
  justify-content:space-between!important;
  margin-bottom:18px!important;
  min-height:54px!important;
}
.clinessy-header>div:first-child{
  flex:0 1 300px!important;
  min-width:230px!important;
}
.clinessy-header .clinessy-global-search{
  flex:1 1 360px!important;
  max-width:560px!important;
  min-width:260px!important;
}
.clinessy-top-new-reservation,
.clinessy-refresh-button,
.clinessy-theme-toggle,
.clinessy-user,
.clinessy-last-updated,
.clinessy-notification-wrap,
.clinessy-notifications{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
.clinessy-user{max-width:170px!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.clinessy-last-updated{max-width:150px!important;overflow:hidden!important;text-overflow:ellipsis!important;}

/* En pantallas medianas se compactan elementos no críticos */
@media(max-width:1380px){
  .clinessy-last-updated{display:none!important;}
  .clinessy-refresh-button{font-size:0!important;padding:10px 12px!important;}
  .clinessy-refresh-button .dashicons{font-size:18px!important;margin:0!important;}
  .clinessy-user{max-width:128px!important;}
}
@media(max-width:1100px){
  .clinessy-header .clinessy-global-search{order:5;flex-basis:100%!important;max-width:none!important;}
  .clinessy-header>div:first-child{flex:1 1 100%!important;}
}

/* Ocultar barra admin en /panel/ y evitar que robe altura */
body.clinessy-core-panel-page #wpadminbar,
body.clinessy-core-standalone-template #wpadminbar{display:none!important;}
html:has(body.clinessy-core-panel-page){margin-top:0!important;padding-top:0!important;}
body.clinessy-core-panel-page.admin-bar{margin-top:0!important;padding-top:0!important;}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen{top:0!important;}

/* Evitar que el panel quede tapado o cortado por barras del tema/admin */
.clinessy-frontend-fullscreen .clinessy-main{padding-top:18px!important;}
.clinessy-frontend-fullscreen .clinessy-header{position:relative!important;z-index:50!important;background:transparent!important;}

/* Dashboard: más aire controlado pero sin ocultar elementos */
.clinessy-dash-kpis{align-items:stretch!important;}
.dash-card{overflow:visible!important;}


/* El fix anterior ocultaba cualquier <header> dentro de /panel/, incluyendo el header interno de Clinessy Core. */
.clinessy-frontend-fullscreen .clinessy-header,
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-header,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-header{
  display:grid!important;
  grid-template-columns:minmax(210px, 1.05fr) minmax(260px, 1.3fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  margin:0 0 18px!important;
  padding:0!important;
  min-height:58px!important;
  background:transparent!important;
  position:relative!important;
  z-index:80!important;
}
.clinessy-frontend-fullscreen .clinessy-header>div:first-child,
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-header>div:first-child{
  display:block!important;
  min-width:0!important;
}
.clinessy-frontend-fullscreen .clinessy-header h1{
  display:block!important;
  margin:0!important;
  font-size:22px!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
  color:#172033!important;
  font-weight:900!important;
}
.clinessy-frontend-fullscreen .clinessy-header p{
  display:block!important;
  margin:4px 0 0!important;
  font-size:12px!important;
  color:#667085!important;
  font-weight:600!important;
}
.clinessy-frontend-fullscreen .clinessy-global-search{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-width:260px!important;
  max-width:560px!important;
  margin:0 auto!important;
}
.clinessy-frontend-fullscreen .clinessy-global-search input{
  height:42px!important;
  border-radius:15px!important;
  padding-top:9px!important;
  padding-bottom:9px!important;
}
.clinessy-frontend-fullscreen .clinessy-top-new-reservation,
.clinessy-frontend-fullscreen .clinessy-notification-wrap,
.clinessy-frontend-fullscreen .clinessy-notifications,
.clinessy-frontend-fullscreen .clinessy-refresh-button,
.clinessy-frontend-fullscreen .clinessy-last-updated,
.clinessy-frontend-fullscreen .clinessy-theme-toggle,
.clinessy-frontend-fullscreen .clinessy-user{
  display:inline-flex!important;
  align-items:center!important;
  vertical-align:middle!important;
}
.clinessy-frontend-fullscreen .clinessy-top-new-reservation{height:42px!important;padding:0 16px!important;border-radius:15px!important;}
.clinessy-frontend-fullscreen .clinessy-refresh-button{height:38px!important;min-width:38px!important;}
.clinessy-frontend-fullscreen .clinessy-last-updated{height:36px!important;align-items:center!important;}
.clinessy-frontend-fullscreen .clinessy-theme-toggle{height:40px!important;min-width:40px!important;}
.clinessy-frontend-fullscreen .clinessy-user{height:40px!important;max-width:150px!important;}
/* Mantener oculto solo el selector antiguo del dashboard que duplicaba sucursal/campana y se montaba sobre el header. */
.clinessy-dashboard-top{display:none!important;}
/* La regla del theme puede ocultar headers: esta excepción fuerza el header interno de Clinessy Core. */
body.clinessy-core-panel-page header.clinessy-header,
body.clinessy-core-standalone-template header.clinessy-header{
  display:grid!important;
}
@media(max-width:1380px){
  .clinessy-frontend-fullscreen .clinessy-header{grid-template-columns:1fr minmax(260px, .9fr) auto!important;gap:10px!important;}
  .clinessy-frontend-fullscreen .clinessy-header h1{font-size:19px!important;}
  .clinessy-frontend-fullscreen .clinessy-top-new-reservation{font-size:12px!important;padding:0 12px!important;}
  .clinessy-frontend-fullscreen .clinessy-last-updated{display:none!important;}
}
@media(max-width:1100px){
  .clinessy-frontend-fullscreen .clinessy-header{grid-template-columns:1fr auto!important;}
  .clinessy-frontend-fullscreen .clinessy-global-search{grid-column:1/-1;order:3;max-width:none!important;margin:0!important;}
}
@media(max-width:760px){
  .clinessy-frontend-fullscreen .clinessy-header{display:flex!important;flex-wrap:wrap!important;}
  .clinessy-frontend-fullscreen .clinessy-header>div:first-child{flex:1 1 100%!important;}
  .clinessy-frontend-fullscreen .clinessy-global-search{flex:1 1 100%!important;}
}

.reports-two-col{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);
  gap:16px;
  margin:16px 0;
  align-items:start;
}
.report-summary-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.report-summary-list li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1px solid rgba(25,79,58,.12);
  border-radius:14px;
  background:rgba(250,248,243,.75);
}
.report-summary-list span{
  color:#6f776f;
  font-weight:600;
}
.report-summary-list strong{
  color:#194f3a;
  font-size:16px;
}
.clinessy-table.compact-table th,
.clinessy-table.compact-table td{
  padding:10px 12px;
}
@media (max-width: 980px){
  .reports-two-col{grid-template-columns:1fr;}
}
.clinessy-dark .report-summary-list li,
.clinessy-app.dark .report-summary-list li{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.12);
}
.clinessy-dark .report-summary-list strong,
.clinessy-app.dark .report-summary-list strong{color:#f5d68a;}
.clinessy-dark .report-summary-list span,
.clinessy-app.dark .report-summary-list span{color:#d7ddd5;}

/* Clinessy Core 0.1.0 — Bodega e Insumos QR */
.clinessy-stock-kpis .clinessy-kpi{min-height:92px}
.clinessy-tabs.clinessy-stock-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 18px}
.clinessy-tabs.clinessy-stock-tabs a{padding:10px 14px;border:1px solid var(--clinessy-border,#e3d8c7);border-radius:999px;background:#fff;text-decoration:none;color:#123d32;font-weight:700}
.clinessy-tabs.clinessy-stock-tabs a.active,.clinessy-tabs.clinessy-stock-tabs a:hover{background:#123d32;color:#fff;border-color:#123d32}
.clinessy-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.clinessy-card-head h2{margin:0}
.clinessy-stock-table small{color:#7a6f63}
.badge.ok{background:#e7f7ee;color:#116c3a}
.badge.danger{background:#ffe9e9;color:#a52222}
.clinessy-qr-scanner{display:grid;grid-template-columns:260px 1fr;gap:18px;align-items:center;margin:12px 0 16px}
.clinessy-qr-video-wrap{background:#0f1f1b;border-radius:18px;min-height:180px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#clinessyQrVideo{width:100%;height:180px;object-fit:cover;background:#111}
.clinessy-stock-qr-img{max-width:220px;height:auto;background:#fff;border:1px solid #eee;border-radius:12px;padding:10px}
.clinessy-qr-modal-content{text-align:center;max-width:420px}
.clinessy-alert-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:12px 0 18px}
.clinessy-alert-card{border:1px solid #f2d6a8;background:#fff8ec;border-radius:16px;padding:14px;color:#4f3813}
@media(max-width:800px){.clinessy-qr-scanner{grid-template-columns:1fr}.clinessy-card-head{align-items:flex-start;flex-direction:column}}

/* Clinessy Core 0.1.0 — Stock UX Premium */
.clinessy-stock-ux{display:flex;flex-direction:column;gap:18px}.clinessy-stock-ux .clinessy-stock-kpis{grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px}.clinessy-stock-ux .clinessy-kpi{border-radius:20px;min-height:112px;padding:18px 18px 16px;background:#fff;box-shadow:0 18px 38px rgba(15,23,42,.045);border:1px solid rgba(226,214,195,.9);display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px}.clinessy-stock-ux .clinessy-kpi .dashicons{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;margin:0}.clinessy-stock-ux .clinessy-kpi strong{font-size:28px;line-height:1;color:#101828}.clinessy-stock-ux .clinessy-kpi small{font-size:13px;color:#667085;font-weight:800;text-transform:none;letter-spacing:0}.clinessy-stock-ux .stock-card-purple .dashicons{background:#eee7ff;color:#7c3aed}.clinessy-stock-ux .stock-card-red .dashicons{background:#ffe4e8;color:#ef4444}.clinessy-stock-ux .stock-card-green .dashicons{background:#dff8ed;color:#059669}.clinessy-stock-ux .stock-card-blue .dashicons{background:#e4edff;color:#2563eb}.clinessy-stock-ux .stock-card-orange .dashicons{background:#fff0d9;color:#f97316}.clinessy-stock-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.clinessy-stock-layout main{display:flex;flex-direction:column;gap:18px}.clinessy-stock-side{display:flex;flex-direction:column;gap:18px;position:sticky;top:18px}.clinessy-stock-ux .clinessy-card{border-radius:20px;box-shadow:0 18px 38px rgba(15,23,42,.04);border:1px solid rgba(226,214,195,.9)}.clinessy-stock-ux .clinessy-card-head{border-bottom:1px solid rgba(226,214,195,.6);padding-bottom:12px}.clinessy-stock-ux .clinessy-tabs.clinessy-stock-tabs{background:#fff;border:1px solid rgba(226,214,195,.9);border-radius:18px;padding:8px;box-shadow:0 10px 24px rgba(15,23,42,.035)}.clinessy-stock-ux .clinessy-tabs.clinessy-stock-tabs a{border:0;background:transparent;border-radius:14px;padding:11px 14px}.clinessy-stock-ux .clinessy-tabs.clinessy-stock-tabs a.active,.clinessy-stock-ux .clinessy-tabs.clinessy-stock-tabs a:hover{background:#0b6b43;color:#fff}.clinessy-stock-form{background:#fbfaf7;border:1px solid rgba(226,214,195,.8);border-radius:18px;padding:16px;margin-bottom:18px}.clinessy-stock-table{border-collapse:separate!important;border-spacing:0 10px!important;background:transparent!important}.clinessy-stock-table thead th{background:#f7f2e9!important;border:0!important;color:#667085;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.clinessy-stock-table tbody tr{background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.035)}.clinessy-stock-table tbody td{border-top:1px solid #edf0f4!important;border-bottom:1px solid #edf0f4!important;vertical-align:middle}.clinessy-stock-table tbody td:first-child{border-left:1px solid #edf0f4!important;border-radius:14px 0 0 14px}.clinessy-stock-table tbody td:last-child{border-right:1px solid #edf0f4!important;border-radius:0 14px 14px 0}.clinessy-stock-table strong{font-size:14px}.clinessy-stock-table .badge{border-radius:999px;padding:6px 10px;font-weight:900}.clinessy-stock-table .clinessy-show-qr{border-radius:12px;border-color:#d6c7ee;color:#6d28d9;background:#f7f1ff}.stock-qr-card{overflow:hidden}.stock-qr-card .clinessy-card-head h2:before{content:'▦';display:inline-flex;width:34px;height:34px;margin-right:8px;border-radius:12px;background:#f4edff;color:#7c3aed;align-items:center;justify-content:center;font-weight:900}.clinessy-qr-scanner{display:block;text-align:center}.clinessy-qr-video-wrap{border:1.5px dashed #9f7aea;background:#fbf8ff;border-radius:18px;min-height:190px;margin-bottom:14px}.clinessy-qr-video-wrap:before{content:'QR';font-weight:900;font-size:36px;color:#7c3aed;letter-spacing:.05em}.clinessy-qr-video-wrap video:not([src]){display:none}.stock-qr-card .clinessy-qr-form{grid-template-columns:1fr!important;margin-top:12px}.stock-qr-card .button.button-primary{background:#0b6b43;border-color:#0b6b43;border-radius:12px}.clinessy-alert-card{border-radius:18px;border-color:#ffe1a8;background:#fffaf0}.clinessy-alert-card strong{color:#b42318}.clinessy-stock-ux #stock-alertas .clinessy-table{font-size:13px}.clinessy-stock-ux .badge:not(.ok):not(.danger){background:#eef2f7;color:#344054;border-radius:999px}.clinessy-dark .clinessy-stock-ux .clinessy-kpi,.clinessy-app.dark .clinessy-stock-ux .clinessy-kpi,.clinessy-dark .clinessy-stock-ux .clinessy-card,.clinessy-app.dark .clinessy-stock-ux .clinessy-card,.clinessy-dark .clinessy-stock-ux .clinessy-tabs.clinessy-stock-tabs,.clinessy-app.dark .clinessy-stock-ux .clinessy-tabs.clinessy-stock-tabs{background:#111827;border-color:rgba(255,255,255,.1)}.clinessy-dark .clinessy-stock-ux .clinessy-kpi strong,.clinessy-app.dark .clinessy-stock-ux .clinessy-kpi strong{color:#fff}.clinessy-dark .clinessy-stock-form,.clinessy-app.dark .clinessy-stock-form{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.1)}@media(max-width:1300px){.clinessy-stock-layout{grid-template-columns:1fr}.clinessy-stock-side{position:relative;top:auto}.clinessy-stock-ux .clinessy-stock-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.clinessy-stock-ux .clinessy-stock-kpis{grid-template-columns:1fr}.clinessy-stock-ux .clinessy-kpi{min-height:92px}.clinessy-stock-table{display:block;overflow:auto}.clinessy-stock-form{padding:12px}}


/* Clinessy Core 0.1.0 — Stock UX layout correction */
.clinessy-stock-ux .clinessy-kpi-grid,
.clinessy-kpi-grid.clinessy-stock-kpis{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(160px,1fr)) !important;
  gap:14px !important;
  align-items:stretch !important;
  margin:0 0 18px !important;
}
.clinessy-stock-ux .clinessy-stock-kpis .clinessy-kpi{
  width:auto !important;
  max-width:none !important;
  min-height:88px !important;
  margin:0 !important;
  padding:16px 18px !important;
  display:grid !important;
  grid-template-columns:54px 1fr !important;
  grid-template-rows:auto auto !important;
  column-gap:14px !important;
  align-items:center !important;
}
.clinessy-stock-ux .clinessy-stock-kpis .clinessy-kpi .dashicons{
  grid-row:1 / span 2 !important;
  width:48px !important;
  height:48px !important;
  font-size:25px !important;
  border-radius:50% !important;
}
.clinessy-stock-ux .clinessy-stock-kpis .clinessy-kpi strong{
  display:block !important;
  font-size:25px !important;
  line-height:1.05 !important;
  margin:0 !important;
}
.clinessy-stock-ux .clinessy-stock-kpis .clinessy-kpi small{
  display:block !important;
  margin:3px 0 0 !important;
  font-size:12px !important;
}
.clinessy-stock-ux .clinessy-stock-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 340px !important;
  gap:18px !important;
  align-items:start !important;
}
.clinessy-stock-ux main{
  min-width:0 !important;
}
.clinessy-stock-ux .clinessy-stock-side{
  min-width:0 !important;
}
.clinessy-stock-ux .stock-main-card{
  overflow:hidden !important;
}
.clinessy-stock-ux .clinessy-stock-table{
  width:100% !important;
}
.clinessy-stock-ux .clinessy-card-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
}
.clinessy-stock-ux .clinessy-card-head h2{
  margin:0 !important;
}
.clinessy-stock-ux .clinessy-tabs.clinessy-stock-tabs{
  margin:0 0 16px !important;
  display:flex !important;
  gap:8px !important;
  align-items:center !important;
  overflow:auto !important;
}
.clinessy-stock-ux .clinessy-tabs.clinessy-stock-tabs a{
  white-space:nowrap !important;
}
.clinessy-stock-ux #stock-inventario .clinessy-stock-form{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
}
.clinessy-stock-ux #stock-inventario .clinessy-stock-form .form-actions{
  grid-column:1/-1 !important;
}
.clinessy-stock-ux .stock-qr-card,
.clinessy-stock-ux #stock-alertas{
  padding:18px !important;
}
.clinessy-stock-ux .clinessy-qr-video-wrap{
  min-height:165px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.clinessy-stock-ux .clinessy-qr-video-wrap:before{
  content:'▦' !important;
  font-size:54px !important;
  line-height:1 !important;
}
.clinessy-stock-ux .clinessy-table th,
.clinessy-stock-ux .clinessy-table td{
  padding:12px 10px !important;
}
.clinessy-stock-ux .stock-actions-list,
.clinessy-stock-actions-list{
  display:flex !important;
  flex-direction:column !important;
  gap:9px !important;
}
@media(max-width:1500px){
  .clinessy-stock-ux .clinessy-kpi-grid,
  .clinessy-kpi-grid.clinessy-stock-kpis{grid-template-columns:repeat(3,minmax(160px,1fr)) !important;}
}
@media(max-width:1180px){
  .clinessy-stock-ux .clinessy-stock-layout{grid-template-columns:1fr !important;}
  .clinessy-stock-ux .clinessy-stock-side{position:relative !important;top:auto !important;}
  .clinessy-stock-ux .clinessy-kpi-grid,
  .clinessy-kpi-grid.clinessy-stock-kpis{grid-template-columns:repeat(2,minmax(160px,1fr)) !important;}
}
@media(max-width:760px){
  .clinessy-stock-ux .clinessy-kpi-grid,
  .clinessy-kpi-grid.clinessy-stock-kpis{grid-template-columns:1fr !important;}
  .clinessy-stock-ux #stock-inventario .clinessy-stock-form{grid-template-columns:1fr !important;}
}

/* Clinessy Core 0.1.0 — Scanner QR móvil con hotfix de cámara */
.clinessy_page_clinessy-stock-scanner #wpcontent{padding-left:0}
.clinessy-stock-scanner-screen{display:flex;flex-direction:column;gap:18px;max-width:920px;margin:0 auto}
.clinessy-scanner-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#f8fff8,#fff8ea);border-color:#dcebdc}
.clinessy-scanner-hero h2{margin:10px 0 8px;font-size:28px;color:#123d32}
.clinessy-scanner-hero p{margin:0;color:#475467;max-width:620px;line-height:1.55}
.clinessy-scanner-hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.clinessy-stock-scanner-cta p{line-height:1.55;color:#475467}
.clinessy-stock-scanner-cta .form-actions{justify-content:stretch;border-top:0;padding-top:0;margin:12px 0}
.clinessy-open-scanner-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:100%;border-radius:14px!important;padding:13px 16px!important;font-weight:900!important}
.clinessy-mobile-scanner-card{overflow:hidden}
.clinessy-mobile-scanner-card .clinessy-card-head{align-items:center!important}
.clinessy-scanner-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef2f7;color:#344054;padding:7px 11px;font-weight:900;font-size:12px}
[data-clinessy-qr-scanner].clinessy-qr-ok .clinessy-scanner-status{background:#e7f7ee;color:#116c3a}
[data-clinessy-qr-scanner].clinessy-qr-warning .clinessy-scanner-status{background:#fff4df;color:#9a5b00}
[data-clinessy-qr-scanner].clinessy-qr-error .clinessy-scanner-status{background:#ffe9e9;color:#a52222}
.clinessy-mobile-scanner-card .clinessy-qr-video-wrap{position:relative!important;min-height:270px!important;border:2px dashed #9f7aea!important;background:#0d1714!important;border-radius:22px!important;overflow:hidden!important;margin:12px 0 14px!important}
.clinessy-mobile-scanner-card .clinessy-qr-video-wrap:before{content:none!important;display:none!important}
.clinessy-mobile-scanner-card .clinessy-qr-video-wrap video,
.clinessy-mobile-scanner-card .clinessy-qr-video-wrap video:not([src]){display:block!important;width:100%!important;height:270px!important;object-fit:cover!important;background:#0d1714!important;opacity:0;transition:opacity .18s ease}
[data-clinessy-qr-scanner].clinessy-qr-is-active .clinessy-qr-video-wrap video{opacity:1}
.clinessy-qr-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;color:#efe7ff;padding:22px;z-index:2;background:radial-gradient(circle at center,rgba(124,58,237,.22),rgba(13,23,20,.88))}
.clinessy-qr-placeholder .dashicons{width:56px;height:56px;font-size:56px;line-height:56px;color:#d8c5ff}
.clinessy-qr-placeholder strong{font-size:22px;color:#fff}
.clinessy-qr-placeholder small{color:#d7dce5;font-weight:700;max-width:260px;line-height:1.4}
[data-clinessy-qr-scanner].clinessy-qr-is-active .clinessy-qr-placeholder{display:none}
[data-clinessy-qr-scanner].clinessy-qr-is-loading .clinessy-qr-placeholder strong:after{content:'…'}
.clinessy-qr-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0 8px}
.clinessy-qr-actions .button{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;border-radius:13px!important;font-weight:900!important}
.clinessy-mobile-qr-form{margin-top:16px!important;background:#fbfaf7;border:1px solid rgba(226,214,195,.8);border-radius:18px;padding:16px}
.clinessy-mobile-qr-form input[data-clinessy-qr-input]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13px}
.clinessy-scanner-help{background:#f0fdf4;border:1px solid #b7ebc6;color:#14532d;border-radius:14px;padding:12px 14px;font-weight:800;line-height:1.45}
.clinessy-table-wrap{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.clinessy-table-wrap .clinessy-table{min-width:720px}
.clinessy-dark .clinessy-scanner-hero,.clinessy-app.dark .clinessy-scanner-hero{background:linear-gradient(135deg,#111827,#16251e);border-color:rgba(255,255,255,.12)}
.clinessy-dark .clinessy-scanner-hero h2,.clinessy-app.dark .clinessy-scanner-hero h2{color:#fff}
.clinessy-dark .clinessy-mobile-qr-form,.clinessy-app.dark .clinessy-mobile-qr-form{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12)}
@media(max-width:760px){
  .clinessy-stock-scanner-screen{max-width:none;margin:0;gap:14px}
  .clinessy-scanner-hero{flex-direction:column;align-items:stretch;padding:18px!important}
  .clinessy-scanner-hero h2{font-size:24px}
  .clinessy-scanner-hero-actions .button,
  .clinessy-qr-actions .button,
  .clinessy-mobile-qr-form .button{width:100%;text-align:center;justify-content:center}
  .clinessy-qr-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .clinessy-mobile-scanner-card .clinessy-card-head{align-items:flex-start!important;flex-direction:column!important}
  .clinessy-mobile-scanner-card .clinessy-qr-video-wrap{min-height:320px!important}
  .clinessy-mobile-scanner-card .clinessy-qr-video-wrap video,
  .clinessy-mobile-scanner-card .clinessy-qr-video-wrap video:not([src]){height:320px!important}
  .clinessy-mobile-qr-form{grid-template-columns:1fr!important;padding:13px!important}
  .clinessy-mobile-qr-form .form-actions{display:grid;grid-template-columns:1fr;gap:9px;justify-content:stretch}
  .clinessy-stock-scanner-cta .form-actions{display:block}
}

.clinessy-qr-file-button{position:relative;overflow:hidden;cursor:pointer}
.clinessy-qr-file-button input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
[data-clinessy-qr-scanner].clinessy-qr-has-result .clinessy-mobile-qr-form{border-color:#86d79c;background:#f7fff9}
[data-clinessy-qr-scanner].clinessy-qr-is-loading .clinessy-qr-placeholder{display:flex}
[data-clinessy-qr-scanner].clinessy-qr-is-loading .clinessy-qr-placeholder small{color:#fff}


/* Clinessy Core 0.1.0 — etiquetas QR imprimibles */
.clinessy-stock-created-notice{border-left-color:#16a34a!important;padding:12px 14px!important;background:#f0fdf4!important}
.clinessy-stock-created-notice p{margin:6px 0!important}
.clinessy-qr-actions-inline{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.clinessy-qr-actions-inline .button{display:inline-flex!important;align-items:center;justify-content:center;gap:5px}
.clinessy-qr-modal-actions{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:14px}
.clinessy-qr-modal-actions .button{display:inline-flex!important;align-items:center;justify-content:center;gap:7px}
@media(max-width:760px){.clinessy-qr-actions-inline{display:grid;grid-template-columns:1fr}.clinessy-qr-actions-inline .button,.clinessy-qr-modal-actions .button{width:100%}}

/* Clinessy Core 0.1.0 — Stock multi-sucursal dinámico */
.clinessy-stock-flow-card{background:#ecfdf3;border:1px solid #b7ebc6;color:#14532d;border-radius:18px;padding:13px 16px;margin:0 0 14px;font-weight:800;line-height:1.45}
.clinessy-danger-zone{border-color:#fecaca!important;background:#fff7f7!important}
.clinessy-danger-zone h2{color:#991b1b!important}
.clinessy-danger-zone p{color:#7f1d1d;line-height:1.55}
.clinessy-danger-zone input[name="confirm_reset"]{border-color:#fca5a5!important;background:#fff!important;font-weight:900;letter-spacing:.04em}
.clinessy-danger-zone .button-link-delete{border:1px solid #dc2626!important;color:#b91c1c!important;background:#fff!important;border-radius:12px!important;font-weight:900!important;padding:9px 14px!important;text-decoration:none!important}
.clinessy-danger-zone .button-link-delete:hover{background:#fee2e2!important;color:#7f1d1d!important}
.clinessy-stock-ux #stock-transferencias .clinessy-card-head h2:before{content:'↳ ';color:#16a34a}
.clinessy-stock-ux .clinessy-table-wrap{margin-top:10px}
.clinessy-mobile-qr-form select[name="stock_branch_id"]{font-weight:900}
.clinessy-dark .clinessy-stock-flow-card,.clinessy-app.dark .clinessy-stock-flow-card{background:rgba(22,163,74,.12);border-color:rgba(134,239,172,.28);color:#bbf7d0}
.clinessy-dark .clinessy-danger-zone,.clinessy-app.dark .clinessy-danger-zone{background:rgba(127,29,29,.18)!important;border-color:rgba(252,165,165,.28)!important}
.clinessy-dark .clinessy-danger-zone p,.clinessy-app.dark .clinessy-danger-zone p{color:#fecaca}
@media(max-width:760px){.clinessy-stock-flow-card{font-size:13px}.clinessy-danger-zone .form-actions{display:grid;grid-template-columns:1fr}.clinessy-danger-zone .button{width:100%;justify-content:center}}

/* Clinessy Core 0.1.0 — UX visual stock multi-sucursal */
.clinessy-stock-visual-panel{background:linear-gradient(180deg,#ffffff 0%,#fbfaf7 100%);border:1px solid rgba(226,214,195,.9);border-radius:22px;padding:18px;margin:4px 0 18px;box-shadow:0 16px 34px rgba(15,23,42,.035)}
.clinessy-stock-location-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:12px 0 18px}
.clinessy-stock-location-summary-card{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;gap:2px 12px;align-items:center;border:1px solid #edf0f4;background:#fff;border-radius:18px;padding:13px 14px;min-height:82px;box-shadow:0 8px 18px rgba(15,23,42,.03)}
.clinessy-stock-location-summary-card .dashicons{grid-row:1 / span 2;width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;background:#eef2f7;color:#475467}
.clinessy-stock-location-summary-card strong{display:block;color:#101828;font-size:14px;line-height:1.2}
.clinessy-stock-location-summary-card small{display:block;color:#667085;margin-top:4px;font-weight:750}
.clinessy-stock-location-summary-card em{grid-column:2;font-style:normal;font-weight:900;font-size:12px;border-radius:999px;padding:5px 9px;justify-self:start;background:#eef2f7;color:#344054}
.clinessy-stock-location-summary-card.is-ok .dashicons{background:#dcfce7;color:#15803d}
.clinessy-stock-location-summary-card.is-ok em{background:#e7f7ee;color:#116c3a}
.clinessy-stock-location-summary-card.is-critical .dashicons{background:#fff0d7;color:#b45309}
.clinessy-stock-location-summary-card.is-critical em{background:#fff0d7;color:#a35c00}
.clinessy-stock-location-summary-card.is-empty{opacity:.85}
.clinessy-stock-product-grid{display:grid;grid-template-columns:1fr;gap:14px}
.clinessy-stock-product-card{background:#fff;border:1px solid #edf0f4;border-radius:22px;padding:16px;box-shadow:0 10px 24px rgba(15,23,42,.035);overflow:hidden}
.clinessy-stock-product-card.is-critical{border-color:#fed7aa;background:linear-gradient(180deg,#fff 0%,#fffaf3 100%)}
.clinessy-stock-product-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.clinessy-stock-product-title{display:flex;gap:12px;align-items:center;min-width:0}
.clinessy-stock-product-icon{width:48px;height:48px;border-radius:16px;background:#0b6b43;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950;letter-spacing:.04em;flex:0 0 48px}
.clinessy-stock-product-title h3{margin:0 0 3px!important;font-size:19px!important;color:#101828;line-height:1.15}
.clinessy-stock-product-title p{margin:0;color:#667085;font-weight:800;font-size:13px}
.clinessy-stock-product-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.clinessy-stock-product-actions .button{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;border-radius:12px!important;font-weight:900!important}
.clinessy-stock-product-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 14px}
.clinessy-stock-product-meta span{background:#f4f7fb;color:#475467;border:1px solid #edf0f4;border-radius:999px;padding:6px 10px;font-weight:850;font-size:12px}
.clinessy-stock-product-meta span.is-critical{background:#fff0d7;color:#a35c00;border-color:#ffd89a}
.clinessy-stock-product-meta span.is-ok{background:#e7f7ee;color:#116c3a;border-color:#bdebd1}
.clinessy-stock-location-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.clinessy-stock-location-tile{border:1px solid #edf0f4;border-radius:18px;padding:13px;background:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
.clinessy-stock-location-tile-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.clinessy-stock-location-tile-head strong{font-size:13px;color:#101828;line-height:1.2}
.clinessy-stock-location-tile-head span{font-size:11px;font-weight:950;border-radius:999px;padding:5px 8px;background:#eef2f7;color:#344054;white-space:nowrap}
.clinessy-stock-big-number{font-size:28px;line-height:1;font-weight:950;color:#101828;margin-bottom:6px}
.clinessy-stock-big-number small{font-size:12px;color:#667085;font-weight:900;text-transform:lowercase}
.clinessy-stock-minimum{color:#667085;font-size:12px;font-weight:800;margin-bottom:10px}
.clinessy-stock-level{height:10px;border-radius:999px;background:#edf0f4;overflow:hidden;position:relative}
.clinessy-stock-level span{display:block;width:var(--clinessy-stock-level,0%);height:100%;border-radius:999px;background:#94a3b8;transition:width .25s ease}
.clinessy-stock-location-tile.is-ok{border-color:#bbf7d0;background:#f8fff9}
.clinessy-stock-location-tile.is-ok .clinessy-stock-level span{background:#16a34a}
.clinessy-stock-location-tile.is-ok .clinessy-stock-location-tile-head span{background:#e7f7ee;color:#116c3a}
.clinessy-stock-location-tile.is-low{border-color:#fde68a;background:#fffdf2}
.clinessy-stock-location-tile.is-low .clinessy-stock-level span{background:#f59e0b}
.clinessy-stock-location-tile.is-low .clinessy-stock-location-tile-head span{background:#fff0d7;color:#a35c00}
.clinessy-stock-location-tile.is-critical{border-color:#fdba74;background:#fff8ed}
.clinessy-stock-location-tile.is-critical .clinessy-stock-level span{background:#f97316}
.clinessy-stock-location-tile.is-critical .clinessy-stock-location-tile-head span{background:#fff0d7;color:#a35c00}
.clinessy-stock-location-tile.is-danger{border-color:#fecaca;background:#fff7f7}
.clinessy-stock-location-tile.is-danger .clinessy-stock-level span{background:#dc2626}
.clinessy-stock-location-tile.is-danger .clinessy-stock-location-tile-head span{background:#ffe9e9;color:#a52222}
.clinessy-stock-location-tile.is-empty{background:#f8fafc;color:#64748b;border-style:dashed;opacity:.86}
.clinessy-stock-location-tile.is-empty .clinessy-stock-big-number{color:#94a3b8}
.clinessy-stock-empty-visual{border:1px dashed #d8cdbb;background:#fff;border-radius:18px;padding:22px;text-align:center;color:#667085;display:flex;flex-direction:column;gap:6px}
.clinessy-stock-empty-visual strong{font-size:17px;color:#101828}
.clinessy-stock-technical-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px;padding-top:4px}
.clinessy-stock-technical-head h3{margin:0!important;font-size:17px!important;color:#101828}
.clinessy-stock-technical-head span{color:#667085;font-weight:750;font-size:13px}
.clinessy-alert-card-action{display:flex;flex-direction:column;gap:8px}
.clinessy-alert-card-action small{display:block;color:#7c2d12;font-weight:800;line-height:1.4}
.clinessy-alert-suggestion{display:block;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:8px 9px;color:#9a3412;font-weight:900;font-size:12px}
.clinessy-alert-card-action .button{align-self:flex-start;border-radius:12px!important;font-weight:900!important}
.clinessy-stock-transfer-highlight{box-shadow:0 0 0 4px rgba(22,163,74,.22),0 18px 38px rgba(15,23,42,.05)!important;border-color:#86efac!important;transition:box-shadow .2s ease,border-color .2s ease}
.clinessy-dark .clinessy-stock-visual-panel,.clinessy-app.dark .clinessy-stock-visual-panel,.clinessy-dark .clinessy-stock-product-card,.clinessy-app.dark .clinessy-stock-product-card,.clinessy-dark .clinessy-stock-location-summary-card,.clinessy-app.dark .clinessy-stock-location-summary-card,.clinessy-dark .clinessy-stock-location-tile,.clinessy-app.dark .clinessy-stock-location-tile{background:#111827;border-color:rgba(255,255,255,.12)}
.clinessy-dark .clinessy-stock-product-title h3,.clinessy-app.dark .clinessy-stock-product-title h3,.clinessy-dark .clinessy-stock-location-tile-head strong,.clinessy-app.dark .clinessy-stock-location-tile-head strong,.clinessy-dark .clinessy-stock-big-number,.clinessy-app.dark .clinessy-stock-big-number,.clinessy-dark .clinessy-stock-technical-head h3,.clinessy-app.dark .clinessy-stock-technical-head h3{color:#fff}
.clinessy-dark .clinessy-stock-product-meta span,.clinessy-app.dark .clinessy-stock-product-meta span{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:#d7ddd5}
@media(max-width:900px){
  .clinessy-stock-product-head{flex-direction:column;align-items:stretch}
  .clinessy-stock-product-actions{justify-content:stretch;display:grid;grid-template-columns:1fr 1fr 1fr}
  .clinessy-stock-product-actions .button{width:100%;text-align:center}
  .clinessy-stock-location-grid{grid-template-columns:1fr}
  .clinessy-stock-technical-head{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .clinessy-stock-visual-panel{padding:14px;border-radius:18px}
  .clinessy-stock-location-summary{grid-template-columns:1fr}
  .clinessy-stock-product-actions{grid-template-columns:1fr}
  .clinessy-stock-product-title h3{font-size:17px!important}
  .clinessy-stock-big-number{font-size:24px}
}

/* Clinessy Core 0.1.0 — Administración & Finanzas */
.clinessy-finance-module{display:block}
.clinessy-finance-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#fff 0%,#f6fbf8 58%,#eef8f3 100%);border:1px solid rgba(198,220,205,.9);border-radius:24px;padding:22px;margin-bottom:14px;box-shadow:0 18px 42px rgba(15,23,42,.04)}
.clinessy-finance-hero h2{margin:4px 0 6px!important;font-size:28px!important;color:#0f172a;line-height:1.1}
.clinessy-finance-hero p{max-width:860px;margin:0;color:#667085;font-weight:750;line-height:1.45}
.clinessy-finance-hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.clinessy-finance-tabs{overflow-x:auto;white-space:nowrap;padding-bottom:3px}
.clinessy-finance-kpis{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));margin:12px 0 18px}
.clinessy-finance-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.clinessy-finance-dashboard-grid>.clinessy-card:nth-child(3),.clinessy-finance-dashboard-grid>.clinessy-card:nth-child(4),.clinessy-finance-dashboard-grid>.clinessy-card:nth-child(5){min-width:0}
.clinessy-finance-quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
.clinessy-finance-quick-grid a{display:flex;align-items:center;gap:9px;background:#f8fafc;border:1px solid #edf0f4;border-radius:16px;padding:13px 14px;text-decoration:none!important;color:#123d32;font-weight:900;box-shadow:0 7px 18px rgba(15,23,42,.03)}
.clinessy-finance-quick-grid a:hover{background:#edf7f1;border-color:#bddfcb;color:#0b6b43;transform:translateY(-1px)}
.clinessy-finance-quick-grid .dashicons{width:28px;height:28px;border-radius:10px;background:#e7f7ee;color:#116c3a;display:flex;align-items:center;justify-content:center;font-size:18px}
.clinessy-finance-alert-list{display:grid;gap:10px}
.clinessy-finance-status{font-weight:950!important;text-transform:none!important;letter-spacing:0!important}
.clinessy-finance-status.success{background:#e7f7ee!important;color:#116c3a!important}
.clinessy-finance-status.warning{background:#fff0d7!important;color:#9a5b05!important}
.clinessy-finance-status.danger{background:#ffe9e9!important;color:#a52222!important}
.clinessy-inline-form{display:inline-flex;margin:2px 4px 2px 0;vertical-align:middle}
.clinessy-actions-cell{min-width:150px;white-space:normal}
.clinessy-danger-inline .button{border-color:#fecaca!important;color:#b91c1c!important;background:#fff7f7!important}
.clinessy-checkline{display:flex!important;align-items:center;gap:8px;min-height:44px}
.clinessy-checkline input{width:auto!important}
.clinessy-finance-flow-grid,.clinessy-finance-report-grid,.clinessy-finance-config-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.clinessy-finance-flow-grid>div,.clinessy-finance-report-grid>div,.clinessy-finance-config-grid>div{background:#fff;border:1px solid #edf0f4;border-radius:18px;padding:15px;box-shadow:0 8px 18px rgba(15,23,42,.03)}
.clinessy-finance-flow-grid span{display:block;color:#667085;font-weight:800;font-size:13px;margin-bottom:6px}
.clinessy-finance-flow-grid strong,.clinessy-finance-report-grid strong{display:block;color:#101828;font-size:24px;font-weight:950;line-height:1.05}
.clinessy-finance-report-grid h3,.clinessy-finance-config-grid h3{margin:0 0 8px!important;font-size:15px!important;color:#123d32}
.clinessy-finance-center-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.clinessy-finance-center-card{background:#fff;border:1px solid #edf0f4;border-radius:18px;padding:16px;box-shadow:0 8px 18px rgba(15,23,42,.03)}
.clinessy-finance-center-card h3{margin:0 0 10px!important;color:#123d32;font-size:17px!important}
.clinessy-finance-center-card p{margin:6px 0;color:#667085;font-weight:800}
.clinessy-finance-stock-link .clinessy-kpi-grid{margin:14px 0}
.clinessy-finance-export-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.clinessy-export-card{background:#fff;border:1px solid #edf0f4;border-radius:16px;padding:14px;box-shadow:0 8px 18px rgba(15,23,42,.03)}
.clinessy-export-card strong{display:block;color:#101828;margin-bottom:8px}
.clinessy-export-card p{margin:0;display:flex;gap:8px;flex-wrap:wrap}
.clinessy-dark .clinessy-finance-hero,.clinessy-app.dark .clinessy-finance-hero,.clinessy-dark .clinessy-finance-flow-grid>div,.clinessy-app.dark .clinessy-finance-flow-grid>div,.clinessy-dark .clinessy-finance-report-grid>div,.clinessy-app.dark .clinessy-finance-report-grid>div,.clinessy-dark .clinessy-finance-config-grid>div,.clinessy-app.dark .clinessy-finance-config-grid>div,.clinessy-dark .clinessy-finance-center-card,.clinessy-app.dark .clinessy-finance-center-card,.clinessy-dark .clinessy-export-card,.clinessy-app.dark .clinessy-export-card,.clinessy-dark .clinessy-finance-quick-grid a,.clinessy-app.dark .clinessy-finance-quick-grid a{background:#111827;border-color:rgba(255,255,255,.12);color:#d7ddd5}
.clinessy-dark .clinessy-finance-hero h2,.clinessy-app.dark .clinessy-finance-hero h2,.clinessy-dark .clinessy-finance-flow-grid strong,.clinessy-app.dark .clinessy-finance-flow-grid strong,.clinessy-dark .clinessy-finance-report-grid strong,.clinessy-app.dark .clinessy-finance-report-grid strong,.clinessy-dark .clinessy-export-card strong,.clinessy-app.dark .clinessy-export-card strong{color:#fff}
@media(max-width:980px){.clinessy-finance-hero{flex-direction:column;align-items:flex-start}.clinessy-finance-hero-actions{justify-content:flex-start}.clinessy-finance-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:640px){.clinessy-finance-hero{padding:16px;border-radius:18px}.clinessy-finance-hero h2{font-size:22px!important}.clinessy-finance-hero-actions,.clinessy-finance-hero-actions .button,.clinessy-finance-quick-grid a{width:100%;justify-content:center}.clinessy-finance-kpis{grid-template-columns:1fr}.clinessy-inline-form{display:block;margin:4px 0}.clinessy-actions-cell .button{width:100%;justify-content:center}.clinessy-finance-flow-grid,.clinessy-finance-report-grid,.clinessy-finance-config-grid,.clinessy-finance-center-grid,.clinessy-finance-export-grid{grid-template-columns:1fr}}


/* Clinessy Core 0.1.0 — Submenú lateral de Administración */
.clinessy-nav-tree{margin:5px 0 8px;}
.clinessy-nav-tree summary{list-style:none;cursor:pointer;user-select:none;}
.clinessy-nav-tree summary::-webkit-details-marker{display:none;}
.clinessy-nav-parent{position:relative;}
.clinessy-nav-parent .clinessy-nav-label{flex:1;}
.clinessy-nav-caret{margin-left:auto!important;width:18px!important;height:18px!important;font-size:18px!important;line-height:18px!important;transition:transform .18s ease,opacity .18s ease;opacity:.82!important;}
.clinessy-nav-tree[open] .clinessy-nav-caret{transform:rotate(180deg);}
.clinessy-subnav{display:grid;gap:4px;margin:4px 0 12px 38px;padding:3px 0 3px 13px;border-left:1px solid rgba(230,196,119,.36);}
.clinessy-subnav-link{display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.82);text-decoration:none!important;border-radius:12px;padding:8px 10px;font-size:13px;line-height:1.2;font-weight:800;transition:background .16s ease,color .16s ease,transform .16s ease;}
.clinessy-subnav-link .dashicons{width:17px;height:17px;font-size:17px;line-height:17px;opacity:.85;flex:0 0 17px;}
.clinessy-subnav-link:hover{background:rgba(255,255,255,.10);color:#fff;transform:translateX(2px);}
.clinessy-subnav-link.active{background:linear-gradient(90deg,#e6c477,#f3d98f);color:#0d1b18;box-shadow:0 8px 18px rgba(0,0,0,.10);}
.clinessy-nav-tree.active > .clinessy-nav-parent{background:rgba(255,255,255,.10);color:#fff;box-shadow:none;}
.clinessy-nav-tree.active > .clinessy-nav-parent.active{background:linear-gradient(90deg,#e6c477,#f3d98f);color:#0d1b18;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav-tree{margin:8px 0;}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-subnav,.clinessy-app.clinessy-sidebar-collapsed .clinessy-nav-caret{display:none!important;}
@media(max-width:900px){.clinessy-subnav{margin-left:32px}.clinessy-subnav-link{font-size:14px;padding:10px 11px}}

/* Clinessy Core 0.1.0 — Dashboard principal UX visual */
.clinessy-dashboard-v2{display:block;margin-top:4px}.dashboard-hero-v2{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#073d2d 0%,#0a6a47 64%,#e6c477 150%)!important;color:#fff!important;border:0!important;box-shadow:0 18px 42px rgba(0,63,43,.16)!important;overflow:hidden;position:relative}.dashboard-hero-v2:after{content:"";position:absolute;right:-70px;top:-80px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.10)}.dashboard-hero-v2>*{position:relative;z-index:1}.dashboard-eyebrow{display:inline-flex;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}.dashboard-hero-v2 h2{font-size:29px!important;line-height:1.05;margin:0 0 5px!important;color:#fff!important}.dashboard-hero-v2 p{margin:0!important;color:rgba(255,255,255,.82)!important;font-weight:600}.dashboard-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.dashboard-hero-actions .button{border-radius:14px!important;min-height:42px;display:inline-flex!important;align-items:center!important;gap:7px!important;font-weight:900!important}.dashboard-hero-actions .button:not(.button-primary){background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.28)!important}.dashboard-kpis-v2{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;margin-bottom:16px!important}.dashboard-kpi-card{min-height:124px!important;grid-template-columns:46px 1fr!important;gap:13px!important;align-items:start!important;position:relative;overflow:hidden!important}.dashboard-kpi-card:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:#e6c477;opacity:.8}.dashboard-kpi-card .dash-icon{width:42px!important;height:42px!important}.dashboard-kpi-card .dash-icon .dashicons{font-size:21px!important;width:21px!important;height:21px!important}.dashboard-kpi-card.sales .dash-icon{background:#dff7ea!important}.dashboard-kpi-card.sales .dash-icon .dashicons{color:#06924f!important}.dashboard-kpi-card.agenda .dash-icon{background:#e7f0ff!important}.dashboard-kpi-card.agenda .dash-icon .dashicons{color:#1d78d6!important}.dashboard-kpi-card.projection .dash-icon{background:#e4fbf0!important}.dashboard-kpi-card.projection .dash-icon .dashicons{color:#0b9b5d!important}.dashboard-kpi-card.cash .dash-icon{background:#fff0de!important}.dashboard-kpi-card.cash .dash-icon .dashicons{color:#e56a15!important}.dashboard-kpi-card.goal .dash-icon{background:#f0e8ff!important}.dashboard-kpi-card.goal .dash-icon .dashicons{color:#7947d9!important}.dashboard-kpi-card.branches .dash-icon{background:#e8f4ff!important}.dashboard-kpi-card.branches .dash-icon .dashicons{color:#1677c8!important}.dashboard-kpi-card h4{font-size:10px!important;letter-spacing:.08em!important;margin-bottom:5px!important;color:#536076!important}.dashboard-kpi-card strong{font-size:23px!important;line-height:1.05!important;letter-spacing:-.04em!important}.dashboard-kpi-card p{font-size:12px!important;color:#687388!important;margin:4px 0 8px!important;line-height:1.35!important}.dashboard-kpi-card .mini-progress{width:68%!important;height:7px!important;background:#eef2f6!important}.dashboard-kpi-card .mini-progress span{background:linear-gradient(90deg,#0fa35c,#e6c477)!important}.dashboard-kpi-card small{font-size:11px!important;margin-left:8px!important}.dashboard-trend{display:inline-flex;align-items:center;width:max-content;max-width:100%;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;line-height:1.1}.dashboard-trend.positive{background:#e7f8ee;color:#087544}.dashboard-trend.negative{background:#ffe9e9;color:#c01d1d}.dashboard-trend.neutral{background:#eef3f8;color:#546176}.dashboard-grid-v2{display:grid;grid-template-columns:1.35fr .95fr 1fr;gap:16px;margin-bottom:16px}.dashboard-grid-v2 .dashboard-panel-large{grid-column:span 1;grid-row:span 2}.dashboard-panel{min-height:260px}.branch-health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.branch-health-card{border:1px solid #edf0f4;background:#fffdf8;border-radius:16px;padding:14px;box-shadow:0 8px 18px rgba(15,23,42,.035)}.branch-health-card.ok{border-color:#c9ead8;background:linear-gradient(180deg,#fbfffd,#ffffff)}.branch-health-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.branch-health-head strong{color:#122238;font-size:15px}.branch-health-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.branch-health-stats span{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;padding:9px 7px;text-align:center}.branch-health-stats b{display:block;font-size:20px;line-height:1;color:#122238}.branch-health-stats small{display:block;color:#64748b;font-size:11px;margin-top:4px;font-weight:800}.branch-health-money{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.branch-health-money span{color:#64748b;font-weight:800;font-size:12px}.branch-health-money strong{font-size:17px;color:#003f2b}.branch-progress{height:8px;border-radius:999px;background:#edf2f7;overflow:hidden;margin-bottom:8px}.branch-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0fa35c,#e6c477)}.state-badge{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}.state-badge.ok{background:#e8f8ef;color:#087544}.state-badge.neutral{background:#edf2f7;color:#64748b}.dashboard-donut{box-shadow:inset 0 0 0 1px rgba(0,0,0,.03)}.red-dot{background:#ef4444}.dashboard-week-bars{height:218px!important}.dashboard-alert-list{display:grid;gap:10px}.dashboard-alert-item{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:11px;border:1px solid #edf0f4;background:#fff;border-radius:14px;padding:11px 12px;text-decoration:none!important;color:#172033!important;transition:all .15s ease}.dashboard-alert-item:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.07)}.dashboard-alert-item>.dashicons{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;background:#fff2dc;color:#e66b00}.dashboard-alert-item.stock>.dashicons{background:#e8f4ff;color:#1677c8}.dashboard-alert-item.cash>.dashicons{background:#ffe9e9;color:#c01d1d}.dashboard-alert-item.ok>.dashicons{background:#e7f8ee;color:#087544}.dashboard-alert-item strong,.dashboard-alert-item small{display:block}.dashboard-alert-item small{color:#64748b;margin-top:3px;font-weight:600}.dashboard-alert-item em{font-style:normal;color:#0f6c45;font-weight:900;font-size:12px;white-space:nowrap}.dashboard-bottom-v2{grid-template-columns:1fr 1fr 1.25fr!important;gap:16px!important}.dashboard-quick-wide{grid-column:auto}.dashboard-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.dashboard-quick-grid a{min-height:80px!important;border-radius:16px!important;background:#fbfcff!important}.dashboard-quick-grid a:hover{background:#f0f9f4!important;border-color:#cde8d7!important;transform:translateY(-1px)}.dashboard-quick-grid .dashicons{font-size:28px!important;width:38px!important;height:38px!important;border-radius:13px;background:#eaf7ef;color:#0c8b55!important;display:flex;align-items:center;justify-content:center}.dashboard-empty{display:block!important;color:#64748b!important;font-weight:800}.clinessy-app.clinessy-sidebar-collapsed .dashboard-kpis-v2{grid-template-columns:repeat(6,minmax(0,1fr))!important}.clinessy-dark .dashboard-hero-v2,.clinessy-app.dark .dashboard-hero-v2{background:linear-gradient(135deg,#101827,#123d35)!important}.clinessy-dark .branch-health-card,.clinessy-app.dark .branch-health-card,.clinessy-dark .branch-health-stats span,.clinessy-app.dark .branch-health-stats span,.clinessy-dark .dashboard-alert-item,.clinessy-app.dark .dashboard-alert-item{background:#111827!important;border-color:#273244!important;color:#e5e7eb!important}.clinessy-dark .branch-health-head strong,.clinessy-app.dark .branch-health-head strong,.clinessy-dark .branch-health-stats b,.clinessy-app.dark .branch-health-stats b{color:#e5e7eb!important}@media(max-width:1600px){.dashboard-kpis-v2{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-grid-v2{grid-template-columns:1fr 1fr}.dashboard-grid-v2 .dashboard-panel-large{grid-column:1/-1;grid-row:auto}.dashboard-bottom-v2{grid-template-columns:1fr 1fr!important}.dashboard-quick-wide{grid-column:1/-1}}@media(max-width:900px){.dashboard-hero-v2{display:block!important}.dashboard-hero-actions{justify-content:flex-start;margin-top:14px}.dashboard-hero-actions .button{width:100%;justify-content:center}.dashboard-kpis-v2{grid-template-columns:1fr!important}.dashboard-grid-v2,.dashboard-bottom-v2{grid-template-columns:1fr!important}.branch-health-grid{grid-template-columns:1fr}.dashboard-quick-grid{grid-template-columns:1fr 1fr!important}.dashboard-alert-item{grid-template-columns:34px 1fr}.dashboard-alert-item em{grid-column:2;white-space:normal}.dashboard-donut{width:140px!important;height:140px!important}.donut:before{inset:30px!important}}@media(max-width:520px){.dashboard-quick-grid{grid-template-columns:1fr!important}.branch-health-stats{grid-template-columns:1fr}.status-cards{grid-template-columns:1fr!important}.dashboard-kpi-card strong{font-size:22px!important}}


/* Clinessy Core 0.1.0 — Dashboard Administrativo UX inspirado en mockup */
.clinessy-finance-dashboard-shell{margin-top:0}.clinessy-finance-dashboard-shell .clinessy-tabs{display:none}.clinessy-admin-dashboard-v3{display:block;margin-top:2px}.finance-dash-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;background:linear-gradient(135deg,#ffffff 0%,#fbfdfc 64%,#f4fbf7 100%);border:1px solid #edf0f4;border-radius:22px;padding:18px 20px;box-shadow:0 14px 34px rgba(15,23,42,.045)}.finance-dash-topbar h2{font-size:28px!important;line-height:1.05;margin:4px 0!important;color:#0f172a}.finance-dash-topbar p{margin:0;color:#667085;font-weight:750}.finance-dash-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.finance-dash-controls>span{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px 13px;color:#334155;font-weight:900}.finance-dash-controls .button{border-radius:14px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:40px;font-weight:900!important}.finance-kpi-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:16px}.finance-kpi-card{background:#fff;border:1px solid #edf0f4;border-radius:20px;padding:17px 16px;display:grid;grid-template-columns:54px 1fr;gap:14px;min-height:145px;box-shadow:0 14px 34px rgba(15,23,42,.045);position:relative;overflow:hidden}.finance-kpi-card:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:#e6c477;opacity:.85}.finance-kpi-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center}.finance-kpi-icon .dashicons{font-size:28px;width:28px;height:28px;line-height:28px}.finance-kpi-body small{display:block;color:#0f172a;text-transform:uppercase;font-size:11px;font-weight:950;letter-spacing:.06em;margin-bottom:6px}.finance-kpi-body strong{display:block;color:#0f172a;font-size:24px;line-height:1.05;font-weight:950;letter-spacing:-.04em}.finance-kpi-body p{margin:5px 0 6px;color:#667085;font-weight:750;font-size:12px;line-height:1.35}.finance-kpi-body a{display:inline-flex;margin-top:7px;text-decoration:none;font-weight:900;color:#0b5fb3;font-size:12px}.finance-kpi-green .finance-kpi-icon{background:#dcfce7;color:#059669}.finance-kpi-red .finance-kpi-icon{background:#ffe4e6;color:#ef4444}.finance-kpi-orange .finance-kpi-icon{background:#ffedd5;color:#f97316}.finance-kpi-purple .finance-kpi-icon{background:#f3e8ff;color:#7c3aed}.finance-kpi-blue .finance-kpi-icon{background:#dbeafe;color:#2563eb}.finance-kpi-teal .finance-kpi-icon{background:#ccfbf1;color:#0d9488}.finance-sparkline{display:block;width:100%;height:32px;margin-top:8px}.finance-sparkline polyline{fill:none;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}.finance-sparkline-green polyline{stroke:#10b981}.finance-sparkline-red polyline{stroke:#ef4444}.finance-sparkline-blue polyline{stroke:#2563eb}.finance-delta{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:950}.finance-delta.positive{background:#e7f8ee;color:#087544}.finance-delta.negative{background:#ffe9e9;color:#c01d1d}.finance-delta.neutral{background:#eef2f7;color:#64748b}.finance-dashboard-main-grid{display:grid;grid-template-columns:1.28fr 1fr .95fr;gap:16px;margin-bottom:16px}.finance-panel{min-width:0}.finance-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.finance-panel-head h2{margin:0!important;font-size:17px!important;color:#0f172a}.finance-panel-head p,.finance-panel-head span{margin:4px 0 0;color:#667085;font-weight:750}.finance-panel-head a{font-weight:900;text-decoration:none;color:#0b5fb3}.finance-panel-head b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;margin-left:5px}.finance-pill{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:8px 11px!important;color:#0f172a!important;font-weight:900!important}.finance-chart-legend{display:flex;align-items:center;gap:18px;margin:6px 0 12px}.finance-chart-legend span{position:relative;color:#475569;font-weight:900;font-size:12px;padding-left:16px}.finance-chart-legend span:before{content:"";position:absolute;left:0;top:50%;width:8px;height:8px;border-radius:50%;transform:translateY(-50%)}.finance-chart-legend .income:before{background:#10b981}.finance-chart-legend .expense:before{background:#ef4444}.finance-chart-legend .result:before{background:#2563eb}.finance-main-chart{height:285px;border:1px solid #eef2f7;background:linear-gradient(180deg,#fff,#fbfcff);border-radius:18px;padding:12px 12px 6px}.finance-main-chart-svg{width:100%;height:100%}.finance-main-chart-svg line{stroke:#e7ecf3;stroke-width:.35}.finance-main-chart-svg polyline{fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.finance-line-income{stroke:#10b981}.finance-line-expense{stroke:#ef4444}.finance-line-result{stroke:#2563eb}.finance-chart-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.finance-chart-summary span{background:#f8fafc;border:1px solid #edf2f7;border-radius:14px;padding:10px}.finance-chart-summary small{display:block;color:#64748b;font-weight:900;font-size:11px}.finance-chart-summary strong{display:block;color:#0f172a;font-size:15px;margin-top:3px}.finance-donut-wrap{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center}.finance-donut{width:184px;height:184px;border-radius:50%;position:relative;margin:auto}.finance-donut:after{content:"";position:absolute;inset:42px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px #edf0f4}.finance-donut span{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#64748b;font-weight:900;font-size:12px}.finance-donut span strong{font-size:17px;color:#0f172a}.finance-donut-list{display:grid;gap:9px}.finance-donut-list div{display:grid;grid-template-columns:10px 1fr auto 42px;gap:9px;align-items:center;color:#475569;font-weight:850}.finance-donut-list i{width:10px;height:10px;border-radius:50%}.finance-donut-list strong{color:#0f172a}.finance-donut-list em{font-style:normal;text-align:right;color:#64748b}.finance-donut-panel>.button{margin-top:14px;border-radius:12px!important}.finance-alerts-v3{display:grid;gap:10px}.finance-alert-v3{display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center;border:1px solid #edf0f4;border-radius:15px;padding:11px 12px;background:#fff;text-decoration:none!important;color:#0f172a!important;transition:all .15s ease}.finance-alert-v3:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.065)}.finance-alert-v3>.dashicons{width:38px;height:38px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:21px}.finance-alert-v3 strong,.finance-alert-v3 small{display:block}.finance-alert-v3 small{color:#64748b;margin-top:3px;font-weight:650}.finance-alert-v3 em{font-style:normal;color:#0b5fb3;font-weight:950;font-size:12px;white-space:nowrap}.finance-alert-v3.warn{background:#fff7ed;border-color:#fed7aa}.finance-alert-v3.warn>.dashicons{background:#ffedd5;color:#f97316}.finance-alert-v3.danger{background:#fff1f2;border-color:#fecdd3}.finance-alert-v3.danger>.dashicons{background:#ffe4e6;color:#ef4444}.finance-alert-v3.clock{background:#f5f3ff;border-color:#ddd6fe}.finance-alert-v3.clock>.dashicons{background:#ede9fe;color:#7c3aed}.finance-alert-v3.info{background:#eff6ff;border-color:#bfdbfe}.finance-alert-v3.info>.dashicons{background:#dbeafe;color:#2563eb}.finance-dashboard-lists{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:16px}.finance-rows-v3{display:grid;gap:10px}.finance-row-v3{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:11px;align-items:center;border-bottom:1px solid #f1f5f9;padding:9px 0}.finance-row-v3:last-child{border-bottom:0}.finance-row-v3 strong{display:block;color:#0f172a;font-size:13px}.finance-row-v3 small{display:block;color:#64748b;font-weight:650;margin-top:2px}.finance-row-v3>b{font-weight:950;color:#0f172a;white-space:nowrap}.finance-row-v3 .badge{white-space:nowrap}.finance-avatar{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:12px}.finance-avatar.green{background:#dcfce7;color:#059669}.finance-avatar.orange{background:#ffedd5;color:#f97316}.finance-avatar.purple{background:#ede9fe;color:#7c3aed}.finance-avatar .dashicons{width:18px;height:18px;font-size:18px}.money-green{color:#059669!important}.money-red{color:#ef4444!important}.finance-due-badge{background:#eef2f7;color:#64748b;border-radius:999px;padding:6px 9px;font-style:normal;font-weight:950;font-size:12px;white-space:nowrap}.finance-due-badge.urgent{background:#ffe4e6;color:#e11d48}.finance-actions-panel{margin-bottom:12px}.finance-actions-v3{display:grid;grid-template-columns:repeat(9,minmax(105px,1fr));gap:10px}.finance-actions-v3 a{min-height:82px;border:1px solid #edf0f4;background:#fff;border-radius:17px;padding:12px 10px;text-align:center;text-decoration:none!important;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#0f172a;box-shadow:0 8px 18px rgba(15,23,42,.03);transition:all .15s ease}.finance-actions-v3 a:hover{transform:translateY(-1px);box-shadow:0 14px 26px rgba(15,23,42,.07);border-color:#d9e6ef}.finance-actions-v3 .dashicons{width:36px;height:36px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:22px}.finance-actions-v3 strong{font-size:12px;line-height:1.18}.finance-actions-v3 .green .dashicons{background:#dcfce7;color:#059669}.finance-actions-v3 .red .dashicons{background:#ffe4e6;color:#ef4444}.finance-actions-v3 .orange .dashicons{background:#ffedd5;color:#f97316}.finance-actions-v3 .purple .dashicons{background:#ede9fe;color:#7c3aed}.finance-actions-v3 .blue .dashicons{background:#dbeafe;color:#2563eb}.finance-dashboard-note{display:flex;align-items:center;gap:8px;color:#64748b;font-weight:750;margin:10px 0 0}.finance-dashboard-note .dashicons{color:#2563eb}.clinessy-dark .finance-dash-topbar,.clinessy-app.dark .finance-dash-topbar,.clinessy-dark .finance-kpi-card,.clinessy-app.dark .finance-kpi-card,.clinessy-dark .finance-main-chart,.clinessy-app.dark .finance-main-chart,.clinessy-dark .finance-chart-summary span,.clinessy-app.dark .finance-chart-summary span,.clinessy-dark .finance-alert-v3,.clinessy-app.dark .finance-alert-v3,.clinessy-dark .finance-actions-v3 a,.clinessy-app.dark .finance-actions-v3 a{background:#111827!important;border-color:rgba(255,255,255,.12)!important;color:#e5e7eb!important}.clinessy-dark .finance-dash-topbar h2,.clinessy-app.dark .finance-dash-topbar h2,.clinessy-dark .finance-kpi-body strong,.clinessy-app.dark .finance-kpi-body strong,.clinessy-dark .finance-panel-head h2,.clinessy-app.dark .finance-panel-head h2,.clinessy-dark .finance-row-v3 strong,.clinessy-app.dark .finance-row-v3 strong,.clinessy-dark .finance-actions-v3 strong,.clinessy-app.dark .finance-actions-v3 strong,.clinessy-dark .finance-chart-summary strong,.clinessy-app.dark .finance-chart-summary strong{color:#fff!important}@media(max-width:1600px){.finance-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-dashboard-main-grid{grid-template-columns:1fr 1fr}.finance-alert-panel{grid-column:1/-1}.finance-dashboard-lists{grid-template-columns:1fr 1fr}.finance-dashboard-lists .finance-list-panel:last-child{grid-column:1/-1}.finance-actions-v3{grid-template-columns:repeat(5,minmax(120px,1fr))}}@media(max-width:1100px){.finance-dashboard-main-grid,.finance-dashboard-lists{grid-template-columns:1fr}.finance-donut-wrap{grid-template-columns:1fr}.finance-actions-v3{grid-template-columns:repeat(3,minmax(110px,1fr))}}@media(max-width:760px){.finance-dash-topbar{display:block;padding:16px}.finance-dash-controls{justify-content:stretch;margin-top:12px}.finance-dash-controls>*{width:100%;justify-content:center}.finance-kpi-row{grid-template-columns:1fr}.finance-kpi-card{min-height:auto}.finance-chart-summary{grid-template-columns:1fr 1fr}.finance-row-v3{grid-template-columns:38px 1fr}.finance-row-v3>b,.finance-row-v3>.badge,.finance-row-v3>em{grid-column:2;justify-self:start}.finance-actions-v3{grid-template-columns:1fr 1fr}.finance-alert-v3{grid-template-columns:38px 1fr}.finance-alert-v3 em{grid-column:2;white-space:normal}.finance-main-chart{height:210px}}@media(max-width:480px){.finance-actions-v3{grid-template-columns:1fr}.finance-chart-summary{grid-template-columns:1fr}.finance-kpi-card{grid-template-columns:46px 1fr}.finance-kpi-icon{width:44px;height:44px}.finance-kpi-body strong{font-size:22px}}

/* Clinessy Core 0.1.0 — Dashboard Administrativo exacto según mockup */
.clinessy-admin-dashboard-v4{display:block;margin-top:2px;background:#f8fafc;border-radius:0;color:#0f172a}
.clinessy-admin-dashboard-v4 .finance-dash-topbar{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0 0 14px!important;margin:0 0 4px!important;display:flex;align-items:center;justify-content:space-between;gap:18px}
.clinessy-admin-dashboard-v4 .finance-admin-title h2{font-size:28px!important;line-height:1.08;margin:0!important;letter-spacing:-.04em;color:#0f172a!important;font-weight:950!important}
.clinessy-admin-dashboard-v4 .finance-admin-title p{margin:4px 0 0!important;color:#64748b!important;font-weight:750!important;font-size:14px!important}
.finance-admin-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;min-width:0}
.finance-admin-date,.finance-admin-refresh,.finance-admin-search,.finance-admin-bell,.finance-admin-profile{height:46px;border:1px solid #e5e7eb;background:#fff;border-radius:14px;display:inline-flex;align-items:center;gap:9px;box-shadow:0 8px 22px rgba(15,23,42,.035);color:#0f172a;text-decoration:none!important;font-weight:900}
.finance-admin-date{padding:0 14px;white-space:nowrap}.finance-admin-refresh{padding:0 14px}.finance-admin-refresh .dashicons,.finance-admin-date .dashicons{color:#475569}.finance-admin-search{width:285px;padding:0 13px}.finance-admin-search .dashicons{color:#64748b}.finance-admin-search input{width:100%;height:38px;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;color:#0f172a;font-weight:700}.finance-admin-search input::placeholder{color:#94a3b8}.finance-admin-bell{width:46px;justify-content:center;position:relative}.finance-admin-bell .dashicons{font-size:22px;width:22px;height:22px}.finance-admin-bell b{position:absolute;right:-6px;top:-7px;min-width:20px;height:20px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center;border:2px solid #fff}.finance-admin-profile{height:50px;padding:0 12px 0 6px;gap:10px}.finance-admin-avatar-img{width:38px!important;height:38px!important;border-radius:50%!important;object-fit:cover}.finance-admin-profile strong,.finance-admin-profile small{display:block;line-height:1.1}.finance-admin-profile strong{font-size:13px;color:#0f172a}.finance-admin-profile small{font-size:11px;color:#64748b;margin-top:3px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-admin-quick-top{display:flex;justify-content:flex-end;margin:-2px 0 12px}.finance-admin-quick-button{display:inline-flex;align-items:center;gap:9px;border-radius:12px;background:linear-gradient(135deg,#006b43,#003d2d);color:#fff!important;text-decoration:none!important;padding:12px 18px;font-weight:950;box-shadow:0 12px 26px rgba(0,82,56,.18)}.finance-admin-quick-button .dashicons{color:#f8d674}.clinessy-admin-dashboard-v4 .finance-kpi-row{display:grid!important;grid-template-columns:repeat(6,minmax(126px,1fr))!important;gap:13px!important;margin-bottom:16px!important}.clinessy-admin-dashboard-v4 .finance-kpi-card{min-height:136px!important;border-radius:16px!important;padding:16px 14px!important;grid-template-columns:50px minmax(0,1fr)!important;gap:12px!important;border-color:#e9eef5!important;box-shadow:0 12px 30px rgba(15,23,42,.045)!important;overflow:hidden}.clinessy-admin-dashboard-v4 .finance-kpi-card:before{display:none!important}.clinessy-admin-dashboard-v4 .finance-kpi-icon{width:48px!important;height:48px!important}.clinessy-admin-dashboard-v4 .finance-kpi-icon .dashicons{font-size:27px!important;width:27px!important;height:27px!important}.clinessy-admin-dashboard-v4 .finance-kpi-body small{font-size:10px!important;letter-spacing:.055em!important;margin-bottom:7px!important;color:#0f172a!important}.clinessy-admin-dashboard-v4 .finance-kpi-body strong{font-size:22px!important;letter-spacing:-.04em!important;white-space:nowrap}.clinessy-admin-dashboard-v4 .finance-kpi-body p{font-size:11px!important;margin:5px 0 2px!important}.clinessy-admin-dashboard-v4 .finance-kpi-body a{font-size:11px!important;margin-top:4px!important;color:#075fcb!important}.clinessy-admin-dashboard-v4 .finance-sparkline{height:26px!important;margin-top:8px!important}.clinessy-admin-dashboard-v4 .finance-delta{background:transparent!important;padding:0!important;font-size:10.5px!important;font-weight:950!important}.clinessy-admin-dashboard-v4 .finance-delta.positive{color:#059669!important}.clinessy-admin-dashboard-v4 .finance-delta.negative{color:#ef4444!important}.clinessy-admin-dashboard-v4 .finance-dashboard-main-grid{display:grid!important;grid-template-columns:minmax(0,1.18fr) minmax(0,1.05fr) minmax(0,.98fr)!important;gap:14px!important;margin-bottom:14px!important}.clinessy-admin-dashboard-v4 .finance-panel,.clinessy-admin-dashboard-v4 .finance-list-panel,.clinessy-admin-dashboard-v4 .finance-actions-panel{border-radius:16px!important;border-color:#e9eef5!important;box-shadow:0 12px 30px rgba(15,23,42,.04)!important}.clinessy-admin-dashboard-v4 .finance-panel-head{margin-bottom:12px!important}.clinessy-admin-dashboard-v4 .finance-panel-head h2{font-size:15px!important;text-transform:uppercase;letter-spacing:.01em;font-weight:950!important}.clinessy-admin-dashboard-v4 .finance-panel-head a{font-size:12px!important;color:#075fcb!important}.clinessy-admin-dashboard-v4 .finance-pill{border-radius:11px!important;padding:8px 12px!important;background:#fff!important}.clinessy-admin-dashboard-v4 .finance-main-chart{height:238px!important;border:0!important;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;border-radius:12px!important;padding:5px 0 0!important}.clinessy-admin-dashboard-v4 .finance-main-chart-svg line{stroke:#e7edf5!important}.clinessy-admin-dashboard-v4 .finance-main-chart-svg polyline{stroke-width:1.45!important}.clinessy-admin-dashboard-v4 .finance-chart-summary{border-top:1px solid #eef2f7;margin-top:9px!important;padding-top:10px!important;grid-template-columns:repeat(4,1fr)!important}.clinessy-admin-dashboard-v4 .finance-chart-summary span{background:transparent!important;border:0!important;border-radius:0!important;padding:2px 6px!important}.clinessy-admin-dashboard-v4 .finance-chart-summary small{font-size:10px!important}.clinessy-admin-dashboard-v4 .finance-chart-summary strong{font-size:13px!important}.clinessy-admin-dashboard-v4 .finance-donut-wrap{grid-template-columns:180px 1fr!important;gap:18px!important;min-height:238px}.clinessy-admin-dashboard-v4 .finance-donut{width:178px!important;height:178px!important}.clinessy-admin-dashboard-v4 .finance-donut:after{inset:43px!important}.clinessy-admin-dashboard-v4 .finance-donut-list div{grid-template-columns:9px 1fr auto 38px!important;font-size:12px!important;gap:8px!important}.clinessy-admin-dashboard-v4 .finance-donut-panel>.button{display:block;width:max-content;margin:10px auto 0!important;border-radius:12px!important}.clinessy-admin-dashboard-v4 .finance-alerts-v3{gap:8px!important}.clinessy-admin-dashboard-v4 .finance-alert-v3{grid-template-columns:36px 1fr auto!important;border-radius:12px!important;padding:10px 11px!important;background:#fff7f7!important;border-color:#fde2e2!important}.clinessy-admin-dashboard-v4 .finance-alert-v3>.dashicons{width:36px!important;height:36px!important;border-radius:12px!important}.clinessy-admin-dashboard-v4 .finance-alert-v3 strong{font-size:12px!important}.clinessy-admin-dashboard-v4 .finance-alert-v3 small{font-size:11px!important}.clinessy-admin-dashboard-v4 .finance-alert-v3 em{font-size:11px!important;color:#075fcb!important}.clinessy-admin-dashboard-v4 .finance-alert-v3.purple{background:#f7f3ff!important;border-color:#e9d5ff!important}.clinessy-admin-dashboard-v4 .finance-alert-v3.purple>.dashicons{background:#ede9fe;color:#7c3aed}.finance-alert-all{display:block;text-align:center;margin-top:10px;font-weight:950;text-decoration:none!important;color:#075fcb}.clinessy-admin-dashboard-v4 .finance-dashboard-lists{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-bottom:14px!important}.clinessy-admin-dashboard-v4 .finance-list-panel{min-height:248px}.clinessy-admin-dashboard-v4 .finance-rows-v3{gap:0!important}.clinessy-admin-dashboard-v4 .finance-row-v3{grid-template-columns:38px minmax(0,1fr) auto auto!important;gap:10px!important;padding:9px 0!important}.clinessy-admin-dashboard-v4 .finance-row-v3 strong{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clinessy-admin-dashboard-v4 .finance-row-v3 small{font-size:11px!important}.clinessy-admin-dashboard-v4 .finance-row-v3>b{font-size:12px!important}.clinessy-admin-dashboard-v4 .finance-avatar{width:34px!important;height:34px!important}.clinessy-admin-dashboard-v4 .finance-due-badge{font-size:11px!important;padding:5px 8px!important;background:#ffe8ec!important;color:#ef4444!important}.clinessy-admin-dashboard-v4 .finance-actions-panel{margin-bottom:10px!important}.clinessy-admin-dashboard-v4 .finance-actions-v3{display:grid!important;grid-template-columns:repeat(11,minmax(82px,1fr))!important;gap:10px!important}.clinessy-admin-dashboard-v4 .finance-actions-v3 a{min-height:74px!important;border-radius:13px!important;padding:10px 8px!important}.clinessy-admin-dashboard-v4 .finance-actions-v3 .dashicons{width:34px!important;height:34px!important;border-radius:14px!important;font-size:21px!important}.clinessy-admin-dashboard-v4 .finance-actions-v3 strong{font-size:11.5px!important;line-height:1.15!important}.clinessy-admin-dashboard-v4 .finance-dashboard-note{font-size:12px!important;margin:10px 0 0!important}.clinessy-dark .clinessy-admin-dashboard-v4,.clinessy-app.dark .clinessy-admin-dashboard-v4{background:#0f172a!important}.clinessy-dark .finance-admin-date,.clinessy-app.dark .finance-admin-date,.clinessy-dark .finance-admin-refresh,.clinessy-app.dark .finance-admin-refresh,.clinessy-dark .finance-admin-search,.clinessy-app.dark .finance-admin-search,.clinessy-dark .finance-admin-bell,.clinessy-app.dark .finance-admin-bell,.clinessy-dark .finance-admin-profile,.clinessy-app.dark .finance-admin-profile{background:#111827!important;border-color:rgba(255,255,255,.12)!important;color:#e5e7eb!important}.clinessy-dark .finance-admin-title h2,.clinessy-app.dark .finance-admin-title h2,.clinessy-dark .finance-admin-profile strong,.clinessy-app.dark .finance-admin-profile strong{color:#fff!important}.clinessy-dark .finance-admin-search input,.clinessy-app.dark .finance-admin-search input{color:#fff!important}
@media(max-width:1250px){.clinessy-admin-dashboard-v4 .finance-dashboard-main-grid,.clinessy-admin-dashboard-v4 .finance-dashboard-lists{grid-template-columns:1fr!important}.clinessy-admin-dashboard-v4 .finance-actions-v3{grid-template-columns:repeat(4,minmax(105px,1fr))!important}.clinessy-admin-dashboard-v4 .finance-donut-wrap{grid-template-columns:180px 1fr!important}.finance-admin-toolbar{justify-content:flex-start}.finance-admin-search{width:240px}}
@media(max-width:980px){.clinessy-admin-dashboard-v4 .finance-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.clinessy-admin-dashboard-v4 .finance-actions-v3{grid-template-columns:repeat(3,minmax(105px,1fr))!important}.clinessy-admin-dashboard-v4 .finance-dash-topbar{display:block!important}.finance-admin-toolbar{margin-top:12px}.finance-admin-quick-top{justify-content:flex-start}.finance-admin-search{width:100%;max-width:100%}}
@media(max-width:760px){.clinessy-admin-dashboard-v4 .finance-kpi-row{grid-template-columns:1fr!important}.clinessy-admin-dashboard-v4 .finance-actions-v3{grid-template-columns:1fr 1fr!important}.clinessy-admin-dashboard-v4 .finance-donut-wrap{grid-template-columns:1fr!important}.clinessy-admin-dashboard-v4 .finance-main-chart{height:205px!important}.clinessy-admin-dashboard-v4 .finance-chart-summary{grid-template-columns:1fr 1fr!important}.finance-admin-toolbar>*{width:100%;justify-content:center}.finance-admin-profile{justify-content:flex-start}.clinessy-admin-dashboard-v4 .finance-row-v3{grid-template-columns:34px 1fr!important}.clinessy-admin-dashboard-v4 .finance-row-v3>b,.clinessy-admin-dashboard-v4 .finance-row-v3>.badge,.clinessy-admin-dashboard-v4 .finance-row-v3>em{grid-column:2;justify-self:start}}
@media(max-width:460px){.clinessy-admin-dashboard-v4 .finance-actions-v3{grid-template-columns:1fr!important}.clinessy-admin-dashboard-v4 .finance-chart-summary{grid-template-columns:1fr!important}}

/* Clinessy Core 0.1.0 — Etiquetas visuales exactas Dashboard Administrativo */
.clinessy-admin-dashboard-v4 .finance-section-label{font-size:13px!important;letter-spacing:.045em!important;text-transform:uppercase!important;font-weight:950!important;color:#0f172a!important;line-height:1.15!important;display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;}
.clinessy-admin-dashboard-v4 .finance-chart-legend{padding-left:20px!important;margin-top:2px!important;margin-bottom:8px!important;}
.clinessy-admin-dashboard-v4 .finance-chart-legend span{font-size:11px!important;color:#334155!important;font-weight:900!important;}
.clinessy-admin-dashboard-v4 .finance-main-chart{position:relative!important;overflow:visible!important;}
.clinessy-admin-dashboard-v4 .finance-main-chart-svg{overflow:visible!important;}
.clinessy-admin-dashboard-v4 .finance-grid-lines line{stroke:#e7edf5!important;stroke-width:.28!important;}
.clinessy-admin-dashboard-v4 .finance-main-chart-svg text{font-family:inherit!important;fill:#64748b!important;font-weight:850!important;letter-spacing:0!important;}
.clinessy-admin-dashboard-v4 .finance-axis-y{font-size:2.65px!important;}
.clinessy-admin-dashboard-v4 .finance-axis-x{font-size:2.75px!important;}
.clinessy-admin-dashboard-v4 .finance-line-income,.clinessy-admin-dashboard-v4 .finance-line-expense,.clinessy-admin-dashboard-v4 .finance-line-result{stroke-width:1.65!important;}
.clinessy-admin-dashboard-v4 .finance-line-income{stroke:#16a34a!important;}
.clinessy-admin-dashboard-v4 .finance-line-expense{stroke:#ef4444!important;}
.clinessy-admin-dashboard-v4 .finance-line-result{stroke:#2563eb!important;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span{position:relative!important;padding-left:16px!important;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span:before{content:"";position:absolute;left:4px;top:9px;width:6px;height:6px;border-radius:999px;background:#94a3b8;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span:nth-child(1):before{background:#16a34a;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span:nth-child(2):before{background:#ef4444;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span:nth-child(3):before{background:#2563eb;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span:nth-child(4):before{background:#22c55e;}
.clinessy-admin-dashboard-v4 .finance-chart-summary small{text-transform:none!important;color:#94a3b8!important;font-weight:900!important;}
.clinessy-admin-dashboard-v4 .finance-chart-summary strong{font-weight:950!important;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span:nth-child(1) strong,.clinessy-admin-dashboard-v4 .finance-chart-summary span:nth-child(4) strong{color:#16a34a!important;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span:nth-child(2) strong{color:#ef4444!important;}
.clinessy-admin-dashboard-v4 .finance-chart-summary span:nth-child(3) strong{color:#1d4ed8!important;}
.clinessy-admin-dashboard-v4 .finance-donut-list .finance-category-row{min-height:24px!important;}
.clinessy-admin-dashboard-v4 .finance-donut-list .finance-category-row span{font-weight:900!important;color:#334155!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.clinessy-admin-dashboard-v4 .finance-donut-list .finance-category-row strong{font-size:12px!important;color:#0f172a!important;text-align:right;white-space:nowrap;}
.clinessy-admin-dashboard-v4 .finance-donut-list .finance-category-row em{font-size:12px!important;color:#475569!important;font-weight:900!important;}
.clinessy-admin-dashboard-v4 .finance-empty-label{grid-column:1/-1;margin:4px 0 0!important;color:#94a3b8!important;font-size:11px!important;font-weight:800!important;}
.clinessy-admin-dashboard-v4 .finance-row-v3 .badge{border-radius:999px!important;padding:6px 10px!important;font-size:10.5px!important;font-weight:950!important;line-height:1!important;}
.clinessy-admin-dashboard-v4 .finance-row-v3 small{color:#64748b!important;}
.clinessy-admin-dashboard-v4 .finance-due-rows .finance-row-v3 small{color:#475569!important;}
.clinessy-admin-dashboard-v4 .finance-due-badge{min-width:48px;text-align:center;}
.clinessy-admin-dashboard-v4 .finance-list-panel .muted{font-size:12px!important;color:#94a3b8!important;font-weight:800!important;margin:10px 0!important;}
.clinessy-admin-dashboard-v4 .finance-actions-panel .finance-panel-head{margin-bottom:10px!important;}
.clinessy-admin-dashboard-v4 .finance-actions-v3 a strong{font-weight:950!important;color:#0f172a!important;}
.clinessy-dark .clinessy-admin-dashboard-v4 .finance-section-label,.clinessy-app.dark .clinessy-admin-dashboard-v4 .finance-section-label{color:#f8fafc!important;}
.clinessy-dark .clinessy-admin-dashboard-v4 .finance-main-chart-svg text,.clinessy-app.dark .clinessy-admin-dashboard-v4 .finance-main-chart-svg text{fill:#cbd5e1!important;}
.clinessy-dark .clinessy-admin-dashboard-v4 .finance-donut-list .finance-category-row span,.clinessy-app.dark .clinessy-admin-dashboard-v4 .finance-donut-list .finance-category-row span,.clinessy-dark .clinessy-admin-dashboard-v4 .finance-donut-list .finance-category-row strong,.clinessy-app.dark .clinessy-admin-dashboard-v4 .finance-donut-list .finance-category-row strong{color:#e5e7eb!important;}
@media(max-width:760px){.clinessy-admin-dashboard-v4 .finance-axis-y{font-size:3.1px!important}.clinessy-admin-dashboard-v4 .finance-axis-x{font-size:3px!important}.clinessy-admin-dashboard-v4 .finance-chart-legend{padding-left:4px!important;flex-wrap:wrap!important}.clinessy-admin-dashboard-v4 .finance-section-label{font-size:12px!important}}

/* Clinessy Core 0.1.0 — Reportes Ventas: acciones de venta y menú limpio */
.clinessy-report-sales-table .clinessy-actions-cell{min-width:250px;white-space:normal}
.report-sale-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.report-sale-actions .button,.report-sale-actions .clinessy-inline-form{margin:2px 0}
.report-sale-actions .clinessy-inline-form{display:inline-flex}
.report-sale-actions .clinessy-inline-form button{min-height:30px;line-height:1.2}
.report-sale-actions .clinessy-hard-delete{border-color:#ef4444!important;color:#b91c1c!important;background:#fff7f7!important}
.report-sale-actions .clinessy-hard-delete:hover{background:#fee2e2!important;color:#991b1b!important}
@media(max-width:780px){.clinessy-report-sales-table .clinessy-actions-cell{min-width:0}.report-sale-actions{flex-direction:column;align-items:stretch}.report-sale-actions .button,.report-sale-actions .clinessy-inline-form,.report-sale-actions .clinessy-inline-form button{width:100%;justify-content:center;text-align:center}}

/* Clinessy Core 0.1.0 — Navegación simplificada de Administración */
.clinessy-finance-group-tabs{background:#fff;border:1px solid #edf0f4;border-radius:18px;padding:8px;margin:0 0 16px;box-shadow:0 10px 24px rgba(15,23,42,.035)}
.clinessy-finance-group-tabs a{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;padding:10px 14px;font-weight:900;color:#344054;text-decoration:none!important;transition:all .16s ease}
.clinessy-finance-group-tabs a:hover{background:#f5fbf7;color:#0b6b43}
.clinessy-finance-group-tabs a.active{background:linear-gradient(90deg,#0f7a4a,#0b6b43);color:#fff;box-shadow:0 8px 18px rgba(12,106,67,.18)}
.clinessy-finance-nav-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:14px;margin:0 0 16px}
.clinessy-finance-nav-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #edf0f4;border-radius:22px;padding:18px;text-decoration:none!important;color:#101828;box-shadow:0 14px 34px rgba(15,23,42,.045);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.clinessy-finance-nav-card:hover{transform:translateY(-2px);box-shadow:0 20px 42px rgba(15,23,42,.08);border-color:#cfead8;color:#101828}
.clinessy-finance-nav-card>.dashicons{width:44px;height:44px;min-width:44px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:23px;line-height:1;background:#e7f7ee;color:#0f7a4a}
.clinessy-finance-nav-card div{min-width:0}
.clinessy-finance-nav-card strong{display:block;font-size:15px;font-weight:950;line-height:1.15;color:#123d32;margin-bottom:6px}
.clinessy-finance-nav-card em{display:block;font-style:normal;font-size:23px;font-weight:950;color:#101828;line-height:1.05;margin-bottom:5px}
.clinessy-finance-nav-card small{display:block;color:#667085;font-size:12px;font-weight:800;line-height:1.35}
.clinessy-finance-nav-card.green>.dashicons{background:#e7f7ee;color:#0f7a4a}.clinessy-finance-nav-card.blue>.dashicons{background:#e8f1ff;color:#0b67d3}.clinessy-finance-nav-card.red>.dashicons{background:#ffe9e9;color:#d92d20}.clinessy-finance-nav-card.orange>.dashicons{background:#fff0d7;color:#c46a00}.clinessy-finance-nav-card.purple>.dashicons{background:#f0e9ff;color:#7a3fd1}.clinessy-finance-nav-card.teal>.dashicons{background:#e3fbf4;color:#078066}
.clinessy-dark .clinessy-finance-group-tabs,.clinessy-app.dark .clinessy-finance-group-tabs,.clinessy-dark .clinessy-finance-nav-card,.clinessy-app.dark .clinessy-finance-nav-card{background:#111827;border-color:rgba(255,255,255,.12);color:#d7ddd5}
.clinessy-dark .clinessy-finance-nav-card strong,.clinessy-app.dark .clinessy-finance-nav-card strong,.clinessy-dark .clinessy-finance-nav-card em,.clinessy-app.dark .clinessy-finance-nav-card em{color:#fff}
.clinessy-dark .clinessy-finance-group-tabs a,.clinessy-app.dark .clinessy-finance-group-tabs a{color:#d7ddd5}.clinessy-dark .clinessy-finance-group-tabs a:hover,.clinessy-app.dark .clinessy-finance-group-tabs a:hover{background:rgba(255,255,255,.08)}
@media(max-width:700px){.clinessy-finance-nav-grid{grid-template-columns:1fr}.clinessy-finance-group-tabs{display:flex;gap:6px;overflow-x:auto}.clinessy-finance-group-tabs a{white-space:nowrap}}

/* Clinessy Core 0.1.0 — Bodega e Insumos dashboard operativo */
.clinessy-admin-hr-source{border-left:4px solid #0f7a4a!important;background:linear-gradient(135deg,#ffffff 0%,#f7fcf9 100%)!important}
.clinessy-admin-hr-source h2{display:flex;align-items:center;gap:8px}
.clinessy-admin-hr-source h2:before{content:"\f307";font-family:dashicons;color:#0f7a4a;font-size:22px;line-height:1}
.clinessy-dark .clinessy-admin-hr-source,.clinessy-app.dark .clinessy-admin-hr-source{background:linear-gradient(135deg,#111827 0%,#0b2119 100%)!important;border-left-color:#7cc89a!important}

/* Clinessy Core 0.1.0 — Bodega e Insumos dashboard operativo */
.clinessy-stock-ops .clinessy-stock-command-center{display:block;margin:0 0 18px}
.clinessy-stock-command-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;background:linear-gradient(135deg,#ffffff 0%,#f7fbf8 58%,#eef8f3 100%);border:1px solid rgba(198,220,205,.9);border-radius:24px;padding:20px 22px;box-shadow:0 18px 42px rgba(15,23,42,.04)}
.clinessy-stock-command-head h2{margin:7px 0 5px!important;font-size:30px!important;line-height:1.08;color:#0f172a}
.clinessy-stock-command-head p{margin:0;color:#667085;font-weight:800;line-height:1.4;max-width:720px}
.clinessy-stock-command-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.clinessy-stock-command-actions .button{display:inline-flex!important;gap:7px;align-items:center;justify-content:center;border-radius:13px!important;font-weight:900!important;white-space:nowrap}
.clinessy-stock-hero-kpis{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:12px;margin-bottom:14px}
.clinessy-stock-hero-kpi{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:12px;background:#fff;border:1px solid #edf0f4;border-radius:20px;padding:16px 14px;min-height:112px;box-shadow:0 12px 26px rgba(15,23,42,.035)}
.clinessy-stock-hero-kpi>span{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:29px;line-height:1;color:#0f6b44;background:#dcfce7}
.clinessy-stock-hero-kpi small{display:block;text-transform:none;letter-spacing:0;color:#0f172a;font-weight:900;font-size:12px;line-height:1.25;margin-bottom:6px}
.clinessy-stock-hero-kpi strong{display:block;color:#0f172a;font-size:25px;line-height:1.05;font-weight:950;margin-bottom:6px}
.clinessy-stock-hero-kpi em{display:block;font-style:normal;color:#667085;font-weight:800;font-size:12px;line-height:1.25}
.clinessy-stock-hero-kpi.is-green>span{background:#dcfce7;color:#15803d}.clinessy-stock-hero-kpi.is-blue>span{background:#dbeafe;color:#1d4ed8}.clinessy-stock-hero-kpi.is-orange>span{background:#ffedd5;color:#c2410c}.clinessy-stock-hero-kpi.is-red>span{background:#fee2e2;color:#dc2626}.clinessy-stock-hero-kpi.is-purple>span{background:#f3e8ff;color:#7e22ce}
.clinessy-stock-dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px;margin:14px 0}
.clinessy-stock-mid-grid{display:grid;grid-template-columns:1.25fr 1fr .95fr;gap:14px;margin:14px 0}
.clinessy-stock-bottom-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0 18px}
.clinessy-stock-panel{border-radius:22px!important;box-shadow:0 14px 34px rgba(15,23,42,.035)!important;border:1px solid rgba(226,232,240,.92)!important;overflow:hidden}
.clinessy-stock-panel .clinessy-card-head h2{font-size:17px!important;letter-spacing:.01em;text-transform:none;color:#0f172a}
.clinessy-stock-panel .clinessy-card-head a{font-size:12px;color:#145ee7;text-decoration:none;font-weight:900;white-space:nowrap}
.clinessy-stock-summary-grid{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:center}
.clinessy-stock-donut{width:180px;height:180px;border-radius:50%;position:relative;margin:auto;background:#e5e7eb;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.clinessy-stock-donut:after{content:'Total';position:absolute;inset:50px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#667085;font-weight:900;font-size:12px;box-shadow:0 10px 24px rgba(15,23,42,.06)}
.clinessy-stock-donut span{position:absolute;inset:74px;border-radius:50%;background:#fff;z-index:2}
.clinessy-stock-location-legend{display:flex;flex-direction:column;gap:10px;min-width:0}
.clinessy-stock-location-legend div{display:grid;grid-template-columns:11px 1fr auto;gap:9px;align-items:center;border-bottom:1px solid #f1f5f9;padding-bottom:8px}
.clinessy-stock-location-legend div:last-child{border-bottom:0;padding-bottom:0}
.clinessy-stock-location-legend span{width:10px;height:10px;border-radius:50%;background:var(--dot-color,#0b7a53)}
.clinessy-stock-location-legend strong{font-size:13px;color:#0f172a;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clinessy-stock-location-legend small{font-size:12px;color:#667085;font-weight:800;text-align:right}
.clinessy-stock-last-moves{grid-column:1 / -1;border-top:1px solid #edf0f4;padding-top:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
.clinessy-stock-last-move{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;border:1px solid #edf0f4;background:#fff;border-radius:14px;padding:9px}
.clinessy-stock-last-move .dashicons{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#eef2ff;color:#3155d4}
.clinessy-stock-last-move strong{font-size:12px;color:#0f172a;line-height:1.2}.clinessy-stock-last-move small{display:block;color:#667085;font-size:11px;font-weight:750;margin-top:2px}.clinessy-stock-last-move em{font-style:normal;font-weight:950;font-size:12px}.clinessy-stock-last-move.is-negative em{color:#dc2626}.clinessy-stock-last-move.is-positive em{color:#16a34a}.clinessy-stock-last-move.is-blue em{color:#1d4ed8}
.clinessy-stock-panel-link{width:100%;justify-content:center!important;margin-top:14px;border-radius:12px!important;font-weight:900!important}
.clinessy-stock-alert-list,.clinessy-stock-replenish-list{display:flex;flex-direction:column;gap:10px}
.clinessy-stock-alert-item,.clinessy-stock-replenish-item{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;border-radius:16px;padding:12px;border:1px solid #edf0f4;background:#fff}
.clinessy-stock-alert-item>span,.clinessy-stock-replenish-item>span{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;background:#eef2f7;color:#475467}
.clinessy-stock-alert-item strong,.clinessy-stock-replenish-item strong{display:block;font-size:13px;color:#0f172a;line-height:1.25}.clinessy-stock-alert-item small,.clinessy-stock-replenish-item small{display:block;color:#667085;font-size:12px;font-weight:780;margin-top:3px}.clinessy-stock-alert-item a{font-size:12px;font-weight:900;text-decoration:none;color:#0b6b43}.clinessy-stock-alert-item.is-warning{background:#fffaf0;border-color:#fed7aa}.clinessy-stock-alert-item.is-warning>span{background:#ffedd5;color:#c2410c}.clinessy-stock-alert-item.is-danger{background:#fff7f7;border-color:#fecaca}.clinessy-stock-alert-item.is-danger>span{background:#fee2e2;color:#dc2626}
.clinessy-stock-replenish-item{background:#f8fffb;border-color:#bbf7d0}.clinessy-stock-replenish-item>span{background:#ecfdf3;color:#0b6b43}.clinessy-stock-replenish-item .button{border-radius:12px!important;font-weight:900!important;white-space:nowrap}
.clinessy-stock-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.clinessy-stock-action-grid a{display:flex;min-height:118px;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:7px;border:1px solid #edf0f4;border-radius:18px;background:#fff;color:#0f172a;text-decoration:none;padding:13px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.clinessy-stock-action-grid a:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(15,23,42,.07);border-color:#badbcc}.clinessy-stock-action-grid .dashicons{width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#ecfdf3;color:#0b6b43;font-size:24px}.clinessy-stock-action-grid strong{font-size:13px;font-weight:950}.clinessy-stock-action-grid small{font-size:11px;color:#667085;font-weight:800}
.clinessy-stock-qr-quick .clinessy-stock-qr-box{min-height:180px;border:1px dashed #a7d7bc;background:linear-gradient(180deg,#f0fdf4,#ffffff);border-radius:18px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:8px;color:#0b6b43;margin:4px 0 12px;padding:18px}.clinessy-stock-qr-box .dashicons{width:48px;height:48px;font-size:48px}.clinessy-stock-qr-box strong{color:#0f172a}.clinessy-stock-qr-box small{color:#667085;font-weight:800}.clinessy-stock-qr-quick .button-primary{width:100%;justify-content:center!important;border-radius:13px!important;font-weight:900!important}.clinessy-stock-qr-quick select:disabled,.clinessy-stock-qr-quick input:disabled{opacity:.82;background:#f8fafc!important;color:#64748b!important}
.clinessy-stock-compact-list{display:flex;flex-direction:column;gap:8px}.clinessy-stock-compact-row{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;padding:9px;border-bottom:1px solid #f1f5f9}.clinessy-stock-compact-row:last-child{border-bottom:0}.clinessy-stock-row-icon{width:38px;height:38px;border-radius:14px;background:#eef2f7;color:#475467;display:flex;align-items:center;justify-content:center;font-size:21px}.clinessy-stock-compact-row strong{display:block;font-size:13px;color:#0f172a;line-height:1.2}.clinessy-stock-compact-row small{display:block;color:#667085;font-weight:750;font-size:11px;margin-top:2px}.clinessy-stock-compact-row em{font-style:normal;font-size:12px;font-weight:950;white-space:nowrap}.clinessy-stock-compact-row.is-positive em{color:#16a34a}.clinessy-stock-compact-row.is-negative em{color:#dc2626}.clinessy-stock-compact-row.is-blue em{color:#1d4ed8}
.clinessy-stock-top-used{display:flex;flex-direction:column;gap:12px}.clinessy-stock-top-used div{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.clinessy-stock-top-used span{font-size:13px;color:#0f172a;font-weight:850}.clinessy-stock-top-used em{font-style:normal;font-weight:950;color:#0f172a;font-size:12px}.clinessy-stock-top-used strong{grid-column:1 / -1;height:8px;border-radius:999px;background:#edf0f4;overflow:hidden}.clinessy-stock-top-used i{display:block;height:100%;border-radius:999px;background:#22c55e}
.clinessy-stock-mini-table .clinessy-table-wrap .clinessy-table{min-width:560px}.clinessy-stock-mini-table .compact-table td,.clinessy-stock-mini-table .compact-table th{font-size:12px}
.clinessy-dark .clinessy-stock-command-head,.clinessy-app.dark .clinessy-stock-command-head,.clinessy-dark .clinessy-stock-hero-kpi,.clinessy-app.dark .clinessy-stock-hero-kpi,.clinessy-dark .clinessy-stock-panel,.clinessy-app.dark .clinessy-stock-panel,.clinessy-dark .clinessy-stock-last-move,.clinessy-app.dark .clinessy-stock-last-move,.clinessy-dark .clinessy-stock-action-grid a,.clinessy-app.dark .clinessy-stock-action-grid a,.clinessy-dark .clinessy-stock-alert-item,.clinessy-app.dark .clinessy-stock-alert-item,.clinessy-dark .clinessy-stock-replenish-item,.clinessy-app.dark .clinessy-stock-replenish-item{background:#111827!important;border-color:rgba(255,255,255,.12)!important}.clinessy-dark .clinessy-stock-command-head h2,.clinessy-app.dark .clinessy-stock-command-head h2,.clinessy-dark .clinessy-stock-hero-kpi strong,.clinessy-app.dark .clinessy-stock-hero-kpi strong,.clinessy-dark .clinessy-stock-hero-kpi small,.clinessy-app.dark .clinessy-stock-hero-kpi small,.clinessy-dark .clinessy-stock-panel .clinessy-card-head h2,.clinessy-app.dark .clinessy-stock-panel .clinessy-card-head h2,.clinessy-dark .clinessy-stock-action-grid strong,.clinessy-app.dark .clinessy-stock-action-grid strong,.clinessy-dark .clinessy-stock-alert-item strong,.clinessy-app.dark .clinessy-stock-alert-item strong,.clinessy-dark .clinessy-stock-replenish-item strong,.clinessy-app.dark .clinessy-stock-replenish-item strong,.clinessy-dark .clinessy-stock-compact-row strong,.clinessy-app.dark .clinessy-stock-compact-row strong{color:#fff!important}.clinessy-dark .clinessy-stock-donut:after,.clinessy-app.dark .clinessy-stock-donut:after,.clinessy-dark .clinessy-stock-donut span,.clinessy-app.dark .clinessy-stock-donut span{background:#111827;color:#d7ddd5}
@media(max-width:1380px){.clinessy-stock-hero-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.clinessy-stock-dashboard-grid,.clinessy-stock-mid-grid{grid-template-columns:1fr}.clinessy-stock-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.clinessy-stock-command-head{flex-direction:column;align-items:stretch;padding:16px}.clinessy-stock-command-actions{display:grid;grid-template-columns:1fr}.clinessy-stock-command-actions .button{width:100%}.clinessy-stock-hero-kpis{grid-template-columns:1fr}.clinessy-stock-summary-grid{grid-template-columns:1fr}.clinessy-stock-donut{width:150px;height:150px}.clinessy-stock-donut:after{inset:42px}.clinessy-stock-donut span{inset:62px}.clinessy-stock-location-legend div{grid-template-columns:10px 1fr}.clinessy-stock-location-legend small{text-align:left;grid-column:2}.clinessy-stock-last-moves,.clinessy-stock-bottom-grid{grid-template-columns:1fr}.clinessy-stock-action-grid{grid-template-columns:1fr 1fr}.clinessy-stock-alert-item,.clinessy-stock-replenish-item{grid-template-columns:40px 1fr}.clinessy-stock-alert-item a,.clinessy-stock-replenish-item .button{grid-column:1 / -1;width:100%;text-align:center;justify-content:center}.clinessy-stock-command-head h2{font-size:24px!important}}
@media(max-width:460px){.clinessy-stock-action-grid{grid-template-columns:1fr}.clinessy-stock-hero-kpi{grid-template-columns:48px 1fr}.clinessy-stock-hero-kpi>span{width:48px;height:48px}.clinessy-stock-hero-kpi strong{font-size:22px}}

/* Clinessy Core 0.1.0 — Bodega e Insumos dashboard operativo */
.clinessy-stock-command-center{display:flex;flex-direction:column;gap:18px;margin:0 0 18px}
.clinessy-stock-command-head{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#ffffff 0%,#fbfdfb 58%,#f2f7ee 100%);border:1px solid rgba(226,214,195,.95);border-radius:24px;padding:20px 22px;box-shadow:0 18px 40px rgba(15,23,42,.045)}
.clinessy-stock-command-head h2{margin:6px 0 4px!important;font-size:28px!important;line-height:1.05;color:#102238!important;letter-spacing:-.03em}
.clinessy-stock-command-head p{margin:0;color:#667085;font-weight:750;line-height:1.45}
.clinessy-stock-command-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.clinessy-stock-command-actions .button{border-radius:14px!important;min-height:42px;display:inline-flex!important;align-items:center;gap:7px!important;font-weight:900!important}.clinessy-stock-command-actions .button-primary{background:#08784f!important;border-color:#08784f!important;color:#fff!important}
.clinessy-stock-hero-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.clinessy-stock-hero-kpi{display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:center;background:#fff;border:1px solid #edf0f4;border-radius:22px;padding:16px;min-height:116px;box-shadow:0 14px 32px rgba(15,23,42,.045);position:relative;overflow:hidden}.clinessy-stock-hero-kpi:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:#0b6b43;opacity:.8}.clinessy-stock-hero-kpi>.dashicons{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:28px;background:#e8f8ef;color:#087544}.clinessy-stock-hero-kpi small{display:block;color:#475467;font-size:11px;text-transform:uppercase;letter-spacing:.055em;font-weight:950;margin-bottom:5px}.clinessy-stock-hero-kpi strong{display:block;font-size:25px;line-height:1.08;color:#101828;font-weight:950;letter-spacing:-.04em}.clinessy-stock-hero-kpi em{display:block;font-style:normal;color:#667085;font-size:12px;font-weight:750;margin-top:4px;line-height:1.25}.clinessy-stock-hero-kpi.is-blue>.dashicons{background:#e4efff;color:#2563eb}.clinessy-stock-hero-kpi.is-orange>.dashicons{background:#fff4dc;color:#d97706}.clinessy-stock-hero-kpi.is-red>.dashicons{background:#ffe8e8;color:#dc2626}.clinessy-stock-hero-kpi.is-purple>.dashicons{background:#f0e7ff;color:#7c3aed}
.clinessy-stock-dashboard-grid{display:grid;grid-template-columns:1.35fr .95fr .95fr;gap:16px;align-items:stretch}.clinessy-stock-panel{border-radius:22px!important;box-shadow:0 16px 36px rgba(15,23,42,.045)!important;border:1px solid rgba(226,214,195,.9)!important}.clinessy-stock-summary-grid{display:grid;grid-template-columns:170px 1fr 1.05fr;gap:18px;align-items:center}.clinessy-stock-donut{width:150px;height:150px;border-radius:50%;background:#edf2f7;position:relative;margin:auto;box-shadow:inset 0 0 0 1px rgba(15,23,42,.04)}.clinessy-stock-donut span{position:absolute;inset:34px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #edf0f4}.clinessy-stock-location-legend{display:grid;gap:10px}.clinessy-stock-location-legend div{display:grid;grid-template-columns:12px 1fr;gap:4px 9px;align-items:center}.clinessy-stock-location-legend div>span{width:10px;height:10px;border-radius:999px;background:var(--dot-color,#0b7a53);grid-row:1/span 2}.clinessy-stock-location-legend strong{font-size:13px;color:#1f2937}.clinessy-stock-location-legend small{grid-column:2;color:#667085;font-size:12px;font-weight:750}.clinessy-stock-last-moves{display:grid;gap:9px}.clinessy-stock-last-move{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;border:1px solid #edf0f4;background:#fff;border-radius:15px;padding:9px 10px}.clinessy-stock-last-move>.dashicons{width:38px;height:38px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#eef2f7;color:#475467}.clinessy-stock-last-move strong,.clinessy-stock-last-move small{display:block}.clinessy-stock-last-move strong{font-size:12px;color:#101828}.clinessy-stock-last-move small{font-size:11px;color:#667085;font-weight:700}.clinessy-stock-last-move em{font-style:normal;font-weight:950}.clinessy-stock-last-move.is-positive>.dashicons{background:#e7f8ee;color:#087544}.clinessy-stock-last-move.is-negative>.dashicons{background:#ffe9e9;color:#c01d1d}.clinessy-stock-last-move.is-blue>.dashicons{background:#e7f0ff;color:#2563eb}.clinessy-stock-last-move.is-negative em{color:#dc2626}.clinessy-stock-last-move.is-positive em{color:#059669}.clinessy-stock-panel-link{display:flex!important;align-items:center;justify-content:center;margin-top:14px;border-radius:14px!important;font-weight:900!important}
.clinessy-stock-alert-list,.clinessy-stock-replenish-list{display:grid;gap:10px}.clinessy-stock-alert-item,.clinessy-stock-replenish-item{display:grid;grid-template-columns:40px 1fr auto;gap:11px;align-items:center;border:1px solid #edf0f4;background:#fff;border-radius:16px;padding:11px}.clinessy-stock-alert-item>.dashicons,.clinessy-stock-replenish-item>.dashicons{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px}.clinessy-stock-alert-item strong,.clinessy-stock-alert-item small,.clinessy-stock-replenish-item strong,.clinessy-stock-replenish-item small{display:block}.clinessy-stock-alert-item strong,.clinessy-stock-replenish-item strong{font-size:13px;color:#101828;line-height:1.25}.clinessy-stock-alert-item small,.clinessy-stock-replenish-item small{font-size:12px;color:#667085;margin-top:3px;font-weight:720}.clinessy-stock-alert-item a{font-weight:950;text-decoration:none;color:#0b6b43}.clinessy-stock-alert-item.is-warning{background:#fffaf0;border-color:#ffe2a8}.clinessy-stock-alert-item.is-warning>.dashicons{background:#fff0d7;color:#d97706}.clinessy-stock-alert-item.is-danger{background:#fff7f7;border-color:#fecaca}.clinessy-stock-alert-item.is-danger>.dashicons{background:#ffe7e7;color:#dc2626}.clinessy-stock-replenish-item{background:#f8fffb;border-color:#cfeee0}.clinessy-stock-replenish-item>.dashicons{background:#e7f8ee;color:#087544}.clinessy-stock-replenish-item .button{border-radius:12px!important;font-weight:900!important;color:#087544!important}
.clinessy-stock-mid-grid{display:grid;grid-template-columns:1.15fr .9fr .95fr;gap:16px}.clinessy-stock-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.clinessy-stock-action-grid a{display:grid;gap:5px;align-content:center;text-align:center;text-decoration:none!important;color:#102238!important;border:1px solid #edf0f4;border-radius:18px;min-height:108px;padding:13px;background:linear-gradient(180deg,#fff,#fbfcff);transition:all .16s ease}.clinessy-stock-action-grid a:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(15,23,42,.07);border-color:#cdebd8;background:#f7fffb}.clinessy-stock-action-grid .dashicons{margin:0 auto;width:42px;height:42px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:25px;background:#e7f8ee;color:#087544}.clinessy-stock-action-grid strong{font-size:13px}.clinessy-stock-action-grid small{font-size:11px;color:#667085;font-weight:760}.clinessy-stock-qr-quick .clinessy-form{margin-top:12px}.clinessy-stock-qr-box{display:grid;place-items:center;text-align:center;gap:8px;min-height:178px;border:1.5px dashed #b7e1c9;background:#f8fffb;border-radius:18px;padding:18px}.clinessy-stock-qr-box>.dashicons{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#e7f8ee;color:#087544;font-size:30px}.clinessy-stock-qr-box strong{color:#0b3b2e;font-size:14px}.clinessy-stock-qr-box small{color:#667085;font-weight:720}
.clinessy-stock-bottom-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.clinessy-stock-mini-table .clinessy-card-head a{font-weight:900;color:#0b6b43;text-decoration:none}.clinessy-stock-compact-list{display:grid;gap:9px}.clinessy-stock-compact-row{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f4}.clinessy-stock-compact-row:last-child{border-bottom:0}.clinessy-stock-row-icon{width:38px;height:38px;border-radius:14px;display:flex!important;align-items:center;justify-content:center;background:#eef2f7;color:#475467}.clinessy-stock-compact-row strong,.clinessy-stock-compact-row small{display:block}.clinessy-stock-compact-row strong{font-size:13px;color:#101828}.clinessy-stock-compact-row small{font-size:11px;color:#667085;font-weight:720}.clinessy-stock-compact-row em{font-style:normal;font-weight:950}.clinessy-stock-compact-row.is-positive .clinessy-stock-row-icon{background:#e7f8ee;color:#087544}.clinessy-stock-compact-row.is-negative .clinessy-stock-row-icon{background:#ffe9e9;color:#c01d1d}.clinessy-stock-compact-row.is-blue .clinessy-stock-row-icon{background:#e7f0ff;color:#2563eb}.clinessy-stock-compact-row.is-negative em{color:#dc2626}.clinessy-stock-top-used{display:grid;gap:13px}.clinessy-stock-top-used>div{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.clinessy-stock-top-used span{font-weight:850;color:#101828;font-size:13px}.clinessy-stock-top-used em{font-style:normal;color:#667085;font-weight:900;font-size:12px}.clinessy-stock-top-used strong{grid-column:1/-1;height:9px;border-radius:999px;background:#edf2f7;overflow:hidden}.clinessy-stock-top-used i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0b7a53,#86efac)}
.clinessy-dark .clinessy-stock-command-head,.clinessy-app.dark .clinessy-stock-command-head,.clinessy-dark .clinessy-stock-hero-kpi,.clinessy-app.dark .clinessy-stock-hero-kpi,.clinessy-dark .clinessy-stock-panel,.clinessy-app.dark .clinessy-stock-panel,.clinessy-dark .clinessy-stock-alert-item,.clinessy-app.dark .clinessy-stock-alert-item,.clinessy-dark .clinessy-stock-replenish-item,.clinessy-app.dark .clinessy-stock-replenish-item,.clinessy-dark .clinessy-stock-action-grid a,.clinessy-app.dark .clinessy-stock-action-grid a,.clinessy-dark .clinessy-stock-last-move,.clinessy-app.dark .clinessy-stock-last-move{background:#111827!important;border-color:rgba(255,255,255,.12)!important;color:#e5e7eb!important}.clinessy-dark .clinessy-stock-command-head h2,.clinessy-app.dark .clinessy-stock-command-head h2,.clinessy-dark .clinessy-stock-hero-kpi strong,.clinessy-app.dark .clinessy-stock-hero-kpi strong,.clinessy-dark .clinessy-stock-alert-item strong,.clinessy-app.dark .clinessy-stock-alert-item strong,.clinessy-dark .clinessy-stock-replenish-item strong,.clinessy-app.dark .clinessy-stock-replenish-item strong,.clinessy-dark .clinessy-stock-action-grid a,.clinessy-app.dark .clinessy-stock-action-grid a,.clinessy-dark .clinessy-stock-compact-row strong,.clinessy-app.dark .clinessy-stock-compact-row strong,.clinessy-dark .clinessy-stock-top-used span,.clinessy-app.dark .clinessy-stock-top-used span{color:#f8fafc!important}.clinessy-dark .clinessy-stock-donut span,.clinessy-app.dark .clinessy-stock-donut span{background:#111827}
@media(max-width:1600px){.clinessy-stock-hero-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.clinessy-stock-dashboard-grid{grid-template-columns:1fr 1fr}.clinessy-stock-summary-panel{grid-column:1/-1}.clinessy-stock-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clinessy-stock-mid-grid{grid-template-columns:1fr 1fr}.clinessy-stock-qr-quick{grid-column:1/-1}}
@media(max-width:1100px){.clinessy-stock-dashboard-grid,.clinessy-stock-mid-grid,.clinessy-stock-bottom-grid{grid-template-columns:1fr}.clinessy-stock-summary-grid{grid-template-columns:1fr}.clinessy-stock-donut{width:130px;height:130px}.clinessy-stock-command-head{display:block}.clinessy-stock-command-actions{justify-content:flex-start;margin-top:14px}.clinessy-stock-command-actions .button{width:100%;justify-content:center}.clinessy-stock-hero-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.clinessy-stock-hero-kpis{grid-template-columns:1fr}.clinessy-stock-hero-kpi{min-height:96px}.clinessy-stock-action-grid{grid-template-columns:1fr}.clinessy-stock-alert-item,.clinessy-stock-replenish-item{grid-template-columns:38px 1fr}.clinessy-stock-alert-item a,.clinessy-stock-replenish-item .button{grid-column:2;justify-self:start}.clinessy-stock-command-head h2{font-size:23px!important}}

.clinessy-stock-edit-card{border:1px solid #d9efe5;background:linear-gradient(135deg,#ffffff 0%,#f4fbf8 100%)}
.clinessy-stock-row-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.clinessy-stock-product-actions .clinessy-danger-link,.clinessy-stock-row-actions .clinessy-danger-link{color:#b42318;border-color:#f3b6b0;background:#fff7f6}
.clinessy-stock-product-actions .clinessy-danger-link:hover,.clinessy-stock-row-actions .clinessy-danger-link:hover{background:#fee4e2;color:#912018}
.clinessy-mobile-qr-form select[name="professional_ref"]{font-weight:600}
@media(max-width:760px){.clinessy-stock-row-actions{flex-direction:column;align-items:stretch}.clinessy-stock-row-actions .button{width:100%;text-align:center}}

.clinessy-stock-delete-panel{margin:18px 0 0!important;padding:18px!important;border-radius:18px!important}
.clinessy-stock-delete-panel .clinessy-card-head{margin-bottom:8px!important}
.clinessy-stock-delete-panel form{margin-top:12px!important}
.clinessy-stock-delete-panel input[name="confirm_delete_stock"]{border-color:#fca5a5!important;background:#fff!important;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.clinessy-stock-delete-panel .form-actions{align-items:end}
@media(max-width:760px){.clinessy-stock-delete-panel .clinessy-form{grid-template-columns:1fr!important}.clinessy-stock-delete-panel .button{width:100%;justify-content:center}}

/* Clinessy Core 0.1.0 — Bodega compacta y desplegable */
.clinessy-stock-compact-toolbar{display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(170px,.65fr) minmax(190px,.75fr) auto;gap:10px;align-items:end;margin:14px 0 10px;padding:12px;border:1px solid #edf0f4;background:#fff;border-radius:18px;box-shadow:0 8px 22px rgba(15,23,42,.025)}
.clinessy-stock-compact-toolbar label{margin:0;color:#344054;font-size:12px;font-weight:900;display:flex;flex-direction:column;gap:6px}
.clinessy-stock-compact-toolbar select,.clinessy-stock-compact-toolbar input{min-height:42px;border-radius:13px!important;border:1px solid #d8cdbb!important;font-weight:850;background:#fff!important}
.clinessy-stock-compact-search{position:relative;display:flex;align-items:center}
.clinessy-stock-compact-search .dashicons{position:absolute;left:13px;color:#64748b;z-index:1}
.clinessy-stock-compact-search input{width:100%;padding-left:42px!important}
.clinessy-stock-compact-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.clinessy-stock-compact-actions .button{border-radius:13px!important;font-weight:900!important;min-height:42px}
.clinessy-stock-compact-counter{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 14px;color:#667085;font-weight:800}
.clinessy-stock-compact-counter strong,.clinessy-stock-compact-counter span{border:1px solid #edf0f4;background:#fff;border-radius:999px;padding:7px 10px;box-shadow:0 6px 14px rgba(15,23,42,.02)}
.clinessy-stock-compact-counter strong{color:#0f172a;background:#f8fafc}
.clinessy-stock-product-grid-compact{gap:10px}
.clinessy-stock-product-card.is-compact{padding:13px 14px;border-radius:18px;transition:box-shadow .2s ease,border-color .2s ease,background .2s ease}
.clinessy-stock-product-card.is-compact.is-open{box-shadow:0 14px 34px rgba(15,23,42,.06)}
.clinessy-stock-product-card.is-out{border-color:#fecaca;background:linear-gradient(180deg,#fff 0%,#fff7f7 100%)}
.clinessy-stock-product-card.is-compact .clinessy-stock-product-head{margin-bottom:8px;align-items:center}
.clinessy-stock-product-card.is-compact .clinessy-stock-product-icon{width:42px;height:42px;flex-basis:42px;border-radius:14px;font-size:13px}
.clinessy-stock-product-card.is-compact .clinessy-stock-product-title h3{font-size:17px!important;margin-bottom:2px!important}
.clinessy-stock-product-card.is-compact .clinessy-stock-product-title p{font-size:12px}
.clinessy-stock-product-card.is-compact .clinessy-stock-product-meta{margin-bottom:10px}
.clinessy-stock-product-meta span.is-out{background:#ffe9e9;color:#a52222;border-color:#fecaca}
.clinessy-stock-product-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 10px}
.clinessy-stock-product-summary>div{border:1px solid #edf0f4;background:#fbfcfe;border-radius:14px;padding:9px 10px;min-width:0}
.clinessy-stock-product-summary small{display:block;color:#667085;font-weight:850;font-size:11px;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clinessy-stock-product-summary strong{display:block;color:#101828;font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clinessy-stock-product-chip-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:6px 0 2px}
.clinessy-stock-location-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid #edf0f4;background:#f8fafc;border-radius:999px;padding:6px 9px;color:#475467;font-size:12px;font-weight:850;max-width:260px}
.clinessy-stock-location-chip strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:155px;color:#344054}
.clinessy-stock-location-chip em{font-style:normal;color:#667085;white-space:nowrap}
.clinessy-stock-location-chip.is-ok{background:#f0fff6;border-color:#bbf7d0;color:#116c3a}
.clinessy-stock-location-chip.is-ok strong,.clinessy-stock-location-chip.is-ok em{color:#116c3a}
.clinessy-stock-location-chip.is-low,.clinessy-stock-location-chip.is-critical{background:#fff8ed;border-color:#fed7aa;color:#9a3412}
.clinessy-stock-location-chip.is-low strong,.clinessy-stock-location-chip.is-low em,.clinessy-stock-location-chip.is-critical strong,.clinessy-stock-location-chip.is-critical em{color:#9a3412}
.clinessy-stock-location-chip.is-danger{background:#fff1f1;border-color:#fecaca;color:#a52222}
.clinessy-stock-location-chip.is-danger strong,.clinessy-stock-location-chip.is-danger em{color:#a52222}
.clinessy-stock-location-chip.is-empty{background:#f8fafc;border-style:dashed;color:#64748b;opacity:.86}
.clinessy-stock-location-chip.is-more{background:#fff;border-color:#d8cdbb;color:#475467}
.clinessy-stock-product-detail{margin-top:12px;padding-top:12px;border-top:1px solid #edf0f4}
.clinessy-stock-product-detail[hidden]{display:none!important}
.clinessy-stock-detail-toggle{border-color:#0b6b43!important;color:#0b6b43!important;background:#fff!important}
.clinessy-stock-product-card.is-open .clinessy-stock-detail-toggle{background:#0b6b43!important;color:#fff!important}
.clinessy-stock-no-results{border:1px dashed #d8cdbb;background:#fff;border-radius:18px;padding:22px;text-align:center;color:#667085;display:flex;flex-direction:column;gap:6px}
.clinessy-stock-no-results[hidden]{display:none!important}
.clinessy-stock-no-results strong{font-size:17px;color:#101828}
.clinessy-dark .clinessy-stock-compact-toolbar,.clinessy-app.dark .clinessy-stock-compact-toolbar,.clinessy-dark .clinessy-stock-compact-counter strong,.clinessy-app.dark .clinessy-stock-compact-counter strong,.clinessy-dark .clinessy-stock-compact-counter span,.clinessy-app.dark .clinessy-stock-compact-counter span,.clinessy-dark .clinessy-stock-product-summary>div,.clinessy-app.dark .clinessy-stock-product-summary>div,.clinessy-dark .clinessy-stock-location-chip,.clinessy-app.dark .clinessy-stock-location-chip,.clinessy-dark .clinessy-stock-no-results,.clinessy-app.dark .clinessy-stock-no-results{background:#111827;border-color:rgba(255,255,255,.12)}
.clinessy-dark .clinessy-stock-product-summary strong,.clinessy-app.dark .clinessy-stock-product-summary strong,.clinessy-dark .clinessy-stock-compact-counter strong,.clinessy-app.dark .clinessy-stock-compact-counter strong,.clinessy-dark .clinessy-stock-no-results strong,.clinessy-app.dark .clinessy-stock-no-results strong{color:#fff}
@media(max-width:1100px){.clinessy-stock-compact-toolbar{grid-template-columns:1fr 1fr}.clinessy-stock-compact-search{grid-column:1 / -1}.clinessy-stock-compact-actions{justify-content:stretch}.clinessy-stock-compact-actions .button{flex:1}.clinessy-stock-product-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.clinessy-stock-compact-toolbar{grid-template-columns:1fr}.clinessy-stock-compact-actions{display:grid;grid-template-columns:1fr 1fr}.clinessy-stock-product-summary{grid-template-columns:1fr 1fr}.clinessy-stock-location-chip{width:100%;max-width:none;justify-content:space-between}.clinessy-stock-location-chip strong{max-width:65%}}
@media(max-width:520px){.clinessy-stock-product-summary{grid-template-columns:1fr}.clinessy-stock-compact-actions{grid-template-columns:1fr}.clinessy-stock-product-card.is-compact{padding:12px}.clinessy-stock-product-card.is-compact .clinessy-stock-product-head{gap:10px}}


/* Clinessy Core 0.1.0 - Etiqueta discreta de efectivo automático en Dashboard */
.dashboard-cash-branch-tag{display:grid;grid-template-columns:auto auto;align-items:center;gap:14px;margin:16px 0!important;padding:16px 18px!important;border-color:#dfeee7!important;background:linear-gradient(135deg,#ffffff 0%,#f8fffb 100%)!important;}
.dashboard-cash-branch-main{display:flex;align-items:center;gap:12px;min-width:240px;}
.dashboard-cash-branch-main>.dashicons{width:42px;height:42px;border-radius:14px;background:#e7f8ee;color:#087544;display:flex;align-items:center;justify-content:center;font-size:23px;}
.dashboard-cash-branch-main small{display:block;color:#667085;font-weight:900;text-transform:uppercase;font-size:10px;letter-spacing:.08em;}
.dashboard-cash-branch-main strong{display:block;color:#0f3d2f;font-size:25px;line-height:1.05;margin-top:2px;}
.dashboard-cash-branch-main em{display:block;font-style:normal;color:#687388;font-weight:800;font-size:12px;margin-top:4px;}
.dashboard-cash-branch-tag>a{justify-self:end;border:1px solid #d8e7de;background:#fff;color:#0f6c45!important;border-radius:999px;padding:8px 13px;text-decoration:none;font-weight:900;}
.dashboard-cash-branch-list{grid-column:1/-1;display:flex;gap:8px;overflow-x:auto;padding-top:4px;}
.cash-branch-pill{min-width:170px;border:1px solid #edf0f4;background:#fff;border-radius:14px;padding:9px 11px;}
.cash-branch-pill b,.cash-branch-pill strong,.cash-branch-pill small{display:block;}
.cash-branch-pill b{font-size:12px;color:#344054;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cash-branch-pill strong{font-size:17px;color:#101827;margin-top:3px;}
.cash-branch-pill small{font-size:10px;color:#667085;font-weight:800;margin-top:2px;}
.cash-branch-pill.ok{border-color:#ccebd8;background:#fbfffd;}
.cash-branch-pill.pending{border-color:#ffd9ad;background:#fff9f0;}
.cash-branch-pill.neutral{background:#f8fafc;}
.clinessy-dark .dashboard-cash-branch-tag,.clinessy-app.dark .dashboard-cash-branch-tag{background:#111827!important;border-color:#273244!important;}
.clinessy-dark .cash-branch-pill,.clinessy-app.dark .cash-branch-pill{background:#0f172a!important;border-color:#273244!important;}
.clinessy-dark .cash-branch-pill b,.clinessy-dark .cash-branch-pill strong,.clinessy-app.dark .cash-branch-pill b,.clinessy-app.dark .cash-branch-pill strong{color:#e5e7eb!important;}
@media(max-width:900px){.dashboard-cash-branch-tag{grid-template-columns:1fr!important}.dashboard-cash-branch-tag>a{justify-self:start}.dashboard-cash-branch-list{display:grid;grid-template-columns:1fr}.cash-branch-pill{min-width:0}}

/* Dashboard cash mini tag */
.dashboard-cash-mini-tag{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 14px!important;}
.dashboard-cash-mini-toggle{border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:7px 11px;display:inline-flex;align-items:center;gap:7px;box-shadow:0 6px 18px rgba(15,23,42,.04);cursor:default;}
.dashboard-cash-mini-toggle .dashicons{width:18px;height:18px;font-size:18px;color:#0f6c45;}
.dashboard-cash-mini-toggle small{font-size:11px;font-weight:900;color:#667085;text-transform:uppercase;letter-spacing:.04em;}
.dashboard-cash-mini-toggle strong{font-size:14px;font-weight:950;color:#111827;}
.dashboard-cash-mini-toggle em{font-style:normal;font-size:11px;font-weight:800;color:#8a94a6;}
.dashboard-cash-mini-tag>a{border:1px solid #e5e7eb;background:#fff;color:#475467!important;border-radius:999px;padding:6px 10px;text-decoration:none;font-size:12px;font-weight:900;}
.dashboard-cash-mini-tag .dashboard-cash-branch-list{width:100%;display:flex;gap:7px;overflow-x:auto;padding-top:1px;}
.cash-branch-pill{min-width:145px;border:1px solid #edf0f4;background:#fff;border-radius:12px;padding:7px 9px;display:grid;gap:2px;}
.cash-branch-pill b{font-size:11px;color:#344054;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cash-branch-pill strong{font-size:13px;color:#111827;}
.cash-branch-pill small{font-size:10px;font-weight:800;color:#8a94a6;}
.cash-branch-pill.ok{border-color:#d7f3e0;background:#fbfffd;}
.cash-branch-pill.pending{border-color:#ffd99b;background:#fffaf0;}
.cash-branch-pill.neutral{background:#fbfcfe;}
.clinessy-dark .dashboard-cash-mini-toggle,.clinessy-app.dark .dashboard-cash-mini-toggle,.clinessy-dark .dashboard-cash-mini-tag>a,.clinessy-app.dark .dashboard-cash-mini-tag>a,.clinessy-dark .cash-branch-pill,.clinessy-app.dark .cash-branch-pill{background:#172033;border-color:#273244;color:#e5e7eb!important;}
.clinessy-dark .dashboard-cash-mini-toggle strong,.clinessy-app.dark .dashboard-cash-mini-toggle strong,.clinessy-dark .cash-branch-pill strong,.clinessy-app.dark .cash-branch-pill strong,.clinessy-dark .cash-branch-pill b,.clinessy-app.dark .cash-branch-pill b{color:#f8fafc;}
@media(max-width:900px){.dashboard-cash-mini-tag{align-items:flex-start}.dashboard-cash-mini-tag .dashboard-cash-branch-list{display:grid;grid-template-columns:1fr}.cash-branch-pill{min-width:0}}

/* Clinessy Core 0.1.0 - Dashboard UX moderno */
.clinessy-dashboard-modern{display:block;padding:4px 0 14px;color:#132238}.modern-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:2px 0 18px}.modern-topline h2{margin:0!important;font-size:28px!important;letter-spacing:-.04em;color:#111827!important}.modern-topline p{margin:5px 0 0!important;color:#667085;font-weight:700}.modern-top-actions{display:flex;gap:10px;flex-wrap:wrap}.modern-top-actions .button{border-radius:14px!important;min-height:42px;display:inline-flex!important;align-items:center!important;gap:7px!important;font-weight:900!important}.modern-kpi-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:16px}.modern-kpi{background:#fff;border:1px solid #edf0f4;border-radius:20px;padding:18px;box-shadow:0 14px 34px rgba(15,23,42,.055);display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center;min-height:112px;position:relative;overflow:hidden}.modern-kpi:after{content:"";position:absolute;right:18px;bottom:14px;width:74px;height:24px;border-radius:999px;background:linear-gradient(135deg,rgba(15,163,92,.12),rgba(230,196,119,.14));transform:skewX(-18deg)}.modern-kpi-icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;position:relative;z-index:1}.modern-kpi-icon .dashicons{font-size:25px;width:25px;height:25px}.modern-kpi small,.modern-kpi strong,.modern-kpi em{display:block;position:relative;z-index:1}.modern-kpi small{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:950;color:#59657a}.modern-kpi strong{font-size:25px;line-height:1.05;margin:5px 0;color:#111827;letter-spacing:-.04em}.modern-kpi em{font-style:normal;font-size:12px;font-weight:900}.modern-kpi .positive{color:#06924f}.modern-kpi .negative{color:#d92d20}.modern-kpi .neutral{color:#667085}.modern-kpi.green .modern-kpi-icon{background:#ddf8e9;color:#079455}.modern-kpi.blue .modern-kpi-icon{background:#e8f1ff;color:#1d78d6}.modern-kpi.purple .modern-kpi-icon{background:#f1e7ff;color:#7a4bd6}.modern-kpi.orange .modern-kpi-icon{background:#fff0de;color:#e56a15}.modern-kpi.mint .modern-kpi-icon{background:#e6f9ef;color:#087544}.modern-ring{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(#0fa35c calc(var(--pct)*1%),#edf2f7 0);font-size:12px;font-weight:950;color:#0b7048;position:relative;z-index:1}.modern-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.modern-ring{isolation:isolate}.modern-ring{font-size:0}.modern-ring::after{content:attr(style);display:none}.modern-cash-state{display:grid;grid-template-columns:1fr 320px;gap:16px;margin-bottom:16px}.modern-cash-strip,.modern-operational{background:#fff;border:1px solid #edf0f4;border-radius:20px;box-shadow:0 14px 34px rgba(15,23,42,.045);padding:16px;display:flex;align-items:center;gap:16px}.modern-cash-strip{justify-content:space-between}.cash-main small,.cash-main strong,.cash-main em{display:block}.cash-main small{text-transform:uppercase;letter-spacing:.06em;font-size:11px;color:#59657a;font-weight:950}.cash-main strong{font-size:24px;line-height:1.05;color:#102033;margin:5px 0;letter-spacing:-.04em}.cash-main em{font-size:12px;color:#8a94a6;font-style:normal;font-weight:800}.cash-branches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;flex:1}.cash-branches span{border-left:1px solid #e8edf3;padding-left:13px;display:block;min-width:0}.cash-branches i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#0fa35c;margin-right:7px}.cash-branches b,.cash-branches strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cash-branches b{font-size:12px;color:#5b677a}.cash-branches strong{font-size:16px;color:#102033;margin-top:4px}.modern-cash-strip>a,.modern-operational>a{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:950;color:#087544;text-decoration:none!important;white-space:nowrap}.modern-operational{align-items:center}.modern-operational>.dashicons{width:46px;height:46px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:25px;background:#e8f8ef;color:#087544}.modern-operational.warn>.dashicons{background:#fff2dc;color:#e66b00}.modern-operational small,.modern-operational strong,.modern-operational em{display:block}.modern-operational small{text-transform:uppercase;font-size:10px;letter-spacing:.08em;font-weight:950;color:#667085}.modern-operational strong{font-size:20px;color:#087544;margin:3px 0}.modern-operational.warn strong{color:#b85b00}.modern-operational em{font-style:normal;color:#667085;font-size:12px;font-weight:800}.modern-main-grid{display:grid;grid-template-columns:1.1fr 1.05fr 350px;gap:16px;margin-bottom:16px}.modern-card{background:#fff;border:1px solid #edf0f4;border-radius:20px;box-shadow:0 14px 34px rgba(15,23,42,.045);padding:18px;min-width:0}.modern-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.modern-card-head h3{margin:0!important;font-size:15px!important;text-transform:uppercase;letter-spacing:.04em;color:#152238}.modern-card-head a{font-weight:950;font-size:12px;text-decoration:none!important;color:#0f6c45}.citas-card{display:grid;grid-template-rows:auto auto 1fr}.citas-content{display:grid;grid-template-columns:160px 1fr;gap:16px;align-items:center;margin-bottom:14px}.modern-donut{width:150px;height:150px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.modern-donut:before{content:"";position:absolute;inset:32px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px #eef2f7}.modern-donut span{position:relative;z-index:1;text-align:center;font-size:28px;font-weight:950;color:#152238}.modern-donut small{display:block;font-size:11px;color:#7a8699;font-weight:900}.modern-legend{margin:0;padding:0;list-style:none;display:grid;gap:10px}.modern-legend li{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:850;color:#526074}.modern-legend b[class$="-dot"]{width:10px;height:10px;border-radius:3px;display:inline-block;margin-right:6px}.mini-agenda-list,.upcoming-card{display:grid;gap:8px}.mini-agenda-list a,.upcoming-row{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;padding:10px;border:1px solid #edf2f7;border-radius:14px;text-decoration:none!important;color:#172033;background:#fbfcff}.mini-agenda-list time,.upcoming-row time{font-weight:950;color:#30506a}.mini-agenda-list b,.mini-agenda-list small,.upcoming-row b,.upcoming-row small{display:block}.mini-agenda-list small,.upcoming-row small{color:#667085;margin-top:2px;font-weight:700}.mini-agenda-list em,.upcoming-row em{font-style:normal;border-radius:999px;background:#e8f4ff;color:#1d78d6;padding:5px 8px;font-size:11px;font-weight:950}.sales-week-card{min-height:360px}.modern-bars{height:260px;display:flex;align-items:flex-end;gap:18px;padding:18px 8px 0;border-bottom:1px solid #e8edf3}.modern-bars span{flex:1;min-width:24px;border-radius:14px 14px 0 0;background:linear-gradient(180deg,#cfddfb,#edf3ff);position:relative;display:flex;align-items:flex-end;justify-content:center}.modern-bars span.today{background:linear-gradient(180deg,#0fa35c,#bfe9cf)}.modern-bars b{position:absolute;top:-30px;background:#fff;border:1px solid #edf2f7;border-radius:10px;padding:5px 7px;font-size:11px;box-shadow:0 8px 18px rgba(15,23,42,.06);white-space:nowrap}.modern-bars small{position:absolute;bottom:-27px;font-weight:900;color:#667085}.modern-right-col{display:grid;gap:16px}.team-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #edf2f7;border-radius:16px;background:#fbfcff;margin-bottom:14px}.team-summary span{padding:12px;text-align:center;border-right:1px solid #edf2f7}.team-summary span:last-child{border-right:0}.team-summary b{display:block;font-size:20px;color:#112033}.team-summary small{display:block;color:#667085;font-weight:900;font-size:11px}.branch-mini-list{display:grid;gap:10px}.branch-mini-list div{display:grid;grid-template-columns:1fr 120px 55px;gap:10px;align-items:center}.branch-mini-list div span{font-weight:850;color:#455369;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.branch-mini-list div b{height:8px;border-radius:999px;background:#0fa35c;display:block;max-width:120px}.branch-mini-list div strong{font-size:12px;color:#667085;text-align:right}.modern-lower-grid{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:16px;margin-bottom:16px}.modern-rank{list-style:none;margin:0;padding:0;display:grid;gap:10px}.modern-rank li{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f0f2f5}.modern-rank em{font-style:normal;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff3dc;color:#a85c00;font-weight:950}.modern-rank span{font-weight:850;color:#172033}.modern-rank strong{color:#102033}.conversion-box strong{display:block;font-size:42px;letter-spacing:-.05em;color:#132238}.conversion-box p{font-weight:800;color:#667085}.conversion-box span{display:block;height:10px;border-radius:999px;background:#edf2f7;overflow:hidden;margin:14px 0}.conversion-box span b{display:block;height:100%;background:linear-gradient(90deg,#0fa35c,#e6c477);border-radius:999px}.conversion-box small{color:#667085;font-weight:850}.modern-alerts{display:grid;gap:10px}.modern-alerts a{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:11px;padding:11px;border:1px solid #edf2f7;border-radius:14px;background:#fbfcff;text-decoration:none!important;color:#172033}.modern-alerts .dashicons{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#fff2dc;color:#e66b00}.modern-alerts b,.modern-alerts small{display:block}.modern-alerts small{color:#667085;margin-top:3px}.modern-alerts em{font-style:normal;color:#087544;font-size:12px;font-weight:950;white-space:nowrap}.modern-footer-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:#fff;border:1px solid #edf0f4;border-radius:20px;box-shadow:0 14px 34px rgba(15,23,42,.045);overflow:hidden}.modern-footer-strip span{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;padding:16px;border-right:1px solid #edf2f7;align-items:center}.modern-footer-strip span:last-child{border-right:0}.modern-footer-strip i{grid-row:1/3;width:40px;height:40px;border-radius:14px;background:#eaf7ef;color:#0c8b55;display:flex;align-items:center;justify-content:center;font-size:20px}.modern-footer-strip b{font-size:11px;text-transform:uppercase;color:#667085;letter-spacing:.05em}.modern-footer-strip strong{font-size:20px;color:#132238;letter-spacing:-.03em}.modern-empty{margin:0;color:#667085;font-weight:800;background:#fbfcff;border:1px dashed #d8dee8;border-radius:14px;padding:14px}.clinessy-dark .modern-kpi,.clinessy-app.dark .modern-kpi,.clinessy-dark .modern-card,.clinessy-app.dark .modern-card,.clinessy-dark .modern-cash-strip,.clinessy-app.dark .modern-cash-strip,.clinessy-dark .modern-operational,.clinessy-app.dark .modern-operational,.clinessy-dark .modern-footer-strip,.clinessy-app.dark .modern-footer-strip{background:#111827!important;border-color:#273244!important;color:#e5e7eb!important}.clinessy-dark .modern-topline h2,.clinessy-app.dark .modern-topline h2,.clinessy-dark .modern-kpi strong,.clinessy-app.dark .modern-kpi strong,.clinessy-dark .modern-card-head h3,.clinessy-app.dark .modern-card-head h3,.clinessy-dark .modern-donut span,.clinessy-app.dark .modern-donut span,.clinessy-dark .modern-rank span,.clinessy-app.dark .modern-rank span,.clinessy-dark .modern-footer-strip strong,.clinessy-app.dark .modern-footer-strip strong{color:#f8fafc!important}@media(max-width:1650px){.modern-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))}.modern-main-grid{grid-template-columns:1fr 1fr}.modern-right-col{grid-column:1/-1;grid-template-columns:1fr 1fr}.modern-cash-state{grid-template-columns:1fr}.modern-lower-grid{grid-template-columns:1fr 1fr}.modern-lower-grid .modern-card:last-child{grid-column:1/-1}.modern-footer-strip{grid-template-columns:repeat(3,1fr)}}@media(max-width:980px){.modern-topline,.modern-cash-strip,.modern-operational{display:block}.modern-top-actions{margin-top:12px}.modern-kpi-row,.modern-main-grid,.modern-right-col,.modern-lower-grid,.modern-footer-strip{grid-template-columns:1fr}.cash-branches{grid-template-columns:1fr 1fr;margin:12px 0}.citas-content{grid-template-columns:1fr}.modern-bars{gap:9px}.modern-footer-strip span{border-right:0;border-bottom:1px solid #edf2f7}}
.modern-ring{font-size:12px!important;}

/* Clinessy Core 0.1.0 — Hotfix responsive móvil */
.clinessy-mobile-menu-button,.clinessy-mobile-menu-backdrop{display:none}
@media (max-width: 900px){
  html,body{max-width:100%;overflow-x:hidden}
  body.clinessy-mobile-menu-open{overflow:hidden}
  .clinessy-frontend-fullscreen,.clinessy-frontend-fullscreen .clinessy-app{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .clinessy-app{display:block!important;min-height:100vh!important;margin:0!important;width:100%!important;max-width:100%!important}
  .clinessy-sidebar{
    display:block!important;position:fixed!important;z-index:100002!important;left:0!important;top:0!important;bottom:0!important;
    width:min(86vw,320px)!important;max-width:320px!important;height:100dvh!important;min-height:100dvh!important;
    padding:18px 14px 24px!important;overflow-y:auto!important;overscroll-behavior:contain;
    transform:translateX(-105%)!important;transition:transform .24s ease!important;box-shadow:18px 0 45px rgba(0,0,0,.22)!important
  }
  body.admin-bar .clinessy-sidebar{top:46px!important;height:calc(100dvh - 46px)!important;min-height:calc(100dvh - 46px)!important}
  .clinessy-app.clinessy-mobile-menu-open .clinessy-sidebar{transform:translateX(0)!important}
  .clinessy-sidebar-toggle{display:none!important}
  .clinessy-sidebar .clinessy-logo{min-height:70px!important;padding:12px!important;margin-bottom:14px!important}
  .clinessy-sidebar .clinessy-logo img{max-height:56px!important;max-width:155px!important}
  .clinessy-sidebar nav{padding-top:0!important}
  .clinessy-sidebar .clinessy-nav{font-size:15px!important;padding:13px 15px!important;margin:4px 0!important;border-radius:12px!important;transform:none!important;gap:13px!important}
  .clinessy-sidebar .clinessy-nav:hover,.clinessy-sidebar .clinessy-nav.active{transform:none!important;padding-left:15px!important;border-radius:12px!important}
  .clinessy-sidebar-bottom{margin-top:20px!important}
  .clinessy-main{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:76px 14px 88px!important;margin:0!important;overflow-x:hidden!important}
  body.admin-bar .clinessy-main{padding-top:78px!important}
  .clinessy-mobile-menu-button{
    display:flex!important;position:fixed!important;z-index:100004!important;top:14px!important;left:14px!important;
    width:46px!important;height:46px!important;border:0!important;border-radius:14px!important;align-items:center!important;justify-content:center!important;
    background:#004832!important;color:#fff!important;box-shadow:0 10px 26px rgba(0,63,43,.25)!important;cursor:pointer!important
  }
  body.admin-bar .clinessy-mobile-menu-button{top:56px!important}
  .clinessy-mobile-menu-button .dashicons{font-size:24px!important;width:24px!important;height:24px!important}
  .clinessy-mobile-menu-backdrop{display:block!important;position:fixed!important;z-index:100001!important;inset:0!important;background:rgba(10,20,18,.48)!important;opacity:0!important;visibility:hidden!important;transition:.22s ease!important}
  .clinessy-app.clinessy-mobile-menu-open~.clinessy-mobile-menu-backdrop,.clinessy-mobile-menu-backdrop.is-open{opacity:1!important;visibility:visible!important}
  .clinessy-header{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:stretch!important;margin-bottom:16px!important}
  .clinessy-header>div:first-child{padding-left:54px!important;min-height:46px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
  .clinessy-header h1{font-size:23px!important;line-height:1.1!important}
  .clinessy-header p{font-size:13px!important}
  .clinessy-global-search{order:3!important;min-width:0!important;max-width:none!important;width:100%!important}
  .clinessy-top-new-reservation{position:fixed!important;z-index:99990!important;right:14px!important;bottom:18px!important;padding:12px 16px!important;border-radius:999px!important;font-size:14px!important}
  .clinessy-refresh-button,.clinessy-last-updated,.clinessy-theme-toggle,.clinessy-user{max-width:100%!important}
  .clinessy-refresh-button{order:4!important;width:100%!important;justify-content:center!important}
  .clinessy-last-updated{order:5!important;justify-self:start!important}
  .clinessy-theme-toggle{position:absolute!important;top:16px!important;right:14px!important}
  body.admin-bar .clinessy-theme-toggle{top:58px!important}
  .clinessy-user{order:6!important;width:max-content!important}
  .clinessy-card,.modern-card,.modern-cash-strip,.modern-operational,.modern-footer-strip{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .clinessy-kpis,.modern-kpi-row,.modern-main-grid,.modern-right-col,.modern-lower-grid,.modern-footer-strip,.modern-cash-state,.clinessy-grid{grid-template-columns:minmax(0,1fr)!important}
  .modern-kpi-row{gap:10px!important}
  .modern-kpi{min-height:112px!important}
  .modern-topline{display:block!important}
  .modern-top-actions{width:100%!important;margin-top:10px!important;flex-wrap:wrap!important}
  .modern-cash-strip{display:block!important}
  .cash-branches{display:grid!important;grid-template-columns:1fr!important;margin:12px 0!important;gap:8px!important}
  .cash-branches span{border-left:0!important;border-top:1px solid #e8edf3!important;padding:9px 0 0!important}
  .modern-cash-strip>a,.modern-operational>a{margin-top:10px!important}
  .citas-content{grid-template-columns:1fr!important}
  .modern-donut{margin:0 auto!important}
  .mini-agenda-list a,.upcoming-row{grid-template-columns:52px minmax(0,1fr)!important}
  .mini-agenda-list em,.upcoming-row em{grid-column:2!important;justify-self:start!important}
  .modern-bars{overflow-x:auto!important;min-width:0!important;gap:10px!important;padding-left:3px!important;padding-right:3px!important}
  .modern-bars span{min-width:34px!important}
  .team-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .team-summary span:nth-child(2){border-right:0!important}
  .branch-mini-list div{grid-template-columns:minmax(0,1fr) 80px 44px!important}
  .modern-alerts a{grid-template-columns:36px minmax(0,1fr)!important}
  .modern-alerts em{grid-column:2!important;white-space:normal!important}
  .modern-footer-strip span{border-right:0!important;border-bottom:1px solid #edf2f7!important}
  .clinessy-form.grid2,.clinessy-form.reservation,.permissions{grid-template-columns:1fr!important}
  .phone{grid-template-columns:105px minmax(0,1fr)!important}
  .form-actions{flex-direction:column!important;align-items:stretch!important}
  .form-actions .button,.form-actions button{width:100%!important;justify-content:center!important}
  .clinessy-filters,.clinessy-filters form{display:grid!important;grid-template-columns:1fr!important;width:100%!important;overflow:visible!important}
  .clinessy-filters select,.clinessy-filters input{min-width:0!important;width:100%!important}
  .clinessy-table-wrap,.table-responsive,.clinessy-card:has(>.clinessy-table){overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .clinessy-table{min-width:680px!important}
  .clinessy-agenda{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  input,select,textarea,button{font-size:16px}
  .clinessy-qr-video-wrap video{max-height:55vh!important}
}
@media (max-width: 480px){
  .clinessy-main{padding-left:10px!important;padding-right:10px!important}
  .clinessy-header>div:first-child{padding-left:50px!important}
  .clinessy-header h1{font-size:21px!important}
  .modern-card,.clinessy-card{padding:14px!important;border-radius:16px!important}
  .modern-kpi-row{grid-template-columns:1fr!important}
  .team-summary{grid-template-columns:1fr 1fr!important}
  .modern-top-actions .button{width:100%!important;text-align:center!important}
}


/* Clinessy Core 0.1.0 — Hotfix móvil: evitar que el sidebar oculto empuje el contenido */
@media (max-width: 900px){
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-app,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-app,
  .clinessy-frontend-fullscreen .clinessy-app{
    display:block!important;
    width:100%!important;
    min-height:100dvh!important;
  }
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-sidebar,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-sidebar,
  .clinessy-frontend-fullscreen .clinessy-sidebar{
    position:fixed!important;
    top:0!important;
    bottom:0!important;
    left:0!important;
    width:min(86vw,320px)!important;
    max-width:320px!important;
    min-height:100dvh!important;
    height:100dvh!important;
    transform:translateX(-105%)!important;
    margin:0!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-sidebar,
  body.admin-bar.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-sidebar,
  body.admin-bar .clinessy-frontend-fullscreen .clinessy-sidebar{
    top:46px!important;
    height:calc(100dvh - 46px)!important;
    min-height:calc(100dvh - 46px)!important;
  }
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-app.clinessy-mobile-menu-open .clinessy-sidebar,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-app.clinessy-mobile-menu-open .clinessy-sidebar,
  .clinessy-frontend-fullscreen .clinessy-app.clinessy-mobile-menu-open .clinessy-sidebar{
    transform:translateX(0)!important;
  }
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-main,
  .clinessy-frontend-fullscreen .clinessy-main{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:76px 14px 88px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
}

/* Clinessy Core 2.0.13 - override final movil tipo app */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{
    padding-top:102px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    position:fixed!important;
    z-index:99970!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:82px!important;
    margin:0!important;
    padding:14px 18px 14px 118px!important;
    border-radius:0 0 22px 22px!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    top:46px!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-main,
  body.admin-bar.clinessy-core-standalone-template .clinessy-main{
    padding-top:148px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand img,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand img{
    width:44px!important;
    height:44px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand strong,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand strong{
    font-size:26px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    position:fixed!important;
    z-index:99990!important;
    top:17px!important;
    left:16px!important;
    width:88px!important;
    height:50px!important;
    border-radius:18px!important;
    display:flex!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:63px!important;
  }
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:13px!important;
    margin:0 0 18px!important;
  }
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{
    grid-column:1!important;
    padding-left:0!important;
    min-height:0!important;
    text-align:center!important;
  }
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{
    grid-column:1!important;
    margin-top:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
    align-items:center!important;
    width:100%!important;
    margin:0!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{
    position:static!important;
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{
    grid-column:2!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{
    grid-column:3!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    position:static!important;
    grid-column:4!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    width:100%!important;
    height:50px!important;
    min-width:0!important;
    min-height:50px!important;
    padding:0!important;
    border-radius:18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    font-size:0!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-refresh-button .dashicons,
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{
    margin:0!important;
    font-size:24px!important;
    width:24px!important;
    height:24px!important;
  }
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    height:48px!important;
    min-width:0!important;
    justify-content:flex-start!important;
  }
}

/* Clinessy Core 2.1.67: agenda estable entre 90%, 100% y 110% de zoom. */
@media (max-width:1900px) and (min-width:901px){
  .agenda-page-modern .agenda-control-panel{
    padding-right:12px!important;
    padding-left:12px!important;
  }
  .agenda-page-modern .agenda-toolbar-v3{
    grid-template-columns:minmax(270px,1.12fr) minmax(130px,.5fr) minmax(158px,.62fr) minmax(166px,.76fr) minmax(108px,.46fr) minmax(146px,.64fr)!important;
    gap:7px!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation input{
    width:122px!important;
    min-width:122px!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment .button{
    min-width:62px!important;
    padding-right:9px!important;
    padding-left:9px!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment .button{
    min-width:78px!important;
    padding-right:9px!important;
    padding-left:9px!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-branch-select{
    min-width:0!important;
    padding-left:36px!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover summary,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{
    padding-right:10px!important;
    padding-left:10px!important;
  }
}

@media (max-width:1550px) and (min-width:901px){
  .agenda-page-modern .agenda-toolbar-v3{
    grid-template-columns:minmax(280px,1.35fr) minmax(150px,.72fr) minmax(190px,.9fr)!important;
    gap:8px!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-branch-select,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{
    width:100%!important;
    max-width:none!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation input{
    width:auto!important;
    min-width:0!important;
    flex:1!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment .button,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment .button{
    flex:1 1 0!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover summary{
    width:100%!important;
  }
  .agenda-page-modern .agenda-calendar-head-v4{
    align-items:flex-start!important;
    flex-wrap:wrap!important;
    gap:10px 18px!important;
  }
  .agenda-page-modern .agenda-calendar-head-v4 .agenda-status-legend{
    justify-content:flex-start!important;
    max-width:100%!important;
  }
}

/* Clinessy Core 2.0.14 - override final real encabezado movil */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{padding-top:104px!important}
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{height:82px!important;padding:14px 16px 14px 126px!important}
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{top:16px!important;left:18px!important;width:94px!important;height:52px!important;border-radius:19px!important}
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-menu-button{top:62px!important}
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0 0 20px!important;padding:0!important}
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{padding:0!important;margin:0!important;text-align:center!important}
  body.clinessy-core-panel-page .clinessy-header h1,
  body.clinessy-core-standalone-template .clinessy-header h1{display:block!important;margin:0!important;font-size:25px!important;line-height:1.05!important;color:#111827!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{display:block!important;margin:6px auto 0!important;max-width:310px!important;font-size:12px!important;line-height:1.25!important;color:#697287!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{width:100%!important;max-width:none!important;margin:2px 0 0!important}
  body.clinessy-core-panel-page .clinessy-global-search input,
  body.clinessy-core-standalone-template .clinessy-global-search input{height:56px!important;border-radius:21px!important;box-shadow:0 12px 26px rgba(15,23,42,.07)!important}
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:center!important;margin:0!important;width:100%!important}
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{position:static!important;grid-row:1!important;width:100%!important;height:54px!important;min-width:0!important;min-height:54px!important;padding:0!important;border-radius:20px!important;box-sizing:border-box!important}
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{grid-column:1!important}
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{grid-column:2!important}
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{grid-column:3!important}
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{grid-column:4!important;background:#07543e!important;color:#fff!important;box-shadow:0 13px 24px rgba(7,84,62,.22)!important}
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{display:flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;overflow:visible!important}
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{background:#fff!important;color:#0b654d!important;border:1px solid #e6ecef!important;box-shadow:0 10px 20px rgba(15,23,42,.055)!important}
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger{width:100%!important;height:54px!important;min-width:0!important;border-radius:20px!important}
  body.clinessy-core-panel-page .clinessy-refresh-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-refresh-button .dashicons,
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{font-size:25px!important;width:25px!important;height:25px!important}
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{grid-column:1/-1!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:52px!important;margin:0!important;padding:8px 13px!important;border-radius:20px!important;background:#fff!important;color:#111827!important;box-shadow:0 10px 22px rgba(15,23,42,.055)!important;font-size:12px!important}
  body.clinessy-core-panel-page .clinessy-user a,
  body.clinessy-core-standalone-template .clinessy-user a{margin-left:auto!important;color:#07543e!important;font-weight:900!important}
  body.clinessy-core-panel-page .clinessy-last-updated,
  body.clinessy-core-standalone-template .clinessy-last-updated{display:none!important}
}

/* Clinessy Core 2.0.15 - mockup movil final */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{
    padding:132px 18px 118px!important;
    background:#f7f5fb!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-main,
  body.admin-bar.clinessy-core-standalone-template .clinessy-main{
    padding-top:176px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    position:fixed!important;
    z-index:99970!important;
    top:0!important;
    left:0!important;
    right:0!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    height:92px!important;
    margin:0!important;
    padding:16px 18px 16px 130px!important;
    border-radius:0 0 28px 28px!important;
    background:linear-gradient(135deg,#063d31 0%,#073629 100%)!important;
    color:#fff!important;
    box-shadow:0 16px 34px rgba(6,61,49,.18)!important;
    box-sizing:border-box!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    top:46px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand img,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand img{
    width:48px!important;
    height:48px!important;
    border-radius:15px!important;
    background:#fff!important;
    padding:5px!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand strong,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand strong{
    font-size:29px!important;
    line-height:1!important;
    font-weight:850!important;
    letter-spacing:0!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand span,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand span{
    margin-left:auto!important;
    padding:10px 14px!important;
    border-radius:14px!important;
    background:#7c3aed!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:900!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    position:fixed!important;
    z-index:99990!important;
    top:18px!important;
    left:18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:96px!important;
    height:56px!important;
    border-radius:22px!important;
    background:#fff!important;
    color:#07543e!important;
    border:0!important;
    box-shadow:0 14px 28px rgba(15,23,42,.14)!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:64px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button:after,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button:after{
    color:#07543e!important;
    font-size:14px!important;
    font-weight:900!important;
  }
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    margin:0 0 24px!important;
    padding:0!important;
    background:transparent!important;
  }
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{
    grid-column:1!important;
    padding:0!important;
    margin:0!important;
    min-height:0!important;
    text-align:left!important;
  }
  body.clinessy-core-panel-page .clinessy-header h1,
  body.clinessy-core-standalone-template .clinessy-header h1{
    display:block!important;
    margin:0!important;
    font-size:39px!important;
    line-height:1.02!important;
    font-weight:900!important;
    color:#111827!important;
    letter-spacing:0!important;
  }
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{
    display:block!important;
    margin:10px 0 0!important;
    max-width:100%!important;
    font-size:16px!important;
    line-height:1.25!important;
    color:#657083!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:4px 0 0!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search input,
  body.clinessy-core-standalone-template .clinessy-global-search input{
    height:70px!important;
    border-radius:25px!important;
    padding:0 18px 0 58px!important;
    font-size:21px!important;
    color:#111827!important;
    background:#fff!important;
    border:1px solid #edf0f5!important;
    box-shadow:0 14px 34px rgba(15,23,42,.07)!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search .dashicons,
  body.clinessy-core-standalone-template .clinessy-global-search .dashicons{
    left:20px!important;
    font-size:28px!important;
    width:28px!important;
    height:28px!important;
    color:#596172!important;
  }
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
    width:100%!important;
    margin:0!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    position:static!important;
    grid-row:1!important;
    width:100%!important;
    height:96px!important;
    min-width:0!important;
    min-height:96px!important;
    padding:14px 4px 12px!important;
    border-radius:24px!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{grid-column:1!important}
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{grid-column:2!important}
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{grid-column:3!important}
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{grid-column:4!important}
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{
    background:#fff!important;
    color:#07543e!important;
    border:1px solid #eef1f5!important;
    box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    background:#07543e!important;
    color:#fff!important;
    border:0!important;
    box-shadow:0 15px 30px rgba(7,84,62,.22)!important;
    text-decoration:none!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    overflow:visible!important;
    font-size:12px!important;
    line-height:1.1!important;
    font-weight:850!important;
    text-align:center!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger{
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-width:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    border-radius:0!important;
    color:#07543e!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger:after,
  body.clinessy-core-standalone-template .clinessy-notification-trigger:after{
    content:"Notificaciones";
    display:block;
    margin-top:8px;
    color:#596172;
    font-size:11px;
    font-weight:850;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger b,
  body.clinessy-core-standalone-template .clinessy-notification-trigger b{
    right:13px!important;
    top:-4px!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    font-size:0!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle:after,
  body.clinessy-core-standalone-template .clinessy-theme-toggle:after{
    content:"Tema";
    display:block;
    color:#596172;
    font-size:12px;
    font-weight:850;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button:after,
  body.clinessy-core-standalone-template .clinessy-refresh-button:after{
    content:"Actualizar";
    display:block;
    color:#596172;
    font-size:12px;
    font-weight:850;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation:after,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation:after{
    content:"Nueva reserva";
    display:block;
    color:#fff;
    font-size:11px;
    font-weight:900;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger .dashicons,
  body.clinessy-core-standalone-template .clinessy-notification-trigger .dashicons,
  body.clinessy-core-panel-page .clinessy-refresh-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-refresh-button .dashicons,
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{
    font-size:32px!important;
    width:32px!important;
    height:32px!important;
    margin:0!important;
  }
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{
    grid-column:1/-1!important;
    grid-row:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    height:66px!important;
    min-width:0!important;
    margin:0!important;
    padding:10px 18px!important;
    border-radius:24px!important;
    background:#fff!important;
    border:1px solid #eef1f5!important;
    color:#111827!important;
    box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
    font-size:15px!important;
    font-weight:900!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-user a,
  body.clinessy-core-standalone-template .clinessy-user a{
    margin-left:auto!important;
    color:#07543e!important;
    font-size:15px!important;
    font-weight:900!important;
    text-decoration:none!important;
  }
  body.clinessy-core-panel-page .clinessy-last-updated,
  body.clinessy-core-standalone-template .clinessy-last-updated{
    display:none!important;
  }
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-topline,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-topline{
    margin-top:2px!important;
    padding:24px 20px!important;
    border-radius:26px!important;
  }
}

/* Clinessy Core 2.0.14 - encabezado movil armonico */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{
    padding-top:104px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    height:82px!important;
    padding:14px 16px 14px 126px!important;
    align-items:center!important;
    gap:10px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:16px!important;
    left:18px!important;
    width:94px!important;
    height:52px!important;
    border-radius:19px!important;
    box-shadow:0 12px 24px rgba(15,23,42,.12)!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:62px!important;
  }
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin:0 0 20px!important;
    padding:0!important;
  }
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{
    padding:0!important;
    margin:0!important;
    text-align:center!important;
  }
  body.clinessy-core-panel-page .clinessy-header h1,
  body.clinessy-core-standalone-template .clinessy-header h1{
    display:block!important;
    margin:0!important;
    font-size:25px!important;
    line-height:1.05!important;
    color:#111827!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{
    display:block!important;
    margin:6px auto 0!important;
    max-width:310px!important;
    font-size:12px!important;
    line-height:1.25!important;
    color:#697287!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{
    width:100%!important;
    max-width:none!important;
    margin:2px 0 0!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search input,
  body.clinessy-core-standalone-template .clinessy-global-search input{
    height:56px!important;
    border-radius:21px!important;
    padding-right:18px!important;
    box-shadow:0 12px 26px rgba(15,23,42,.07)!important;
  }
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:center!important;
    margin:0!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    position:static!important;
    grid-row:1!important;
    width:100%!important;
    height:54px!important;
    min-width:0!important;
    min-height:54px!important;
    padding:0!important;
    border-radius:20px!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{grid-column:1!important}
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{grid-column:2!important}
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{grid-column:3!important}
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{grid-column:4!important}
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:0!important;
    overflow:visible!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{
    background:#fff!important;
    color:#0b654d!important;
    border:1px solid #e6ecef!important;
    box-shadow:0 10px 20px rgba(15,23,42,.055)!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    background:#07543e!important;
    color:#fff!important;
    box-shadow:0 13px 24px rgba(7,84,62,.22)!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger{
    width:100%!important;
    height:54px!important;
    min-width:0!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 10px 20px rgba(15,23,42,.055)!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-refresh-button .dashicons,
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{
    font-size:25px!important;
    width:25px!important;
    height:25px!important;
  }
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{
    grid-column:1/-1!important;
    grid-row:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    height:52px!important;
    margin:0!important;
    padding:8px 13px!important;
    border-radius:20px!important;
    background:#fff!important;
    color:#111827!important;
    box-shadow:0 10px 22px rgba(15,23,42,.055)!important;
    font-size:12px!important;
  }
  body.clinessy-core-panel-page .clinessy-user a,
  body.clinessy-core-standalone-template .clinessy-user a{
    margin-left:auto!important;
    color:#07543e!important;
    font-weight:900!important;
  }
  body.clinessy-core-panel-page .clinessy-last-updated,
  body.clinessy-core-standalone-template .clinessy-last-updated{
    display:none!important;
  }
}


/* Clinessy Core 2.0.13 - barra movil fija y controles superiores ordenados */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{
    padding-top:102px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    position:fixed!important;
    z-index:99970!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:82px!important;
    margin:0!important;
    padding:14px 18px 14px 118px!important;
    border-radius:0 0 22px 22px!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    top:46px!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-main,
  body.admin-bar.clinessy-core-standalone-template .clinessy-main{
    padding-top:148px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand img,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand img{
    width:44px!important;
    height:44px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand strong,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand strong{
    font-size:26px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    position:fixed!important;
    z-index:99990!important;
    top:17px!important;
    left:16px!important;
    width:88px!important;
    height:50px!important;
    border-radius:18px!important;
    display:flex!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:63px!important;
  }
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:13px!important;
    margin:0 0 18px!important;
  }
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{
    grid-column:1!important;
    padding-left:0!important;
    min-height:0!important;
    text-align:center!important;
  }
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{
    grid-column:1!important;
    margin-top:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
    align-items:center!important;
    width:100%!important;
    margin:0!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{
    position:static!important;
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{
    grid-column:2!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{
    grid-column:3!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    position:static!important;
    grid-column:4!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    width:100%!important;
    height:50px!important;
    min-width:0!important;
    min-height:50px!important;
    padding:0!important;
    border-radius:18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    font-size:0!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-refresh-button .dashicons,
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{
    margin:0!important;
    font-size:24px!important;
    width:24px!important;
    height:24px!important;
  }
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    height:48px!important;
    min-width:0!important;
    justify-content:flex-start!important;
  }
}


/* Clinessy Core 0.1.0 — Hotfix scroll y navegación táctil móvil */
@media (max-width: 900px){
  html{
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.clinessy-core-panel-page,
  body.clinessy-core-standalone-template{
    position:relative!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    touch-action:pan-y!important;
    overscroll-behavior-y:auto!important;
  }
  body.clinessy-core-panel-page:not(.clinessy-mobile-menu-open),
  body.clinessy-core-standalone-template:not(.clinessy-mobile-menu-open){
    overflow-y:auto!important;
  }
  body.clinessy-mobile-menu-open{
    overflow:hidden!important;
    touch-action:none!important;
  }
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen,
  .clinessy-frontend-fullscreen{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .clinessy-frontend-fullscreen .clinessy-app,
  .clinessy-app{
    position:relative!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
    touch-action:pan-y!important;
  }
  .clinessy-main{
    position:relative!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .clinessy-mobile-menu-backdrop{
    pointer-events:none!important;
    touch-action:none!important;
  }
  .clinessy-mobile-menu-backdrop.is-open{
    pointer-events:auto!important;
  }
  .clinessy-mobile-menu-button{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  .clinessy-sidebar{
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .clinessy-top-new-reservation{
    touch-action:manipulation!important;
  }
}

/* Clinessy Core 0.1.0 — Corrección definitiva interacción móvil */
@media (max-width: 900px){
  /* Un único contenedor controla el scroll. Evita conflictos entre body y fullscreen. */
  html:has(body.clinessy-core-standalone-template),
  html:has(body.clinessy-core-panel-page),
  body.clinessy-core-standalone-template,
  body.clinessy-core-panel-page{
    position:relative!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    touch-action:auto!important;
  }
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen,
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen,
  .clinessy-frontend-fullscreen{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
    isolation:isolate!important;
  }
  .clinessy-frontend-fullscreen .clinessy-app{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:100%!important;
    overflow:visible!important;
    touch-action:pan-y!important;
  }
  .clinessy-frontend-fullscreen .clinessy-main{
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
    touch-action:pan-y!important;
    pointer-events:auto!important;
  }
  /* El menú se superpone, nunca ocupa espacio ni intercepta toques cuando está cerrado. */
  .clinessy-frontend-fullscreen .clinessy-sidebar{
    z-index:2147483020!important;
    pointer-events:none!important;
  }
  .clinessy-frontend-fullscreen .clinessy-app.clinessy-mobile-menu-open .clinessy-sidebar{
    pointer-events:auto!important;
  }
  .clinessy-frontend-fullscreen .clinessy-mobile-menu-button{
    display:flex!important;
    position:fixed!important;
    z-index:2147483040!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  .clinessy-frontend-fullscreen .clinessy-mobile-menu-backdrop{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:2147483010!important;
    pointer-events:none!important;
    opacity:0!important;
    visibility:hidden!important;
  }
  .clinessy-frontend-fullscreen .clinessy-mobile-menu-backdrop.is-open{
    pointer-events:auto!important;
    opacity:1!important;
    visibility:visible!important;
  }
  /* El botón flotante no debe crear una capa que bloquee el dashboard. */
  .clinessy-frontend-fullscreen .clinessy-top-new-reservation{
    z-index:2147483005!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  /* Solo se detiene el desplazamiento del contenedor cuando el drawer está abierto. */
  body.clinessy-mobile-menu-open .clinessy-frontend-fullscreen{
    overflow-y:hidden!important;
    touch-action:none!important;
  }
  body:not(.clinessy-mobile-menu-open) .clinessy-frontend-fullscreen{
    overflow-y:auto!important;
    touch-action:pan-y!important;
  }
}


/* Clinessy Core 0.1.0 — Centro CLINESSY */
.clinessy-hub{display:grid;gap:20px}
.clinessy-hub-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border:1px solid #dbe8e2;border-radius:22px;background:linear-gradient(135deg,#f7fbf9 0%,#eef7f2 100%);box-shadow:0 12px 32px rgba(17,70,49,.08)}
.clinessy-hub-brand{display:flex;align-items:center;gap:20px;min-width:0}
.clinessy-hub-logo{width:82px;height:82px;border-radius:22px;background:#fff;border:1px solid #dce8e2;display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 20px rgba(17,70,49,.10);flex:0 0 auto}
.clinessy-hub-logo img{width:100%;height:100%;object-fit:contain}
.clinessy-hub-kicker{display:block;margin-bottom:5px;color:#35795b;font-size:11px;font-weight:800;letter-spacing:.14em}
.clinessy-hub-brand h2{margin:0;color:#123f2e;font-size:30px;line-height:1.1}
.clinessy-hub-brand p{margin:7px 0 12px;color:#5d746a;font-size:15px}
.clinessy-hub-badges{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.clinessy-hub-online{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;background:#e4f6eb;color:#187443;font-size:12px;font-weight:700}
.clinessy-hub-online i{width:7px;height:7px;border-radius:50%;background:#25a45e;box-shadow:0 0 0 4px rgba(37,164,94,.12)}
.clinessy-hub-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.clinessy-hub-hero-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:12px;padding:0 17px;font-weight:700;text-decoration:none}
.clinessy-hub-enter{background:#164f38!important;border-color:#164f38!important;color:#fff!important;box-shadow:0 8px 20px rgba(22,79,56,.2)}
.clinessy-hub-section-head{display:flex;justify-content:space-between;align-items:end;margin-top:4px}
.clinessy-hub-section-head h3,.clinessy-hub-card-title h3{margin:0;color:#183f31;font-size:17px}
.clinessy-hub-section-head p,.clinessy-hub-card-title p{margin:4px 0 0;color:#75867f;font-size:12px}
.clinessy-hub-launcher{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.clinessy-hub-app{position:relative;display:flex;align-items:center;gap:12px;min-height:88px;padding:15px;border:1px solid #e1e8e4;border-radius:16px;background:#fff;color:#253b33;text-decoration:none!important;box-shadow:0 5px 16px rgba(25,65,49,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.clinessy-hub-app:hover{transform:translateY(-2px);border-color:#b9d5c6;box-shadow:0 10px 24px rgba(25,65,49,.10);color:#164f38}
.clinessy-hub-app-icon{width:42px;height:42px;border-radius:12px;background:#eaf5ef;color:#236848;display:grid;place-items:center;font-size:21px!important;line-height:42px!important;flex:0 0 auto}
.clinessy-hub-app strong,.clinessy-hub-app small{display:block}
.clinessy-hub-app strong{font-size:13px;margin-bottom:3px}
.clinessy-hub-app small{font-size:11px;color:#7d8d86;line-height:1.3}
.clinessy-hub-app-arrow{position:absolute;right:10px;top:10px;color:#a7b6af;font-size:15px!important}
.clinessy-hub-grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:14px}
.clinessy-hub-grid>.clinessy-card{margin:0;border-radius:18px;padding:20px}
.clinessy-hub-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.clinessy-hub-status-pill{padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}
.clinessy-hub-status-pill.ok{background:#e5f6eb;color:#177544}
.clinessy-hub-status-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.clinessy-hub-status-list>div{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:8px;padding:11px;border-radius:12px;background:#f7faf8}
.clinessy-hub-status-list .dashicons{grid-row:1/3;align-self:center;color:#28865a}
.clinessy-hub-status-list b{font-size:12px;color:#31473e}
.clinessy-hub-status-list small{font-size:11px;color:#7b8c85}
.clinessy-hub-info-list{display:grid;gap:0}
.clinessy-hub-info-list>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf1ef}
.clinessy-hub-info-list>div:last-child{border-bottom:0}
.clinessy-hub-info-list span{color:#7a8a83;font-size:12px}
.clinessy-hub-info-list strong{color:#31473e;font-size:12px;text-align:right}
.clinessy-hub-news ul{margin:0;padding-left:18px;color:#52675e;font-size:12px;line-height:1.65}
.clinessy-hub-footer-actions{display:flex;gap:10px;flex-wrap:wrap}
.clinessy-hub-footer-actions a{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid #dfe7e3;border-radius:11px;background:#fff;color:#36574a;text-decoration:none;font-size:12px;font-weight:700}
.clinessy-hub-footer-actions a:hover{border-color:#b9d5c6;color:#164f38}

.clinessy-dark .clinessy-hub-hero{background:linear-gradient(135deg,#172620,#1b3027);border-color:#31453c}
.clinessy-dark .clinessy-hub-brand h2,.clinessy-dark .clinessy-hub-section-head h3,.clinessy-dark .clinessy-hub-card-title h3{color:#edf7f2}
.clinessy-dark .clinessy-hub-app,.clinessy-dark .clinessy-hub-footer-actions a{background:#1c2b25;border-color:#35473f;color:#e6f0eb}
.clinessy-dark .clinessy-hub-status-list>div{background:#17251f}
.clinessy-dark .clinessy-hub-status-list b,.clinessy-dark .clinessy-hub-info-list strong{color:#e1ede7}
.clinessy-dark .clinessy-hub-info-list>div{border-color:#31423b}

@media (max-width:1180px){.clinessy-hub-launcher{grid-template-columns:repeat(3,minmax(0,1fr))}.clinessy-hub-grid{grid-template-columns:1fr 1fr}.clinessy-hub-news{grid-column:1/-1}}
@media (max-width:760px){
  .clinessy-hub{gap:14px}
  .clinessy-hub-hero{display:block;padding:18px;border-radius:17px}
  .clinessy-hub-brand{align-items:flex-start;gap:13px}
  .clinessy-hub-logo{width:62px;height:62px;border-radius:16px}
  .clinessy-hub-brand h2{font-size:22px}
  .clinessy-hub-brand p{font-size:13px}
  .clinessy-hub-hero-actions{margin-top:17px;justify-content:stretch}
  .clinessy-hub-hero-actions .button{flex:1 1 140px}
  .clinessy-hub-launcher{grid-template-columns:1fr 1fr;gap:9px}
  .clinessy-hub-app{min-height:76px;padding:12px 10px;gap:9px}
  .clinessy-hub-app-icon{width:36px;height:36px;line-height:36px!important;font-size:18px!important}
  .clinessy-hub-app small{display:none}
  .clinessy-hub-grid{grid-template-columns:1fr}
  .clinessy-hub-news{grid-column:auto}
  .clinessy-hub-status-list{grid-template-columns:1fr 1fr}
}
@media (max-width:420px){.clinessy-hub-launcher{grid-template-columns:1fr}.clinessy-hub-status-list{grid-template-columns:1fr}}

/* Clinessy Core 0.1.0 — Módulo Marketing */
.clinessy-marketing-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.clinessy-marketing-tabs a{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid #dce7e2;border-radius:13px;background:#fff;color:#315247;text-decoration:none;font-weight:900;box-shadow:0 6px 18px rgba(17,70,49,.04)}.clinessy-marketing-tabs a:hover,.clinessy-marketing-tabs a.active{background:#123d32;color:#fff;border-color:#123d32}.clinessy-marketing-tabs .dashicons{font-size:19px;width:19px;height:19px}.clinessy-marketing-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#f7fbf9,#fffaf0);border-color:#dfe9e4}.clinessy-marketing-hero h2{font-size:25px!important;margin:4px 0 7px!important;color:#123d32!important}.clinessy-marketing-hero p{margin:0;color:#62736d;font-weight:700}.clinessy-marketing-eyebrow{display:block;text-transform:uppercase;letter-spacing:.09em;color:#a77513;font-size:10px;font-weight:950}.clinessy-marketing-calendar{padding:0!important;overflow:hidden}.clinessy-marketing-calendar-head{display:flex;justify-content:space-between;gap:16px;padding:17px 19px;border-bottom:1px solid #e6ece9}.clinessy-marketing-calendar-head strong{color:#123d32;font-size:16px}.clinessy-marketing-calendar-head span{color:#71817b;font-size:12px;font-weight:700}.clinessy-marketing-weekdays,.clinessy-marketing-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.clinessy-marketing-weekdays span{padding:10px;text-align:center;background:#f4f8f6;color:#60716b;font-size:11px;font-weight:950;text-transform:uppercase}.clinessy-marketing-days>div{min-height:88px;padding:9px;border-top:1px solid #edf1ef;border-right:1px solid #edf1ef;background:#fff}.clinessy-marketing-days>div:nth-child(7n){border-right:0}.clinessy-marketing-days>div.today{background:#f1faf5;box-shadow:inset 0 0 0 2px #0f8a58}.clinessy-marketing-days b{display:block;color:#334b43;font-size:12px}.clinessy-marketing-days small{display:block;margin-top:8px;padding:5px 7px;border-radius:8px;font-size:10px;font-weight:900;line-height:1.2}.clinessy-marketing-days .content{background:#e8f5ee;color:#087544}.clinessy-marketing-days .campaign{background:#fff3dc;color:#9a6500}.clinessy-marketing-days .event{background:#eaf1ff;color:#2866a8}.clinessy-marketing-feature>.dashicons{display:flex;width:46px;height:46px;align-items:center;justify-content:center;border-radius:15px;background:#e8f5ee;color:#087544;font-size:24px;margin-bottom:13px}.clinessy-marketing-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.clinessy-marketing-kpis .clinessy-card{margin:0}.clinessy-marketing-kpis small,.clinessy-marketing-kpis strong,.clinessy-marketing-kpis span{display:block}.clinessy-marketing-kpis small{text-transform:uppercase;letter-spacing:.06em;color:#677871;font-size:10px;font-weight:950}.clinessy-marketing-kpis strong{font-size:28px;color:#123d32;margin:8px 0}.clinessy-marketing-kpis span{color:#7a8984;font-size:12px;font-weight:700}.clinessy-marketing-table-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.clinessy-marketing-table-head h3{margin-top:0}.clinessy-marketing-empty{text-align:center;padding:36px 18px;border:1px dashed #cad9d2;border-radius:16px;background:#fafcfb}.clinessy-marketing-empty>.dashicons{display:flex;margin:0 auto 12px;width:54px;height:54px;align-items:center;justify-content:center;border-radius:18px;background:#fff3dc;color:#a46c00;font-size:28px}.clinessy-marketing-empty strong{display:block;color:#24463a}.clinessy-marketing-empty p{max-width:590px;margin:7px auto 0;color:#71817b}
@media(max-width:980px){.clinessy-marketing-kpis{grid-template-columns:1fr 1fr}.clinessy-marketing-days>div{min-height:72px}.clinessy-marketing-hero{align-items:flex-start}}
@media(max-width:760px){.clinessy-marketing-tabs{display:grid;grid-template-columns:1fr}.clinessy-marketing-tabs a{width:100%;box-sizing:border-box}.clinessy-marketing-hero,.clinessy-marketing-calendar-head,.clinessy-marketing-table-head{display:block}.clinessy-marketing-hero .badge,.clinessy-marketing-table-head .badge{display:inline-block;margin-top:12px}.clinessy-marketing-calendar{overflow-x:auto}.clinessy-marketing-weekdays,.clinessy-marketing-days{min-width:680px}.clinessy-marketing-kpis{grid-template-columns:1fr}.clinessy-marketing-days>div{min-height:68px}}

/* Clinessy Core 0.1.0 — Constructor de campañas Página Web */
.clinessy-web-campaign-list{padding:16px!important}.clinessy-campaign-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.clinessy-campaign-section-head h3{margin:0 0 4px!important;color:#173f32}.clinessy-campaign-section-head p{margin:0;color:#75837e;font-size:12px;font-weight:700}.clinessy-campaign-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.clinessy-campaign-list-grid article{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e2ebe7;border-radius:13px;padding:12px;background:#fbfdfc}.clinessy-campaign-list-grid article.active{border-color:#12875b;background:#eef9f3;box-shadow:inset 0 0 0 1px #12875b}.clinessy-campaign-list-grid strong,.clinessy-campaign-list-grid small{display:block}.clinessy-campaign-list-grid small{color:#75837e;margin-top:3px;font-size:11px}.clinessy-campaign-identity{display:grid;grid-template-columns:1.5fr .8fr auto;gap:14px;align-items:end}.clinessy-campaign-identity label{display:grid;gap:6px;font-weight:900;color:#344b43}.clinessy-campaign-identity input,.clinessy-campaign-identity select{width:100%;min-height:42px;border:1px solid #ccd9d3;border-radius:10px;padding:8px 11px}.clinessy-campaign-actions{display:flex;align-items:end}.clinessy-campaign-actions .button{min-height:42px}.clinessy-campaign-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:18px;align-items:start}.clinessy-campaign-editor,.clinessy-campaign-preview{margin:0!important}.clinessy-campaign-preview{position:sticky;top:20px}.clinessy-campaign-blocks{display:grid;gap:10px}.clinessy-campaign-block{border:1px solid #dce6e1;border-radius:14px;background:#fbfdfc;overflow:hidden;transition:.18s ease}.clinessy-campaign-block.is-dragging{opacity:.5;border-style:dashed}.clinessy-campaign-block>header{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:13px;cursor:grab}.clinessy-campaign-block>header>.dashicons{color:#8a9993}.clinessy-campaign-block>header strong,.clinessy-campaign-block>header small{display:block}.clinessy-campaign-block>header strong{color:#213f35}.clinessy-campaign-block>header small{color:#788680;margin-top:2px}.clinessy-campaign-block-fields{display:none;padding:0 13px 14px;border-top:1px solid #e8efec;background:#fff}.clinessy-campaign-block.is-open .clinessy-campaign-block-fields{display:grid;gap:11px;padding-top:13px}.clinessy-campaign-block-fields label{display:grid;gap:5px;font-size:12px;font-weight:900;color:#435a52}.clinessy-campaign-block-fields input,.clinessy-campaign-block-fields textarea{width:100%;box-sizing:border-box;border:1px solid #ccd9d3;border-radius:9px;padding:8px 10px}.clinessy-campaign-block-fields textarea{min-height:66px;resize:vertical}.clinessy-campaign-field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.clinessy-campaign-image-field{display:grid;grid-template-columns:66px 1fr auto;gap:10px;align-items:end;border:1px solid #edf1ef;border-radius:11px;padding:9px;background:#f9fbfa}.clinessy-campaign-image-thumb{width:66px;height:55px;border-radius:8px;background:#e9efec center/cover no-repeat;align-self:center}.clinessy-campaign-image-field .button{margin-bottom:1px}.clinessy-site-preview{background:#f0f2f1;border:1px solid #dfe6e3;border-radius:12px;padding:8px;max-height:720px;overflow-y:auto}.clinessy-preview-block{background:#fff;margin-bottom:7px;border-radius:5px;overflow:hidden;box-shadow:0 2px 6px rgba(16,55,42,.06)}.clinessy-preview-block:last-child{margin-bottom:0}.clinessy-preview-block>div:last-child{padding:9px;text-align:center}.clinessy-preview-block strong{display:block;color:#20483a;font-size:12px}.clinessy-preview-block p{margin:3px 0;color:#76847f;font-size:9px}.clinessy-preview-block em{display:inline-block;background:#146744;color:#fff;border-radius:4px;padding:4px 8px;font-style:normal;font-size:8px;font-weight:900}.clinessy-preview-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(50px,1fr));gap:3px;background:#f4f5f4}.clinessy-preview-images span{display:block;min-height:85px;background:#e7ece9 center/cover no-repeat}.clinessy-preview-hero .clinessy-preview-images span{min-height:180px}.clinessy-preview-destacadas .clinessy-preview-images span,.clinessy-preview-packs .clinessy-preview-images span{min-height:110px}.clinessy-preview-categorias .clinessy-preview-images span{min-height:70px}.clinessy-preview-beneficios .clinessy-preview-images span{min-height:90px}.clinessy-preview-confianza{background:#9f737c;color:#fff}.clinessy-preview-confianza strong,.clinessy-preview-confianza p{color:#fff}.clinessy-campaign-savebar{position:sticky;bottom:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:12px 16px;border:1px solid #cadbd3;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 -8px 28px rgba(16,55,42,.09);backdrop-filter:blur(8px)}.clinessy-campaign-savebar span{color:#62736d;font-size:12px;font-weight:800}.clinessy-marketing-empty.compact{padding:18px}.clinessy-marketing-empty.compact p{margin-bottom:0}
@media(max-width:1200px){.clinessy-campaign-workspace{grid-template-columns:1fr}.clinessy-campaign-preview{position:static}.clinessy-campaign-list-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.clinessy-campaign-list-grid,.clinessy-campaign-identity,.clinessy-campaign-field-row{grid-template-columns:1fr}.clinessy-campaign-list-grid article{display:block}.clinessy-campaign-list-grid article>div:last-child{margin-top:10px}.clinessy-campaign-image-field{grid-template-columns:58px 1fr}.clinessy-campaign-image-thumb{width:58px}.clinessy-campaign-image-field .button{grid-column:1/-1;width:100%}.clinessy-campaign-savebar{display:block}.clinessy-campaign-savebar .button{width:100%;margin-top:10px}.clinessy-campaign-workspace{display:block}.clinessy-campaign-preview{margin-top:16px!important}}

/* Clinessy Core 0.1.0 — Plantilla visual basada en la página Clinessy */
.clinessy-campaign-workspace-template{display:block}.clinessy-campaign-workspace-template .clinessy-campaign-editor{max-width:none}.clinessy-web-template-shell{max-width:1040px;margin:0 auto;border:1px solid #d9ddd9;background:#f8f7f3;box-shadow:0 14px 38px rgba(28,47,40,.12);overflow:hidden}.clinessy-template-fixed-header{background:#fff}.clinessy-template-promo-bar{padding:7px 14px;background:#103d2d;color:#fff;text-align:center;font-size:9px;font-weight:900;letter-spacing:.05em}.clinessy-template-brand-row{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid #ece9e1}.clinessy-template-brand-row strong{font-family:Georgia,serif;font-size:31px;color:#1a5a43;letter-spacing:.05em}.clinessy-template-brand-row strong span{color:#bd8c32;font-size:20px}.clinessy-template-brand-row small{color:#6b716f;font-size:9px;font-weight:800}.clinessy-template-nav{text-align:center;padding:9px 14px;color:#4f5d58;font-size:9px;font-weight:850;border-bottom:1px solid #ece9e1}.clinessy-page-template-blocks{display:block;padding:0 22px 24px}.clinessy-template-block{margin:12px 0!important;border:1px solid transparent!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;position:relative;overflow:visible!important}.clinessy-template-block:hover{border-color:#1a9d68!important;box-shadow:0 0 0 2px rgba(26,157,104,.12)!important}.clinessy-template-block.is-dragging{opacity:.45}.clinessy-template-block-toolbar{position:absolute!important;z-index:5;top:8px;left:8px;right:8px;display:flex!important;grid-template-columns:none!important;padding:7px 9px!important;border:1px solid rgba(18,61,50,.18);border-radius:9px;background:rgba(255,255,255,.94);box-shadow:0 5px 15px rgba(18,61,50,.12);opacity:0;transform:translateY(-4px);transition:.18s ease;cursor:grab!important}.clinessy-template-block:hover>.clinessy-template-block-toolbar,.clinessy-template-block.is-open>.clinessy-template-block-toolbar{opacity:1;transform:none}.clinessy-template-block-toolbar>div{flex:1}.clinessy-template-block-toolbar strong{font-size:11px}.clinessy-template-block-toolbar small{font-size:9px}.clinessy-template-block-toolbar .button{min-height:28px;line-height:26px;font-size:10px;padding:0 9px}.clinessy-template-visual{position:relative}.clinessy-template-hero-image{min-height:330px;display:flex;align-items:center;padding:32px;background:linear-gradient(120deg,#eef1df,#f3e2cb);background-position:center;background-size:cover}.clinessy-template-hero-image>div{max-width:52%;text-align:center;color:#27503f}.clinessy-template-hero-image small{letter-spacing:.35em;font-weight:900}.clinessy-template-hero-image strong{display:block;font-family:Georgia,serif;font-size:42px;line-height:1.05;margin:8px 0}.clinessy-template-hero-image p{font-weight:700}.clinessy-template-visual em{display:inline-block;padding:8px 14px;border-radius:5px;background:#146744;color:#fff;font-style:normal;font-size:10px;font-weight:900}.clinessy-template-image-grid{display:grid;gap:14px}.clinessy-template-block-destacadas .clinessy-template-image-grid,.clinessy-template-block-categorias .clinessy-template-image-grid,.clinessy-template-block-beneficios .clinessy-template-image-grid{grid-template-columns:repeat(3,1fr)}.clinessy-template-block-packs .clinessy-template-image-grid{grid-template-columns:repeat(4,1fr)}.clinessy-template-image-grid>div{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(145deg,#f3ead8,#e9d7bd);background-position:center;background-size:cover;color:#735f43;text-align:center;border:1px solid #eadfce}.clinessy-template-image-grid>div.has-image span,.clinessy-template-hero-image.has-image>div,.clinessy-template-final-banner.has-image>strong,.clinessy-template-final-banner.has-image>p,.clinessy-template-final-banner.has-image>em{opacity:.08}.clinessy-template-block-packs h3,.clinessy-template-block-beneficios h3{text-align:center;font-size:20px!important;text-transform:uppercase;letter-spacing:.04em;margin:20px 0!important;color:#3d4b46!important}.clinessy-template-block-packs .clinessy-template-image-grid>div{min-height:285px}.clinessy-template-block-packs .clinessy-template-image-grid span{font-size:16px;font-weight:950}.clinessy-template-block-packs .clinessy-template-image-grid small{font-weight:800}.clinessy-template-block-categorias .clinessy-template-image-grid>div{min-height:145px}.clinessy-template-block-beneficios .clinessy-template-image-grid>div{min-height:190px}.clinessy-template-block-destacadas .clinessy-template-visual>p,.clinessy-template-block-packs .clinessy-template-visual>p,.clinessy-template-block-categorias .clinessy-template-visual>p,.clinessy-template-block-beneficios .clinessy-template-visual>p{text-align:center;color:#68756f;font-size:11px}.clinessy-template-trust{padding:30px 22px;background:#a57982;color:#fff;text-align:center}.clinessy-template-trust strong{font-size:21px;text-transform:uppercase}.clinessy-template-trust p{margin-bottom:0}.clinessy-template-faq{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;padding:18px;background:#f5f3ef}.clinessy-template-faq h3{color:#304c42}.clinessy-template-faq p{padding:10px 2px;margin:0;border-bottom:1px solid #d8d8d3;color:#626b68;font-size:11px}.clinessy-template-faq>div:last-child{min-height:210px;display:flex;align-items:center;justify-content:center;background:#e6dec9 center/cover no-repeat;color:#746c59}.clinessy-template-final-banner{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;background:linear-gradient(135deg,#1c4f3c,#d8b45a);background-position:center;background-size:cover;color:#fff;text-align:center}.clinessy-template-final-banner strong{font-size:24px}.clinessy-template-final-banner p{max-width:600px}.clinessy-template-fixed-footer{padding:20px;background:#253641;color:#fff;text-align:center;font-size:10px;letter-spacing:.1em}.clinessy-template-block-fields{position:relative;z-index:6;border:2px solid #1a9d68!important;box-shadow:0 10px 28px rgba(18,61,50,.13)}
@media(max-width:900px){.clinessy-web-template-shell{max-width:760px}.clinessy-template-hero-image{min-height:260px}.clinessy-template-hero-image strong{font-size:34px}.clinessy-template-block-packs .clinessy-template-image-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.clinessy-page-template-blocks{padding:0 10px 14px}.clinessy-template-brand-row{padding:12px}.clinessy-template-brand-row strong{font-size:24px}.clinessy-template-brand-row small{font-size:7px}.clinessy-template-nav{overflow-x:auto;white-space:nowrap}.clinessy-template-block-toolbar{position:relative!important;top:auto;left:auto;right:auto;opacity:1;transform:none;margin-bottom:4px}.clinessy-template-hero-image{min-height:230px;padding:18px}.clinessy-template-hero-image>div{max-width:70%}.clinessy-template-hero-image strong{font-size:27px}.clinessy-template-block-destacadas .clinessy-template-image-grid,.clinessy-template-block-categorias .clinessy-template-image-grid,.clinessy-template-block-beneficios .clinessy-template-image-grid{grid-template-columns:1fr}.clinessy-template-block-packs .clinessy-template-image-grid{grid-template-columns:1fr 1fr}.clinessy-template-image-grid>div{min-height:190px}.clinessy-template-faq{grid-template-columns:1fr}.clinessy-template-trust strong{font-size:17px}}
.clinessy-setup{max-width:980px;margin:30px auto}.clinessy-setup-hero{padding:32px;background:linear-gradient(135deg,#123d32,#08764d);color:#fff}.clinessy-setup-hero span{color:#e1bc67;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.clinessy-setup-hero h1{margin:8px 0;color:#fff;font-size:34px}.clinessy-setup-hero p{margin:0;color:#e1eee9}.clinessy-setup>.clinessy-form{margin-top:18px;padding:28px}.clinessy-setup-confirm{padding:15px;border-radius:12px;background:#f3f8f5}.clinessy-setup-confirm p{margin:4px 0}@media(max-width:782px){.clinessy-setup{margin:15px 10px}.clinessy-setup-hero,.clinessy-setup>.clinessy-form{padding:20px}}
/* Clinessy Core 1.4.2 — Salud del sistema */
.clinessy-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.clinessy-health-kpi{background:#f8faf9;border:1px solid var(--clinessy-border);border-radius:16px;padding:16px}.clinessy-health-kpi small{display:block;color:var(--clinessy-muted);font-weight:800}.clinessy-health-kpi strong{display:block;color:var(--clinessy-green);font-size:24px;margin-top:8px}.table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width:900px){.clinessy-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.clinessy-health-grid{grid-template-columns:1fr}.clinessy-health-kpi{padding:14px}}

/* Clinessy Core 0.1.0 — Calendario de marketing funcional */
.clinessy-mkt-controls{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:15px!important}.clinessy-mkt-navigation,.clinessy-mkt-controls form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.clinessy-mkt-controls label{display:grid;gap:4px;color:#42574f;font-size:11px;font-weight:900}.clinessy-mkt-controls select{min-width:145px;min-height:34px;border:1px solid #ccd9d3;border-radius:8px}.clinessy-marketing-days>div{height:auto;min-height:112px;padding:8px;overflow:hidden}.clinessy-marketing-days>div.is-empty{background:#f8faf9}.clinessy-mkt-event{display:block;margin-top:5px;padding:5px 6px;border-left:4px solid #16845b;border-radius:5px;background:#edf8f3;color:#173f32!important;font-size:10px;font-weight:850;line-height:1.25;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clinessy-mkt-event span{margin-right:4px;opacity:.68}.clinessy-mkt-event.channel-facebook,.clinessy-mkt-channel.channel-facebook{border-color:#1877f2;background:#edf4ff}.clinessy-mkt-event.channel-whatsapp,.clinessy-mkt-channel.channel-whatsapp{border-color:#25d366;background:#effcf3}.clinessy-mkt-event.channel-email,.clinessy-mkt-channel.channel-email{border-color:#c6902f;background:#fff8e8}.clinessy-mkt-event.channel-web,.clinessy-mkt-channel.channel-web{border-color:#6f42c1;background:#f5f0ff}.clinessy-mkt-event.channel-ads,.clinessy-mkt-channel.channel-ads{border-color:#e45d40;background:#fff1ed}.clinessy-mkt-workspace{display:grid;grid-template-columns:minmax(340px,.8fr) minmax(0,1.2fr);gap:18px;align-items:start}.clinessy-mkt-event-form,.clinessy-mkt-list{margin:0!important}.clinessy-mkt-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:15px}.clinessy-mkt-form-grid label{display:grid;gap:5px;color:#344b43;font-size:12px;font-weight:900}.clinessy-mkt-form-grid label.wide{grid-column:1/-1}.clinessy-mkt-form-grid input,.clinessy-mkt-form-grid select,.clinessy-mkt-form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #ccd9d3;border-radius:9px;padding:8px 10px}.clinessy-mkt-form-grid input,.clinessy-mkt-form-grid select{min-height:40px}.clinessy-mkt-channel{display:inline-block;padding:4px 7px;border-left:4px solid #16845b;border-radius:6px;background:#edf8f3;color:#29483e;font-size:11px;font-weight:850}.clinessy-mkt-list .clinessy-table small{display:block;margin-top:3px;color:#7b8984}.clinessy-mkt-list .clinessy-table td{vertical-align:middle}
@media(max-width:1050px){.clinessy-mkt-workspace{grid-template-columns:1fr}.clinessy-mkt-controls{align-items:stretch;flex-direction:column}}
@media(max-width:760px){.clinessy-mkt-form-grid{grid-template-columns:1fr}.clinessy-mkt-form-grid label.wide{grid-column:auto}.clinessy-mkt-controls form{display:grid;grid-template-columns:1fr 1fr}.clinessy-mkt-controls form .button{grid-column:1/-1}.clinessy-mkt-controls select{width:100%;min-width:0}.clinessy-marketing-weekdays,.clinessy-marketing-days{min-width:760px}.clinessy-marketing-days>div{min-height:100px}}

/* Clinessy Core 0.1.0 — identidad visual */
:root{--clinessy-green:#6d28d9;--clinessy-green2:#a21caf;--clinessy-gold:#ec4899;--clinessy-purple:#7c3aed;--clinessy-cream:#fbfaff;--clinessy-border:#ebe7f4}
.clinessy-sidebar{background:linear-gradient(180deg,#111a3b 0%,#24124d 58%,#3b176d 100%)}
.clinessy-nav:hover,.clinessy-nav.active{background:linear-gradient(90deg,#ec4899,#8b5cf6);color:#fff}
.dashboard-hero-v2{background:linear-gradient(135deg,#111a3b 0%,#6d28d9 62%,#ec4899 120%)!important}
.clinessy-setup-hero{background:linear-gradient(135deg,#111a3b,#7c3aed)!important}
.button.button-primary{background:#6d28d9!important;border-color:#6d28d9!important}

/* Clinessy Core 0.1.1 — asistente inicial */
.clinessy-setup-page{margin:0 0 0 -20px;padding:26px;background:radial-gradient(circle at 15% 12%,#f3edff 0,transparent 34%),linear-gradient(135deg,#faf9ff,#f5f1ff);min-height:calc(100vh - 32px);box-sizing:border-box;color:#111a3b}
.clinessy-setup-shell{width:min(1380px,calc(100vw - 210px));min-height:850px;margin:0 auto;display:grid;grid-template-columns:270px minmax(0,1fr);background:rgba(255,255,255,.94);border:1px solid rgba(120,95,180,.12);border-radius:24px;overflow:hidden;box-shadow:0 24px 70px rgba(59,23,109,.10)}
.clinessy-setup-sidebar{display:flex;flex-direction:column;padding:34px 28px;border-right:1px solid #eeeaf7;background:linear-gradient(180deg,#fff,#fdfcff)}
.clinessy-setup-brand{text-align:center;margin:0 0 74px}.clinessy-setup-brand img{width:86px;height:86px;display:block;margin:0 auto 9px;border-radius:22px}.clinessy-setup-brand strong{display:block;font-size:29px;letter-spacing:-.04em;color:#111a3b}
.clinessy-setup-steps{list-style:none;margin:0;padding:0;display:grid;gap:31px}.clinessy-setup-steps li{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:12px;color:#71778d}.clinessy-setup-steps li>span{width:36px;height:36px;border:1px solid #d9d9e5;border-radius:50%;display:grid;place-items:center;font-weight:800;background:#fff}.clinessy-setup-steps strong,.clinessy-setup-steps small{display:block}.clinessy-setup-steps strong{font-size:13px}.clinessy-setup-steps small{font-size:12px;color:#9a9fb1;margin-top:3px}.clinessy-setup-steps li.active{color:#6d28d9}.clinessy-setup-steps li.active>span{color:#fff;border-color:#6d28d9;background:linear-gradient(135deg,#4338ca,#7c3aed)}
.clinessy-setup-tip{margin-top:auto;padding:20px;border-radius:15px;background:linear-gradient(135deg,#f7f1ff,#fdf4ff);color:#6d28d9;font-size:12px;line-height:1.55}.clinessy-setup-tip span{font-size:19px}.clinessy-setup-tip p{margin:8px 0 0}
.clinessy-setup-main{padding:28px}.clinessy-setup-hero{min-height:176px;padding:31px 36px!important;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;border-radius:18px!important;background:linear-gradient(120deg,#4f36e9 0%,#7c3aed 52%,#e33bad 120%)!important;color:#fff;box-sizing:border-box}.clinessy-setup-hero:after{content:"";position:absolute;right:20%;top:-80px;width:210px;height:340px;background:rgba(255,255,255,.06);transform:rotate(28deg)}.clinessy-setup-hero>div:first-child{position:relative;z-index:2}.clinessy-setup-hero span{font-size:11px;font-weight:900;letter-spacing:.24em;color:#fff}.clinessy-setup-hero h1{margin:12px 0 15px!important;font-size:34px!important;line-height:1;color:#fff!important;letter-spacing:-.03em}.clinessy-setup-hero p{margin:0!important;color:rgba(255,255,255,.92)!important;font-size:15px;line-height:1.7}.clinessy-setup-watermark{position:relative;z-index:1;width:170px;height:150px;display:grid;place-items:center;font-size:160px;font-weight:900;line-height:1;color:rgba(48,20,135,.30)}.clinessy-setup-watermark small{position:absolute;right:8px;top:55px;font-size:41px;color:rgba(48,20,135,.42)}
.clinessy-setup-form{margin-top:24px;padding:25px 27px;border:1px solid #e7e4ed;border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(17,26,59,.04)}.clinessy-setup-section+section{margin-top:22px;padding-top:22px;border-top:1px solid #ddd0fa}.clinessy-setup-section header{display:flex;align-items:center;gap:12px;margin-bottom:17px}.clinessy-setup-section header>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f1e9ff;color:#7c3aed;font-size:22px}.clinessy-setup-section h2{margin:0!important;font-size:20px!important;color:#171c36}.clinessy-setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 20px}.clinessy-setup-grid label{display:grid;gap:8px;color:#1c223e;font-size:13px;font-weight:800}.clinessy-setup-grid input,.clinessy-setup-grid select{width:100%;min-height:48px;padding:10px 13px;border:1px solid #dcdce8;border-radius:10px;background:#fff;box-sizing:border-box;color:#272d49}.clinessy-setup-grid input:focus,.clinessy-setup-grid select:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px rgba(139,92,246,.14);outline:0}.clinessy-setup-grid input::placeholder{color:#a2a6b8}.clinessy-color-field{min-height:48px;display:flex;align-items:center;gap:10px;padding:7px 12px;border:1px solid #dcdce8;border-radius:10px;box-sizing:border-box}.clinessy-color-field input{width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:50%;overflow:hidden}.clinessy-color-field b{font-size:13px;color:#50556c}
.clinessy-setup-admin{display:flex;align-items:center;gap:14px;margin-top:23px;padding:15px 17px;border-radius:11px;background:linear-gradient(90deg,#f3eaff,#faf0ff);color:#272547}.clinessy-setup-admin>span{color:#7c3aed;font-size:27px}.clinessy-setup-admin strong,.clinessy-setup-admin small{display:block}.clinessy-setup-admin small{margin-top:4px;color:#62677c}.clinessy-setup-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;padding-top:18px;border-top:1px solid #eceaf1}.clinessy-setup-actions .button{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:5px 20px;border-radius:9px;font-weight:800}.clinessy-setup-actions .button-primary{border:0!important;background:linear-gradient(90deg,#5535e6,#df3db9)!important;box-shadow:0 8px 18px rgba(124,58,237,.22)}
@media(max-width:1200px){.clinessy-setup-shell{width:100%;grid-template-columns:220px}.clinessy-setup-sidebar{padding:28px 20px}.clinessy-setup-main{padding:22px}}
@media(max-width:900px){.clinessy-setup-page{margin-left:-10px;padding:12px}.clinessy-setup-shell{display:block;min-height:0;border-radius:18px}.clinessy-setup-sidebar{display:block;border-right:0;border-bottom:1px solid #eeeaf7}.clinessy-setup-brand{margin:0 0 20px;display:flex;align-items:center;gap:10px;text-align:left}.clinessy-setup-brand img{width:52px;height:52px;margin:0}.clinessy-setup-brand strong{font-size:24px}.clinessy-setup-steps{grid-template-columns:repeat(5,1fr);gap:7px}.clinessy-setup-steps li{display:block;text-align:center}.clinessy-setup-steps li>span{margin:0 auto}.clinessy-setup-steps li div{display:none}.clinessy-setup-tip{display:none}.clinessy-setup-main{padding:14px}.clinessy-setup-watermark{display:none}}
@media(max-width:650px){.clinessy-setup-hero{min-height:0;padding:25px!important}.clinessy-setup-hero h1{font-size:28px!important}.clinessy-setup-form{padding:18px 15px}.clinessy-setup-grid{grid-template-columns:1fr}.clinessy-setup-actions{align-items:stretch;flex-direction:column-reverse}.clinessy-setup-actions .button{justify-content:center;width:100%;box-sizing:border-box}}

/* Clinessy Core 0.2.0 — pasos funcionales del onboarding */
.clinessy-setup-steps li>a,.clinessy-setup-steps li:not(:has(a)){display:grid;grid-template-columns:38px 1fr;align-items:center;gap:12px;color:inherit;text-decoration:none}.clinessy-setup-steps li>a>span,.clinessy-setup-steps li:not(:has(a))>span{width:36px;height:36px;border:1px solid #d9d9e5;border-radius:50%;display:grid;place-items:center;font-weight:800;background:#fff}.clinessy-setup-steps li.active>a>span,.clinessy-setup-steps li.active>span{color:#fff;border-color:#6d28d9;background:linear-gradient(135deg,#4338ca,#7c3aed)}.clinessy-setup-steps li.complete>a>span{color:#fff;border-color:#22a06b;background:#22a06b}.clinessy-setup-steps li.complete>a:hover strong{color:#6d28d9}
.clinessy-setup-help{margin:-3px 0 18px;color:#6b7187}.clinessy-brand-editor{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}.clinessy-brand-preview{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px;border-radius:16px;background:linear-gradient(150deg,color-mix(in srgb,var(--brand-color) 13%,white),#fff);border:1px solid color-mix(in srgb,var(--brand-color) 20%,#e5e7eb);text-align:center}.clinessy-brand-preview img{width:86px;height:86px;object-fit:contain;border-radius:22px;margin-bottom:14px}.clinessy-brand-preview strong{font-size:22px;color:#171c36}.clinessy-brand-preview small{margin-top:5px;color:#73798e}
.clinessy-setup-repeat{display:grid;gap:12px;margin-bottom:16px}.clinessy-setup-repeat-row{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(110px,.75fr) minmax(90px,.55fr) minmax(110px,.65fr) 30px;gap:12px;align-items:end;padding:14px;border:1px solid #e5e3ec;border-radius:13px;background:#fdfcff}.clinessy-setup-repeat-row.user-row{grid-template-columns:1fr 1.2fr 1fr 30px}.clinessy-setup-repeat-row label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#252a45}.clinessy-setup-repeat-row input,.clinessy-setup-repeat-row select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #dcdce8;border-radius:9px;box-sizing:border-box;background:#fff}.clinessy-setup-repeat-row .button-link-delete{height:42px;border:0;background:transparent;color:#c43d5b;font-size:24px;cursor:pointer}.clinessy-setup-actions>div{display:flex;gap:10px}.clinessy-setup-skip{color:#6d28d9!important}
.clinessy-setup-summary>header>span{background:#e8f8ef;color:#159563}.clinessy-summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.clinessy-summary-grid article{position:relative;padding:18px 18px 16px 58px;border:1px solid #e5e3ec;border-radius:14px;background:#fdfcff}.clinessy-summary-grid article>span{position:absolute;left:17px;top:18px;color:#7c3aed;font-size:27px}.clinessy-summary-grid small,.clinessy-summary-grid strong,.clinessy-summary-grid p{display:block}.clinessy-summary-grid small{text-transform:uppercase;letter-spacing:.07em;color:#888da0;font-size:10px;font-weight:900}.clinessy-summary-grid strong{margin-top:5px;font-size:17px;color:#171c36}.clinessy-summary-grid p{margin:4px 0 8px;color:#71768b}.clinessy-summary-grid a{font-size:12px;font-weight:800;color:#6d28d9}.clinessy-setup-ready{display:flex;align-items:center;gap:16px;margin-top:18px;padding:18px;border-radius:14px;background:linear-gradient(90deg,#eefbf5,#f6f0ff)}.clinessy-setup-ready>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#7c3aed;font-size:21px}.clinessy-setup-ready strong{font-size:16px}.clinessy-setup-ready p{margin:4px 0 0;color:#636a7e}
@media(max-width:950px){.clinessy-brand-editor{grid-template-columns:1fr}.clinessy-setup-repeat-row,.clinessy-setup-repeat-row.user-row{grid-template-columns:1fr 1fr}.clinessy-setup-repeat-row .button-link-delete{grid-column:2;justify-self:end}.clinessy-summary-grid{grid-template-columns:1fr}}
@media(max-width:650px){.clinessy-setup-steps li>a,.clinessy-setup-steps li:not(:has(a)){display:block}.clinessy-setup-steps li>a>span,.clinessy-setup-steps li:not(:has(a))>span{margin:0 auto}.clinessy-setup-repeat-row,.clinessy-setup-repeat-row.user-row{grid-template-columns:1fr}.clinessy-setup-repeat-row .button-link-delete{grid-column:1}.clinessy-setup-actions>div{display:grid;width:100%}}
.clinessy-setup-schedule-note{display:flex;align-items:center;gap:9px;margin:16px 0 0;padding:12px 14px;border-radius:10px;background:#f7f4ff;color:#625778;font-size:12px;font-weight:700}.clinessy-setup-schedule-note .dashicons{color:#7c3aed}

/* Clinessy Core 0.2.2 — acceso sin correo */
.clinessy-setup-repeat-row.user-row{grid-template-columns:1fr .85fr 1.25fr 1fr 30px}.clinessy-password-field{display:grid;grid-template-columns:minmax(140px,1fr) auto;gap:6px}.clinessy-password-field .button{min-height:42px}.clinessy-credentials{margin-top:18px;padding:18px;border:1px solid #f0c86f;border-radius:14px;background:#fffaf0}.clinessy-credentials>header{display:flex;align-items:center;gap:12px}.clinessy-credentials>header>span{color:#b7791f;font-size:27px}.clinessy-credentials>header strong{font-size:16px}.clinessy-credentials>header p{margin:3px 0 0;color:#73664e}.clinessy-credentials-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.clinessy-credentials-list article{display:grid;gap:7px;padding:13px;border:1px solid #eadcbf;border-radius:11px;background:#fff}.clinessy-credentials-list code{display:block;padding:7px 9px;border-radius:7px;background:#f8f6f0;color:#312b23;word-break:break-all}.clinessy-credentials-list .button{justify-self:start}
@media(max-width:1100px){.clinessy-setup-repeat-row.user-row{grid-template-columns:1fr 1fr}.clinessy-setup-repeat-row.user-row .button-link-delete{grid-column:2;justify-self:end}}
@media(max-width:800px){.clinessy-credentials-list{grid-template-columns:1fr}}
@media(max-width:650px){.clinessy-setup-repeat-row.user-row{grid-template-columns:1fr}.clinessy-setup-repeat-row.user-row .button-link-delete{grid-column:1}}

/* Clinessy Core 0.2.4 — navegación lateral o superior */
.clinessy-navigation-top{display:block;min-height:100vh}.clinessy-navigation-top>.clinessy-sidebar{position:sticky;top:32px;z-index:100;width:100%;min-height:82px;height:auto;display:grid;grid-template-columns:170px minmax(0,1fr);align-items:stretch;padding:0;background:linear-gradient(100deg,#2b176f,#452098 62%,#32177a);box-shadow:0 10px 30px rgba(31,20,78,.18)}.clinessy-navigation-top .clinessy-sidebar-toggle,.clinessy-navigation-top .clinessy-sidebar-bottom,.clinessy-navigation-top .clinessy-nav-section{display:none!important}.clinessy-navigation-top .clinessy-logo{min-height:82px;height:82px;margin:0;padding:14px 20px;border-radius:0;background:rgba(255,255,255,.04);box-shadow:none;box-sizing:border-box}.clinessy-navigation-top .clinessy-logo img{max-width:135px;max-height:54px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.12))}.clinessy-navigation-top .clinessy-sidebar>nav{display:flex;align-items:stretch;gap:2px;overflow-x:auto;overflow-y:hidden;padding:0 16px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent}.clinessy-navigation-top .clinessy-nav{min-width:86px;min-height:82px;margin:0;padding:11px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:0;color:#f4efff;font-size:11px;text-align:center;white-space:nowrap;box-sizing:border-box}.clinessy-navigation-top .clinessy-nav .dashicons{width:23px;height:23px;font-size:23px;color:#fff}.clinessy-navigation-top .clinessy-nav:hover,.clinessy-navigation-top .clinessy-nav.active{transform:none;margin:0;padding:11px 12px;border-radius:9px 9px 0 0;background:linear-gradient(180deg,rgba(157,112,255,.72),rgba(126,78,236,.55));color:#fff;box-shadow:inset 0 -3px #b995ff}.clinessy-navigation-top .clinessy-nav-tree{position:relative;flex:0 0 auto}.clinessy-navigation-top .clinessy-nav-tree>summary{list-style:none}.clinessy-navigation-top .clinessy-nav-tree>summary::-webkit-details-marker{display:none}.clinessy-navigation-top .clinessy-nav-caret{display:none}.clinessy-navigation-top .clinessy-subnav{position:fixed;z-index:150;min-width:230px;max-width:310px;padding:8px;border:1px solid #e7e0f5;border-radius:12px;background:#fff;box-shadow:0 18px 42px rgba(31,20,78,.18)}.clinessy-navigation-top .clinessy-subnav-link{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:8px;color:#34304e;text-decoration:none;font-size:12px;font-weight:800}.clinessy-navigation-top .clinessy-subnav-link:hover,.clinessy-navigation-top .clinessy-subnav-link.active{background:#f1eaff;color:#6d28d9}.clinessy-navigation-top>.clinessy-main{padding:24px 30px 34px;min-width:0}.clinessy-navigation-top .clinessy-header{align-items:center}.clinessy-navigation-top .clinessy-header h1{font-size:26px}.clinessy-navigation-top .clinessy-global-search{max-width:360px}.clinessy-navigation-top .clinessy-footer{text-align:center}.clinessy-navigation-settings{display:grid;gap:18px}.clinessy-navigation-settings>.clinessy-card{margin-bottom:0}.clinessy-appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.clinessy-appearance-heading>div>h2{margin-bottom:6px}.clinessy-appearance-heading>.dashicons{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#f0e8ff;color:#6d28d9;font-size:25px}.clinessy-navigation-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.clinessy-navigation-choice{display:block;position:relative}.clinessy-navigation-choice>input{position:absolute;opacity:0;pointer-events:none}.clinessy-navigation-preview{min-height:170px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden;padding:16px;border:2px solid #e5e0ed;border-radius:16px;background:#fff;box-sizing:border-box;cursor:pointer;transition:.18s ease}.clinessy-navigation-preview:before,.clinessy-navigation-preview:after,.clinessy-navigation-preview>i{content:"";position:absolute;display:block}.clinessy-navigation-preview.sidebar:before{left:14px;top:14px;bottom:65px;width:38px;border-radius:8px;background:linear-gradient(180deg,#2f6f5b,#123d32)}.clinessy-navigation-preview.sidebar:after{left:61px;right:14px;top:14px;height:28px;border-radius:8px;background:#f0edf5;box-shadow:0 39px #f6f4f8,0 78px #f6f4f8}.clinessy-navigation-preview.top:before{left:14px;right:14px;top:14px;height:38px;border-radius:8px;background:linear-gradient(90deg,#2b176f,#6332c9)}.clinessy-navigation-preview.top:after{left:14px;right:14px;top:63px;height:28px;border-radius:8px;background:#f0edf5;box-shadow:0 39px #f6f4f8}.clinessy-navigation-preview.inherit:before{left:14px;right:14px;top:14px;height:76px;border-radius:10px;background:linear-gradient(135deg,#f1ebff,#e6f4ee)}.clinessy-navigation-preview.inherit:after{left:28px;right:28px;top:32px;height:10px;border-radius:999px;background:#7c3aed;box-shadow:0 20px #0f7652}.clinessy-navigation-preview b,.clinessy-navigation-preview small{display:block;position:relative;z-index:2}.clinessy-navigation-preview b{margin-top:94px;color:#1f253e;font-size:15px}.clinessy-navigation-preview small{margin-top:5px;color:#70768b;font-weight:600;line-height:1.4}.clinessy-navigation-choice>input:checked+.clinessy-navigation-preview{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.12),0 12px 28px rgba(73,43,118,.10)}.clinessy-navigation-choice>input:focus-visible+.clinessy-navigation-preview{outline:3px solid rgba(37,99,235,.3)}.clinessy-company-navigation .appearance-options{display:flex;gap:14px;flex-wrap:wrap}.clinessy-company-navigation .appearance-options label{min-width:180px;padding:13px 16px;border:1px solid #e1dbe9;border-radius:11px;background:#faf9fc;font-weight:800}.clinessy-navigation-save{position:sticky;bottom:14px;z-index:20;display:flex;justify-content:flex-end;padding:13px 15px;border:1px solid #e5dfeb;border-radius:13px;background:rgba(255,255,255,.94);box-shadow:0 12px 30px rgba(31,20,78,.10);backdrop-filter:blur(10px)}.clinessy-navigation-save .button{min-height:44px;padding:5px 22px;border-radius:10px;font-weight:900}
@media(max-width:1100px){.clinessy-navigation-top>.clinessy-sidebar{grid-template-columns:125px minmax(0,1fr)}.clinessy-navigation-top .clinessy-logo{padding:14px 10px}.clinessy-navigation-top .clinessy-nav{min-width:78px}.clinessy-navigation-choices{grid-template-columns:1fr 1fr}.clinessy-navigation-choice:first-child{grid-column:1/-1}}
@media(max-width:900px){.clinessy-navigation-top>.clinessy-sidebar{position:sticky;top:0;display:grid;grid-template-columns:90px minmax(0,1fr);width:100%;min-height:70px;padding:0}.clinessy-navigation-top .clinessy-logo{height:70px;min-height:70px}.clinessy-navigation-top .clinessy-sidebar>nav{padding:0 8px}.clinessy-navigation-top .clinessy-nav{min-height:70px;min-width:68px;padding:8px;font-size:10px}.clinessy-navigation-top .clinessy-nav:hover,.clinessy-navigation-top .clinessy-nav.active{padding:8px}.clinessy-navigation-top>.clinessy-main{padding:16px}.clinessy-navigation-top .clinessy-header{display:flex;flex-wrap:wrap}.clinessy-navigation-top .clinessy-global-search{order:5;flex-basis:100%;max-width:none}.clinessy-navigation-top .clinessy-subnav{position:absolute;top:68px;left:0}.clinessy-navigation-choices{grid-template-columns:1fr}.clinessy-navigation-choice:first-child{grid-column:auto}}
@media(max-width:600px){.clinessy-navigation-top>.clinessy-sidebar{grid-template-columns:68px minmax(0,1fr)}.clinessy-navigation-top .clinessy-logo img{max-width:52px}.clinessy-navigation-top .clinessy-nav{min-width:62px}.clinessy-navigation-preview{min-height:150px}.clinessy-navigation-save .button{width:100%}}
.clinessy-navigation-top .clinessy-subnav{position:absolute;top:76px;left:0}

/* Clinessy Core 0.2.5 — corrección de ancho y herencia del menú superior */
.clinessy-app.clinessy-navigation-top,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed{display:block!important;width:100%!important;max-width:none!important}.clinessy-app.clinessy-navigation-top>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar{position:sticky!important;top:32px!important;left:auto!important;width:100%!important;max-width:none!important;min-width:0!important;height:82px!important;min-height:82px!important;flex:0 0 auto!important;display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;padding:0!important;margin:0!important;transform:none!important;overflow:visible!important}.clinessy-app.clinessy-navigation-top>.clinessy-sidebar>nav{display:flex!important;align-items:stretch!important;min-width:0!important;width:100%!important;padding:0 12px!important;overflow:visible!important;box-sizing:border-box!important}.clinessy-app.clinessy-navigation-top .clinessy-nav,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed .clinessy-nav{min-width:68px!important;min-height:82px!important;justify-content:center!important;gap:5px!important;padding:9px 8px!important;margin:0!important}.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed .clinessy-nav span:not(.dashicons),.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed .clinessy-nav-label{display:block!important}.clinessy-app.clinessy-navigation-top .clinessy-logo,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed .clinessy-logo{display:flex!important;width:auto!important;min-width:0!important;height:82px!important;min-height:82px!important;margin:0!important;padding:12px 16px!important}.clinessy-app.clinessy-navigation-top .clinessy-logo img,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed .clinessy-logo img{display:block!important;max-width:135px!important;max-height:56px!important}.clinessy-app.clinessy-navigation-top>.clinessy-main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}.clinessy-app.clinessy-navigation-top .clinessy-subnav{top:76px!important;overflow:visible!important}.clinessy-app.clinessy-navigation-top .clinessy-sidebar-toggle,.clinessy-app.clinessy-navigation-top .clinessy-sidebar-bottom,.clinessy-app.clinessy-navigation-top .clinessy-nav-section{display:none!important}
@media(max-width:1200px){.clinessy-app.clinessy-navigation-top>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar{grid-template-columns:110px minmax(0,1fr)!important}.clinessy-app.clinessy-navigation-top .clinessy-logo img{max-width:82px!important}.clinessy-app.clinessy-navigation-top>.clinessy-sidebar>nav{overflow-x:auto!important;overflow-y:hidden!important}.clinessy-app.clinessy-navigation-top .clinessy-subnav{position:fixed!important;top:112px!important;left:auto!important}}
@media(max-width:900px){.clinessy-app.clinessy-navigation-top>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar{position:sticky!important;top:0!important;grid-template-columns:72px minmax(0,1fr)!important;height:70px!important;min-height:70px!important}.clinessy-app.clinessy-navigation-top .clinessy-logo{height:70px!important;min-height:70px!important;padding:9px!important}.clinessy-app.clinessy-navigation-top .clinessy-logo img{max-width:52px!important;max-height:48px!important}.clinessy-app.clinessy-navigation-top .clinessy-nav{min-width:62px!important;min-height:70px!important;padding:7px 6px!important}.clinessy-app.clinessy-navigation-top .clinessy-subnav{top:70px!important}}

/* Clinessy Core 0.2.7 — navegación superior compacta y contextual */
.clinessy-top-contextual{display:none}.clinessy-app.clinessy-navigation-top>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar{height:auto!important;min-height:72px!important;grid-template-columns:150px minmax(0,1fr)!important;grid-template-rows:72px auto!important;align-items:stretch!important;background:linear-gradient(100deg,#291469 0%,#442097 58%,#321576 100%)!important}.clinessy-app.clinessy-navigation-top .clinessy-logo,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed .clinessy-logo{grid-column:1!important;grid-row:1!important;height:72px!important;min-height:72px!important;flex-direction:row!important;justify-content:flex-start!important;gap:9px!important;padding:10px 16px!important;background:rgba(255,255,255,.035)!important}.clinessy-app.clinessy-navigation-top .clinessy-logo:after{content:"Clinessy";color:#fff;font-size:18px;font-weight:900;letter-spacing:-.02em}.clinessy-app.clinessy-navigation-top .clinessy-logo img,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed .clinessy-logo img{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;object-fit:cover!important;border-radius:12px!important}.clinessy-app.clinessy-navigation-top>.clinessy-sidebar>nav{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:stretch!important;justify-content:flex-start!important;gap:2px!important;height:72px!important;padding:0 10px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none}.clinessy-app.clinessy-navigation-top>.clinessy-sidebar>nav::-webkit-scrollbar{display:none}.clinessy-app.clinessy-navigation-top .clinessy-nav,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed .clinessy-nav{position:relative!important;min-width:auto!important;min-height:72px!important;height:72px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:7px 13px!important;margin:0!important;border-radius:9px 9px 0 0!important;box-sizing:border-box!important;color:#eee9ff!important;font-size:11px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important}.clinessy-app.clinessy-navigation-top .clinessy-nav span:not(.dashicons),.clinessy-app.clinessy-navigation-top .clinessy-nav-label{display:block!important;white-space:nowrap!important;line-height:1!important}.clinessy-app.clinessy-navigation-top .clinessy-nav .dashicons{width:21px!important;height:21px!important;font-size:21px!important;line-height:21px!important}.clinessy-app.clinessy-navigation-top .clinessy-nav:hover{background:rgba(157,112,255,.18)!important;box-shadow:none!important}.clinessy-app.clinessy-navigation-top .clinessy-nav.active{background:linear-gradient(180deg,rgba(150,101,250,.58),rgba(121,75,222,.44))!important;box-shadow:inset 0 -3px #ef4ab8!important}.clinessy-app.clinessy-navigation-top .clinessy-nav.active:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:#ef4ab8}.clinessy-app.clinessy-navigation-top .clinessy-top-contextual{grid-column:1/-1!important;grid-row:2!important;min-height:42px;display:flex;align-items:center;gap:2px;padding:0 20px;border-bottom:1px solid #e6e1ef;background:#fff;box-shadow:0 7px 20px rgba(37,22,78,.055);overflow-x:auto;box-sizing:border-box}.clinessy-app.clinessy-navigation-top .clinessy-top-contextual a{min-height:42px;display:inline-flex;align-items:center;gap:7px;position:relative;padding:0 14px;color:#6c7086;text-decoration:none;font-size:11px;font-weight:850;white-space:nowrap}.clinessy-app.clinessy-navigation-top .clinessy-top-contextual a .dashicons{width:17px;height:17px;font-size:17px}.clinessy-app.clinessy-navigation-top .clinessy-top-contextual a:hover,.clinessy-app.clinessy-navigation-top .clinessy-top-contextual a.active{color:#6d28d9}.clinessy-app.clinessy-navigation-top .clinessy-top-contextual a.active:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;background:#7c3aed}.clinessy-app.clinessy-navigation-top>.clinessy-main{padding:22px 26px 34px!important}.clinessy-app.clinessy-navigation-top .clinessy-header{display:grid!important;grid-template-columns:minmax(210px,.8fr) minmax(250px,1.15fr) auto auto auto auto auto auto!important;align-items:center!important;gap:10px!important;margin-bottom:24px!important}.clinessy-app.clinessy-navigation-top .clinessy-header>div:first-child{min-width:0}.clinessy-app.clinessy-navigation-top .clinessy-header h1{font-size:24px!important;white-space:nowrap}.clinessy-app.clinessy-navigation-top .clinessy-header p{max-width:310px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clinessy-app.clinessy-navigation-top .clinessy-global-search{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}.clinessy-app.clinessy-navigation-top .clinessy-top-new-reservation{min-height:42px!important;padding:0 14px!important;white-space:nowrap!important}.clinessy-app.clinessy-navigation-top .clinessy-refresh-button{min-height:42px!important;white-space:nowrap!important}.clinessy-app.clinessy-navigation-top .clinessy-last-updated{white-space:nowrap;font-size:10px}.clinessy-app.clinessy-navigation-top .clinessy-theme-toggle{width:42px!important;height:42px!important;min-width:42px!important}.clinessy-app.clinessy-navigation-top .clinessy-user{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:10px 13px!important;font-size:11px}.clinessy-app.clinessy-navigation-top .clinessy-dashboard-modern .modern-top-actions{display:none!important}.clinessy-app.clinessy-navigation-top .modern-topline{margin-top:4px!important}.clinessy-app.clinessy-navigation-top .modern-topline h2{font-size:27px!important}.clinessy-app.clinessy-navigation-top .modern-topline p{font-size:12px!important}
@media(max-width:1500px){.clinessy-app.clinessy-navigation-top .clinessy-header{grid-template-columns:minmax(190px,.8fr) minmax(220px,1fr) auto auto auto auto auto!important}.clinessy-app.clinessy-navigation-top .clinessy-last-updated{display:none!important}.clinessy-app.clinessy-navigation-top .clinessy-nav{padding-left:10px!important;padding-right:10px!important}.clinessy-app.clinessy-navigation-top .clinessy-logo:after{font-size:16px}}
@media(max-width:1200px){.clinessy-app.clinessy-navigation-top>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar{grid-template-columns:78px minmax(0,1fr)!important}.clinessy-app.clinessy-navigation-top .clinessy-logo{padding:10px!important;justify-content:center!important}.clinessy-app.clinessy-navigation-top .clinessy-logo:after{display:none}.clinessy-app.clinessy-navigation-top .clinessy-header{grid-template-columns:1fr minmax(230px,1fr) auto auto auto auto!important}.clinessy-app.clinessy-navigation-top .clinessy-user{display:none}.clinessy-app.clinessy-navigation-top .clinessy-refresh-button{width:42px!important;padding:0!important;font-size:0!important}.clinessy-app.clinessy-navigation-top .clinessy-refresh-button .dashicons{font-size:18px!important}}
@media(max-width:900px){.clinessy-app.clinessy-navigation-top>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top.clinessy-sidebar-collapsed>.clinessy-sidebar,.clinessy-app.clinessy-navigation-top:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar{top:0!important;grid-template-columns:62px minmax(0,1fr)!important;grid-template-rows:64px auto!important;min-height:64px!important}.clinessy-app.clinessy-navigation-top .clinessy-logo{height:64px!important;min-height:64px!important;padding:8px!important}.clinessy-app.clinessy-navigation-top .clinessy-logo img{width:40px!important;height:40px!important}.clinessy-app.clinessy-navigation-top>.clinessy-sidebar>nav{height:64px!important}.clinessy-app.clinessy-navigation-top .clinessy-nav{height:64px!important;min-height:64px!important;min-width:62px!important;padding:6px 8px!important;font-size:9px!important}.clinessy-app.clinessy-navigation-top .clinessy-nav .dashicons{font-size:19px!important}.clinessy-app.clinessy-navigation-top>.clinessy-main{padding:15px!important}.clinessy-app.clinessy-navigation-top .clinessy-header{grid-template-columns:1fr auto auto auto!important;gap:8px!important}.clinessy-app.clinessy-navigation-top .clinessy-header>div:first-child{grid-column:1/-1}.clinessy-app.clinessy-navigation-top .clinessy-global-search{grid-column:1/-1;grid-row:2}.clinessy-app.clinessy-navigation-top .clinessy-top-new-reservation{grid-row:3;grid-column:1/3;justify-content:center}.clinessy-app.clinessy-navigation-top .clinessy-notifications,.clinessy-app.clinessy-navigation-top .clinessy-refresh-button,.clinessy-app.clinessy-navigation-top .clinessy-theme-toggle{grid-row:3}.clinessy-app.clinessy-navigation-top .clinessy-top-contextual{padding:0 8px}.clinessy-app.clinessy-navigation-top .clinessy-top-contextual a{padding:0 10px}}

/* Clinessy Core 0.2.34 — menú superior estable en el panel completo */
body.clinessy-core-standalone-template .clinessy-app.clinessy-navigation-top>.clinessy-sidebar,
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-app.clinessy-navigation-top>.clinessy-sidebar{
  top:0!important;
}
.clinessy-app.clinessy-navigation-top .clinessy-main>.clinessy-settings-groups{
  display:none!important;
}

/* Clinessy Core 0.2.3 — cambio de contraseña del administrador */
.clinessy-admin-password{margin-top:18px;padding:20px;border:1px solid #dccdfd;border-radius:15px;background:linear-gradient(135deg,#fbf9ff,#fff)}.clinessy-admin-password>header{margin-bottom:16px}.clinessy-admin-password>header>span{color:#7c3aed}.clinessy-admin-password>header strong{font-size:17px}.clinessy-admin-password>header p{margin:4px 0 0;color:#676c80}.clinessy-admin-password-user{display:flex;align-items:center;gap:11px;margin-bottom:17px;padding:12px 14px;border-radius:11px;background:#f4efff;color:#292442}.clinessy-admin-password-user>span{color:#7c3aed}.clinessy-admin-password-user small,.clinessy-admin-password-user strong{display:block}.clinessy-admin-password-user small{margin-bottom:2px;color:#78738a;font-size:11px}.clinessy-admin-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.clinessy-admin-password-grid>label{display:grid;gap:7px;color:#202540;font-size:13px;font-weight:800}.clinessy-password-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.clinessy-password-input input{width:100%;min-height:46px;padding:9px 12px;border:1px solid #dcdce8;border-radius:9px;box-sizing:border-box}.clinessy-password-input input:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px rgba(139,92,246,.14);outline:0}.clinessy-password-input .button{min-height:46px}.clinessy-password-strength{display:grid;grid-template-columns:repeat(4,1fr) auto;align-items:center;gap:6px;margin-top:14px}.clinessy-password-strength>span{height:6px;border-radius:10px;background:#e5e3ec}.clinessy-password-strength>strong{min-width:145px;margin-left:6px;color:#7b8091;font-size:12px}.clinessy-password-strength[data-score="1"]>span:nth-child(-n+1),.clinessy-password-strength[data-score="2"]>span:nth-child(-n+2){background:#e05269}.clinessy-password-strength[data-score="3"]>span:nth-child(-n+3){background:#e1a52b}.clinessy-password-strength[data-score="4"]>span{background:#22a06b}.clinessy-password-strength[data-score="4"]>strong{color:#168153}.clinessy-password-rules{margin:9px 0 0;color:#71768a;font-size:12px}
@media(max-width:800px){.clinessy-admin-password-grid{grid-template-columns:1fr}.clinessy-password-strength{grid-template-columns:repeat(4,1fr)}.clinessy-password-strength>strong{grid-column:1/-1;margin-left:0}}
@media(max-width:520px){.clinessy-password-input{grid-template-columns:1fr}.clinessy-password-input .button{width:100%}}

/* Clinessy Core 0.2.24: catálogo operativo de servicios y packs */
.services-catalog-screen{display:grid;gap:16px}.services-catalog-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:4px}.services-catalog-heading{display:flex;align-items:center;gap:14px}.services-catalog-heading>.dashicons{display:grid;width:54px;height:54px;place-items:center;border-radius:16px;background:#eee8ff;color:#7135e6;font-size:29px}.services-catalog-heading h2,.services-catalog-heading p{margin:0}.services-catalog-heading h2{color:#161b31;font-size:25px}.services-catalog-heading p{margin-top:4px;color:#747b8f}.services-seed{display:grid;justify-items:end;gap:5px}.services-seed form{margin:0}.services-seed .button{display:flex;align-items:center;gap:7px;min-height:40px;border-color:#d9cef2!important;color:#6530d5!important}.services-seed small{color:#747b8f}.services-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.services-kpis article{display:flex;align-items:center;gap:14px;min-height:96px;padding:16px 18px;box-sizing:border-box;border:1px solid #ebe7f1;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(31,24,67,.04)}.services-kpis article>.dashicons{display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#f0eaff;color:#7135e6;font-size:23px}.services-kpis article:nth-child(2)>.dashicons{background:#ffeaf5;color:#dd378d}.services-kpis article:nth-child(3)>.dashicons{background:#eaf1ff;color:#326fe3}.services-kpis small,.services-kpis strong{display:block}.services-kpis small{color:#747b8f;font-size:10px}.services-kpis strong{margin-top:4px;color:#171b31;font-size:21px}.services-kpis strong small{display:inline;font-size:10px}.services-catalog-card{overflow:hidden;border:1px solid #e8e4ef;border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(31,24,67,.04)}.services-catalog-head{display:flex;align-items:center;justify-content:space-between;padding:18px}.services-catalog-head h3,.services-catalog-head p{margin:0}.services-catalog-head p{margin-top:3px;color:#747b8f;font-size:11px}.services-catalog-head .button-primary{display:flex;align-items:center;min-height:42px;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,#6530e8,#e635a9)!important;color:#fff!important}.services-catalog-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px 190px;gap:10px;padding:0 18px 13px}.services-catalog-toolbar label{position:relative}.services-catalog-toolbar label>.dashicons{position:absolute;z-index:1;left:12px;top:12px;color:#777e90}.services-catalog-toolbar input,.services-catalog-toolbar select{width:100%;min-height:42px;box-sizing:border-box;border:1px solid #ded9e7;border-radius:9px;background:#fff}.services-catalog-toolbar input{padding-left:40px}.services-type-tabs{display:flex;gap:25px;padding:0 18px;border-bottom:1px solid #ece8f1}.services-type-tabs button{padding:11px 3px;border:0;border-bottom:2px solid transparent;background:transparent;color:#656a7b;font-weight:750;cursor:pointer}.services-type-tabs button.active{border-bottom-color:#7135e6;color:#6530d5}.services-catalog-columns,.services-catalog-row{display:grid;grid-template-columns:minmax(220px,1.4fr) 1fr .65fr .7fr 1fr .65fr 90px;align-items:center;gap:12px}.services-catalog-columns{padding:11px 15px;background:#f9f7fb;color:#5f6577;font-size:9px;font-weight:850;text-transform:uppercase}.services-catalog-row{min-height:68px;padding:9px 15px;border-top:1px solid #eeebf2;color:#52586a;font-size:11px}.services-catalog-row[hidden]{display:none}.service-name-cell{display:flex;align-items:center;gap:10px;color:#171b31}.service-name-cell>.dashicons{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;background:#efe9ff;color:#7135e6}.service-type-chip,.service-status-chip{display:inline-flex;padding:5px 8px;border-radius:7px;font-size:9px;font-weight:850}.service-type-chip{background:#f0eaff;color:#6d31dc}.service-type-chip.pack{background:#ffeaf5;color:#cc347d}.service-status-chip{background:#eaf9ef;color:#16844a}.service-row-actions{display:flex;gap:6px}.service-row-actions a{display:grid;width:28px;height:28px;place-items:center;border-radius:7px;color:#4d5264;text-decoration:none}.service-row-actions a:hover{background:#f0eaff;color:#6d31dc}.services-catalog-result{margin:0;padding:10px 15px;border-top:1px solid #eeebf2;color:#747b8f;font-size:10px}.services-catalog-empty{display:grid;justify-items:center;padding:45px;color:#747b8f}.services-catalog-empty>.dashicons{width:44px;height:44px;color:#7135e6;font-size:44px}.services-catalog-empty p{margin:4px 0}.service-drawer-backdrop{position:fixed;inset:0;z-index:99998;background:rgba(16,20,43,.24);backdrop-filter:blur(1px)}.service-drawer{position:fixed;z-index:99999;top:0;right:0;width:min(500px,42vw);height:100vh;box-sizing:border-box;overflow-y:auto;background:#fff;box-shadow:-20px 0 55px rgba(20,18,45,.2)}body.admin-bar .service-drawer{top:32px;height:calc(100vh - 32px)}.service-drawer-close{position:absolute;z-index:2;top:13px;right:16px;color:#252a3c!important;text-decoration:none!important;font-size:28px}.service-drawer>header{padding:21px 24px;border-bottom:1px solid #ece8f1}.service-drawer>header h2,.service-drawer>header p{margin:0}.service-drawer>header p{margin-top:4px;color:#747b8f}.service-drawer>form{display:grid!important;gap:15px;padding:20px 24px}.service-kind{display:grid;grid-template-columns:1fr 1fr;gap:11px}.service-kind label{position:relative;display:grid;justify-items:center;gap:5px;padding:16px;border:1px solid #ded9e7;border-radius:11px;text-align:center;cursor:pointer}.service-kind label.selected{border-color:#7c3aed;background:#fbf9ff;box-shadow:0 0 0 2px rgba(124,58,237,.06)}.service-kind input{position:absolute;opacity:0}.service-kind .dashicons{width:28px;height:28px;color:#7135e6;font-size:28px}.service-kind strong,.service-kind small{display:block}.service-kind small{color:#747b8f;font-weight:500}.service-drawer .grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.service-extra{border:1px solid #e2ddec;border-radius:10px}.service-extra summary{display:flex;align-items:center;justify-content:space-between;padding:13px;cursor:pointer;font-weight:800}.service-extra label{padding:0 13px 13px}.service-drawer footer{display:flex;justify-content:flex-end;gap:10px;margin-top:4px;padding-top:15px;border-top:1px solid #ece8f1}.service-drawer footer .button{min-width:125px;min-height:42px}.service-drawer footer .button-primary{border:0!important;background:linear-gradient(135deg,#6530e8,#e635a9)!important;color:#fff!important}
@media(max-width:1000px){.services-kpis{grid-template-columns:repeat(2,1fr)}.services-catalog-columns{display:none}.services-catalog-row{grid-template-columns:2fr 1fr 1fr}.services-catalog-row>div:nth-child(4),.services-catalog-row>div:nth-child(5),.services-catalog-row>div:nth-child(6){display:none}.service-drawer{width:min(620px,70vw)}}
@media(max-width:700px){.services-catalog-hero{align-items:flex-start;flex-direction:column}.services-seed{justify-items:start}.services-kpis{grid-template-columns:1fr}.services-catalog-head{align-items:flex-start;flex-direction:column;gap:12px}.services-catalog-toolbar{grid-template-columns:1fr}.services-catalog-row{grid-template-columns:1fr auto}.services-catalog-row>div:not(:first-child):not(:last-child){display:none}.service-drawer{width:100vw}.service-kind,.service-drawer .grid2{grid-template-columns:1fr}}

/* Clinessy Core 0.2.25: contraste del botón de catálogo inicial */
.services-seed .button,.services-seed .button:hover,.services-seed .button:focus{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;min-height:60px!important;padding:9px 15px!important;border:1px solid rgba(124,58,237,.18)!important;border-radius:16px!important;background:linear-gradient(135deg,#6d30e8 0%,#c931cc 58%,#ef4ba9 100%)!important;color:#fff!important;text-align:left!important;text-shadow:none!important;box-shadow:0 16px 34px rgba(108,48,220,.22)!important}.services-seed .button>.dashicons{display:grid!important;width:38px!important;height:38px!important;place-items:center!important;border-radius:12px!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-size:22px!important;line-height:38px!important}.services-seed .button span:not(.dashicons){display:grid!important;gap:1px!important}.services-seed .button strong,.services-seed .button small{display:block!important;color:#fff!important;line-height:1.15!important}.services-seed .button strong{font-size:13px!important;font-weight:900!important}.services-seed .button small{opacity:.82!important;font-size:10px!important;font-weight:750!important}.services-seed .button:hover{filter:brightness(1.04);transform:translateY(-1px)}.services-seed .button:focus{outline:3px solid rgba(124,58,237,.2)!important;outline-offset:3px}

/* Clinessy Core 0.2.43: guía de niveles y atribuciones */
.users-role-guide{padding:0!important;overflow:hidden}.users-role-guide>summary{display:flex;align-items:center;justify-content:space-between;padding:19px 20px;cursor:pointer;list-style:none}.users-role-guide>summary::-webkit-details-marker{display:none}.users-role-guide>summary>div{display:flex;align-items:center;gap:12px}.users-role-guide>summary>div>.dashicons{display:grid;width:39px;height:39px;place-items:center;border-radius:11px;background:#eee8ff;color:#7135e6;font-size:20px}.users-role-guide h3,.users-role-guide summary p{margin:0}.users-role-guide summary h3{color:#171b31;font-size:16px}.users-role-guide summary p{margin-top:3px;color:#747b8f;font-size:11px}.users-role-guide[open]>summary{border-bottom:1px solid #ece8f1;background:#fcfaff}.users-role-guide[open]>summary>.dashicons{transform:rotate(180deg)}.users-role-guide-body{padding:20px}.users-role-guide-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.users-role-guide-intro strong{color:#24273a}.users-role-guide-intro span{color:#777d8f;font-size:11px}.users-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.users-role-card{padding:16px;border:1px solid #e6e1ed;border-radius:14px;background:#fff}.users-role-card>header{display:flex;align-items:center;gap:11px}.users-role-card>header>.dashicons{display:grid;width:39px;height:39px;flex:0 0 39px;place-items:center;border-radius:11px;background:#f0eaff;color:#7135e6}.users-role-card h4,.users-role-card header small,.users-role-card>p{margin:0}.users-role-card h4{color:#202438;font-size:14px}.users-role-card header small{display:block;margin-top:2px;color:#7135e6;font-size:9px;font-weight:800}.users-role-card>p{min-height:32px;margin-top:11px;color:#747b8f;font-size:10px;line-height:1.5}.users-role-card ul{display:grid;gap:7px;margin:12px 0 0;padding:12px 0 0;border-top:1px solid #eeeaf3;list-style:none}.users-role-card li{display:flex;align-items:center;gap:7px;color:#404558;font-size:10px}.users-role-card li .dashicons{width:14px;height:14px;color:#20a36a;font-size:14px}@media(max-width:1050px){.users-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.users-role-guide-intro{align-items:flex-start;flex-direction:column}.users-role-grid{grid-template-columns:1fr}.users-role-card>p{min-height:0}}

/* Clinessy Core 0.2.44: títulos visibles e intuitivos en niveles de usuario */
.users-role-card{position:relative;overflow:hidden;padding:0!important}.users-role-card:before{content:"";display:block;height:4px;background:linear-gradient(90deg,#7135e6,#d936a8)}.users-role-card:nth-child(2):before{background:linear-gradient(90deg,#2c73df,#42a5f5)}.users-role-card:nth-child(3):before{background:linear-gradient(90deg,#17a46c,#55c98e)}.users-role-card:nth-child(4):before{background:linear-gradient(90deg,#e08018,#f2b64a)}.users-role-card:nth-child(5):before{background:linear-gradient(90deg,#4356c5,#7485ec)}.users-role-card:nth-child(6):before{background:linear-gradient(90deg,#d43d7d,#ed75a7)}.users-role-card-title{display:flex!important;align-items:center;gap:12px;padding:16px 16px 12px;background:linear-gradient(180deg,#fcfaff,#fff)}.users-role-card-title>.dashicons{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:12px;background:#eee8ff;color:#7135e6;font-size:21px}.users-role-card-title h4{margin:0!important;color:#171b31!important;font-size:16px!important;font-weight:900!important;line-height:1.2!important}.users-role-card-title small{display:flex!important;align-items:center;gap:4px;margin-top:5px!important;color:#7135e6!important;font-size:10px!important;font-weight:800!important}.users-role-card-title small .dashicons{width:13px;height:13px;font-size:13px}.users-role-card>p{min-height:0!important;margin:0!important;padding:0 16px 13px;color:#70778b!important;font-size:11px!important}.users-role-permissions-title{display:block;padding:11px 16px 0;border-top:1px solid #eeeaf3;color:#35394c;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.users-role-card ul{margin-top:8px!important;padding:0 16px 16px!important;border-top:0!important}

/* Clinessy Core 0.2.45: editor visual de permisos avanzados */
.users-permissions-editor{gap:16px!important;padding:22px!important;background:#fbfaff}.permissions-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #e5dfed;border-radius:13px;background:#fff}.permissions-editor-heading>div{display:flex;align-items:center;gap:11px}.permissions-editor-heading>div>.dashicons{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;background:#eee8ff;color:#7135e6}.permissions-editor-heading strong,.permissions-editor-heading small{display:block}.permissions-editor-heading strong{color:#24273a;font-size:14px}.permissions-editor-heading small{margin-top:3px;color:#777d8f;font-size:10px}.permissions-selection-count{padding:7px 10px;border-radius:999px;background:#eee8ff;color:#6530d5;font-size:10px;font-weight:900}.permissions-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.permissions-group{overflow:hidden;border:1px solid #e5e0eb;border-radius:15px;background:#fff;transition:.18s ease}.permissions-group.has-selection{border-color:#cdbcf4;box-shadow:0 7px 22px rgba(101,48,213,.06)}.permissions-group>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:15px!important;border-bottom:1px solid #eeeaf3!important;background:#faf9fc!important}.permissions-group>header>div{display:flex;align-items:center;gap:10px}.permissions-group>header>div>.dashicons{display:grid;width:37px;height:37px;flex:0 0 37px;place-items:center;border-radius:10px;background:#eee8ff;color:#7135e6}.permissions-group h4,.permissions-group p{margin:0!important}.permissions-group h4{color:#24273a!important;font-size:13px!important}.permissions-group p{margin-top:3px!important;color:#7a8092!important;font-size:9px!important}.permissions-group-toggle{display:flex!important;align-items:center;gap:6px!important;white-space:nowrap;color:#6530d5!important;font-size:9px!important;font-weight:850!important}.permissions-group-toggle input{width:16px!important;height:16px!important;margin:0!important}.permissions-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.permission-option{position:relative;display:flex!important;align-items:center!important;gap:9px!important;min-height:58px;padding:10px!important;border:1px solid #e8e3ee!important;border-radius:10px!important;background:#fff!important;cursor:pointer!important}.permission-option>input{position:absolute!important;opacity:0!important;pointer-events:none!important}.permission-option-check{display:grid!important;width:24px!important;height:24px!important;flex:0 0 24px!important;place-items:center!important;border-radius:7px!important;background:#f0edf4!important;color:transparent!important;font-size:15px!important}.permission-option>input:checked+.permission-option-check{background:#7135e6!important;color:#fff!important}.permission-option:has(input:checked){border-color:#bca5ef!important;background:#faf8ff!important}.permission-option>span:last-child strong,.permission-option>span:last-child small{display:block}.permission-option>span:last-child strong{color:#34384b;font-size:10px}.permission-option>span:last-child small{margin-top:3px;color:#858a99;font-size:8px}.permission-option.is-sensitive>span:last-child small{color:#c06b14}.permission-option.is-sensitive:after{content:"Sensible";position:absolute;top:6px;right:7px;padding:3px 5px;border-radius:6px;background:#fff1df;color:#b86510;font-size:7px;font-weight:900}.permissions-editor-note{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border-radius:11px;background:#f3effc;color:#615875}.permissions-editor-note p{margin:0;font-size:10px;line-height:1.5}.permissions-editor-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:3px}.permissions-editor-actions .button{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-width:160px;min-height:43px;border-radius:10px!important}.permissions-editor-actions .button-primary{border:0!important;background:linear-gradient(135deg,#6530e8,#d936a8)!important;color:#fff!important}@media(max-width:1050px){.permissions-groups{grid-template-columns:1fr}}@media(max-width:700px){.users-permissions-editor{padding:14px!important}.permissions-editor-heading{align-items:flex-start;flex-direction:column}.permissions-group>header{align-items:flex-start!important;flex-direction:column!important}.permissions-group>div{grid-template-columns:1fr}.permissions-editor-actions{flex-direction:column-reverse}.permissions-editor-actions .button{width:100%}}

.permissions-group-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:15px!important;border-bottom:1px solid #eeeaf3!important;background:#faf9fc!important}.permissions-group-heading>div{display:flex;align-items:center;gap:10px}.permissions-group-heading>div>.dashicons{display:grid;width:37px;height:37px;flex:0 0 37px;place-items:center;border-radius:10px;background:#eee8ff;color:#7135e6}@media(max-width:700px){.permissions-group-heading{align-items:flex-start!important;flex-direction:column!important}}

/* Clinessy Core 0.2.46: experiencia visual de Apariencia */
.clinessy-appearance-v2{gap:14px!important}.clinessy-appearance-page-heading{display:flex;align-items:center;gap:14px;padding:3px 4px}.clinessy-appearance-page-heading>.dashicons{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;background:#f0e9ff;color:#7135e6;font-size:25px}.clinessy-appearance-page-heading h2,.clinessy-appearance-page-heading p{margin:0}.clinessy-appearance-page-heading h2{color:#20243a;font-size:22px}.clinessy-appearance-page-heading p{margin-top:4px;color:#70778d;font-size:12px}.clinessy-appearance-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.9fr);gap:14px;align-items:stretch}.clinessy-appearance-controls{display:grid;gap:14px}.clinessy-appearance-v2 .clinessy-card{margin:0!important;border-color:#e7e1ec!important}.appearance-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.appearance-section-heading h3,.appearance-section-heading p{margin:0}.appearance-section-heading h3{color:#25283b;font-size:16px}.appearance-section-heading p{margin-top:4px;color:#777d90;font-size:10px}.appearance-section-heading.compact{margin-bottom:13px}.appearance-inherit-toggle{display:flex!important;align-items:center!important;gap:9px!important;color:#565c70!important;font-size:10px!important;font-weight:800!important;cursor:pointer}.appearance-inherit-toggle input{position:absolute;opacity:0}.appearance-inherit-toggle i{position:relative;width:34px;height:20px;border-radius:999px;background:#d9dce5;transition:.2s}.appearance-inherit-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.16);transition:.2s}.appearance-inherit-toggle input:checked+i{background:#7135e6}.appearance-inherit-toggle input:checked+i:after{transform:translateX(14px)}.appearance-personal-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important}.appearance-personal-choices .clinessy-navigation-preview{min-height:155px!important;padding:13px!important}.appearance-personal-choices .clinessy-navigation-preview b{display:flex;align-items:center;gap:7px;margin-top:88px!important}.clinessy-navigation-preview mark,.appearance-theme-options mark{padding:3px 7px;border-radius:999px;background:#eee8ff;color:#7135e6;font-size:8px;font-weight:900}.appearance-check{display:none!important;position:absolute!important;top:10px;right:10px;z-index:4;width:23px!important;height:23px!important;place-items:center;border-radius:50%;background:#7135e6;color:#fff;font-size:15px;font-style:normal}.clinessy-navigation-choice>input:checked+.clinessy-navigation-preview .appearance-check,.appearance-theme-options input:checked+.theme-preview .appearance-check{display:grid!important}.clinessy-personal-navigation.is-inherited .appearance-personal-choices{opacity:.48;filter:saturate(.75)}.clinessy-personal-navigation.is-inherited .appearance-personal-choices:after{content:"Se está usando la configuración de la clínica";position:absolute;inset:0;z-index:6;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.62);color:#5531a7;font-size:11px;font-weight:900;backdrop-filter:blur(1px)}.appearance-personal-choices{position:relative}.appearance-helper{display:flex;align-items:center;gap:7px;margin:11px 0 0;color:#747b8e;font-size:9px}.appearance-helper .dashicons{width:16px;height:16px;font-size:16px}.admin-only-badge{display:inline-flex;align-items:center;gap:4px;margin-left:7px;padding:4px 7px;border-radius:7px;background:#eee8ff;color:#7135e6;font-size:8px;vertical-align:middle}.admin-only-badge .dashicons{width:12px;height:12px;font-size:12px}.appearance-segmented{display:flex!important;gap:8px!important}.appearance-segmented label{min-width:150px!important;padding:0!important;border:0!important;background:transparent!important}.appearance-segmented input{position:absolute;opacity:0}.appearance-segmented span{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #e2dce9;border-radius:9px;background:#faf9fc;color:#44495c;font-size:10px;font-weight:850}.appearance-segmented span:before{content:"";width:12px;height:12px;border:2px solid #c8c5cf;border-radius:50%;box-sizing:border-box}.appearance-segmented input:checked+span{border-color:#b89cf0;background:#faf7ff;color:#6530d5}.appearance-segmented input:checked+span:before{border:4px solid #7135e6}.appearance-theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.appearance-theme-options label{position:relative}.appearance-theme-options input{position:absolute;opacity:0}.theme-preview{position:relative;display:block;min-height:112px;padding:74px 11px 10px;border:1px solid #e3deea;border-radius:11px;background:#fff;cursor:pointer;box-sizing:border-box;overflow:hidden}.theme-preview>i{position:absolute;left:10px;right:10px;top:10px;height:53px;border-radius:8px;background:#fbfbfd;box-shadow:inset 22px 0 #eee9ff}.theme-preview.dark>i{background:#151936;box-shadow:inset 22px 0 #24214b}.theme-preview.auto>i{background:linear-gradient(90deg,#fbfbfd 0 50%,#151936 50%);box-shadow:inset 22px 0 rgba(113,53,230,.22)}.theme-preview b,.theme-preview small{display:block}.theme-preview b{color:#303447;font-size:10px}.theme-preview small{margin-top:3px;color:#818697;font-size:8px}.appearance-theme-options input:checked+.theme-preview{border-color:#7135e6;box-shadow:0 0 0 2px rgba(113,53,230,.11)}.clinessy-appearance-live-preview{display:flex;flex-direction:column;min-height:100%}.appearance-dashboard-preview{display:grid;grid-template-columns:58px minmax(0,1fr);flex:1;min-height:445px;overflow:hidden;border:1px solid #e4dfeb;border-radius:12px;background:#fbfbfd}.preview-mini-nav{display:flex;flex-direction:column;align-items:center;gap:18px;padding:17px 0;background:linear-gradient(180deg,#17183f,#24205f);color:#fff}.preview-mini-nav strong{display:grid;width:29px;height:29px;place-items:center;border-radius:9px;background:linear-gradient(135deg,#7135e6,#e936a8);font-size:17px}.preview-mini-nav i{width:14px;height:14px;border-radius:4px;background:rgba(255,255,255,.8)}.preview-mini-main{padding:15px;min-width:0}.preview-mini-main>header{display:grid;grid-template-columns:1fr 120px 27px;align-items:center;gap:7px}.preview-mini-main>header b{font-size:12px}.preview-mini-main>header span{padding:7px;border:1px solid #e5e2eb;border-radius:7px;color:#9a9dab;font-size:7px}.preview-mini-main>header em{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:#eee8ff;color:#7135e6;font-size:8px;font-style:normal}.preview-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:15px}.preview-kpis i{display:grid;gap:5px;padding:10px;border:1px solid #e8e5ed;border-radius:8px;background:#fff;font-style:normal}.preview-kpis small{color:#818697;font-size:7px}.preview-kpis strong{font-size:12px}.preview-mini-main>section{margin-top:10px;padding:11px;border:1px solid #e8e5ed;border-radius:8px;background:#fff}.preview-mini-main>section>b{font-size:9px}.preview-mini-main>section p{display:flex;justify-content:space-between;margin:8px 0 0;padding-top:7px;border-top:1px solid #f0edf3;color:#4e5365;font-size:7px}.preview-mini-main mark{padding:2px 4px;border-radius:4px;background:#e5f8ee;color:#16845b;font-size:6px}.preview-mini-main mark.pending{background:#fff3dc;color:#bd7410}.preview-charts{display:grid;grid-template-columns:1.2fr .8fr;gap:8px;margin-top:10px}.preview-charts i{height:95px;border:1px solid #e8e5ed;border-radius:8px;background:linear-gradient(160deg,#fff 58%,#e7f8ef 59%)}.preview-charts i+I{background:repeating-linear-gradient(0deg,#fff 0 14px,#eee8ff 15px 20px)}.appearance-save-bar{position:sticky!important;bottom:12px!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:15px!important}.appearance-save-bar>.button:first-child{justify-self:start}.appearance-save-bar>.button:last-child{justify-self:end}.appearance-save-bar .button-primary:disabled{opacity:.45!important;cursor:not-allowed!important}.appearance-unsaved{display:flex;align-items:center;gap:7px;color:#7a8091;font-size:10px;font-weight:800}.appearance-unsaved>i{width:8px;height:8px;border-radius:50%;background:#b8bdc9}.appearance-save-bar.has-changes .appearance-unsaved>i{background:#f0a11e}.appearance-save-bar.has-changes .appearance-unsaved{color:#5c6070}body.clinessy-dark .appearance-dashboard-preview{filter:brightness(.9)}
@media(max-width:1180px){.clinessy-appearance-layout{grid-template-columns:1fr}.clinessy-appearance-live-preview{display:none}}
@media(max-width:760px){.appearance-section-heading{align-items:flex-start;flex-direction:column}.appearance-personal-choices,.appearance-theme-options{grid-template-columns:1fr!important}.appearance-save-bar{grid-template-columns:1fr 1fr!important}.appearance-save-bar .appearance-unsaved{grid-column:1/-1;grid-row:1;justify-self:center}.appearance-save-bar>.button:first-child{grid-column:1;grid-row:2;width:100%}.appearance-save-bar>.button:last-child{grid-column:2;grid-row:2;width:100%}}

.appearance-save-button{display:inline-flex!important;min-width:230px!important;min-height:46px!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 22px!important;border:1px solid #6d28d9!important;border-radius:9px!important;background:#6d28d9!important;color:#fff!important;font-size:14px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;text-shadow:none!important;box-shadow:0 10px 22px rgba(109,40,217,.22)!important;cursor:pointer!important;transition:background .18s,border-color .18s,transform .18s!important}.appearance-save-button:hover,.appearance-save-button:focus{border-color:#581cba!important;background:#581cba!important;color:#fff!important;transform:translateY(-1px)}.appearance-save-button .dashicons{width:18px!important;height:18px!important;font-size:18px!important;line-height:18px!important;color:#fff!important}.appearance-save-button:disabled{color:#fff!important;transform:none!important;box-shadow:none!important}

/* Cuatro opciones de tema desde 0.2.51. */
.appearance-theme-options{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:980px){.appearance-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.appearance-theme-options{grid-template-columns:1fr!important}}

/* Clinessy Core 0.2.47: vista previa fiel del menú superior */
.appearance-dashboard-preview.is-top-navigation{grid-template-columns:minmax(0,1fr);grid-template-rows:54px minmax(0,1fr)}
.appearance-dashboard-preview.is-top-navigation .preview-mini-nav{flex-direction:row;justify-content:flex-start;gap:14px;padding:8px 12px;background:linear-gradient(90deg,#2b176f,#6332c9)}
.appearance-dashboard-preview.is-top-navigation .preview-mini-nav strong{flex:0 0 auto;width:31px;height:31px}
.appearance-dashboard-preview.is-top-navigation .preview-mini-nav i{width:36px;height:9px;border-radius:999px;background:rgba(255,255,255,.72)}
.appearance-dashboard-preview.is-top-navigation .preview-mini-main{padding:13px 15px 15px}
.appearance-dashboard-preview.is-top-navigation .preview-mini-main>header{grid-template-columns:minmax(90px,.65fr) minmax(110px,1fr) 27px}
.appearance-dashboard-preview.is-top-navigation .preview-kpis{margin-top:12px}

/* Clinessy Core 0.2.48: contraste real para Apariencia en modo oscuro */
body.clinessy-dark .clinessy-appearance-v2 .clinessy-card{background:#111827!important;border-color:#334155!important;color:#e8edf7!important}
body.clinessy-dark .clinessy-appearance-page-heading h2,
body.clinessy-dark .clinessy-appearance-v2 .appearance-section-heading h3,
body.clinessy-dark .clinessy-appearance-v2 .clinessy-navigation-preview b,
body.clinessy-dark .clinessy-appearance-v2 .theme-preview b{color:#f8fafc!important}
body.clinessy-dark .clinessy-appearance-page-heading p,
body.clinessy-dark .clinessy-appearance-v2 .appearance-section-heading p,
body.clinessy-dark .clinessy-appearance-v2 .appearance-helper,
body.clinessy-dark .clinessy-appearance-v2 .appearance-inherit-toggle,
body.clinessy-dark .clinessy-appearance-v2 .clinessy-navigation-preview small,
body.clinessy-dark .clinessy-appearance-v2 .theme-preview small{color:#a9b4c7!important}
body.clinessy-dark .clinessy-appearance-v2 .clinessy-navigation-preview,
body.clinessy-dark .clinessy-appearance-v2 .theme-preview{background:#182235!important;border-color:#3c4960!important}
body.clinessy-dark .clinessy-appearance-v2 .clinessy-navigation-choice>input:checked+.clinessy-navigation-preview,
body.clinessy-dark .clinessy-appearance-v2 .appearance-theme-options input:checked+.theme-preview{border-color:#a576ff!important;box-shadow:0 0 0 2px rgba(165,118,255,.24),0 12px 28px rgba(0,0,0,.22)!important}
body.clinessy-dark .clinessy-appearance-v2 .appearance-segmented span{background:#182235!important;border-color:#3c4960!important;color:#dce4f2!important}
body.clinessy-dark .clinessy-appearance-v2 .appearance-segmented input:checked+span{background:#29204b!important;border-color:#9669ef!important;color:#cbb3ff!important}
body.clinessy-dark .clinessy-personal-navigation.is-inherited .appearance-personal-choices:after{background:rgba(15,23,42,.78);color:#d6c5ff}
body.clinessy-dark .clinessy-appearance-v2 .appearance-save-bar{background:rgba(17,24,39,.96)!important;border-color:#334155!important}
body.clinessy-dark .clinessy-appearance-v2 .appearance-unsaved{color:#c4ccda!important}
body.clinessy-dark .appearance-dashboard-preview{filter:none!important}
.appearance-dashboard-preview.is-dark-preview{background:#0f172a;border-color:#38445a;color:#e8edf7}
.appearance-dashboard-preview.is-dark-preview .preview-mini-main>header b{color:#f8fafc}
.appearance-dashboard-preview.is-dark-preview .preview-mini-main>header span{background:#172033;border-color:#354158;color:#aeb9cc}
.appearance-dashboard-preview.is-dark-preview .preview-mini-main>header em{background:#312658;color:#cfb9ff}
.appearance-dashboard-preview.is-dark-preview .preview-kpis i,
.appearance-dashboard-preview.is-dark-preview .preview-mini-main>section{background:#172033;border-color:#354158;color:#f3f6fb}
.appearance-dashboard-preview.is-dark-preview .preview-kpis small{color:#aeb9cc}
.appearance-dashboard-preview.is-dark-preview .preview-mini-main>section p{border-color:#303c52;color:#c6cfdd}
.appearance-dashboard-preview.is-dark-preview .preview-charts i{border-color:#354158;background:linear-gradient(160deg,#172033 58%,#174a3a 59%)}
.appearance-dashboard-preview.is-dark-preview .preview-charts i+i{background:repeating-linear-gradient(0deg,#172033 0 14px,#493875 15px 20px)}
.preview-charts i+i{background:repeating-linear-gradient(0deg,#fff 0 14px,#eee8ff 15px 20px)}

/* Clinessy Core 0.2.26: creación rápida y servicio completo */
.service-create-choices{position:relative;display:grid;grid-template-columns:auto auto;align-items:center;gap:8px}.service-create-choices>small{grid-column:1/-1;color:#747b8f;text-align:right}.service-create-choices .button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border-radius:10px!important}.service-quick-button{border-color:#a98bf0!important;background:#fff!important;color:#6530d5!important}.service-create-choices details{position:relative}.service-create-choices summary{list-style:none;cursor:pointer}.service-create-choices summary::-webkit-details-marker{display:none}.service-create-choices summary.button-primary{border:0!important;background:linear-gradient(135deg,#6530e8,#e635a9)!important;color:#fff!important}.service-complete-menu{position:absolute;z-index:20;top:50px;right:0;display:grid;width:270px;padding:10px;border:1px solid #e5dfed;border-radius:12px;background:#fff;box-shadow:0 14px 35px rgba(27,20,58,.17)}.service-complete-menu span{padding:8px 10px;color:#555b70;font-size:11px}.service-complete-menu a{margin-top:5px;padding:10px;border-radius:8px;background:#f2ecff;color:#6530d5!important;text-decoration:none!important;font-size:11px;font-weight:850}.service-quick-row{display:grid!important;grid-template-columns:minmax(200px,1.4fr) 1fr .65fr .7fr 1fr .65fr 190px;align-items:start;gap:10px;padding:13px 15px;border-left:3px solid #7135e6;background:#faf8ff}.service-quick-row[hidden],.service-quick-help[hidden]{display:none!important}.service-quick-row input,.service-quick-row select{width:100%;min-height:40px;box-sizing:border-box;border:1px solid #dcd6e6;border-radius:8px;background:#fff}.service-quick-row label>small{display:block;margin-top:3px;color:#8a8199;font-size:8px}.quick-duration{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px}.quick-duration input[hidden]{display:none}.quick-duration span{color:#747b8f;font-size:10px}.quick-reservable{display:flex!important;align-items:center;gap:7px;min-height:40px}.quick-reservable input{position:absolute;opacity:0}.quick-reservable>span{position:relative;width:34px;height:19px;border-radius:99px;background:#7135e6}.quick-reservable>span:after{content:"";position:absolute;top:3px;right:3px;width:13px;height:13px;border-radius:50%;background:#fff}.quick-reservable b{font-size:10px}.quick-row-actions{display:flex;gap:5px}.quick-row-actions .button{min-height:40px}.quick-row-actions .button-primary{border:0!important;background:#7135e6!important;color:#fff!important}.service-quick-help{display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:8px;padding:10px 15px;border-top:1px solid #e7dffa;border-bottom:1px solid #e7dffa;background:#f7f3ff;color:#625b75;font-size:10px}.service-quick-help>.dashicons{color:#7135e6}.service-quick-help a{color:#6530d5!important;text-decoration:none!important;font-weight:850}
.services-create-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 18px}.services-create-tile{display:flex;align-items:center;gap:14px;padding:17px 18px;border:1px solid #e5dff1;border-radius:14px;background:#fff;color:#172033!important;text-decoration:none!important;box-shadow:0 12px 28px rgba(30,22,65,.06);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.services-create-tile:hover{transform:translateY(-1px);box-shadow:0 18px 36px rgba(30,22,65,.1);border-color:#b695ff}.services-create-tile>.dashicons{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#f0e9ff;color:#7135e6;font-size:24px}.services-create-tile strong{display:block;margin-bottom:4px;font-size:15px;font-weight:900}.services-create-tile small{display:block;color:#737b8f;font-size:11px;line-height:1.35}.services-create-tile.is-pack{background:linear-gradient(135deg,#f8fffd,#fff);border-color:#c9eee5}.services-create-tile.is-pack>.dashicons{background:#0e8f7e;color:#fff}.services-create-tile.is-pack:hover{border-color:#0e8f7e}
@media(max-width:1000px){.service-quick-row{grid-template-columns:2fr 1fr 1fr}.service-quick-row>*:nth-child(4),.service-quick-row>*:nth-child(5),.service-quick-row>*:nth-child(6){display:none}.quick-row-actions{justify-content:flex-end}.service-quick-help{grid-template-columns:20px 1fr}.service-quick-help a{grid-column:2}}
@media(max-width:700px){.service-create-choices{grid-template-columns:1fr;width:100%}.service-create-choices>small{grid-column:1;text-align:left}.service-quick-row{grid-template-columns:1fr}.service-quick-row>*{display:block!important}.service-complete-menu{right:auto;left:0;width:min(270px,80vw)}}
@media(max-width:700px){.services-create-sections{grid-template-columns:1fr}.services-create-tile{padding:14px}}

/* Clinessy Core 0.2.27: acciones siempre visibles en el editor de servicios */
.service-drawer{display:flex;flex-direction:column;overflow:hidden}.service-drawer>header{flex:0 0 auto}.service-drawer>form{display:flex!important;flex:1 1 auto;min-height:0;overflow-y:auto;flex-direction:column;padding-bottom:0}.service-drawer>form>footer{position:sticky;z-index:4;bottom:0;display:flex!important;flex:0 0 auto;justify-content:space-between;margin:10px -24px 0;padding:16px 24px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #e7e2ed;background:#fff;box-shadow:0 -12px 26px rgba(30,22,65,.08)}.service-drawer>form>footer .button{display:inline-flex!important;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important}.service-drawer>form>footer .button-primary{min-width:170px}
@media(max-width:700px){.service-drawer>form>footer{gap:10px}.service-drawer>form>footer .button{min-width:0;flex:1}.service-drawer>form>footer .button-primary{min-width:0}}

.service-pack-zones,.reservation-pack-zones{margin:0;border:1px solid #e2ddec;border-radius:12px;padding:14px;background:#fcfbff}.service-pack-zones legend,.reservation-pack-zones legend{padding:0 7px;color:#172033;font-weight:850}.service-pack-zones>p,.reservation-pack-zones>p{margin:0 0 12px;color:#70778a;font-size:12px}.service-pack-zone-list,.reservation-pack-zones>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:220px;overflow:auto}.service-pack-zone-list label,.reservation-pack-zones>div>label{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e8e3ef;border-radius:9px;background:#fff;cursor:pointer}.service-pack-zone-list input,.reservation-pack-zones input{width:18px!important;height:18px!important;margin:0!important}.service-pack-zone-empty{grid-column:1/-1;padding:14px;border-radius:9px;background:#f5f2fa;color:#72798a}.reservation-pack-zones{grid-column:1/-1}.reservation-pack-zones>small{display:block;margin-top:10px;color:#6530d5}.reservation-pack-zones[hidden],.service-pack-zones[hidden]{display:none!important}@media(max-width:700px){.service-pack-zone-list,.reservation-pack-zones>div{grid-template-columns:1fr}}

/* Clinessy Core 0.2.29: encuadre de acciones en creación rápida */
.service-quick-row{grid-template-columns:minmax(180px,1.45fr) minmax(125px,1fr) minmax(95px,.65fr) minmax(95px,.7fr) minmax(125px,.85fr) minmax(125px,.75fr) minmax(174px,.9fr);gap:8px;padding-right:20px;overflow:hidden}.service-quick-row>*{min-width:0}.quick-row-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;min-width:0;gap:7px}.quick-row-actions .button{width:100%;min-width:0!important;margin:0!important;padding:4px 10px!important;box-sizing:border-box;white-space:nowrap}.quick-reservable{min-width:0;white-space:nowrap}
@media(max-width:1450px){.service-quick-row{grid-template-columns:1.4fr 1fr .7fr .8fr 1fr}.service-quick-row .quick-reservable{grid-column:1/3}.service-quick-row .quick-row-actions{grid-column:4/6;justify-self:end;max-width:280px}}
@media(max-width:1000px){.service-quick-row{grid-template-columns:2fr 1fr 1fr}.service-quick-row .quick-row-actions{grid-column:auto;max-width:none}}
@media(max-width:700px){.service-quick-row{grid-template-columns:1fr;padding-right:15px;overflow:visible}.service-quick-row .quick-reservable,.service-quick-row .quick-row-actions{grid-column:auto;max-width:none}}

/* Clinessy Core 2.1.28: el control Reservable funciona como switch real */
.service-quick-row .quick-reservable input[type="checkbox"]{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;margin:0!important;padding:0!important;opacity:0!important;clip-path:inset(50%)}.quick-reservable input:not(:checked)+span{background:#cbd5e1!important}.quick-reservable input:not(:checked)+span:after{right:auto!important;left:3px!important}.quick-reservable input:not(:checked)~b{color:#64748b!important}.quick-row-actions{position:relative;z-index:2}.quick-row-actions .button{position:relative;z-index:3;pointer-events:auto!important;cursor:pointer!important}
.service-reservable-toggle{display:grid!important;grid-template-columns:44px 1fr!important;gap:3px 10px!important;align-items:center!important;padding:12px!important;border:1px solid #e6dff0!important;border-radius:12px!important;background:#fbf9ff!important}.service-reservable-toggle input{position:absolute!important;opacity:0!important}.service-reservable-toggle>span{grid-row:1/3;position:relative;width:38px;height:22px;border-radius:99px;background:#7135e6!important}.service-reservable-toggle>span:after{content:"";position:absolute;top:4px;right:4px;width:14px;height:14px;border-radius:50%;background:#fff}.service-reservable-toggle input:not(:checked)+span{background:#cbd5e1!important}.service-reservable-toggle input:not(:checked)+span:after{right:auto;left:4px}.service-reservable-toggle b{color:#24293b;font-size:13px}.service-reservable-toggle small{color:#747b8f;font-size:11px;line-height:1.35}.service-status-chip.is-muted{background:#f1f5f9!important;color:#64748b!important}

/* Clinessy Core 0.2.36: metas y rendimiento */
.goals-screen{display:grid;gap:16px;color:#171b31}.goals-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px}.goals-title{display:flex;align-items:center;gap:14px}.goals-title>.dashicons{display:grid;width:54px;height:54px;place-items:center;border-radius:16px;background:#eee8ff;color:#7135e6;font-size:28px}.goals-title h2,.goals-title p{margin:0}.goals-title h2{font-size:25px}.goals-title p{margin-top:4px;color:#747b8f}.goals-new-button,.goals-save-button{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:42px;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,#6530e8,#e635a9)!important;color:#fff!important}.goals-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.goals-kpis article{display:flex;align-items:center;gap:13px;min-height:100px;padding:17px;border:1px solid #ebe7f1;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(31,24,67,.04)}.goals-kpis article>.dashicons{display:grid;width:45px;height:45px;flex:0 0 45px;place-items:center;border-radius:50%;background:#f0eaff;color:#7135e6;font-size:23px}.goals-kpis article:nth-child(2)>.dashicons{background:#e9f8f0;color:#16865a}.goals-kpis article:nth-child(3)>.dashicons{background:#eaf1ff;color:#326fe3}.goals-kpis article:nth-child(4)>.dashicons{background:#fff1df;color:#d57c15}.goals-kpis small,.goals-kpis strong,.goals-kpis em{display:block}.goals-kpis small{color:#747b8f;font-size:10px}.goals-kpis strong{margin:3px 0;color:#171b31;font-size:20px}.goals-kpis em{color:#8a8fa0;font-size:9px;font-style:normal}.goals-progress-card{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.8fr);gap:25px;padding:22px;border:1px solid #e9e3f2;border-radius:16px;background:linear-gradient(135deg,#fff 60%,#faf7ff);box-shadow:0 8px 24px rgba(31,24,67,.04)}.goals-progress-copy h3,.goals-progress-copy p{margin:0}.goals-eyebrow{color:#7135e6;font-size:9px;font-weight:900;letter-spacing:.12em}.goals-progress-copy h3{margin-top:6px;font-size:20px}.goals-progress-copy p{margin-top:4px;color:#747b8f;font-size:11px}.goals-progress-track{height:9px;margin-top:18px;overflow:hidden;border-radius:99px;background:#eeeaf3}.goals-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7135e6,#e635a9)}.goals-progress-values{display:flex;align-items:baseline;gap:6px;margin-top:9px}.goals-progress-values strong{font-size:18px}.goals-progress-values span{color:#7c8191;font-size:11px}.goals-progress-values b{margin-left:auto;color:#7135e6}.goals-progress-card>aside{display:flex;gap:11px;align-items:flex-start;padding:16px;border-radius:13px;background:#f5f0ff;color:#4f4665}.goals-progress-card>aside>.dashicons{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:10px;background:#fff;color:#7135e6}.goals-progress-card>aside strong{font-size:12px}.goals-progress-card>aside p{margin:5px 0 0;color:#696177;font-size:10px;line-height:1.5}.goals-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 14px;border:1px solid #ebe7f1;border-radius:13px;background:#fff}.goals-toolbar>div{display:flex;gap:8px}.goals-toolbar button{padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#666c7e;font-weight:750;cursor:pointer}.goals-toolbar button.is-active{background:#eee8ff;color:#6530d5}.goals-toolbar label{position:relative}.goals-toolbar label>.dashicons{position:absolute;z-index:1;left:10px;top:10px;color:#777e90}.goals-toolbar select{min-height:38px;padding-left:36px;border:1px solid #ded9e7;border-radius:9px;background:#fff}.goals-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:16px;align-items:start}.goals-list{display:grid;gap:11px}.goal-card{display:grid;grid-template-columns:auto 1fr;gap:13px;padding:17px;border:1px solid #e9e5ef;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(31,24,67,.03)}.goal-card[hidden]{display:none}.goal-card-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:#eee8ff;color:#7135e6}.goal-card-icon.reservations{background:#eaf1ff;color:#326fe3}.goal-card-icon.clients{background:#ffeaf5;color:#dd378d}.goal-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.goal-card-heading span:first-child{color:#777d90;font-size:9px;font-weight:850;text-transform:uppercase}.goal-card-heading h3,.goal-card-heading p{margin:0}.goal-card-heading h3{margin-top:3px;font-size:14px}.goal-card-heading p{margin-top:3px;color:#818698;font-size:10px}.goal-status{padding:5px 8px;border-radius:8px;background:#eef8f2;color:#16844a;font-size:9px;font-weight:850}.goal-status.completed{background:#eaf9ef;color:#16844a}.goal-status.expired{background:#fff0f0;color:#c84444}.goal-card-values{display:flex;align-items:baseline;gap:6px;margin-top:11px}.goal-card-values strong{font-size:16px}.goal-card-values span{color:#7c8191;font-size:10px}.goal-card-values b{margin-left:auto;color:#7135e6;font-size:11px}.goal-card .goals-progress-track{height:6px;margin-top:7px}.goal-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:9px;color:#878c9d;font-size:9px}.goal-card footer a{color:#6530d5;text-decoration:none;font-weight:800}.goals-create-card{position:sticky;top:18px;overflow:hidden;border:1px solid #e6e0ee;border-radius:15px;background:#fff;box-shadow:0 9px 28px rgba(31,24,67,.06)}.goals-create-card>header{display:flex;align-items:center;gap:11px;padding:17px;border-bottom:1px solid #ece8f1;background:#faf8ff}.goals-create-card>header>.dashicons{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:#7135e6;color:#fff}.goals-create-card h3,.goals-create-card p{margin:0}.goals-create-card h3{font-size:15px}.goals-create-card p{margin-top:3px;color:#777d90;font-size:10px}.goals-create-card form{display:grid!important;grid-template-columns:1fr!important;gap:11px!important;padding:17px}.goals-create-card form label{display:grid;gap:5px;color:#344b43;font-size:11px;font-weight:850}.goals-create-card form input,.goals-create-card form select,.goals-create-card form textarea{width:100%;min-height:40px;box-sizing:border-box;border:1px solid #dcd6e6;border-radius:8px;background:#fff}.goals-create-card form textarea{min-height:70px}.goals-save-button{width:100%;margin-top:3px}.goals-empty,.goals-filter-empty{padding:38px;border:1px dashed #dcd4e8;border-radius:14px;background:#fff;text-align:center;color:#747b8f}.goals-empty>.dashicons{width:42px;height:42px;color:#7135e6;font-size:42px}.goals-empty h3{margin:7px 0 3px}.goals-empty p{margin:0 0 13px}.goals-filter-empty{margin:0}
@media(max-width:1150px){.goals-kpis{grid-template-columns:repeat(2,1fr)}.goals-workspace{grid-template-columns:1fr}.goals-create-card{position:static}.goals-progress-card{grid-template-columns:1fr}}
@media(max-width:700px){.goals-hero,.goals-toolbar{align-items:stretch;flex-direction:column}.goals-new-button{width:100%}.goals-kpis{grid-template-columns:1fr}.goals-toolbar>div{overflow-x:auto}.goals-toolbar select{width:100%}.goal-card{grid-template-columns:1fr}.goal-card-icon{width:38px;height:38px}.goal-card footer{flex-direction:column}.goals-progress-card{padding:16px}}

/* Clinessy Core 0.2.39: primera meta guiada */
.goals-onboarding{max-width:980px;width:100%;margin:18px auto 0;padding:34px 42px;border:1px solid #e8e1f1;border-radius:22px;background:linear-gradient(145deg,#fff 0%,#fcfaff 100%);box-shadow:0 20px 55px rgba(62,34,112,.08);box-sizing:border-box}.goals-onboarding-heading{display:flex;align-items:center;justify-content:center;gap:16px;text-align:left}.goals-onboarding-icon{display:grid;width:58px;height:58px;flex:0 0 58px;place-items:center;border-radius:17px;background:#eee7ff;color:#7135e6}.goals-onboarding-icon .dashicons{font-size:29px;width:29px;height:29px}.goals-onboarding-heading>div>span{color:#7135e6;font-size:10px;font-weight:900;letter-spacing:.12em}.goals-onboarding-heading h3{margin:4px 0 3px;color:#171b31;font-size:24px;line-height:1.15}.goals-onboarding-heading p{margin:0;color:#747b8f;font-size:13px}.goals-onboarding-form{display:block!important;margin-top:28px}.goals-metric-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.goals-metric-choices label,.goals-onboarding-period label{cursor:pointer}.goals-metric-choices input,.goals-onboarding-period input{position:absolute;opacity:0;pointer-events:none}.goals-metric-choices label>span{position:relative;display:grid;grid-template-columns:42px 1fr auto;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:18px;border:1.5px solid #e4deeb;border-radius:16px;background:#fff;transition:.18s ease}.goals-metric-choices label>span>i{grid-row:1/3;display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:#eee8ff;color:#7135e6;font-size:22px}.goals-metric-choices label:nth-child(2)>span>i{background:#e9f7ef;color:#148b59}.goals-metric-choices label:nth-child(3)>span>i{background:#ffeaf5;color:#d9368f}.goals-metric-choices b{color:#24273a;font-size:14px}.goals-metric-choices small{color:#7d8394;font-size:11px}.goals-metric-choices em{grid-column:3;grid-row:1/3;display:none;color:#7135e6;font-style:normal}.goals-metric-choices input:checked+span{border-color:#7135e6;background:#faf8ff;box-shadow:0 8px 22px rgba(113,53,230,.09)}.goals-metric-choices input:checked+span em{display:block}.goals-onboarding-period{margin-top:24px;text-align:center}.goals-onboarding-period>strong{display:block;margin-bottom:11px;color:#34374a;font-size:12px}.goals-onboarding-period>div{display:inline-flex;padding:4px;border:1px solid #e5dfeb;border-radius:12px;background:#f7f5fa}.goals-onboarding-period label span{display:block;min-width:90px;padding:9px 15px;border-radius:9px;color:#777d8f;font-size:12px;font-weight:850}.goals-onboarding-period input:checked+span{background:#fff;color:#6530d5;box-shadow:0 3px 12px rgba(47,32,83,.10)}.goals-onboarding-details{display:none;max-width:700px;margin:26px auto 0;padding-top:24px;border-top:1px solid #ece7f2}.goals-onboarding-form.is-defining .goals-onboarding-details{display:grid;gap:13px}.goals-onboarding-details>div{display:grid;grid-template-columns:1fr 1fr;gap:13px}.goals-onboarding-details label{display:grid;gap:6px;color:#344b43;font-size:11px;font-weight:850}.goals-onboarding-details input,.goals-onboarding-details select,.goals-onboarding-details textarea{width:100%;min-height:42px;box-sizing:border-box;border:1px solid #ddd7e5;border-radius:10px;background:#fff}.goals-onboarding-actions{text-align:center;margin-top:25px}.goals-onboarding-actions .button{min-width:275px;min-height:48px;border:0!important;border-radius:13px!important;background:linear-gradient(135deg,#6530e8,#df35af)!important;color:#fff!important;font-weight:900!important}.goals-onboarding-save{display:none!important}.goals-onboarding-form.is-defining .goals-onboarding-continue{display:none!important}.goals-onboarding-form.is-defining .goals-onboarding-save{display:inline-flex!important;align-items:center;justify-content:center;gap:7px}.goals-onboarding-actions p{display:flex;align-items:center;justify-content:center;gap:6px;margin:13px 0 0;color:#858a9a;font-size:10px}.goals-onboarding-actions p .dashicons{font-size:14px;width:14px;height:14px}.goals-screen:has(.goals-onboarding) .goals-new-button{display:none!important}@media(max-width:800px){.goals-onboarding{padding:24px 18px}.goals-onboarding-heading{align-items:flex-start;justify-content:flex-start}.goals-metric-choices{grid-template-columns:1fr}.goals-onboarding-details>div{grid-template-columns:1fr}.goals-onboarding-actions .button{width:100%;min-width:0}.goals-onboarding-period>div{display:flex}.goals-onboarding-period label{flex:1}.goals-onboarding-period label span{min-width:0;padding-inline:9px}}

/* Clinessy Core 0.2.40: usuarios y accesos */
.users-access-screen{display:grid;gap:16px}.users-access-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px}.users-access-hero>div{display:flex;align-items:center;gap:14px}.users-access-hero>div>.dashicons{display:grid;width:54px;height:54px;place-items:center;border-radius:16px;background:#eee8ff;color:#7135e6;font-size:27px}.users-access-hero h2,.users-access-hero p{margin:0}.users-access-hero h2{font-size:25px;color:#171b31}.users-access-hero p{margin-top:4px;color:#747b8f}.users-new-button{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:44px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#6530e8,#e635a9)!important;color:#fff!important;font-weight:900!important}.users-access-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.users-access-kpis article{display:flex;align-items:center;gap:13px;min-height:96px;padding:17px;border:1px solid #ebe7f1;border-radius:16px;background:#fff}.users-access-kpis article>.dashicons{display:grid;width:45px;height:45px;place-items:center;border-radius:50%;background:#f0eaff;color:#7135e6;font-size:23px}.users-access-kpis article:nth-child(3)>.dashicons{background:#fff1df;color:#d57c15}.users-access-kpis article:nth-child(4)>.dashicons{background:#ffeaf2;color:#d93673}.users-access-kpis small,.users-access-kpis strong{display:block}.users-access-kpis small{color:#747b8f;font-size:11px}.users-access-kpis strong{margin-top:4px;color:#171b31;font-size:23px}.users-directory{padding:0!important;overflow:visible!important}.users-access-filters{display:grid;grid-template-columns:minmax(280px,1.6fr) repeat(3,minmax(150px,.6fr));gap:11px;padding:18px}.users-access-filters label{position:relative}.users-access-filters label>.dashicons{position:absolute;z-index:1;left:13px;top:12px;color:#777e90}.users-access-filters input,.users-access-filters select{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #ded9e7;border-radius:10px;background:#fff}.users-access-filters input{padding-left:42px}.users-access-table-wrap{overflow-x:auto;border-top:1px solid #eeeaf3}.users-access-table{width:100%;min-width:960px;border-collapse:collapse}.users-access-table th{padding:13px 18px;background:#faf9fc;color:#5c6276;font-size:10px;text-align:left;text-transform:uppercase}.users-access-table td{padding:17px 18px;border-top:1px solid #eeeaf3;color:#303448;vertical-align:middle}.user-identity{display:flex;align-items:center;gap:11px}.user-identity>span{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:linear-gradient(135deg,#eee8ff,#fbe7f6);color:#7135e6;font-weight:900}.user-identity strong,.user-identity small,.users-access-table td>strong,.users-access-table td>small{display:block}.user-identity small,.users-access-table td>small{margin-top:3px;color:#7a8092;font-size:10px}.user-security{display:inline-flex;align-items:center;gap:7px;color:#257c57;font-size:11px;font-weight:800}.user-security.pending{color:#c2760e}.user-state{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#e9f8ef;color:#16844a;font-size:10px;font-weight:900}.user-state:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.user-state.pending{background:#fff3df;color:#c2760e}.user-state.inactive{background:#f1f2f5;color:#777d8d}.user-actions{position:relative;width:max-content}.user-actions>button{width:38px;height:38px;border:1px solid #dcd4ef;border-radius:10px;background:#fff;color:#7135e6;font-size:22px;cursor:pointer}.user-actions-menu{position:absolute;z-index:50;right:0;top:43px;display:none;width:210px;padding:7px;border:1px solid #e6e0ee;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(31,24,67,.16)}.user-actions.is-open .user-actions-menu{display:grid}.user-actions-menu a{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:8px;color:#35394b;text-decoration:none;font-size:11px;font-weight:750}.user-actions-menu a:hover{background:#f6f2ff;color:#6530d5}.user-actions-menu a.danger{color:#d43b47}.users-directory>footer{padding:13px 18px;border-top:1px solid #eeeaf3;color:#777d8f;font-size:11px}.users-access-empty{padding:45px;text-align:center}.users-create-panel{position:fixed;z-index:100000;inset:0;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(13,18,37,.58);backdrop-filter:blur(3px)}.users-create-panel[hidden]{display:none!important}.users-create-dialog{width:min(780px,100%);max-height:90vh;overflow:auto;border-radius:20px;background:#fff}.users-create-dialog>header{display:flex;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #ece8f1}.users-create-dialog h3,.users-create-dialog p{margin:0}.users-create-dialog>header button{width:38px;height:38px;border:1px solid #e1dce8;border-radius:50%;background:#fff;font-size:26px}.users-create-dialog form{padding:24px}.users-create-note{padding:12px;border-radius:10px;background:#f5f0ff;color:#645a7d}.users-create-actions{display:flex;justify-content:flex-end;gap:10px}.clinessy-modal-open{overflow:hidden}.users-permissions-card{padding:0!important}.users-permissions-card>summary{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;cursor:pointer;list-style:none}.users-permissions-card>summary>div{display:flex;align-items:center;gap:12px}.users-permissions-card h3,.users-permissions-card p{margin:0}.users-permissions-card form{padding:20px}@media(max-width:1100px){.users-access-kpis{grid-template-columns:repeat(2,1fr)}.users-access-filters{grid-template-columns:1fr 1fr}}@media(max-width:700px){.users-access-hero{align-items:stretch;flex-direction:column}.users-new-button{width:100%;justify-content:center}.users-access-kpis,.users-access-filters{grid-template-columns:1fr}.users-create-dialog form{grid-template-columns:1fr!important}}
/* Clinessy Core 0.2.53 — Centro de ayuda y sistema */
.clinessy-support-center{display:grid;gap:20px}.clinessy-support-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;padding:26px;border:1px solid #d9e9e2;border-radius:24px;background:linear-gradient(135deg,#f4fffa 0%,#f8f5ff 100%);box-shadow:0 18px 50px rgba(23,34,58,.07)}.clinessy-support-hero.needs-review{background:linear-gradient(135deg,#fffaf1,#f8f5ff);border-color:#f1ddbb}.clinessy-support-hero-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;color:#16825a;background:#ddf6e9}.clinessy-support-hero.needs-review .clinessy-support-hero-icon{color:#b96a12;background:#fff0d6}.clinessy-support-hero-icon .dashicons{width:auto;height:auto;font-size:34px}.clinessy-support-kicker{display:block;margin-bottom:5px;font-size:11px;font-weight:800;letter-spacing:.16em;color:#28765a}.clinessy-support-hero h2{margin:0 0 5px;font-size:27px;line-height:1.15}.clinessy-support-hero p{margin:0;color:#657087}.clinessy-support-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.clinessy-support-badges span,.clinessy-admin-only{padding:6px 10px;border-radius:999px;background:#fff;color:#586276;font-size:11px;font-weight:700;border:1px solid #e4e7ef}.clinessy-support-hero-actions{display:flex;gap:10px;align-items:center}.clinessy-support-hero-actions .button,.clinessy-support-request .button,.clinessy-system-info .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 16px;border-radius:12px}.clinessy-support-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.75fr);gap:20px;align-items:start}.clinessy-support-main,.clinessy-support-side{display:grid;gap:20px}.clinessy-support-center .clinessy-card{margin:0;border-radius:20px}.clinessy-support-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.clinessy-support-title>div{display:flex;align-items:center;gap:10px}.clinessy-support-title h3{margin:0;font-size:19px}.clinessy-support-title>div>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#7437e8;background:#f0e8ff}.clinessy-status-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800}.clinessy-status-chip.ok{color:#137148;background:#def6e9}.clinessy-status-chip.warn{color:#9b5d0c;background:#fff0d4}.clinessy-health-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.clinessy-health-check{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px;border:1px solid #e7e9f0;border-radius:14px;background:#fbfbfd}.clinessy-health-check>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf2ff;color:#4d69cb}.clinessy-health-check>div{display:grid;gap:2px}.clinessy-health-check small{color:#747d90}.clinessy-health-check>i{color:#24a26b}.clinessy-health-check.is-info>i{color:#d1841c}.clinessy-health-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.clinessy-health-meta span{padding:8px 11px;border-radius:10px;background:#f5f6f9;color:#687186;font-size:12px}.clinessy-guide-list{display:grid;gap:9px;margin-top:15px}.clinessy-guide{border:1px solid #e7e9f0;border-radius:14px;background:#fff;overflow:hidden}.clinessy-guide summary{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px;cursor:pointer;list-style:none}.clinessy-guide summary::-webkit-details-marker{display:none}.clinessy-guide summary>span:first-child{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#7035df;background:#f1eaff}.clinessy-guide summary>span:nth-child(2){display:grid;gap:2px}.clinessy-guide summary small{color:#747d90}.clinessy-guide[open] summary>i{transform:rotate(180deg)}.clinessy-guide>div{padding:0 15px 15px 64px;color:#667086}.clinessy-guide>div p{margin:0 0 8px}.clinessy-guide>div a{display:inline-flex;align-items:center;gap:5px;font-weight:700}.clinessy-maintenance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}.clinessy-maintenance-grid>a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px;border:1px solid #e7e9f0;border-radius:14px;background:#fff;text-decoration:none;color:inherit}.clinessy-maintenance-grid>a>span:first-child{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ecf7f1;color:#217a58}.clinessy-maintenance-grid>a>span:nth-child(2){display:grid;gap:3px}.clinessy-maintenance-grid small{color:#747d90}.clinessy-maintenance-grid>a:hover{border-color:#9b70f2;box-shadow:0 10px 25px rgba(102,51,209,.1)}.clinessy-support-request label{display:block;margin:16px 0 7px;font-weight:700}.clinessy-support-request textarea{width:100%;min-height:125px;resize:vertical}.clinessy-support-privacy{display:flex;gap:8px;align-items:flex-start;margin:10px 0 14px;padding:10px;border-radius:11px;background:#fff8e9;color:#805b21;font-size:12px}.clinessy-support-request>small,.clinessy-system-info>small{display:block;min-height:18px;margin-top:8px;color:#18845a;font-weight:700}.clinessy-system-info dl{display:grid;margin:14px 0}.clinessy-system-info dl>div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid #eceef3}.clinessy-system-info dt{color:#727b8e}.clinessy-system-info dd{margin:0;text-align:right;font-weight:700;word-break:break-word}.clinessy-support-news ul{margin:15px 0 0;padding-left:20px;color:#626c80}.clinessy-support-news li+li{margin-top:8px}
.clinessy-dark .clinessy-support-hero{background:linear-gradient(135deg,#11261f,#18152e);border-color:#29433a}.clinessy-dark .clinessy-support-badges span,.clinessy-dark .clinessy-admin-only,.clinessy-dark .clinessy-guide,.clinessy-dark .clinessy-maintenance-grid>a{background:#151f33;border-color:#2e3a52;color:#e9edf7}.clinessy-dark .clinessy-health-check{background:#141f32;border-color:#2d3950}.clinessy-dark .clinessy-health-meta span{background:#151f32}.clinessy-dark .clinessy-support-request textarea{background:#10192a;border-color:#38445b;color:#f3f5fa}.clinessy-dark .clinessy-system-info dl>div{border-color:#2c374c}.clinessy-gray .clinessy-support-hero{background:linear-gradient(135deg,#f4f5f7,#eceef2);border-color:#cfd3da}.clinessy-gray .clinessy-health-check,.clinessy-gray .clinessy-guide,.clinessy-gray .clinessy-maintenance-grid>a{background:#f5f6f8;border-color:#d7dae0}
@media(max-width:1100px){.clinessy-support-layout{grid-template-columns:1fr}.clinessy-support-side{grid-template-columns:repeat(2,minmax(0,1fr))}.clinessy-support-news{grid-column:1/-1}}@media(max-width:760px){.clinessy-support-hero{grid-template-columns:1fr;text-align:left}.clinessy-support-hero-actions{flex-wrap:wrap}.clinessy-support-hero-actions .button{flex:1}.clinessy-health-checks,.clinessy-support-side{grid-template-columns:1fr}.clinessy-maintenance-grid{grid-template-columns:1fr}.clinessy-support-news{grid-column:auto}}@media(max-width:480px){.clinessy-support-hero{padding:20px}.clinessy-support-hero h2{font-size:23px}.clinessy-support-hero-actions{display:grid}.clinessy-health-checks{grid-template-columns:1fr}}
/* Agenda 1.0.4: vista diaria compacta con calendario y resumen lateral */
.agenda-workspace-v4{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:16px;align-items:start}.agenda-workspace-main{min-width:0}.agenda-workspace-v4 .agenda-day-shell{margin:0;padding:0;overflow:hidden;border-radius:18px}.agenda-calendar-head-v4{justify-content:center;padding:17px 20px;text-align:center;border-bottom:1px solid #ece9f2}.agenda-calendar-head-v4>div:first-child{width:100%}.agenda-date-kicker{display:block;margin-bottom:4px;color:#7240df;font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.agenda-calendar-head-v4 h2{margin:0;color:#15182d;font-size:20px}.agenda-calendar-head-v4 p{margin:4px 0 0;color:#7a8193}.agenda-calendar-head-v4 .agenda-inline-legend{justify-content:center;margin-top:10px}.agenda-workspace-v4 .agenda-day-grid{grid-template-columns:58px repeat(var(--agenda-columns,1),minmax(210px,1fr));border:0;border-radius:0;overflow:auto}.agenda-workspace-v4 .agenda-col-head{position:sticky;top:0;z-index:4;min-height:62px;padding:11px 8px;background:#fff;border-bottom:1px solid #eceaf1}.agenda-workspace-v4 .agenda-box-col .agenda-col-head strong:before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#7540e8}.agenda-workspace-v4 .agenda-box-col:nth-child(3n+2) .agenda-col-head strong:before{background:#eb418d}.agenda-workspace-v4 .agenda-box-col:nth-child(3n+3) .agenda-col-head strong:before{background:#169878}.agenda-workspace-v4 .agenda-time-slot,.agenda-workspace-v4 .agenda-slot-free{height:42px;min-height:42px}.agenda-workspace-v4 .agenda-time-slot{padding:5px 8px;font-size:10px;color:#70788a;background:#fbfbfd}.agenda-workspace-v4 .agenda-slot-free{background:#fff}.agenda-workspace-v4 .agenda-event-card{position:relative;min-height:36px;margin:3px 6px;padding:7px 9px;border:0;border-left:3px solid #7540e8;border-radius:8px;background:#f5f1ff;box-shadow:none;overflow:hidden}.agenda-workspace-v4 .agenda-box-col:nth-child(3n+2) .agenda-event-card{border-left-color:#eb418d;background:#fff0f6}.agenda-workspace-v4 .agenda-box-col:nth-child(3n+3) .agenda-event-card{border-left-color:#169878;background:#eef9f6}.agenda-workspace-v4 .agenda-event-card strong{font-size:10px}.agenda-workspace-v4 .agenda-event-card small{font-size:9px}.agenda-workspace-v4 .agenda-event-card em{display:none}.agenda-workspace-v4 .event-mini-actions{position:absolute;right:4px;bottom:3px;margin:0;opacity:0;transition:.15s}.agenda-workspace-v4 .agenda-event-card:hover .event-mini-actions{opacity:1}.agenda-workspace-v4 .event-mini-actions a,.agenda-workspace-v4 .event-mini-actions button:not(:first-child){display:none}.agenda-side-panel-v4{position:sticky;top:14px;display:grid;gap:14px}.agenda-side-panel-v4 .clinessy-card{margin:0;padding:16px;border-radius:16px}.agenda-side-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.agenda-side-heading h3{margin:0;color:#171a2f;font-size:14px}.agenda-month-nav{display:flex;gap:4px}.agenda-month-nav a{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;color:#6331d5;text-decoration:none}.agenda-mini-week,.agenda-mini-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.agenda-mini-week span{padding:3px;color:#8a91a2;font-size:9px;font-weight:750}.agenda-mini-days a,.agenda-mini-days span{display:grid;place-items:center;height:28px;border-radius:50%;color:#4e5569;font-size:10px;text-decoration:none}.agenda-mini-days .is-other{color:#c0c4cf}.agenda-mini-days .is-selected{background:#7040e4;color:#fff;font-weight:800}.agenda-mini-days .is-today:not(.is-selected){box-shadow:inset 0 0 0 1px #7040e4;color:#6030ce}.agenda-day-summary{display:grid;gap:8px;margin:0;padding:0;list-style:none}.agenda-day-summary li{display:flex;align-items:center;gap:8px;color:#666e81;font-size:11px}.agenda-day-summary b{margin-left:auto;color:#202338}.agenda-summary-dot{width:8px;height:8px;border-radius:50%;background:#7842e8}.agenda-summary-dot.confirmed{background:#20a474}.agenda-summary-dot.pending{background:#f2a51a}.agenda-summary-dot.attended{background:#3187de}.agenda-summary-dot.absent{background:#ed4f5e}.agenda-summary-dot.cancelled{background:#a8adba}.agenda-next-list{display:grid;gap:8px}.agenda-next-item{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:8px;align-items:start;padding:9px;border-radius:10px;background:#faf9fd}.agenda-next-item>i{width:8px;height:8px;margin-top:4px;border-radius:50%;background:#7540e8}.agenda-next-item strong,.agenda-next-item small{display:block}.agenda-next-item strong{font-size:10px}.agenda-next-item small{margin-top:2px;color:#7d8495;font-size:9px}.agenda-next-item em{padding:4px 6px;border-radius:99px;background:#f0eaff;color:#6630d2;font-size:8px;font-style:normal}.agenda-side-empty{padding:14px;border-radius:10px;background:#f7f5fb;color:#777f91;font-size:11px;text-align:center}
body.clinessy-dark .agenda-calendar-head-v4 h2,body.clinessy-dark .agenda-side-heading h3{color:#f3f6fb}body.clinessy-dark .agenda-workspace-v4 .agenda-col-head{background:#172033}body.clinessy-dark .agenda-workspace-v4 .agenda-time-slot{background:#111a2a;color:#aab5c8}body.clinessy-dark .agenda-workspace-v4 .agenda-slot-free{background:#121c2d}body.clinessy-dark .agenda-workspace-v4 .agenda-event-card{background:#282142;color:#f4f0ff}body.clinessy-dark .agenda-workspace-v4 .agenda-box-col:nth-child(3n+2) .agenda-event-card{background:#3a2030}body.clinessy-dark .agenda-workspace-v4 .agenda-box-col:nth-child(3n+3) .agenda-event-card{background:#17342e}body.clinessy-dark .agenda-mini-days a{color:#d3d9e5}body.clinessy-dark .agenda-next-item,body.clinessy-dark .agenda-side-empty{background:#172033}body.clinessy-dark .agenda-day-summary b{color:#f0f4fa}.clinessy-gray .agenda-workspace-v4 .agenda-col-head,.clinessy-gray .agenda-next-item{background:#f5f6f8}
@media(max-width:1280px){.agenda-workspace-v4{grid-template-columns:minmax(0,1fr) 248px}}@media(max-width:1050px){.agenda-workspace-v4{grid-template-columns:1fr}.agenda-side-panel-v4{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.agenda-side-panel-v4{grid-template-columns:1fr}.agenda-workspace-v4 .agenda-day-grid{grid-template-columns:52px repeat(var(--agenda-columns,1),minmax(180px,1fr))}.agenda-calendar-head-v4{padding:14px}}

/* Agenda 1.0.4: ajustes finales para cantidades variables y panel lateral */
.agenda-workspace-v4 .agenda-day-grid{grid-template-columns:58px;grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr)}
.agenda-mini-calendar>header,.agenda-day-summary-v4>header,.agenda-next-list-v4>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.agenda-mini-calendar>header strong,.agenda-day-summary-v4 h3,.agenda-next-list-v4 h3{margin:0;color:#171a2f;font-size:14px}.agenda-mini-calendar>header nav{display:flex;gap:4px}.agenda-mini-calendar>header nav a{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;color:#6331d5;text-decoration:none}.agenda-mini-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.agenda-mini-weekdays span{padding:3px;color:#8a91a2;font-size:9px;font-weight:750}.agenda-day-summary-v4 ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.agenda-day-summary-v4 li{display:flex;align-items:center;gap:8px;color:#666e81;font-size:11px}.agenda-day-summary-v4 li>span{display:flex;align-items:center;gap:8px}.agenda-day-summary-v4 li>b{margin-left:auto;color:#202338}.agenda-day-summary-v4 li i{width:8px;height:8px;border-radius:50%;background:#7842e8}.agenda-day-summary-v4 li i.confirmed{background:#20a474}.agenda-day-summary-v4 li i.pending{background:#f2a51a}.agenda-day-summary-v4 li i.attended{background:#3187de}.agenda-day-summary-v4 li i.no-show{background:#ed4f5e}.agenda-day-summary-v4 li i.cancelled{background:#a8adba}.agenda-day-summary-v4 header a,.agenda-next-list-v4 header a{color:#7040e4;font-size:9px;font-weight:750;text-decoration:none}.agenda-next-list-v4>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px;border-radius:10px;background:#faf9fd;color:inherit;text-decoration:none}.agenda-next-list-v4>a+a{margin-top:8px}.agenda-next-list-v4>a strong,.agenda-next-list-v4>a small{display:block}.agenda-next-list-v4>a strong{font-size:10px}.agenda-next-list-v4>a small{margin-top:2px;color:#7d8495;font-size:9px}.agenda-next-list-v4>a em{align-self:center;padding:4px 6px;border-radius:99px;background:#f0eaff;color:#6630d2;font-size:8px;font-style:normal}
body.clinessy-dark .agenda-mini-calendar>header strong,body.clinessy-dark .agenda-day-summary-v4 h3,body.clinessy-dark .agenda-next-list-v4 h3,body.clinessy-dark .agenda-day-summary-v4 li>b{color:#f3f6fb}body.clinessy-dark .agenda-next-list-v4>a{background:#172033}.clinessy-gray .agenda-next-list-v4>a{background:#f5f6f8}

/* Agenda lateral: navegación mensual independiente y fecha activa visible. */
.agenda-mini-calendar .agenda-mini-calendar-head{display:flex;align-items:center;justify-content:space-between;margin:-4px -4px 12px;padding:8px;border-radius:12px;background:#f8f6fd}.agenda-mini-calendar-head>div{min-width:0}.agenda-mini-calendar-head strong,.agenda-mini-calendar-head small{display:block}.agenda-mini-calendar-head strong{color:#171a2f;font-size:14px;line-height:1.2}.agenda-mini-calendar-head small{margin-top:3px;color:#777f91;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agenda-mini-calendar-head nav{display:flex;flex:0 0 auto;gap:5px}.agenda-mini-calendar-head nav a{display:grid;place-items:center;width:30px;height:30px;border:1px solid #e4def1;border-radius:9px;background:#fff;color:#6331d5;text-decoration:none;transition:.15s ease}.agenda-mini-calendar-head nav a:hover{border-color:#7040e4;background:#f1ebff}.agenda-mini-calendar-head nav .dashicons{width:16px;height:16px;font-size:16px;line-height:16px}.agenda-mini-calendar .agenda-mini-days a{position:relative}.agenda-mini-calendar .agenda-mini-days .is-selected{background:#7040e4;color:#fff;box-shadow:0 4px 10px rgba(112,64,228,.28);font-weight:850}.agenda-mini-calendar .agenda-mini-days .is-selected:after{content:"";position:absolute;bottom:3px;width:3px;height:3px;border-radius:50%;background:#fff}.agenda-mini-return{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;padding:8px;border-radius:9px;background:#f4efff;color:#6331d5;font-size:9px;font-weight:750;text-decoration:none}.agenda-mini-return .dashicons{width:14px;height:14px;font-size:14px}.agenda-mini-return:hover{background:#ebe2ff;color:#5425c4}body.clinessy-dark .agenda-mini-calendar .agenda-mini-calendar-head{background:#172033}body.clinessy-dark .agenda-mini-calendar-head strong{color:#f3f6fb}body.clinessy-dark .agenda-mini-calendar-head small{color:#aab5c8}body.clinessy-dark .agenda-mini-calendar-head nav a{border-color:#344057;background:#111a2a;color:#bda6ff}body.clinessy-dark .agenda-mini-return{background:#27203f;color:#c4b1ff}
@media(max-width:760px){.agenda-workspace-v4 .agenda-day-grid{grid-template-columns:52px;grid-auto-columns:minmax(180px,1fr)}}

/* Backups 1.0 */
.clinessy-backups{display:grid;gap:20px}.backup-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:24px;background:linear-gradient(120deg,#f2edff 0%,#fbf7ff 56%,#eaf8f3 100%);border:1px solid #e5dcf6}.backup-hero>div{display:flex;align-items:center;gap:18px}.backup-hero>div>.dashicons{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#6d2be8,#df2fae);font-size:28px;box-shadow:0 12px 25px rgba(109,43,232,.2)}.backup-hero h2,.backup-section-card h3,.backup-history h3{margin:0;color:#15172d}.backup-hero p,.backup-section-card p,.backup-history p{margin:5px 0 0;color:#747b91}.backup-hero .button{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 22px;border-radius:14px}.backup-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.backup-kpis article{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #e8e8f0;border-radius:18px;background:#fff;box-shadow:0 9px 24px rgba(26,25,55,.05)}.backup-kpis article>.dashicons{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#f1eaff;color:#7335e7}.backup-kpis small,.backup-kpis strong{display:block}.backup-kpis small{color:#858b9d;margin-bottom:4px}.backup-kpis strong{font-size:16px;color:#191b31}.backup-kpis .is-ok{color:#1a8e63}.backup-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:18px}.backup-section-card{padding:24px!important}.backup-section-card>header{display:flex;gap:13px;align-items:center;margin-bottom:22px}.backup-section-card>header>.dashicons{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f1eaff;color:#7335e7}.backup-choice-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:12px}.backup-choice-heading label{font-weight:600;color:#6e31df}.backup-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.backup-choice-grid label{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid #e6e2ee;border-radius:13px;background:#fbfbfd;cursor:pointer}.backup-choice-grid .dashicons{color:#7437df}.backup-full-option{display:flex;gap:12px;margin:16px 0;padding:14px;border-radius:13px;background:#f5f0ff;color:#5e4f79}.backup-full-option p{font-size:12px}.backup-create-button{width:100%;justify-content:center;display:flex!important;align-items:center;gap:7px;min-height:46px}.backup-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid #e7e4ee;border-radius:14px}.backup-switch strong,.backup-switch small{display:block}.backup-switch small{margin-top:3px;color:#82889a}.backup-switch input{position:absolute;opacity:0}.backup-switch i{width:48px;height:28px;border-radius:99px;background:#ced2dd;position:relative;transition:.2s}.backup-switch i:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.2s}.backup-switch input:checked+i{background:#7335e7}.backup-switch input:checked+i:after{transform:translateX(20px)}.backup-setting-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.backup-setting-fields label:last-child{grid-column:1/-1}.backup-setting-fields label{font-weight:600;color:#303248}.backup-setting-fields input,.backup-setting-fields select{width:100%;margin-top:6px}.backup-security-notice{display:flex;align-items:center;gap:15px;padding:17px 20px;border:1px solid #f1d898;border-radius:16px;background:#fff9e9;color:#6a5421}.backup-security-notice>.dashicons{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#fff0bd;color:#aa7a08}.backup-security-notice p{margin:3px 0 0}.backup-history{padding:0!important;overflow:hidden}.backup-history-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px}.backup-history-heading>span{padding:7px 11px;border-radius:99px;background:#f1eaff;color:#7131df;font-weight:700}.backup-history td:first-child strong,.backup-history td:first-child small{display:block}.backup-history td:first-child small{margin-top:3px;color:#9296a5;font-size:11px}.backup-type{display:inline-flex;padding:6px 10px;border-radius:99px;background:#f0ebff;color:#7131df;font-weight:700}.backup-status{display:inline-flex;align-items:center;gap:7px;color:#18875f;font-weight:700}.backup-status i{width:8px;height:8px;border-radius:50%;background:#28b47d}.backup-history .button{display:inline-flex;align-items:center;gap:5px}.backup-empty{padding:35px;text-align:center;color:#858b9b}.backup-empty .dashicons{font-size:32px;width:32px;height:32px;color:#7a3ee8}.backup-empty strong{display:block;color:#2a2d40;margin:8px}.backup-empty p{margin:0}@media(max-width:1100px){.backup-kpis{grid-template-columns:1fr 1fr}.backup-grid{grid-template-columns:1fr}}@media(max-width:680px){.backup-hero{align-items:stretch;flex-direction:column}.backup-hero .button{width:100%;justify-content:center}.backup-kpis,.backup-choice-grid,.backup-setting-fields{grid-template-columns:1fr}.backup-setting-fields label:last-child{grid-column:auto}}

/* Clinessy Core 2.1.18: contraste correcto en botones de copias de seguridad. */
.clinessy-backups .backup-hero .button.button-primary,
.clinessy-backups .backup-create-button.button-primary{
  color:#fff!important;
}
.clinessy-backups .backup-hero .button.button-primary .dashicons,
.clinessy-backups .backup-create-button.button-primary .dashicons{
  color:#fff!important;
}

/* Clinessy Core 2.1.19: selector de boxes visibles en agenda diaria. */
.agenda-filter-fields .agenda-visible-boxes{
  grid-column:1/-1!important;
  margin:0!important;
  padding:12px!important;
  border:1px solid #e4dcf2!important;
  border-radius:12px!important;
  background:#fbf9ff!important;
}
.agenda-filter-fields .agenda-visible-boxes legend{
  padding:0 6px!important;
  color:#2a2540!important;
  font-size:12px!important;
  font-weight:950!important;
}
.agenda-filter-fields .agenda-visible-boxes>div{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:4px!important;
}
.agenda-filter-fields .agenda-visible-boxes label{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:34px!important;
  padding:7px 9px!important;
  border:1px solid #e8e1f2!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#374151!important;
  font-size:12px!important;
  font-weight:850!important;
}
.agenda-filter-fields .agenda-visible-boxes input{
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  accent-color:#7442e8!important;
}
.agenda-filter-fields .agenda-visible-boxes small{
  display:block!important;
  margin-top:8px!important;
  color:#7a8497!important;
  font-size:11px!important;
  font-weight:750!important;
}
@media(max-width:760px){
  .agenda-filter-fields .agenda-visible-boxes>div{
    grid-template-columns:1fr!important;
  }
}

/* Clinessy Core 2.1.21: evita que el panel de filtros quede recortado. */
.agenda-page-modern .agenda-topbar,
.agenda-page-modern .agenda-control-panel,
.agenda-page-modern .agenda-toolbar-v3,
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover{
  overflow:visible!important;
}
.agenda-page-modern .agenda-topbar,
.agenda-page-modern .agenda-control-panel{
  position:relative!important;
  z-index:1000!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover[open]{
  z-index:10020!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover[open] .agenda-filter-fields{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  position:absolute!important;
  top:calc(100% + 10px)!important;
  right:0!important;
  z-index:10030!important;
  width:min(560px,calc(100vw - 48px))!important;
  max-height:70vh!important;
  overflow:auto!important;
}
/* Clinessy Core 1.0.7 — encuadre de etiquetas del dashboard */
.clinessy-dashboard-modern .modern-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.clinessy-dashboard-modern .modern-kpi{grid-template-columns:60px minmax(0,1fr) auto!important;gap:16px!important;min-height:118px!important;padding:20px!important}
.clinessy-dashboard-modern .modern-kpi-icon{width:60px!important;height:60px!important;border-radius:19px!important}
.clinessy-dashboard-modern .modern-kpi>div{display:flex!important;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important}
.clinessy-dashboard-modern .modern-kpi small{display:block!important;width:100%!important;margin:0 0 5px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important}
.clinessy-dashboard-modern .modern-kpi strong{display:block!important;margin:0 0 5px!important;line-height:1!important}
.clinessy-dashboard-modern .modern-kpi em{display:block!important;width:100%!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important}
.modern-kpi.rose .modern-kpi-icon{background:#ffe7ed;color:#e83e6f}
body.clinessy-dark .modern-kpi.rose .modern-kpi-icon,.clinessy-app.dark .modern-kpi.rose .modern-kpi-icon{background:rgba(232,62,111,.18)!important;color:#fb7197!important}
@media(max-width:1180px){.clinessy-dashboard-modern .modern-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.clinessy-dashboard-modern .modern-kpi-row{grid-template-columns:1fr!important}.clinessy-dashboard-modern .modern-kpi{grid-template-columns:52px minmax(0,1fr) auto!important;padding:17px!important}.clinessy-dashboard-modern .modern-kpi-icon{width:52px!important;height:52px!important;border-radius:16px!important}}

/* Clinessy Core 2.0.9 — dashboard operativo limpio */
.clinessy-dashboard-modern{display:grid!important;gap:14px!important;padding-top:0!important}
.clinessy-dashboard-modern .modern-topline{margin:0 0 2px!important}
.clinessy-dashboard-modern .modern-top-actions{display:none!important}
.clinessy-dashboard-modern .modern-topline h2{font-size:25px!important;line-height:1.15!important;letter-spacing:0!important}
.clinessy-dashboard-modern .modern-topline p{font-size:12px!important;font-weight:750!important}
.clinessy-dashboard-modern .modern-kpi-row{grid-template-columns:repeat(6,minmax(145px,1fr))!important;gap:12px!important;margin:0!important}
.clinessy-dashboard-modern .modern-kpi{grid-template-columns:44px minmax(0,1fr)!important;min-height:94px!important;gap:11px!important;padding:14px!important;border-radius:16px!important}
.clinessy-dashboard-modern .modern-kpi:after{width:56px!important;height:18px!important;right:12px!important;bottom:10px!important}
.clinessy-dashboard-modern .modern-kpi-icon{width:44px!important;height:44px!important;border-radius:14px!important}
.clinessy-dashboard-modern .modern-kpi-icon .dashicons{width:22px!important;height:22px!important;font-size:22px!important}
.clinessy-dashboard-modern .modern-kpi small{font-size:9px!important;line-height:1.2!important}
.clinessy-dashboard-modern .modern-kpi strong{font-size:20px!important;line-height:1.05!important;margin:3px 0!important}
.clinessy-dashboard-modern .modern-kpi em{font-size:11px!important;line-height:1.25!important}
.clinessy-dashboard-modern .modern-ring{display:none!important}
.clinessy-dashboard-modern .modern-cash-state{grid-template-columns:minmax(0,1.4fr) minmax(270px,.6fr)!important;gap:12px!important;margin:0!important}
.clinessy-dashboard-modern .modern-cash-strip,.clinessy-dashboard-modern .modern-operational,.clinessy-dashboard-modern .modern-card,.clinessy-dashboard-modern .modern-footer-strip,.clinessy-dashboard-modern .modern-next-step{border-radius:16px!important;box-shadow:0 10px 24px rgba(15,23,42,.04)!important}
.clinessy-dashboard-modern .modern-main-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;margin:0!important}
.clinessy-dashboard-modern .modern-right-col{grid-column:1/-1!important;grid-template-columns:1fr 1fr!important;gap:14px!important}
.clinessy-dashboard-modern .modern-lower-grid{grid-template-columns:1fr 1fr 1fr!important;gap:14px!important;margin:0!important}
.clinessy-dashboard-modern .modern-footer-strip{margin-top:0!important}
.modern-next-step{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;border:1px solid #dcefe5;background:linear-gradient(135deg,#effdf6,#fbf7ff);color:#142238}
.modern-next-step>.dashicons{display:grid;width:46px;height:46px;place-items:center;border-radius:15px;background:#dff7eb;color:#0c8754;font-size:24px}
.modern-next-step small,.modern-next-step strong,.modern-next-step p{display:block;margin:0}
.modern-next-step small{text-transform:uppercase;letter-spacing:.08em;color:#657085;font-size:10px;font-weight:950}
.modern-next-step strong{margin-top:2px;color:#12203a;font-size:17px;line-height:1.15}
.modern-next-step p{margin-top:3px;color:#667085;font-size:12px;font-weight:750}
.modern-next-step a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:11px;background:#0b4f3d;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;white-space:nowrap}
.modern-empty-action{display:grid!important;gap:6px!important;text-align:left!important}
.modern-empty-action strong{color:#18243a;font-size:13px}
.modern-empty-action span{color:#667085;font-size:12px}
.modern-empty-action .button{justify-self:start!important;min-height:34px!important;border-radius:10px!important;background:#0b4f3d!important;border-color:#0b4f3d!important;color:#fff!important;font-weight:850!important}
@media(max-width:1500px){
  .clinessy-dashboard-modern .modern-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .clinessy-dashboard-modern .modern-cash-state,.clinessy-dashboard-modern .modern-main-grid,.clinessy-dashboard-modern .modern-lower-grid{grid-template-columns:1fr!important}
  .clinessy-dashboard-modern .modern-right-col{grid-template-columns:1fr 1fr!important}
}
@media(max-width:900px){
  .clinessy-dashboard-modern .modern-kpi-row,.clinessy-dashboard-modern .modern-right-col{grid-template-columns:1fr!important}
  .modern-next-step{grid-template-columns:1fr!important}
  .modern-next-step a{width:100%}
}
/* Clinessy Core 2.0.4 — agenda diaria visual */
.agenda-workspace-v4 .agenda-day-shell{overflow-x:auto!important;overflow-y:hidden!important}
.agenda-workspace-v4 .agenda-day-grid{position:relative!important;display:grid!important;grid-template-columns:64px repeat(var(--agenda-columns),minmax(250px,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:unset!important;min-width:var(--agenda-grid-min)!important;max-height:none!important;min-height:0!important;overflow:visible!important;border:0!important}
.agenda-workspace-v4 .agenda-time-col,.agenda-workspace-v4 .agenda-box-col{display:grid!important;grid-template-rows:56px repeat(var(--agenda-slot-count),var(--agenda-slot-height,30px))!important;min-width:0!important;border-right:1px solid #eceaf2}
.agenda-workspace-v4 .agenda-box-col{position:relative!important}
.agenda-workspace-v4 .agenda-time-col{position:sticky!important;left:0;z-index:15;background:#fbfbfd}
.agenda-workspace-v4 .agenda-col-head{position:sticky!important;top:0;z-index:12;display:flex;flex-direction:column;align-items:center;justify-content:center;height:56px!important;min-height:56px!important;padding:6px!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e8e6ef!important;box-sizing:border-box}
.agenda-workspace-v4 .agenda-time-col .agenda-col-head{z-index:18}
.agenda-workspace-v4 .agenda-col-head strong{font-size:13px}.agenda-workspace-v4 .agenda-col-head small{font-size:10px;color:#8b90a0}
.agenda-workspace-v4 .agenda-time-slot,.agenda-workspace-v4 .agenda-slot-free{height:var(--agenda-slot-height,30px)!important;min-height:var(--agenda-slot-height,30px)!important;box-sizing:border-box}
.agenda-workspace-v4 .agenda-time-slot{display:flex;align-items:flex-start;justify-content:center;padding:3px 4px 0!important;border-bottom:1px solid #eeeae3;background:#fbfbfd!important;color:#aeb5c2!important;font-size:9px;font-variant-numeric:tabular-nums}
.agenda-workspace-v4 .agenda-time-slot.is-hour{color:#3f4859!important;font-weight:850}
.agenda-workspace-v4 .agenda-time-slot.is-half{color:#7f8899!important;font-weight:700}
.agenda-workspace-v4 .agenda-time-slot.is-quarter{color:#aeb5c2!important;font-weight:600}
.agenda-workspace-v4 .agenda-slot-free{position:relative;grid-row:span var(--agenda-event-span,1)!important;align-self:stretch!important;height:auto!important;border:0!important;border-bottom:1px solid #f2f0f5!important;background:#fff!important;color:#7240df!important;border-radius:0!important}
.agenda-workspace-v4 .agenda-slot-free.is-hour{border-bottom-color:#ded8cf!important}
.agenda-workspace-v4 .agenda-slot-free.is-half{border-bottom-color:#ebe6df!important}
.agenda-workspace-v4 .agenda-slot-free span{opacity:0;font-size:10px;font-weight:700}
.agenda-workspace-v4 .agenda-slot-free:hover{background:#faf7ff!important}
.agenda-workspace-v4 .agenda-slot-free:hover span{opacity:1}
.agenda-workspace-v4 .agenda-event-card{position:relative!important;grid-row:span var(--agenda-event-span,1)!important;align-self:stretch!important;margin:2px 8px!important;padding:4px 22px 4px 14px!important;height:auto!important;min-height:24px!important;border:0!important;border-radius:7px!important;background:#f5f0ff!important;box-shadow:none!important;overflow:hidden!important}
.agenda-workspace-v4 .agenda-event-layer{position:absolute!important;left:0!important;right:0!important;top:56px!important;bottom:0!important;z-index:22!important;pointer-events:none!important}
.agenda-workspace-v4 .agenda-event-position{position:absolute!important;top:var(--agenda-event-top)!important;left:calc((100% / var(--agenda-overlap-count,1)) * var(--agenda-overlap-index,0) + 7px)!important;width:calc((100% / var(--agenda-overlap-count,1)) - 12px)!important;height:var(--agenda-event-height)!important;min-width:0!important;z-index:3!important;pointer-events:auto!important}
.agenda-workspace-v4 .agenda-event-position-compact{top:var(--agenda-event-top)!important;left:calc((100% / var(--agenda-overlap-count,1)) * var(--agenda-overlap-index,0) + 5px)!important;width:calc((100% / var(--agenda-overlap-count,1)) - 8px)!important;z-index:3!important}
.agenda-workspace-v4 .agenda-event-position-compact .agenda-event-card{padding:3px 6px!important;border-radius:7px!important}
.agenda-workspace-v4 .agenda-event-position-compact .event-time{font-size:10px!important;line-height:1.05!important;white-space:normal!important}
.agenda-workspace-v4 .agenda-event-position-compact .event-client{gap:4px!important}
.agenda-workspace-v4 .agenda-event-position-compact .event-client span{font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.agenda-workspace-v4 .agenda-event-position-compact .agenda-status-trigger{position:absolute!important;right:5px!important;bottom:4px!important;max-width:calc(100% - 10px)!important;font-size:8px!important;padding:1px 5px!important}
.agenda-workspace-v4 .agenda-event-position .agenda-event-card{height:100%!important;margin:0!important;min-width:0!important;padding-right:15px!important;z-index:4!important;cursor:pointer!important;pointer-events:auto!important}
.agenda-workspace-v4 .agenda-event-position .agenda-event-card *{pointer-events:auto!important}
.agenda-workspace-v4 .agenda-event-position .event-client span,.agenda-workspace-v4 .agenda-event-position .event-service{font-size:9px!important}
.agenda-workspace-v4 .agenda-event-position .agenda-status-trigger{max-width:100%!important;min-width:0!important;padding:2px 6px!important}
.agenda-workspace-v4 .agenda-overlap-stack{display:grid!important;grid-template-columns:repeat(var(--agenda-overlap-count,1),minmax(0,1fr))!important;gap:5px!important;grid-row:span var(--agenda-event-span,1)!important;align-self:stretch!important;min-width:0!important;padding:2px 8px!important;box-sizing:border-box!important}
.agenda-workspace-v4 .agenda-overlap-stack .agenda-event-card{height:100%!important;min-width:0!important;margin:0!important;padding-right:15px!important}
.agenda-workspace-v4 .agenda-overlap-stack .event-client span,.agenda-workspace-v4 .agenda-overlap-stack .event-service{font-size:9px!important}
.agenda-workspace-v4 .agenda-overlap-stack .agenda-status-trigger{max-width:100%!important;min-width:0!important;padding:2px 6px!important}
.agenda-workspace-v4 .agenda-event-card::before{content:"";position:absolute;left:7px;top:8px;width:5px;height:5px;border-radius:50%;background:#20a474}
.agenda-workspace-v4 .agenda-tone-2 .agenda-event-card{background:#fff0f6!important}
.agenda-workspace-v4 .agenda-tone-3 .agenda-event-card{background:#edf9f5!important}
.agenda-workspace-v4 .agenda-event-card.status-new,.agenda-workspace-v4 .agenda-event-card.status-pending,.agenda-workspace-v4 .agenda-event-card.status-scheduled{background:#fff6e7!important;border-left:4px solid #f08a0b!important}
.agenda-workspace-v4 .agenda-event-card.status-confirmed{background:#eaf8f3!important;border-left:4px solid #169878!important}
.agenda-workspace-v4 .agenda-event-card.status-arrived{background:#f3f5fa!important;border-left:4px solid #667085!important}
.agenda-workspace-v4 .agenda-event-card.status-in_progress{background:#fff7df!important;border-left:4px solid #d99000!important}
.agenda-workspace-v4 .agenda-event-card.status-attended,.agenda-workspace-v4 .agenda-event-card.status-sold{background:#eef5ff!important;border-left:4px solid #2f7bdc!important}
.agenda-workspace-v4 .agenda-event-card.status-no_show,.agenda-workspace-v4 .agenda-event-card.status-cancelled,.agenda-workspace-v4 .agenda-event-card.status-suspended{background:#fff0f3!important;border-left:4px solid #ef4b65!important}
.agenda-workspace-v4 .agenda-event-card.status-pending::before,.agenda-workspace-v4 .agenda-event-card.status-scheduled::before{background:#f1a51a}
.agenda-workspace-v4 .agenda-event-card.status-confirmed::before{background:#169878}
.agenda-workspace-v4 .agenda-event-card.status-arrived::before{background:#667085}
.agenda-workspace-v4 .agenda-event-card.status-in_progress::before{background:#d99000}
.agenda-workspace-v4 .agenda-event-card.status-attended::before,.agenda-workspace-v4 .agenda-event-card.status-sold::before{background:#2f7bdc}
.agenda-workspace-v4 .agenda-event-card.status-no_show::before,.agenda-workspace-v4 .agenda-event-card.status-cancelled::before,.agenda-workspace-v4 .agenda-event-card.status-suspended::before{background:#ef4b65}
.agenda-workspace-v4 .event-time-row{display:flex;align-items:center;gap:4px;color:#7540e8;font-size:8.5px;font-weight:800;line-height:1}
.agenda-workspace-v4 .event-time-row i{margin-left:auto;font-style:normal}
.agenda-workspace-v4 .event-client,.agenda-workspace-v4 .event-service{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agenda-workspace-v4 .event-client{font-size:9px;line-height:1.1;color:#1e2740}
.agenda-workspace-v4 .event-service{font-size:8.5px;line-height:1.1;color:#596074}
.agenda-workspace-v4 .agenda-now-line{position:absolute!important;top:var(--agenda-now-top);left:0;right:0;height:2px;background:#ff416c;z-index:30;pointer-events:none}
.agenda-workspace-v4 .agenda-now-line::after{content:"";position:absolute;right:-1px;top:-2px;width:6px;height:6px;border-radius:50%;background:#ff416c}
.agenda-workspace-v4 .agenda-now-line span{position:sticky;left:6px;display:inline-flex;transform:translateY(-10px);padding:2px 5px;border-radius:4px;background:#ff416c;color:#fff;font-size:9px;font-weight:800}
body.clinessy-dark .agenda-workspace-v4 .agenda-col-head{background:#172033!important;color:#f3f6fb}
body.clinessy-dark .agenda-workspace-v4 .agenda-time-col,body.clinessy-dark .agenda-workspace-v4 .agenda-time-slot,body.clinessy-dark .agenda-workspace-v4 .agenda-slot-free{background:#111a2a!important;border-color:#29354a!important}
body.clinessy-dark .agenda-workspace-v4 .event-client{color:#f3f6fb}
body.clinessy-dark .agenda-workspace-v4 .event-service{color:#aeb8ca}
body.clinessy-gray .agenda-workspace-v4 .agenda-col-head{background:#f5f6f8!important}
body.clinessy-gray .agenda-workspace-v4 .agenda-time-col,body.clinessy-gray .agenda-workspace-v4 .agenda-time-slot,body.clinessy-gray .agenda-workspace-v4 .agenda-slot-free{background:#f0f1f3!important}

/* Clinessy Core 2.0.34 - barra compacta de agenda */
.agenda-page-modern .agenda-control-panel{position:sticky!important;top:10px!important;z-index:45!important;margin:0 0 16px!important;padding:14px 16px!important;overflow:visible!important;border:1px solid #e8e6eb!important;border-radius:16px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 10px 28px rgba(24,31,42,.08)!important;backdrop-filter:blur(14px)}
.agenda-page-modern .agenda-toolbar-v3{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;width:100%}
.agenda-toolbar-v3 .agenda-date-navigation,.agenda-toolbar-v3 .agenda-mode-segment,.agenda-toolbar-v3 .agenda-view-segment{display:flex!important;align-items:center!important;gap:2px!important;flex:0 0 auto;padding:3px!important;border:1px solid #e3e0e7!important;border-radius:10px!important;background:#f7f5f1!important;box-sizing:border-box}
.agenda-toolbar-v3 .agenda-date-navigation{gap:0!important;background:#fff!important}
.agenda-toolbar-v3 .agenda-date-navigation input{width:142px!important;min-width:142px!important;height:40px!important;padding:0 8px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#172033!important;font-weight:800!important;text-align:center!important}
.agenda-toolbar-v3 .button,.agenda-toolbar-v3 .agenda-filter-popover summary{height:40px!important;min-height:40px!important;border-radius:8px!important;box-sizing:border-box!important;font-weight:800!important;text-decoration:none!important}
.agenda-toolbar-v3 .agenda-arrow{width:36px!important;min-width:36px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#263142!important;font-size:23px!important}
.agenda-toolbar-v3 .agenda-today{padding:0 12px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#263142!important}
.agenda-toolbar-v3 .agenda-mode-segment .button,.agenda-toolbar-v3 .agenda-view-segment .button{min-width:82px!important;padding:0 16px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#41485a!important}
.agenda-toolbar-v3 .agenda-view-segment .button{min-width:105px!important}
.agenda-toolbar-v3 .agenda-mode-segment .button-primary,.agenda-toolbar-v3 .agenda-view-segment .button-primary{background:#7442e8!important;color:#fff!important;box-shadow:0 4px 10px rgba(116,66,232,.22)!important}
.agenda-toolbar-v3 .agenda-branch-select{position:relative;display:flex!important;align-items:center!important;flex:0 1 240px;min-width:190px;height:46px;padding-left:40px;border:1px solid #e3e0e7;border-radius:10px;background:#fff;box-sizing:border-box}
.agenda-toolbar-v3 .agenda-branch-select>.dashicons{position:absolute;left:13px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:#535b6d;font-size:18px;pointer-events:none}
.agenda-toolbar-v3 .agenda-branch-select select{width:100%!important;min-width:0!important;height:44px!important;padding:0 36px 0 0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#172033!important;font-weight:800!important}
.agenda-toolbar-v3 .agenda-filter-popover{position:relative!important;margin-left:auto!important;flex:0 0 auto}
.agenda-toolbar-v3 .agenda-filter-popover summary{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 16px!important;border:1px solid #dedbe2!important;background:#fff!important;color:#302b43!important;cursor:pointer!important;white-space:nowrap!important}
.agenda-toolbar-v3 .agenda-filter-popover[open] summary{border-color:#7442e8!important;color:#6534d7!important}
.agenda-toolbar-v3 .agenda-primary-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:180px!important;padding:0 18px!important;border:1px solid #07513f!important;background:#07513f!important;color:#fff!important;box-shadow:0 8px 18px rgba(7,81,63,.18)!important;white-space:nowrap!important}
.agenda-toolbar-v3 .agenda-primary-action:hover{background:#063f32!important;border-color:#063f32!important}
body.clinessy-dark .agenda-page-modern .agenda-control-panel{border-color:#2a3547!important;background:rgba(18,27,43,.96)!important}
body.clinessy-dark .agenda-toolbar-v3 .agenda-date-navigation,body.clinessy-dark .agenda-toolbar-v3 .agenda-mode-segment,body.clinessy-dark .agenda-toolbar-v3 .agenda-view-segment,body.clinessy-dark .agenda-toolbar-v3 .agenda-branch-select,body.clinessy-dark .agenda-toolbar-v3 .agenda-filter-popover summary{border-color:#354157!important;background:#172238!important;color:#f2f5fa!important}
body.clinessy-dark .agenda-toolbar-v3 .agenda-date-navigation input,body.clinessy-dark .agenda-toolbar-v3 .agenda-branch-select select,body.clinessy-dark .agenda-toolbar-v3 .agenda-arrow,body.clinessy-dark .agenda-toolbar-v3 .agenda-today,body.clinessy-dark .agenda-toolbar-v3 .agenda-mode-segment .button,body.clinessy-dark .agenda-toolbar-v3 .agenda-view-segment .button{color:#f2f5fa!important}
@media(max-width:1250px){.agenda-page-modern .agenda-toolbar-v3{display:grid!important;grid-template-columns:minmax(260px,1.4fr) minmax(170px,1fr) minmax(210px,1fr) minmax(190px,1fr) auto auto!important}.agenda-toolbar-v3 .agenda-filter-popover{margin-left:0!important}.agenda-toolbar-v3 .agenda-branch-select{width:100%;min-width:0}.agenda-toolbar-v3 .agenda-primary-action{min-width:160px!important}}
@media(max-width:900px){.agenda-page-modern .agenda-control-panel{top:8px!important;padding:10px!important}.agenda-page-modern .agenda-toolbar-v3{grid-template-columns:1fr 1fr!important;gap:8px!important}.agenda-toolbar-v3 .agenda-date-navigation{grid-column:1/-1}.agenda-toolbar-v3 .agenda-date-navigation input{width:auto!important;min-width:0!important;flex:1}.agenda-toolbar-v3 .agenda-mode-segment .button,.agenda-toolbar-v3 .agenda-view-segment .button{flex:1!important;min-width:0!important}.agenda-toolbar-v3 .agenda-branch-select{grid-column:1/-1}.agenda-toolbar-v3 .agenda-filter-popover{position:static!important}.agenda-toolbar-v3 .agenda-filter-popover summary,.agenda-toolbar-v3 .agenda-primary-action{width:100%!important;min-width:0!important}.agenda-toolbar-v3 .agenda-filter-fields{left:10px!important;right:10px!important;top:auto!important;width:auto!important;grid-template-columns:1fr!important}}
@media(max-width:760px){.agenda-workspace-v4 .agenda-day-grid{grid-template-columns:52px repeat(var(--agenda-columns),minmax(210px,1fr))!important}}

/* Clinessy Core 2.0.4 — asistente visible dentro del panel */
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-page,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-page{
  min-height:100vh!important;
  margin:0!important;
  padding:24px!important;
  overflow:visible!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-shell,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-shell{
  width:min(1720px,100%)!important;
  min-height:0!important;
  overflow:visible!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-main,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-main{
  min-width:0!important;
  padding-bottom:24px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-actions,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-actions{
  position:sticky!important;
  bottom:0!important;
  z-index:20!important;
  margin:24px -27px -25px!important;
  padding:16px 27px!important;
  background:rgba(255,255,255,.98)!important;
  border-top:1px solid #eceaf1!important;
  box-shadow:0 -12px 30px rgba(17,26,59,.08)!important;
}
@media(max-width:900px){
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-page,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-page{padding:12px!important}
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-actions,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-actions{margin:20px -15px -18px!important;padding:14px 15px!important}
}

/* Clinessy Core 2.0.5 — botón de avance siempre visible en /panel/ */
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-form,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-form{
  padding-bottom:108px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-actions,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-actions{
  position:fixed!important;
  left:calc(50% + 135px)!important;
  right:calc((100vw - min(1720px,100vw))/2 + 28px)!important;
  bottom:18px!important;
  z-index:2147483001!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  min-height:70px!important;
  margin:0!important;
  padding:14px 18px!important;
  border:1px solid #eceaf1!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 18px 48px rgba(17,26,59,.18)!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-actions .button,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-actions .button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-next,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-next{
  min-width:210px!important;
  color:#fff!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-next span,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-next span{
  color:#fff!important;
}
@media(max-width:900px){
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-form,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-form{padding-bottom:150px!important}
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-actions,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-actions{
    left:12px!important;
    right:12px!important;
    bottom:12px!important;
    flex-direction:column-reverse!important;
    align-items:stretch!important;
  }
}

/* Clinessy Core 2.0.7 — paso final proporcionado */
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-summary,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-summary{
  display:grid!important;
  gap:18px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid article,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid article{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-areas:"icon label" "icon title" "icon text" "icon link"!important;
  gap:3px 14px!important;
  align-items:start!important;
  min-height:118px!important;
  padding:18px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid article>span,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid article>span{
  grid-area:icon!important;
  position:static!important;
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  border-radius:12px!important;
  background:#f1eaff!important;
  color:#7c3aed!important;
  font-size:22px!important;
  line-height:1!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid small,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid small{grid-area:label!important;line-height:1.2!important}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid strong,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid strong{grid-area:title!important;margin:0!important;font-size:18px!important;line-height:1.25!important}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid p,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid p{grid-area:text!important;margin:3px 0 8px!important;font-size:14px!important;line-height:1.35!important}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid a,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid a{grid-area:link!important;justify-self:start!important}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-admin-password,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-admin-password{
  margin-top:4px!important;
  padding:22px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-admin-password>header,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-admin-password>header{
  display:flex!important;
  align-items:flex-start!important;
  gap:12px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-admin-password-user,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-admin-password-user{
  margin:14px 0 18px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-admin-password-grid,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-admin-password-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-password-input,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-password-input{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 84px!important;
  gap:8px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-password-input .button,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-password-input .button{
  min-width:84px!important;
  padding:0!important;
  border-radius:10px!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-password-strength,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-password-strength{
  grid-template-columns:repeat(4,minmax(0,1fr)) minmax(180px,auto)!important;
}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-setup-ready,
body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-setup-ready{
  margin-top:6px!important;
  margin-bottom:88px!important;
  padding:18px 22px!important;
}
@media(max-width:1050px){
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid,
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-admin-password-grid,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-admin-password-grid{grid-template-columns:1fr!important}
}
@media(max-width:650px){
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-summary-grid article,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-summary-grid article{grid-template-columns:36px minmax(0,1fr)!important;padding:15px!important}
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-password-input,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-password-input{grid-template-columns:1fr!important}
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-password-input .button,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-password-input .button{width:100%!important}
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-password-strength,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-password-strength{grid-template-columns:repeat(4,1fr)!important}
body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-password-strength>strong,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-password-strength>strong{grid-column:1/-1!important;margin-left:0!important}
}

/* Clinessy Core 2.0.10 - dashboard movil optimizado */
@media(max-width:700px){
  body.clinessy-core-panel-page,
  body.clinessy-core-standalone-template{overflow-x:hidden!important;background:#f7f5fb!important}
  body.clinessy-core-panel-page .clinessy-app,
  body.clinessy-core-standalone-template .clinessy-app{display:block!important;min-width:0!important;overflow-x:hidden!important;background:#f7f5fb!important}
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{padding:18px 14px 96px!important;min-width:0!important}
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{display:grid!important;grid-template-columns:1fr auto!important;gap:12px!important;align-items:center!important;margin:0 0 18px!important;padding-top:4px!important}
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{grid-column:1!important;padding-left:82px!important;min-height:54px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important}
  body.clinessy-core-panel-page .clinessy-header h1,
  body.clinessy-core-standalone-template .clinessy-header h1{font-size:22px!important;line-height:1.05!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{max-width:210px!important;margin-top:4px!important;font-size:11px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{display:flex!important;grid-column:1/-1!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important}
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{grid-column:1/-1!important;order:1!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
  body.clinessy-core-panel-page .clinessy-global-search input,
  body.clinessy-core-standalone-template .clinessy-global-search input{height:46px!important;border-radius:18px!important;font-size:14px!important;box-shadow:0 8px 22px rgba(15,23,42,.055)!important}
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{order:2!important}
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{width:46px!important;height:46px!important;min-width:46px!important;border-radius:16px!important;padding:0!important;font-size:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  body.clinessy-core-panel-page .clinessy-refresh-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-refresh-button .dashicons{font-size:20px!important;width:20px!important;height:20px!important}
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{position:absolute!important;top:22px!important;right:14px!important;background:#fff!important;color:#112033!important;box-shadow:0 8px 24px rgba(15,23,42,.08)!important}
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{order:5!important;max-width:100%!important;width:100%!important;height:40px!important;box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding:10px 13px!important;font-size:12px!important}
  body.clinessy-core-panel-page .clinessy-last-updated,
  body.clinessy-core-standalone-template .clinessy-last-updated{order:6!important;width:100%!important;text-align:right!important;font-size:10px!important;color:#a0a6b4!important}
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{position:fixed!important;right:16px!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;z-index:99990!important;width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border-radius:20px!important;background:#064c37!important;color:#fff!important;box-shadow:0 14px 30px rgba(6,76,55,.28)!important;font-size:0!important}
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{font-size:30px!important;width:30px!important;height:30px!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern{gap:14px!important;padding:0!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-topline,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-topline{display:block!important;margin:0!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-topline h2,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-topline h2{font-size:27px!important;line-height:1.12!important;letter-spacing:0!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-topline p,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-topline p{font-size:12px!important;line-height:1.3!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-kpi-row,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-kpi,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-kpi{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;min-height:92px!important;padding:13px!important;border-radius:17px!important;gap:10px!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-kpi-icon,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-kpi-icon{width:38px!important;height:38px!important;border-radius:13px!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-kpi-icon .dashicons,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-kpi-icon .dashicons{font-size:20px!important;width:20px!important;height:20px!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-kpi small,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-kpi small{font-size:8px!important;line-height:1.15!important;letter-spacing:.07em!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-kpi strong,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-kpi strong{font-size:21px!important;margin:3px 0!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-kpi em,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-kpi em{font-size:10px!important;line-height:1.2!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-cash-strip,
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-operational,
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-card,
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-next-step,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-cash-strip,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-operational,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-card,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-next-step{padding:15px!important;border-radius:18px!important}
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-cash-state,
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-main-grid,
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-right-col,
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-lower-grid,
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-footer-strip,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-cash-state,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-main-grid,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-right-col,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-lower-grid,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-footer-strip{grid-template-columns:1fr!important;gap:12px!important}
  body.clinessy-core-panel-page .modern-cash-strip,
  body.clinessy-core-standalone-template .modern-cash-strip{display:grid!important;gap:14px!important}
  body.clinessy-core-panel-page .cash-branches,
  body.clinessy-core-standalone-template .cash-branches{grid-template-columns:1fr!important;gap:8px!important;margin:0!important}
  body.clinessy-core-panel-page .cash-branches span,
  body.clinessy-core-standalone-template .cash-branches span{border-left:0!important;border-top:1px solid #edf1f5!important;padding:11px 0 0!important}
  body.clinessy-core-panel-page .modern-next-step,
  body.clinessy-core-standalone-template .modern-next-step{grid-template-columns:42px minmax(0,1fr)!important}
  body.clinessy-core-panel-page .modern-next-step a,
  body.clinessy-core-standalone-template .modern-next-step a{grid-column:1/-1!important;width:100%!important;min-height:42px!important}
  body.clinessy-core-panel-page .modern-card-head,
  body.clinessy-core-standalone-template .modern-card-head{margin-bottom:12px!important}
  body.clinessy-core-panel-page .modern-card-head h3,
  body.clinessy-core-standalone-template .modern-card-head h3{font-size:15px!important;letter-spacing:.02em!important}
  body.clinessy-core-panel-page .citas-content,
  body.clinessy-core-standalone-template .citas-content{grid-template-columns:118px minmax(0,1fr)!important;gap:12px!important}
  body.clinessy-core-panel-page .modern-donut,
  body.clinessy-core-standalone-template .modern-donut{width:112px!important;height:112px!important}
  body.clinessy-core-panel-page .modern-donut:before,
  body.clinessy-core-standalone-template .modern-donut:before{inset:25px!important}
  body.clinessy-core-panel-page .modern-bars,
  body.clinessy-core-standalone-template .modern-bars{height:135px!important;gap:8px!important;padding:8px 0 0!important}
  body.clinessy-core-panel-page .modern-bars b,
  body.clinessy-core-standalone-template .modern-bars b{top:-24px!important;padding:4px 6px!important;font-size:10px!important}
  body.clinessy-core-panel-page .modern-empty-action .button,
  body.clinessy-core-standalone-template .modern-empty-action .button{width:100%!important;max-width:190px!important;justify-content:center!important}
  body.clinessy-core-panel-page .team-summary,
  body.clinessy-core-standalone-template .team-summary{grid-template-columns:repeat(2,1fr)!important}
  body.clinessy-core-panel-page .team-summary span:nth-child(2n),
  body.clinessy-core-standalone-template .team-summary span:nth-child(2n){border-right:0!important}
  body.clinessy-core-panel-page .branch-mini-list div,
  body.clinessy-core-standalone-template .branch-mini-list div{grid-template-columns:minmax(0,1fr) 72px 48px!important}
  body.clinessy-core-panel-page .modern-rank li,
  body.clinessy-core-standalone-template .modern-rank li{grid-template-columns:1fr auto!important;gap:8px!important}
  body.clinessy-core-panel-page .modern-rank li em,
  body.clinessy-core-standalone-template .modern-rank li em{display:none!important}
  body.clinessy-core-panel-page .conversion-box strong,
  body.clinessy-core-standalone-template .conversion-box strong{font-size:38px!important}
}

/* Clinessy Core 2.0.11 - UX movil del menu y controles superiores */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:18px!important;
    left:14px!important;
    width:76px!important;
    height:46px!important;
    border-radius:17px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    background:#064c37!important;
    color:#fff!important;
    box-shadow:0 13px 28px rgba(6,76,55,.24)!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button:after,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button:after{
    content:"Menú";
    font-size:12px;
    line-height:1;
    font-weight:900;
    letter-spacing:0;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button .dashicons{
    width:23px!important;
    height:23px!important;
    font-size:23px!important;
  }
  body.clinessy-mobile-menu-open .clinessy-mobile-menu-button{
    background:#102033!important;
    box-shadow:0 14px 34px rgba(16,32,51,.28)!important;
  }
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{
    grid-template-columns:minmax(0,1fr) 46px!important;
    gap:11px!important;
    padding-top:0!important;
    margin-bottom:16px!important;
  }
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{
    padding-left:92px!important;
    min-height:52px!important;
  }
  body.clinessy-core-panel-page .clinessy-header h1,
  body.clinessy-core-standalone-template .clinessy-header h1{
    font-size:21px!important;
    letter-spacing:0!important;
  }
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{
    max-width:225px!important;
    font-size:10.5px!important;
    color:#778197!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{
    position:static!important;
    grid-column:2!important;
    grid-row:1!important;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    border:1px solid #ebe7f2!important;
    border-radius:16px!important;
    background:#fff!important;
    color:#172033!important;
    box-shadow:0 9px 22px rgba(15,23,42,.07)!important;
    font-size:18px!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{
    grid-column:1/-1!important;
    order:0!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search input,
  body.clinessy-core-standalone-template .clinessy-global-search input{
    height:44px!important;
    border-radius:16px!important;
    padding-left:41px!important;
    font-size:13px!important;
  }
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{
    display:grid!important;
    grid-template-columns:46px 46px minmax(0,1fr)!important;
    grid-auto-flow:dense!important;
    gap:9px!important;
    width:100%!important;
    align-items:center!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{
    grid-column:1!important;
    order:1!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{
    grid-column:2!important;
    order:2!important;
    border:1px solid #dcefe7!important;
    background:#f1fbf6!important;
    color:#0d7b55!important;
    box-shadow:none!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger{
    border:1px solid #ece7f3!important;
    background:#fff!important;
    color:#14233a!important;
    box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger b,
  body.clinessy-core-standalone-template .clinessy-notification-trigger b{
    right:-4px!important;
    top:-6px!important;
    min-width:18px!important;
    height:18px!important;
    border:2px solid #fff!important;
    font-size:10px!important;
  }
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{
    grid-column:3!important;
    order:3!important;
    width:100%!important;
    height:46px!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    padding:8px 12px!important;
    border-radius:16px!important;
    border:1px solid #ebe7f2!important;
    background:#fff!important;
    box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
    font-size:11px!important;
    color:#142238!important;
  }
  body.clinessy-core-panel-page .clinessy-user a,
  body.clinessy-core-standalone-template .clinessy-user a{
    margin-left:auto!important;
    color:#064c37!important;
    font-weight:900!important;
    text-decoration:none!important;
  }
  body.clinessy-core-panel-page .clinessy-last-updated,
  body.clinessy-core-standalone-template .clinessy-last-updated{
    grid-column:1/-1!important;
    order:4!important;
    width:100%!important;
    text-align:right!important;
    margin-top:-2px!important;
    font-size:9.5px!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    min-height:56px!important;
    border-radius:19px!important;
    right:14px!important;
    bottom:calc(16px + env(safe-area-inset-bottom))!important;
  }
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-sidebar,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-sidebar{
    border-radius:0 24px 24px 0!important;
    box-shadow:18px 0 42px rgba(15,23,42,.22)!important;
  }
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-sidebar .clinessy-logo,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-sidebar .clinessy-logo{
    margin:10px 10px 16px!important;
    border-radius:18px!important;
    min-height:86px!important;
  }
  body.clinessy-core-panel-page .clinessy-frontend-fullscreen .clinessy-sidebar .clinessy-nav,
  body.clinessy-core-standalone-template .clinessy-frontend-fullscreen .clinessy-sidebar .clinessy-nav{
    min-height:46px!important;
    margin:4px 8px!important;
    padding:12px 14px!important;
    border-radius:14px!important;
    font-size:14px!important;
  }
}

/* Clinessy Core 2.0.12 - mockup movil tipo app */
.clinessy-mobile-app-brand,
.clinessy-mobile-bottom-nav{display:none}
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{
    padding:0 14px 118px!important;
    background:#f7f5fb!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    height:92px!important;
    margin:0 -14px 18px!important;
    padding:18px 20px 16px!important;
    box-sizing:border-box!important;
    background:linear-gradient(135deg,#063d31 0%,#062f27 100%)!important;
    color:#fff!important;
    box-shadow:0 14px 34px rgba(6,61,49,.16)!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand img,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand img{
    width:42px!important;
    height:42px!important;
    object-fit:contain!important;
    border-radius:13px!important;
    background:#fff!important;
    padding:4px!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand strong,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand strong{
    font-size:25px!important;
    line-height:1!important;
    letter-spacing:0!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand span,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand span{
    margin-left:3px!important;
    padding:7px 11px!important;
    border-radius:10px!important;
    background:#7c3aed!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:900!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:112px!important;
    left:22px!important;
    width:84px!important;
    height:48px!important;
    border-radius:18px!important;
    background:#fff!important;
    color:#07543e!important;
    border:1px solid #e8edf1!important;
    box-shadow:0 12px 28px rgba(15,23,42,.10)!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button:after,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button:after{
    color:#07543e!important;
  }
  body.clinessy-mobile-menu-open .clinessy-mobile-menu-button{
    background:#07543e!important;
    color:#fff!important;
  }
  body.clinessy-mobile-menu-open .clinessy-mobile-menu-button:after{color:#fff!important}
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{
    grid-template-columns:minmax(0,1fr) 48px 48px!important;
    gap:10px!important;
    margin:0 0 18px!important;
    align-items:center!important;
  }
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{
    grid-column:1!important;
    padding-left:112px!important;
    min-height:56px!important;
  }
  body.clinessy-core-panel-page .clinessy-header h1,
  body.clinessy-core-standalone-template .clinessy-header h1{
    font-size:24px!important;
    line-height:1.05!important;
    color:#122033!important;
  }
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{
    max-width:190px!important;
    color:#707a91!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{
    grid-column:3!important;
    grid-row:1!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:18px!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{
    grid-column:1/-1!important;
    margin-top:8px!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search input,
  body.clinessy-core-standalone-template .clinessy-global-search input{
    height:54px!important;
    border-radius:19px!important;
    padding-left:48px!important;
    font-size:15px!important;
    background:#fff!important;
    border-color:#e4e8ef!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search .dashicons,
  body.clinessy-core-standalone-template .clinessy-global-search .dashicons{
    left:17px!important;
    font-size:22px!important;
    width:22px!important;
    height:22px!important;
  }
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{
    grid-template-columns:minmax(0,1.15fr) 50px minmax(132px,.85fr)!important;
    gap:10px!important;
    margin-top:0!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{
    position:absolute!important;
    right:62px!important;
    top:112px!important;
    grid-column:auto!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:18px!important;
  }
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{
    grid-column:1!important;
    grid-row:1!important;
    height:46px!important;
    min-width:0!important;
    font-size:11px!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{
    grid-column:2!important;
    grid-row:1!important;
    width:50px!important;
    height:46px!important;
    min-width:50px!important;
    border-radius:16px!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    position:static!important;
    grid-column:3!important;
    grid-row:1!important;
    width:100%!important;
    height:46px!important;
    min-width:0!important;
    min-height:46px!important;
    padding:0 12px!important;
    border-radius:17px!important;
    font-size:12px!important;
    gap:6px!important;
    box-shadow:0 12px 24px rgba(6,76,55,.16)!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{
    font-size:21px!important;
    width:21px!important;
    height:21px!important;
  }
  body.clinessy-core-panel-page .clinessy-last-updated,
  body.clinessy-core-standalone-template .clinessy-last-updated{
    display:none!important;
  }
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-topline,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-topline{
    margin-top:8px!important;
    padding:18px 16px!important;
    border:1px solid #e8edf2!important;
    border-radius:22px!important;
    background:#fff!important;
    box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
  }
  body.clinessy-core-panel-page .clinessy-dashboard-modern .modern-topline h2,
  body.clinessy-core-standalone-template .clinessy-dashboard-modern .modern-topline h2{
    font-size:25px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-bottom-nav,
  body.clinessy-core-standalone-template .clinessy-mobile-bottom-nav{
    position:fixed!important;
    z-index:99980!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:0!important;
    min-height:76px!important;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;
    border-top:1px solid #e8edf1!important;
    border-radius:24px 24px 0 0!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 -14px 34px rgba(15,23,42,.10)!important;
    backdrop-filter:blur(16px)!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-bottom-nav a,
  body.clinessy-core-standalone-template .clinessy-mobile-bottom-nav a{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:0!important;
    color:#6d7588!important;
    text-decoration:none!important;
    font-weight:800!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-bottom-nav .dashicons,
  body.clinessy-core-standalone-template .clinessy-mobile-bottom-nav .dashicons{
    width:25px!important;
    height:25px!important;
    font-size:25px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-bottom-nav small,
  body.clinessy-core-standalone-template .clinessy-mobile-bottom-nav small{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:10.5px!important;
    line-height:1.1!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-bottom-nav a.active,
  body.clinessy-core-standalone-template .clinessy-mobile-bottom-nav a.active{
    color:#07543e!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-bottom-nav a.active:after,
  body.clinessy-core-standalone-template .clinessy-mobile-bottom-nav a.active:after{
    content:"";
    position:absolute;
    bottom:0;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#07543e;
  }
}

/* Clinessy Core 2.0.20 - menu lateral tipo app */
@media(min-width:901px){
  .clinessy-app:not(.clinessy-sidebar-collapsed) .clinessy-sidebar{
    width:260px!important;
    flex:0 0 260px!important;
    padding:18px 14px!important;
  }
  .clinessy-sidebar{
    position:sticky!important;
    top:32px!important;
    min-height:calc(100vh - 32px)!important;
    overflow:hidden!important;
    background:
      radial-gradient(circle at 16% 0%,rgba(124,58,237,.22),transparent 32%),
      linear-gradient(180deg,#101a2d 0%,#0b1b31 48%,#061628 100%)!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
    box-shadow:12px 0 36px rgba(15,23,42,.08)!important;
  }
  .clinessy-sidebar:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(255,255,255,.055),transparent 38%);
  }
  .clinessy-sidebar>*{
    position:relative;
    z-index:1;
  }
  .clinessy-sidebar-brand{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    gap:10px!important;
    align-items:center!important;
    min-height:48px!important;
    margin:0 0 14px!important;
    padding:0 36px 0 2px!important;
  }
  .clinessy-sidebar-mark{
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    overflow:hidden!important;
  }
  .clinessy-sidebar-mark img{
    width:25px!important;
    height:25px!important;
    object-fit:contain!important;
  }
  .clinessy-sidebar-brand strong{
    display:block!important;
    color:#fff!important;
    font-size:17px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:0!important;
  }
  .clinessy-sidebar-brand span{
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    margin-top:5px!important;
    color:rgba(255,255,255,.72)!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:750!important;
  }
  .clinessy-sidebar-brand span:before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 0 3px rgba(34,197,94,.12);
  }
  .clinessy-sidebar-brand em{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:24px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.10)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    color:rgba(255,255,255,.88)!important;
    font-size:11px!important;
    font-style:normal!important;
    font-weight:850!important;
  }
  .clinessy-sidebar-toggle{
    position:absolute!important;
    top:17px!important;
    right:14px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    margin:0!important;
    padding:0!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.07)!important;
    border:1px solid rgba(255,255,255,.07)!important;
    color:rgba(255,255,255,.82)!important;
    box-shadow:none!important;
  }
  .clinessy-sidebar-toggle .dashicons{
    color:currentColor!important;
    width:18px!important;
    height:18px!important;
    font-size:18px!important;
  }
  .clinessy-sidebar-toggle .clinessy-toggle-label{display:none!important;}
  .clinessy-sidebar-account{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 18px!important;
    gap:11px!important;
    align-items:center!important;
    margin:0 0 12px!important;
    padding:12px!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.065)!important;
    border:1px solid rgba(255,255,255,.11)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
  }
  .clinessy-sidebar-avatar{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    border-radius:50%!important;
    color:#fff!important;
    background:linear-gradient(135deg,#7c3aed,#e635a9)!important;
    box-shadow:0 10px 22px rgba(124,58,237,.22)!important;
    font-size:13px!important;
    font-weight:900!important;
  }
  .clinessy-sidebar-account strong,
  .clinessy-sidebar-account small{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .clinessy-sidebar-account strong{
    color:#fff!important;
    font-size:14px!important;
    line-height:1.15!important;
    font-weight:850!important;
  }
  .clinessy-sidebar-account small{
    margin-top:3px!important;
    color:rgba(255,255,255,.70)!important;
    font-size:11px!important;
    font-weight:650!important;
  }
  .clinessy-sidebar-account>.dashicons{
    color:rgba(255,255,255,.74)!important;
    width:18px!important;
    height:18px!important;
    font-size:18px!important;
  }
  .clinessy-sidebar-search{
    position:relative!important;
    margin:0 0 16px!important;
  }
  .clinessy-sidebar-search .dashicons{
    position:absolute!important;
    left:12px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    color:rgba(255,255,255,.66)!important;
    width:17px!important;
    height:17px!important;
    font-size:17px!important;
  }
  .clinessy-sidebar-search input{
    width:100%!important;
    height:38px!important;
    box-sizing:border-box!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:11px!important;
    background:rgba(255,255,255,.055)!important;
    color:#fff!important;
    padding:0 12px 0 37px!important;
    outline:none!important;
    font-size:12px!important;
    font-weight:700!important;
  }
  .clinessy-sidebar-search input::placeholder{color:rgba(255,255,255,.48)!important;}
  .clinessy-sidebar nav{
    padding:0!important;
    overflow:auto!important;
    scrollbar-width:none!important;
  }
  .clinessy-sidebar nav::-webkit-scrollbar{display:none!important;}
  .clinessy-nav-section{
    margin:18px 8px 8px!important;
    color:rgba(255,255,255,.54)!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
  }
  .clinessy-nav{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    min-height:44px!important;
    gap:12px!important;
    margin:3px 0!important;
    padding:10px 11px 10px 13px!important;
    border-radius:10px!important;
    color:rgba(255,255,255,.84)!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:780!important;
  }
  .clinessy-nav:before{
    content:"";
    position:absolute;
    left:0;
    top:10px;
    bottom:10px;
    width:3px;
    border-radius:99px;
    background:transparent;
  }
  .clinessy-nav .dashicons{
    width:19px!important;
    height:19px!important;
    font-size:19px!important;
    line-height:19px!important;
    color:currentColor!important;
    opacity:.95!important;
  }
  .clinessy-nav-label,
  .clinessy-nav>span:not(.dashicons):not(.clinessy-nav-chip){
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .clinessy-nav:hover{
    color:#fff!important;
    background:rgba(255,255,255,.07)!important;
    padding-left:13px!important;
  }
  .clinessy-nav.active{
    color:#fff!important;
    background:rgba(255,255,255,.105)!important;
    padding-left:13px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
  }
  .clinessy-nav.active:before{background:#34d399!important;}
  .clinessy-nav-chip{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin-left:auto!important;
    min-width:0!important;
    height:22px!important;
    padding:0 8px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.10)!important;
    color:rgba(255,255,255,.82)!important;
    font-size:10px!important;
    font-weight:850!important;
  }
  .clinessy-nav-chip.ok{
    background:rgba(34,197,94,.16)!important;
    color:#86efac!important;
  }
  .clinessy-nav-caret{
    margin-left:0!important;
    width:16px!important;
    height:16px!important;
    font-size:16px!important;
    color:rgba(255,255,255,.66)!important;
  }
  .clinessy-subnav{
    margin:2px 0 9px 27px!important;
    padding:2px 0 2px 10px!important;
    border-left:1px solid rgba(255,255,255,.09)!important;
  }
  .clinessy-subnav-link{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-height:32px!important;
    padding:7px 9px!important;
    border-radius:9px!important;
    color:rgba(255,255,255,.60)!important;
    text-decoration:none!important;
    font-size:12px!important;
    font-weight:700!important;
  }
  .clinessy-subnav-link .dashicons{
    width:15px!important;
    height:15px!important;
    font-size:15px!important;
  }
  .clinessy-subnav-link:hover,
  .clinessy-subnav-link.active{
    color:#fff!important;
    background:rgba(255,255,255,.07)!important;
  }
  .clinessy-sidebar-bottom{
    margin-top:auto!important;
    padding:12px 0 0!important;
    border-top:1px solid rgba(255,255,255,.09)!important;
    gap:0!important;
    background:transparent!important;
  }
  .clinessy-sidebar-link,
  .clinessy-help{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr) 18px!important;
    gap:10px!important;
    align-items:center!important;
    margin:0!important;
    padding:11px 8px!important;
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
    color:rgba(255,255,255,.82)!important;
    box-shadow:none!important;
  }
  .clinessy-sidebar-link:hover,
  .clinessy-help:hover{
    background:rgba(255,255,255,.07)!important;
    color:#fff!important;
  }
  .clinessy-sidebar-link>.dashicons:first-child{
    display:grid!important;
    place-items:center!important;
    width:24px!important;
    height:24px!important;
    color:rgba(255,255,255,.78)!important;
    font-size:19px!important;
  }
  .clinessy-sidebar-link div{
    font-size:13px!important;
    line-height:1.15!important;
    font-weight:760!important;
    min-width:0!important;
  }
  .clinessy-sidebar-link small{
    display:block!important;
    margin-top:3px!important;
    color:rgba(255,255,255,.55)!important;
    font-size:10px!important;
    font-weight:650!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .clinessy-sidebar-link-arrow{
    width:16px!important;
    height:16px!important;
    font-size:16px!important;
    color:rgba(255,255,255,.42)!important;
  }
  .clinessy-sidebar-dot{
    justify-self:center!important;
    width:7px!important;
    height:7px!important;
    border-radius:50%!important;
    background:#22c55e!important;
    box-shadow:0 0 0 4px rgba(34,197,94,.12)!important;
  }
  .clinessy-logout-link>.dashicons:first-child{color:#f5d36d!important;}
  .clinessy-logo{display:none!important;}
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar{
    width:82px!important;
    flex-basis:82px!important;
    padding:16px 9px!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-brand{
    display:flex!important;
    justify-content:center!important;
    padding:0!important;
    margin-bottom:52px!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-brand>div:not(.clinessy-sidebar-mark),
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-brand em,
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-account div,
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-account>.dashicons,
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-search,
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-nav-section,
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-nav span:not(.dashicons),
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-link div,
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-link-arrow,
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-dot{
    display:none!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-toggle{
    left:24px!important;
    right:auto!important;
    top:62px!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-toggle .dashicons{
    transform:rotate(180deg)!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-account{
    display:flex!important;
    justify-content:center!important;
    grid-template-columns:1fr!important;
    padding:9px!important;
    margin-bottom:14px!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-avatar{
    width:38px!important;
    height:38px!important;
    font-size:12px!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-nav{
    justify-content:center!important;
    min-height:42px!important;
    padding:10px 0!important;
    gap:0!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-nav .dashicons{
    width:20px!important;
    height:20px!important;
    font-size:20px!important;
  }
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-subnav{display:none!important;}
  .clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-link{
    display:flex!important;
    justify-content:center!important;
    padding:10px 0!important;
  }
}

/* Clinessy Core 2.2.53: hora integrada en Actualizar. */
.clinessy-refresh-button .clinessy-last-updated{display:inline!important;width:auto!important;margin:0!important;color:inherit!important;font-size:inherit!important;font-weight:inherit!important;white-space:nowrap!important}

/* Clinessy Core 2.3.24: horarios HH:MM en formato de 24 horas. */
.box-time-range .clinessy-time-24{font-variant-numeric:tabular-nums;text-align:center;letter-spacing:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-weight:750}
.box-time-range .clinessy-time-24::placeholder{color:#9aa0ad;font-family:inherit;font-weight:600;opacity:1}

/* Clinessy Core 2.3.25: boxes iniciales compactos y orientados a la tarea. */
.clinessy-setup-box-section>header{align-items:center}.clinessy-setup-box-section>header em{white-space:nowrap;text-transform:none}.clinessy-setup-box-section .clinessy-setup-box-list{align-items:stretch;margin-bottom:0}.clinessy-setup-box-section .box-row{min-height:190px}.clinessy-setup-box-section .clinessy-setup-box-head{min-height:76px;box-sizing:border-box;padding:13px 15px}.clinessy-setup-box-section .clinessy-setup-box-head>div p{display:flex;align-items:center;gap:6px;overflow:hidden;margin:4px 0 0;color:#767d90;font-size:10px;white-space:nowrap}.clinessy-setup-box-section .clinessy-setup-box-head>div p span{overflow:hidden;text-overflow:ellipsis}.clinessy-setup-box-section .box-row .button-link-delete{display:grid!important;place-items:center;border:0!important}.clinessy-setup-box-section .box-row .button-link-delete .dashicons{width:18px;height:18px;font-size:18px}.clinessy-setup-box-section .clinessy-setup-box-fields{display:block;padding:16px}.clinessy-setup-box-section .clinessy-setup-box-fields label{font-size:12px}.clinessy-setup-box-section .clinessy-setup-box-fields input{min-height:46px}.clinessy-setup-box-section .clinessy-setup-box-fields small{color:#7d8394;font-size:10px;font-weight:600}.clinessy-setup-add-box{display:grid;place-items:center;align-content:center;gap:7px;min-height:190px;padding:20px;border:2px dashed #cdbcf2;border-radius:12px;background:#fbf9ff;color:#6733d5;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}.clinessy-setup-add-box:hover{border-color:#7c3aed;background:#f6f1ff;transform:translateY(-1px)}.clinessy-setup-add-box:focus-visible{outline:3px solid rgba(124,58,237,.22);outline-offset:3px}.clinessy-setup-add-box>.dashicons{width:38px;height:38px;font-size:38px}.clinessy-setup-add-box strong{font-size:15px}.clinessy-setup-add-box small{color:#77758a;font-size:11px}.clinessy-setup-box-section .clinessy-setup-box-note{margin-top:14px!important}
@media(max-width:650px){.clinessy-setup-box-section .clinessy-setup-box-head>div p{align-items:flex-start;flex-direction:column;gap:2px;white-space:normal}.clinessy-setup-box-section .clinessy-setup-box-head>div p b{display:none}.clinessy-setup-box-section .box-row,.clinessy-setup-add-box{min-height:175px}}

/* Clinessy Core 2.3.26: catalogo inicial para clinicas generales. */
.clinessy-setup-service-section>header{align-items:center}.clinessy-setup-service-section>header em{white-space:nowrap;text-transform:none}.clinessy-setup-service-section .clinessy-setup-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0 0 16px;padding:14px}.clinessy-setup-service-section .clinessy-setup-presets>div{grid-column:1/-1}.clinessy-setup-service-section .clinessy-setup-presets>div strong,.clinessy-setup-service-section .clinessy-setup-presets>div small{display:block}.clinessy-setup-service-section .clinessy-setup-presets>div strong{color:#263047;font-size:12px}.clinessy-setup-service-section .clinessy-setup-presets>div small{margin-top:2px;color:#777d90;font-size:10px}.clinessy-setup-service-section .clinessy-setup-presets>button{display:grid;justify-items:start;align-content:center;gap:3px;min-height:82px;padding:11px;border:1px solid #ded8eb;border-radius:9px;background:#fff;color:#2c3348;text-align:left;cursor:pointer}.clinessy-setup-service-section .clinessy-setup-presets>button:hover,.clinessy-setup-service-section .clinessy-setup-presets>button.is-selected{border-color:#7c3aed;background:#f7f3ff;color:#6532d4;box-shadow:0 0 0 2px rgba(124,58,237,.07)}.clinessy-setup-service-section .clinessy-setup-presets>button .dashicons{width:22px;height:22px;color:#7137ea;font-size:22px}.clinessy-setup-service-section .clinessy-setup-presets>button strong{font-size:11px}.clinessy-setup-service-section .clinessy-setup-presets>button small{color:#7b8192;font-size:9px}.clinessy-setup-service-section [data-setup-services]{display:grid;gap:10px}.clinessy-setup-service-section .service-row{display:grid!important;grid-template-columns:38px minmax(230px,1.6fr) minmax(150px,.65fr) minmax(130px,.55fr) 34px!important;align-items:start!important;gap:12px!important;padding:14px!important;border:1px solid #e1ddea!important;border-radius:11px!important;background:#fff!important}.clinessy-service-row-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:9px;background:#efe9ff;color:#7137ea}.clinessy-setup-service-section .service-row label{display:grid;gap:6px;color:#263047;font-size:11px;font-weight:850}.clinessy-setup-service-section .service-row input,.clinessy-setup-service-section .service-row select{width:100%;min-height:43px;box-sizing:border-box;border:1px solid #ddd8e5;border-radius:9px;background:#fff}.clinessy-service-price{position:relative;display:block}.clinessy-service-price b{position:absolute;z-index:1;left:12px;top:12px;color:#6b7280}.clinessy-service-price input{padding-left:28px!important}.clinessy-setup-service-section .service-row label small{color:#83899a;font-size:9px;font-weight:600}.clinessy-setup-service-section .service-row .button-link-delete{display:grid!important;width:34px;height:34px;place-items:center;margin-top:20px;border:0!important;border-radius:8px!important;background:#fff0f2!important;color:#cf3f50!important}.clinessy-setup-service-section .service-row .button-link-delete .dashicons{width:18px;height:18px;font-size:18px}.clinessy-setup-add-service{display:flex;align-items:center;justify-content:center;gap:7px;min-height:54px;border:2px dashed #cdbcf2;border-radius:10px;background:#fbf9ff;color:#6532d4;font-weight:850;cursor:pointer}.clinessy-setup-add-service:hover{border-color:#7c3aed;background:#f6f1ff}.clinessy-setup-add-service .dashicons{width:20px;height:20px;font-size:20px}
@media(max-width:1200px){.clinessy-setup-service-section .clinessy-setup-presets{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.clinessy-setup-service-section .service-row{grid-template-columns:38px 1fr 1fr!important}.clinessy-setup-service-section .service-row>label:first-of-type{grid-column:2/-1}.clinessy-setup-service-section .service-row .button-link-delete{position:absolute!important;right:10px;top:10px;margin:0}.clinessy-setup-service-section .clinessy-setup-presets{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.clinessy-setup-service-section .service-row{grid-template-columns:1fr!important}.clinessy-setup-service-section .service-row>*{grid-column:1!important}.clinessy-service-row-icon{display:none}.clinessy-setup-service-section .clinessy-setup-presets{grid-template-columns:1fr}}

/* Clinessy Core 2.3.27: alineacion final de atenciones iniciales. */
.clinessy-setup-service-section .clinessy-setup-presets{grid-template-columns:repeat(4,minmax(0,1fr))}
.clinessy-setup-service-section .service-row{position:relative!important;grid-template-columns:42px minmax(320px,2fr) minmax(190px,.75fr) minmax(145px,.5fr) 38px!important;align-items:start!important;min-height:0!important;padding:15px!important}
.clinessy-setup-service-section .service-row>input[type="hidden"]{display:none!important}
.clinessy-setup-service-section .service-row>.clinessy-service-row-icon{grid-column:1!important;grid-row:1!important;margin-top:20px}
.clinessy-setup-service-section .service-row>.clinessy-service-name{grid-column:2!important;grid-row:1!important}
.clinessy-setup-service-section .service-row>.clinessy-service-price-field{grid-column:3!important;grid-row:1!important}
.clinessy-setup-service-section .service-row>.clinessy-service-duration{grid-column:4!important;grid-row:1!important;min-width:145px}
.clinessy-setup-service-section .service-row>.button-link-delete{position:static!important;grid-column:5!important;grid-row:1!important;align-self:center!important;margin:20px 0 0!important}
.clinessy-setup-service-section .clinessy-service-duration select{min-width:145px;padding-right:32px;white-space:nowrap}
@media(max-width:1100px){.clinessy-setup-service-section .clinessy-setup-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.clinessy-setup-service-section .service-row{grid-template-columns:38px minmax(0,1fr) minmax(150px,.55fr) 38px!important}.clinessy-setup-service-section .service-row>.clinessy-service-name{grid-column:2/4!important}.clinessy-setup-service-section .service-row>.clinessy-service-price-field{grid-column:2!important;grid-row:2!important}.clinessy-setup-service-section .service-row>.clinessy-service-duration{grid-column:3!important;grid-row:2!important}.clinessy-setup-service-section .service-row>.button-link-delete{grid-column:4!important;grid-row:1!important;margin:20px 0 0!important}}
@media(max-width:650px){.clinessy-setup-service-section .clinessy-setup-presets{grid-template-columns:1fr}.clinessy-setup-service-section .service-row{grid-template-columns:1fr!important;padding-top:48px!important}.clinessy-setup-service-section .service-row>.clinessy-service-name,.clinessy-setup-service-section .service-row>.clinessy-service-price-field,.clinessy-setup-service-section .service-row>.clinessy-service-duration{grid-column:1!important;grid-row:auto!important}.clinessy-setup-service-section .service-row>.button-link-delete{position:absolute!important;top:10px!important;right:10px!important;margin:0!important}.clinessy-setup-service-section .service-row>.clinessy-service-row-icon{display:grid!important;position:absolute;top:10px;left:10px;margin:0}}

/* Clinessy Core 2.3.28: paso de atenciones compacto y sin superposiciones. */
.clinessy-setup-service-section .clinessy-setup-presets>button[data-setup-service-preset="otra"]{grid-column:span 2}
.clinessy-setup-service-section .service-row{display:flex!important;align-items:flex-start!important;gap:12px!important;min-width:0!important}
.clinessy-setup-service-section .service-row>.clinessy-service-row-icon{position:static!important;flex:0 0 36px!important;margin-top:20px!important}
.clinessy-setup-service-section .clinessy-service-fields{display:grid!important;grid-template-columns:minmax(280px,1.7fr) minmax(170px,.75fr) minmax(145px,.55fr)!important;gap:12px!important;flex:1 1 auto!important;min-width:0!important}
.clinessy-setup-service-section .service-row>.button-link-delete{position:static!important;flex:0 0 34px!important;margin:20px 0 0!important}
.clinessy-setup-services-form{padding-bottom:130px!important}
.clinessy-setup-services-form .clinessy-setup-actions .button{width:auto!important;white-space:nowrap!important}
.clinessy-setup-services-form .clinessy-setup-actions>div{display:flex!important;flex-wrap:nowrap!important}
@media(max-width:1100px){
  .clinessy-setup-service-section .clinessy-service-fields{grid-template-columns:minmax(220px,1fr) minmax(145px,.65fr)!important}
  .clinessy-setup-service-section .clinessy-service-name{grid-column:1/-1}
}

/* Clinessy Core 2.3.29: seleccion combinable de atenciones sugeridas. */
.clinessy-setup-service-section .clinessy-setup-presets>button[data-setup-service-preset="otra"]{grid-column:auto}
.clinessy-setup-preset-preview{margin:-2px 0 16px;padding:15px;border:1px solid #d9cdf5;border-radius:10px;background:#fbf9ff}
.clinessy-setup-preset-preview[hidden]{display:none!important}
.clinessy-setup-preset-preview>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:0;border:0;background:transparent}
.clinessy-setup-preset-preview>header strong,.clinessy-setup-preset-preview>header small{display:block}.clinessy-setup-preset-preview>header strong{color:#272d43;font-size:13px}.clinessy-setup-preset-preview>header small{margin-top:3px;color:#747b8e;font-size:10px}
.clinessy-setup-preset-preview>header>span{padding:5px 8px;border-radius:999px;background:#eee7ff;color:#6732d1;font-size:10px;font-weight:850;white-space:nowrap}
.clinessy-setup-preset-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:260px;overflow:auto;padding:2px}
.clinessy-setup-preset-list label{display:flex;align-items:center;gap:8px;min-width:0;padding:9px;border:1px solid #e3dfeb;border-radius:8px;background:#fff;cursor:pointer}.clinessy-setup-preset-list input{flex:0 0 auto;margin:0}.clinessy-setup-preset-list span{min-width:0}.clinessy-setup-preset-list strong,.clinessy-setup-preset-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clinessy-setup-preset-list strong{color:#343a50;font-size:10px}.clinessy-setup-preset-list small{margin-top:2px;color:#858a99;font-size:9px}
.clinessy-setup-preset-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:9px;margin-top:12px}.clinessy-setup-preset-actions .button{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:7px 16px}.clinessy-setup-preset-actions .button-primary{border-color:#6931d8!important;background:#6931d8!important;color:#fff!important}
.clinessy-setup-preset-prompt{display:flex;align-items:center;gap:7px;margin:12px 0 0;padding:10px 12px;border:1px solid #d8c9fb;border-radius:8px;background:#f2ecff;color:#5730a8;font-size:11px}.clinessy-setup-preset-prompt .dashicons{width:18px;height:18px;font-size:18px}.clinessy-setup-preset-preview.needs-attention{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.14)}.clinessy-setup-services-form .clinessy-setup-next:disabled{border-color:#c9cbd3!important;background:#c9cbd3!important;box-shadow:none!important;color:#fff!important;cursor:not-allowed!important;opacity:.82}.clinessy-setup-preset-actions .button-primary:disabled{border-color:#c9cbd3!important;background:#c9cbd3!important;cursor:not-allowed!important}
@media(max-width:900px){.clinessy-setup-preset-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.clinessy-setup-preset-list{grid-template-columns:1fr}.clinessy-setup-preset-preview>header,.clinessy-setup-preset-actions{align-items:stretch;flex-direction:column}.clinessy-setup-preset-actions .button{width:100%}}
@media(max-width:650px){
  .clinessy-setup-service-section .clinessy-setup-presets>button[data-setup-service-preset="otra"]{grid-column:auto}
  .clinessy-setup-service-section .service-row{padding-top:14px!important}
  .clinessy-setup-service-section .service-row>.clinessy-service-row-icon{display:none!important}
  .clinessy-setup-service-section .clinessy-service-fields{grid-template-columns:1fr!important;padding-right:42px}
  .clinessy-setup-service-section .clinessy-service-fields>*{grid-column:1!important}
  .clinessy-setup-service-section .service-row>.button-link-delete{position:absolute!important;top:14px!important;right:14px!important;margin:0!important}
  .clinessy-setup-services-form{padding-bottom:220px!important}
  .clinessy-setup-services-form .clinessy-setup-actions>div{display:grid!important}
  .clinessy-setup-services-form .clinessy-setup-actions .button{width:100%!important}
}

/* Clinessy Core 2.3.18: configuracion inicial breve y operativa. */
.clinessy-setup-section header>div{min-width:0;flex:1}.clinessy-setup-section header h2{margin:0!important}.clinessy-setup-section header p{margin:4px 0 0;color:#73788d;font-size:12px}.clinessy-setup-section header em{padding:5px 9px;border-radius:999px;background:#f1e9ff;color:#6d28d9;font-size:10px;font-style:normal;font-weight:900;text-transform:uppercase}.clinessy-setup-grid label small,.clinessy-owner-grid label small{color:#7b8092;font-size:10px;font-weight:600}.clinessy-setup-essential .clinessy-setup-admin{margin-bottom:0}
.clinessy-setup-hours{display:grid;grid-template-columns:1fr 1fr;gap:14px}.clinessy-setup-hours>div{display:grid;grid-template-columns:minmax(130px,1fr) minmax(110px,.55fr) minmax(110px,.55fr);align-items:end;gap:12px;padding:15px;border:1px solid #e6e3ed;border-radius:12px;background:#fbfbfd}.clinessy-setup-hours strong{align-self:center;color:#232943}.clinessy-setup-hours label{display:grid;gap:6px;color:#555c72;font-size:11px;font-weight:800}.clinessy-setup-hours input[type=time]{width:100%;min-height:42px;padding:8px 10px;border:1px solid #dcdce8;border-radius:9px;box-sizing:border-box}.clinessy-setup-hours .clinessy-setup-check{align-self:center;display:flex;grid-template-columns:none;align-items:center;gap:8px;color:#232943;font-size:13px}.clinessy-setup-check input{width:18px;height:18px;margin:0}
.clinessy-setup-schedule{padding:20px!important;border:1px solid #ded7ed!important;border-radius:14px;background:#fff}.clinessy-setup-schedule-options{margin-top:4px}.clinessy-setup-schedule-options>label{font-size:12px}.clinessy-setup-schedule .box-color-control{background:#fff}.clinessy-setup-schedule .box-week-head{margin-top:20px}.clinessy-setup-schedule .box-week{box-shadow:0 7px 20px rgba(35,25,72,.04)}.clinessy-setup-schedule .box-day{grid-template-columns:110px 120px minmax(0,1fr) 88px}.clinessy-setup-schedule .box-day>strong{font-size:13px}.clinessy-setup-schedule .box-time-range input{background:#fff}.clinessy-setup-schedule .box-schedule-summary{margin-bottom:0;font-size:12px}.clinessy-setup-schedule .box-copy-dialog-card{text-align:left}
.clinessy-setup-box-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;margin-bottom:14px}.clinessy-setup-repeat-row.box-row{display:block!important;overflow:hidden;padding:0!important;border:1px solid #dfdce9!important;border-radius:12px!important;background:#fff!important;box-shadow:0 5px 16px rgba(33,27,62,.04)}.clinessy-setup-box-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #ece9f1;background:#fbfafc}.clinessy-setup-box-head>.dashicons{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#e9f8f1;color:#13865b}.clinessy-setup-box-head>div{min-width:0;flex:1}.clinessy-setup-box-head small,.clinessy-setup-box-head strong{display:block}.clinessy-setup-box-head small{color:#767b8c;font-size:9px;font-weight:900;letter-spacing:0;text-transform:uppercase}.clinessy-setup-box-head strong{overflow:hidden;margin-top:2px;color:#1b253d;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.clinessy-setup-box-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#eaf8f1;color:#11784f;font-size:10px;font-weight:850}.clinessy-setup-box-status i,.clinessy-setup-box-readonly i{width:7px;height:7px;border-radius:50%;background:#16a46e}.box-row .button-link-delete{position:static!important;width:30px;height:30px;border-radius:8px!important;background:#fff1f3!important;color:#cf3f50!important;font-size:21px!important;text-decoration:none!important}.clinessy-setup-box-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px}.clinessy-setup-box-fields label{display:grid;gap:6px;color:#263047;font-size:11px;font-weight:850}.clinessy-setup-box-fields input,.clinessy-setup-box-fields select,.clinessy-setup-box-readonly{width:100%;min-height:42px;padding:9px 11px;border:1px solid #ddd8e5;border-radius:9px;background:#fff;box-sizing:border-box;color:#242b3f;font-size:13px}.clinessy-setup-box-readonly{display:flex;align-items:center;gap:7px;background:#f7f8fa;color:#626a7b}.clinessy-setup-section>[data-add-setup-box]{display:inline-flex;align-items:center;gap:5px;min-height:39px;border-color:#cdbaf4;color:#6333ce;font-weight:800}.clinessy-setup-section>[data-add-setup-box] .dashicons{margin-top:1px}
.clinessy-setup-box-note{display:flex;align-items:center;gap:7px;margin:12px 0 0!important;padding:10px 12px;border-radius:9px;background:#f7f4ff;color:#64567f!important;font-size:11px!important}.clinessy-setup-box-note .dashicons{width:17px;height:17px;color:#7137ea;font-size:17px}
.clinessy-setup-branch-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.clinessy-setup-branch-row{display:block!important;overflow:hidden;padding:0!important;border:1px solid #dfdce9!important;border-radius:8px!important;background:#fff!important}.clinessy-setup-branch-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #ece9f1;background:#fbfafc}.clinessy-setup-branch-head>.dashicons{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#eee8ff;color:#6d38dc}.clinessy-setup-branch-head>div{min-width:0;flex:1}.clinessy-setup-branch-head small,.clinessy-setup-branch-head strong{display:block}.clinessy-setup-branch-head small{color:#767b8c;font-size:9px;font-weight:900}.clinessy-setup-branch-head strong{overflow:hidden;margin-top:2px;color:#1b253d;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.clinessy-setup-branch-head .button-link-delete{width:30px;height:30px;border-radius:8px!important;background:#fff1f3!important;color:#cf3f50!important}.clinessy-setup-branch-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px}.clinessy-setup-branch-fields label{display:grid;gap:6px;color:#263047;font-size:11px;font-weight:850}.clinessy-setup-branch-fields input{width:100%;min-height:42px;padding:9px 11px;border:1px solid #ddd8e5;border-radius:8px;background:#fff;box-sizing:border-box}.clinessy-setup-add-branch{grid-column:1/-1;display:flex;min-height:112px;align-items:center;gap:16px;padding:18px 20px;border:1px solid #a9d9c9;border-left:5px solid #168765;border-radius:10px;background:#f3fbf8;color:#193c32;text-align:left;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}.clinessy-setup-add-branch:hover{border-color:#61b79b;background:#ebf8f3;box-shadow:0 8px 20px rgba(22,135,101,.1);transform:translateY(-1px)}.clinessy-setup-add-branch:focus-visible{outline:3px solid rgba(22,135,101,.2);outline-offset:3px}.clinessy-setup-add-branch-icon{display:grid!important;place-items:center;width:48px!important;height:48px!important;flex:0 0 48px;border-radius:10px;background:#d9f2e8;color:#087553;font-size:25px!important}.clinessy-setup-add-branch-copy{min-width:0;flex:1}.clinessy-setup-add-branch-copy small,.clinessy-setup-add-branch-copy strong,.clinessy-setup-add-branch-copy em{display:block}.clinessy-setup-add-branch-copy small{color:#43806d;font-size:9px;font-weight:900}.clinessy-setup-add-branch-copy strong{margin-top:3px;color:#164d3d;font-size:15px}.clinessy-setup-add-branch-copy em{margin-top:5px;color:#62766f;font-size:11px;font-style:normal;line-height:1.45}.clinessy-setup-add-branch-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;border-radius:8px;background:#168765;color:#fff;font-size:11px;font-weight:850;white-space:nowrap}.clinessy-setup-add-branch-action .dashicons{width:16px;height:16px;font-size:16px}.clinessy-setup-branch-list>template{display:none}@media(max-width:650px){.clinessy-setup-add-branch{align-items:flex-start;flex-wrap:wrap}.clinessy-setup-add-branch-copy{min-width:calc(100% - 64px)}.clinessy-setup-add-branch-action{width:100%;box-sizing:border-box}}
.clinessy-setup-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-3px 0 14px;padding:12px;border-radius:11px;background:#f8f6fc}.clinessy-setup-presets>span{margin-right:3px;color:#62687d;font-size:11px;font-weight:900;text-transform:uppercase}.clinessy-setup-presets .button{border-color:#d9cef5;color:#6535d3}.clinessy-setup-repeat-row.service-row{grid-template-columns:minmax(230px,1.7fr) minmax(130px,.7fr) minmax(120px,.6fr) 32px!important}.service-row label small{display:block;color:#8a8fa0;font-size:9px}
.clinessy-owner-section{padding:19px;border:1px solid #d9cdf8!important;border-radius:14px;background:linear-gradient(135deg,#fbf9ff,#fff)}.clinessy-owner-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.clinessy-owner-grid>label{display:grid;gap:7px;color:#202640;font-size:12px;font-weight:850}.clinessy-owner-grid .clinessy-owner-login{grid-column:1/-1}.clinessy-owner-grid input{width:100%;min-height:46px;padding:9px 12px;border:1px solid #dcdce8;border-radius:9px;box-sizing:border-box}.clinessy-owner-role{display:flex;align-items:center;gap:11px;margin-top:15px;padding:12px 14px;border-radius:11px;background:#f2edff;color:#302650}.clinessy-owner-role>span:first-child{color:#7137ea;font-size:23px}.clinessy-owner-role>div{flex:1}.clinessy-owner-role small,.clinessy-owner-role strong{display:block}.clinessy-owner-role small{font-size:9px;text-transform:uppercase}.clinessy-owner-role>span:last-child{padding:5px 9px;border-radius:999px;background:#fff;color:#6637cf;font-size:10px;font-weight:850}.clinessy-setup-repeat-row.user-row{grid-template-columns:minmax(150px,1fr) minmax(180px,1.1fr) minmax(140px,.8fr) minmax(210px,1.25fr) minmax(125px,.7fr) 32px!important}
.clinessy-account-flow-intro{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:13px 15px;border:1px solid #d5e7f8;border-radius:12px;background:#f3f9ff;color:#24324a}.clinessy-account-flow-intro>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#dceeff;color:#2f75bd;font-size:20px}.clinessy-account-flow-intro>div{min-width:0;flex:1}.clinessy-account-flow-intro strong,.clinessy-account-flow-intro p{display:block;margin:0}.clinessy-account-flow-intro strong{font-size:13px}.clinessy-account-flow-intro p{margin-top:3px;color:#66758b;font-size:11px}.clinessy-account-flow-steps{display:flex;align-items:center;gap:6px}.clinessy-account-flow-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2f75bd;color:#fff;font-size:10px}.clinessy-account-flow-steps b:last-child{background:#e8edf3;color:#68758a}.clinessy-account-flow-steps i{width:22px;height:2px;background:#cbd8e6}.clinessy-owner-section{border-color:#bdd9f4!important;background:linear-gradient(135deg,#f1f8ff,#fbfdff)!important;box-shadow:inset 4px 0 #2f75bd,0 8px 24px rgba(47,117,189,.07)}.clinessy-owner-section>header>.dashicons{background:#dceeff!important;color:#2f75bd!important}.clinessy-owner-section>header em{background:#e2f1ff;color:#2869aa}.clinessy-owner-grid input{border-color:#d5e2ef;background:#fff}.clinessy-owner-role{background:#e6f2ff;color:#243a57}.clinessy-owner-role>span:first-child{color:#2f75bd}.clinessy-owner-role>span:last-child{color:#2869aa}
@media(max-width:650px){.clinessy-account-flow-intro{align-items:flex-start}.clinessy-account-flow-steps{display:none}}
.clinessy-owner-access{grid-column:1/-1;display:flex;align-items:center;gap:11px;padding:11px 13px;border:1px solid #e3dfeb;border-radius:10px;background:#f8f9fb;color:#263047}.clinessy-owner-access>.dashicons{color:#6d38d7}.clinessy-owner-access>div{min-width:0;flex:1}.clinessy-owner-access small,.clinessy-owner-access strong{display:block}.clinessy-owner-access small{color:#7b8092;font-size:9px;font-weight:800;text-transform:uppercase}.clinessy-owner-access strong{overflow:hidden;margin-top:2px;text-overflow:ellipsis;white-space:nowrap}.clinessy-owner-access>span:last-child{padding:4px 8px;border-radius:999px;background:#eceff4;color:#687084;font-size:9px;font-weight:800}.clinessy-owner-grid .clinessy-password-field{position:relative}.clinessy-owner-grid .clinessy-password-field input{padding-right:48px}.clinessy-owner-grid .clinessy-password-field .button{position:absolute;top:4px;right:4px;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;border:0;background:transparent;color:#687084;box-shadow:none}.clinessy-owner-grid .clinessy-password-field .dashicons{margin:0}.clinessy-team-section{border-color:#e2dfeb!important;background:#fff}.clinessy-team-intro{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px;padding:12px 14px;border:1px solid #ddd1fa;border-radius:9px;background:#f6f2ff;color:#5d5470}.clinessy-team-intro .dashicons{margin-top:1px;color:#6d38d7}.clinessy-team-intro>div{min-width:0}.clinessy-team-intro strong{display:block;margin-bottom:3px;color:#3f2b6d;font-size:12px}.clinessy-team-intro p{margin:0;font-size:11px;line-height:1.45}.clinessy-team-role-guide{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.clinessy-team-role-guide span{display:block;padding:9px 10px;border:1px solid #e3dafa;border-radius:8px;background:#fff;color:#5d5470;font-size:10px;line-height:1.4}.clinessy-team-role-guide b{color:#443267}.clinessy-team-section .user-row{padding:14px!important;border-color:#e3dfeb!important;border-radius:11px!important;background:#fbfbfd!important}@media(max-width:650px){.clinessy-team-role-guide{grid-template-columns:1fr}}

/* Clinessy Core 2.3.41: accion integrada para agregar integrantes. */
.clinessy-team-section .clinessy-add-team-member{display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%;min-height:68px;margin-top:14px;padding:12px 18px;border:1px dashed #bda7f5;border-radius:8px;background:#faf8ff;color:#6333ce;cursor:pointer;text-align:left;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}
.clinessy-team-section .clinessy-add-team-member:hover{border-color:#7c3aed;background:#f5f0ff;box-shadow:0 5px 14px rgba(99,51,206,.1)}
.clinessy-team-section .clinessy-add-team-member:active{transform:translateY(1px)}
.clinessy-team-section .clinessy-add-team-member:focus-visible{outline:3px solid rgba(124,58,237,.2);outline-offset:2px}
.clinessy-add-team-member-icon{display:grid!important;place-items:center;width:36px;height:36px;border-radius:6px;background:#eee7ff;color:#7137ea;font-size:20px}
.clinessy-add-team-member-copy{display:grid;gap:2px}
.clinessy-add-team-member-copy strong{font-size:14px;line-height:1.2}
.clinessy-add-team-member-copy small{color:#766b8e;font-size:11px;line-height:1.3}
.clinessy-setup-confirm{display:flex!important;align-items:center;gap:12px;margin-top:18px;padding:15px!important;border:1px solid #d9cdf8;border-radius:12px!important;background:#faf8ff!important}.clinessy-setup-confirm input{width:20px;height:20px;margin:0}.clinessy-setup-confirm span{display:block}.clinessy-setup-confirm strong,.clinessy-setup-confirm small{display:block}.clinessy-setup-confirm small{margin-top:3px;color:#74798c}.clinessy-setup-ready{margin-top:14px}
@media(max-width:1200px){.clinessy-setup-box-list{grid-template-columns:1fr}}
@media(max-width:1050px){.clinessy-setup-hours{grid-template-columns:1fr}.clinessy-setup-schedule .box-day{grid-template-columns:90px 110px minmax(0,1fr)}.clinessy-setup-repeat-row.user-row{grid-template-columns:1fr 1fr!important}.clinessy-setup-repeat-row.user-row .button-link-delete{position:absolute!important;right:10px;top:10px}.clinessy-setup-repeat-row.service-row{grid-template-columns:1fr 1fr!important}.service-row .button-link-delete{position:absolute!important;right:10px;top:10px}}
@media(max-width:700px){.clinessy-setup-schedule{padding:15px!important}.clinessy-setup-schedule-options{grid-template-columns:1fr}.clinessy-setup-schedule .box-day{grid-template-columns:1fr auto}.clinessy-setup-schedule .box-week-head{align-items:center}.clinessy-setup-schedule .box-week-head .button{white-space:normal;line-height:1.2}.clinessy-setup-schedule .box-schedule-summary{align-items:flex-start}}
@media(max-width:650px){.clinessy-setup-box-list,.clinessy-setup-branch-list,.clinessy-owner-grid{grid-template-columns:1fr}.clinessy-setup-box-fields,.clinessy-setup-branch-fields{grid-template-columns:1fr}.clinessy-setup-box-status{display:none}.clinessy-setup-hours>div{grid-template-columns:1fr 1fr}.clinessy-setup-hours>div>:first-child{grid-column:1/-1}.clinessy-setup-repeat-row.user-row,.clinessy-setup-repeat-row.service-row{grid-template-columns:1fr!important}.clinessy-owner-role{align-items:flex-start;flex-wrap:wrap}.clinessy-owner-role>span:last-child{margin-left:34px}}

/* Clinessy Core 2.3.23: servicios configurables por box. */
.box-service-availability{margin-top:16px;padding:16px;border:1px solid #e1dbea;border-radius:11px;background:#faf9fc}.box-service-availability>div:first-child{margin-bottom:12px}.box-service-availability strong{color:#18233c;font-size:14px}.box-service-availability p{margin:3px 0 0;color:#747b8e;font-size:11px}.box-all-services{display:flex!important;align-items:center;gap:9px;padding:11px 12px;border:1px solid #d7c9f5;border-radius:9px;background:#f5f0ff;color:#5e31c5;font-weight:850}.box-all-services input{position:absolute;opacity:0}.box-all-services span{width:34px;height:19px;border-radius:999px;background:#bfc3ce;position:relative}.box-all-services span:after{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:.18s}.box-all-services input:checked+span{background:#7137ea}.box-all-services input:checked+span:after{transform:translateX(15px)}.box-service-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.box-service-options label{display:flex!important;align-items:center;gap:7px;padding:10px;border:1px solid #e0dce8;border-radius:8px;background:#fff;color:#30384e;font-size:11px;font-weight:750}.box-service-options input{position:absolute;opacity:0}.box-service-options .dashicons{width:17px;height:17px;border:1px solid #c9c8d1;border-radius:5px;color:transparent;font-size:15px}.box-service-options input:checked+.dashicons{border-color:#17875c;background:#17875c;color:#fff}.box-service-options.is-disabled label{border-color:#d8e8e0;background:#f7fbf9;color:#52645c}.box-service-options.is-disabled input:checked+.dashicons{border-color:#17875c;background:#17875c;color:#fff;opacity:1}.box-services-empty{grid-column:1/-1;margin:0!important;padding:10px;border-radius:8px;background:#fff;color:#747b8e!important}
@media(max-width:900px){.box-service-options{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.box-service-options{grid-template-columns:1fr}}

/* Clinessy Core 2.3.6: jerarquia cromatica de Caja diaria. */
.cash-payment-breakdown{
  border-left:3px solid #4d83cf!important;
  background:#f7faff!important;
}
.cash-payment-heading>div>small{color:#2f6fbd!important}
.cash-payment-heading p,.cash-movements-heading p,.cash-session-sales-heading p,.cash-close-heading p{color:#657287!important}
.cash-payment-empty{
  border-color:#d7e4f5!important;
  background:#f2f7fd!important;
  color:#61728a!important;
}
.cash-payment-empty>.dashicons{background:#e4effc!important;color:#3479c9!important}
.cash-payment-all{border-color:#cbdbee!important;background:#fff!important;color:#326cae!important}

.cash-movements{
  border-left:3px solid #20a06c!important;
  background:#f7fcf9!important;
}
.cash-movement-history{border-color:#d8e9e1!important}
.cash-movement-empty{background:#f5fbf8!important;color:#687b72!important}
.cash-movement-actions .button:not(.is-withdrawal){
  border-color:#16885b!important;
  background:#16885b!important;
  color:#fff!important;
  box-shadow:0 3px 8px rgba(22,136,91,.15)!important;
}
.cash-movement-actions .button:not(.is-withdrawal):hover{background:#10764d!important}
.cash-movement-actions .button.is-withdrawal{
  border-color:#e6a8ae!important;
  background:#fff5f6!important;
  color:#c93f4c!important;
  box-shadow:none!important;
}
.cash-movement-actions .button.is-withdrawal:hover{background:#ffecee!important}

.cash-session-sales{
  border-left:3px solid #7656ce!important;
  background:#fbf9ff!important;
}
.cash-session-sales-heading>div>small{color:#6b4ac5!important}
.cash-session-sales-heading>span{background:#eee9fc!important;color:#6546bb!important}
.cash-session-sales-empty{border-top-color:#e7e0f5!important;background:#f8f5fd!important}
.cash-session-sales-empty>.dashicons{color:#846ccd!important}
.cash-session-sales-empty p{color:#72708a!important}

.cash-close-section{
  border-left:3px solid #d49a34!important;
  background:#fffaf2!important;
}
.cash-close-heading>.dashicons{background:#fff0cf!important;color:#ad6d09!important}
.cash-close-heading small{color:#a76708!important}
.cash-close-form{border-color:#ead9b9!important}
.cash-close-values>div,.cash-close-values>label{background:#fffdfa!important}

@media(max-width:700px){
  .cash-payment-breakdown,.cash-movements,.cash-session-sales,.cash-close-section{border-left-width:2px!important}
}

/* Clinessy Core 2.3.5: prioridad final para bloques compactos de caja. */
.cash-movements .cash-movement-workspace{display:block!important}
.cash-movements .cash-movement-history{width:100%!important}
.cash-session-sales .cash-session-sales-empty{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:0!important;padding:14px 20px!important;text-align:left!important}
.cash-session-sales .cash-session-sales-empty>.dashicons{display:grid!important;width:32px!important;height:32px!important;place-items:center!important;border-radius:7px!important;background:#eef3fa!important;color:#7e8da2!important;font-size:18px!important}
.cash-session-sales .cash-session-sales-empty strong{margin:0!important}
.cash-session-sales .cash-session-sales-empty p{margin:2px 0 0!important}

/* Clinessy Core 2.3.2: historial de cajas cerradas. */
.cash-history{overflow:hidden;border:1px solid #dfe5ec;border-radius:8px;background:#fff}
.cash-history-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e7ebf0}
.cash-history-heading small{color:#3272cf;font-size:9px;font-weight:900}
.cash-history-heading h2,.cash-history-heading p{margin:0;letter-spacing:0}
.cash-history-heading h2{margin-top:3px;font-size:19px}
.cash-history-heading p{margin-top:4px;color:#718096;font-size:10px}
.cash-history-heading label{display:flex;align-items:center;gap:7px}
.cash-history-heading label>.dashicons{color:#617086}
.cash-history-heading select{min-width:190px;min-height:38px;border-color:#dce2e9;border-radius:7px;background:#fff}
.cash-history-columns,.cash-history-row summary{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(170px,1fr) minmax(120px,.7fr) minmax(100px,.6fr) minmax(100px,.6fr) minmax(100px,.6fr);align-items:center;gap:14px}
.cash-history-columns{padding:10px 18px;background:#f7f9fc;color:#718096;font-size:8px;font-weight:900;text-transform:uppercase}
.cash-history-row{border-top:1px solid #edf0f4}
.cash-history-row:first-of-type{border-top:0}
.cash-history-row summary{padding:13px 18px;cursor:pointer;list-style:none}
.cash-history-row summary::-webkit-details-marker{display:none}
.cash-history-row summary:hover{background:#fafcff}
.cash-history-row summary div>strong,.cash-history-row summary div>small{display:block}
.cash-history-row summary strong{color:#172238;font-size:11px}
.cash-history-row summary small{margin-top:3px;color:#758297;font-size:9px}
.cash-history-difference{justify-self:start;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}
.cash-history-difference.balanced{background:#e6f7ee;color:#087a58}
.cash-history-difference.positive{background:#e9f2ff;color:#246bc4}
.cash-history-difference.negative{background:#ffebee;color:#c83d4c}
.cash-history-detail{display:flex;gap:9px;padding:11px 18px 13px;background:#fafbfd;color:#59667a}
.cash-history-detail>.dashicons{color:#7954e8}
.cash-history-detail strong{font-size:9px}
.cash-history-detail p{margin:3px 0 0;font-size:10px}
.cash-history-empty{display:grid;place-items:center;min-height:145px;padding:20px;text-align:center;color:#718096}
.cash-history-empty>.dashicons{width:34px;height:34px;font-size:34px;color:#a1abbb}
.cash-history-empty strong{margin-top:8px;color:#263247;font-size:12px}
.cash-history-empty p{margin:3px 0 0;font-size:10px}
@media(max-width:1100px){.cash-history-table{overflow-x:auto}.cash-history-columns,.cash-history-row summary{min-width:940px}}
@media(max-width:700px){.cash-history-heading{align-items:flex-start;flex-direction:column}.cash-history-heading form,.cash-history-heading label,.cash-history-heading select{width:100%}}

/* Clinessy Core 2.3.3: controles y auditoria de caja. */
.cash-history-difference{display:grid;gap:4px}
.cash-history-difference>small{margin:0!important;font-size:7px!important;font-weight:900;text-transform:uppercase}
.cash-history-difference>small.pending{color:#b53545}
.cash-history-difference>small.reviewed{color:#2868b7}
.cash-history-difference>small.balanced{color:#087a58}
.cash-history-controls{display:flex;align-items:center;gap:12px}
.cash-review-counters{display:flex;gap:5px}
.cash-review-counters span{padding:5px 7px;border-radius:999px;background:#eef2f7;color:#5f6b7e;font-size:7px;font-weight:900;text-transform:uppercase;white-space:nowrap}
.cash-review-counters span.has-pending{background:#ffebee;color:#b53545}
.cash-history-detail{display:grid;gap:12px}
.cash-audit-note{display:flex;gap:9px;color:#59667a}
.cash-audit-note>.dashicons{color:#7954e8}
.cash-audit-note strong{font-size:9px}
.cash-audit-note p{margin:3px 0 0;font-size:10px}
.cash-audit-trail{padding:12px;border:1px solid #e5e9ef;border-radius:7px;background:#fff}
.cash-audit-trail h4{margin:0 0 9px;font-size:11px}
.cash-audit-trail ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.cash-audit-trail li{display:flex;align-items:flex-start;gap:8px}
.cash-audit-trail li>.dashicons{display:grid;width:26px;height:26px;flex:0 0 26px;place-items:center;border-radius:6px;background:#f1edff;color:#7042dd;font-size:14px}
.cash-audit-trail li.is-reviewed>.dashicons{background:#e5f8ee;color:#087a58}
.cash-audit-trail li strong,.cash-audit-trail li small{display:block}
.cash-audit-trail li strong{font-size:9px}
.cash-audit-trail li small{margin-top:2px;color:#718096;font-size:8px}
.cash-review-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:12px;border:1px solid #f0ccd2;border-radius:7px;background:#fff8f9}
.cash-review-form label span{display:block;margin-bottom:5px;color:#71313a;font-size:9px;font-weight:900}
.cash-review-form input{width:100%;min-height:38px;border-color:#e4c7cc;border-radius:6px}
.cash-review-form .button-primary{display:inline-flex!important;align-items:center;gap:6px;min-height:38px!important;border:0!important;background:#087a58!important}
@media(max-width:900px){.cash-history-controls{align-items:flex-start;flex-direction:column}.cash-review-counters{flex-wrap:wrap}}
@media(max-width:700px){.cash-review-form{grid-template-columns:1fr}.cash-review-form .button{justify-content:center;width:100%}.cash-history-controls{width:100%}}

/* Clinessy Core 2.3.4: caja diaria organizada por vistas. */
.cash-view-tabs{display:flex;align-items:center;gap:5px;padding:5px;border:1px solid #dfe5ec;border-radius:8px;background:#fff}
.cash-view-tabs a{display:flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;border-radius:6px;color:#536176;font-size:11px;font-weight:900;text-decoration:none}
.cash-view-tabs a:hover{background:#f5f7fa;color:#263247}
.cash-view-tabs a.active{background:#172b50;color:#fff;box-shadow:0 5px 12px rgba(23,43,80,.16)}
.cash-view-tabs .dashicons{font-size:17px}
.cash-view-tabs b{display:grid;min-width:18px;height:18px;place-items:center;border-radius:999px;background:#e8edf4;color:#536176;font-size:8px}
.cash-view-tabs a.active b{background:rgba(255,255,255,.17);color:#fff}
.cash-view-tabs b.warning{background:#ffebee!important;color:#b53545!important}
.cash-view-empty{display:grid;place-items:center;min-height:360px;padding:30px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;text-align:center}
.cash-view-empty>.dashicons{width:48px;height:48px;font-size:48px;color:#a1adbd}
.cash-view-empty h2{margin:14px 0 0;font-size:20px}
.cash-view-empty p{margin:5px 0 18px;color:#718096;font-size:11px}
.cash-view-empty .button-primary{display:inline-flex!important;align-items:center;gap:7px;min-height:40px!important;border:0!important;background:#087a58!important}
.cash-live-actions{display:flex;align-items:center;gap:9px}
.cash-session-switch{display:flex;align-items:center;gap:6px;padding:0 8px;border:1px solid #dce3e9;border-radius:7px;background:#fff}
.cash-session-switch>.dashicons{color:#637187;font-size:16px}
.cash-session-switch select{min-width:180px;min-height:35px;border:0!important;background:transparent!important;box-shadow:none!important;font-size:10px;font-weight:800}
.cash-opening-only{grid-template-columns:minmax(0,920px);justify-content:center}
.cash-opening-only .cash-opening-form-card{width:100%}
.cash-payment-empty{display:flex;align-items:center;gap:11px;margin:14px 18px;padding:14px;border:1px dashed #dbe2e9;border-radius:7px;background:#fafbfd}
.cash-payment-empty>.dashicons{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;background:#eef4ff;color:#3272cf}
.cash-payment-empty strong{font-size:11px}
.cash-payment-empty p{margin:3px 0 0;color:#758297;font-size:9px}
.cash-payment-all{border-top:1px solid #edf0f4}
.cash-payment-all summary{padding:10px 18px;color:#5f6d82;cursor:pointer;font-size:9px;font-weight:900;list-style:none;text-align:right}
.cash-payment-all summary::-webkit-details-marker{display:none}
.cash-payment-all summary:after{content:" +";color:#7042dd}
.cash-payment-all[open] summary:after{content:" −"}
.cash-payment-all .cash-payment-grid{padding:0 18px 16px}
.cash-movement-forms form{grid-template-columns:minmax(80px,.4fr) minmax(0,1fr)!important}
.cash-movement-forms form .button{grid-column:1/-1;width:100%;justify-content:center}
@media(max-width:800px){.cash-view-tabs{align-items:stretch;flex-direction:column}.cash-view-tabs a{justify-content:flex-start}.cash-live-heading{align-items:flex-start!important}.cash-live-actions{align-items:flex-end;flex-direction:column}.cash-session-switch select{min-width:130px}}

/* Clinessy Core 2.3.5: movimientos y estados vacios compactos. */
.cash-payment-all{padding:8px 18px 10px}
.cash-payment-all summary{display:flex;width:max-content;margin-left:auto;padding:7px 10px;border:1px solid #dce3eb;border-radius:6px;background:#fff;color:#526177;text-align:left}
.cash-payment-all[open] summary{margin-bottom:10px;background:#f6f8fb}
.cash-payment-all .cash-payment-grid{padding:0}
.cash-movement-summary{display:flex;align-items:center;gap:18px}
.cash-movement-actions{display:flex;gap:7px}
.cash-movement-actions .button{display:inline-flex!important;align-items:center;gap:5px;min-height:34px!important;border-color:#a9d9c6!important;color:#087a58!important;font-size:9px!important;font-weight:900!important}
.cash-movement-actions .button.is-withdrawal{border-color:#efb9bf!important;color:#c93846!important}
.cash-movement-actions .dashicons{font-size:15px}
.cash-movement-workspace{display:block}
.cash-movement-history h4{display:flex;align-items:center;justify-content:space-between}
.cash-movement-history h4 span{display:grid;min-width:19px;height:19px;place-items:center;border-radius:999px;background:#eef2f7;color:#627086;font-size:8px}
.cash-movement-empty{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 12px}
.cash-movement-modal{display:none;position:fixed;z-index:100100;inset:0;align-items:center;justify-content:center;padding:20px}
.cash-movement-modal.is-open{display:flex}
.cash-movement-backdrop{position:absolute;inset:0;border:0;background:rgba(9,20,38,.58);cursor:pointer}
.cash-movement-dialog{position:relative;z-index:1;width:min(520px,100%);padding:20px;border-radius:8px;background:#fff;box-shadow:0 24px 70px rgba(5,15,32,.28)}
.cash-movement-dialog-close{display:grid;position:absolute;z-index:2;top:10px;right:10px;width:32px;height:32px;place-items:center;border:1px solid #dfe4ea;border-radius:6px;background:#fff;color:#566479;cursor:pointer}
.cash-movement-modal .cash-movement-forms{display:block}
.cash-movement-modal .cash-movement-forms form{display:none!important;padding:0;border:0;background:transparent}
.cash-movement-modal .cash-movement-forms form.is-active{display:grid!important}
.cash-movement-modal .cash-movement-form-title{padding-right:34px;margin-bottom:5px}
.cash-movement-modal .cash-movement-form-title strong{font-size:15px}
.cash-movement-modal .cash-movement-form-title>.dashicons{width:36px;height:36px;font-size:19px}
.cash-movement-modal .cash-movement-forms label{font-size:10px}
.cash-movement-modal .cash-movement-forms input{min-height:42px;font-size:11px}
.cash-movement-modal .cash-movement-forms .button{min-height:40px!important;margin-top:4px;background:#edf9f4!important}
.cash-movement-modal .cash-withdrawal-form .button{background:#fff2f3!important}
.cash-session-sales-heading h3{display:flex!important;align-items:center;gap:7px}
.cash-session-sales-heading h3 span{display:grid;min-width:20px;height:20px;place-items:center;border-radius:999px;background:#edf4ff;color:#3273c8;font-size:8px}
.cash-session-sales-empty{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;text-align:left}
.cash-session-sales-empty>.dashicons{display:grid;width:32px;height:32px;place-items:center;border-radius:7px;background:#eef3fa;color:#7e8da2;font-size:18px}
.cash-session-sales-empty strong{margin:0}
.cash-session-sales-empty p{margin-top:2px}
body.clinessy-cash-modal-open{overflow:hidden}
@media(max-width:900px){.cash-movements-heading{align-items:flex-start}.cash-movement-summary{align-items:flex-end;flex-direction:column}.cash-movement-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:620px){.cash-movement-summary{width:100%;align-items:stretch}.cash-movement-actions{display:grid;grid-template-columns:1fr 1fr}.cash-movement-actions .button{justify-content:center}.cash-movement-dialog{padding:16px}.cash-movement-modal .cash-movement-forms form{grid-template-columns:1fr!important}.cash-movement-modal .cash-movement-form-title,.cash-movement-modal .cash-movement-forms .button{grid-column:auto}}

/* Clinessy Core 2.2.90: opciones individuales en campos de selección. */
.clinical-field-editor>.clinical-field-options{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px;margin-top:11px!important;padding:11px;border:1px solid #e6e1eb;border-radius:8px;background:#faf9fc}
.clinical-field-options>span{color:#353a4e;font-size:10px;font-weight:850}
.clinical-field-options>[data-field-option-list]{display:grid;gap:7px}
.clinical-field-options>[data-field-option-list]>div{display:grid!important;grid-template-columns:minmax(0,1fr) 32px!important;align-items:center;gap:6px}
.clinical-field-options [data-field-option]{min-height:36px!important;margin:0!important;background:#fff!important}
.clinical-field-options [data-delete-field-option]{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:6px;background:#fff0f2;color:#c83c4c;cursor:pointer}
.clinical-field-options>[data-add-field-option]{justify-self:start;min-height:32px!important;margin-top:1px;padding:0 10px!important;border-color:#cdbdf1!important;background:#fff!important;color:#6530d5!important;font-size:10px!important}
.clinical-field-options.is-invalid{border-color:#d83d4c!important;background:#fff8f9!important;box-shadow:0 0 0 3px rgba(216,61,76,.08)!important}

/* Clinessy Core 2.2.92: apertura de caja por sucursal. */
.cash-opening-screen{display:grid;gap:16px}.cash-opening-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #e2e7ee;border-radius:8px;background:#fff}.cash-opening-hero>div{display:flex;align-items:center;gap:14px}.cash-opening-hero>div>.dashicons{display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;border-radius:8px;background:#e7f8f1;color:#087a58;font-size:25px}.cash-opening-hero small{color:#087a58;font-size:9px;font-weight:900}.cash-opening-hero h2,.cash-opening-hero p{margin:0;letter-spacing:0}.cash-opening-hero h2{margin-top:3px;font-size:22px}.cash-opening-hero p{margin-top:4px;color:#68758a;font-size:11px}.cash-open-count{padding:7px 11px;border-radius:999px;background:#eef2f7;color:#4f5d73;font-size:10px;font-weight:900}.cash-current-list{padding:18px 20px;border:1px solid #cde9dc;border-radius:8px;background:#f8fdfa}.cash-current-list>h3{margin:0 0 12px;font-size:14px}.cash-current-list>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cash-current-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 14px;border:1px solid #d9eee4;border-radius:8px;background:#fff}.cash-current-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:8px;background:#e4f7ed;color:#087a58}.cash-current-list small,.cash-current-list h4,.cash-current-list p{margin:0}.cash-current-list h4{margin-top:2px;color:#172238;font-size:13px}.cash-current-list p{margin-top:3px;color:#728096;font-size:9px}.cash-current-list dl{display:flex;gap:20px;margin:0}.cash-current-list dl div{text-align:right}.cash-current-list dt{color:#7d8799;font-size:8px;font-weight:800;text-transform:uppercase}.cash-current-list dd{margin:3px 0 0;color:#172238;font-size:12px;font-weight:900}.cash-current-list dd span{padding:4px 7px;border-radius:999px;background:#e5f8ee;color:#087a58;font-size:9px}.cash-opening-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.55fr);gap:16px;align-items:start}.cash-opening-form-card,.cash-opening-rules{border:1px solid #e2e7ee;border-radius:8px;background:#fff}.cash-opening-card-head{display:flex;align-items:center;gap:11px;padding:17px 20px;border-bottom:1px solid #e8ebf0}.cash-opening-card-head>.dashicons{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#f0eaff;color:#7137ea;font-size:20px}.cash-opening-card-head h3,.cash-opening-card-head p{margin:0}.cash-opening-card-head h3{font-size:15px}.cash-opening-card-head p{margin-top:3px;color:#738095;font-size:10px}.cash-opening-form{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}.cash-opening-form label{font-size:11px}.cash-opening-form input,.cash-opening-form select{min-height:43px}.cash-opening-form input[readonly]{background:#f5f7fa!important;color:#5d687a}.cash-opening-form label>small{display:block;margin-top:5px;color:#7a8597;font-size:9px}.cash-opening-note{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:7px;background:#f5f1ff;color:#61557b;font-size:10px}.cash-opening-note>.dashicons{color:#7137ea}.cash-opening-form .form-actions{margin-top:0}.cash-opening-form .button-primary{display:inline-flex!important;align-items:center;gap:7px;min-height:42px!important;border:0!important;background:#087a58!important;color:#fff!important}.cash-opening-rules{padding:18px}.cash-opening-rules h3{margin:0 0 13px;font-size:14px}.cash-opening-rules ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.cash-opening-rules li{display:flex;align-items:flex-start;gap:7px;color:#4f5c70;font-size:10px;line-height:1.45}.cash-opening-rules li>.dashicons{color:#11936a;font-size:16px}.cash-opening-rules>div{margin-top:17px;padding:13px;border-radius:7px;background:#f5f1ff}.cash-opening-rules>div small,.cash-opening-rules>div strong{display:block}.cash-opening-rules>div small{color:#7137ea;font-size:8px;font-weight:900;text-transform:uppercase}.cash-opening-rules>div strong{margin-top:4px;font-size:11px}.cash-opening-rules>div p{margin:4px 0 0;color:#736b82;font-size:9px}.cash-all-open{display:flex;align-items:center;gap:12px;padding:28px 20px}.cash-all-open>.dashicons{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#e5f8ee;color:#087a58}.cash-all-open strong{font-size:12px}.cash-all-open p{margin:3px 0 0;color:#748095;font-size:10px}
@media(max-width:1000px){.cash-current-list>div,.cash-opening-layout{grid-template-columns:1fr}}@media(max-width:650px){.cash-opening-hero{align-items:flex-start;flex-direction:column}.cash-current-list article{grid-template-columns:36px 1fr}.cash-current-list dl{grid-column:1/-1;justify-content:space-between}.cash-opening-form{grid-template-columns:1fr}.cash-opening-form .full{grid-column:auto}}

/* Clinessy Core 2.2.93: caja actual y recaudacion desde la apertura. */
.cash-current-list .cash-session-choice{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto 18px;align-items:center;gap:11px;padding:13px 14px;border:1px solid #d9eee4;border-radius:8px;background:#fff;color:inherit;text-decoration:none!important;transition:border-color .15s ease,box-shadow .15s ease}.cash-current-list .cash-session-choice:hover,.cash-current-list .cash-session-choice.is-selected{border-color:#13946d;box-shadow:0 0 0 2px rgba(19,148,109,.09)}.cash-session-arrow{color:#8b96a7;font-size:16px}.cash-live-panel{overflow:hidden;border:1px solid #d8e5df;border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(20,47,38,.05)}.cash-live-panel>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e7eee9;background:#fbfefc}.cash-live-panel>header>div{display:flex;align-items:center;gap:13px}.cash-live-panel>header>div>.dashicons{display:grid;width:44px;height:44px;place-items:center;border-radius:8px;background:#e7f8f1;color:#087a58;font-size:23px}.cash-live-panel header small,.cash-live-panel header h2,.cash-live-panel header p{margin:0;letter-spacing:0}.cash-live-panel header small{color:#087a58;font-size:8px;font-weight:900}.cash-live-panel header h2{margin-top:2px;font-size:18px}.cash-live-panel header p{margin-top:3px;color:#718096;font-size:10px}.cash-live-status{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#e5f8ee;color:#087a58;font-size:9px;font-weight:900}.cash-live-status i{width:7px;height:7px;border-radius:50%;background:#10a873}.cash-live-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.cash-live-kpis article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:start;min-width:0;padding:18px;border-right:1px solid #e8edf0}.cash-live-kpis article:last-child{border-right:0}.cash-live-kpis article>.dashicons{display:grid;width:36px;height:36px;place-items:center;border-radius:8px;background:#edf4ff;color:#3273c8;font-size:18px}.cash-live-kpis article.is-warning>.dashicons{background:#fff4df;color:#d47a08}.cash-live-kpis article.is-primary{background:#f4fcf8}.cash-live-kpis article.is-primary>.dashicons{background:#dff5e9;color:#087a58}.cash-live-kpis small,.cash-live-kpis strong,.cash-live-kpis p{display:block;margin:0}.cash-live-kpis small{color:#6e7b8f;font-size:9px;font-weight:800}.cash-live-kpis strong{margin-top:4px;color:#152238;font-size:20px;line-height:1.1}.cash-live-kpis p{margin-top:5px;color:#8791a2;font-size:8px;line-height:1.35}.cash-live-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 18px;border-top:1px solid #e7ece9;background:#fbfcfd;color:#69768a;font-size:9px}.cash-live-panel>footer>span{display:flex;align-items:center;gap:6px}.cash-live-panel>footer .button{display:inline-flex;align-items:center;gap:5px;min-height:32px!important}.cash-live-panel>footer .dashicons{font-size:15px}
@media(max-width:1200px){.cash-live-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-live-kpis article:nth-child(2){border-right:0}.cash-live-kpis article:nth-child(-n+2){border-bottom:1px solid #e8edf0}}@media(max-width:650px){.cash-current-list .cash-session-choice{grid-template-columns:36px 1fr}.cash-current-list .cash-session-choice dl{grid-column:1/-1;justify-content:space-between}.cash-session-arrow{position:absolute;right:12px;top:12px}.cash-live-panel>header,.cash-live-panel>footer{align-items:flex-start;flex-direction:column}.cash-live-kpis{grid-template-columns:1fr}.cash-live-kpis article{border-right:0;border-bottom:1px solid #e8edf0}.cash-live-kpis article:last-child{border-bottom:0}}

/* Clinessy Core 2.2.94: encabezado de caja aislado de estilos globales. */
.cash-live-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:18px 20px!important;border-bottom:1px solid #e7eee9!important;background:#fbfefc!important}.cash-live-heading>div{display:flex!important;align-items:center!important;gap:13px!important}.cash-live-heading>div>.dashicons{display:grid!important;width:44px!important;height:44px!important;place-items:center!important;border-radius:8px!important;background:#e7f8f1!important;color:#087a58!important;font-size:23px!important}.cash-live-heading small,.cash-live-heading h2,.cash-live-heading p{display:block!important;margin:0!important;letter-spacing:0!important}.cash-live-heading small{color:#087a58!important;font-size:8px!important;font-weight:900!important}.cash-live-heading h2{margin-top:2px!important;color:#172238!important;font-size:18px!important}.cash-live-heading p{margin-top:3px!important;color:#718096!important;font-size:10px!important}.cash-live-refresh{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:11px 18px!important;border-top:1px solid #e7ece9!important;background:#fbfcfd!important;color:#69768a!important;font-size:9px!important}.cash-live-refresh>span{display:flex!important;align-items:center!important;gap:6px!important}.cash-live-refresh .button{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:32px!important}.cash-live-refresh .dashicons{font-size:15px!important}
@media(max-width:650px){.cash-live-heading,.cash-live-refresh{align-items:flex-start!important;flex-direction:column!important}}

/* Clinessy Core 2.2.95: desglose de recaudacion por medio de pago. */
.cash-payment-breakdown{padding:18px 20px;border-top:1px solid #e7ece9;background:#fff}.cash-payment-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}.cash-payment-heading small,.cash-payment-heading h3,.cash-payment-heading p{display:block;margin:0;letter-spacing:0}.cash-payment-heading>div>small{color:#7137ea;font-size:8px;font-weight:900}.cash-payment-heading h3{margin-top:3px;font-size:15px}.cash-payment-heading p{margin-top:3px;color:#778397;font-size:9px}.cash-payment-heading>strong{text-align:right;color:#172238;font-size:18px}.cash-payment-heading>strong small{margin-top:2px;color:#7e899a;font-size:8px;font-weight:800}.cash-payment-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.cash-payment-grid article{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:11px;border:1px solid #e4e9ee;border-radius:8px;background:#fbfcfd}.cash-payment-grid article>.dashicons{display:grid;width:30px;height:30px;place-items:center;border-radius:7px;background:#f0eaff;color:#7137ea;font-size:16px}.cash-payment-grid article.needs-review{border-color:#f1cd88;background:#fffaf0}.cash-payment-grid article.needs-review>.dashicons{background:#fff0cf;color:#bd7109}.cash-payment-grid small,.cash-payment-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cash-payment-grid small{color:#727e91;font-size:8px;font-weight:800}.cash-payment-grid strong{margin-top:2px;color:#172238;font-size:13px}.cash-payment-grid article>b{color:#768296;font-size:9px}.cash-payment-bar{display:block;height:3px;margin-top:6px;overflow:hidden;border-radius:99px;background:#e8ebf0}.cash-payment-bar>i{display:block;height:100%;border-radius:99px;background:#7137ea}
@media(max-width:1300px){.cash-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.cash-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.cash-payment-heading{align-items:flex-start;flex-direction:column}.cash-payment-heading>strong{text-align:left}.cash-payment-grid{grid-template-columns:1fr}}

/* Clinessy Core 2.2.96: ingresos y retiros manuales de caja. */
.cash-movements{padding:18px 20px;border-top:1px solid #e7ece9;background:#fbfcfd}.cash-movements-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}.cash-movements-heading small,.cash-movements-heading h3,.cash-movements-heading p{display:block;margin:0;letter-spacing:0}.cash-movements-heading>div>small{color:#087a58;font-size:8px;font-weight:900}.cash-movements-heading h3{margin-top:3px;font-size:15px}.cash-movements-heading p{margin-top:3px;color:#778397;font-size:9px}.cash-movements-heading dl{display:flex;gap:22px;margin:0}.cash-movements-heading dl>div{text-align:right}.cash-movements-heading dt{color:#7e899a;font-size:8px;font-weight:800}.cash-movements-heading dd{margin:3px 0 0;font-size:13px;font-weight:900}.cash-movements .income{color:#087a58}.cash-movements .withdrawal{color:#d24754}.cash-movement-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:12px}.cash-movement-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cash-movement-forms form{display:grid!important;grid-template-columns:minmax(90px,.45fr) minmax(150px,1fr) auto;gap:8px;align-items:end;padding:12px;border:1px solid #dfe7e3;border-radius:8px;background:#fff}.cash-movement-form-title{grid-column:1/-1;display:flex;align-items:center;gap:7px}.cash-movement-form-title>.dashicons{display:grid;width:27px;height:27px;place-items:center;border-radius:7px;background:#e6f7ef;color:#087a58;font-size:15px}.cash-withdrawal-form .cash-movement-form-title>.dashicons{background:#ffebed;color:#d24754}.cash-movement-form-title strong{font-size:11px}.cash-movement-forms label{display:grid;gap:4px;color:#596779;font-size:8px;font-weight:800}.cash-movement-forms input{width:100%;min-height:35px;box-sizing:border-box;border:1px solid #dbe2df;border-radius:7px;padding:6px 8px;font-size:10px}.cash-movement-forms .button{min-height:35px!important;border-color:#a9d9c6!important;color:#087a58!important;font-size:9px!important;font-weight:900!important}.cash-withdrawal-form .button{border-color:#efb9bf!important;color:#c93846!important}.cash-movement-history{overflow:hidden;border:1px solid #e1e6eb;border-radius:8px;background:#fff}.cash-movement-history h4{margin:0;padding:11px 12px;border-bottom:1px solid #e8ecef;font-size:11px}.cash-movement-list{max-height:190px;overflow:auto}.cash-movement-list article{display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 11px;border-bottom:1px solid #edf0f2}.cash-movement-list article:last-child{border-bottom:0}.cash-movement-list article>.dashicons{display:grid;width:25px;height:25px;place-items:center;border-radius:7px;background:#e7f7ef;color:#087a58;font-size:14px}.cash-movement-list article:has(>b.withdrawal)>.dashicons{background:#ffebed;color:#d24754}.cash-movement-list strong,.cash-movement-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cash-movement-list strong{font-size:9px}.cash-movement-list small{margin-top:2px;color:#8791a1;font-size:8px}.cash-movement-list b{font-size:10px;white-space:nowrap}.cash-movement-empty{margin:0;padding:20px 12px;color:#8791a1;font-size:9px;text-align:center}
@media(max-width:1200px){.cash-movement-workspace{grid-template-columns:1fr}.cash-movement-forms form{grid-template-columns:minmax(90px,.4fr) minmax(160px,1fr) auto}}@media(max-width:760px){.cash-movements-heading{align-items:flex-start;flex-direction:column}.cash-movements-heading dl{width:100%;justify-content:space-between}.cash-movement-forms{grid-template-columns:1fr}}@media(max-width:520px){.cash-movement-forms form{grid-template-columns:1fr}.cash-movement-form-title{grid-column:auto}.cash-movement-forms .button{width:100%}}

/* Clinessy Core 2.2.98: detalle de ventas asociadas a la caja. */
.cash-session-sales{border-top:1px solid #e7ece9;background:#fff}.cash-session-sales-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:18px 20px 14px}.cash-session-sales-heading small,.cash-session-sales-heading h3,.cash-session-sales-heading p{display:block;margin:0;letter-spacing:0}.cash-session-sales-heading>div>small{color:#3273c8;font-size:8px;font-weight:900}.cash-session-sales-heading h3{margin-top:3px;font-size:15px}.cash-session-sales-heading p{margin-top:3px;color:#778397;font-size:9px}.cash-session-sales-heading>span{padding:6px 9px;border-radius:999px;background:#edf4ff;color:#3273c8;font-size:9px;font-weight:900}.cash-session-sales-table{overflow-x:auto;border-top:1px solid #e8ecef}.cash-session-sales-columns,.cash-session-sales-table article{display:grid;grid-template-columns:56px minmax(190px,1.5fr) 90px 90px 90px minmax(115px,.8fr) 90px 28px;align-items:center;gap:10px;min-width:900px}.cash-session-sales-columns{padding:9px 16px;background:#f7f9fb;color:#7b8697;font-size:8px;font-weight:900;text-transform:uppercase}.cash-session-sales-table article{padding:10px 16px;border-top:1px solid #edf0f2;color:#273246;font-size:9px}.cash-session-sales-table article:first-of-type{border-top:0}.cash-session-sales-table time{color:#647186;font-weight:900}.cash-sale-person{min-width:0}.cash-sale-person strong,.cash-sale-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cash-sale-person strong{font-size:10px}.cash-sale-person small{margin-top:2px;color:#8791a1;font-size:8px}.cash-session-sales-table article>b{font-size:10px}.cash-session-sales-table article>b.collected{color:#087a58}.cash-session-sales-table article>b.balance{color:#d47a08}.cash-sale-method{overflow:hidden;color:#596679;text-overflow:ellipsis;white-space:nowrap}.cash-sale-status{display:inline-flex;width:max-content;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:900}.cash-sale-status.paid{background:#e5f8ee;color:#087a58}.cash-sale-status.partial{background:#fff3dd;color:#b86a08}.cash-sale-status.pending{background:#ffebed;color:#c83d49}.cash-session-sales-table article>a{display:grid;width:26px;height:26px;place-items:center;border-radius:7px;color:#66758a;text-decoration:none!important}.cash-session-sales-table article>a:hover{background:#edf4ff;color:#3273c8}.cash-session-sales-table article>a .dashicons{font-size:15px}.cash-session-sales-empty{display:grid;justify-items:center;padding:28px 20px;border-top:1px solid #e8ecef;text-align:center}.cash-session-sales-empty>.dashicons{width:34px;height:34px;color:#9aa5b5;font-size:34px}.cash-session-sales-empty strong{margin-top:8px;font-size:11px}.cash-session-sales-empty p,.cash-session-sales-limit{margin:3px 0 0;color:#8993a3;font-size:9px}.cash-session-sales-limit{padding:8px 16px;border-top:1px solid #edf0f2;text-align:right}
@media(max-width:760px){.cash-session-sales-heading{align-items:flex-start;flex-direction:column}.cash-session-sales-table{overflow:visible}.cash-session-sales-columns{display:none}.cash-session-sales-table article{position:relative;grid-template-columns:50px minmax(0,1fr) auto;min-width:0;padding:12px}.cash-session-sales-table article>time{grid-column:1}.cash-session-sales-table .cash-sale-person{grid-column:2}.cash-session-sales-table article>b,.cash-sale-method,.cash-sale-status{grid-row:auto}.cash-session-sales-table article>a{position:absolute;right:10px;top:10px}.cash-session-sales-table article>b:before{display:block;color:#8a94a3;font-size:7px;font-weight:800}.cash-session-sales-table article>b:nth-of-type(1):before{content:'TOTAL'}.cash-session-sales-table article>b:nth-of-type(2):before{content:'COBRADO'}.cash-session-sales-table article>b:nth-of-type(3):before{content:'SALDO'}}

/* Clinessy Core 2.3.0: cierre de caja con conciliacion de efectivo. */
.cash-close-section{padding:18px 20px;border-top:1px solid #e7ece9;background:#f8fbfa}.cash-close-heading{display:flex;align-items:center;gap:11px;margin-bottom:14px}.cash-close-heading>.dashicons{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#e7f8f1;color:#087a58;font-size:20px}.cash-close-heading small,.cash-close-heading h3,.cash-close-heading p{display:block;margin:0;letter-spacing:0}.cash-close-heading small{color:#087a58;font-size:8px;font-weight:900}.cash-close-heading h3{margin-top:2px;font-size:15px}.cash-close-heading p{margin-top:3px;color:#778397;font-size:9px}.cash-close-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);gap:12px;padding:14px;border:1px solid #dbe6e1;border-radius:8px;background:#fff}.cash-close-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cash-close-values>div,.cash-close-values>label{display:grid;align-content:center;min-height:68px;box-sizing:border-box;padding:10px 12px;border:1px solid #e2e8e5;border-radius:8px;background:#fbfcfc}.cash-close-values small,.cash-close-values strong,.cash-close-values label>span{display:block}.cash-close-values small,.cash-close-values label>span{color:#758195;font-size:8px;font-weight:800}.cash-close-values strong{margin-top:4px;color:#172238;font-size:17px}.cash-close-values input{width:100%;min-height:34px;margin-top:4px;box-sizing:border-box;border:1px solid #cbd9d2;border-radius:7px;padding:5px 8px;font-size:13px;font-weight:900}.cash-close-difference.is-balanced{border-color:#bfe5d4;background:#f4fcf8}.cash-close-difference.is-balanced strong{color:#087a58}.cash-close-difference.has-difference{border-color:#efc77d;background:#fffaf0}.cash-close-difference.has-difference strong{color:#c37208}.cash-close-difference>span{margin-top:3px;color:#8a94a3;font-size:7px}.cash-close-notes{display:grid;gap:5px;color:#566376;font-size:9px;font-weight:800}.cash-close-notes span{display:flex;justify-content:space-between;gap:8px}.cash-close-notes span small{color:#8791a1;font-size:8px;font-weight:600}.cash-close-notes textarea{width:100%;min-height:68px;box-sizing:border-box;border:1px solid #d8e1dd;border-radius:8px;padding:8px 10px;resize:vertical;font-size:9px}.cash-close-confirm{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:11px;border-top:1px solid #e8ecea}.cash-close-confirm>label{display:flex;align-items:center;gap:7px;color:#596678;font-size:9px;font-weight:700}.cash-close-confirm input{accent-color:#087a58}.cash-close-confirm .button-primary{display:inline-flex!important;align-items:center;gap:6px;min-height:38px!important;border:0!important;background:#087a58!important;color:#fff!important}.cash-close-confirm .dashicons{font-size:16px}
@media(max-width:900px){.cash-close-form{grid-template-columns:1fr}.cash-close-notes{grid-column:1}.cash-close-confirm{grid-column:1}}@media(max-width:620px){.cash-close-values{grid-template-columns:1fr}.cash-close-confirm{align-items:stretch;flex-direction:column}.cash-close-confirm .button-primary{justify-content:center;width:100%}}

/* Clinessy Core 2.2.85: ficha clínica vinculada a cada sesión. */
.appointment-detail-actions-v2 .appointment-session-clinical{display:inline-flex!important;align-items:center;gap:7px;min-height:42px;padding:5px 12px!important;border-color:#c8b7f7!important;color:#5930bd!important}
.appointment-session-clinical small{margin-left:3px;padding:2px 7px;border-radius:999px;background:#f1edff;color:#6540c8;font-size:10px;font-weight:800}
.appointment-detail-actions-v2 .appointment-session-clinical.is-completed{border-color:#9ed9bf!important;color:#087443!important;background:#f5fcf8!important}
.appointment-session-clinical.is-completed small{background:#dff6e9;color:#087443}
.session-clinical-card{display:flex!important;flex-direction:column;width:min(900px,calc(100vw - 32px));height:min(720px,calc(100vh - 40px));max-height:calc(100vh - 40px);overflow:hidden!important;padding:0!important}
.session-clinical-header{z-index:2;display:grid;flex:0 0 auto;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid #e6e9f0;background:#fff}
.session-clinical-header>.dashicons{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:#f0eaff;color:#7137ea;font-size:24px}
.session-clinical-header h2,.session-clinical-header p{margin:0;letter-spacing:0}.session-clinical-header p{margin-top:3px;color:#667085}
.session-clinical-status{padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800}.session-clinical-status.is-completed{background:#e7f8ef;color:#087443}.session-clinical-status.is-empty{background:#f2f4f7;color:#667085}
.session-clinical-header .clinessy-modal-close{position:static!important;width:38px;height:38px}
.session-clinical-form{display:grid!important;flex:1;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;padding:0!important}.session-clinical-selector{display:flex;align-items:end;gap:18px;padding:20px 24px;border-bottom:1px solid #eaecf0}.session-clinical-selector label{flex:1;font-weight:800}.session-clinical-selector select{width:100%;margin-top:7px}.session-clinical-selector>a{display:inline-flex;align-items:center;gap:5px;padding-bottom:11px;color:#5930bd;font-weight:700}
.session-clinical-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:18px;min-height:0;padding:22px 24px;overflow-y:auto}.session-clinical-fields[hidden]{display:none!important}.session-clinical-fields label{font-weight:700}.session-clinical-fields textarea{width:100%;margin-top:7px;resize:vertical}
.session-clinical-prompt,.session-clinical-empty{min-height:0;text-align:center;padding:58px 24px;overflow-y:auto}.session-clinical-prompt[hidden]{display:none!important}.session-clinical-prompt .dashicons,.session-clinical-empty>.dashicons{width:auto;height:auto;color:#7137ea;font-size:38px}.session-clinical-prompt h3,.session-clinical-empty h3{margin:12px 0 5px;letter-spacing:0}.session-clinical-prompt p,.session-clinical-empty p{margin:0 0 18px;color:#667085}
.session-clinical-empty .session-clinical-empty-action{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:42px!important;padding:0 16px!important;border:0!important;border-radius:7px!important;background:#7137ea!important;color:#fff!important;box-shadow:0 7px 16px rgba(113,55,234,.2)!important;text-decoration:none!important;font-weight:800!important;line-height:42px!important}.session-clinical-empty .session-clinical-empty-action:hover,.session-clinical-empty .session-clinical-empty-action:focus{background:#5f2bd1!important;color:#fff!important;box-shadow:0 8px 18px rgba(113,55,234,.28)!important}.session-clinical-empty .session-clinical-empty-action .dashicons{width:17px;height:17px;font-size:17px;line-height:17px}
.session-clinical-form>footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e6e9f0;background:#fff}
@media(max-width:760px){.session-clinical-header{grid-template-columns:auto 1fr auto}.session-clinical-status{grid-column:2}.session-clinical-fields{grid-template-columns:1fr}.session-clinical-selector{align-items:stretch;flex-direction:column}.session-clinical-selector>a{padding-bottom:0}.appointment-session-clinical small{display:none}}

/* Clinessy Core 2.2.88: constructor visual de fichas clínicas. */
.clinical-builder-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.55fr);gap:18px;align-items:start}.clinical-template-builder{padding:0!important;overflow:visible!important}.clinical-builder-title{display:grid;grid-template-columns:1fr minmax(280px,.7fr);align-items:end;gap:20px;padding:20px 22px;border-bottom:1px solid #ece8f2;background:#fff}.clinical-builder-title h3,.clinical-builder-title p{margin:0}.clinical-builder-title p{margin-top:4px;color:#747b8f;font-size:11px}.clinical-builder-title label{font-weight:800}.clinical-builder-title input{width:100%;margin-top:6px}.clinical-builder-workspace{display:grid;grid-template-columns:185px minmax(0,1fr);min-height:500px;overflow:hidden}.clinical-builder-workspace>aside{display:flex;flex-direction:column;gap:7px;padding:17px;border-right:1px solid #ece8f2;background:#faf9fc}.clinical-builder-workspace>aside h4{margin:0 0 7px;color:#31364a;font-size:11px;text-transform:uppercase}.clinical-builder-workspace>aside button{display:flex;align-items:center;gap:8px;min-height:39px;padding:7px 9px;border:1px solid #e2ddec;border-radius:7px;background:#fff;color:#34384b;text-align:left;font-size:11px;font-weight:750;cursor:pointer}.clinical-builder-workspace>aside button:hover{border-color:#9f80eb;color:#6530d5}.clinical-builder-workspace>aside .dashicons{color:#7137ea}.clinical-builder-canvas{min-width:0;padding:18px;background:#f7f8fb}.clinical-builder-empty{display:grid;justify-items:center;padding:70px 20px;border:1px dashed #cfc7dc;border-radius:8px;background:#fff;text-align:center}.clinical-builder-empty[hidden]{display:none!important}.clinical-builder-empty>.dashicons{width:38px;height:38px;color:#7137ea;font-size:38px}.clinical-builder-empty strong{margin-top:9px}.clinical-builder-empty p{margin:4px 0 0;color:#747b8f;font-size:11px}.clinical-builder-canvas>[data-clinical-builder-list]{display:grid;gap:10px}.clinical-builder-field{display:grid;grid-template-columns:32px minmax(0,1fr) 34px;align-items:start;gap:9px;padding:13px;border:1px solid #e1dce8;border-radius:8px;background:#fff;box-shadow:0 3px 10px rgba(31,24,67,.035)}.clinical-builder-field.is-dragging{opacity:.5}.clinical-builder-field.has-error{border-color:#e05260;background:#fffafb;box-shadow:0 0 0 2px rgba(224,82,96,.08)}.clinical-builder-field .is-invalid{border-color:#d83d4c!important;box-shadow:0 0 0 3px rgba(216,61,76,.09)!important}.clinical-field-drag,.clinical-field-delete{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:7px;background:#f4f1f8;color:#777d8e;cursor:grab}.clinical-field-delete{color:#c43d4b;cursor:pointer}.clinical-field-editor>div{display:grid;grid-template-columns:1fr 180px;gap:10px}.clinical-field-editor label{font-size:10px;font-weight:800}.clinical-field-editor input,.clinical-field-editor select,.clinical-field-editor textarea{width:100%;margin-top:5px;box-sizing:border-box}.clinical-field-options{display:block;margin-top:10px}.clinical-field-options small{color:#858a99;font-weight:500}.clinical-required-toggle{display:flex!important;align-items:center;gap:8px;margin-top:10px}.clinical-required-toggle input{position:absolute;opacity:0}.clinical-required-toggle>span{position:relative;width:34px;height:19px;border-radius:99px;background:#cfd2da}.clinical-required-toggle>span:after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:.18s}.clinical-required-toggle input:checked+span{background:#7137ea}.clinical-required-toggle input:checked+span:after{transform:translateX(15px)}.clinical-template-builder>.clinical-builder-actions{position:sticky;z-index:8;bottom:0;display:flex;justify-content:space-between;padding:13px 20px;border-top:1px solid #e1dce8;background:rgba(255,255,255,.97);box-shadow:0 -8px 20px rgba(31,24,67,.07);backdrop-filter:blur(8px)}.clinical-builder-actions>span{color:#71788b;font-size:11px;font-weight:800}.clinical-builder-actions>div{display:flex;gap:9px}.clinical-builder-actions .button{display:inline-flex!important;align-items:center;gap:6px;min-height:40px}
.clinical-builder-layout>.consent-template-list{padding:16px;border:1px solid #e6e1ed;border-radius:8px;background:#fff}.clinical-builder-layout>.consent-template-list h3{margin-bottom:8px;font-size:16px}.clinical-builder-layout .consent-template-item{grid-template-columns:38px minmax(0,1fr) auto auto;gap:8px;padding:12px 0}.clinical-builder-layout .consent-template-item>.dashicons{width:34px;height:34px}.clinical-builder-layout .consent-template-item .button{min-height:32px;padding:0 8px!important;font-size:10px}
.clinical-builder-layout .clinical-basic-template{grid-template-columns:38px minmax(0,1fr) auto;padding:12px;border:1px solid #dce8e2;border-radius:8px;background:#f7fcf9}.clinical-basic-badge{padding:5px 7px;border-radius:6px;background:#e2f6e9;color:#087443;font-size:9px;font-weight:900}.clinical-builder-actions .button-primary:disabled{border-color:#d8dbe2!important;background:#e6e8ed!important;color:#8a91a0!important;box-shadow:none!important;cursor:not-allowed!important}
.clinical-preview-dialog{position:fixed;z-index:1100000;inset:0;display:grid;place-items:center;padding:22px;background:rgba(12,18,38,.64);backdrop-filter:blur(3px)}.clinical-preview-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(820px,calc(100vw - 32px));max-height:calc(100vh - 44px);overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 28px 80px rgba(4,9,24,.3)}.clinical-preview-card>header{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #e6e9ef}.clinical-preview-card>header>.dashicons{display:grid;width:40px;height:40px;place-items:center;border-radius:8px;background:#f0eaff;color:#7137ea;font-size:22px}.clinical-preview-card h3,.clinical-preview-card p{margin:0}.clinical-preview-card p{margin-top:3px;color:#70788b;font-size:11px}.clinical-preview-card>header button{width:36px;height:36px;border:1px solid #e0dce7;border-radius:8px;background:#fff;color:#51576a;font-size:24px;cursor:pointer}.clinical-preview-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:16px;padding:20px;overflow-y:auto}.clinical-preview-fields>label{display:grid;gap:7px}.clinical-preview-fields strong em{margin-left:7px;padding:2px 6px;border-radius:5px;background:#fff0f0;color:#b42332;font-size:8px;font-style:normal}.clinical-preview-fields input,.clinical-preview-fields textarea,.clinical-preview-fields select{width:100%;box-sizing:border-box}.clinical-preview-fields fieldset{display:flex;flex-wrap:wrap;gap:10px 16px;margin:0;padding:13px;border:1px solid #ded9e7;border-radius:8px}.clinical-preview-fields fieldset label{display:flex;align-items:center;gap:5px}.clinical-preview-fields legend{padding:0 5px}.clinical-preview-card>footer{display:flex;justify-content:flex-end;padding:14px 20px;border-top:1px solid #e6e9ef;background:#fafbfc}.clinical-preview-open{overflow:hidden}
.session-clinical-fields strong em,.client-clinical-fields strong em{margin-left:7px;padding:2px 6px;border-radius:5px;background:#fff0f0;color:#b42332;font-size:8px;font-style:normal}.session-clinical-fields fieldset,.client-clinical-fields fieldset{display:flex;flex-wrap:wrap;gap:9px 16px;margin:0;padding:13px;border:1px solid #dcd6e6;border-radius:8px}.session-clinical-fields legend,.client-clinical-fields legend{padding:0 5px;font-weight:800}.session-clinical-fields fieldset label,.client-clinical-fields fieldset label{display:flex;align-items:center;gap:6px}.session-clinical-fields input:not([type=radio]):not([type=checkbox]),.session-clinical-fields select,.client-clinical-fields input:not([type=radio]):not([type=checkbox]),.client-clinical-fields select{width:100%;min-height:42px;margin-top:7px;box-sizing:border-box}
@media(max-width:1050px){.clinical-builder-layout{grid-template-columns:1fr}.clinical-builder-layout>.consent-template-list{position:static}}@media(max-width:700px){.clinical-builder-title,.clinical-builder-workspace{grid-template-columns:1fr}.clinical-builder-workspace>aside{display:grid;grid-template-columns:1fr 1fr;border-right:0;border-bottom:1px solid #ece8f2}.clinical-builder-workspace>aside h4{grid-column:1/-1}.clinical-field-editor>div,.clinical-preview-fields{grid-template-columns:1fr}.clinical-builder-actions{align-items:stretch!important;flex-direction:column}.clinical-builder-actions>div{display:grid;grid-template-columns:1fr 1fr}.clinical-builder-actions .button-primary{grid-column:1/-1;justify-content:center}}

/* Clinessy Core 2.2.76: biblioteca de consentimientos por empresa. */
.client-consent-template-empty{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 0 14px;padding:12px;border:1px solid #eadba9;border-radius:8px;background:#fffaf0;color:#344054}
.client-consent-template-empty>.dashicons{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;background:#fff1c7;color:#9a6700;font-size:18px;line-height:34px}
.client-consent-template-empty strong{display:block;color:#182238;font-size:12px}
.client-consent-template-empty p{margin:3px 0 0;color:#667085;font-size:10px}
.client-consent-template-empty .button{white-space:nowrap}
@media(max-width:700px){.client-consent-template-empty{grid-template-columns:34px minmax(0,1fr)}.client-consent-template-empty .button{grid-column:1/-1;width:100%;text-align:center}}

/* Clinessy Core 2.2.71: ficha de atenciones de clienta. */
.client-clinical-section{margin-top:16px;border:1px solid #dde5f0;border-radius:8px;background:#fff;overflow:hidden}.client-clinical-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e7ecf3}.client-clinical-heading>div,.client-clinical-title{display:flex;align-items:center;gap:12px}.client-clinical-heading>div>.dashicons,.client-clinical-title>.dashicons{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#f1eaff;color:#7137ea;font-size:22px}.client-clinical-heading h2,.client-clinical-heading p,.client-clinical-title h3,.client-clinical-title p{margin:0}.client-clinical-heading h2{font-size:18px}.client-clinical-heading p,.client-clinical-title p{margin-top:3px;color:#667085;font-size:12px;font-weight:700}.client-clinical-heading .button{display:inline-flex;align-items:center;gap:7px;min-height:38px}.client-clinical-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fbfcfe;border-bottom:1px solid #e7ecf3}.client-clinical-summary>div{padding:15px 20px;border-right:1px solid #e7ecf3}.client-clinical-summary>div:last-child{border-right:0}.client-clinical-summary small{display:block;color:#778398;font-size:10px;font-weight:900;text-transform:uppercase}.client-clinical-summary strong{display:block;margin-top:4px;color:#14213d;font-size:15px}.client-clinical-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.6fr)}.client-clinical-layout>article{padding:20px 22px}.client-clinical-notes{border-right:1px solid #e7ecf3}.client-clinical-title h3{font-size:15px}.client-clinical-notes .client-notes-box{margin-top:16px;min-height:94px}.client-clinical-notes>a{display:inline-block;margin-top:12px;color:#087a4f;font-size:12px;font-weight:800}.client-clinical-empty{display:flex;align-items:center;gap:12px;margin-top:16px;padding:22px;border:1px dashed #dbe3ee;border-radius:8px;background:#fbfcfe}.client-clinical-empty>.dashicons{color:#7137ea;font-size:24px}.client-clinical-empty strong{display:block}.client-clinical-empty p{margin:3px 0 0;color:#667085;font-size:12px}.client-clinical-list{margin-top:12px}.client-clinical-list>article{display:grid;grid-template-columns:105px minmax(0,1fr) auto 38px;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #e7ecf3}.client-clinical-date strong,.client-clinical-list article>div>strong{display:block;color:#18243d;font-size:12px}.client-clinical-date small,.client-clinical-list article>div>small{display:block;margin-top:3px;color:#778398;font-size:10px;font-weight:700}.client-clinical-list article>div>p{margin:5px 0 0;color:#4b5870;font-size:11px}.client-clinical-state{padding:7px 10px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.client-clinical-state.done{background:#e7f8ef;color:#087a4f}.client-clinical-state.progress{background:#fff3d8;color:#9a6200}.client-clinical-list .button{display:grid!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important}
.client-clinical-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fbfcfe;border-bottom:1px solid #e7ecf3}.client-clinical-overview>div{padding:14px 18px;border-right:1px solid #e7ecf3}.client-clinical-overview>div:last-child{border-right:0}.client-clinical-overview small{display:block;color:#778398;font-size:10px;font-weight:900;text-transform:uppercase}.client-clinical-overview strong{display:block;margin-top:5px;color:#14213d;font-size:13px}.client-clinical-overview .has-alert strong,.client-clinical-overview .consent-expired{color:#dc3158}.client-clinical-overview .is-clear strong,.client-clinical-overview .consent-signed{color:#087a4f}.client-clinical-overview .consent-pending{color:#9a6200}.client-clinical-form{padding:20px 22px;border-bottom:1px solid #e7ecf3}.client-clinical-form-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.client-clinical-form-head .button{display:inline-flex;align-items:center;gap:6px;min-height:36px}.client-clinical-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.client-clinical-fields label{display:flex;flex-direction:column;gap:7px;color:#344054;font-size:11px;font-weight:800}.client-clinical-fields label.wide{grid-column:1/-1}.client-clinical-fields textarea,.client-clinical-fields input,.client-clinical-fields select{width:100%;margin:0;border:1px solid #d9e1ec;border-radius:7px;background:#fbfcfe;color:#18243d;box-shadow:none}.client-clinical-fields textarea{min-height:78px;resize:vertical;padding:10px 12px}.client-clinical-fields input,.client-clinical-fields select{min-height:40px;padding:0 11px}.client-clinical-fields textarea:focus,.client-clinical-fields input:focus,.client-clinical-fields select:focus{border-color:#7137ea;box-shadow:0 0 0 3px rgba(113,55,234,.1)}.client-clinical-history{padding:20px 22px}
.client-clinical-form{padding:24px 30px}.client-clinical-form-head{padding-bottom:16px;border-bottom:1px solid #eef2f7}.client-clinical-form-head .button-primary{min-height:42px!important;padding:0 16px!important;border:0!important;border-radius:8px!important;background:#6337d2!important;color:#fff!important;font-size:12px!important;font-weight:850!important;line-height:1!important;box-shadow:none!important}.client-clinical-form-head .button-primary:hover,.client-clinical-form-head .button-primary:focus{background:#5628c6!important;color:#fff!important}.client-clinical-fields{gap:16px 18px;margin-top:18px}.client-clinical-fields label{gap:8px;font-size:12px}.client-clinical-fields label>span{color:#344054;font-weight:850}.client-clinical-fields textarea,.client-clinical-fields input,.client-clinical-fields select{border-radius:9px;background:#fff;font-family:inherit!important;font-size:13px;line-height:1.45;letter-spacing:0}.client-clinical-fields textarea{min-height:88px;padding:11px 13px}.client-clinical-fields textarea::placeholder,.client-clinical-fields input::placeholder{color:#8a94a6;opacity:1;font-family:inherit}.client-clinical-fields input,.client-clinical-fields select{min-height:43px}
.client-clinical-picker{display:flex;align-items:flex-end;gap:10px;padding:18px 30px;border-bottom:1px solid #e7ecf3;background:#fbfcfe}.client-clinical-picker label{display:flex;flex:1;max-width:480px;flex-direction:column;gap:7px;color:#344054;font-size:11px;font-weight:850}.client-clinical-picker select{width:100%;min-height:40px;margin:0;border:1px solid #d9e1ec;border-radius:7px;background:#fff}.client-clinical-picker .button{display:inline-flex;align-items:center;gap:6px;min-height:40px}.consent-template-editor label small{color:#778398;font-size:11px;font-weight:600}
.client-clinical-start{display:flex;align-items:center;justify-content:center;gap:14px;min-height:230px;padding:36px;text-align:left;border-bottom:1px solid #e7ecf3;background:#fff}.client-clinical-start>.dashicons{display:grid;place-items:center;width:52px;height:52px;border-radius:8px;background:#f1eaff;color:#7137ea;font-size:26px}.client-clinical-start strong{display:block;color:#18243d;font-size:16px}.client-clinical-start p{max-width:520px;margin:5px 0 0;color:#667085;font-size:12px;font-weight:650}
@media(max-width:900px){.client-clinical-layout{grid-template-columns:1fr}.client-clinical-notes{border-right:0;border-bottom:1px solid #e7ecf3}.client-clinical-summary{grid-template-columns:repeat(2,1fr)}.client-clinical-summary>div:nth-child(2){border-right:0}.client-clinical-overview{grid-template-columns:repeat(2,1fr)}.client-clinical-overview>div:nth-child(even){border-right:0}.client-clinical-overview>div:last-child{grid-column:1/-1}}
@media(max-width:600px){.client-clinical-heading,.client-clinical-form-head,.client-clinical-picker{align-items:stretch;flex-direction:column}.client-clinical-picker label{max-width:none}.client-clinical-fields{grid-template-columns:1fr}.client-clinical-fields label.wide{grid-column:auto}.client-clinical-list>article{grid-template-columns:86px 1fr auto}.client-clinical-list .client-clinical-state{display:none}}

/* Clinessy Core 2.2.73: consentimientos informados con firma tactil. */
.consent-library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.consent-library-heading h2{margin:0 0 5px}.consent-library-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:28px}.consent-template-editor{padding:22px;border:1px solid #dfe5ef;border-radius:8px;background:#fbfcfe}.consent-template-editor h3,.consent-template-list h3{margin:0 0 18px}.consent-template-editor textarea{min-height:280px;line-height:1.55}.consent-template-actions{display:flex;gap:10px;align-items:center}.consent-template-list{min-width:0}.consent-template-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e5e9f0}.consent-template-item>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#f0e8ff;color:#7137e8}.consent-template-item strong,.consent-template-item small{display:block}.consent-template-item small{margin-top:4px;color:#718096}.consent-template-item.archived{opacity:.62}.client-consent-form textarea[readonly]{background:#f7f9fc;color:#344054;cursor:default}@media(max-width:980px){.consent-library-layout{grid-template-columns:1fr}.consent-template-item{grid-template-columns:42px minmax(0,1fr) auto}.consent-template-item .button:last-child{grid-column:2/4;justify-self:start}}
.client-consents-section{margin-top:16px;border:1px solid #dde5f0;border-radius:8px;background:#fff;overflow:hidden}.client-consents-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e7ecf3}.client-consents-heading>div{display:flex;align-items:center;gap:12px}.client-consents-heading .dashicons{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#efe8ff;color:#7137ea;font-size:22px}.client-consents-heading h2,.client-consents-heading p{margin:0}.client-consents-heading h2{font-size:18px}.client-consents-heading p{margin-top:3px;color:#667085;font-size:12px;font-weight:700}.client-consents-count{padding:7px 10px;border-radius:999px;background:#eef2f7;color:#526078;font-size:10px;font-weight:900}.client-consent-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)}.client-consent-form,.client-consent-history{padding:20px 22px}.client-consent-form{border-right:1px solid #e7ecf3}.client-consent-form-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.client-consent-form-head small{color:#7137ea;font-size:10px;font-weight:900;text-transform:uppercase}.client-consent-form-head h3{margin:3px 0 0;font-size:17px}.client-consent-tablet-button{display:inline-flex!important;align-items:center;gap:6px}.client-consent-form>label,.client-consent-identity label{display:flex;flex-direction:column;gap:7px;margin-top:13px;color:#344054;font-size:11px;font-weight:800}.client-consent-form textarea,.client-consent-form input[type=text],.client-consent-form select{width:100%;margin:0;border:1px solid #d9e1ec;border-radius:7px;background:#fbfcfe;color:#18243d;box-shadow:none}.client-consent-form textarea{padding:11px 12px;resize:vertical}.client-consent-form input[type=text],.client-consent-form select{min-height:40px;padding:0 11px}.client-consent-identity{display:grid;grid-template-columns:1fr 1fr;gap:14px}.client-signature-wrap{margin-top:16px}.client-signature-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#344054;font-size:11px;font-weight:800}.client-signature-label small{color:#778398}.client-signature-wrap canvas{display:block;width:100%;height:150px;border:1px dashed #aebbd0;border-radius:8px;background:#fff;touch-action:none;cursor:crosshair}.client-signature-actions{display:flex;justify-content:flex-end;margin-top:8px}.client-consent-accept{flex-direction:row!important;align-items:flex-start!important}.client-consent-submit{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.client-consent-submit .button{display:inline-flex;align-items:center;gap:6px}.client-consent-submit [data-consent-exit]{display:none}.client-consent-history>.client-clinical-title{margin-bottom:12px}.client-consent-list article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px 0;border-top:1px solid #e7ecf3}.client-consent-list article>.dashicons{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e7f8ef;color:#087a4f}.client-consent-list strong,.client-consent-list small{display:block}.client-consent-list strong{font-size:12px}.client-consent-list small{margin-top:3px;color:#778398;font-size:10px}.client-consent-list .button{display:inline-flex;align-items:center;gap:5px}.client-consent-form.is-tablet-mode{position:fixed;inset:0;z-index:100000;overflow:auto;padding:32px max(28px,8vw);border:0;background:#f7f8fc}.client-consent-form.is-tablet-mode .client-consent-form-head{position:sticky;top:-32px;z-index:2;margin:0 -8vw 22px;padding:20px 8vw;background:rgba(247,248,252,.96);border-bottom:1px solid #dde5f0}.client-consent-form.is-tablet-mode .client-consent-tablet-button{display:none!important}.client-consent-form.is-tablet-mode [data-consent-exit]{display:inline-flex}.client-consent-form.is-tablet-mode textarea{min-height:190px;font-size:16px;line-height:1.55}.client-consent-form.is-tablet-mode .client-signature-wrap canvas{height:240px;background:#fff}.clinessy-consent-tablet-open{overflow:hidden}
@media(max-width:900px){.client-consent-layout{grid-template-columns:1fr}.client-consent-form{border-right:0;border-bottom:1px solid #e7ecf3}}
@media(max-width:600px){.client-consents-heading,.client-consent-form-head{align-items:flex-start;flex-direction:column}.client-consent-identity{grid-template-columns:1fr}.client-signature-label{flex-direction:column}.client-consent-list article{grid-template-columns:32px 1fr}.client-consent-list .button{grid-column:2;justify-self:start}}

/* Consentimientos: cierre compacto y controles coherentes con Clinessy. */
.client-consent-form textarea{font-family:inherit;font-size:13px;line-height:1.55;letter-spacing:0}
.client-consent-tablet-button,.client-signature-actions .button,.client-consent-submit .button{min-height:38px!important;padding:0 14px!important;border:1px solid #d7dfeb!important;border-radius:7px!important;background:#fff!important;color:#26354f!important;font-size:12px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;box-shadow:none!important}
.client-consent-tablet-button{border-color:#d8cdf8!important;background:#f7f3ff!important;color:#6632d5!important}
.client-consent-tablet-button:hover,.client-signature-actions .button:hover{border-color:#a98cf2!important;background:#f2ecff!important;color:#5722ca!important}
.client-signature-wrap canvas{height:112px!important;background:linear-gradient(to bottom,#fff 0,#fff calc(100% - 28px),#f8f9fc calc(100% - 28px),#f8f9fc 100%)}
.client-signature-actions{margin-top:6px}
.client-consent-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:15px;padding:14px 15px;border:1px solid #e2e7f0;border-radius:8px;background:#f8fafc}
.client-consent-footer .client-consent-accept{margin:0!important;flex:1;color:#344054;font-size:11px;line-height:1.45}
.client-consent-accept input{width:18px;height:18px;margin:0 8px 0 0;accent-color:#6f35df}
.client-consent-submit{flex:0 0 auto;margin:0}
.client-consent-submit .button-primary{min-height:42px!important;padding:0 18px!important;border-color:#6530d2!important;background:#6f35df!important;color:#fff!important}
.client-consent-submit .button-primary:hover{border-color:#5522bd!important;background:#5d27ca!important;color:#fff!important}
.client-consent-form.is-tablet-mode .client-signature-wrap canvas{height:220px!important}
@media(max-width:720px){.client-consent-footer{align-items:stretch;flex-direction:column}.client-consent-submit{width:100%}.client-consent-submit .button{justify-content:center;flex:1}}
.consent-template-actions .button-primary,.consent-template-actions .button-primary:hover,.consent-template-actions .button-primary:focus{color:#fff!important;text-decoration:none!important}

/* Clinessy Core 2.2.70: giftcards en la ficha de clienta. */
.client-giftcards-section{margin-top:16px;border:1px solid #dde5f0;border-radius:8px;background:#fff;overflow:hidden}
.client-giftcards-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e7ecf3}
.client-giftcards-heading>div{display:flex;align-items:center;gap:12px}.client-giftcards-heading>div>.dashicons{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#f1eaff;color:#7137ea;font-size:22px}
.client-giftcards-heading h2,.client-giftcards-heading p{margin:0}.client-giftcards-heading h2{font-size:18px}.client-giftcards-heading p{margin-top:3px;color:#667085;font-size:12px;font-weight:700}.client-giftcards-heading .button{display:inline-flex;align-items:center;gap:7px;min-height:38px}
.client-giftcards-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fbfcfe;border-bottom:1px solid #e7ecf3}.client-giftcards-summary>div{padding:15px 20px;border-right:1px solid #e7ecf3}.client-giftcards-summary>div:last-child{border-right:0}.client-giftcards-summary small{display:block;color:#778398;font-size:10px;font-weight:900;text-transform:uppercase}.client-giftcards-summary strong{display:block;margin-top:4px;color:#14213d;font-size:18px}
.client-giftcards-list{padding:0 22px}.client-giftcard-row{display:grid;grid-template-columns:42px minmax(180px,1.3fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(130px,.8fr) auto 38px;align-items:center;gap:14px;min-height:88px;border-bottom:1px solid #e7ecf3}.client-giftcard-row:last-child{border-bottom:0}
.client-giftcard-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#f1eaff;color:#7137ea}.client-giftcard-row small{display:block;margin-bottom:4px;color:#778398;font-size:10px;font-weight:800}.client-giftcard-row strong{display:block;color:#18243d;font-size:12px}.client-giftcard-main strong{font-size:14px}.client-giftcard-main small{margin:4px 0 0}.client-giftcard-value strong{color:#7137ea;font-size:15px}.client-giftcard-value em{display:block;margin-top:3px;color:#ef476f;font-size:9px;font-style:normal;font-weight:800}
.client-giftcard-state{padding:7px 10px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.client-giftcard-state.available{background:#e7f8ef;color:#087a4f}.client-giftcard-state.pending{background:#fff3d8;color:#9a6200}.client-giftcard-state.expired{background:#ffe8ee;color:#d92d52}.client-giftcard-edit{display:grid!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important}
.client-giftcards-empty{display:flex;align-items:center;gap:14px;padding:28px 22px}.client-giftcards-empty>.dashicons{display:grid;place-items:center;width:48px;height:48px;border-radius:8px;background:#f1eaff;color:#7137ea;font-size:24px}.client-giftcards-empty div{flex:1}.client-giftcards-empty strong{display:block;color:#18243d}.client-giftcards-empty p{margin:4px 0 0;color:#667085;font-size:12px}
@media(max-width:1100px){.client-giftcard-row{grid-template-columns:42px 1fr 1fr auto}.client-giftcard-row>div:nth-child(4),.client-giftcard-row>div:nth-child(5){display:none}}
@media(max-width:700px){.client-giftcards-heading{align-items:flex-start;flex-direction:column}.client-giftcards-summary{grid-template-columns:repeat(2,1fr)}.client-giftcards-summary>div:nth-child(2){border-right:0}.client-giftcard-row{grid-template-columns:38px 1fr auto;padding:12px 0}.client-giftcard-row>div:nth-child(3),.client-giftcard-state{display:none}.client-giftcards-empty{align-items:flex-start;flex-wrap:wrap}}

/* Clinessy Core 2.2.69: trazabilidad operativa por cita. */
.client-trace-section{display:grid;gap:14px}
.client-trace-heading,.client-trace-block-title{display:flex;align-items:center;gap:12px}
.client-trace-heading{padding:18px 20px;border:1px solid #dce4ef;border-radius:8px;background:#fff}
.client-trace-heading>.dashicons{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#f0e9ff;color:#7137ea;font-size:22px}
.client-trace-heading div,.client-trace-block-title div{min-width:0;flex:1}
.client-trace-heading h2,.client-trace-block-title h3{margin:0;color:#14213d;letter-spacing:0}
.client-trace-heading h2{font-size:19px}.client-trace-block-title h3{font-size:15px}
.client-trace-heading p,.client-trace-block-title p,.client-trace-empty p{margin:3px 0 0;color:#718096;font-size:12px}
.client-trace-heading>b,.client-trace-block-title>b{padding:5px 9px;border-radius:999px;background:#f1f4f8;color:#526079;font-size:11px;white-space:nowrap}
.client-trace-card{scroll-margin-top:18px;overflow:hidden;border:1px solid #dce4ef;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(24,35,59,.05);transition:border-color .2s,box-shadow .2s}
.client-trace-card:target{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(113,55,234,.12),0 10px 28px rgba(24,35,59,.08)}
.client-trace-summary{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(140px,1fr) minmax(110px,.65fr) minmax(150px,1fr) auto;align-items:center;gap:18px;padding:17px 20px}
.client-trace-summary>div{min-width:0}.client-trace-summary small{display:block;margin-bottom:4px;color:#7b879b;font-size:10px;font-weight:800;text-transform:uppercase}.client-trace-summary strong{display:block;overflow:hidden;color:#17233d;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.client-trace-date{display:flex;align-items:center;gap:10px}.client-trace-date>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:#edf3ff;color:#3478df}
.client-trace-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff4d8;color:#9a6500;font-size:11px;font-weight:800}.client-trace-status.confirmed,.client-trace-status.completed,.client-trace-status.attended{background:#e7f8ef;color:#087a4b}.client-trace-status.cancelled,.client-trace-status.canceled,.client-trace-status.no_show{background:#fff0f3;color:#d92d58}
.client-trace-edit{display:inline-flex!important;align-items:center;gap:5px;min-height:34px!important;border-color:#dce4ef!important;border-radius:7px!important;color:#35415a!important;font-weight:700!important}.client-trace-edit .dashicons{font-size:16px}
.client-trace-context{display:grid;grid-template-columns:1fr 1fr 2fr;gap:12px;padding:11px 20px;border-top:1px solid #edf1f6;background:#f8fafc;color:#65728a;font-size:11px}.client-trace-context span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-trace-context b{color:#35415a}
.client-trace-block{padding:18px 20px;border-top:1px solid #e5eaf1}.client-trace-communications{background:#fbfcfe}
.client-trace-table{margin-top:13px;overflow:hidden;border:1px solid #e1e7ef;border-radius:7px}.client-trace-table-head,.client-trace-table-row{display:grid;grid-template-columns:160px minmax(150px,.9fr) minmax(220px,1.6fr) minmax(120px,.7fr);gap:14px;align-items:center;padding:10px 13px}.client-trace-table-head{background:#f5f7fa;color:#667085;font-size:10px;font-weight:800;text-transform:uppercase}.client-trace-table-row{min-height:48px;border-top:1px solid #e8edf3;color:#4b5870;font-size:12px}.client-trace-table-row time{color:#65728a}.client-trace-table-row strong{color:#17233d}.client-trace-table-empty{background:#fcfdff}
.client-trace-empty{display:flex;align-items:center;gap:12px;padding:20px;border:1px dashed #ccd6e3;border-radius:8px;background:#fafcff}.client-trace-empty>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:7px;background:#e9f8f1;color:#17a36b}.client-trace-empty.compact{margin-top:13px;padding:13px}.client-trace-empty strong{color:#24324c;font-size:13px}
.client-trace-sales{padding:18px 20px;border:1px solid #dce4ef;border-radius:8px;background:#fff}.client-trace-sales-list{margin-top:13px;border-top:1px solid #e5eaf1}.client-trace-sales-list>div{display:grid;grid-template-columns:130px minmax(180px,1.4fr) minmax(120px,.8fr) minmax(140px,1fr) 110px;gap:14px;align-items:center;padding:12px 4px;border-bottom:1px solid #edf1f5;color:#65728a;font-size:12px}.client-trace-sales-list strong,.client-trace-sales-list b{color:#17233d}.client-trace-sales-list b{text-align:right}
@media(max-width:1100px){.client-trace-summary{grid-template-columns:1fr 1fr 1fr}.client-trace-summary .client-trace-edit{justify-self:start}.client-trace-context{grid-template-columns:1fr}.client-trace-table{overflow-x:auto}.client-trace-table-head,.client-trace-table-row{min-width:780px}}
@media(max-width:700px){.client-trace-heading{align-items:flex-start}.client-trace-summary{grid-template-columns:1fr}.client-trace-context span{white-space:normal}.client-trace-block{padding:15px}.client-trace-sales-list>div{grid-template-columns:1fr 1fr}.client-trace-sales-list b{text-align:left}.client-trace-sales-list span:nth-of-type(2){display:none}}

/* Clinessy Core 2.2.67: historial de citas de la ficha. */
.client-appointments-section{overflow:hidden;border:1px solid #dce4ef;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(21,34,56,.06)}
.client-appointments-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e6ebf2}
.client-appointments-heading>div{display:flex;align-items:center;gap:12px;min-width:0}
.client-appointments-heading>div>.dashicons{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#f0e9ff;color:#7137ea;font-size:21px}
.client-appointments-heading h2{margin:0;color:#14213d;font-size:20px;line-height:1.2;letter-spacing:0}
.client-appointments-heading p{margin:3px 0 0;color:#718096;font-size:12px}
.client-appointments-heading .button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 15px;border:0;border-radius:7px;background:#7137ea;color:#fff;font-weight:700;box-shadow:none}
.client-appointments-heading .button:hover{background:#5f2dcd;color:#fff}
.client-appointments-heading .button .dashicons{width:17px;height:17px;font-size:17px}
.client-appointments-table{min-width:920px}
.client-appointments-table-head,.client-appointment-row{display:grid;grid-template-columns:1.05fr 1.4fr 1.1fr .8fr 1.15fr;align-items:center;column-gap:18px}
.client-appointments-table-head{padding:11px 22px;background:#f8fafc;color:#667085;font-size:11px;font-weight:800;text-transform:uppercase}
.client-appointment-row{position:relative;min-height:88px;padding:15px 22px;border-top:1px solid #edf0f5;color:#14213d}
.client-appointment-row:first-of-type{border-top:0}
.client-appointment-row.upcoming:before{position:absolute;inset:0 auto 0 0;width:3px;background:#7137ea;content:""}
.client-appointment-row.past{background:#fcfdff}
.client-appointment-row.past .client-appointment-date-icon{background:#eef2f7;color:#7b8798}
.client-appointment-date{display:flex;align-items:center;gap:10px;min-width:0}
.client-appointment-date-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:8px;background:#f0e9ff;color:#7137ea}
.client-appointment-date-icon .dashicons{width:18px;height:18px;font-size:18px}
.client-appointment-date strong,.client-appointment-care strong,.client-appointment-professional strong{display:block;overflow:hidden;color:#14213d;font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.client-appointment-date small,.client-appointment-care small,.client-appointment-professional small{display:block;margin-top:3px;overflow:hidden;color:#718096;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.client-appointment-date em{display:inline-block;margin-top:6px;padding:2px 7px;border-radius:999px;background:#f0e9ff;color:#7137ea;font-size:9px;font-style:normal;font-weight:800;text-transform:uppercase}
.client-appointment-care,.client-appointment-professional{min-width:0}
.client-appointment-care p{margin:7px 0 0;color:#58667a;font-size:11px;line-height:1.35}
.client-appointment-status{display:flex;align-items:flex-start;flex-direction:column;gap:5px}
.appointment-status,.appointment-payment{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:999px;background:#eef2f7;color:#566176;font-size:10px;font-weight:800;white-space:nowrap}
.appointment-status.confirmed,.appointment-status.completed,.appointment-status.attended,.appointment-payment.paid,.appointment-payment.pagado{background:#e7f7ef;color:#087c4b}
.appointment-status.pending,.appointment-status.in_progress,.appointment-payment.partial,.appointment-payment.parcial{background:#fff4d8;color:#9a6300}
.appointment-status.cancelled,.appointment-status.canceled,.appointment-status.no_show,.appointment-payment.unpaid,.appointment-payment.no_pagado{background:#ffe9ef;color:#c92f55}
.client-appointment-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}
.client-appointment-actions>.button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:0 10px;border:1px solid #d8e1ec;border-radius:7px;background:#fff;color:#344054;font-size:10px;font-weight:800;box-shadow:none;white-space:nowrap}
.client-appointment-actions>.button:hover{background:#096d47;color:#fff}
.client-appointment-actions>.button .dashicons{width:15px;height:15px;font-size:15px}
.client-appointment-actions>.appointment-edit-button:hover{border-color:#b9c5d5;background:#f4f6fa;color:#14213d}
.client-appointment-actions>.appointment-trace-button{border-color:#7137ea;background:#7137ea;color:#fff}
.client-appointment-actions>.appointment-trace-button:hover{border-color:#5f2dcd;background:#5f2dcd;color:#fff}
.client-appointments-empty{display:flex;align-items:center;justify-content:center;gap:12px;min-height:150px;padding:28px;color:#718096;text-align:left}
.client-appointments-empty>.dashicons{display:grid;place-items:center;width:46px;height:46px;border-radius:8px;background:#f0e9ff;color:#7137ea;font-size:23px}
.client-appointments-empty strong{display:block;color:#14213d;font-size:14px}
.client-appointments-empty p{margin:3px 0 0;font-size:12px}
@media(max-width:1100px){.client-appointments-section{overflow-x:auto}.client-appointments-heading{position:sticky;left:0;min-width:876px}.client-appointments-table{min-width:920px}}

/* Clinessy Core 2.2.65: el resumen del pack expresa el saldo por servicio. */
.client-pack-balance small{line-height:1.35}

/* Clinessy Core 2.2.66: historial de compras de la ficha. */
.client-purchases-section{margin-top:16px;border:1px solid #dde5f0;border-radius:8px;background:#fff;overflow:visible}
.client-purchases-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 21px;border-bottom:1px solid #e7edf5}
.client-purchases-heading>div{display:flex;align-items:center;gap:12px;min-width:0}
.client-purchases-heading>div>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#f0eaff;color:#7137ea;font-size:20px}
.client-purchases-heading h2{margin:0;color:#13213c;font-size:18px;line-height:1.2;letter-spacing:0}
.client-purchases-heading p{margin:3px 0 0;color:#667085;font-size:11px;font-weight:600}
.client-purchases-heading .button{display:inline-flex!important;align-items:center;gap:6px;min-height:36px!important;padding:0 13px!important;border:0!important;border-radius:7px!important;background:#087a4a!important;color:#fff!important;text-decoration:none!important}
.client-purchases-heading .button .dashicons{width:16px;height:16px;font-size:16px}
.client-purchases-table{padding:0 12px 10px}
.client-purchases-table-head,.client-purchase-row{display:grid;grid-template-columns:minmax(260px,1.35fr) minmax(120px,.55fr) minmax(150px,.7fr) minmax(210px,1fr) minmax(210px,.9fr);align-items:center;gap:18px;padding:0 12px}
.client-purchases-table-head{min-height:42px;color:#667085;font-size:9px;font-weight:800;text-transform:uppercase}
.client-purchase-row{min-height:70px;border-top:1px solid #e7edf5;color:#344054;font-size:11px}
.client-purchase-service{display:flex;align-items:center;gap:11px;min-width:0}
.client-purchase-service-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:8px;background:#f0eaff;color:#7137ea}
.client-purchase-service-icon .dashicons{font-size:17px}
.client-purchase-service>div,.client-purchase-responsible,.client-purchase-branch>div,.client-purchase-amount{display:flex;flex-direction:column;min-width:0}
.client-purchase-service strong,.client-purchase-responsible strong,.client-purchase-branch strong,.client-purchase-amount strong{overflow:hidden;color:#17233d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.client-purchase-service small,.client-purchase-responsible small,.client-purchase-branch small,.client-purchase-amount small{margin-top:3px;color:#7a869b;font-size:9px;font-weight:600}
.client-purchase-amount strong{font-size:13px}
.client-purchase-amount.no-charge strong{color:#667085}
.client-payment-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;background:#eef2f6;color:#526078;font-size:10px;font-weight:800;white-space:nowrap}
.client-payment-badge.efectivo{background:#e8f7ef;color:#087a4a}
.client-payment-badge.yape{background:#f0eaff;color:#7137ea}
.client-purchase-branch{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0}
.client-purchase-menu{position:relative;flex:0 0 auto}
.client-purchase-menu>summary{display:grid;place-items:center;width:30px;height:30px;border:1px solid #dce4ef;border-radius:7px;color:#667085;cursor:pointer;list-style:none}
.client-purchase-menu>summary::-webkit-details-marker{display:none}
.client-purchase-menu>summary:hover{background:#f5f7fa;color:#17233d}
.client-purchase-menu>div{position:absolute;z-index:20;top:36px;right:0;width:148px;padding:5px;border:1px solid #dce4ef;border-radius:7px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.13)}
.client-purchase-menu a{display:flex;align-items:center;gap:7px;padding:8px;border-radius:5px;color:#344054;font-size:10px;font-weight:700;text-decoration:none}
.client-purchase-menu a:hover{background:#f5f7fa}
.client-purchase-menu a.danger{color:#c9364f}
.client-purchase-menu a .dashicons{width:15px;height:15px;font-size:15px}
.client-purchases-empty{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px;padding:24px;border:1px dashed #d9e1ec;border-radius:7px;background:#fafbfc;color:#667085}
.client-purchases-empty>.dashicons{color:#98a2b3;font-size:24px}
.client-purchases-empty strong{color:#344054;font-size:13px}.client-purchases-empty p{margin:3px 0 0;font-size:11px}
@media(max-width:1100px){.client-purchases-table{overflow-x:auto}.client-purchases-table-head,.client-purchase-row{min-width:980px}}
@media(max-width:600px){.client-purchases-heading{align-items:flex-start;flex-direction:column}.client-purchases-heading .button{width:100%;justify-content:center}}

/* Clinessy Core 2.2.64: saldo de packs agrupado y desplegable. */
.client-pack-section{margin-top:16px;border:1px solid #dde5f0;border-radius:8px;background:#fff;overflow:hidden}
.client-pack-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e7edf5}
.client-pack-heading>div{display:flex;align-items:center;gap:12px;min-width:0}
.client-pack-heading>div>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#f0eaff;color:#7137ea;font-size:21px}
.client-pack-heading h2{margin:0;color:#13213c;font-size:18px;line-height:1.2;letter-spacing:0}
.client-pack-heading p{margin:3px 0 0;color:#667085;font-size:12px}
.client-pack-heading>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#f2f4f7;color:#526078;font-size:11px;font-weight:700}
.client-pack-list{padding:10px}
.client-pack-card{border-bottom:1px solid #e7edf5;background:#fff}
.client-pack-card:last-child{border-bottom:0}
.client-pack-card>summary{display:grid;grid-template-columns:42px minmax(190px,1fr) minmax(170px,.8fr) auto 24px;align-items:center;gap:14px;min-height:76px;padding:11px 12px;cursor:pointer;list-style:none;border-radius:7px;transition:background .15s ease}
.client-pack-card>summary::-webkit-details-marker{display:none}
.client-pack-card>summary:hover{background:#f8fafc}
.client-pack-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#f0eaff;color:#7137ea}
.client-pack-title,.client-pack-balance{display:flex;flex-direction:column;min-width:0}
.client-pack-title strong{overflow:hidden;color:#14213a;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.client-pack-title small,.client-pack-balance small{margin-top:3px;color:#758198;font-size:10px;font-weight:600}
.client-pack-balance strong{color:#14213a;font-size:13px}
.client-pack-progress,.client-pack-service-progress{display:block;height:5px;margin-top:7px;border-radius:999px;background:#edf1f6;overflow:hidden}
.client-pack-progress i,.client-pack-service-progress i{display:block;height:100%;border-radius:inherit;background:#7137ea}
.client-pack-status,.client-pack-service-state{display:inline-flex;align-items:center;justify-content:center;width:max-content;border-radius:999px;background:#e8f7ef;color:#087a4a;font-size:10px;font-weight:800;white-space:nowrap}
.client-pack-status{padding:6px 9px}
.client-pack-status.low,.client-pack-service-state.low{background:#fff3d8;color:#9a6300}
.client-pack-status.exhausted,.client-pack-service-state.exhausted{background:#f2f4f7;color:#667085}
.client-pack-chevron{color:#758198;transition:transform .18s ease}
.client-pack-card[open] .client-pack-chevron{transform:rotate(180deg)}
.client-pack-services{margin:0 12px 12px;border:1px solid #e4eaf3;border-radius:7px;overflow:hidden;background:#fbfcfe}
.client-pack-services-head,.client-pack-service-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(90px,.6fr) minmax(130px,.8fr) minmax(105px,.6fr);align-items:center;gap:18px;padding:10px 14px}
.client-pack-services-head{background:#f5f7fa;color:#667085;font-size:9px;font-weight:800;text-transform:uppercase}
.client-pack-service-row{min-height:44px;border-top:1px solid #e7edf5;color:#344054;font-size:11px}
.client-pack-service-row strong{color:#17233d;font-size:12px}
.client-pack-service-progress{width:100%;margin:0}
.client-pack-service-state{padding:5px 8px}
.client-pack-empty{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px;padding:24px;border:1px dashed #d9e1ec;border-radius:7px;background:#fafbfc;color:#667085}
.client-pack-empty>.dashicons{color:#98a2b3;font-size:24px}
.client-pack-empty strong{color:#344054;font-size:13px}
.client-pack-empty p{margin:3px 0 0;font-size:11px}
@media(max-width:800px){
  .client-pack-card>summary{grid-template-columns:38px 1fr auto}.client-pack-balance{grid-column:2/4}.client-pack-status{grid-column:2}.client-pack-chevron{grid-column:3;grid-row:1}.client-pack-services{overflow-x:auto}.client-pack-services-head,.client-pack-service-row{min-width:620px}
}

/* Clinessy Core 2.2.61: búsqueda específica del módulo Clientas. */
.clients-search-panel{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:22px;margin:0 0 14px;padding:14px 16px;border:1px solid #dde4ee;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.clients-search-title{display:flex;align-items:center;gap:9px;white-space:nowrap}
.clients-search-title>.dashicons{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#eee7ff;color:#7137ea;font-size:19px}
.clients-search-title h2{margin:0!important;color:#17213a!important;font-size:16px!important;line-height:1.1!important}
.clients-search-form{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.clients-search-form label{display:flex;align-items:center;flex:1;min-width:0;max-width:760px;min-height:42px;margin:0!important;padding:0 13px;border:1px solid #d7dfeb;border-radius:12px;background:#fbfcff}
.clients-search-form label>.dashicons{flex:0 0 19px;width:19px;height:19px;margin-right:8px;color:#748096;font-size:19px}
.clients-search-form input[type="search"]{width:100%;min-width:0;min-height:38px!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#17213a;font-size:13px}
.clients-search-form>.button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:42px!important;margin:0!important;padding:0 15px!important;border-radius:11px!important;font-weight:850!important}
.clients-search-form>.button-primary{border-color:#6236cf!important;background:#6236cf!important;color:#fff!important}
.clients-search-form>.button .dashicons{width:17px;height:17px;font-size:17px}
.clients-search-clear{color:#657085!important}

/* Clinessy Core 2.2.62: listado de clientas más legible y seguro. */
.clients-list-panel{overflow:visible;margin:0;border:1px solid #dce3ed;border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.045)}
.clients-list-panel>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 13px}
.clients-list-panel>header h2{margin:0!important;color:#111827!important;font-size:20px!important;line-height:1.2!important}
.clients-list-panel>header p{margin:3px 0 0;color:#7a8598;font-size:12px;font-weight:700}
.clients-table-wrap{overflow:visible;padding:0 14px 14px}
.clients-table{margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important}
.clients-table thead th{padding:12px 14px!important;border-top:1px solid #e7ebf1!important;border-bottom:1px solid #e7ebf1!important;background:#f8fafc!important;color:#667085!important;font-size:11px!important;letter-spacing:.04em!important;text-transform:uppercase}
.clients-table thead th:first-child{border-radius:10px 0 0 10px}.clients-table thead th:last-child{border-radius:0 10px 10px 0}
.clients-table tbody td{padding:13px 14px!important;border-bottom:1px solid #edf0f4!important;background:#fff!important;vertical-align:middle!important}
.clients-table tbody tr:last-child td{border-bottom:0!important}.clients-table tbody tr:hover td{background:#fbfcff!important}
.client-identity{display:flex;align-items:center;gap:11px;min-width:190px}.client-avatar{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;border-radius:50%;background:#eee7ff;color:#6938df;font-size:12px;font-weight:900}
.client-identity strong{display:block;color:#17213a;font-size:14px;line-height:1.25}.client-identity small{display:block;margin-top:3px;color:#8a94a6;font-size:10px;font-weight:700}
.client-contact{display:grid;gap:4px;min-width:220px}.client-contact>span{display:flex;align-items:center;gap:6px;color:#4f5d73;font-size:12px}.client-contact .dashicons{width:15px;height:15px;color:#8a96aa;font-size:15px}.client-contact em{color:#9aa3b2;font-style:normal}
.clients-table time{color:#59667a;font-size:12px;font-weight:700;white-space:nowrap}
.client-row-actions{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:150px}.client-profile-button{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:36px!important;padding:0 12px!important;border-color:#d8e0eb!important;border-radius:9px!important;background:#fff!important;color:#173963!important;font-weight:800!important}.client-profile-button .dashicons{width:15px;height:15px;font-size:15px}
.client-actions-menu{position:relative}.client-actions-menu>summary{display:grid;width:36px;height:36px;place-items:center;border:1px solid #d8e0eb;border-radius:9px;background:#fff;color:#64748b;cursor:pointer;list-style:none}.client-actions-menu>summary::-webkit-details-marker{display:none}.client-actions-menu>summary .dashicons{width:18px;height:18px;font-size:18px}
.client-actions-menu>div{position:absolute;z-index:30;top:42px;right:0;width:170px;padding:6px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;box-shadow:0 14px 30px rgba(15,23,42,.14)}.client-actions-menu>div a{display:flex;align-items:center;gap:7px;padding:9px;border-radius:7px;text-decoration:none;font-size:12px;font-weight:800}.client-actions-menu>div a.danger{color:#c93645}.client-actions-menu>div a:hover{background:#fff1f2}
.clients-empty{display:grid;justify-items:center;gap:5px;padding:34px 12px;color:#7b8799;text-align:center}.clients-empty .dashicons{width:28px;height:28px;color:#8661ea;font-size:28px}.clients-empty strong{color:#25324a}.clients-empty small{font-size:12px}

/* Clinessy Core 2.2.63: ficha individual operativa y compacta. */
.client-profile-v2{gap:14px!important}
.client-profile-v2 .client-hero-card{position:relative;display:grid!important;grid-template-columns:42px 56px minmax(240px,1fr) auto!important;gap:14px!important;align-items:center!important;margin:0!important;padding:18px 20px!important;border:1px solid #dce3ed!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 26px rgba(15,23,42,.045)!important}
.client-back-link{display:grid;width:38px;height:38px;place-items:center;border:1px solid #dce3ed;border-radius:10px;background:#fff;color:#536178;text-decoration:none}.client-back-link:hover{border-color:#b9a7ed;color:#6938df}.client-back-link .dashicons{width:18px;height:18px;font-size:18px}
.client-profile-avatar{display:grid;width:54px;height:54px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#7547ef,#9b3fe0);color:#fff;font-size:15px;font-weight:950;box-shadow:0 8px 18px rgba(105,56,223,.18)}
.client-hero-eyebrow{display:flex;align-items:center;gap:7px;margin-bottom:3px;color:#7b879a;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.client-active-badge{padding:3px 7px;border-radius:999px;background:#e8f8f1;color:#13875a;letter-spacing:0;text-transform:none}
.client-profile-v2 .client-hero-main h2{margin:0 0 5px!important;color:#17213a!important;font-size:23px!important;line-height:1.15!important}.client-hero-contact{display:flex;flex-wrap:wrap;gap:6px 14px}.client-hero-contact>span{display:flex;align-items:center;gap:5px;color:#667287;font-size:11px;font-weight:700}.client-hero-contact .dashicons{width:14px;height:14px;color:#8793a7;font-size:14px}
.client-profile-v2 .client-hero-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important}.client-profile-v2 .client-hero-actions .button{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:38px!important;margin:0!important;padding:0 12px!important;border:1px solid #d9e1ec!important;border-radius:10px!important;background:#fff!important;color:#304158!important;font-size:11px!important;font-weight:850!important}.client-profile-v2 .client-hero-actions .button-primary{border-color:#6337d2!important;background:#6337d2!important;color:#fff!important}.client-profile-v2 .client-hero-actions .dashicons{width:16px;height:16px;font-size:16px}.client-profile-v2 .client-hero-actions .client-whatsapp-action{color:#108357!important}
.client-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #dce3ed;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.035)}.client-summary-strip>div{min-width:0;padding:12px 16px;border-right:1px solid #e7ebf1}.client-summary-strip>div:last-child{border-right:0}.client-summary-strip span{display:block;margin-bottom:4px;color:#7c8799;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.client-summary-strip strong{display:block;overflow:hidden;color:#233047;font-size:13px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.client-summary-strip strong.has-balance{color:#ef476f}
.client-profile-v2 .client-tabs{gap:3px!important;padding:5px!important;border-radius:12px!important;box-shadow:none!important}.client-profile-v2 .client-tabs a{min-height:35px;padding:7px 13px!important;border-radius:8px!important;font-size:11px!important}.client-profile-v2 .client-tabs a.active{background:#6337d2!important;box-shadow:none!important}
.client-profile-v2 .client-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.client-info-panel{padding:17px;border:1px solid #dce3ed;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.035)}.client-notes-panel{grid-column:1/-1}.client-panel-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}.client-panel-heading>.dashicons{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#eee7ff;color:#7137ea;font-size:18px}.client-panel-heading h3{margin:0!important;color:#1c2940!important;font-size:15px!important}.client-panel-heading p{margin:2px 0 0;color:#8993a4;font-size:10px;font-weight:700}
.client-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;border-top:1px solid #edf0f4}.client-detail-list>div{min-width:0;padding:11px 4px;border-bottom:1px solid #edf0f4}.client-detail-list>div:nth-child(odd){padding-right:14px}.client-detail-list>div:nth-child(even){padding-left:14px;border-left:1px solid #edf0f4}.client-detail-list dt{margin:0 0 4px;color:#7b8799;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.client-detail-list dd{margin:0;overflow-wrap:anywhere;color:#253149;font-size:12px;font-weight:800}.client-detail-list dd.missing{color:#9ba4b2;font-weight:700}
.client-profile-v2 .client-notes-box{min-height:72px!important;padding:13px!important;border:1px solid #e5e9f0!important;border-radius:10px!important;background:#fafbfc!important;color:#566378!important;font-size:12px!important;box-shadow:none!important}
.client-profile-v2 .client-hero-actions .client-edit-profile-action{color:#6337d2!important}
.client-profile-edit-form{overflow:hidden;border:1px solid #dce3ed;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.035)}
.client-profile-edit-form>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid #e7ebf1}.client-profile-edit-form>header>div:first-child{display:flex;align-items:center;gap:11px}.client-profile-edit-form>header>div:first-child>.dashicons{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#eee7ff;color:#7137ea;font-size:18px}.client-profile-edit-form h2{margin:0!important;color:#17213a!important;font-size:17px!important}.client-profile-edit-form header p{margin:2px 0 0;color:#8993a4;font-size:11px;font-weight:700}
.client-profile-edit-actions{display:flex;gap:8px}.client-profile-edit-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center;gap:6px;min-height:38px!important;margin:0!important;border-radius:9px!important}
.client-profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:20px}.client-profile-form-grid label{display:flex;flex-direction:column;gap:7px}.client-profile-form-grid label>span:first-child{color:#59677c;font-size:11px;font-weight:850;text-transform:uppercase}.client-profile-form-grid input,.client-profile-form-grid textarea{width:100%;min-height:42px;padding:9px 11px;border:1px solid #d7dfeb;border-radius:9px;background:#fff;color:#17213a;font-size:13px;box-shadow:none}.client-profile-form-grid input:focus,.client-profile-form-grid textarea:focus{border-color:#7647df;box-shadow:0 0 0 3px rgba(118,71,223,.12);outline:0}.client-phone-field>span:last-child{display:grid;grid-template-columns:76px 1fr;gap:8px}.client-profile-notes-field{grid-column:1/-1}.client-profile-form-grid textarea{resize:vertical}.client-profile-v2 .notice.inline{margin:0!important;border-radius:10px!important}
@media(max-width:1180px){.client-profile-v2 .client-hero-card{grid-template-columns:42px 56px minmax(0,1fr)!important}.client-profile-v2 .client-hero-actions{grid-column:2/-1;justify-content:flex-start!important}.client-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.client-summary-strip>div:nth-child(2){border-right:0}.client-summary-strip>div:nth-child(-n+2){border-bottom:1px solid #e7ebf1}}
@media(max-width:760px){.client-profile-v2 .client-hero-card{grid-template-columns:38px 48px minmax(0,1fr)!important;padding:14px!important}.client-profile-avatar{width:46px;height:46px}.client-profile-v2 .client-hero-main h2{font-size:19px!important}.client-profile-v2 .client-hero-actions{grid-column:1/-1}.client-profile-v2 .client-hero-actions .button{flex:1;justify-content:center}.client-profile-v2 .client-profile-grid{grid-template-columns:1fr!important}.client-notes-panel{grid-column:auto}.client-detail-list{grid-template-columns:1fr}.client-detail-list>div:nth-child(n){padding:10px 4px;border-left:0}.client-summary-strip strong{white-space:normal}.client-profile-edit-form>header{align-items:flex-start;flex-direction:column}.client-profile-edit-actions{width:100%}.client-profile-edit-actions .button{flex:1}.client-profile-form-grid{grid-template-columns:1fr;padding:15px}.client-profile-notes-field{grid-column:auto}}
@media(max-width:760px){
  .clients-search-panel{grid-template-columns:1fr;gap:10px;padding:12px}
  .clients-search-form{flex-wrap:wrap}
  .clients-search-form label{max-width:none;flex-basis:100%}
  .clients-search-form>.button{flex:1}
  .clients-table-wrap{overflow-x:auto}.clients-table{min-width:720px}.clients-list-panel>header{padding:15px 14px 10px}
}

/* Clinessy Core 2.2.55: indicadores compactos también al 100% de zoom. */
@media (min-width:1360px){
  .clinessy-dashboard-modern .modern-kpi-row{grid-template-columns:repeat(6,minmax(145px,1fr))!important}
}

/* Clinessy Core 2.2.56: saludo y títulos de indicadores más compactos. */
@media (min-width:1360px){
  .clinessy-dashboard-modern .modern-topline{padding-top:4px!important}
  .clinessy-dashboard-modern .modern-kpi small{font-size:8px!important;letter-spacing:.04em!important;white-space:nowrap!important;overflow-wrap:normal!important}
}

/* Clinessy Core 2.2.57: estado y recomendación en una sola acción de hoy. */
.clinessy-dashboard-modern .modern-action-today{display:grid;grid-template-columns:1fr;align-items:stretch;overflow:hidden;border:1px solid #dce8e3;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.clinessy-dashboard-modern .modern-action-today.has-recommendation{grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr)}
.clinessy-dashboard-modern .modern-action-status,.clinessy-dashboard-modern .modern-action-recommendation{display:grid;align-items:center;gap:12px;min-width:0;padding:14px 18px}
.clinessy-dashboard-modern .modern-action-status{grid-template-columns:42px minmax(0,1fr) auto;background:#f7fcf9}
.clinessy-dashboard-modern .modern-action-recommendation{grid-template-columns:42px minmax(0,1fr) auto;border-left:1px solid #e4ebe8;background:#fbfcff}
.clinessy-dashboard-modern .modern-action-status>.dashicons,.clinessy-dashboard-modern .modern-action-recommendation>.dashicons{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:#dff7eb;color:#0c8754;font-size:22px}
.clinessy-dashboard-modern .modern-action-recommendation>.dashicons{background:#eee7ff;color:#7137ea}
.clinessy-dashboard-modern .modern-action-brand{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:#eee7ff}
.clinessy-dashboard-modern .modern-action-brand img{display:block;width:31px;height:31px;object-fit:contain}
.clinessy-dashboard-modern .modern-action-today.warn .modern-action-status>.dashicons{background:#fff0d8;color:#b96500}
.clinessy-dashboard-modern .modern-action-today small,.clinessy-dashboard-modern .modern-action-today strong,.clinessy-dashboard-modern .modern-action-today em,.clinessy-dashboard-modern .modern-action-today p{display:block;margin:0}
.clinessy-dashboard-modern .modern-action-today small{color:#68748a;font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.clinessy-dashboard-modern .modern-action-today strong{margin-top:2px;color:#087544;font-size:18px;line-height:1.15}
.clinessy-dashboard-modern .modern-action-today.warn .modern-action-status strong{color:#a85c00}
.clinessy-dashboard-modern .modern-action-today em,.clinessy-dashboard-modern .modern-action-today p{margin-top:3px;color:#667085;font-size:11px;font-style:normal;font-weight:750;line-height:1.3}
.clinessy-dashboard-modern .modern-action-recommendation strong{color:#142238;font-size:16px}
.clinessy-dashboard-modern .modern-action-today a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border-radius:10px;background:#0b5b46;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:900;white-space:nowrap}
.clinessy-dashboard-modern .modern-action-status>a{background:transparent;color:#a85c00!important;padding:0 4px}
@media(max-width:900px){
  .clinessy-dashboard-modern .modern-action-today{grid-template-columns:1fr}
  .clinessy-dashboard-modern .modern-action-recommendation{border-top:1px solid #e4ebe8;border-left:0}
}

/* Clinessy Core 2.2.54: efectivo resumido dentro de Ventas hoy. */
.clinessy-dashboard-modern .modern-kpi-link{position:relative;z-index:2;display:inline-flex;margin-top:5px;color:#087544!important;font-size:9px;font-weight:900;text-decoration:none!important}
.clinessy-dashboard-modern .modern-kpi-link:hover{text-decoration:underline!important}
.clinessy-dashboard-modern>.modern-operational{margin:0!important}

/* Clinessy Core 2.0.13 - override final real movil tipo app */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{
    padding-top:102px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    position:fixed!important;
    z-index:99970!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:82px!important;
    margin:0!important;
    padding:14px 18px 14px 118px!important;
    border-radius:0 0 22px 22px!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    top:46px!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-main,
  body.admin-bar.clinessy-core-standalone-template .clinessy-main{
    padding-top:148px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand img,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand img{
    width:44px!important;
    height:44px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand strong,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand strong{
    font-size:26px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    position:fixed!important;
    z-index:99990!important;
    top:17px!important;
    left:16px!important;
    width:88px!important;
    height:50px!important;
    border-radius:18px!important;
    display:flex!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:63px!important;
  }
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:13px!important;
    margin:0 0 18px!important;
  }
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{
    grid-column:1!important;
    padding-left:0!important;
    min-height:0!important;
    text-align:center!important;
  }
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{
    grid-column:1!important;
    margin-top:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
    align-items:center!important;
    width:100%!important;
    margin:0!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{
    position:static!important;
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{
    grid-column:2!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{
    grid-column:3!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    position:static!important;
    grid-column:4!important;
    grid-row:1!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    width:100%!important;
    height:50px!important;
    min-width:0!important;
    min-height:50px!important;
    padding:0!important;
    border-radius:18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    font-size:0!important;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-refresh-button .dashicons,
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{
    margin:0!important;
    font-size:24px!important;
    width:24px!important;
    height:24px!important;
  }
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    height:48px!important;
    min-width:0!important;
    justify-content:flex-start!important;
  }
}

/* Clinessy Core 2.0.14 - override final absoluto encabezado movil */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{padding-top:104px!important}
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{height:82px!important;padding:14px 16px 14px 126px!important}
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{top:16px!important;left:18px!important;width:94px!important;height:52px!important;border-radius:19px!important}
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-menu-button{top:62px!important}
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0 0 20px!important;padding:0!important}
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{padding:0!important;margin:0!important;text-align:center!important;min-height:0!important}
  body.clinessy-core-panel-page .clinessy-header h1,
  body.clinessy-core-standalone-template .clinessy-header h1{display:block!important;margin:0!important;font-size:25px!important;line-height:1.05!important;color:#111827!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{display:block!important;margin:6px auto 0!important;max-width:310px!important;font-size:12px!important;line-height:1.25!important;color:#697287!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{width:100%!important;max-width:none!important;margin:2px 0 0!important}
  body.clinessy-core-panel-page .clinessy-global-search input,
  body.clinessy-core-standalone-template .clinessy-global-search input{height:56px!important;border-radius:21px!important;box-shadow:0 12px 26px rgba(15,23,42,.07)!important}
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:center!important;margin:0!important;width:100%!important}
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{position:static!important;grid-row:1!important;width:100%!important;height:54px!important;min-width:0!important;min-height:54px!important;padding:0!important;border-radius:20px!important;box-sizing:border-box!important}
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{grid-column:1!important}
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{grid-column:2!important}
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{grid-column:3!important}
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{grid-column:4!important;background:#07543e!important;color:#fff!important;box-shadow:0 13px 24px rgba(7,84,62,.22)!important}
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{display:flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;overflow:visible!important}
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{background:#fff!important;color:#0b654d!important;border:1px solid #e6ecef!important;box-shadow:0 10px 20px rgba(15,23,42,.055)!important}
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger{width:100%!important;height:54px!important;min-width:0!important;border-radius:20px!important}
  body.clinessy-core-panel-page .clinessy-refresh-button .dashicons,
  body.clinessy-core-standalone-template .clinessy-refresh-button .dashicons,
  body.clinessy-core-panel-page .clinessy-top-new-reservation .dashicons,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation .dashicons{font-size:25px!important;width:25px!important;height:25px!important}
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{grid-column:1/-1!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:52px!important;margin:0!important;padding:8px 13px!important;border-radius:20px!important;background:#fff!important;color:#111827!important;box-shadow:0 10px 22px rgba(15,23,42,.055)!important;font-size:12px!important}
  body.clinessy-core-panel-page .clinessy-user a,
  body.clinessy-core-standalone-template .clinessy-user a{margin-left:auto!important;color:#07543e!important;font-weight:900!important}
  body.clinessy-core-panel-page .clinessy-last-updated,
  body.clinessy-core-standalone-template .clinessy-last-updated{display:none!important}
}

/* Clinessy Core 2.0.15 - mockup movil final dominante */
@media(max-width:700px){
  body.clinessy-core-panel-page .clinessy-main,
  body.clinessy-core-standalone-template .clinessy-main{
    padding:132px 18px 118px!important;
    background:#f7f5fb!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-main,
  body.admin-bar.clinessy-core-standalone-template .clinessy-main{
    padding-top:176px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    position:fixed!important;
    z-index:99970!important;
    top:0!important;
    left:0!important;
    right:0!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    height:92px!important;
    margin:0!important;
    padding:16px 18px 16px 130px!important;
    border-radius:0 0 28px 28px!important;
    background:linear-gradient(135deg,#063d31 0%,#073629 100%)!important;
    color:#fff!important;
    box-shadow:0 16px 34px rgba(6,61,49,.18)!important;
    box-sizing:border-box!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-app-brand,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-app-brand{
    top:46px!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand img,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand img{
    width:48px!important;
    height:48px!important;
    border-radius:15px!important;
    background:#fff!important;
    padding:5px!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand strong,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand strong{
    font-size:29px!important;
    line-height:1!important;
    font-weight:850!important;
    letter-spacing:0!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-app-brand span,
  body.clinessy-core-standalone-template .clinessy-mobile-app-brand span{
    margin-left:auto!important;
    padding:10px 14px!important;
    border-radius:14px!important;
    background:#7c3aed!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:900!important;
  }
  body.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    position:fixed!important;
    z-index:99990!important;
    top:18px!important;
    left:18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:96px!important;
    height:56px!important;
    border-radius:22px!important;
    background:#fff!important;
    color:#07543e!important;
    border:0!important;
    box-shadow:0 14px 28px rgba(15,23,42,.14)!important;
  }
  body.admin-bar.clinessy-core-panel-page .clinessy-mobile-menu-button,
  body.admin-bar.clinessy-core-standalone-template .clinessy-mobile-menu-button{
    top:64px!important;
  }
  body.clinessy-core-panel-page .clinessy-header,
  body.clinessy-core-standalone-template .clinessy-header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    margin:0 0 24px!important;
    padding:0!important;
    background:transparent!important;
  }
  body.clinessy-core-panel-page .clinessy-header-title,
  body.clinessy-core-standalone-template .clinessy-header-title{
    grid-column:1!important;
    padding:0!important;
    margin:0!important;
    min-height:0!important;
    text-align:left!important;
  }
  body.clinessy-core-panel-page .clinessy-header h1,
  body.clinessy-core-standalone-template .clinessy-header h1{
    display:block!important;
    margin:0!important;
    font-size:39px!important;
    line-height:1.02!important;
    font-weight:900!important;
    color:#111827!important;
    letter-spacing:0!important;
  }
  body.clinessy-core-panel-page .clinessy-header p,
  body.clinessy-core-standalone-template .clinessy-header p{
    display:block!important;
    margin:10px 0 0!important;
    max-width:100%!important;
    font-size:16px!important;
    line-height:1.25!important;
    color:#657083!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search,
  body.clinessy-core-standalone-template .clinessy-global-search{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:4px 0 0!important;
  }
  body.clinessy-core-panel-page .clinessy-global-search input,
  body.clinessy-core-standalone-template .clinessy-global-search input{
    height:70px!important;
    border-radius:25px!important;
    padding:0 18px 0 58px!important;
    font-size:21px!important;
    color:#111827!important;
    background:#fff!important;
    border:1px solid #edf0f5!important;
    box-shadow:0 14px 34px rgba(15,23,42,.07)!important;
  }
  body.clinessy-core-panel-page .clinessy-header-controls,
  body.clinessy-core-standalone-template .clinessy-header-controls{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
    width:100%!important;
    margin:0!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    position:static!important;
    grid-row:1!important;
    width:100%!important;
    height:96px!important;
    min-width:0!important;
    min-height:96px!important;
    padding:14px 4px 12px!important;
    border-radius:24px!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications{grid-column:1!important}
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle{grid-column:2!important}
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{grid-column:3!important}
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{grid-column:4!important}
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button{
    background:#fff!important;
    color:#07543e!important;
    border:1px solid #eef1f5!important;
    box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    background:#07543e!important;
    color:#fff!important;
    border:0!important;
    box-shadow:0 15px 30px rgba(7,84,62,.22)!important;
    text-decoration:none!important;
  }
  body.clinessy-core-panel-page .clinessy-notifications,
  body.clinessy-core-standalone-template .clinessy-notifications,
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger,
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    overflow:visible!important;
    font-size:12px!important;
    line-height:1.1!important;
    font-weight:850!important;
    text-align:center!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger,
  body.clinessy-core-standalone-template .clinessy-notification-trigger{
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-width:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    border-radius:0!important;
    color:#07543e!important;
  }
  body.clinessy-core-panel-page .clinessy-notification-trigger:after,
  body.clinessy-core-standalone-template .clinessy-notification-trigger:after{
    content:"Notificaciones";
    display:block;
    margin-top:8px;
    color:#596172;
    font-size:11px;
    font-weight:850;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle,
  body.clinessy-core-standalone-template .clinessy-theme-toggle,
  body.clinessy-core-panel-page .clinessy-refresh-button,
  body.clinessy-core-standalone-template .clinessy-refresh-button,
  body.clinessy-core-panel-page .clinessy-top-new-reservation,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation{
    font-size:0!important;
  }
  body.clinessy-core-panel-page .clinessy-theme-toggle:after,
  body.clinessy-core-standalone-template .clinessy-theme-toggle:after{
    content:"Tema";
    display:block;
    color:#596172;
    font-size:12px;
    font-weight:850;
  }
  body.clinessy-core-panel-page .clinessy-refresh-button:after,
  body.clinessy-core-standalone-template .clinessy-refresh-button:after{
    content:"Actualizar";
    display:block;
    color:#596172;
    font-size:12px;
    font-weight:850;
  }
  body.clinessy-core-panel-page .clinessy-top-new-reservation:after,
  body.clinessy-core-standalone-template .clinessy-top-new-reservation:after{
    content:"Nueva reserva";
    display:block;
    color:#fff;
    font-size:11px;
    font-weight:900;
  }
  body.clinessy-core-panel-page .clinessy-user,
  body.clinessy-core-standalone-template .clinessy-user{
    grid-column:1/-1!important;
    grid-row:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    height:66px!important;
    min-width:0!important;
    margin:0!important;
    padding:10px 18px!important;
    border-radius:24px!important;
    background:#fff!important;
    border:1px solid #eef1f5!important;
    color:#111827!important;
    box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
    font-size:15px!important;
    font-weight:900!important;
    box-sizing:border-box!important;
  }
  body.clinessy-core-panel-page .clinessy-last-updated,
  body.clinessy-core-standalone-template .clinessy-last-updated{
    display:none!important;
  }
}

/* Clinessy Core 2.0.25: asistente guiado de nueva reserva. */
.reservation-wizard-modal{z-index:100200;background:rgba(11,17,34,.68);backdrop-filter:blur(5px)}
.reservation-wizard-card{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;width:min(1440px,96vw);height:min(850px,calc(100dvh - 56px))!important;max-height:calc(100dvh - 56px)!important;box-sizing:border-box!important;padding:0!important;overflow:hidden!important;border:1px solid #e4e0e8!important;border-radius:22px!important;background:#fff!important;color:#172033!important}
.reservation-wizard-header{position:relative;z-index:4;display:grid!important;grid-row:1;grid-template-columns:1fr auto 42px;align-items:center;gap:14px;min-height:82px;padding:16px 22px;border-bottom:1px solid #ebe8ef;background:#fff;visibility:visible!important;opacity:1!important}
.reservation-wizard-header h2,.reservation-wizard-header p{margin:0}.reservation-wizard-header h2{font-size:25px!important;line-height:1.15}.reservation-wizard-header p{margin-top:4px;color:#747b8d;font-size:12px}.reservation-wizard-draft{padding:7px 12px;border-radius:999px;background:#f8f2e8;color:#8a5b20;font-size:11px;font-weight:850}.reservation-wizard-header .clinessy-modal-close{position:static;display:grid;width:38px;height:38px;place-items:center;border:1px solid #e5e1e9;border-radius:50%;background:#fff;color:#232839;font-size:25px;line-height:1}
.reservation-wizard-form{display:grid!important;grid-row:2;grid-template-rows:minmax(0,1fr) auto!important;width:100%;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;overflow:hidden!important;background:#fff!important}
.reservation-wizard-body{display:grid;grid-row:1;grid-template-columns:230px minmax(460px,1fr) 310px;width:100%;height:auto!important;min-width:0;min-height:0!important;overflow:hidden!important}
.reservation-wizard-steps{display:flex;flex-direction:column;gap:5px;min-width:0;padding:20px 12px;border-right:1px solid #ebe8ef;background:#fcfbfd;overflow-y:auto}
.reservation-wizard-steps>button{display:grid;grid-template-columns:30px 28px 1fr;align-items:center;gap:8px;width:100%;min-height:70px;padding:10px 11px;border:0;border-radius:13px;background:transparent;color:#30364a;text-align:left;cursor:pointer}
.reservation-wizard-steps>button:disabled{cursor:default}.reservation-wizard-steps>button:not(:disabled):hover{background:#f5f1fc}.reservation-wizard-steps>button.is-active{background:#f1ebff;color:#5922c7}.reservation-wizard-steps>button.is-complete{color:#116b4d}
.reservation-wizard-steps .reservation-step-number{display:grid;width:27px;height:27px;place-items:center;border:1px solid #d7d4df;border-radius:50%;background:#fff;color:#4d5364;font-size:11px;font-weight:900}.reservation-wizard-steps>button.is-active .reservation-step-number{border-color:#6e36dd;background:#6e36dd;color:#fff}.reservation-wizard-steps>button.is-complete .reservation-step-number{border-color:#0d7453;background:#0d7453;color:#fff;font-size:0}.reservation-wizard-steps>button.is-complete .reservation-step-number:after{content:"✓";font-size:13px}
.reservation-wizard-steps>button>.dashicons{width:24px;height:24px;font-size:21px}.reservation-wizard-steps>button>span:last-child{min-width:0}.reservation-wizard-steps strong,.reservation-wizard-steps small{display:block}.reservation-wizard-steps strong{font-size:12px;white-space:normal}.reservation-wizard-steps small{margin-top:3px;color:#858a9a;font-size:9px}.reservation-wizard-steps>p{display:flex;align-items:flex-start;gap:7px;margin:auto 7px 0;padding-top:18px;color:#777d8c;font-size:9px;line-height:1.45}.reservation-wizard-steps>p .dashicons{width:17px;height:17px;font-size:17px}
.reservation-wizard-main{min-width:0;padding:25px 28px;overflow-y:auto;overscroll-behavior:contain;background:#fff}.reservation-wizard-step[hidden]{display:none!important}.reservation-step-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.reservation-step-heading>.dashicons{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:12px;background:#f0eaff;color:#6730d4;font-size:23px}.reservation-step-heading h3,.reservation-step-heading p{margin:0}.reservation-step-heading h3{color:#172033;font-size:20px}.reservation-step-heading p{margin-top:4px;color:#747b8d;font-size:11px}
.reservation-fields{display:grid;gap:16px}.reservation-fields-two{grid-template-columns:repeat(2,minmax(0,1fr))}.reservation-field-full{grid-column:1/-1}.reservation-wizard-form .reservation-fields>label{display:grid;gap:7px;margin:0;color:#2b3345;font-size:11px;font-weight:850}.reservation-wizard-form .reservation-fields>label>small{color:#8a8f9d;font-size:9px;font-weight:550}.reservation-wizard-form input,.reservation-wizard-form select,.reservation-wizard-form textarea{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #dcd7e2!important;border-radius:10px!important;background:#fff!important;color:#172033!important;box-shadow:none!important;font-size:12px}.reservation-wizard-form input:focus,.reservation-wizard-form select:focus,.reservation-wizard-form textarea:focus{border-color:#6f36de!important;box-shadow:0 0 0 3px rgba(111,54,222,.1)!important}.reservation-wizard-form textarea{min-height:78px;padding:10px}.reservation-wizard-form .phone{display:grid;grid-template-columns:130px 1fr;gap:9px}.reservation-time-range{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:7px}.reservation-time-range>span{color:#8a8f9d}
.reservation-wizard-form .reservation-pack-zones{grid-column:1/-1}.reservation-step-error{min-height:18px;margin:13px 0 0;color:#c1324a;font-size:10px;font-weight:750}
.reservation-choice-field{margin:0;padding:0;border:0}.reservation-choice-field>legend{margin-bottom:8px;color:#2b3345;font-size:11px;font-weight:850}.reservation-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.reservation-choice-grid>label,.reservation-segmented>label{position:relative!important;display:block!important;margin:0!important;cursor:pointer}.reservation-choice-grid input,.reservation-segmented input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important}.reservation-choice-grid span{display:flex;min-height:42px;align-items:center;justify-content:center;padding:7px;border:1px solid #ded9e4;border-radius:9px;background:#fff;color:#4a5061;font-size:10px;font-weight:750;text-align:center}.reservation-choice-grid input:checked+span{border-color:#087052;background:#eaf7f1;color:#075e46;box-shadow:inset 0 0 0 1px #087052}.reservation-segmented{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid #dcd7e2;border-radius:10px}.reservation-segmented span{display:flex;min-height:40px;align-items:center;justify-content:center;border-right:1px solid #e2dee6;background:#fff;color:#4f5567;font-size:10px;font-weight:800}.reservation-segmented label:last-child span{border-right:0}.reservation-segmented input:checked+span{background:#075e46;color:#fff}.reservation-info-box{display:flex;align-items:center;gap:9px;padding:13px 14px;border:1px solid #cfdcf5;border-radius:10px;background:#f4f8ff;color:#56647e;font-size:10px}.reservation-info-box .dashicons{color:#3476d8}
.reservation-live-summary{min-width:0;padding:24px 20px;border-left:1px solid #ebe8ef;background:#fdfcfb;overflow-y:auto}.reservation-live-summary h3{margin:13px 0 20px;color:#172033;font-size:17px}.reservation-summary-state{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eaf7ef;color:#166b4c;font-size:9px;font-weight:850}.reservation-summary-date{display:flex;align-items:center;gap:12px;padding-bottom:17px;border-bottom:1px solid #e8e4e9}.reservation-summary-date>b{display:grid;width:60px;height:60px;place-items:center;border:1px solid #a9d0bf;border-radius:11px;background:#fff;color:#15382d;font-size:24px}.reservation-summary-date span{min-width:0}.reservation-summary-date strong,.reservation-summary-date small{display:block}.reservation-summary-date strong{color:#202638;font-size:12px}.reservation-summary-date small{margin-top:4px;color:#166b4c;font-size:10px;font-weight:750}.reservation-summary-row{display:grid;grid-template-columns:24px 1fr;gap:9px;padding:15px 0;border-bottom:1px solid #e8e4e9}.reservation-summary-row>.dashicons{color:#566071;font-size:18px}.reservation-summary-row small,.reservation-summary-row strong,.reservation-summary-row p{display:block;margin:0}.reservation-summary-row small{color:#858a99;font-size:8px;text-transform:uppercase}.reservation-summary-row strong{margin-top:3px;color:#23293b;font-size:11px}.reservation-summary-row p{margin-top:3px;color:#747b8d;font-size:9px}.reservation-live-summary dl{display:grid;gap:11px;margin:17px 0 0}.reservation-live-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.reservation-live-summary dt{color:#777d8d;font-size:9px}.reservation-live-summary dd{margin:0;color:#242b3c;font-size:10px;font-weight:850;text-align:right}
.reservation-review-grid{display:grid;gap:10px}.reservation-review-grid article{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;padding:13px;border:1px solid #e1dde6;border-radius:11px;background:#fff}.reservation-review-grid article>.dashicons{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#f4f2f7;color:#4d5568}.reservation-review-grid small,.reservation-review-grid strong,.reservation-review-grid p{display:block;margin:0}.reservation-review-grid small{color:#7e8494;font-size:8px;text-transform:uppercase}.reservation-review-grid strong{margin-top:2px;color:#21283a;font-size:11px}.reservation-review-grid p{margin-top:3px;color:#747b8d;font-size:9px}.reservation-review-grid button{border:0;background:transparent;color:#6730d4;font-size:9px;font-weight:850;cursor:pointer}.reservation-whatsapp-confirm{display:grid!important;grid-template-columns:20px 26px 1fr;align-items:center;gap:9px;margin:16px 0!important;padding:13px;border:1px solid #dfe9e4;border-radius:11px;background:#f7fcf9;color:#253d35!important;cursor:pointer}.reservation-whatsapp-confirm input{width:17px!important;height:17px!important;min-height:17px!important;margin:0!important}.reservation-whatsapp-confirm>.dashicons{color:#13825c}.reservation-whatsapp-confirm strong,.reservation-whatsapp-confirm small{display:block}.reservation-whatsapp-confirm strong{font-size:10px}.reservation-whatsapp-confirm small{margin-top:3px;color:#738078;font-size:9px}.reservation-ready-box{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid #bfe1d1;border-radius:11px;background:#edf8f2;color:#136b4b;font-size:11px;font-weight:850}.reservation-ready-box .dashicons{display:grid;width:31px;height:31px;place-items:center;border-radius:50%;background:#13825c;color:#fff}
.reservation-wizard-actions{position:relative!important;bottom:auto!important;z-index:5;display:grid!important;grid-row:2;grid-template-columns:1fr auto 1fr;align-items:center;gap:15px;width:100%;min-height:68px;box-sizing:border-box;padding:10px 22px;border-top:1px solid #ebe8ef;background:#fff;box-shadow:0 -8px 22px rgba(30,24,58,.04);visibility:visible!important;opacity:1!important}.reservation-wizard-actions>span{color:#73798a;font-size:10px;text-align:center}.reservation-wizard-actions>div{display:flex;justify-content:flex-end;gap:9px}.reservation-wizard-actions .button,.reservation-wizard-actions .button-link{display:inline-flex!important;min-height:42px;align-items:center;justify-content:center;gap:6px;padding:0 18px;border-radius:10px!important;font-size:11px;font-weight:850;cursor:pointer}.reservation-wizard-actions .button-link{justify-self:start;border:0;background:transparent;color:#5f2cc6}.reservation-wizard-actions .button-primary{border-color:#075e46!important;background:#075e46!important;color:#fff!important;box-shadow:0 8px 18px rgba(7,94,70,.17)!important}.reservation-wizard-actions [hidden]{display:none!important}.reservation-wizard-submit.is-saving .dashicons{animation:rotation 1s linear infinite}

.clinessy-dark .reservation-wizard-card,.clinessy-dark .reservation-wizard-header,.clinessy-dark .reservation-wizard-form,.clinessy-dark .reservation-wizard-main,.clinessy-dark .reservation-wizard-actions{background:#121827!important;color:#eef2f7!important}.clinessy-dark .reservation-wizard-steps,.clinessy-dark .reservation-live-summary{background:#171e2e!important;border-color:#30384a!important}.clinessy-dark .reservation-step-heading h3,.clinessy-dark .reservation-wizard-header h2,.clinessy-dark .reservation-live-summary h3,.clinessy-dark .reservation-summary-row strong,.clinessy-dark .reservation-live-summary dd,.clinessy-dark .reservation-review-grid strong{color:#f1f5f9!important}.clinessy-dark .reservation-review-grid article{background:#171e2e;border-color:#343c4d}

@media(max-width:1120px){.reservation-wizard-body{grid-template-columns:205px minmax(420px,1fr) 270px}.reservation-wizard-main{padding:22px}.reservation-live-summary{padding:21px 16px}.reservation-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.reservation-wizard-modal{padding:0!important;align-items:stretch!important}.reservation-wizard-card{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}.reservation-wizard-header{grid-template-columns:1fr auto 38px;min-height:72px;padding:12px 15px}.reservation-wizard-header h2{font-size:21px!important}.reservation-wizard-body{display:flex;flex-direction:column;overflow:hidden}.reservation-wizard-steps{display:grid;grid-template-columns:repeat(4,minmax(95px,1fr));gap:7px;flex:0 0 auto;padding:9px 12px;border-right:0;border-bottom:1px solid #ebe8ef;overflow-x:auto;overflow-y:hidden}.reservation-wizard-steps>button{grid-template-columns:25px 1fr;min-height:52px;padding:7px}.reservation-wizard-steps>button>.dashicons{display:none}.reservation-wizard-steps>button>span:last-child small{display:none}.reservation-wizard-steps>button>span:last-child strong{font-size:9px}.reservation-wizard-steps .reservation-step-number{width:23px;height:23px;font-size:9px}.reservation-wizard-steps>p{display:none}.reservation-wizard-main{flex:1 1 auto;padding:19px 15px}.reservation-live-summary{display:none}.reservation-step-heading{margin-bottom:17px}.reservation-step-heading>.dashicons{width:38px;height:38px;flex-basis:38px}.reservation-step-heading h3{font-size:17px}.reservation-wizard-actions{grid-template-columns:auto 1fr;min-height:70px;padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.reservation-wizard-actions>span{display:none}.reservation-wizard-actions>div{display:grid;grid-template-columns:1fr 1.3fr}.reservation-wizard-actions .button,.reservation-wizard-actions .button-link{min-width:0;padding:0 11px}.reservation-wizard-actions .button-link{grid-column:1}.reservation-fields-two{grid-template-columns:1fr}.reservation-field-full{grid-column:auto}.reservation-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reservation-segmented{grid-template-columns:repeat(2,1fr);border:0;gap:7px;overflow:visible}.reservation-segmented span{border:1px solid #ded9e4!important;border-radius:9px}.reservation-review-grid article{grid-template-columns:34px 1fr auto}}
@media(max-width:460px){.reservation-wizard-draft{display:none}.reservation-wizard-header{grid-template-columns:1fr 38px}.reservation-wizard-steps{grid-template-columns:repeat(4,100px)}.reservation-wizard-form .phone{grid-template-columns:112px 1fr}.reservation-time-range{grid-template-columns:1fr}.reservation-time-range>span{display:none}.reservation-review-grid article{grid-template-columns:34px 1fr}.reservation-review-grid button{grid-column:2;justify-self:start;padding:0}.reservation-whatsapp-confirm{grid-template-columns:20px 1fr}.reservation-whatsapp-confirm>.dashicons{display:none}}

/* Clinessy Core 2.0.27: reserva rápida inspirada en el flujo operativo aprobado. */
.reservation-quick-modal{z-index:100210;background:rgba(7,15,31,.72);backdrop-filter:blur(5px)}
.reservation-quick-card{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;width:min(1120px,94vw)!important;height:auto!important;max-height:calc(100dvh - 54px)!important;padding:0!important;overflow:hidden!important;border:1px solid #dfe4ea!important;border-radius:12px!important;background:#fff!important;color:#172033!important;box-shadow:0 28px 80px rgba(4,12,28,.3)!important}
.reservation-quick-header{display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:0 24px;border-bottom:1px solid #e6e8ec;background:#fff}.reservation-quick-header h2{margin:0!important;color:#172033!important;font-size:25px!important;font-weight:650!important;letter-spacing:0}.reservation-quick-header h2 strong{color:#075e9e;font-weight:650}.reservation-quick-header .clinessy-modal-close{position:static;display:grid;width:38px;height:38px;place-items:center;border:0;background:transparent;color:#9aa2ad;font-size:28px;font-weight:800;cursor:pointer}
.reservation-quick-form{display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;min-height:0!important;padding:0!important;overflow:hidden!important;background:#fff!important}
.reservation-quick-body{display:grid;grid-template-columns:1fr 1fr;min-height:0;overflow-y:auto}.reservation-quick-column{display:grid;align-content:start;gap:12px;padding:24px 28px}.reservation-quick-column+.reservation-quick-column{border-left:1px solid #e7e8ec}.reservation-quick-column h3{display:flex;align-items:center;gap:9px;margin:0 0 6px;padding-bottom:12px;border-bottom:1px solid #e5ddd0;color:#164b3d;font-size:18px!important}.reservation-quick-column h3 .dashicons{color:#7140dd}
.reservation-quick-column>label,.reservation-quick-location label{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:14px;margin:0!important;color:#20293a;font-size:13px;font-weight:700}.reservation-quick-column input,.reservation-quick-column select,.reservation-quick-column textarea{width:100%;min-height:42px;box-sizing:border-box;margin:0!important;padding:8px 11px!important;border:1px solid #cfd4dc!important;border-radius:5px!important;background:#fff!important;color:#192234!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)!important;font-size:13px!important}.reservation-quick-column input:focus,.reservation-quick-column select:focus,.reservation-quick-column textarea:focus{border-color:#166ba4!important;box-shadow:0 0 0 3px rgba(22,107,164,.1)!important;outline:0}.reservation-quick-column textarea{min-height:78px;resize:vertical}.reservation-quick-phone{display:grid;grid-template-columns:128px 1fr;gap:7px}.reservation-quick-location{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reservation-quick-location label{grid-template-columns:1fr;gap:5px}.reservation-quick-location label>span{font-size:11px;color:#626b7b}
.reservation-quick-toggle{position:relative}.reservation-quick-toggle input{position:absolute;width:1px!important;height:1px!important;min-height:0!important;opacity:0}.reservation-quick-toggle i{position:relative;width:48px;height:25px;border-radius:999px;background:#d9dde3;transition:.2s}.reservation-quick-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:.2s}.reservation-quick-toggle input:checked+i{background:#0876b9}.reservation-quick-toggle input:checked+i:after{transform:translateX(23px)}.reservation-quick-toggle b{position:absolute;left:226px;color:#5f6877;font-size:11px;font-weight:650;white-space:nowrap}
.reservation-quick-form .reservation-pack-zones{grid-column:1/-1;margin:2px 0 0}.reservation-quick-error{min-height:18px;margin:0;padding:0 28px 7px;color:#bd233c;font-size:11px;font-weight:750;background:#fff}
.reservation-quick-actions{display:flex!important;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:11px 24px;border-top:1px solid #e3e6ea;background:#f8f9fb;box-shadow:0 -6px 18px rgba(15,23,42,.04)}.reservation-quick-actions>div{display:flex;align-items:center;gap:9px}.reservation-quick-actions .button,.reservation-quick-actions .button-link{display:inline-flex!important;min-height:43px;align-items:center;justify-content:center;gap:7px;padding:0 17px!important;border-radius:6px!important;font-size:13px!important;font-weight:750!important;letter-spacing:0;cursor:pointer}.reservation-quick-actions .button{border:1px solid #0876b9!important;background:#fff!important;color:#0870ad!important}.reservation-quick-actions .button-link{border:0;background:transparent;color:#596273}.reservation-quick-actions .button-primary{border-color:#0876b9!important;background:#0876b9!important;color:#fff!important;box-shadow:0 7px 17px rgba(8,118,185,.18)!important}.reservation-quick-actions .reservation-quick-register{border-color:#708096!important;color:#48566a!important}.reservation-quick-actions .is-saving{opacity:.65;pointer-events:none}
.clinessy-dark .reservation-quick-card,.clinessy-dark .reservation-quick-header,.clinessy-dark .reservation-quick-form,.clinessy-dark .reservation-quick-body,.clinessy-dark .reservation-quick-error{background:#121827!important;color:#edf2f7!important}.clinessy-dark .reservation-quick-column+.reservation-quick-column{border-color:#30384a}.clinessy-dark .reservation-quick-header h2,.clinessy-dark .reservation-quick-column>label,.clinessy-dark .reservation-quick-column h3{color:#f1f5f9!important}.clinessy-dark .reservation-quick-actions{background:#171e2e;border-color:#30384a}
@media(max-width:820px){.reservation-quick-modal{padding:0!important;align-items:stretch!important}.reservation-quick-card{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}.reservation-quick-header{min-height:62px;padding:0 16px}.reservation-quick-header h2{font-size:20px!important}.reservation-quick-body{grid-template-columns:1fr;overflow-y:auto}.reservation-quick-column{padding:18px 16px}.reservation-quick-column+.reservation-quick-column{border-top:1px solid #e7e8ec;border-left:0}.reservation-quick-column>label{grid-template-columns:120px minmax(0,1fr)}.reservation-quick-location{grid-template-columns:1fr 1fr}.reservation-quick-toggle b{left:202px}.reservation-quick-actions{position:sticky;bottom:0;min-height:68px;padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.reservation-quick-actions .button,.reservation-quick-actions .button-link{padding:0 11px!important;font-size:11px!important}.reservation-quick-register{font-size:0!important}.reservation-quick-register .dashicons{font-size:18px}}
@media(max-width:520px){.reservation-quick-column>label{grid-template-columns:1fr;gap:5px}.reservation-quick-phone{grid-template-columns:112px 1fr}.reservation-quick-toggle{grid-template-columns:auto 48px 1fr!important;gap:10px!important}.reservation-quick-toggle b{position:static}.reservation-quick-actions{display:grid!important;grid-template-columns:1fr auto}.reservation-quick-actions>div{gap:5px}.reservation-quick-actions>div:last-child{justify-content:flex-end}.reservation-quick-actions .button-link{display:none!important}.reservation-quick-actions .reservation-quick-block{font-size:0!important;padding:0 12px!important}.reservation-quick-actions .reservation-quick-block .dashicons{font-size:18px}.reservation-quick-actions .reservation-quick-save{padding:0 14px!important}}

/* Clinessy Core 2.0.28: cuadro de reservas coral y menta. */
.reservation-quick-modal{background:rgba(9,17,32,.74)!important;backdrop-filter:blur(7px)!important}
.reservation-quick-card{width:min(1180px,95vw)!important;max-height:calc(100dvh - 44px)!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:8px!important;box-shadow:0 28px 90px rgba(4,12,28,.38)!important}
.reservation-quick-header{min-height:82px!important;padding:0 22px!important;border:0!important;background:#ff665a!important;color:#fff!important}
.reservation-quick-title{display:flex;align-items:center;gap:14px;min-width:0}.reservation-quick-title>.dashicons{display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:8px;background:rgba(255,255,255,.2);color:#fff;font-size:25px}.reservation-quick-title h2{color:#fff!important;font-size:25px!important;font-weight:800!important}.reservation-quick-title p{display:flex;align-items:center;gap:8px;margin:5px 0 0;color:#fff;font-size:12px;font-weight:650}.reservation-quick-title p i{font-style:normal;opacity:.75}.reservation-quick-header .clinessy-modal-close{color:#fff!important;border-radius:6px!important}.reservation-quick-header .clinessy-modal-close:hover{background:rgba(255,255,255,.16)!important}
.reservation-quick-form{grid-template-rows:minmax(0,1fr) auto auto auto!important;background:#fff!important}
.reservation-quick-body{gap:16px;padding:18px 18px 10px;background:#fff!important}.reservation-quick-column{gap:10px;padding:0 20px 18px;border:1px solid transparent;border-radius:8px}.reservation-quick-column+.reservation-quick-column{border-left:1px solid transparent}.reservation-quick-client{border-color:#ffd6d1!important;background:#fff9f8!important}.reservation-quick-attention{border-color:#ccece8!important;background:#f7fcfb!important}
.reservation-quick-column h3{margin:0 -20px 8px!important;padding:15px 20px!important;border-bottom:1px solid transparent!important;border-radius:7px 7px 0 0;font-size:18px!important;font-weight:800!important}.reservation-quick-client h3{border-color:#ffd6d1!important;background:#fff1ef;color:#ff554a!important}.reservation-quick-attention h3{border-color:#ccece8!important;background:#eefaf8;color:#087c72!important}.reservation-quick-column h3 .dashicons{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;font-size:20px}.reservation-quick-client h3 .dashicons{background:#ffdcd8;color:#ff554a}.reservation-quick-attention h3 .dashicons{background:#d7f3ee;color:#087c72}
.reservation-quick-column>label,.reservation-quick-location label{grid-template-columns:140px minmax(0,1fr);gap:12px;font-size:12px!important}.reservation-quick-column input,.reservation-quick-column select,.reservation-quick-column textarea{min-height:42px!important;border-color:#d7dce3!important;border-radius:6px!important;background:#fff!important}.reservation-quick-client input:focus,.reservation-quick-client select:focus{border-color:#ff665a!important;box-shadow:0 0 0 3px rgba(255,102,90,.11)!important}.reservation-quick-attention input:focus,.reservation-quick-attention select:focus,.reservation-quick-attention textarea:focus{border-color:#12988d!important;box-shadow:0 0 0 3px rgba(18,152,141,.11)!important}
.reservation-quick-time>div{display:grid;grid-template-columns:minmax(130px,1fr) auto auto;align-items:center;gap:8px}.reservation-quick-time small{display:inline-flex;min-height:32px;align-items:center;justify-content:center;padding:0 11px;border-radius:5px;background:#dff6f2;color:#087c72;font-size:10px;font-weight:800;white-space:nowrap}.reservation-quick-time small.is-available{background:#cdf0eb}
.reservation-quick-location label{grid-template-columns:1fr}.reservation-quick-toggle i{background:#ead9d7}.reservation-quick-toggle input:checked+i{background:#ff665a}.reservation-quick-toggle b{color:#5e6675}
.reservation-quick-summary{display:flex;min-height:48px;align-items:center;gap:12px;margin:0 18px 9px;padding:0 16px;border:1px solid #e4dafa;border-radius:7px;background:#faf7ff;color:#30384a}.reservation-quick-summary>.dashicons{display:grid;width:30px;height:30px;place-items:center;border-radius:6px;background:#eee6ff;color:#7240db}.reservation-quick-summary strong{display:flex;align-items:center;gap:9px;font-size:12px}.reservation-quick-summary i{color:#9a91ab;font-style:normal}
.reservation-quick-error{padding:0 22px 6px!important;background:#fff!important}.reservation-quick-actions{min-height:70px;padding:10px 18px!important;background:#fff!important;box-shadow:0 -5px 18px rgba(15,23,42,.04)!important}.reservation-quick-actions .button,.reservation-quick-actions .button-link{min-height:44px;border-radius:6px!important}.reservation-quick-actions .reservation-quick-block{border-color:#ff665a!important;color:#ff554a!important}.reservation-quick-actions .reservation-quick-register{border-color:#9da6b3!important;color:#445064!important}.reservation-quick-actions .button-primary{min-width:154px;border-color:#088f84!important;background:#088f84!important;color:#fff!important;box-shadow:0 8px 18px rgba(8,143,132,.2)!important}.reservation-quick-actions .button-primary:hover{border-color:#06766d!important;background:#06766d!important}.reservation-quick-actions .button-link{color:#444c5a!important}
.clinessy-dark .reservation-quick-card,.clinessy-dark .reservation-quick-form,.clinessy-dark .reservation-quick-body,.clinessy-dark .reservation-quick-error,.clinessy-dark .reservation-quick-actions{background:#fff!important;color:#172033!important}.clinessy-dark .reservation-quick-column>label{color:#20293a!important}
@media(max-width:920px){.reservation-quick-time>div{grid-template-columns:minmax(120px,1fr) auto}.reservation-quick-time small.is-available{display:none}.reservation-quick-column>label{grid-template-columns:112px minmax(0,1fr)}}
@media(max-width:820px){.reservation-quick-card{width:100vw!important;border-radius:0!important}.reservation-quick-header{min-height:72px!important;padding:0 15px!important}.reservation-quick-title>.dashicons{width:40px;height:40px;flex-basis:40px}.reservation-quick-title h2{font-size:20px!important}.reservation-quick-title p{gap:5px;font-size:9px}.reservation-quick-body{display:grid;gap:12px;padding:12px}.reservation-quick-column{padding:0 14px 15px}.reservation-quick-column h3{margin:0 -14px 6px!important;padding:12px 14px!important}.reservation-quick-column+.reservation-quick-column{border:1px solid #ccece8!important}.reservation-quick-summary{margin:0 12px 7px}.reservation-quick-actions{padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important}}
@media(max-width:520px){.reservation-quick-title p [data-reservation-summary="branch"],.reservation-quick-title p [data-reservation-summary="box"],.reservation-quick-title p i:nth-of-type(n+2){display:none}.reservation-quick-column>label{grid-template-columns:1fr}.reservation-quick-time>div{grid-template-columns:1fr auto}.reservation-quick-summary{overflow:hidden;padding:0 11px}.reservation-quick-summary strong{gap:5px;white-space:nowrap}.reservation-quick-summary [data-reservation-summary="branch"],.reservation-quick-summary [data-reservation-summary="box"],.reservation-quick-summary i:nth-of-type(n+2){display:none}.reservation-quick-actions .button-primary{min-width:126px}}

/* Clinessy Core 2.0.29: guardado visible dentro del resumen de la reserva. */
.reservation-quick-summary{gap:12px!important;padding-right:9px!important}.reservation-quick-summary strong{min-width:0;overflow:hidden}.reservation-quick-summary .reservation-quick-summary-save{display:inline-flex!important;min-width:140px!important;min-height:42px!important;margin-left:auto!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid #088f84!important;border-radius:6px!important;background:#088f84!important;color:#fff!important;font-size:13px!important;font-weight:800!important;letter-spacing:0!important;box-shadow:0 7px 16px rgba(8,143,132,.2)!important}.reservation-quick-summary .reservation-quick-summary-save:hover,.reservation-quick-summary .reservation-quick-summary-save:focus{border-color:#06766d!important;background:#06766d!important;color:#fff!important}.reservation-quick-summary-save .dashicons{width:18px;height:18px;font-size:18px;line-height:18px}
@media(max-width:520px){.reservation-quick-summary-save{min-width:108px!important;min-height:40px!important;padding:0 11px!important;font-size:11px!important}.reservation-quick-summary-save .dashicons{display:none}.reservation-quick-summary strong{white-space:nowrap;text-overflow:ellipsis}}

/* Clinessy Core 2.0.30: cierre siempre visible del cuadro de reserva. */
.reservation-quick-card{position:relative!important}.reservation-quick-card .reservation-quick-corner-close{position:absolute!important;z-index:60!important;top:12px!important;right:12px!important;display:inline-flex!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;margin:0!important;padding:0!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.62)!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:#4f5968!important;font-size:24px!important;font-weight:500!important;line-height:1!important;box-shadow:0 4px 14px rgba(15,23,42,.15)!important;opacity:1!important;visibility:visible!important;cursor:pointer!important}.reservation-quick-card .reservation-quick-corner-close:hover,.reservation-quick-card .reservation-quick-corner-close:focus{border-color:#ff665a!important;background:#fff!important;color:#ff554a!important;outline:2px solid rgba(255,102,90,.24)!important;outline-offset:2px!important}
@media(max-width:520px){.reservation-quick-card .reservation-quick-corner-close{position:fixed!important;top:10px!important;right:10px!important}}

/* Clinessy Core 2.1.39: modo bloqueo en nueva reserva. */
.reservation-quick-mode{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px 18px 0;background:#fff!important}.reservation-quick-mode button{display:flex!important;min-height:64px!important;align-items:center;gap:12px;padding:12px 14px!important;border:1px solid #e2e7ee!important;border-radius:8px!important;background:#fff!important;color:#2b3445!important;text-align:left!important;box-shadow:0 5px 14px rgba(15,23,42,.04)!important;cursor:pointer!important}.reservation-quick-mode .dashicons{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border-radius:8px;background:#f2edff;color:#713ce4;font-size:19px!important;line-height:36px!important}.reservation-quick-mode strong,.reservation-quick-mode small{display:block}.reservation-quick-mode strong{font-size:14px;font-weight:850}.reservation-quick-mode small{margin-top:2px;color:#717b8d;font-size:11px;font-weight:700}.reservation-quick-mode button.is-active{border-color:#8a5cf6!important;background:#f8f5ff!important;box-shadow:0 8px 20px rgba(112,64,228,.12)!important}.reservation-quick-mode button[data-reservation-mode-choice="block"].is-active{border-color:#222b38!important;background:#222b38!important;color:#fff!important}.reservation-quick-mode button[data-reservation-mode-choice="block"].is-active .dashicons{background:rgba(255,255,255,.14);color:#fff}.reservation-quick-mode button[data-reservation-mode-choice="block"].is-active small{color:#d7dde7}.reservation-block-hint{display:none;margin:-2px 0 8px!important;padding:11px 13px;border:1px solid #d9dee7;border-radius:7px;background:#f7f8fb;color:#3b4657;font-size:12px;font-weight:750}.reservation-block-hint .dashicons{margin-right:6px;color:#222b38}.reservation-quick-form.is-block-mode .reservation-block-hint{display:flex;align-items:center}.reservation-quick-form.is-block-mode .reservation-quick-body{grid-template-columns:minmax(0,1fr)!important}.reservation-quick-form.is-block-mode .reservation-quick-client,.reservation-quick-form.is-block-mode .reservation-mode-reserve-only{display:none!important}.reservation-quick-form.is-block-mode .reservation-quick-attention{width:min(760px,100%);margin:0 auto;border-color:#d9dee7!important;background:#fbfcfe!important}.reservation-quick-form.is-block-mode .reservation-quick-attention h3{border-color:#d9dee7!important;background:#f2f4f8!important;color:#222b38!important}.reservation-quick-form.is-block-mode .reservation-quick-attention h3 .dashicons{background:#e1e6ee!important;color:#222b38!important}.reservation-quick-form.is-block-mode .reservation-quick-summary{border-color:#d9dee7!important;background:#f6f7fa!important}.reservation-quick-form.is-block-mode .reservation-quick-summary>.dashicons{background:#e1e6ee!important;color:#222b38!important}.reservation-quick-form.is-block-mode .reservation-quick-summary .reservation-quick-summary-save{border-color:#222b38!important;background:#222b38!important;color:#fff!important;box-shadow:0 8px 18px rgba(34,43,56,.2)!important}.reservation-quick-form.is-block-mode .reservation-quick-save{border-color:#222b38!important;background:#222b38!important;color:#fff!important;box-shadow:0 8px 18px rgba(34,43,56,.2)!important}
@media(max-width:820px){.reservation-quick-mode{grid-template-columns:1fr;padding:12px 12px 0}.reservation-quick-mode button{min-height:56px!important}.reservation-quick-form.is-block-mode .reservation-quick-attention{width:auto}}

/* Clinessy Core 2.1.40: selector de cita/bloqueo siempre visible. */
.reservation-quick-form{display:flex!important;flex-direction:column!important;min-height:0!important}.reservation-quick-mode{flex:0 0 auto!important;position:relative!important;z-index:2!important;padding:14px 18px 4px!important;border-bottom:1px solid #eef0f4!important}.reservation-quick-body{flex:1 1 auto!important;min-height:0!important}.reservation-quick-summary,.reservation-quick-error,.reservation-quick-actions{flex:0 0 auto!important}.reservation-quick-form.is-block-mode .reservation-quick-body{display:grid!important;grid-template-columns:minmax(0,1fr)!important}

/* Clinessy Core 2.1.44: cobro asociado en cuadro propio. */
.reservation-quick-payment{
  display:grid!important;
  grid-column:1/-1!important;
  gap:12px!important;
  margin:0!important;
  padding:0 20px 18px!important;
  border:1px solid #eadcf7!important;
  border-radius:8px!important;
  background:#fcf8ff!important;
}
.reservation-quick-payment h3{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:0 -20px 0!important;
  padding:14px 20px!important;
  border-bottom:1px solid #eadcf7!important;
  border-radius:7px 7px 0 0!important;
  background:#f7f0ff!important;
  color:#5d2bd2!important;
  font-size:18px!important;
  font-weight:850!important;
}
.reservation-quick-payment h3 .dashicons{
  display:grid!important;
  width:34px!important;
  height:34px!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#eadfff!important;
  color:#6f38e8!important;
  font-size:20px!important;
}
.reservation-quick-payment>p{
  margin:0!important;
  color:#6b7280!important;
  font-size:12px!important;
  font-weight:700!important;
}
.reservation-service-stack{
  display:grid!important;
  grid-column:1/-1!important;
  grid-template-columns:120px minmax(0,1fr)!important;
  align-items:start!important;
  gap:10px 14px!important;
  margin:0!important;
}
.reservation-quick-attention .reservation-service-stack{
  grid-template-columns:120px minmax(0,1fr)!important;
}
.reservation-service-stack>span{
  padding-top:12px!important;
  color:#20293a!important;
  font-size:13px!important;
  font-weight:850!important;
}
.reservation-service-rows{
  display:grid!important;
  gap:8px!important;
}
.reservation-service-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 32px!important;
  align-items:center!important;
  gap:10px!important;
  max-width:none!important;
  min-height:42px!important;
  break-inside:avoid!important;
}
.reservation-service-row select{
  width:100%!important;
  max-width:none!important;
  min-height:42px!important;
}
.reservation-service-add,
.reservation-service-remove{
  display:inline-grid!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  padding:0!important;
  place-items:center!important;
  border:0!important;
  border-radius:50%!important;
  color:#fff!important;
  cursor:pointer!important;
  align-self:center!important;
}
.reservation-service-add[hidden],
.reservation-service-remove[hidden]{
  display:none!important;
}
.reservation-service-add{
  background:#1185c8!important;
}
.reservation-service-remove{
  background:#1185c8!important;
}
.reservation-service-add .dashicons,
.reservation-service-remove .dashicons{
  width:15px!important;
  height:15px!important;
  font-size:15px!important;
  line-height:15px!important;
}
.appointment-edit-grid .reservation-service-stack,
.reservation-fields .reservation-service-stack{
  grid-column:1/-1!important;
}
.reservation-coverage-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.reservation-coverage-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.reservation-coverage-cards label{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:10px!important;
  row-gap:2px!important;
  min-height:76px!important;
  margin:0!important;
  padding:12px!important;
  border:1px solid #e2ddec!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#1b2434!important;
  cursor:pointer!important;
  box-shadow:0 5px 14px rgba(32,22,68,.04)!important;
}
.reservation-coverage-cards input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.reservation-coverage-cards .dashicons{
  grid-row:1/3!important;
  display:grid!important;
  width:34px!important;
  height:34px!important;
  place-items:center!important;
  border-radius:8px!important;
  background:#f0e8ff!important;
  color:#713ce4!important;
  font-size:18px!important;
  line-height:34px!important;
}
.reservation-coverage-cards strong{
  overflow:hidden!important;
  color:#172033!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-overflow:ellipsis!important;
}
.reservation-coverage-cards small{
  color:#70778a!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.25!important;
}
.reservation-coverage-cards label.is-active{
  border-color:#7c3aed!important;
  background:#f7f2ff!important;
  box-shadow:0 8px 20px rgba(124,58,237,.12)!important;
}
.reservation-coverage-cards label.is-active .dashicons{
  background:#7c3aed!important;
  color:#fff!important;
}
.reservation-quick-payment-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
.reservation-quick-payment-grid label{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  margin:0!important;
  color:#20293a!important;
  font-size:12px!important;
  font-weight:800!important;
}
.reservation-quick-payment-grid input,
.reservation-quick-payment-grid select{
  width:100%!important;
  min-height:42px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:8px 11px!important;
  border:1px solid #d7dce3!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#192234!important;
  font-size:13px!important;
}
.reservation-payment-note{
  display:flex!important;
  grid-column:1/-1!important;
  align-items:center!important;
  gap:8px!important;
  min-height:38px!important;
  padding:0 12px!important;
  border:1px solid #e3d8f5!important;
  border-radius:7px!important;
  background:#f6f0ff!important;
  color:#59417b!important;
  font-size:12px!important;
}
.reservation-payment-note .dashicons{
  color:#713ce4!important;
}
.reservation-quick-payment .reservation-pack-zones{
  margin-top:0!important;
}
@media(max-width:820px){
  .reservation-quick-payment{
    padding:0 14px 15px!important;
  }
  .reservation-quick-payment h3{
    margin:0 -14px 0!important;
    padding:12px 14px!important;
  }
  .reservation-quick-payment-grid{
    grid-template-columns:1fr!important;
  }
  .reservation-service-stack{
    grid-template-columns:1fr!important;
  }
  .reservation-service-stack>span{
    padding-top:0!important;
  }
  .reservation-coverage-cards{
    grid-template-columns:1fr!important;
  }
}
.reservation-quick-summary .reservation-quick-summary-block{
  display:inline-flex!important;
  min-width:116px!important;
  min-height:42px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid #d6e0ec!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#2461a8!important;
  font-size:13px!important;
  font-weight:850!important;
  letter-spacing:0!important;
  box-shadow:0 5px 12px rgba(15,23,42,.04)!important;
}
.reservation-quick-summary .reservation-quick-summary-block:hover,
.reservation-quick-summary .reservation-quick-summary-block:focus{
  border-color:#2461a8!important;
  background:#f5f9ff!important;
  color:#0f559e!important;
  box-shadow:0 7px 16px rgba(36,97,168,.12)!important;
}
.reservation-quick-summary .reservation-quick-summary-block .dashicons{
  width:18px!important;
  height:18px!important;
  font-size:18px!important;
  line-height:18px!important;
}
.reservation-quick-form.is-block-mode .reservation-quick-summary .reservation-quick-summary-block{
  border-color:#222b38!important;
  background:#222b38!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(34,43,56,.2)!important;
}
.reservation-quick-actions .reservation-quick-block{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:126px!important;
  border:1px solid #d7e0ea!important;
  background:#fff!important;
  color:#2461a8!important;
  font-weight:800!important;
  box-shadow:0 4px 12px rgba(15,23,42,.05)!important;
}
.reservation-quick-actions .reservation-quick-block:hover,
.reservation-quick-actions .reservation-quick-block:focus{
  border-color:#2461a8!important;
  background:#f5f9ff!important;
  color:#0f559e!important;
  box-shadow:0 7px 16px rgba(36,97,168,.12)!important;
}
.reservation-quick-actions .reservation-quick-block .dashicons{
  width:18px!important;
  height:18px!important;
  font-size:18px!important;
  line-height:18px!important;
}
@media(max-width:620px){
  .reservation-quick-summary .reservation-quick-summary-block{
    min-width:44px!important;
    padding:0 12px!important;
    font-size:0!important;
  }
  .reservation-quick-summary .reservation-quick-summary-block .dashicons{
    margin:0!important;
  }
}

/* Clinessy Core 2.0.44: acción principal coral en la agenda. */
.agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{
  border-color:#ff675f!important;
  background:#ff675f!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(255,103,95,.24)!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action:hover,
.agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action:focus{
  border-color:#ed554e!important;
  background:#ed554e!important;
  color:#fff!important;
}

/* Clinessy Core 2.0.48: ficha operativa de la cita. */
.appointment-detail-modal{padding:28px!important;background:rgba(8,16,36,.72)!important;backdrop-filter:blur(7px)}
.appointment-detail-card{width:min(1120px,96vw)!important;max-height:94vh!important;padding:0!important;overflow:hidden!important;border:1px solid #e4e7ee!important;border-radius:9px!important;background:#fff!important;box-shadow:0 30px 80px rgba(8,16,36,.28)!important}
.appointment-detail-header{display:grid;grid-template-columns:minmax(180px,1fr) auto 38px;align-items:center;gap:18px;padding:22px 26px 18px;border-bottom:1px solid #e6e8ef}
.appointment-detail-header h2{margin:0!important;color:#151a2d!important;font-size:25px!important;line-height:1.1!important;letter-spacing:0!important}
.appointment-detail-meta{display:flex;align-items:center;gap:7px;color:#596276;font-size:13px;white-space:nowrap}.appointment-detail-meta .dashicons{color:#8390a6;font-size:18px}.appointment-detail-header .clinessy-modal-close{position:static!important;display:grid!important;place-items:center;width:36px!important;height:36px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f4f6fa!important;color:#69758a!important;font-size:25px!important;line-height:1!important}
.appointment-progress{display:grid;grid-template-columns:repeat(4,1fr);padding:18px 38px 14px;background:#fbfcfe}.appointment-progress-step{position:relative;display:grid;justify-items:center;gap:5px;text-align:center;color:#778195}.appointment-progress-step:not(:last-child):after{content:"";position:absolute;top:18px;left:calc(50% + 24px);width:calc(100% - 48px);border-top:1px dashed #b8c1d1}.appointment-progress-step .dashicons{position:relative;z-index:1;display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#8793a6;color:#fff;font-size:18px;line-height:38px}.appointment-progress-step strong{font-size:13px}.appointment-progress-step small{font-size:10px}.appointment-progress-step.is-complete{color:#5c32c8}.appointment-progress-step.is-complete .dashicons{background:#6335cf}.appointment-progress-step.is-complete:not(:last-child):after{border-color:#8265cf}
.appointment-tabs{display:grid;grid-template-columns:repeat(4,1fr);margin:0 26px;border:1px solid #e2e6ed;border-radius:7px 7px 0 0;background:#f8f9fb}.appointment-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:47px;padding:10px 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:#697387;font-weight:700;cursor:pointer}.appointment-tabs button.is-active{border-bottom-color:#6d3ada;background:#f8f4ff;color:#6532d0}.appointment-tabs .dashicons{font-size:18px}
.appointment-detail-form{display:flex!important;min-height:0;max-height:calc(94vh - 216px);flex-direction:column!important}.appointment-panel{display:none;min-height:0;padding:14px 26px 18px;overflow:auto}.appointment-panel.is-active{display:block}
.appointment-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.appointment-summary-column{display:grid;gap:12px}.appointment-summary-card{padding:15px;border:1px solid #e3e7ed;border-radius:8px;background:#fff}.appointment-summary-card>header{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#253047}.appointment-summary-card>header .dashicons{color:#65738a}.appointment-summary-card h3{margin:0!important;font-size:15px!important;letter-spacing:0!important}.appointment-summary-card dl{margin:0}.appointment-summary-card dl>div{display:grid;grid-template-columns:120px minmax(0,1fr) 28px;align-items:center;gap:10px;min-height:45px;border-top:1px solid #edf0f4}.appointment-summary-card dl>div:first-child{border-top:0}.appointment-summary-card dt{color:#8490a3;font-size:11px}.appointment-summary-card dd{margin:0;color:#242c3d;font-weight:650}.appointment-inline-edit{display:grid!important;place-items:center;width:28px!important;height:28px!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;color:#77849a!important;cursor:pointer}.appointment-inline-edit .dashicons{font-size:16px}
.appointment-status-control select{width:100%!important;border-color:#d9cdf8!important;background:#faf8ff!important;color:#6532d0!important;font-weight:750!important}.appointment-payment-strip{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:12px;padding:13px 16px;border:1px solid #ffcbc7;border-radius:8px;background:#fff7f6;color:#ee514a}.appointment-payment-strip>.dashicons{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#ffe5e2;font-size:20px;line-height:38px}.appointment-payment-strip small,.appointment-payment-strip strong{display:block}.appointment-payment-strip small{color:#7d8494}.appointment-payment-strip strong{font-size:17px}.appointment-payment-strip .button{border-color:#ff8d86!important;background:#fff!important;color:#e85049!important}
.appointment-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 18px}.appointment-section-heading{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid #eceff4}.appointment-section-heading>.dashicons{display:grid;width:38px;height:38px;place-items:center;border-radius:9px;background:#eee7ff;color:#6a34d5;font-size:20px;line-height:38px}.appointment-section-heading h3,.appointment-section-heading p{margin:0!important;letter-spacing:0!important}.appointment-section-heading h3{font-size:18px!important}.appointment-section-heading p{margin-top:3px!important;color:#7a8496;font-size:12px}.appointment-edit-grid label{display:grid;gap:6px;color:#253047;font-size:12px;font-weight:750}.appointment-edit-grid label.full{grid-column:1/-1}.appointment-edit-grid input,.appointment-edit-grid select,.appointment-edit-grid textarea{width:100%!important;max-width:none!important;min-height:42px!important;border:1px solid #d9dee8!important;border-radius:7px!important;background:#fff!important}.appointment-edit-grid textarea{min-height:90px!important}.appointment-balance{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:13px;border:1px solid #dfe5ee;border-radius:8px;background:#f8fafc}.appointment-balance span{display:flex;justify-content:space-between;color:#69758a}.appointment-balance strong{color:#20283a}.appointment-whatsapp{grid-column:1/-1;margin:0!important;border-radius:8px!important}
.appointment-detail-actions{position:relative;display:flex;align-items:center;gap:10px;margin-top:auto;padding:12px 26px;border-top:1px solid #e5e8ee;background:#fff}.appointment-detail-actions .appointment-save{display:flex!important;align-items:center;gap:6px;margin-left:auto!important;border-color:#087c73!important;background:#087c73!important;color:#fff!important}.appointment-more-actions{position:relative}.appointment-more-actions>summary{list-style:none;cursor:pointer}.appointment-more-actions>summary::-webkit-details-marker{display:none}.appointment-more-actions>div{position:absolute;left:0;bottom:44px;z-index:10;display:grid;width:210px;padding:7px;border:1px solid #e1e5ec;border-radius:8px;background:#fff;box-shadow:0 16px 34px rgba(20,29,48,.18)}.appointment-more-actions a{padding:8px 10px;border-radius:5px;color:#263147;text-decoration:none}.appointment-more-actions a:hover{background:#f3f0fc;color:#6633cf}
body.clinessy-dark .appointment-detail-card,body.clinessy-dark .appointment-panel,body.clinessy-dark .appointment-detail-actions,body.clinessy-dark .appointment-summary-card{background:#111b2d!important;color:#eef3fb!important}body.clinessy-dark .appointment-detail-header,body.clinessy-dark .appointment-tabs,body.clinessy-dark .appointment-detail-actions{border-color:#344057!important}body.clinessy-dark .appointment-detail-header h2,body.clinessy-dark .appointment-summary-card h3,body.clinessy-dark .appointment-summary-card dd,body.clinessy-dark .appointment-section-heading h3{color:#f2f5fa!important}body.clinessy-dark .appointment-progress,body.clinessy-dark .appointment-tabs{background:#152034!important}body.clinessy-dark .appointment-summary-card dl>div{border-color:#2d394d}body.clinessy-dark .appointment-edit-grid input,body.clinessy-dark .appointment-edit-grid select,body.clinessy-dark .appointment-edit-grid textarea{border-color:#3a465a!important;background:#172338!important;color:#f2f5fa!important}
@media(max-width:780px){.appointment-detail-modal{padding:0!important;align-items:flex-end!important}.appointment-detail-card{width:100%!important;max-height:96vh!important;border-radius:9px 9px 0 0!important}.appointment-detail-header{grid-template-columns:1fr 34px;padding:16px}.appointment-detail-meta{grid-column:1/-1;grid-row:2;flex-wrap:wrap}.appointment-progress{padding:13px 8px}.appointment-progress-step small{display:none}.appointment-progress-step:not(:last-child):after{left:calc(50% + 19px);width:calc(100% - 38px)}.appointment-tabs{margin:0 10px}.appointment-tabs button{font-size:0}.appointment-tabs .dashicons{font-size:20px}.appointment-detail-form{max-height:calc(96vh - 205px)}.appointment-panel{padding:12px}.appointment-summary-grid,.appointment-edit-grid{grid-template-columns:1fr}.appointment-summary-card dl>div{grid-template-columns:94px minmax(0,1fr) 28px}.appointment-payment-strip{grid-template-columns:38px 1fr}.appointment-payment-strip .button{grid-column:1/-1}.appointment-balance{grid-template-columns:1fr}.appointment-detail-actions{padding:10px 12px}.appointment-detail-actions .appointment-save{font-size:12px}.appointment-more-actions>div{left:auto;right:0}}

/* Clinessy Core 2.0.49: nombres legibles dentro de las citas. */
.agenda-page-modern .agenda-workspace-v4 .agenda-event-card .event-client{
  display:flex!important;
  min-width:0!important;
  min-height:18px!important;
  align-items:center!important;
  gap:6px!important;
  margin-top:3px!important;
  overflow:hidden!important;
  color:#1e2740!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:18px!important;
  white-space:nowrap!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-card .event-client>i{
  display:grid!important;
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  place-items:center!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.92)!important;
  color:#16885c!important;
  font-size:7px!important;
  font-style:normal!important;
  font-weight:900!important;
  line-height:18px!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-card .event-client>span{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-card[data-span="2"] .event-service{
  display:none!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-card[data-span="2"] .event-client{
  margin-top:4px!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-card[data-span="2"] .event-meta{
  margin-top:3px!important;
  padding-top:2px!important;
}
body.clinessy-dark .agenda-page-modern .agenda-workspace-v4 .agenda-event-card .event-client{
  color:#f3f6fb!important;
}

/* Clinessy Core 2.0.43: mes, año y selección directa en el calendario lateral. */
.agenda-page-modern .agenda-mini-calendar .agenda-mini-calendar-toolbar{display:grid!important;grid-template-columns:32px minmax(0,1fr) 32px!important;align-items:center!important;gap:8px!important;margin:-4px -4px 9px!important;padding:8px!important;border-radius:12px!important;background:#f8f6fd!important}.agenda-mini-calendar-toolbar>div{min-width:0;text-align:center}.agenda-mini-calendar-toolbar strong,.agenda-mini-calendar-toolbar small{display:block!important}.agenda-mini-calendar-toolbar strong{margin:0!important;color:#171a2f!important;font-size:14px!important;line-height:1.25!important;text-transform:none!important;letter-spacing:0!important}.agenda-mini-calendar-toolbar small{margin-top:2px!important;color:#777f91!important;font-size:9px!important;line-height:1.2!important}.agenda-mini-calendar-toolbar>a{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;padding:0!important;border:1px solid #e4def1!important;border-radius:9px!important;background:#fff!important;color:#6331d5!important;text-decoration:none!important;box-shadow:none!important}.agenda-mini-calendar-toolbar>a:hover{border-color:#7040e4!important;background:#f1ebff!important}.agenda-mini-calendar-toolbar .dashicons{width:16px!important;height:16px!important;font-size:16px!important;line-height:16px!important}.agenda-mini-active-date{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:center!important;gap:1px 7px!important;margin-bottom:10px!important;padding:8px 9px!important;border:1px solid #ebe4fb!important;border-radius:10px!important;background:#fcfaff!important}.agenda-mini-active-date>.dashicons{grid-row:1/3;width:18px!important;height:18px!important;color:#7040e4!important;font-size:18px!important}.agenda-mini-active-date>span:not(.dashicons){color:#868c9d!important;font-size:8px!important;font-weight:750!important;text-transform:uppercase!important}.agenda-mini-active-date>strong{color:#25283a!important;font-size:10px!important;line-height:1.25!important}.agenda-mini-calendar .agenda-mini-days a{cursor:pointer}.agenda-mini-calendar .agenda-mini-days a:hover{background:#f1ebff!important;color:#5f2bc9!important}.agenda-mini-calendar .agenda-mini-days a[aria-current="date"]{background:#7040e4!important;color:#fff!important;box-shadow:0 4px 10px rgba(112,64,228,.28)!important;font-weight:850!important}body.clinessy-dark .agenda-page-modern .agenda-mini-calendar .agenda-mini-calendar-toolbar{background:#172033!important}body.clinessy-dark .agenda-mini-calendar-toolbar strong,body.clinessy-dark .agenda-mini-active-date>strong{color:#f3f6fb!important}body.clinessy-dark .agenda-mini-calendar-toolbar small,body.clinessy-dark .agenda-mini-active-date>span:not(.dashicons){color:#aab5c8!important}body.clinessy-dark .agenda-mini-calendar-toolbar>a{border-color:#344057!important;background:#111a2a!important;color:#bda6ff!important}body.clinessy-dark .agenda-mini-active-date{border-color:#344057!important;background:#121c2d!important}

/* Clinessy Core 2.1.1: acceso publico moderno para /panel. */
body.clinessy-core-standalone-template:has(.clinessy-public-login),
body.clinessy-core-panel-page:has(.clinessy-public-login){min-height:100vh!important;margin:0!important;background:#f7efe2!important}
.clinessy-public-login{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,440px);align-items:center;gap:clamp(28px,5vw,72px);min-height:100vh;box-sizing:border-box;padding:clamp(28px,6vw,78px);background:linear-gradient(115deg,rgba(255,255,255,.62) 0%,rgba(255,255,255,0) 46%),#f7efe2;color:#213128;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.clinessy-public-login-brand{max-width:620px}
.clinessy-public-login-logo{display:grid;width:82px;height:82px;place-items:center;margin-bottom:28px;border:1px solid rgba(25,75,57,.12);border-radius:22px;background:#fffaf2;box-shadow:0 18px 38px rgba(58,39,15,.11)}
.clinessy-public-login-logo img{display:block;width:58px;height:58px;object-fit:contain}
.clinessy-public-login-kicker{display:block;margin-bottom:14px;color:#0b684d;font-size:12px;font-weight:850;letter-spacing:0}
.clinessy-public-login h1{margin:0!important;color:#18251f!important;font-size:clamp(42px,7vw,82px)!important;line-height:.94!important;letter-spacing:0!important}
.clinessy-public-login-brand p{max-width:500px;margin:22px 0 0!important;color:#5f6a62!important;font-size:18px!important;line-height:1.55!important}
.clinessy-public-login-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}
.clinessy-public-login-points span{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border:1px solid rgba(11,104,77,.14);border-radius:999px;background:rgba(255,250,242,.78);color:#214238;font-size:13px;font-weight:750}
.clinessy-public-login-card{box-sizing:border-box;width:100%;padding:30px;border:1px solid rgba(30,48,40,.10);border-radius:8px;background:#fffdf8;box-shadow:0 24px 70px rgba(69,49,21,.16)}
.clinessy-public-login-card-header{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.clinessy-public-login-card-header>.dashicons{display:grid;width:46px;height:46px;place-items:center;border-radius:8px;background:#e9f4ee;color:#0b684d;font-size:22px;line-height:46px}
.clinessy-public-login-card h2{margin:0!important;color:#1d2c25!important;font-size:25px!important;line-height:1.15!important;letter-spacing:0!important}
.clinessy-public-login-card p{margin:5px 0 0!important;color:#7a817a!important;font-size:13px!important}
.clinessy-public-login form{display:grid;gap:14px;margin:0}
.clinessy-public-login form p{margin:0!important}
.clinessy-public-login label{display:grid;gap:7px;color:#394840;font-size:13px;font-weight:750}
.clinessy-public-login input[type="text"],.clinessy-public-login input[type="password"]{width:100%!important;min-height:50px!important;box-sizing:border-box!important;border:1px solid #dcd5ca!important;border-radius:8px!important;background:#fff!important;color:#17231d!important;font-size:15px!important;box-shadow:none!important}
.clinessy-public-login input[type="text"]:focus,.clinessy-public-login input[type="password"]:focus{border-color:#0b684d!important;box-shadow:0 0 0 3px rgba(11,104,77,.12)!important;outline:0!important}
.clinessy-public-login .login-remember label{display:flex;align-items:center;gap:9px;color:#607067;font-weight:650}
.clinessy-public-login input[type="checkbox"]{width:17px;height:17px;margin:0;accent-color:#0b684d}
.clinessy-public-login .login-submit{margin-top:4px!important}
.clinessy-public-login .button-primary{display:flex!important;width:100%!important;min-height:52px!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:8px!important;background:#0b684d!important;color:#fff!important;font-size:15px!important;font-weight:850!important;box-shadow:0 14px 30px rgba(11,104,77,.22)!important;cursor:pointer!important}
.clinessy-public-login .button-primary:hover,.clinessy-public-login .button-primary:focus{background:#07543e!important}
.clinessy-public-login-help{display:block;margin-top:18px;color:#0b684d!important;font-size:13px;font-weight:750;text-align:center;text-decoration:none!important}
@media(max-width:860px){.clinessy-public-login{grid-template-columns:1fr;align-content:center;gap:28px;padding:28px 18px}.clinessy-public-login-brand{max-width:none;text-align:left}.clinessy-public-login-logo{width:66px;height:66px;margin-bottom:18px;border-radius:18px}.clinessy-public-login-logo img{width:46px;height:46px}.clinessy-public-login h1{font-size:42px!important}.clinessy-public-login-brand p{margin-top:14px!important;font-size:15px!important}.clinessy-public-login-points{margin-top:20px}.clinessy-public-login-card{padding:22px}}

/* Clinessy Core 2.3.48: acceso publico, opcion 1. */
body.clinessy-core-standalone-template:has(.clinessy-public-login),body.clinessy-core-panel-page:has(.clinessy-public-login){min-height:100vh!important;margin:0!important;background:#f5f7fa!important}
.clinessy-public-login{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(390px,.85fr);min-height:100vh;background:#f5f7fa;color:#152238;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.clinessy-public-login *{box-sizing:border-box}
.clinessy-public-login-brand{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:44px 64px;background:#fff}
.clinessy-public-login-identity{display:flex;align-items:center;gap:14px;margin-bottom:42px}
.clinessy-public-login-logo{display:grid;width:58px;height:58px;place-items:center;border:1px solid #e3e9ef;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(21,34,56,.08)}
.clinessy-public-login-logo img{display:block;width:42px;height:42px;object-fit:contain}
.clinessy-public-login-kicker{margin:0;color:#0b684d;font-size:17px;font-weight:850;letter-spacing:0}
.clinessy-public-login-copy{max-width:680px}
.clinessy-public-login h1{margin:0!important;color:#152238!important;font-size:52px!important;line-height:1.05!important;letter-spacing:0!important}
.clinessy-public-login-brand p{max-width:590px;margin:18px 0 0!important;color:#607085!important;font-size:18px!important;line-height:1.55!important}
.clinessy-public-login-points{display:grid;max-width:620px;margin-top:28px}
.clinessy-public-login-points>div{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #e8edf2}
.clinessy-public-login-points>div:last-child{border-bottom:0}
.clinessy-public-login-points .dashicons{display:grid;width:40px;height:40px;place-items:center;border-radius:8px;font-size:20px;line-height:40px}
.clinessy-public-login-points strong,.clinessy-public-login-points small{display:block}
.clinessy-public-login-points strong{color:#1a2b42;font-size:15px;font-weight:850}
.clinessy-public-login-points small{margin-top:2px;color:#718096;font-size:13px}
.clinessy-public-login-points .is-agenda .dashicons{background:#e6f6f2;color:#0d7b6c}
.clinessy-public-login-points .is-patients .dashicons{background:#f0eafd;color:#6b3bd2}
.clinessy-public-login-points .is-sales .dashicons{background:#fff0e7;color:#d7682f}
.clinessy-public-login-preview{width:100%;max-width:640px;height:176px;margin-top:34px;overflow:hidden;border:1px solid #e3e9ef;border-radius:8px;background:#fff;box-shadow:0 16px 40px rgba(21,34,56,.10)}
.clinessy-login-preview-top{display:flex;height:30px;align-items:center;gap:6px;padding:0 12px;border-bottom:1px solid #e7ecf1;background:#f8fafc}
.clinessy-login-preview-top i{width:7px;height:7px;border-radius:50%;background:#7bd2bf}
.clinessy-login-preview-top i:nth-child(2){background:#f7b46d}
.clinessy-login-preview-top i:nth-child(3){background:#b59be9}
.clinessy-login-preview-top span{width:42%;height:7px;margin-left:10px;border-radius:4px;background:#dfe6ec}
.clinessy-login-preview-body{display:grid;grid-template-columns:82px 1fr;height:146px}
.clinessy-login-preview-nav{display:grid;align-content:start;gap:12px;padding:18px 14px;background:#172541}
.clinessy-login-preview-nav b{display:block;width:100%;height:7px;border-radius:4px;background:#52617a}
.clinessy-login-preview-nav b:first-child{background:#45c4ad}
.clinessy-login-preview-content{padding:18px;background:#f8fafc}
.clinessy-login-preview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.clinessy-login-preview-stats i{display:block;height:38px;border:1px solid #e5eaf0;border-radius:6px;background:#fff}
.clinessy-login-preview-chart{display:flex;height:68px;align-items:flex-end;gap:10px;margin-top:12px;padding:0 12px 8px;border-bottom:1px solid #dce4eb}
.clinessy-login-preview-chart span{flex:1;height:34%;border-radius:4px 4px 0 0;background:#5a9ee8}
.clinessy-login-preview-chart span:nth-child(2){height:62%;background:#45c4ad}
.clinessy-login-preview-chart span:nth-child(3){height:46%;background:#8b69db}
.clinessy-login-preview-chart span:nth-child(4){height:78%;background:#5a9ee8}
.clinessy-login-preview-chart span:nth-child(5){height:58%;background:#45c4ad}
.clinessy-public-login-access{display:grid;place-items:center;padding:44px;background:#eef3f6;border-left:1px solid #e1e7ec}
.clinessy-public-login-card{width:100%;max-width:420px;padding:30px;border:1px solid #e0e6eb;border-radius:8px;background:#fff;box-shadow:0 18px 48px rgba(21,34,56,.12)}
.clinessy-public-login-card-header{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.clinessy-public-login-card-header>.dashicons{display:grid;width:46px;height:46px;place-items:center;border-radius:8px;background:#e7f4ef;color:#0b684d;font-size:22px;line-height:46px}
.clinessy-public-login-card h2{margin:0!important;color:#152238!important;font-size:25px!important;line-height:1.15!important;letter-spacing:0!important}
.clinessy-public-login-card p{margin:5px 0 0!important;color:#748092!important;font-size:13px!important}
.clinessy-public-login-error{display:flex;align-items:flex-start;gap:10px;margin:-4px 0 18px;padding:12px 13px;border:1px solid #f1b8bd;border-left:4px solid #cf3442;border-radius:7px;background:#fff3f4;color:#9e2530;font-size:12px;font-weight:750;line-height:1.45}
.clinessy-public-login-error>.dashicons{width:18px;height:18px;flex:0 0 18px;margin-top:1px;color:#cf3442;font-size:18px;line-height:18px}
.clinessy-public-login form{display:grid;gap:14px;margin:0}
.clinessy-public-login form p{margin:0!important}
.clinessy-public-login label{display:grid;gap:7px;color:#34445a;font-size:13px;font-weight:750}
.clinessy-public-login input[type="text"],.clinessy-public-login input[type="password"]{width:100%!important;min-height:50px!important;box-sizing:border-box!important;border:1px solid #d8e0e7!important;border-radius:8px!important;background:#fff!important;color:#152238!important;font-size:15px!important;box-shadow:none!important}
.clinessy-public-login input[type="text"]:focus,.clinessy-public-login input[type="password"]:focus{border-color:#0d7b6c!important;box-shadow:0 0 0 3px rgba(13,123,108,.12)!important;outline:0!important}
.clinessy-public-login .login-remember label{display:flex;align-items:center;gap:9px;color:#607085;font-weight:650}
.clinessy-public-login input[type="checkbox"]{width:17px;height:17px;margin:0;accent-color:#0d7b6c}
.clinessy-public-login .login-submit{margin-top:4px!important}
.clinessy-public-login .button-primary{display:flex!important;width:100%!important;min-height:52px!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:8px!important;background:#0b684d!important;color:#fff!important;font-size:15px!important;font-weight:850!important;box-shadow:0 12px 26px rgba(11,104,77,.2)!important;cursor:pointer!important}
.clinessy-public-login .button-primary:hover,.clinessy-public-login .button-primary:focus{background:#07543e!important}
.clinessy-public-login-help{display:block;margin-top:18px;color:#0b684d!important;font-size:13px;font-weight:750;text-align:center;text-decoration:none!important}
@media(max-width:960px){.clinessy-public-login{grid-template-columns:1fr}.clinessy-public-login-brand{padding:34px}.clinessy-public-login-identity{margin-bottom:26px}.clinessy-public-login-preview{display:none}.clinessy-public-login-access{padding:36px 20px;border-top:1px solid #e1e7ec;border-left:0}}
@media(max-width:640px){.clinessy-public-login-brand{padding:26px 20px}.clinessy-public-login-access{padding:28px 18px}.clinessy-public-login-logo{width:52px;height:52px}.clinessy-public-login-logo img{width:38px;height:38px}.clinessy-public-login h1{font-size:36px!important}.clinessy-public-login-brand p{font-size:15px!important}.clinessy-public-login-points{margin-top:20px}.clinessy-public-login-card{padding:24px}}

/* Clinessy Core 2.1.3: detalle de cita con color orientativo. */
.appointment-detail-card{width:min(1180px,96vw)!important;border-color:#e3e8ef!important;border-radius:8px!important;background:#fff!important;box-shadow:0 30px 80px rgba(11,18,36,.30)!important}
.appointment-detail-header{display:none!important}
.appointment-progress{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;padding:26px 86px 24px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important}
.appointment-progress-step{position:relative!important;display:grid!important;justify-items:center!important;gap:7px!important;min-height:112px!important;padding:0!important;border:0!important;background:transparent!important;color:#6e7a8f!important;text-align:center!important;cursor:pointer!important}
.appointment-progress-step:after{content:""!important;position:absolute!important;top:28px!important;left:calc(50% + 36px)!important;width:calc(100% - 72px)!important;border-top:2px dotted #c7d0df!important}
.appointment-progress-step:last-child:after{display:none!important}
.appointment-progress-step>.dashicons{position:relative!important;z-index:2!important;display:grid!important;width:54px!important;height:54px!important;place-items:center!important;border:1px solid #d8e0ec!important;border-radius:50%!important;background:#f7f9fc!important;color:#748198!important;font-size:24px!important;line-height:54px!important;box-shadow:0 8px 18px rgba(20,29,48,.08)!important}
.appointment-step-number{position:absolute!important;z-index:3!important;top:45px!important;left:calc(50% - 42px)!important;display:grid!important;width:22px!important;height:22px!important;place-items:center!important;border-radius:50%!important;background:#768296!important;color:#fff!important;font-size:11px!important;font-weight:900!important;line-height:22px!important}
.appointment-progress-step strong{color:#465269!important;font-size:15px!important;font-weight:850!important;line-height:1.15!important}
.appointment-progress-step small{color:#667287!important;font-size:12px!important;line-height:1.2!important}
.appointment-step-1.is-complete>.dashicons,.appointment-step-1.is-current>.dashicons{border-color:#6b38d7!important;background:#6734d8!important;color:#fff!important}.appointment-step-1.is-complete .appointment-step-number,.appointment-step-1.is-current .appointment-step-number{background:#6734d8!important}.appointment-step-1.is-complete strong,.appointment-step-1.is-current strong{color:#6433d4!important}.appointment-step-1.is-complete:after{border-color:#6b38d7!important;border-top-style:solid!important}
.appointment-step-2.is-complete>.dashicons,.appointment-step-2.is-current>.dashicons{border-color:#0f8f8b!important;background:#0f8f8b!important;color:#fff!important}.appointment-step-2.is-complete .appointment-step-number,.appointment-step-2.is-current .appointment-step-number{background:#0f8f8b!important}.appointment-step-2.is-complete strong,.appointment-step-2.is-current strong{color:#0b706e!important}.appointment-step-2.is-complete:after{border-color:#0f8f8b!important;border-top-style:solid!important}
.appointment-step-3.is-current>.dashicons,.appointment-step-3.is-complete>.dashicons{border-color:#e2a33a!important;background:#fff8e8!important;color:#bf7b16!important}.appointment-step-3.is-current .appointment-step-number,.appointment-step-3.is-complete .appointment-step-number{background:#d78a19!important}.appointment-step-3.is-current strong,.appointment-step-3.is-complete strong{color:#253047!important}.appointment-step-3.is-current:after,.appointment-step-3.is-complete:after{border-color:#d78a19!important}
.appointment-step-4.is-current>.dashicons,.appointment-step-4.is-complete>.dashicons{border-color:#0b684d!important;background:#e9f6f0!important;color:#0b684d!important}.appointment-step-4.is-current .appointment-step-number,.appointment-step-4.is-complete .appointment-step-number{background:#0b684d!important}.appointment-step-4.is-current strong,.appointment-step-4.is-complete strong{color:#0b684d!important}
.appointment-tabs{margin:0 28px!important;border-color:#dfe5ee!important;border-radius:8px 8px 0 0!important;background:#fbfcfe!important;overflow:hidden!important}
.appointment-tabs button{min-height:54px!important;border-right:1px solid #e2e7ef!important;border-bottom:3px solid transparent!important;background:#fbfcfe!important;color:#4f5b70!important;font-size:14px!important;font-weight:850!important}.appointment-tabs button:last-child{border-right:0!important}.appointment-tabs button.is-active{border-bottom-color:#6a35d8!important;background:#f7f2ff!important;color:#6532d0!important}.appointment-tabs .dashicons{color:currentColor!important}
.appointment-tabs-compact{display:grid!important;grid-template-columns:1fr 1fr auto!important;max-width:940px!important}
.appointment-tab-delete{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:150px!important;min-height:54px!important;padding:0 18px!important;border-left:1px solid #f3d2d2!important;border-bottom:3px solid transparent!important;background:#fff7f7!important;color:#b91c1c!important;font-size:14px!important;font-weight:850!important;text-decoration:none!important;white-space:nowrap!important}.appointment-tab-delete:hover,.appointment-tab-delete:focus{background:#fee2e2!important;color:#991b1b!important}
.appointment-detail-form{max-height:calc(94vh - 206px)!important;background:#fff!important}
.appointment-panel{padding:20px 28px!important}
.appointment-payment-alert{display:grid!important;grid-template-columns:46px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;margin:0 0 16px!important;padding:13px 16px!important;border-radius:8px!important;box-shadow:0 10px 24px rgba(25,35,52,.055)!important}
.appointment-payment-alert.is-hidden{display:none!important}
.appointment-payment-alert>.dashicons{display:grid!important;width:42px!important;height:42px!important;place-items:center!important;border-radius:8px!important;font-size:21px!important;line-height:42px!important}
.appointment-payment-alert small,.appointment-payment-alert strong,.appointment-payment-alert p{display:block!important;margin:0!important}
.appointment-payment-alert small{font-size:12px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.appointment-payment-alert strong{margin-top:2px!important;font-size:22px!important;font-weight:900!important;line-height:1.15!important}
.appointment-payment-alert p{margin-top:3px!important;color:#7a5360!important;font-size:12px!important;font-weight:700!important}
.appointment-payment-alert .button{display:inline-flex!important;min-height:38px!important;align-items:center!important;justify-content:center!important;border-radius:8px!important;font-weight:850!important;text-decoration:none!important}
.appointment-payment-alert-unpaid{border:1px solid #ffc5c0!important;background:#fff2f0!important;color:#df433c!important}
.appointment-payment-alert-unpaid>.dashicons{background:#ffe0dd!important;color:#df433c!important}
.appointment-payment-alert-unpaid .button{border-color:#df433c!important;background:#df433c!important;color:#fff!important}
.appointment-payment-alert-partial{border:1px solid #f3d48b!important;background:#fff9e8!important;color:#9c5d0d!important}
.appointment-payment-alert-partial>.dashicons{background:#ffedbf!important;color:#a9630d!important}
.appointment-payment-alert-partial .button{border-color:#a9630d!important;background:#a9630d!important;color:#fff!important}
.appointment-payment-alert-paid{border:1px solid #bfe7d7!important;background:#effaf5!important;color:#0b684d!important}
.appointment-payment-alert-paid>.dashicons{background:#dff4ea!important;color:#0b684d!important}
.appointment-payment-alert-paid .button{border-color:#0b684d!important;background:#0b684d!important;color:#fff!important}
.appointment-summary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important}
.appointment-summary-column{gap:18px!important}
.appointment-summary-card{padding:0!important;overflow:hidden!important;border:1px solid #dfe5ee!important;border-radius:8px!important;background:#fff!important;box-shadow:0 10px 24px rgba(25,35,52,.045)!important}
.appointment-summary-card>header,.appointment-card-title{display:grid!important;visibility:visible!important;opacity:1!important;grid-template-columns:minmax(0,1fr) auto 40px!important;align-items:center!important;gap:12px!important;margin:0!important;padding:18px 22px!important;border-bottom:1px solid #e6ebf2!important;color:#17493f!important}
.appointment-summary-card>header>div,.appointment-card-title>div{display:flex!important;visibility:visible!important;align-items:center!important;gap:10px!important;min-width:0!important}
.appointment-summary-card>header .dashicons,.appointment-card-title .dashicons{display:grid!important;width:28px!important;height:28px!important;place-items:center!important;border-radius:8px!important;background:#e7f5ef!important;color:#0b684d!important;font-size:18px!important;line-height:28px!important}
.appointment-summary-card h3{margin:0!important;color:#183d35!important;font-size:20px!important;font-weight:850!important;line-height:1.2!important;letter-spacing:0!important}
.appointment-card-client>header,.appointment-card-client>.appointment-card-title{background:#fbf7ff!important}.appointment-card-client>header .dashicons,.appointment-card-client>.appointment-card-title .dashicons{background:#f0e8ff!important;color:#6734d8!important}
.appointment-card-attention>header,.appointment-card-attention>.appointment-card-title{background:#f3fcfa!important}.appointment-card-attention>header .dashicons,.appointment-card-attention>.appointment-card-title .dashicons{background:#dff6f1!important;color:#0f817d!important}
.appointment-card-status>header,.appointment-card-status>.appointment-card-title{background:#f5fbfa!important}.appointment-card-status>header .dashicons,.appointment-card-status>.appointment-card-title .dashicons{background:#dff6ef!important;color:#0b684d!important}
.appointment-card-comment>header,.appointment-card-comment>.appointment-card-title{background:#f7fbff!important}.appointment-card-comment>header .dashicons,.appointment-card-comment>.appointment-card-title .dashicons{background:#e4f0ff!important;color:#1f63b7!important}
.appointment-chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:0 13px!important;border:1px solid transparent!important;border-radius:999px!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important}
.chip-purple{border-color:#dbcafb!important;background:#f4edff!important;color:#6734d8!important}.chip-teal{border-color:#c3ece7!important;background:#e9faf7!important;color:#087c73!important}.chip-blue{border-color:#cbe0ff!important;background:#edf5ff!important;color:#1d62b0!important}
.appointment-inline-edit{display:grid!important;width:36px!important;height:36px!important;place-items:center!important;border:1px solid #d6dee8!important;border-radius:8px!important;background:#f8fafc!important;color:#111827!important;box-shadow:0 4px 10px rgba(15,23,42,.04)!important}.appointment-inline-edit .dashicons{width:17px!important;height:17px!important;background:transparent!important;color:#111827!important;font-size:17px!important;line-height:17px!important}
.appointment-summary-card dl{display:grid!important;gap:0!important;margin:0!important;padding:16px 22px 20px!important}
.appointment-summary-card dl>div{grid-template-columns:150px minmax(0,1fr) 26px!important;min-height:38px!important;border-top:0!important}.appointment-summary-card dt{color:#657287!important;font-size:13px!important;font-weight:700!important}.appointment-summary-card dd{color:#172033!important;font-size:14px!important;font-weight:750!important;line-height:1.35!important}
.appointment-highlight-row{margin:4px -8px!important;padding:9px 8px!important;border-radius:8px!important;background:#e8f8f6!important}.appointment-highlight-row dt,.appointment-highlight-row dd{color:#075f5b!important}.appointment-highlight-row>.dashicons{display:grid!important;width:22px!important;height:22px!important;place-items:center!important;border-radius:50%!important;background:#cff1ec!important;color:#0c8580!important;font-size:14px!important;line-height:22px!important}
.appointment-status-field{display:grid!important;gap:10px!important;padding:16px 22px 20px!important;color:#26374d!important;font-weight:800!important}.appointment-status-field select{width:100%!important;min-height:46px!important;border:1px solid #d5dee9!important;border-radius:8px!important;background:#fff!important;color:#172033!important;font-size:14px!important;font-weight:800!important}
.appointment-comment{min-height:52px!important;margin:0!important;padding:22px!important;color:#243145!important;font-size:14px!important}
.appointment-detail-actions{position:sticky!important;bottom:0!important;z-index:4!important;display:grid!important;grid-template-columns:minmax(280px,1fr) auto auto auto auto!important;align-items:center!important;gap:12px!important;margin-top:auto!important;padding:12px 28px!important;border-top:1px solid #e2e8f0!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(8px)!important}
.appointment-payment-strip{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;margin:0!important;padding:10px 12px!important;border-radius:8px!important}
.appointment-payment-strip>.dashicons{display:grid!important;width:38px!important;height:38px!important;place-items:center!important;border-radius:8px!important;font-size:19px!important;line-height:38px!important}
.appointment-payment-strip small,.appointment-payment-strip strong{display:block!important}.appointment-payment-strip small{color:#6d7788!important;font-size:12px!important}.appointment-payment-strip strong{font-size:16px!important;line-height:1.25!important}
.appointment-payment-unpaid{border:1px solid #ffc9c4!important;background:#fff1ef!important;color:#ef5148!important}.appointment-payment-unpaid>.dashicons{background:#ffe1de!important;color:#ef5148!important}.appointment-payment-unpaid .button{border-color:#ef5148!important;background:#fff!important;color:#ef5148!important}
.appointment-payment-partial{border:1px solid #f6d895!important;background:#fff9ea!important;color:#a9630d!important}.appointment-payment-partial>.dashicons{background:#ffefc8!important;color:#b77213!important}.appointment-payment-partial .button{border-color:#d28a1c!important;background:#fff!important;color:#a9630d!important}
.appointment-payment-paid{border:1px solid #bfe7d7!important;background:#effaf5!important;color:#0b684d!important}.appointment-payment-paid>.dashicons{background:#dff4ea!important;color:#0b684d!important}.appointment-payment-paid .button{border-color:#0b684d!important;background:#fff!important;color:#0b684d!important}
.appointment-detail-actions .appointment-save{min-width:190px!important;min-height:48px!important;justify-content:center!important;border-color:#07543e!important;border-radius:8px!important;background:#07543e!important;color:#fff!important;font-weight:850!important;box-shadow:0 12px 24px rgba(7,84,62,.20)!important}.appointment-detail-actions>.button:not(.appointment-save),.appointment-more-actions>summary{min-height:40px!important;border-color:#d8e0ea!important;border-radius:8px!important;background:#fff!important;color:#4f5b70!important}.appointment-delete-link{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:40px!important;border-color:#fecaca!important;background:#fff7f7!important;color:#b91c1c!important;font-weight:850!important;text-decoration:none!important}.appointment-delete-link:hover,.appointment-delete-link:focus{border-color:#ef4444!important;background:#fee2e2!important;color:#991b1b!important}
@media(max-width:780px){.appointment-progress{padding:18px 14px 12px!important}.appointment-progress-step{min-height:88px!important}.appointment-progress-step>.dashicons{width:42px!important;height:42px!important;font-size:20px!important;line-height:42px!important}.appointment-step-number{top:35px!important;left:calc(50% - 32px)!important}.appointment-progress-step:after{top:22px!important;left:calc(50% + 28px)!important;width:calc(100% - 56px)!important}.appointment-tabs-compact{max-width:none!important}.appointment-payment-alert{grid-template-columns:38px minmax(0,1fr)!important}.appointment-payment-alert .button{grid-column:1/-1!important}.appointment-summary-grid{grid-template-columns:1fr!important}.appointment-summary-card>header,.appointment-card-title{grid-template-columns:minmax(0,1fr) auto 36px!important;padding:14px!important}.appointment-summary-card h3{font-size:17px!important}.appointment-summary-card dl{padding:12px 14px 16px!important}.appointment-summary-card dl>div{grid-template-columns:104px minmax(0,1fr) 22px!important}.appointment-detail-actions{grid-template-columns:1fr!important;padding:12px!important}.appointment-payment-strip{grid-template-columns:38px minmax(0,1fr)!important}.appointment-payment-strip .button{grid-column:1/-1!important}.appointment-detail-actions .appointment-save{width:100%!important}}

/* Clinessy Core 2.1.5: boton Hoy integrado al selector de fecha. */
.agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation{
  position:relative!important;
  overflow:hidden!important;
  gap:0!important;
  min-width:326px!important;
  padding:0!important;
  border:1px solid #dfe7e5!important;
  border-top:3px solid #1c9a8e!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 8px 18px rgba(20,31,44,.055)!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation input{
  height:44px!important;
  cursor:pointer!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation .agenda-arrow{
  height:44px!important;
  min-height:44px!important;
  border-radius:0!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-today{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  flex:0 0 112px!important;
  height:44px!important;
  min-height:44px!important;
  width:112px!important;
  min-width:112px!important;
  padding:0 18px!important;
  border:0!important;
  border-left:1px solid rgba(255,255,255,.22)!important;
  border-radius:0 8px 8px 0!important;
  background:#238f86!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 9px 18px rgba(35,143,134,.20)!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-today .dashicons{
  width:17px!important;
  height:17px!important;
  color:#fff!important;
  font-size:17px!important;
  line-height:17px!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-today:hover,
.agenda-page-modern .agenda-toolbar-v3 .agenda-today:focus{
  background:#0f766e!important;
  color:#fff!important;
  outline:2px solid rgba(35,143,134,.18)!important;
  outline-offset:2px!important;
}
body.clinessy-dark .agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation{
  border-color:#2d4b51!important;
  border-top-color:#32c8bb!important;
  background:#172238!important;
}
body.clinessy-dark .agenda-page-modern .agenda-toolbar-v3 .agenda-today{
  background:#129185!important;
  color:#fff!important;
}
@media(max-width:900px){
  .agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation{
    min-width:0!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-today{
    flex:0 0 88px!important;
    width:88px!important;
    min-width:82px!important;
    padding:0 14px!important;
  }
}

/* Clinessy Core 2.1.6: panel derecho de agenda replegable. */
.agenda-page-modern .agenda-workspace-v4{
  transition:grid-template-columns .22s ease,gap .22s ease!important;
}
.agenda-page-modern .agenda-side-panel-v4{
  transition:transform .22s ease,opacity .18s ease,width .22s ease!important;
}
.agenda-page-modern .agenda-side-collapse-toggle{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #e3ddee!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#6530d5!important;
  box-shadow:0 8px 18px rgba(35,25,70,.055)!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.agenda-page-modern .agenda-side-collapse-toggle .dashicons{
  width:17px!important;
  height:17px!important;
  font-size:17px!important;
  line-height:17px!important;
}
.agenda-page-modern .agenda-side-collapse-toggle:hover,
.agenda-page-modern .agenda-side-collapse-toggle:focus{
  border-color:#cdbef4!important;
  background:#f7f2ff!important;
  outline:2px solid rgba(112,64,228,.14)!important;
  outline-offset:2px!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed{
  grid-template-columns:minmax(0,1fr) 54px!important;
  gap:10px!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-panel-v4{
  align-self:stretch!important;
  min-width:54px!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-panel-v4 .clinessy-card{
  display:none!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle{
  position:sticky!important;
  top:14px!important;
  width:54px!important;
  min-height:148px!important;
  padding:10px 0!important;
  border-color:#c9efeb!important;
  background:#eefbf9!important;
  color:#167c74!important;
  writing-mode:vertical-rl!important;
  text-orientation:mixed!important;
  box-shadow:0 12px 24px rgba(22,124,116,.11)!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle .dashicons{
  transform:rotate(180deg)!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle strong{
  font-size:11px!important;
  line-height:1!important;
}
body.clinessy-dark .agenda-page-modern .agenda-side-collapse-toggle{
  border-color:#344057!important;
  background:#172033!important;
  color:#c4b1ff!important;
}
body.clinessy-dark .agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle{
  border-color:#245c59!important;
  background:#122c2d!important;
  color:#76e0d7!important;
}
@media(max-width:1050px){
  .agenda-page-modern .agenda-side-collapse-toggle{display:none!important}
  .agenda-page-modern .agenda-workspace-v4.is-side-collapsed{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  .agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-panel-v4 .clinessy-card{
    display:block!important;
  }
}

/* Clinessy Core 2.1.7: segmentos superiores mas compactos. */
.agenda-page-modern .agenda-toolbar-v3{
  gap:10px!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment,
.agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment{
  padding:2px!important;
  gap:2px!important;
  border-radius:9px!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment .button,
.agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment .button{
  height:36px!important;
  min-height:36px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:13px!important;
  line-height:1!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment .button{
  min-width:68px!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment .button{
  min-width:88px!important;
}
@media(max-width:1250px){
  .agenda-page-modern .agenda-toolbar-v3{
    grid-template-columns:minmax(248px,1.3fr) minmax(144px,.72fr) minmax(178px,.82fr) minmax(185px,1fr) auto auto!important;
  }
}
@media(max-width:900px){
  .agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment .button,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment .button{
    min-width:0!important;
    font-size:13px!important;
  }
}

/* Clinessy Core 2.1.8: evita que Nueva reserva salga del margen. */
.agenda-page-modern .agenda-control-panel{
  overflow:hidden!important;
}
.agenda-page-modern .agenda-toolbar-v3{
  display:grid!important;
  grid-template-columns:minmax(300px,1.18fr) minmax(144px,.54fr) minmax(178px,.66fr) minmax(190px,.78fr) minmax(128px,auto) minmax(166px,176px)!important;
  align-items:center!important;
  gap:9px!important;
  max-width:100%!important;
}
.agenda-page-modern .agenda-toolbar-v3>*{
  min-width:0!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover{
  margin-left:0!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover summary{
  width:100%!important;
  padding:0 13px!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{
  width:100%!important;
  min-width:0!important;
  max-width:176px!important;
  padding:0 14px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:1380px){
  .agenda-page-modern .agenda-toolbar-v3{
    grid-template-columns:minmax(280px,1.12fr) minmax(138px,.5fr) minmax(170px,.62fr) minmax(178px,.74fr) minmax(118px,auto) minmax(156px,166px)!important;
    gap:8px!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{
    max-width:166px!important;
    padding:0 12px!important;
  }
}
@media(max-width:1250px){
  .agenda-page-modern .agenda-toolbar-v3{
    grid-template-columns:minmax(248px,1.3fr) minmax(144px,.72fr) minmax(178px,.82fr) minmax(185px,1fr) minmax(118px,auto) minmax(150px,160px)!important;
  }
}
@media(max-width:900px){
  .agenda-page-modern .agenda-control-panel{
    overflow:visible!important;
  }
  .agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{
    max-width:none!important;
  }
}

/* Clinessy Core 2.1.9: marca superior limpia sin version visible. */
.clinessy-sidebar .clinessy-sidebar-brand{
  grid-template-columns:38px minmax(0,1fr)!important;
  gap:11px!important;
  min-height:52px!important;
  margin-bottom:17px!important;
  padding:0 44px 0 2px!important;
}
.clinessy-sidebar .clinessy-sidebar-mark{
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.06))!important;
}
.clinessy-sidebar .clinessy-sidebar-mark img{
  width:27px!important;
  height:27px!important;
}
.clinessy-sidebar .clinessy-sidebar-brand strong{
  font-size:18px!important;
  line-height:1.05!important;
  letter-spacing:-.01em!important;
  white-space:nowrap!important;
}
.clinessy-sidebar .clinessy-sidebar-brand span{
  margin-top:6px!important;
  color:rgba(255,255,255,.68)!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.clinessy-sidebar .clinessy-sidebar-brand span:before{
  background:#21d19f!important;
  box-shadow:0 0 0 3px rgba(33,209,159,.14)!important;
}
.clinessy-sidebar .clinessy-sidebar-brand em{
  display:none!important;
}
.clinessy-app.clinessy-sidebar-collapsed .clinessy-sidebar-brand{
  grid-template-columns:38px!important;
  justify-content:center!important;
  padding:0!important;
}

/* Clinessy Core 2.1.10: sin chips Pendiente en resumen de cita. */
.appointment-card-client>.appointment-card-title,
.appointment-card-attention>.appointment-card-title{
  grid-template-columns:minmax(0,1fr) 40px!important;
}
.appointment-card-status>.appointment-card-title{
  grid-template-columns:minmax(0,1fr)!important;
}
@media(max-width:780px){
  .appointment-card-client>.appointment-card-title,
  .appointment-card-attention>.appointment-card-title{
    grid-template-columns:minmax(0,1fr) 36px!important;
  }
  .appointment-card-status>.appointment-card-title{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* Clinessy Core 2.1.11: ventas con formulario y resumen tipo mockup web. */
.sales-modern-screen{
  display:grid!important;
  gap:16px!important;
  color:#1f2937!important;
}
.sales-modern-form{
  display:block!important;
  margin:0!important;
}
.clinessy-sale-success-screen{
  min-height:520px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:34px 16px!important;
  position:relative!important;
  overflow:hidden!important;
}
.clinessy-sale-success-screen:before,
.clinessy-sale-success-screen:after{
  content:""!important;
  position:absolute!important;
  width:260px!important;
  height:260px!important;
  border-radius:50%!important;
  border:1px solid rgba(11,107,77,.08)!important;
  pointer-events:none!important;
}
.clinessy-sale-success-screen:before{
  left:-110px!important;
  bottom:35px!important;
}
.clinessy-sale-success-screen:after{
  right:-110px!important;
  top:80px!important;
}
.clinessy-sale-receipt{
  width:min(610px,100%)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  padding:28px 34px 30px!important;
  border:1px solid #edf1f4!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 24px 58px rgba(15,23,42,.11)!important;
  color:#163d31!important;
  position:relative!important;
  z-index:1!important;
}
.clinessy-sale-receipt:before,
.clinessy-sale-receipt:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  height:12px!important;
  background:radial-gradient(circle at 8px 6px, transparent 6px, #fff 6.5px) repeat-x!important;
  background-size:16px 12px!important;
}
.clinessy-sale-receipt:before{
  top:-7px!important;
}
.clinessy-sale-receipt:after{
  bottom:-7px!important;
  transform:rotate(180deg)!important;
}
.clinessy-sale-receipt-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:190px!important;
  margin:10px 0 20px!important;
  padding:28px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#edf9f2 0%,#dff2e7 100%)!important;
  text-align:center!important;
}
.clinessy-sale-success-icon{
  width:78px!important;
  height:78px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-bottom:20px!important;
  background:linear-gradient(135deg,#3dbb65,#167d46)!important;
  color:#fff!important;
  box-shadow:0 14px 30px rgba(22,125,70,.24)!important;
}
.clinessy-sale-success-icon .dashicons{
  font-size:43px!important;
  width:43px!important;
  height:43px!important;
}
.clinessy-sale-receipt-head strong{
  display:block!important;
  margin:0!important;
  font-size:28px!important;
  line-height:1.15!important;
  font-weight:950!important;
  color:#07563d!important;
  letter-spacing:0!important;
}
.clinessy-sale-receipt-lines{
  margin:0!important;
  padding:0 0 18px!important;
  border-bottom:1px solid #e8edf1!important;
}
.clinessy-sale-receipt-lines div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(140px,auto)!important;
  gap:18px!important;
  align-items:center!important;
  padding:15px 6px!important;
  border-bottom:1px dashed #e1e8ee!important;
}
.clinessy-sale-receipt-lines div:last-child{
  border-bottom:0!important;
}
.clinessy-sale-receipt-lines dt,
.clinessy-sale-receipt-lines dd{
  margin:0!important;
  font-size:15px!important;
  font-weight:850!important;
}
.clinessy-sale-receipt-lines dt{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:#667085!important;
}
.clinessy-sale-receipt-lines dt .dashicons{
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#eaf7ef!important;
  color:#0b7b50!important;
  font-size:20px!important;
}
.clinessy-sale-receipt-lines dd{
  color:#111827!important;
  text-align:right!important;
  font-weight:950!important;
}
.clinessy-sale-success-actions{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  margin:20px 0 16px!important;
}
.clinessy-sale-success-actions .button{
  min-height:50px!important;
  width:100%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:0 22px!important;
  border-radius:12px!important;
  font-weight:950!important;
  text-decoration:none!important;
}
.clinessy-sale-success-actions .button-primary{
  background:#07563d!important;
  border-color:#07563d!important;
  color:#fff!important;
  box-shadow:0 12px 24px rgba(7,86,61,.18)!important;
}
.clinessy-sale-detail-link{
  align-self:center!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#7c3aed!important;
  font-size:13px!important;
  font-weight:900!important;
  text-decoration:none!important;
  border-bottom:1px dashed rgba(124,58,237,.38)!important;
}
.clinessy-sale-detail-link .dashicons{
  font-size:16px!important;
  width:16px!important;
  height:16px!important;
}
.sales-workspace{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr)!important;
  gap:16px!important;
  align-items:start!important;
}
.sales-entry-card,
.sales-summary-card,
.sales-recent-card,
.sales-kpi-row article{
  border:1px solid #e2d4bd!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 16px 38px rgba(42,31,16,.055)!important;
}
.clinessy-sale-entry.sales-entry-card{
  max-width:none!important;
  margin:0!important;
  padding:18px!important;
}
.sales-summary-card{
  position:sticky!important;
  top:16px!important;
  padding:18px!important;
}
.sales-card-title{
  display:flex!important;
  align-items:flex-start!important;
  gap:14px!important;
  padding-bottom:14px!important;
  margin-bottom:14px!important;
  border-bottom:1px solid #efe6d6!important;
}
.sales-card-title>.dashicons{
  width:40px!important;
  height:40px!important;
  border-radius:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#e9f8ef!important;
  color:#07563d!important;
  font-size:22px!important;
}
.sales-card-title h2{
  margin:0 0 7px!important;
  font-size:19px!important;
  line-height:1.15!important;
  color:#172033!important;
  letter-spacing:0!important;
}
.sales-card-title p{
  margin:0!important;
  color:#718097!important;
  font-size:14px!important;
  font-weight:750!important;
}
.sales-form-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:13px!important;
}
.sales-context-banner{
  display:grid!important;
  grid-template-columns:38px minmax(0,auto) 1fr!important;
  align-items:center!important;
  gap:10px!important;
  padding:12px 14px!important;
  border:1px solid #bfe9dc!important;
  border-radius:12px!important;
  background:#f0fffa!important;
  color:#0a684f!important;
}
.sales-context-banner .dashicons{
  display:grid!important;
  width:34px!important;
  height:34px!important;
  place-items:center!important;
  border-radius:10px!important;
  background:#dcf7ed!important;
  color:#08765a!important;
}
.sales-context-banner strong{
  font-size:13px!important;
  font-weight:950!important;
}
.sales-context-banner small{
  color:#567269!important;
  font-size:12px!important;
  font-weight:800!important;
}
.sales-step{
  display:grid!important;
  gap:10px!important;
  padding:12px 14px!important;
  border:1px solid #ece4d7!important;
  border-radius:13px!important;
  background:#fffefb!important;
}
.sales-step>header{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-height:34px!important;
  padding:0 0 9px!important;
  border-bottom:1px solid #f1eadf!important;
  visibility:visible!important;
  opacity:1!important;
}
.sales-step>header b{
  display:grid!important;
  width:28px!important;
  height:28px!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#0b6b4d!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important;
  flex:0 0 28px!important;
}
.sales-step>header strong,
.sales-step>header small{
  display:block!important;
}
.sales-step>header strong{
  color:#163d31!important;
  font-size:14px!important;
  line-height:1.1!important;
}
.sales-step>header small{
  margin-top:2px!important;
  color:#7a8291!important;
  font-size:11px!important;
  font-weight:750!important;
}
.sales-step-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:11px!important;
}
.sales-step-grid.is-three{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.sales-form-grid label{
  display:block!important;
  margin:0!important;
  min-width:0!important;
  color:#234238!important;
  font-size:13px!important;
  font-weight:900!important;
}
.sales-form-grid [data-sales-catalog-field][hidden],
.sales-form-grid [data-sales-manual-field][hidden],
.sales-form-grid [data-sales-custom-pack][hidden],
.sales-form-grid [data-sales-gift-card][hidden]{
  display:none!important;
}
.sales-form-grid label>span,
.sales-notes-disclosure label>span{
  display:block!important;
  margin-bottom:7px!important;
}
.sales-form-grid input,
.sales-form-grid select,
.sales-form-grid textarea,
.sales-notes-disclosure textarea{
  width:100%!important;
  min-height:42px!important;
  margin:0!important;
  padding:9px 12px!important;
  border:1px solid #cbb99a!important;
  border-radius:10px!important;
  background:#fffdf9!important;
  color:#171f2d!important;
  font-size:14px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
.sales-form-grid input:focus,
.sales-form-grid select:focus,
.sales-form-grid textarea:focus,
.sales-notes-disclosure textarea:focus{
  border-color:#0b6b4d!important;
  box-shadow:0 0 0 3px rgba(11,107,77,.12)!important;
  outline:none!important;
}
.sales-full{
  grid-column:1/-1!important;
}
.sales-form-grid .clinessy-split-button{
  width:max-content!important;
  max-width:100%!important;
  padding:0!important;
  border-radius:10px!important;
  background:transparent!important;
  border:0!important;
}
.sales-form-grid .clinessy-split-button input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.sales-form-grid .clinessy-split-button span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:38px!important;
  padding:0 14px!important;
  border-radius:10px!important;
  background:#f3fbf7!important;
  border:1px solid #bfe9dc!important;
  color:#0b6b4d!important;
  font-size:13px!important;
  font-weight:950!important;
  box-shadow:none!important;
}
.sales-form-grid .clinessy-split-button span:before{
  content:"+"!important;
  margin-right:8px!important;
  font-size:17px!important;
  line-height:1!important;
}
.sales-form-grid .clinessy-split-button input:checked + span{
  background:#0b6b4d!important;
  border-color:#0b6b4d!important;
  color:#fff!important;
}
.sales-form-grid .clinessy-split-button input:checked + span:before{
  content:"−"!important;
}
.clinessy-split-payment-box.sales-full{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  padding:14px!important;
  border:1px solid #d7eade!important;
  border-radius:12px!important;
  background:#f7fffa!important;
}
.clinessy-split-payment-box .full{
  grid-column:1/-1!important;
}
.sales-mode-chooser{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
.sales-mode-chooser label{
  display:block!important;
  margin:0!important;
  cursor:pointer!important;
}
.sales-mode-chooser input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.sales-mode-chooser span{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-height:74px!important;
  padding:12px 14px!important;
  border:1px solid #d7e1db!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#183127!important;
  box-sizing:border-box!important;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.sales-mode-chooser i{
  display:grid!important;
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#edf7f1!important;
  color:#08765a!important;
  font-size:22px!important;
}
.sales-mode-chooser b,
.sales-mode-chooser small{
  display:block!important;
}
.sales-mode-chooser b{
  color:#152034!important;
  font-size:14px!important;
  font-weight:950!important;
}
.sales-mode-chooser small{
  margin-top:2px!important;
  color:#6c7585!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:750!important;
}
.sales-mode-chooser input:checked + span{
  border-color:#0b8a68!important;
  background:#f0fff8!important;
  box-shadow:0 0 0 3px rgba(11,138,104,.12)!important;
}
.sales-mode-chooser input:checked + span i{
  background:#0b8a68!important;
  color:#fff!important;
}
.sales-mode-chooser label:nth-child(3) input:checked + span{
  border-color:#7c3aed!important;
  background:#f7f1ff!important;
  box-shadow:0 0 0 3px rgba(124,58,237,.12)!important;
}
.sales-mode-chooser label:nth-child(3) input:checked + span i{
  background:#7c3aed!important;
  color:#fff!important;
}
.sales-mode-chooser label:nth-child(4) input:checked + span{
  border-color:#0b8a68!important;
  background:#effdf7!important;
  box-shadow:0 0 0 3px rgba(11,138,104,.12)!important;
}
.sales-mode-chooser label:nth-child(4) input:checked + span i{
  background:#0b8a68!important;
  color:#fff!important;
}
@media(max-width:1200px){
  .sales-mode-chooser{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:900px){
  .sales-mode-chooser{
    grid-template-columns:1fr!important;
  }
}
.sales-custom-pack,
.sales-gift-card{
  display:grid!important;
  gap:12px!important;
  padding:14px!important;
  border:1px solid #bfe9dc!important;
  border-radius:12px!important;
  background:#f3fffa!important;
}
.sales-custom-pack[hidden],
.sales-gift-card[hidden]{
  display:none!important;
}
.sales-custom-pack-head,
.sales-gift-card-head{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
}
.sales-custom-pack-head>.dashicons,
.sales-gift-card-head>.dashicons{
  display:grid!important;
  width:38px!important;
  height:38px!important;
  place-items:center!important;
  border-radius:11px!important;
  background:#ddf8eb!important;
  color:#08765a!important;
  font-size:21px!important;
}
.sales-custom-pack-head strong,
.sales-custom-pack-head small,
.sales-gift-card-head strong,
.sales-gift-card-head small{
  display:block!important;
}
.sales-custom-pack-head strong,
.sales-gift-card-head strong{
  color:#0f684f!important;
  font-size:14px!important;
  font-weight:950!important;
}
.sales-custom-pack-head small,
.sales-gift-card-head small{
  margin-top:2px!important;
  color:#5f746c!important;
  font-size:11px!important;
  font-weight:750!important;
}
.sales-custom-pack-zones{
  display:grid!important;
  gap:8px!important;
  padding-top:2px!important;
}
.sales-custom-pack-zones>strong{
  color:#163d31!important;
  font-size:13px!important;
}
.sales-custom-pack-zones>div{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.sales-custom-pack-zones label{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
  padding:0 10px!important;
  border:1px solid #d7eade!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#435248!important;
  cursor:pointer!important;
}
.sales-custom-pack-zones input{
  width:auto!important;
  min-height:auto!important;
  margin:0 8px 0 0!important;
  padding:0!important;
}
.sales-custom-pack-zones label:has(input:checked){
  border-color:#0b8a68!important;
  background:#ebfbf4!important;
  color:#07684e!important;
}
.sales-custom-pack-main{grid-template-columns:minmax(0,1.5fr) minmax(220px,.5fr)!important}
.sales-custom-pack-zones>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.sales-custom-pack-zone{display:grid!important;grid-template-columns:minmax(0,1fr) 118px!important;align-items:stretch!important;border:1px solid #d7eade!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important;transition:border-color .18s,background .18s!important}
.sales-custom-pack-zone.is-selected{border-color:#0b8a68!important;background:#ebfbf4!important}
.sales-custom-pack-zone .sales-custom-pack-zone-choice{min-height:54px!important;border:0!important;border-radius:0!important;background:transparent!important}
.sales-custom-pack-zone .sales-custom-pack-zone-sessions{display:grid!important;grid-template-columns:1fr!important;gap:3px!important;align-content:center!important;min-height:54px!important;padding:6px 9px!important;border:0!important;border-left:1px solid #d7eade!important;border-radius:0!important;background:#f8fbf9!important;cursor:default!important}
.sales-custom-pack-zone.is-selected .sales-custom-pack-zone-sessions{border-left-color:#b8ddca!important;background:#f5fffa!important}
.sales-custom-pack-zone-sessions>span{font-size:9px!important;font-weight:850!important;text-transform:uppercase!important;color:#69786f!important}
.sales-custom-pack-zone-sessions input{width:100%!important;min-height:30px!important;margin:0!important;padding:4px 7px!important;border:1px solid #cbd8d0!important;border-radius:7px!important;background:#fff!important;color:#173d31!important;font-weight:850!important}
.sales-custom-pack-zone-sessions input:disabled{background:#eef2ef!important;color:#9aa39d!important;cursor:not-allowed!important}
@media(max-width:760px){.sales-custom-pack-main,.sales-custom-pack-zones>div{grid-template-columns:1fr!important}.sales-custom-pack-zone{grid-template-columns:minmax(0,1fr) 108px!important}}
.sales-notes-disclosure{
  border:1px solid #eee6da!important;
  border-radius:12px!important;
  background:#fffdf9!important;
  overflow:hidden!important;
}
.sales-notes-disclosure summary{
  cursor:pointer!important;
  padding:12px 14px!important;
  color:#345246!important;
  font-size:14px!important;
  font-weight:950!important;
}
.sales-notes-disclosure label{
  display:block!important;
  padding:0 14px 14px!important;
  margin:0!important;
}
.sales-notes-disclosure textarea{
  min-height:92px!important;
}
.sales-form-footer{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  padding-top:12px!important;
  border-top:1px solid #f0e8da!important;
}
.sales-form-footer .button,
.sales-summary-save{
  min-height:42px!important;
  padding:0 22px!important;
  border-radius:11px!important;
  background:#07563d!important;
  border-color:#07563d!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:950!important;
  box-shadow:0 14px 26px rgba(7,86,61,.2)!important;
}
.sales-summary-card dl{
  margin:0!important;
  padding:6px 0 4px!important;
}
.sales-summary-card dl div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(120px,auto)!important;
  gap:12px!important;
  padding:9px 0!important;
  border-bottom:1px solid #f0f0ed!important;
}
.sales-summary-card dt,
.sales-summary-card dd{
  margin:0!important;
  font-size:14px!important;
  font-weight:900!important;
}
.sales-summary-card dt{
  color:#67706a!important;
}
.sales-summary-card dd{
  color:#163d31!important;
  text-align:right!important;
}
.sales-summary-card .sales-summary-total{
  align-items:end!important;
  border-bottom:0!important;
  padding-top:18px!important;
}
.sales-summary-card .sales-summary-total dt{
  color:#172033!important;
  font-size:15px!important;
}
.sales-summary-card .sales-summary-total dd{
  color:#07563d!important;
  font-size:28px!important;
  line-height:1!important;
  letter-spacing:0!important;
}
.sales-summary-note{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:8px 0 12px!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  background:#eef7f1!important;
  color:#557064!important;
  font-size:13px!important;
  font-weight:800!important;
}
.sales-summary-note .dashicons{
  color:#079455!important;
}
.sales-summary-save{
  width:100%!important;
  min-height:48px!important;
  background:#6d28d9!important;
  border-color:#5b21b6!important;
  box-shadow:0 14px 28px rgba(109,40,217,.22)!important;
}
.sales-kpi-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
.sales-kpi-row article{
  position:relative!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:center!important;
  min-height:112px!important;
  padding:18px 20px!important;
  background:linear-gradient(135deg,#ffffff 0%,#fffdf8 58%,#f5fff9 100%)!important;
}
.sales-kpi-row article:after{
  content:""!important;
  position:absolute!important;
  right:-28px!important;
  bottom:-42px!important;
  width:118px!important;
  height:118px!important;
  border-radius:999px!important;
  background:rgba(7,86,61,.055)!important;
}
.sales-kpi-row .sales-kpi-icon{
  position:relative!important;
  z-index:1!important;
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#07563d!important;
  background:#e8f7ef!important;
  box-shadow:inset 0 0 0 1px rgba(7,86,61,.08)!important;
  font-size:23px!important;
}
.sales-kpi-row .sales-kpi-total .sales-kpi-icon{
  color:#8a5b05!important;
  background:#fff3d8!important;
}
.sales-kpi-row .sales-kpi-average .sales-kpi-icon{
  color:#6b35c9!important;
  background:#f0e8ff!important;
}
.sales-kpi-row b,
.sales-kpi-row strong,
.sales-kpi-row small{
  position:relative!important;
  z-index:1!important;
  display:block!important;
}
.sales-kpi-row b{
  color:#526174!important;
  font-size:12px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.sales-kpi-row strong{
  color:#07563d!important;
  font-size:31px!important;
  line-height:1!important;
  margin:7px 0 5px!important;
  letter-spacing:0!important;
}
.sales-kpi-row small{
  color:#78859a!important;
  font-size:12px!important;
  font-weight:850!important;
}
.sales-recent-card{
  padding:18px!important;
}
.sales-table-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:14px!important;
}
.sales-table-head h2{
  margin:0 0 7px!important;
  color:#172033!important;
  font-size:19px!important;
}
.sales-table-head label{
  min-width:300px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:0 12px!important;
  border:1px solid #e1ded8!important;
  border-radius:11px!important;
  background:#fff!important;
}
.sales-table-head input{
  border:0!important;
  box-shadow:none!important;
  outline:none!important;
  width:100%!important;
  min-height:38px!important;
  font-weight:800!important;
}
.sales-recent-card .clinessy-table{
  border-collapse:separate!important;
  border-spacing:0!important;
}
.sales-recent-card .clinessy-table th{
  background:#f8f2e8!important;
  color:#526174!important;
  font-size:12px!important;
  text-transform:uppercase!important;
  letter-spacing:0!important;
}
@media(max-width:1280px){
  .sales-workspace{
    grid-template-columns:1fr!important;
  }
  .sales-summary-card{
    position:static!important;
  }
}
@media(max-width:860px){
  .clinessy-sale-success-screen{min-height:430px!important;padding:22px 8px!important}
  .clinessy-sale-receipt{padding:20px 16px 24px!important}
  .clinessy-sale-receipt-head{min-height:160px!important;padding:22px 16px!important}
  .clinessy-sale-receipt-head strong{font-size:23px!important}
  .clinessy-sale-receipt-lines div{grid-template-columns:1fr!important;gap:7px!important}
  .clinessy-sale-receipt-lines dd{text-align:left!important;padding-left:50px!important}
  .sales-form-grid,
  .sales-step-grid,
  .sales-step-grid.is-three,
  .sales-kpi-row,
  .clinessy-split-payment-box.sales-full{
    grid-template-columns:1fr!important;
  }
  .sales-context-banner{
    grid-template-columns:34px 1fr!important;
  }
  .sales-context-banner small{
    grid-column:2!important;
  }
  .sales-table-head{
    display:block!important;
  }
  .sales-table-head label{
    min-width:0!important;
    margin-top:12px!important;
  }
}

/* Clinessy Core 2.1.13: fondo menta para contrastar mejor la agenda. */
.agenda-page-modern{
  --agenda-cream:#eaf8f4!important;
  --agenda-cream-soft:#fffaf5!important;
  --agenda-line:#c8e2d9!important;
  --agenda-ink:#121827!important;
  background:linear-gradient(180deg,#eefaf7 0%,#e4f4ef 46%,#f4efe6 100%)!important;
  border:1px solid rgba(32,142,116,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;
}
.agenda-page-modern .agenda-control-panel{
  background:rgba(255,255,255,.98)!important;
  border-color:#c4ded6!important;
  box-shadow:0 18px 42px rgba(8,86,67,.09)!important;
}
.agenda-page-modern .agenda-summary-strip{
  background:#fff!important;
  border-color:#c8e2d9!important;
  box-shadow:0 14px 32px rgba(8,86,67,.075)!important;
}
.agenda-page-modern .agenda-day-shell{
  background:#fff!important;
  border-color:#c8e2d9!important;
  box-shadow:0 18px 42px rgba(8,86,67,.08)!important;
}
.agenda-page-modern .agenda-calendar-head-v4{
  background:#fff!important;
  border-color:#ded4c5!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-day-grid{
  background:#fffaf5!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-time-col,
.agenda-page-modern .agenda-workspace-v4 .agenda-time-slot,
.agenda-page-modern .agenda-workspace-v4 .agenda-box-col,
.agenda-page-modern .agenda-workspace-v4 .agenda-col-head{
  border-color:#eadfce!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation,
.agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment,
.agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment,
.agenda-page-modern .agenda-toolbar-v3 .agenda-branch-select,
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover summary{
  background:#fff!important;
  border-color:#dedfdd!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-today{
  background:#0b8170!important;
  border-color:#0b8170!important;
  color:#fff!important;
  box-shadow:0 12px 22px rgba(11,129,112,.2)!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{
  background:#ff615e!important;
  border-color:#ff615e!important;
  box-shadow:0 14px 28px rgba(255,97,94,.24)!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action:hover,
.agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action:focus{
  background:#f25451!important;
  border-color:#f25451!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-col-head{
  background:#fff!important;
}
.agenda-page-modern .agenda-side-panel-v4{
  background:#eefaf7!important;
  border-color:#c8e2d9!important;
}
.agenda-page-modern .agenda-side-panel-v4 .clinessy-card{
  background:#fff!important;
  border-color:#c8e2d9!important;
}
.agenda-box-assignment-panel{
  margin:14px 0!important;
  padding:16px!important;
  border-color:#c8e2d9!important;
  background:#fff!important;
}
.agenda-box-assignment-panel details{
  margin:0;
}
.agenda-box-assignment-panel summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  cursor:pointer;
  list-style:none;
  outline:none;
}
.agenda-box-assignment-panel summary:focus{
  outline:none;
}
.agenda-box-assignment-panel summary:focus-visible{
  outline:2px solid rgba(16,133,96,.35);
  outline-offset:3px;
  border-radius:12px;
}
.agenda-box-assignment-panel summary::-webkit-details-marker{
  display:none;
}
.agenda-box-assignment-panel summary>.dashicons{
  color:#108560;
  transition:transform .18s ease;
}
.agenda-box-assignment-panel details[open] summary>.dashicons{
  transform:rotate(180deg);
}
.agenda-box-assignment-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  flex:0 0 auto;
  min-height:30px;
  padding:5px 10px;
  border-radius:999px;
  background:#108560;
  color:#fff;
  font-size:11px;
  font-weight:850;
  box-shadow:0 8px 18px rgba(16,133,96,.18);
}
.agenda-box-assignment-cta .dashicons{
  width:15px;
  height:15px;
  font-size:15px;
}
.agenda-box-assignment-panel details[open] .agenda-box-assignment-cta{
  background:#e9fbf2;
  color:#106144;
  box-shadow:none;
}
.agenda-box-assignment-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex:1;
  min-width:0;
}
.agenda-box-assignment-head>div{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.agenda-box-assignment-head .dashicons{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:#e8f8f0;
  color:#108560;
}
.agenda-box-assignment-head strong,
.agenda-box-assignment-head small{
  display:block;
}
.agenda-box-assignment-head strong{
  color:#172033;
  font-size:14px;
}
.agenda-box-assignment-head small,
.agenda-box-assignment-head>span{
  color:#6d7485;
  font-size:11px;
}
.agenda-box-assignment-copy{
  margin:10px 0 12px;
  color:#747c8d;
  font-size:11px;
  line-height:1.4;
}
.agenda-box-assignment-form{
  display:grid;
  grid-template-columns:minmax(150px,1.2fr) minmax(180px,1.4fr) 112px 112px auto;
  gap:10px;
  align-items:end;
  margin-bottom:12px;
}
.agenda-box-assignment-form label{
  display:grid;
  gap:5px;
  color:#24483b;
  font-size:11px;
  font-weight:850;
}
.agenda-box-assignment-form select,
.agenda-box-assignment-form input{
  min-height:38px;
  border:1px solid #d8ded9;
  border-radius:9px;
  background:#fff;
}
.agenda-box-assignment-form .button{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:0!important;
  border-radius:10px!important;
  background:#108560!important;
  color:#fff!important;
  box-shadow:0 10px 20px rgba(16,133,96,.18)!important;
  font-weight:850!important;
}
.agenda-box-assignment-list{
  display:grid;
  gap:8px;
}
.agenda-box-assignment-list article{
  display:grid;
  grid-template-columns:140px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:9px 10px;
  border:1px solid #edf1ee;
  border-radius:10px;
  background:#fbfdfc;
}
.agenda-box-assignment-list article>strong{
  color:#172033;
  font-size:12px;
}
.agenda-box-assignment-list article>div{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.agenda-assignment-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 8px;
  border-radius:999px;
  background:#e9fbf2;
  color:#106144;
  font-size:11px;
  font-weight:850;
}
.agenda-assignment-chip small{
  color:#4d836f;
  font-size:10px;
}
.agenda-assignment-chip a{
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#c9f2df;
  color:#0a6848;
  text-decoration:none;
}
.agenda-assignment-empty{
  color:#8a91a2;
  font-size:11px;
}
@media(max-width:900px){
  .agenda-box-assignment-form{grid-template-columns:1fr 1fr}
  .agenda-box-assignment-list article{grid-template-columns:1fr}
}
.agenda-side-panel-v4 .agenda-box-assignment-panel{
  margin:0!important;
  padding:13px!important;
  border-radius:16px!important;
  overflow:hidden;
}
.agenda-side-panel-v4 .agenda-box-assignment-panel summary{
  display:grid;
  grid-template-columns:1fr 24px;
  align-items:start;
  gap:9px;
}
.agenda-side-panel-v4 .agenda-box-assignment-head .dashicons{
  width:30px;
  height:30px;
  border-radius:9px;
}
.agenda-side-panel-v4 .agenda-box-assignment-head,
.agenda-side-panel-v4 .agenda-box-assignment-head>div{
  min-width:0;
}
.agenda-side-panel-v4 .agenda-box-assignment-head>div{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  align-items:start;
  gap:8px;
}
.agenda-side-panel-v4 .agenda-box-assignment-head strong{
  display:block;
  font-size:12px;
  line-height:1.25;
  overflow-wrap:normal;
  word-break:normal;
}
.agenda-side-panel-v4 .agenda-box-assignment-head small,
.agenda-side-panel-v4 .agenda-box-assignment-head>span{
  display:block;
  font-size:10px;
  line-height:1.25;
}
.agenda-side-panel-v4 .agenda-box-assignment-head small{
  white-space:nowrap;
}
.agenda-side-panel-v4 .agenda-box-assignment-panel summary>.dashicons{
  grid-column:2;
  grid-row:1;
  margin-top:3px;
}
.agenda-side-panel-v4 .agenda-box-assignment-form{
  grid-template-columns:1fr;
  gap:8px;
}
.agenda-side-panel-v4 .agenda-box-assignment-form select,
.agenda-side-panel-v4 .agenda-box-assignment-form input,
.agenda-side-panel-v4 .agenda-box-assignment-form .button{
  width:100%;
  min-height:36px;
}
.agenda-side-panel-v4 .agenda-box-assignment-list{
  margin-top:10px;
}
.agenda-side-panel-v4 .agenda-box-assignment-list article{
  grid-template-columns:1fr;
  gap:5px;
  padding:8px;
}
.agenda-side-panel-v4 .agenda-box-assignment-cta{
  grid-column:1 / -1;
  width:100%;
  min-height:34px;
  margin-top:9px;
  padding:6px 10px;
  border-radius:10px;
  font-size:11px;
  box-sizing:border-box;
}
.agenda-side-panel-v4 .agenda-assignment-chip{
  max-width:100%;
}

/* Clinessy Core 2.1.14: usuario superior alineado con salida visible. */
.clinessy-app .clinessy-header-controls .clinessy-user,
.clinessy-header .clinessy-user{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:auto!important;
  min-width:218px!important;
  max-width:270px!important;
  height:42px!important;
  padding:4px 9px 4px 4px!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.clinessy-app .clinessy-header-controls .clinessy-user:before,
.clinessy-header .clinessy-user:before{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
}
.clinessy-app .clinessy-header-controls .clinessy-user:after,
.clinessy-header .clinessy-user:after{
  display:none!important;
}
.clinessy-user .clinessy-user-name{
  min-width:0!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  line-height:1!important;
}
.clinessy-user .clinessy-user-logout{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:0 9px!important;
  border-left:1px solid #e6e2eb!important;
  color:#07543e!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1!important;
  text-decoration:none!important;
}
.clinessy-user .clinessy-user-logout:hover,
.clinessy-user .clinessy-user-logout:focus{
  color:#0a6b50!important;
  text-decoration:underline!important;
}
@media(max-width:1450px){
  .clinessy-app .clinessy-header-controls .clinessy-user,
  .clinessy-header .clinessy-user{
    min-width:198px!important;
    max-width:230px!important;
  }
}
@media(max-width:720px){
  .clinessy-app .clinessy-header-controls .clinessy-user,
  .clinessy-header .clinessy-user{
    width:100%!important;
    max-width:none!important;
  }
}

/* Clinessy Core 2.1.15: vista semanal de agenda mas clara. */
.agenda-page-modern .agenda-week-modern{
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border-color:#c8e2d9!important;
  border-radius:18px!important;
  box-shadow:0 18px 42px rgba(8,86,67,.075)!important;
}
.agenda-page-modern .agenda-week-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  min-height:98px!important;
  padding:22px 24px 16px!important;
  background:#fff!important;
  border-bottom:1px solid #e4ddd2!important;
}
.agenda-page-modern .agenda-week-head h2{
  margin:3px 0 5px!important;
  font-size:22px!important;
  color:#121827!important;
}
.agenda-page-modern .agenda-week-head p{
  margin:0!important;
  color:#738096!important;
  font-weight:850!important;
}
.agenda-page-modern .agenda-week-grid{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(150px,1fr))!important;
  gap:10px!important;
  padding:16px!important;
  overflow-x:auto!important;
  background:linear-gradient(180deg,#fff 0%,#fffaf5 100%)!important;
}
.agenda-page-modern .agenda-week-day{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  min-height:392px!important;
  padding:10px!important;
  border:1px solid #d7e9e2!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 8px 18px rgba(8,86,67,.045)!important;
}
.agenda-page-modern .agenda-week-day.is-today{
  border-color:#0b8170!important;
  box-shadow:0 0 0 3px rgba(11,129,112,.1),0 8px 18px rgba(8,86,67,.055)!important;
}
.agenda-page-modern .agenda-week-day header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-height:48px!important;
  padding:4px 2px 9px!important;
  border-bottom:1px solid #edf1ed!important;
}
.agenda-page-modern .agenda-week-day header strong,
.agenda-page-modern .agenda-week-day header span{
  display:block!important;
}
.agenda-page-modern .agenda-week-day header strong{
  color:#151827!important;
  font-size:14px!important;
  line-height:1.15!important;
}
.agenda-page-modern .agenda-week-day header span{
  margin-top:3px!important;
  color:#7a8497!important;
  font-size:11px!important;
  font-weight:850!important;
}
.agenda-page-modern .agenda-week-day header em{
  flex:0 0 auto!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#eefaf7!important;
  color:#0b6f5f!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.agenda-page-modern .agenda-week-add{
  min-height:36px!important;
  width:100%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px dashed #c8e2d9!important;
  border-radius:12px!important;
  background:#f8fffc!important;
  color:#0b6f5f!important;
  cursor:pointer!important;
  font-size:11px!important;
  font-weight:950!important;
}
.agenda-page-modern .agenda-week-add:hover,
.agenda-page-modern .agenda-week-add:focus{
  border-color:#0b8170!important;
  background:#eefaf7!important;
}
.agenda-page-modern .agenda-week-empty{
  display:grid!important;
  place-items:center!important;
  gap:4px!important;
  min-height:112px!important;
  margin:auto 0!important;
  padding:14px!important;
  border:1px dashed #dce5e0!important;
  border-radius:14px!important;
  background:#fbfffd!important;
  color:#8190a4!important;
  text-align:center!important;
}
.agenda-page-modern .agenda-week-empty .dashicons{
  width:28px!important;
  height:28px!important;
  color:#9aa6b8!important;
  font-size:28px!important;
}
.agenda-page-modern .agenda-week-empty strong{
  color:#657286!important;
  font-size:12px!important;
}
.agenda-page-modern .agenda-week-empty small{
  color:#98a2b3!important;
  font-size:10px!important;
  font-weight:800!important;
}
.agenda-page-modern .agenda-week-day .agenda-event-card{
  margin:0!important;
  min-height:auto!important;
  padding:9px!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
.agenda-page-modern .agenda-week-day .event-time-row small{
  font-size:11px!important;
}
.agenda-page-modern .agenda-week-day .event-service{
  font-size:12px!important;
  line-height:1.25!important;
}
.agenda-page-modern .agenda-week-day .event-client{
  margin-top:5px!important;
}
@media(max-width:1250px){
  .agenda-page-modern .agenda-week-grid{
    grid-template-columns:repeat(7,170px)!important;
  }
}

/* Clinessy Core 2.1.16: semana operativa por box con eje horario. */
.agenda-page-modern .agenda-week-box-view{
  background:#fff!important;
}
.agenda-page-modern .agenda-week-box-tabs{
  display:flex!important;
  gap:8px!important;
  padding:12px 16px!important;
  overflow-x:auto!important;
  border-bottom:1px solid #e5ddd2!important;
  background:#fbfffd!important;
}
.agenda-page-modern .agenda-week-box-tabs a{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:34px!important;
  padding:0 13px!important;
  border:1px solid #d8e6e0!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#536173!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.agenda-page-modern .agenda-week-box-tabs a span{
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  background:#b8c4d1!important;
}
.agenda-page-modern .agenda-week-box-tabs a.is-active{
  border-color:#0b8170!important;
  background:#eaf8f4!important;
  color:#075f52!important;
  box-shadow:0 0 0 3px rgba(11,129,112,.08)!important;
}
.agenda-page-modern .agenda-week-box-tabs a.is-active span{
  background:#0b8170!important;
}
.agenda-page-modern .agenda-week-box-grid{
  display:grid!important;
  grid-template-columns:72px repeat(7,minmax(178px,1fr))!important;
  align-items:start!important;
  padding:16px!important;
  overflow-x:auto!important;
  background:linear-gradient(180deg,#fff 0%,#fffaf5 100%)!important;
}
.agenda-page-modern .agenda-week-time-rail,
.agenda-page-modern .agenda-week-box-day-column{
  min-width:0!important;
}
.agenda-page-modern .agenda-week-grid-head,
.agenda-page-modern .agenda-week-box-day-head{
  position:sticky!important;
  top:0!important;
  z-index:4!important;
  height:58px!important;
  box-sizing:border-box!important;
  border-bottom:1px solid #e7ddd0!important;
  background:linear-gradient(180deg,#effbf8 0%,#f8fffc 100%)!important;
}
.agenda-page-modern .agenda-week-grid-head{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#172033!important;
  font-size:13px!important;
  font-weight:950!important;
  border-right:1px solid #d9ece5!important;
}
.agenda-page-modern .agenda-week-time-slot{
  height:var(--agenda-week-row-height)!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding-top:5px!important;
  border-right:1px solid #e7ddd0!important;
  border-bottom:1px solid #efe7dc!important;
  background:#fffaf2!important;
  color:#6d7788!important;
  font-size:11px!important;
  font-weight:900!important;
}
.agenda-page-modern .agenda-week-box-day-column{
  border-right:1px solid #e7ddd0!important;
  background:#fffdfa!important;
}
.agenda-page-modern .agenda-week-box-day-column.is-today{
  box-shadow:inset 0 0 0 2px rgba(11,129,112,.22)!important;
}
.agenda-page-modern .agenda-week-box-day-column.is-today .agenda-week-box-day-head{
  background:linear-gradient(180deg,#dff7f1 0%,#f1fffb 100%)!important;
}
.agenda-page-modern .agenda-week-box-day-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  padding:9px 11px!important;
  border-left:1px solid #d9ece5!important;
}
.agenda-page-modern .agenda-week-box-day-head strong,
.agenda-page-modern .agenda-week-box-day-head span{
  display:block!important;
}
.agenda-page-modern .agenda-week-box-day-head strong{
  color:#131827!important;
  font-size:14px!important;
  line-height:1.1!important;
}
.agenda-page-modern .agenda-week-box-day-head span{
  margin-top:3px!important;
  color:#7d8799!important;
  font-size:11px!important;
  font-weight:850!important;
}
.agenda-page-modern .agenda-week-box-day-head em{
  flex:0 0 auto!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#f1f5f9!important;
  color:#64748b!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.agenda-page-modern .agenda-week-box-day-column.is-today .agenda-week-box-day-head em{
  background:#e4f7f2!important;
  color:#0b6f5f!important;
}
.agenda-page-modern .agenda-week-box-day-body{
  position:relative!important;
  min-height:calc(var(--agenda-week-slot-count) * var(--agenda-week-row-height))!important;
}
.agenda-page-modern .agenda-week-box-slot{
  display:block!important;
  width:100%!important;
  height:var(--agenda-week-row-height)!important;
  box-sizing:border-box!important;
  border:0!important;
  border-bottom:1px solid #efe7dc!important;
  background:transparent!important;
  color:transparent!important;
  cursor:pointer!important;
}
.agenda-page-modern .agenda-week-box-slot:hover,
.agenda-page-modern .agenda-week-box-slot:focus{
  background:#eaf8f4!important;
  outline:1px solid #93d4c9!important;
  outline-offset:-1px!important;
}
.agenda-page-modern .agenda-week-box-event{
  position:absolute!important;
  z-index:3!important;
  top:var(--agenda-week-event-top)!important;
  left:6px!important;
  right:6px!important;
  height:calc((var(--agenda-week-event-span) * var(--agenda-week-row-height)) - 4px)!important;
  min-height:28px!important;
}
.agenda-page-modern .agenda-week-box-event .agenda-event-card{
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:6px 7px!important;
  border-radius:8px!important;
  box-shadow:0 4px 12px rgba(15,23,42,.08)!important;
}
.agenda-page-modern .agenda-week-box-event .event-time-row small{
  font-size:10px!important;
}
.agenda-page-modern .agenda-week-box-event .event-service{
  font-size:11px!important;
  line-height:1.15!important;
}
.agenda-page-modern .agenda-week-box-event .event-client,
.agenda-page-modern .agenda-week-box-event .event-meta{
  margin-top:3px!important;
}
@media(max-width:1250px){
  .agenda-page-modern .agenda-week-box-grid{
    grid-template-columns:66px repeat(7,188px)!important;
  }
}

/* Clinessy Core 2.1.22: muestra Filtros sobre la barra sin quedar recortado. */
.agenda-page-modern .agenda-topbar.clinessy-card.agenda-control-panel,
.agenda-page-modern .agenda-control-panel,
.agenda-page-modern .agenda-toolbar-v3,
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover{
  overflow:visible!important;
}
.agenda-page-modern .agenda-topbar.clinessy-card.agenda-control-panel,
.agenda-page-modern .agenda-control-panel{
  position:relative!important;
  z-index:100000!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover{
  position:relative!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover[open],
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover.is-open{
  z-index:100010!important;
}
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover[open] > .agenda-filter-fields,
.agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover.is-open > .agenda-filter-fields{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  position:absolute!important;
  top:calc(100% + 10px)!important;
  right:0!important;
  left:auto!important;
  z-index:100020!important;
  width:min(560px,calc(100vw - 48px))!important;
  max-height:70vh!important;
  overflow:auto!important;
  pointer-events:auto!important;
}

/* Clinessy Core 2.1.23: contraste del boton Aplicar filtros. */
.agenda-page-modern .agenda-filter-fields .button-primary{
  color:#fff!important;
}
.agenda-page-modern .agenda-filter-fields .button-primary .dashicons{
  color:#fff!important;
}

/* Clinessy Core 2.1.24: boton claro para volver a desplegar el panel derecho. */
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-panel-v4{
  display:flex!important;
  justify-content:center!important;
  align-items:flex-start!important;
  padding-top:18px!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle{
  display:inline-flex!important;
  position:sticky!important;
  top:96px!important;
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:1px solid #bce5df!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#0b8170!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  box-shadow:0 14px 28px rgba(11,129,112,.18)!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle .dashicons{
  width:22px!important;
  height:22px!important;
  font-size:22px!important;
  line-height:22px!important;
  transform:rotate(180deg)!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle strong{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
}
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle:hover,
.agenda-page-modern .agenda-workspace-v4.is-side-collapsed .agenda-side-collapse-toggle:focus{
  border-color:#0b8170!important;
  background:#eaf8f4!important;
  color:#075f52!important;
  outline:3px solid rgba(11,129,112,.16)!important;
  outline-offset:3px!important;
}

/* Clinessy Core 2.1.37: color principal del boton de catalogo sugerido. */
.services-template-loader{
  position:relative!important;
}
.services-template-loader>summary{
  list-style:none!important;
  cursor:pointer!important;
}
.services-template-loader>summary::-webkit-details-marker{
  display:none!important;
}
.services-template-loader[open] form{
  position:absolute!important;
  z-index:1000!important;
  right:0!important;
  top:52px!important;
  display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr) auto!important;
  gap:16px!important;
  width:min(860px,calc(100vw - 360px))!important;
  max-height:min(620px,calc(100vh - 170px))!important;
  padding:18px!important;
  border:1px solid #e3ddf0!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 24px 60px rgba(24,18,54,.16)!important;
  overflow:auto!important;
}

/* Clinessy Core 2.1.41: los modales de agenda siempre quedan sobre la barra. */
.clinessy-modal.is-open,
.agenda-detail-modal.is-open,
.reservation-quick-modal.is-open{
  z-index:1000000!important;
}
.clinessy-modal.is-open .clinessy-modal-card,
.agenda-detail-modal.is-open .agenda-modal-card,
.reservation-quick-modal.is-open .agenda-modal-card{
  position:relative!important;
  z-index:1000001!important;
}
.service-template-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
}
.service-template-head h3{
  margin:0 0 5px!important;
  color:#14182b!important;
  font-size:20px!important;
  line-height:1.15!important;
}
.service-template-head p{
  margin:0!important;
  color:#747b8f!important;
  font-size:12px!important;
  font-weight:700!important;
}
.service-template-counts{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
}
.service-template-actions{
  display:grid!important;
  justify-items:end!important;
  gap:9px!important;
  flex:0 0 auto!important;
}
.service-template-counts span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:30px!important;
  padding:0 11px!important;
  border:1px solid #e7ddff!important;
  border-radius:999px!important;
  background:#faf7ff!important;
  color:#6530d5!important;
  font-size:11px!important;
  font-weight:850!important;
}
.service-template-actions .button-primary{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-height:44px!important;
  padding:0 18px 0 10px!important;
  border:1px solid rgba(255,255,255,.26)!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#7c2ff2 0%,#e634b8 100%)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
  box-shadow:0 13px 26px rgba(124,47,242,.22),inset 0 1px 0 rgba(255,255,255,.2)!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
.service-template-actions .button-primary .dashicons{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  font-size:18px!important;
  line-height:30px!important;
}
.service-template-actions .button-primary:hover{
  filter:brightness(1.03)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 16px 30px rgba(124,47,242,.26),inset 0 1px 0 rgba(255,255,255,.22)!important;
}
.service-template-actions .button-primary:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:0 8px 18px rgba(124,47,242,.14)!important;
}
.service-template-rubros{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:10px!important;
}
.service-template-rubros label{
  position:relative!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  gap:4px 10px!important;
  min-height:74px!important;
  padding:12px!important;
  border:1px solid #e3deea!important;
  border-radius:12px!important;
  background:#fff!important;
  cursor:pointer!important;
}
.service-template-rubros input{
  position:absolute!important;
  opacity:0!important;
}
.service-template-rubros .dashicons{
  grid-row:1/3!important;
  display:grid!important;
  width:34px!important;
  height:34px!important;
  place-items:center!important;
  border-radius:10px!important;
  background:#f0eaff!important;
  color:#7135e6!important;
}
.service-template-rubros strong,
.service-template-rubros small{
  display:block!important;
}
.service-template-rubros strong{
  color:#171b31!important;
  font-size:12px!important;
}
.service-template-rubros small{
  color:#747b8f!important;
  font-size:10px!important;
  line-height:1.3!important;
}
.service-template-rubros label.is-selected{
  border-color:#7c3aed!important;
  background:#fbf9ff!important;
  box-shadow:0 0 0 2px rgba(124,58,237,.06)!important;
}
.service-template-panels{
  min-height:0!important;
  max-height:min(330px,calc(100vh - 430px))!important;
  padding:14px!important;
  border:1px solid #e8e2f3!important;
  border-radius:14px!important;
  background:#fbf9ff!important;
  overflow:auto!important;
}
.service-template-panels section[hidden]{
  display:none!important;
}
.service-template-panels header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin-bottom:10px!important;
}
.service-template-panels header div{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.service-template-panels header strong{
  color:#171b31!important;
  font-size:14px!important;
}
.service-template-panels header button{
  min-height:30px!important;
  padding:0 10px!important;
  border:1px solid #ddd2f7!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#6530d5!important;
  font-size:11px!important;
  font-weight:850!important;
  cursor:pointer!important;
}
.service-template-group{
  display:grid!important;
  gap:8px!important;
}
.service-template-group+.service-template-group{
  margin-top:14px!important;
  padding-top:12px!important;
  border-top:1px solid #ebe5f5!important;
}
.service-template-group h4{
  margin:0!important;
  color:#5f6678!important;
  font-size:11px!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.service-template-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.service-template-grid label{
  position:relative!important;
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  min-height:58px!important;
  padding:9px 12px!important;
  border:1px solid #e5dff0!important;
  border-radius:10px!important;
  background:#fff!important;
  cursor:pointer!important;
}
.service-template-grid input{
  position:absolute!important;
  opacity:0!important;
}
.service-template-grid .dashicons{
  display:grid!important;
  width:24px!important;
  height:24px!important;
  place-items:center!important;
  border:1px solid #cfc8dd!important;
  border-radius:7px!important;
  color:transparent!important;
  font-size:16px!important;
  line-height:24px!important;
}
.service-template-grid input:checked+.dashicons{
  border-color:#7135e6!important;
  background:#7135e6!important;
  color:#fff!important;
}
.service-template-grid b,
.service-template-grid small{
  display:block!important;
}
.service-template-grid b{
  color:#24293b!important;
  font-size:12px!important;
}
.service-template-grid small{
  margin-top:2px!important;
  color:#747b8f!important;
  font-size:10px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.services-template-loader footer{
  margin:0!important;
  padding:0!important;
  border-top:1px solid #ebe5f5!important;
  background:transparent!important;
}
.services-template-loader footer p{
  margin:10px 0 0!important;
  color:#6f7788!important;
  font-size:11px!important;
}
.services-legacy-cleanup{
  display:grid!important;
  justify-items:end!important;
  gap:8px!important;
  margin:-8px 6px 18px!important;
}
.services-legacy-cleanup summary{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  cursor:pointer!important;
  color:#8a5360!important;
  font-size:11px!important;
  font-weight:850!important;
  list-style:none!important;
}
.services-legacy-cleanup summary::-webkit-details-marker{
  display:none!important;
}
.services-legacy-cleanup form{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
}
.services-legacy-cleanup .button{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:38px!important;
  border-color:#fecdd3!important;
  border-radius:10px!important;
  background:#fff1f2!important;
  color:#be123c!important;
  font-weight:850!important;
}
.services-legacy-cleanup .dashicons{
  color:#be123c!important;
}
.services-legacy-cleanup small{
  color:#8a5360!important;
  font-weight:750!important;
}
.service-row-actions form{
  margin:0!important;
}
.service-row-actions button{
  display:grid!important;
  width:28px!important;
  height:28px!important;
  place-items:center!important;
  padding:0!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#9b4354!important;
  cursor:pointer!important;
}
.service-row-actions button:hover{
  background:#fff1f2!important;
  color:#be123c!important;
}

/* Clinessy Core 2.1.63: notificaciones siempre sobre la barra de agenda. */
body.clinessy-core-panel-page .clinessy-main,
body.clinessy-core-standalone-template .clinessy-main,
.clinessy-app .clinessy-main{
  isolation:isolate!important;
}
body.clinessy-core-panel-page .clinessy-header,
body.clinessy-core-standalone-template .clinessy-header,
.clinessy-app .clinessy-header{
  position:relative!important;
  z-index:100300!important;
  overflow:visible!important;
}
body.clinessy-core-panel-page .clinessy-header-controls,
body.clinessy-core-standalone-template .clinessy-header-controls,
.clinessy-app .clinessy-header-controls{
  position:relative!important;
  z-index:100320!important;
  overflow:visible!important;
}
body.clinessy-core-panel-page .clinessy-header-controls .clinessy-notifications,
body.clinessy-core-standalone-template .clinessy-header-controls .clinessy-notifications,
.clinessy-app .clinessy-header-controls .clinessy-notifications{
  position:relative!important;
  z-index:100330!important;
  overflow:visible!important;
}
body.clinessy-core-panel-page .clinessy-header-controls .clinessy-notification-panel,
body.clinessy-core-standalone-template .clinessy-header-controls .clinessy-notification-panel,
.clinessy-app .clinessy-header-controls .clinessy-notification-panel{
  top:50px!important;
  right:-12px!important;
  width:min(380px,calc(100vw - 32px))!important;
  max-height:min(460px,calc(100vh - 118px))!important;
  overflow:auto!important;
  z-index:100340!important;
}
body.clinessy-core-panel-page .agenda-page-modern .agenda-topbar.clinessy-card.agenda-control-panel,
body.clinessy-core-panel-page .agenda-page-modern .agenda-control-panel,
body.clinessy-core-panel-page .agenda-page-modern .agenda-toolbar-v3,
body.clinessy-core-standalone-template .agenda-page-modern .agenda-topbar.clinessy-card.agenda-control-panel,
body.clinessy-core-standalone-template .agenda-page-modern .agenda-control-panel,
body.clinessy-core-standalone-template .agenda-page-modern .agenda-toolbar-v3,
.clinessy-app .agenda-page-modern .agenda-topbar.clinessy-card.agenda-control-panel,
.clinessy-app .agenda-page-modern .agenda-control-panel,
.clinessy-app .agenda-page-modern .agenda-toolbar-v3{
  z-index:100100!important;
}

/* Clinessy Core 2.1.66: panel superior alineado con la campana. */
body > .clinessy-notification-panel.is-portaled{
  position:fixed!important;
  display:block!important;
  margin:0!important;
  right:auto!important;
  width:min(380px,calc(100vw - 32px))!important;
  max-height:min(460px,calc(100vh - 118px))!important;
  overflow:auto!important;
  z-index:2147483600!important;
}
body > .clinessy-notification-panel.is-portaled:popover-open{
  display:block!important;
}
@media(max-width:1100px){
  .services-template-loader[open] form{
    width:min(760px,calc(100vw - 60px))!important;
  }
}
@media(max-width:760px){
  .services-template-loader[open] form{
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    top:80px!important;
    width:auto!important;
    max-height:calc(100vh - 110px)!important;
    overflow:auto!important;
  }
  .service-template-rubros,
  .service-template-grid{
    grid-template-columns:1fr!important;
  }
  .service-template-head,
  .service-template-counts{
    align-items:stretch!important;
    flex-direction:column!important;
  }
  .service-template-panels header{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .services-template-loader footer{
    align-items:stretch!important;
    flex-direction:column!important;
  }
  .services-legacy-cleanup{
    align-items:stretch!important;
    flex-direction:column!important;
  }
}

/* Clinessy Core 2.1.67 final: agenda estable entre 90%, 100% y 110% de zoom. */
@media (max-width:1900px) and (min-width:901px){
  .agenda-page-modern .agenda-control-panel{padding-right:12px!important;padding-left:12px!important;}
  .agenda-page-modern .agenda-toolbar-v3{grid-template-columns:minmax(326px,1.12fr) minmax(130px,.5fr) minmax(158px,.62fr) minmax(166px,.76fr) minmax(108px,.46fr) minmax(146px,.64fr)!important;gap:7px!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation input{width:122px!important;min-width:122px!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment .button{min-width:62px!important;padding-right:9px!important;padding-left:9px!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment .button{min-width:78px!important;padding-right:9px!important;padding-left:9px!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-branch-select{min-width:0!important;padding-left:36px!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover summary,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{padding-right:10px!important;padding-left:10px!important;}
}
@media (max-width:1550px) and (min-width:901px){
  .agenda-page-modern .agenda-toolbar-v3{grid-template-columns:minmax(326px,1.35fr) minmax(150px,.72fr) minmax(190px,.9fr)!important;gap:8px!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-branch-select,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-primary-action{width:100%!important;max-width:none!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-date-navigation input{width:auto!important;min-width:0!important;flex:1!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-mode-segment .button,
  .agenda-page-modern .agenda-toolbar-v3 .agenda-view-segment .button{flex:1 1 0!important;}
  .agenda-page-modern .agenda-toolbar-v3 .agenda-filter-popover summary{width:100%!important;}
  .agenda-page-modern .agenda-calendar-head-v4{align-items:flex-start!important;flex-wrap:wrap!important;gap:10px 18px!important;}
  .agenda-page-modern .agenda-calendar-head-v4 .agenda-status-legend{justify-content:flex-start!important;max-width:100%!important;}
}

/* Clinessy Core 2.1.89: modal de nueva cita mas compacto para agenda diaria. */
.reservation-quick-modal .reservation-quick-card{
  width:min(980px,92vw)!important;
  max-height:calc(100dvh - 36px)!important;
}
.reservation-quick-modal .reservation-quick-body{
  gap:10px!important;
  padding:12px 14px 6px!important;
}
.reservation-quick-modal .reservation-quick-column{
  gap:8px!important;
  padding:0 16px 12px!important;
}
.reservation-quick-modal .reservation-quick-column h3{
  min-height:42px!important;
  margin:0 -16px 6px!important;
  padding:8px 16px!important;
  font-size:15px!important;
}
.reservation-quick-modal .reservation-quick-column h3 .dashicons{
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  font-size:16px!important;
  line-height:28px!important;
}
.reservation-quick-modal .reservation-quick-column>label,
.reservation-quick-modal .reservation-quick-location label,
.reservation-quick-modal .reservation-service-stack{
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:8px 10px!important;
  font-size:11px!important;
}
.reservation-quick-modal .reservation-quick-column input,
.reservation-quick-modal .reservation-quick-column select,
.reservation-quick-modal .reservation-quick-column textarea,
.reservation-quick-modal .reservation-service-row select{
  min-height:34px!important;
  padding:5px 9px!important;
  font-size:12px!important;
}
.reservation-quick-modal .reservation-quick-time>div{
  grid-template-columns:minmax(0,1fr) 66px 78px!important;
  gap:8px!important;
}
.reservation-quick-modal .reservation-quick-time small{
  min-height:34px!important;
  padding:0 8px!important;
  font-size:11px!important;
}
.reservation-quick-modal .reservation-service-rows{
  gap:5px!important;
}
.reservation-quick-modal .reservation-service-row{
  grid-template-columns:minmax(0,1fr) 28px!important;
  gap:7px!important;
  min-height:34px!important;
}
.reservation-quick-modal .reservation-service-add,
.reservation-quick-modal .reservation-service-remove{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
}
.reservation-quick-modal .reservation-quick-location{
  gap:8px!important;
}
.reservation-quick-modal .reservation-quick-column textarea{
  min-height:58px!important;
}
.reservation-quick-modal .reservation-quick-payment{
  margin:0 14px 8px!important;
  padding:0 14px 12px!important;
}
.reservation-quick-modal .reservation-quick-payment h3{
  min-height:38px!important;
  margin:0 -14px 8px!important;
  padding:8px 14px!important;
  font-size:15px!important;
}
.reservation-quick-modal .reservation-quick-payment h3 .dashicons{
  width:28px!important;
  height:28px!important;
  font-size:16px!important;
  line-height:28px!important;
}
.reservation-quick-modal .reservation-quick-payment>p{
  margin-bottom:8px!important;
  font-size:11px!important;
}
.reservation-quick-modal .reservation-coverage-cards{
  gap:8px!important;
}
.reservation-quick-modal .reservation-coverage-cards label{
  grid-template-columns:28px minmax(0,1fr)!important;
  min-height:52px!important;
  padding:8px 10px!important;
}
.reservation-quick-modal .reservation-coverage-cards .dashicons{
  width:28px!important;
  height:28px!important;
  font-size:15px!important;
  line-height:28px!important;
}
.reservation-quick-modal .reservation-coverage-cards strong{
  font-size:12px!important;
}
.reservation-quick-modal .reservation-coverage-cards small{
  font-size:10px!important;
}
.reservation-quick-modal .reservation-quick-payment-grid{
  gap:8px!important;
}
.reservation-quick-modal .reservation-payment-note{
  min-height:32px!important;
  font-size:11px!important;
}
.reservation-quick-modal .reservation-quick-summary{
  min-height:50px!important;
  margin:0 14px 6px!important;
}

/* Clinessy Core 2.1.90: la sucursal de la cita se toma desde la agenda activa. */
.reservation-quick-modal .reservation-quick-box-only{
  grid-template-columns:1fr!important;
}

/* Clinessy Core 2.1.91: pack existente sin zonas globales en cita rapida. */
.reservation-quick-modal .reservation-pack-context{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:4px 10px;
  align-items:center;
  margin-top:8px;
  padding:10px 12px;
  border:1px solid #e2d4ff;
  border-radius:8px;
  background:#f7f1ff;
  color:#5b32c9;
}
.reservation-quick-modal .reservation-pack-context .dashicons{
  grid-row:1/3;
  width:30px;
  height:30px;
  border-radius:8px;
  background:#eadcff;
  color:#7140dd;
  font-size:17px;
  line-height:30px;
  text-align:center;
}
.reservation-quick-modal .reservation-pack-context strong{
  color:#39235f;
  font-size:12px;
  font-weight:800;
}
.reservation-quick-modal .reservation-pack-context small{
  color:#766991;
  font-size:11px;
  line-height:1.35;
}

/* Clinessy Core 2.1.92: selector de packs activos de la clienta. */
.reservation-quick-modal .reservation-pack-context select{
  grid-column:2;
  width:100%;
  min-height:36px;
  margin-top:4px;
  border:1px solid #d4c3fb;
  border-radius:7px;
  background:#fff;
  color:#231a3a;
  font-size:12px;
  font-weight:700;
}
.reservation-quick-modal .reservation-pack-context select:disabled{
  color:#897d9d;
  background:#faf8ff;
}

/* Clinessy Core 2.1.93: dropdown de packs para vender desde cita rapida. */
.reservation-quick-modal .reservation-new-pack-context{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:4px 10px;
  align-items:center;
  margin-top:8px;
  padding:10px 12px;
  border:1px solid #e2d4ff;
  border-radius:8px;
  background:#f8f2ff;
  color:#5b32c9;
}
.reservation-quick-modal .reservation-new-pack-context .dashicons{
  grid-row:1/3;
  width:30px;
  height:30px;
  border-radius:8px;
  background:#eadcff;
  color:#7140dd;
  font-size:17px;
  line-height:30px;
  text-align:center;
}
.reservation-quick-modal .reservation-new-pack-context strong{color:#39235f;font-size:12px;font-weight:800}
.reservation-quick-modal .reservation-new-pack-context small{color:#766991;font-size:11px;line-height:1.35}
.reservation-quick-modal .reservation-new-pack-context select{
  grid-column:2;
  width:100%;
  min-height:36px;
  margin-top:4px;
  border:1px solid #d4c3fb;
  border-radius:7px;
  background:#fff;
  color:#231a3a;
  font-size:12px;
  font-weight:700;
}

/* Clinessy Core 2.1.94: mostrar solo el cobro relevante. */
.reservation-quick-modal .reservation-pack-context[hidden],
.reservation-quick-modal .reservation-new-pack-context[hidden]{
  display:none!important;
}
.reservation-quick-modal .reservation-pack-context,
.reservation-quick-modal .reservation-new-pack-context{
  margin-top:6px!important;
}

/* Clinessy Core 2.1.115: resumen unico de duración y disponibilidad. */
.reservation-quick-modal .reservation-quick-time>div{
  grid-template-columns:minmax(0,1fr)!important;
}
.reservation-quick-modal .reservation-quick-time-summary{
  display:flex!important;
  min-height:28px!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin:-2px 0 2px 122px!important;
}
.reservation-quick-modal .reservation-quick-time-summary>span,
.reservation-quick-modal .reservation-quick-time-summary>small{
  display:inline-flex!important;
  min-height:26px!important;
  align-items:center!important;
  padding:0 9px!important;
  border-radius:5px!important;
  background:#dff6f2!important;
  color:#087c72!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
.reservation-quick-modal .reservation-quick-time-summary>span b{
  margin-left:4px!important;
  font-weight:850!important;
}
.reservation-quick-modal .reservation-quick-time-summary>small.is-available{
  background:#cdf0eb!important;
}
@media(max-width:520px){
  .reservation-quick-modal .reservation-quick-time-summary{
    justify-content:flex-start!important;
    margin:-2px 0 2px!important;
  }
}

/* Clinessy Core 2.1.113: modo mini legible para solapes multiples. */
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .agenda-event-card{
  padding-right:28px!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .event-time-row small{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .event-time-row button{
  width:18px!important;
  min-width:18px!important;
  padding:0!important;
  font-size:10px!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .event-client{
  padding-right:0!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .event-client>span{
  font-size:9px!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .agenda-status-control{
  position:absolute!important;
  right:6px!important;
  bottom:5px!important;
  width:18px!important;
  height:18px!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .agenda-status-trigger{
  position:static!important;
  display:grid!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  place-items:center!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:50%!important;
  font-size:0!important;
  gap:0!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .agenda-status-trigger>i{
  margin:0!important;
}
.agenda-page-modern .agenda-workspace-v4 .agenda-event-position-compact .agenda-status-trigger>span{
  display:none!important;
}

/* Clinessy Core 2.1.116: estado definitivo de cobro individual. */
.reservation-quick-modal .reservation-free-session{
  grid-column:1/-1;
  display:grid!important;
  grid-template-columns:22px 1fr!important;
  align-items:center!important;
  gap:3px 10px!important;
  min-height:48px!important;
  padding:9px 12px!important;
  border:1px solid #ddd7ea!important;
  border-radius:6px!important;
  background:#fff!important;
  cursor:pointer;
}
.reservation-quick-modal .reservation-free-session input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.reservation-quick-modal .reservation-free-session>i{
  grid-row:1/3;
  width:20px!important;
  height:20px!important;
  border:2px solid #a7afbd!important;
  border-radius:4px!important;
  background:#fff!important;
}
.reservation-quick-modal .reservation-free-session input:checked+i{
  border-color:#0d8f78!important;
  background:#0d8f78!important;
  box-shadow:inset 0 0 0 4px #fff!important;
}
.reservation-quick-modal .reservation-free-session>span{display:flex!important;flex-direction:column!important;gap:1px!important}
.reservation-quick-modal .reservation-free-session strong{font-size:12px!important;color:#183d35!important}
.reservation-quick-modal .reservation-free-session small{font-size:10px!important;color:#737b8e!important}
.reservation-quick-modal .reservation-payment-note>div{display:flex!important;flex-direction:column!important;gap:2px!important}
.reservation-quick-modal .reservation-payment-note [data-payment-result]{font-size:12px!important;color:#5031a6!important}
.reservation-quick-modal .reservation-payment-note [data-payment-balance-wrap]{font-size:11px!important;color:#6f6684!important}
.reservation-quick-modal .reservation-payment-note [data-payment-balance]{color:#241b39!important;font-size:12px!important}

/* Clinessy Core 2.1.117: servicios asociados al cobro individual. */
.reservation-quick-modal .reservation-individual-services{
  grid-column:1/-1;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:44px!important;
  padding:8px 12px!important;
  box-sizing:border-box!important;
  border:1px solid #cde8df!important;
  border-radius:6px!important;
  background:#f2fbf8!important;
}
.reservation-quick-modal .reservation-individual-services>.dashicons{color:#11866f!important}
.reservation-quick-modal .reservation-individual-services>div{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:3px 8px!important}
.reservation-quick-modal .reservation-individual-services strong{color:#174a3f!important;font-size:11px!important}
.reservation-quick-modal .reservation-individual-services small{color:#526e68!important;font-size:11px!important;font-weight:700!important}
.reservation-quick-modal .reservation-individual-services.is-empty{border-color:#e4dfeb!important;background:#faf9fc!important}
.reservation-quick-modal .reservation-individual-services.is-empty>.dashicons,.reservation-quick-modal .reservation-individual-services.is-empty small{color:#7d8090!important}

/* Clinessy Core 2.1.158: modal de nueva cita ligeramente mas compacto. */
.reservation-quick-modal .reservation-quick-card{
  width:min(920px,90vw)!important;
  max-height:calc(100dvh - 48px)!important;
}
.reservation-quick-modal .reservation-quick-body{
  gap:8px!important;
  padding:10px 12px 4px!important;
}
.reservation-quick-modal .reservation-quick-column{
  gap:6px!important;
  padding:0 14px 10px!important;
}
.reservation-quick-modal .reservation-quick-column h3{
  min-height:38px!important;
  margin:0 -14px 5px!important;
  padding:7px 14px!important;
  font-size:14px!important;
}
.reservation-quick-modal .reservation-quick-column h3 .dashicons{
  width:24px!important;
  height:24px!important;
  flex-basis:24px!important;
  font-size:14px!important;
  line-height:24px!important;
}
.reservation-quick-modal .reservation-quick-column>label,
.reservation-quick-modal .reservation-quick-location label,
.reservation-quick-modal .reservation-service-stack{
  grid-template-columns:104px minmax(0,1fr)!important;
  gap:6px 9px!important;
  font-size:10px!important;
}
.reservation-quick-modal .reservation-quick-column input,
.reservation-quick-modal .reservation-quick-column select,
.reservation-quick-modal .reservation-quick-column textarea,
.reservation-quick-modal .reservation-service-row select,
.reservation-quick-modal .reservation-quick-payment-grid input,
.reservation-quick-modal .reservation-quick-payment-grid select{
  min-height:30px!important;
  padding:4px 8px!important;
  font-size:11px!important;
}
.reservation-quick-modal .reservation-quick-column textarea{
  min-height:50px!important;
}
.reservation-quick-modal .reservation-quick-payment{
  margin:0 12px 6px!important;
  padding:0 12px 9px!important;
}
.reservation-quick-modal .reservation-quick-payment h3{
  min-height:34px!important;
  margin:0 -12px 6px!important;
  padding:6px 12px!important;
  font-size:14px!important;
}
.reservation-quick-modal .reservation-quick-payment h3 .dashicons{
  width:24px!important;
  height:24px!important;
  font-size:14px!important;
  line-height:24px!important;
}
.reservation-quick-modal .reservation-quick-payment>p{
  margin:0 0 6px!important;
  font-size:10px!important;
}
.reservation-quick-modal .reservation-coverage-cards{
  gap:6px!important;
}
.reservation-quick-modal .reservation-coverage-cards label{
  grid-template-columns:24px minmax(0,1fr)!important;
  min-height:44px!important;
  padding:7px 9px!important;
}
.reservation-quick-modal .reservation-coverage-cards .dashicons{
  width:24px!important;
  height:24px!important;
  font-size:13px!important;
  line-height:24px!important;
}
.reservation-quick-modal .reservation-coverage-cards strong{
  font-size:11px!important;
}
.reservation-quick-modal .reservation-coverage-cards small{
  font-size:9px!important;
}
.reservation-quick-modal .reservation-quick-payment-grid{
  gap:6px!important;
}
.reservation-quick-modal .reservation-individual-services{
  min-height:36px!important;
  padding:6px 10px!important;
}
.reservation-quick-modal .reservation-payment-note{
  min-height:28px!important;
  padding:6px 10px!important;
}
.reservation-quick-modal .reservation-quick-summary{
  min-height:44px!important;
  margin:0 12px 6px!important;
  padding:0 12px!important;
}
.reservation-quick-summary .reservation-quick-summary-save{
  min-height:38px!important;
}

/* Clinessy Core 2.1.119: fecha y hora local legibles en ventas recientes. */
.sales-recent-card .sales-date-cell{display:flex;flex-direction:column;align-items:flex-start;gap:4px;white-space:nowrap}
.sales-recent-card .sales-date-cell strong{color:#1f2838;font-size:12px}
.sales-recent-card .sales-date-cell small{display:inline-flex;align-items:center;gap:4px;color:#70788a;font-size:10px;font-weight:700}
.sales-recent-card .sales-date-cell .dashicons{width:13px;height:13px;font-size:13px}

/* Clinessy Core 2.1.120: confirmacion de pago individual en agenda. */
.agenda-page-modern .agenda-payment-success{position:relative;display:grid;grid-template-columns:auto minmax(210px,.8fr) minmax(500px,2fr) auto;align-items:center;gap:14px;overflow:hidden;margin:0 0 14px;padding:14px 16px 14px 21px;box-sizing:border-box;border:1px solid #75c89c;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(13,78,52,.14)}
.agenda-page-modern .agenda-payment-success::before{position:absolute;inset:0 auto 0 0;width:5px;background:#15945c;content:""}
.agenda-page-modern .agenda-payment-success-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;background:#16a060;color:#fff;font-size:24px}
.agenda-page-modern .agenda-payment-success-copy{display:flex;flex-direction:column;gap:2px}
.agenda-page-modern .agenda-payment-success-copy strong{color:#075f3a;font-size:15px}
.agenda-page-modern .agenda-payment-success-copy small{color:#5b7467;font-size:10px;font-weight:650}
.agenda-page-modern .agenda-payment-success dl{display:grid;grid-template-columns:1fr 1.6fr .8fr .6fr;gap:10px;margin:0}
.agenda-page-modern .agenda-payment-success dl>div{min-width:0;padding-left:10px;border-left:1px solid #cde8d8}
.agenda-page-modern .agenda-payment-success dt{color:#6c7b73;font-size:9px;font-weight:800;text-transform:uppercase}
.agenda-page-modern .agenda-payment-success dd{overflow:hidden;margin:3px 0 0;color:#17392a;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.agenda-page-modern .agenda-payment-success dd>span{color:#087747}
.agenda-page-modern .agenda-payment-success>.button{display:inline-flex;align-items:center;gap:5px;min-height:36px;border-color:#75c89c!important;color:#087747!important;font-weight:800}
@media(max-width:1000px){.agenda-page-modern .agenda-payment-success{grid-template-columns:auto 1fr auto}.agenda-page-modern .agenda-payment-success dl{grid-column:1/-1;grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.agenda-page-modern .agenda-payment-success{grid-template-columns:auto 1fr}.agenda-page-modern .agenda-payment-success>.button{grid-column:1/-1;justify-content:center}.agenda-page-modern .agenda-payment-success dl{grid-template-columns:1fr}}

/* Clinessy Core 2.1.128: detalle compacto y operativo de la cita. */
.appointment-detail-card{width:min(1020px,96vw)!important;max-height:92vh!important;overflow:hidden!important}
.appointment-detail-header-v2{display:grid!important;grid-template-columns:42px minmax(0,1fr) 38px!important;align-items:center!important;gap:14px!important;padding:18px 22px!important;border-bottom:1px solid #e5e9f0!important}
.appointment-detail-heading-icon{display:grid!important;width:38px!important;height:38px!important;place-items:center!important;border-radius:8px!important;background:#f0e8ff!important;color:#6734d8!important;font-size:20px!important}
.appointment-detail-header-v2 h2{margin:0!important;font-size:21px!important}.appointment-detail-header-v2 p{display:flex!important;align-items:center!important;gap:7px!important;margin:5px 0 0!important;color:#657287!important;font-size:12px!important}.appointment-detail-header-v2 .clinessy-modal-close{position:static!important;width:38px!important;height:38px!important;border:1px solid #dbe0e8!important;border-radius:7px!important;background:#fff!important;color:#3f4b5e!important;box-shadow:none!important}
.appointment-progress{padding:18px 32px 15px!important}.appointment-progress-step{min-height:86px!important;gap:5px!important}.appointment-progress-step>.dashicons{width:42px!important;height:42px!important;font-size:19px!important;line-height:42px!important}.appointment-step-number{top:33px!important;left:calc(50% - 34px)!important;width:19px!important;height:19px!important;line-height:19px!important}.appointment-progress-step:after{top:22px!important;left:calc(50% + 28px)!important;width:calc(100% - 56px)!important}.appointment-progress-step strong{font-size:13px!important}.appointment-progress-step small{font-size:11px!important}
.appointment-detail-form{max-height:calc(92vh - 171px)!important}.appointment-panel[data-appointment-panel="summary"]{padding:0!important;overflow:auto!important}.appointment-detail-workspace{display:grid!important;grid-template-columns:minmax(0,1.9fr) minmax(290px,.9fr)!important;border-top:1px solid #e5e9f0!important}.appointment-detail-main{padding:20px 24px!important}.appointment-detail-sidebar{padding:20px!important;border-left:1px solid #e5e9f0!important;background:#fcfdff!important}.appointment-detail-section-title{margin:0 0 10px!important;padding-bottom:10px!important;border-bottom:1px solid #e5e9f0!important;font-size:13px!important}
.appointment-facts{margin:0!important}.appointment-facts>div{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;align-items:center!important;min-height:42px!important}.appointment-facts dt{display:flex!important;align-items:center!important;gap:10px!important;color:#536176!important;font-weight:750!important}.appointment-facts dt .dashicons{display:grid!important;width:28px!important;height:28px!important;place-items:center!important;border-radius:7px!important;background:#e8f7f3!important;color:#0b7c71!important;font-size:16px!important}.appointment-facts dd{margin:0!important;text-align:right!important;color:#172033!important;font-weight:800!important}.appointment-facts dd.is-highlight{color:#087c73!important}
.appointment-comment-compact{margin-top:14px!important;border-top:1px solid #e5e9f0!important}.appointment-comment-compact summary{display:grid!important;grid-template-columns:34px minmax(0,1fr) 18px!important;align-items:center!important;gap:10px!important;padding:14px 0!important;cursor:pointer!important;list-style:none!important}.appointment-comment-compact summary>span:first-child{display:grid!important;width:30px!important;height:30px!important;place-items:center!important;border-radius:8px!important;background:#eaf3ff!important;color:#1f63b7!important}.appointment-comment-compact summary span:nth-child(2){display:grid!important;gap:2px!important}.appointment-comment-compact small{overflow:hidden!important;color:#748096!important;text-overflow:ellipsis!important;white-space:nowrap!important}.appointment-comment-compact p{margin:0 0 14px 44px!important}
.appointment-current-state{display:flex!important;align-items:center!important;gap:12px!important;padding:13px!important;border:1px solid #d9cdf8!important;border-radius:8px!important;background:#f8f4ff!important}.appointment-current-state>.dashicons{color:#6734d8!important}.appointment-current-state small,.appointment-current-state strong{display:block!important}.appointment-current-state small{color:#667287!important;font-size:11px!important}.appointment-current-state strong{margin-top:2px!important;color:#6734d8!important;font-size:17px!important}.appointment-primary-status{display:flex!important;width:100%!important;min-height:46px!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin-top:12px!important;border-color:#6734d8!important;background:#6734d8!important}
.appointment-payment-side{margin-top:14px!important;overflow:hidden!important;border:1px solid #efb6bb!important;border-radius:8px!important;background:#fff!important}.appointment-payment-side header{display:flex!important;gap:8px!important;padding:12px 14px!important;border-bottom:1px solid #f2c7cb!important;color:#bd2433!important;background:#fff8f8!important}.appointment-payment-side dl{margin:0!important;padding:10px 14px!important}.appointment-payment-side dl div{display:flex!important;justify-content:space-between!important;padding:5px 0!important}.appointment-payment-side .button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:0 14px 14px!important}.appointment-payment-paid{border-color:#9fd7b7!important}.appointment-payment-paid header{border-color:#b5e0c7!important;color:#087747!important;background:#f1fbf5!important}
.appointment-communication{display:grid!important;gap:8px!important;margin-top:14px!important}.appointment-communication h4{margin:0 0 2px!important;font-size:12px!important}.appointment-communication .button{display:flex!important;min-height:40px!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-color:#0b684d!important;color:#0b684d!important}.appointment-status-source{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.appointment-detail-actions-v2{display:grid!important;grid-template-columns:auto 1fr auto auto!important;align-items:center!important;gap:10px!important;padding:14px 22px!important}.appointment-edit-trigger,.appointment-back-summary,.appointment-save{align-items:center!important;gap:7px!important}.appointment-back-summary,.appointment-save{display:none!important}.appointment-detail-card.is-editing .appointment-back-summary,.appointment-detail-card.is-editing .appointment-save{display:inline-flex!important}.appointment-detail-card.is-editing .appointment-edit-trigger{display:none!important}.appointment-back-summary{justify-self:end!important}
.appointment-more-actions{position:relative!important;grid-column:4!important}.appointment-more-actions>summary{display:grid!important;width:42px!important;height:38px!important;place-items:center!important;padding:0!important;list-style:none!important}.appointment-more-actions>div{position:absolute!important;right:0!important;bottom:46px!important;z-index:20!important;display:grid!important;width:190px!important;padding:6px!important;border:1px solid #dfe3ea!important;border-radius:7px!important;background:#fff!important;box-shadow:0 12px 28px rgba(20,27,45,.16)!important}.appointment-more-actions:not([open])>div{display:none!important}.appointment-more-actions a,.appointment-more-actions button{display:flex!important;width:100%!important;box-sizing:border-box!important;padding:9px 10px!important;border:0!important;background:transparent!important;color:#273247!important;text-align:left!important;text-decoration:none!important;cursor:pointer!important}.appointment-more-actions .appointment-delete-link{color:#bd2433!important}
@media(max-width:760px){.appointment-detail-workspace{grid-template-columns:1fr!important}.appointment-detail-sidebar{border-top:1px solid #e5e9f0!important;border-left:0!important}.appointment-facts>div{grid-template-columns:1fr!important}.appointment-facts dd{text-align:left!important;padding-left:38px!important}}

/* Clinessy Core 2.1.129: replica final del detalle de cita aprobado. */
.agenda-detail-modal .appointment-detail-card{
  display:flex!important;
  width:min(1140px,94vw)!important;
  min-height:700px!important;
  max-height:90vh!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.agenda-detail-modal .appointment-detail-card .appointment-detail-header-v2{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 auto!important;
  grid-template-columns:48px minmax(0,1fr) 42px!important;
  min-height:88px!important;
  box-sizing:border-box!important;
  padding:18px 28px!important;
}
.agenda-detail-modal .appointment-detail-heading-icon{width:42px!important;height:42px!important;font-size:21px!important}
.agenda-detail-modal .appointment-detail-header-v2 h2{font-size:23px!important}
.agenda-detail-modal .appointment-detail-header-v2 p{font-size:13px!important}
.agenda-detail-modal .appointment-detail-form{
  display:flex!important;
  min-height:0!important;
  max-height:none!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.agenda-detail-modal .appointment-panel[data-appointment-panel="summary"]{
  display:none!important;
  min-height:0!important;
  flex:1 1 auto!important;
}
.agenda-detail-modal .appointment-panel[data-appointment-panel="summary"].is-active{display:flex!important;flex-direction:column!important}
.agenda-detail-modal .appointment-detail-workspace{
  min-height:0!important;
  flex:1 1 auto!important;
  grid-template-columns:minmax(0,2fr) minmax(320px,.95fr)!important;
  overflow:auto!important;
}
.agenda-detail-modal .appointment-detail-main{padding:18px 30px 20px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress{padding:10px 8px 24px!important;background:#fff!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step{min-height:112px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step>.dashicons{width:54px!important;height:54px!important;font-size:24px!important;line-height:54px!important}
.agenda-detail-modal .appointment-detail-main .appointment-step-number{top:45px!important;left:calc(50% - 42px)!important;width:22px!important;height:22px!important;line-height:22px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step:after{top:28px!important;left:calc(50% + 36px)!important;width:calc(100% - 72px)!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step strong{font-size:15px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step small{font-size:12px!important}
.agenda-detail-modal .appointment-detail-section-title{margin-top:0!important;font-size:14px!important}
.agenda-detail-modal .appointment-facts>div{min-height:48px!important}
.agenda-detail-modal .appointment-facts dt,.agenda-detail-modal .appointment-facts dd{font-size:14px!important}
.agenda-detail-modal .appointment-facts dt .dashicons{width:32px!important;height:32px!important;font-size:18px!important}
.agenda-detail-modal .appointment-comment-compact summary{min-height:54px!important}
.agenda-detail-modal .appointment-detail-sidebar{padding:20px 22px!important}
.agenda-detail-modal .appointment-current-state{min-height:62px!important}
.agenda-detail-modal .appointment-primary-status{min-height:52px!important;color:#fff!important;font-size:14px!important;font-weight:850!important}
.agenda-detail-modal .appointment-primary-status .dashicons{color:#fff!important}
.agenda-detail-modal .appointment-payment-side header{font-size:15px!important}
.agenda-detail-modal .appointment-payment-side dl{padding:12px 16px!important}
.agenda-detail-modal .appointment-payment-side dl div{font-size:14px!important}
.agenda-detail-modal .appointment-payment-side .button{min-height:44px!important}
.agenda-detail-modal .appointment-communication h4{font-size:13px!important}
.agenda-detail-modal .appointment-communication .button{min-height:46px!important;font-weight:800!important;text-decoration:none!important}
.agenda-detail-modal .appointment-detail-actions-v2{
  position:static!important;
  z-index:10!important;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 auto!important;
  grid-template-columns:auto 1fr auto auto!important;
  min-height:74px!important;
  box-sizing:border-box!important;
  padding:14px 28px!important;
  background:#fff!important;
}
.agenda-detail-modal .appointment-edit-trigger{display:inline-flex!important;grid-column:3!important;min-width:160px!important;min-height:44px!important;justify-content:center!important;font-weight:800!important}
.agenda-detail-modal .appointment-back-summary{grid-column:2!important;justify-self:end!important}
.agenda-detail-modal .appointment-save{grid-column:3!important}
.agenda-detail-modal .appointment-more-actions{grid-column:4!important}
.agenda-detail-modal .appointment-more-actions>summary{width:48px!important;height:44px!important}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-edit-trigger{display:none!important}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-back-summary,.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save{display:inline-flex!important}
@media(max-width:780px){
  .agenda-detail-modal .appointment-detail-card{width:100%!important;min-height:0!important;max-height:96vh!important}
  .agenda-detail-modal .appointment-detail-workspace{grid-template-columns:1fr!important}
  .agenda-detail-modal .appointment-detail-main .appointment-progress{padding-inline:0!important}
  .agenda-detail-modal .appointment-detail-actions-v2{grid-template-columns:auto 1fr auto!important}
  .agenda-detail-modal .appointment-edit-trigger{grid-column:2!important}
  .agenda-detail-modal .appointment-more-actions{grid-column:3!important}
}

/* Clinessy Core 2.1.136: detalle visual alineado con el formulario de reserva. */
.agenda-detail-modal{padding:24px!important}
.agenda-detail-modal .appointment-detail-card{width:min(940px,94vw)!important;min-height:0!important;max-height:88vh!important;border-radius:8px!important;box-shadow:0 28px 70px rgba(17,24,39,.28)!important}
.agenda-detail-modal .appointment-detail-card .appointment-detail-header-v2{grid-template-columns:36px minmax(0,1fr) 34px!important;min-height:68px!important;gap:11px!important;padding:13px 18px!important}
.agenda-detail-modal .appointment-detail-heading-icon{width:34px!important;height:34px!important;border-radius:7px!important;font-size:18px!important}
.agenda-detail-modal .appointment-detail-header-v2 h2{font-size:18px!important}
.agenda-detail-modal .appointment-detail-header-v2 p{margin-top:3px!important;font-size:10px!important}
.agenda-detail-modal .appointment-detail-header-v2 .clinessy-modal-close{width:34px!important;height:34px!important;font-size:21px!important}
.agenda-detail-modal .appointment-detail-form{max-height:calc(88vh - 68px)!important}
.agenda-detail-modal .appointment-detail-workspace{grid-template-columns:minmax(0,2.05fr) minmax(260px,.85fr)!important}
.agenda-detail-modal .appointment-detail-main{padding:15px 22px 16px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress{padding:3px 2px 14px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step{min-height:82px!important;gap:3px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step>.dashicons{width:40px!important;height:40px!important;font-size:18px!important;line-height:40px!important;box-shadow:none!important}
.agenda-detail-modal .appointment-detail-main .appointment-step-number{top:31px!important;left:calc(50% - 31px)!important;width:17px!important;height:17px!important;font-size:9px!important;line-height:17px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step:after{top:20px!important;left:calc(50% + 25px)!important;width:calc(100% - 50px)!important;border-width:1px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step strong{font-size:12px!important}
.agenda-detail-modal .appointment-detail-main .appointment-progress-step small{font-size:9px!important}
.agenda-detail-modal .appointment-detail-section-title{margin-bottom:7px!important;padding-bottom:8px!important;font-size:11px!important;font-weight:750!important}
.agenda-detail-modal .appointment-facts>div{grid-template-columns:150px minmax(0,1fr)!important;min-height:38px!important}
.agenda-detail-modal .appointment-facts dt,.agenda-detail-modal .appointment-facts dd{font-size:12px!important}
.agenda-detail-modal .appointment-facts dt{gap:8px!important}
.agenda-detail-modal .appointment-facts dt .dashicons{width:26px!important;height:26px!important;border-radius:6px!important;font-size:15px!important}
.agenda-detail-modal .appointment-comment-compact{margin-top:9px!important}
.agenda-detail-modal .appointment-comment-compact summary{min-height:0!important;padding:11px 0!important;font-size:11px!important}
.agenda-detail-modal .appointment-comment-compact summary>span:first-child{width:27px!important;height:27px!important}
.agenda-detail-modal .appointment-comment-compact small{font-size:9px!important}
.agenda-detail-modal .appointment-detail-sidebar{padding:15px 16px!important}
.agenda-detail-modal .appointment-current-state{min-height:0!important;padding:10px 11px!important}
.agenda-detail-modal .appointment-current-state small{font-size:9px!important}
.agenda-detail-modal .appointment-current-state strong{font-size:14px!important}
.agenda-detail-modal .appointment-primary-status{min-height:41px!important;margin-top:9px!important;font-size:12px!important}
.agenda-detail-modal .appointment-payment-side{margin-top:10px!important}
.agenda-detail-modal .appointment-payment-side header{padding:9px 11px!important;font-size:12px!important}
.agenda-detail-modal .appointment-payment-side dl{padding:7px 11px!important}
.agenda-detail-modal .appointment-payment-side dl div{padding:4px 0!important;font-size:11px!important}
.agenda-detail-modal .appointment-payment-side .button{min-height:36px!important;margin:0 11px 11px!important;font-size:11px!important}
.agenda-detail-modal .appointment-communication{gap:6px!important;margin-top:10px!important}
.agenda-detail-modal .appointment-communication h4{font-size:10px!important}
.agenda-detail-modal .appointment-communication .button{min-height:36px!important;font-size:10px!important}
.agenda-detail-modal .appointment-detail-actions-v2{min-height:58px!important;padding:9px 18px!important;border-top:1px solid #e5e9f0!important}
.agenda-detail-modal .appointment-detail-actions-v2>.button{min-height:36px!important;font-size:11px!important}
.agenda-detail-modal .appointment-edit-trigger{min-width:135px!important;min-height:36px!important}
.agenda-detail-modal .appointment-more-actions>summary{width:40px!important;height:36px!important}
.agenda-detail-modal .appointment-duration{display:inline-flex;margin-left:8px;padding:3px 7px;border-radius:5px;background:#e3f7f2;color:#087c73;font-size:9px;font-weight:850;vertical-align:middle}
.agenda-detail-modal .appointment-facts>div.is-missing{margin:2px -7px;padding:3px 7px;border-radius:6px;background:#fff8e7}
.agenda-detail-modal .appointment-facts>div.is-missing dd{color:#9a6410!important}
.agenda-detail-modal .appointment-inline-action{margin-left:8px;padding:3px 7px;border:1px solid #dca33f;border-radius:5px;background:#fff;color:#86550a;font-size:9px;font-weight:850;cursor:pointer}
.agenda-detail-modal .appointment-inline-action:hover,.agenda-detail-modal .appointment-inline-action:focus{background:#fff1c9;border-color:#bd7b11}
.agenda-detail-modal .appointment-communication .button:first-of-type{border-color:#b8dfd3!important;background:#eaf8f3!important;color:#087553!important}
.agenda-detail-modal .appointment-communication .button:last-of-type{border-color:#95cdbd!important;background:#fff!important;color:#087553!important}
.agenda-detail-modal .appointment-detail-card:not(.is-editing) .appointment-save,.agenda-detail-modal .appointment-detail-card:not(.is-editing) .appointment-back-summary{display:none!important}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save,.agenda-detail-modal .appointment-detail-card.is-editing .appointment-back-summary{display:inline-flex!important}
.agenda-detail-modal .appointment-attention-panel{padding:16px 22px!important}
.agenda-detail-modal .appointment-attention-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:12px 14px!important;max-width:900px;margin:0 auto}
.agenda-detail-modal .appointment-attention-grid .appointment-section-heading{margin-bottom:2px;padding-bottom:10px!important}
.agenda-detail-modal .appointment-attention-grid .appointment-field-date{grid-column:span 6}
.agenda-detail-modal .appointment-attention-grid .appointment-field-start,.agenda-detail-modal .appointment-attention-grid .appointment-field-end{grid-column:span 3}
.agenda-detail-modal .appointment-attention-grid .reservation-service-stack{grid-column:1/-1!important;grid-template-columns:130px minmax(0,1fr)!important;gap:10px!important;margin:2px 0!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-rows{gap:7px!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-row{grid-template-columns:minmax(0,1fr) 34px!important;gap:8px!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-row select{min-height:40px!important;margin:0!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add,.agenda-detail-modal .appointment-attention-grid .reservation-service-remove{width:34px!important;height:34px!important;min-height:34px!important;align-self:center!important}
.agenda-detail-modal .appointment-attention-grid .appointment-field-professional,.agenda-detail-modal .appointment-attention-grid .appointment-field-box{grid-column:span 6}
.agenda-detail-modal .appointment-attention-grid .appointment-field-comments{grid-column:1/-1}
.agenda-detail-modal .appointment-attention-grid .appointment-field-comments textarea{min-height:62px!important;resize:vertical}
.agenda-detail-modal .appointment-attention-grid input,.agenda-detail-modal .appointment-attention-grid select{min-height:40px!important}
@media(max-width:780px){.agenda-detail-modal{padding:0!important}.agenda-detail-modal .appointment-detail-card{width:100%!important;max-height:96vh!important}.agenda-detail-modal .appointment-detail-form{max-height:calc(96vh - 68px)!important}.agenda-detail-modal .appointment-detail-workspace{grid-template-columns:1fr!important}.agenda-detail-modal .appointment-detail-sidebar{border-left:0!important;border-top:1px solid #e5e9f0!important}.agenda-detail-modal .appointment-facts>div{grid-template-columns:126px minmax(0,1fr)!important}.agenda-detail-modal .appointment-facts dd{padding-left:0!important;text-align:right!important}.agenda-detail-modal .appointment-detail-actions-v2{grid-template-columns:auto 1fr auto!important}}
@media(max-width:780px){.agenda-detail-modal .appointment-attention-grid{grid-template-columns:1fr!important}.agenda-detail-modal .appointment-attention-grid .appointment-field-date,.agenda-detail-modal .appointment-attention-grid .appointment-field-start,.agenda-detail-modal .appointment-attention-grid .appointment-field-end,.agenda-detail-modal .appointment-attention-grid .appointment-field-professional,.agenda-detail-modal .appointment-attention-grid .appointment-field-box{grid-column:1!important}.agenda-detail-modal .appointment-attention-grid .reservation-service-stack{grid-template-columns:1fr!important}.agenda-detail-modal .appointment-attention-grid .reservation-service-stack>span{margin-bottom:0!important}}

/* Clinessy Core 2.1.139: pulido visual del editor de citas. */
.agenda-detail-modal .appointment-attention-panel{background:#f6f9f8!important}
.agenda-detail-modal .appointment-attention-grid{padding:16px;border:1px solid #e1ebe7;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(17,45,38,.055)}
.agenda-detail-modal .appointment-attention-grid .appointment-section-heading{position:relative;gap:10px!important;margin:-16px -16px 2px!important;padding:14px 16px!important;border-bottom:1px solid #dcebe6!important;border-radius:8px 8px 0 0;background:#f0faf7}
.agenda-detail-modal .appointment-attention-grid .appointment-section-heading>.dashicons{width:34px!important;height:34px!important;border-radius:7px!important;background:#dff4ee!important;color:#087c73!important;font-size:18px!important;line-height:34px!important}
.agenda-detail-modal .appointment-attention-grid .appointment-section-heading h3{color:#123e34!important;font-size:17px!important}
.agenda-detail-modal .appointment-attention-grid .appointment-section-heading p{font-size:10px!important}
.agenda-detail-modal .appointment-attention-grid>label{gap:5px!important;padding:9px 10px 10px;border:1px solid #e4ebe8;border-radius:7px;background:#fbfdfc}
.agenda-detail-modal .appointment-attention-grid>label:focus-within{border-color:#72c5b0;background:#fff;box-shadow:0 0 0 3px rgba(17,148,112,.10)}
.agenda-detail-modal .appointment-attention-grid>label input,.agenda-detail-modal .appointment-attention-grid>label select,.agenda-detail-modal .appointment-attention-grid>label textarea{margin-top:0!important;border-color:#d8e2de!important;box-shadow:none!important}
.agenda-detail-modal .appointment-attention-grid .appointment-field-date,.agenda-detail-modal .appointment-attention-grid .appointment-field-start,.agenda-detail-modal .appointment-attention-grid .appointment-field-end{background:#f2fbf8}
.agenda-detail-modal .appointment-attention-grid .appointment-field-start input,.agenda-detail-modal .appointment-attention-grid .appointment-field-end input{color:#087c73!important;font-weight:850!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-stack{padding:12px!important;border:1px solid #e4e0ef!important;border-radius:7px;background:#faf8ff!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-stack>span{display:flex;align-items:center;gap:7px;padding-top:9px!important;color:#4e327f!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-stack>span:before{content:"";width:7px;height:7px;border-radius:50%;background:#7540dc}
.agenda-detail-modal .appointment-attention-grid .reservation-service-row select{border-color:#ddd6ec!important;background:#fff!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add,.agenda-detail-modal .appointment-attention-grid .reservation-service-remove{border-radius:7px!important;box-shadow:none!important;transition:transform .15s ease,background .15s ease}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add{background:#168bca!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-remove{background:#fff0f1!important;color:#d74a58!important;border:1px solid #ffcdd2!important}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add:hover,.agenda-detail-modal .appointment-attention-grid .reservation-service-remove:hover{transform:translateY(-1px)}
.agenda-detail-modal .appointment-attention-grid .appointment-field-professional,.agenda-detail-modal .appointment-attention-grid .appointment-field-box{margin-top:2px;background:#f8fbfa}
.agenda-detail-modal .appointment-attention-grid .appointment-field-professional:has(option[value=""]:checked){border-color:#edcf8c;background:#fffaf0}
.agenda-detail-modal .appointment-attention-grid .appointment-field-comments{background:#f8fafc}
.agenda-detail-modal .appointment-attention-grid .appointment-field-comments textarea{background:#fff!important}
.agenda-detail-modal .appointment-detail-actions-v2{background:#fff!important;box-shadow:0 -8px 20px rgba(23,34,31,.04)}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-back-summary{border-color:#cbd8d3!important;background:#f8fbfa!important;color:#425a53!important}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save{border-color:#075f46!important;background:#087553!important;box-shadow:0 8px 18px rgba(8,117,83,.18)!important}
@media(max-width:780px){.agenda-detail-modal .appointment-attention-grid{padding:12px}.agenda-detail-modal .appointment-attention-grid .appointment-section-heading{margin:-12px -12px 0!important}.agenda-detail-modal .appointment-attention-grid>label{padding:8px}.agenda-detail-modal .appointment-attention-grid .reservation-service-stack{padding:10px!important}}

/* Clinessy Core 2.2.23: deudores con datos visibles y acciones directas. */
.sales-debtors-screen{display:grid;gap:16px}.sales-debtors-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #eadfe7;border-radius:8px;background:#fff}.sales-debtors-toolbar>div{display:flex;align-items:center;gap:12px}.sales-debtors-toolbar>div>.dashicons{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:#fff0f2;color:#dd4457;font-size:23px}.sales-debtors-toolbar h2,.sales-debtors-toolbar p{margin:0}.sales-debtors-toolbar h2{color:#182033;font-size:19px}.sales-debtors-toolbar p{margin-top:3px;color:#747c8e;font-size:11px}.sales-debtors-toolbar form{display:flex;gap:8px}.sales-debtors-toolbar label{position:relative}.sales-debtors-toolbar label>.dashicons{position:absolute;left:12px;top:11px;color:#747c8e}.sales-debtors-toolbar input{width:300px;min-height:42px;padding-left:40px;border:1px solid #ddd7e5;border-radius:7px}.sales-debtors-toolbar .button{min-height:42px}.sales-debtors-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.sales-debtors-kpis article{display:flex;align-items:center;gap:13px;padding:16px 18px;border:1px solid #e7e0ef;border-radius:8px;background:#fff}.sales-debtors-kpis article>.dashicons{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:#f1edff;color:#7135e6;font-size:22px}.sales-debtors-kpis article:nth-child(2)>.dashicons{background:#fff0f2;color:#dd4457}.sales-debtors-kpis article:nth-child(3)>.dashicons{background:#edf8f3;color:#11805c}.sales-debtors-kpis small,.sales-debtors-kpis strong{display:block}.sales-debtors-kpis small{color:#747c8e;font-size:10px;font-weight:750}.sales-debtors-kpis strong{margin-top:3px;color:#182033;font-size:22px}.sales-debtors-list{display:grid;gap:12px}.sales-debtor-card{overflow:hidden;border:1px solid #f0d7dd;border-left:6px solid #ef5a68;border-radius:8px;background:linear-gradient(90deg,#fff8fa 0,#fff 26%);box-shadow:0 10px 24px rgba(28,24,48,.06)}.sales-debtor-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(145px,auto) minmax(128px,auto);align-items:center;gap:14px;padding:15px 18px}.sales-debtor-avatar{display:grid;width:46px;height:46px;place-items:center;border-radius:8px;background:#fff0f2;color:#d63d50;font-size:13px;font-weight:900}.sales-debtor-person>small{display:inline-flex;margin-bottom:3px;padding:2px 7px;border-radius:999px;background:#ffecef;color:#c13648;font-size:9px;font-weight:850}.sales-debtor-person h3,.sales-debtor-person p{margin:0}.sales-debtor-person h3{color:#192136;font-size:16px}.sales-debtor-person p{margin-top:3px;color:#687184;font-size:11px}.sales-debtor-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.sales-debtor-meta span{display:inline-flex;align-items:center;gap:4px;max-width:185px;padding:4px 7px;border:1px solid #efe2df;border-radius:999px;background:#fff;color:#677180;font-size:9px;font-weight:700}.sales-debtor-meta b{color:#a33a25;text-transform:uppercase}.sales-debtor-summary{padding:10px 12px;border:1px solid #f0cfd5;border-radius:8px;background:#fff;text-align:right}.sales-debtor-summary small,.sales-debtor-summary strong,.sales-debtor-summary span{display:block}.sales-debtor-summary small{color:#a34856;font-size:9px;font-weight:850;text-transform:uppercase}.sales-debtor-summary strong{margin-top:2px;color:#d8384d;font-size:22px;line-height:1.1}.sales-debtor-summary span{margin-top:3px;color:#777e8f;font-size:10px;font-weight:700}.sales-debtor-actions{display:grid;gap:7px}.sales-debtor-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border-radius:7px;font-weight:800;white-space:nowrap}.sales-debtor-card details{border-top:1px solid #f1e3e7;background:#fff}.sales-debtor-card summary{display:flex;align-items:center;justify-content:center;gap:5px;padding:10px;color:#6230ca;font-size:10px;font-weight:850;cursor:pointer;list-style:none}.sales-debtor-card details[open] summary .dashicons{transform:rotate(180deg)}.sales-debtor-operations{display:grid;gap:1px;background:#eee9f2}.sales-debtor-operations>div{display:grid;grid-template-columns:.65fr 1.35fr 1fr .7fr .7fr .8fr auto;align-items:center;gap:12px;padding:12px 16px;background:#faf9fc}.sales-debtor-operations span small,.sales-debtor-operations span b{display:block}.sales-debtor-operations span small{color:#858b99;font-size:8px;text-transform:uppercase}.sales-debtor-operations span b{overflow:hidden;margin-top:3px;color:#30374a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.sales-debtor-operations .sales-debtor-balance b{color:#dd4051}.sales-debtor-operations .button{white-space:nowrap}.sales-debtor-card>footer{display:flex;justify-content:space-between;padding:10px 18px;border-top:1px solid #f1e3e7;color:#7a8191;font-size:9px;background:#fff}.sales-debtor-card>footer a{color:#6230ca;font-weight:800}.sales-debtors-empty{padding:55px 20px;border:1px solid #d7eadf;border-radius:8px;background:#fff;text-align:center}.sales-debtors-empty>.dashicons{display:grid;width:54px;height:54px;margin:0 auto 12px;place-items:center;border-radius:50%;background:#e9f8ef;color:#15945c;font-size:30px}.sales-debtors-empty h3,.sales-debtors-empty p{margin:0}.sales-debtors-empty p{margin:6px 0 14px;color:#737b8c}@media(max-width:1200px){.sales-debtor-card>header{grid-template-columns:auto minmax(0,1fr) auto}.sales-debtor-actions{grid-column:2/-1;display:flex;flex-wrap:wrap}.sales-debtor-actions .button{min-width:128px}}@media(max-width:1000px){.sales-debtors-toolbar{align-items:stretch;flex-direction:column}.sales-debtors-toolbar form,.sales-debtors-toolbar label,.sales-debtors-toolbar input{width:100%}.sales-debtors-kpis{grid-template-columns:1fr}.sales-debtor-operations>div{grid-template-columns:repeat(3,1fr)}.sales-debtor-operations .button{grid-column:1/-1;justify-self:start}}@media(max-width:600px){.sales-debtors-toolbar form{flex-direction:column}.sales-debtor-card>header{grid-template-columns:auto 1fr}.sales-debtor-summary,.sales-debtor-actions{grid-column:1/-1;text-align:left}.sales-debtor-actions .button{width:100%}.sales-debtor-operations>div{grid-template-columns:1fr 1fr}.sales-debtor-card>footer{gap:8px;flex-direction:column}}

/* Clinessy Core 2.1.142: saldo por zona del plan en el detalle de la cita. */
.agenda-detail-modal .appointment-pack-balance{margin-top:14px;padding:12px 14px;border:1px solid #cfe7dd;border-radius:8px;background:#f3faf7}
.agenda-detail-modal .appointment-pack-balance-heading{display:flex!important;align-items:center;gap:10px;margin-bottom:10px}
.agenda-detail-modal .appointment-pack-balance-heading .dashicons{display:grid;width:32px;height:32px;place-items:center;border-radius:7px;background:#dff3eb;color:#087b63;font-size:18px}
.agenda-detail-modal .appointment-pack-balance-heading>div{min-width:0}
.agenda-detail-modal .appointment-pack-balance-title,.agenda-detail-modal .appointment-pack-balance-subtitle{display:block;margin:0}
.agenda-detail-modal .appointment-pack-balance-title{color:#173f35;font-size:13px}
.agenda-detail-modal .appointment-pack-balance-subtitle{margin-top:2px;color:#708078;font-size:9px}
.agenda-detail-modal .appointment-pack-balance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.agenda-detail-modal .appointment-pack-balance-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:9px 10px;border:1px solid #dcebe5;border-radius:7px;background:#fff}
.agenda-detail-modal .appointment-pack-balance-item span{overflow:hidden;color:#354a44;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.agenda-detail-modal .appointment-pack-balance-item strong{flex:0 0 auto;color:#087b63;font-size:11px}
.agenda-detail-modal .appointment-pack-balance-item.is-empty{border-color:#f1d3d6;background:#fff8f8}
.agenda-detail-modal .appointment-pack-balance-item.is-empty strong{color:#ce4050}
.agenda-detail-modal .appointment-pack-session{display:inline-flex;align-items:center;margin-left:8px;padding:3px 7px;border:1px solid #d9ccfb;border-radius:999px;background:#f4efff;color:#6d2be8;font-size:9px;font-weight:800;line-height:1;white-space:nowrap}
@media(max-width:760px){.agenda-detail-modal .appointment-pack-balance-grid{grid-template-columns:1fr}}

/* Clinessy Core 2.4.9: saldos independientes de packs vendidos como adicionales. */
.agenda-detail-modal .appointment-additional-pack-balances{border-color:#d9ccfb;background:#faf8ff}
.agenda-detail-modal .appointment-additional-pack-balances .appointment-pack-balance-heading .dashicons{background:#eee7ff;color:#6f2fe8}
.agenda-detail-modal .appointment-additional-pack-note{display:flex;align-items:center;gap:6px;margin:0 0 8px;padding:6px 8px;border-radius:6px;background:#f0ebff;color:#60449a;font-size:8px;font-weight:700;line-height:1.35}
.agenda-detail-modal .appointment-additional-pack-note .dashicons{flex:0 0 auto;width:15px;height:15px;font-size:15px}
.agenda-detail-modal .appointment-additional-pack{padding-top:7px;border-top:1px solid #e4daf8}
.agenda-detail-modal .appointment-additional-pack+.appointment-additional-pack{margin-top:9px}
.agenda-detail-modal .appointment-additional-pack>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.agenda-detail-modal .appointment-additional-pack>header strong{overflow:hidden;color:#38235f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.agenda-detail-modal .appointment-additional-pack>header span{flex:0 0 auto;padding:3px 7px;border-radius:99px;background:#dff3eb;color:#087b63;font-size:8px;font-weight:850}
.agenda-detail-modal .appointment-additional-pack>header span.is-pending{background:#fff0d6;color:#9a6100}
.agenda-detail-modal .appointment-pack-balance-item.is-addon{cursor:default}

/* Clinessy Core 2.4.10: nombre visible para cada pack adicional. */
.agenda-detail-modal .appointment-additional-pack-title{display:flex!important;visibility:visible!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:24px!important;margin:0 0 6px!important;opacity:1!important}
.agenda-detail-modal .appointment-additional-pack-title strong{display:block!important;visibility:visible!important;overflow:hidden!important;color:#38235f!important;font-size:11px!important;font-weight:850!important;line-height:1.2!important;text-overflow:ellipsis!important;white-space:nowrap!important;opacity:1!important}
.agenda-detail-modal .appointment-additional-pack-title span{display:inline-flex!important;visibility:visible!important;flex:0 0 auto!important;padding:3px 7px!important;border-radius:99px!important;background:#dff3eb!important;color:#087b63!important;font-size:8px!important;font-weight:850!important;line-height:1!important;opacity:1!important}
.agenda-detail-modal .appointment-additional-pack-title span.is-pending{background:#fff0d6!important;color:#9a6100!important}

/* Clinessy Core 2.4.11: venta adicional legible en la columna lateral. */
.agenda-detail-modal .appointment-addon-item{grid-template-columns:30px minmax(0,1fr)!important;align-items:start!important;min-height:0!important;padding:8px!important}
.agenda-detail-modal .appointment-addon-copy{display:grid!important;min-width:0!important;gap:5px!important}
.agenda-detail-modal .appointment-addon-copy>strong{overflow:visible!important;font-size:11px!important;line-height:1.2!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important}
.agenda-detail-modal .appointment-addon-meta{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
.agenda-detail-modal .appointment-addon-meta>small{display:block!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;color:#64748b!important;font-size:9px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.agenda-detail-modal .appointment-addon-meta .appointment-addon-status{flex:0 0 auto!important;padding:3px 6px!important;font-size:9px!important}
.agenda-detail-modal .appointment-addon-meta .appointment-addon-menu{flex:0 0 24px!important}
.agenda-detail-modal .appointment-addons-action{min-height:32px!important;font-size:11px!important}

/* Clinessy Core 2.1.145: lectura compacta del saldo y cobro de planes. */
.agenda-detail-modal .appointment-pack-balance{margin-top:11px;padding:10px 12px}
.agenda-detail-modal .appointment-pack-balance-heading{margin-bottom:8px}
.agenda-detail-modal .appointment-pack-balance-grid{gap:6px}
.agenda-detail-modal .appointment-pack-balance-item{display:block;padding:7px 9px}
.agenda-detail-modal .appointment-pack-balance-copy{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.agenda-detail-modal .appointment-pack-balance-copy span{min-width:0}
.agenda-detail-modal .appointment-pack-balance-copy strong{flex:0 0 auto;font-size:9px}
.agenda-detail-modal .appointment-pack-balance-progress{display:block;height:4px;margin-top:6px;overflow:hidden;border-radius:99px;background:#e4eee9}
.agenda-detail-modal .appointment-pack-balance-progress i{display:block;height:100%;border-radius:inherit;background:#14916f}
.agenda-detail-modal .appointment-pack-balance-item.is-empty .appointment-pack-balance-progress{background:#f4dadd}
.agenda-detail-modal .appointment-pack-balance-item.is-empty .appointment-pack-balance-progress i{background:#d94b5b}

/* Clinessy Core 2.1.147: lectura operativa del saldo del plan. */
.agenda-detail-modal .appointment-detail-workspace{grid-template-columns:minmax(0,2.28fr) minmax(240px,.72fr)!important}
.agenda-detail-modal .appointment-detail-main{padding-bottom:42px!important}
.agenda-detail-modal .appointment-detail-sidebar{padding:14px!important}
.agenda-detail-modal .appointment-pack-balance-heading{align-items:flex-start!important}
.agenda-detail-modal .appointment-pack-balance-note{display:flex;align-items:center;gap:6px;margin:0 0 8px;padding:7px 8px;border-radius:6px;background:#e8f6f1;color:#246555;font-size:9px;font-weight:700;line-height:1.35}
.agenda-detail-modal .appointment-pack-balance-note .dashicons{flex:0 0 auto;width:16px;height:16px;color:#128568;font-size:16px}
.agenda-detail-modal .appointment-pack-balance-item{position:relative}
.agenda-detail-modal .appointment-pack-balance-item.is-current{border-color:#69c5aa;box-shadow:inset 3px 0 0 #14916f}
.agenda-detail-modal .appointment-pack-balance-item.is-current .appointment-pack-zone-name{color:#125f4e;font-weight:800}
.agenda-detail-modal .appointment-pack-current{display:inline-flex!important;align-items:center;gap:2px;flex:0 0 auto;margin-left:auto;padding:2px 5px;border-radius:99px;background:#dff3eb;color:#087b63!important;font-size:8px!important;font-weight:800;white-space:nowrap}
.agenda-detail-modal .appointment-pack-current .dashicons{width:11px;height:11px;font-size:11px}
.agenda-detail-modal .appointment-pack-balance-copy{flex-wrap:wrap}
.agenda-detail-modal .appointment-pack-balance-copy strong{margin-left:auto}
.agenda-detail-modal .appointment-pack-balance-item.is-healthy .appointment-pack-balance-progress i{background:#14916f}
.agenda-detail-modal .appointment-pack-balance-item.is-low{border-color:#efd69c;background:#fffaf0}
.agenda-detail-modal .appointment-pack-balance-item.is-low strong{color:#9b6500}
.agenda-detail-modal .appointment-pack-balance-item.is-low .appointment-pack-balance-progress{background:#f3e8ca}
.agenda-detail-modal .appointment-pack-balance-item.is-low .appointment-pack-balance-progress i{background:#d99a16}
.agenda-detail-modal .appointment-pack-balance-item.is-empty{border-color:#efb9bf;background:#fff5f6}
.agenda-detail-modal .appointment-pack-balance-item.is-empty .appointment-pack-zone-name,.agenda-detail-modal .appointment-pack-balance-item.is-empty strong{color:#bd3343}
@media(max-width:780px){.agenda-detail-modal .appointment-detail-workspace{grid-template-columns:1fr!important}.agenda-detail-modal .appointment-detail-main{padding-bottom:28px!important}}
.agenda-detail-modal .appointment-pack-session{padding:4px 8px;border-color:#6f32df;background:#6f32df;color:#fff;box-shadow:0 2px 6px rgba(111,50,223,.18)}
.agenda-detail-modal .appointment-payment-covered{border-color:#9fd7b7!important}
.agenda-detail-modal .appointment-payment-covered header{align-items:center!important;border-color:#b5e0c7!important;color:#087747!important;background:#f1fbf5!important}
.agenda-detail-modal .appointment-plan-covered{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;margin:11px 13px;padding:11px 12px;border:1px solid #cfe7dd;border-radius:7px;background:#f5fbf8;color:#164c3e}
.agenda-detail-modal .appointment-plan-covered>.dashicons{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#dff4ea;color:#087747;font-size:22px;line-height:38px}
.agenda-detail-modal .appointment-plan-covered .appointment-plan-paid-label{margin:0 0 4px;color:#087747;font-size:12px;font-weight:850;line-height:1.1}
.agenda-detail-modal .appointment-plan-covered strong{display:block;font-size:16px;line-height:1.15}
.agenda-detail-modal .appointment-plan-covered small{display:block;margin-top:3px;color:#65766f;font-size:10px;line-height:1.25}

/* Clinessy Core 2.1.146: contador de sesion del plan mas visible. */
.agenda-detail-modal .appointment-pack-session{display:inline-flex;align-items:center;min-height:28px;margin-left:12px;padding:6px 12px;border:1px solid #5720bf;border-radius:8px;background:#6f2fe8;color:#fff;box-shadow:0 4px 10px rgba(91,35,190,.24);font-size:12px;font-weight:900;line-height:1;white-space:nowrap}
@media(max-width:760px){.agenda-detail-modal .appointment-pack-session{min-height:25px;margin-left:6px;padding:5px 8px;font-size:11px}}
/* Clinessy Core 2.1.148: saldo del plan compacto para mantener comentarios visibles. */
.agenda-detail-modal .appointment-detail-main{padding-bottom:24px!important}
.agenda-detail-modal .appointment-pack-balance{margin-top:8px;padding:8px 10px}
.agenda-detail-modal .appointment-pack-balance-heading{align-items:center!important;margin-bottom:6px}
.agenda-detail-modal .appointment-pack-balance-heading .dashicons{width:28px;height:28px;font-size:16px}
.agenda-detail-modal .appointment-pack-balance-title{font-size:12px}
.agenda-detail-modal .appointment-pack-balance-subtitle{font-size:8px}
.agenda-detail-modal .appointment-pack-balance-note{margin:0 0 6px;padding:5px 7px;font-size:8px}
.agenda-detail-modal .appointment-pack-balance-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.agenda-detail-modal .appointment-pack-balance-item{display:block;padding:6px 7px}
.agenda-detail-modal .appointment-pack-balance-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px}
.agenda-detail-modal .appointment-pack-zone-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agenda-detail-modal .appointment-pack-current{grid-column:1;grid-row:2;justify-self:start;margin:0}
.agenda-detail-modal .appointment-pack-balance-copy strong{grid-column:2;grid-row:1/3;align-self:center;margin:0;font-size:10px}
.agenda-detail-modal .appointment-pack-balance-progress{display:none!important}
.agenda-detail-modal .appointment-comment-compact{margin-top:7px!important}
.agenda-detail-modal .appointment-comment-compact summary{padding:8px 0!important}
@media(max-width:1150px){.agenda-detail-modal .appointment-pack-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.agenda-detail-modal .appointment-pack-balance-grid{grid-template-columns:1fr}}

/* Clinessy Core 2.1.149: superficie sutil para el resumen de la cita. */
.agenda-detail-modal .appointment-detail-main > .appointment-detail-section-title {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 10px 14px 8px !important;
  border: 1px solid #d6e9e3 !important;
  border-bottom: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  background: #f7fcfa !important;
}
.agenda-detail-modal .appointment-detail-main > .appointment-detail-section-title + .appointment-facts {
  box-sizing: border-box !important;
  margin: 0 0 10px !important;
  padding: 0 14px 10px !important;
  border: 1px solid #d6e9e3 !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
  background: #f7fcfa !important;
}
.agenda-detail-modal .appointment-payment-unpaid,
.agenda-detail-modal .appointment-payment-partial{
  border:2px solid #ff7168!important;
  background:#fffafa!important;
  box-shadow:0 8px 20px rgba(220,62,55,.10)!important
}
.agenda-detail-modal .appointment-payment-unpaid header,
.agenda-detail-modal .appointment-payment-partial header{
  align-items:center!important;
  padding:11px 13px!important;
  border-bottom:1px solid #ffc9c5!important;
  background:#fff0ef!important;
  color:#c9342e!important;
  font-size:14px!important
}
.agenda-detail-modal .appointment-payment-balance{
  margin:12px 13px 4px!important;
  padding:11px 13px!important;
  border-radius:6px!important;
  background:#fff0ef!important;
  color:#c9342e!important
}
.agenda-detail-modal .appointment-payment-balance small,
.agenda-detail-modal .appointment-payment-balance strong{display:block!important}
.agenda-detail-modal .appointment-payment-balance strong{
  margin-top:2px!important;
  font-size:22px!important;
  line-height:1.15!important
}
.agenda-detail-modal .appointment-payment-unpaid dl,
.agenda-detail-modal .appointment-payment-partial dl{
  padding:6px 13px 10px!important;
  color:#5f6775!important
}
.agenda-detail-modal .appointment-payment-unpaid .button,
.agenda-detail-modal .appointment-payment-partial .button{
  width:calc(100% - 26px)!important;
  min-height:40px!important;
  margin:0 13px 13px!important;
  border-color:#e94c43!important;
  background:#e94c43!important;
  color:#fff!important;
  text-decoration:none!important
}

/* Clinessy Core 2.1.160: guardar solo cuando el detalle esta en edicion. */
.agenda-detail-modal .appointment-detail-actions-v2{
  grid-template-columns:auto 1fr auto auto!important;
}
.agenda-detail-modal .appointment-detail-card:not(.is-editing) .appointment-back-summary{
  display:none!important;
}
.agenda-detail-modal .appointment-detail-card:not(.is-editing) .appointment-save{
  display:none!important;
}

/* Clinessy Core 2.1.161: jerarquia visual y menu contenido en el pie del detalle. */
.agenda-detail-modal .appointment-detail-actions-v2{
  min-height:60px!important;
  padding:10px 22px!important;
  gap:10px!important;
  background:#fff!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.button,
.agenda-detail-modal .appointment-more-actions>summary{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 16px!important;
  border-radius:8px!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
  box-shadow:none!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.clinessy-modal-close-secondary,
.agenda-detail-modal .appointment-back-summary{
  border:1px solid #d8e0ea!important;
  background:#fff!important;
  color:#4f5b70!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.clinessy-modal-close-secondary:hover,
.agenda-detail-modal .appointment-detail-actions-v2>.clinessy-modal-close-secondary:focus,
.agenda-detail-modal .appointment-back-summary:hover,
.agenda-detail-modal .appointment-back-summary:focus{
  border-color:#b8c4d3!important;
  background:#f8fafc!important;
  color:#172033!important;
}
.agenda-detail-modal .appointment-edit-trigger{
  min-width:150px!important;
  border:1px solid #087553!important;
  background:#087553!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(8,117,83,.18)!important;
}
.agenda-detail-modal .appointment-edit-trigger .dashicons,
.agenda-detail-modal .appointment-save .dashicons{
  color:inherit!important;
}
.agenda-detail-modal .appointment-edit-trigger:hover,
.agenda-detail-modal .appointment-edit-trigger:focus{
  border-color:#075f46!important;
  background:#075f46!important;
  color:#fff!important;
}
.agenda-detail-modal .appointment-more-actions{
  justify-self:end!important;
}
.agenda-detail-modal .appointment-more-actions>summary{
  width:40px!important;
  min-width:40px!important;
  padding:0!important;
  border:1px solid #d8e0ea!important;
  background:#fff!important;
  color:#526075!important;
  font-size:0!important;
}
.agenda-detail-modal .appointment-more-actions>summary::before{
  content:"•••";
  font-size:17px!important;
  line-height:1!important;
  letter-spacing:1px!important;
}
.agenda-detail-modal .appointment-more-actions>summary:hover,
.agenda-detail-modal .appointment-more-actions>summary:focus{
  border-color:#b8c4d3!important;
  background:#f8fafc!important;
  color:#172033!important;
}
.agenda-detail-modal .appointment-more-actions>div{
  left:auto!important;
  right:0!important;
  bottom:48px!important;
  width:210px!important;
}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save{
  min-width:150px!important;
  min-height:40px!important;
  height:40px!important;
  border-radius:8px!important;
  border-color:#087553!important;
  background:#087553!important;
  box-shadow:0 8px 18px rgba(8,117,83,.18)!important;
}

/* Clinessy Core 2.1.162: tonos suaves y texto visible para opciones. */
.agenda-detail-modal .appointment-detail-actions-v2>.clinessy-modal-close-secondary{
  border-color:#fecaca!important;
  background:#fff7f7!important;
  color:#9f2f2f!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.clinessy-modal-close-secondary:hover,
.agenda-detail-modal .appointment-detail-actions-v2>.clinessy-modal-close-secondary:focus{
  border-color:#fca5a5!important;
  background:#fff1f1!important;
  color:#7f1d1d!important;
}
.agenda-detail-modal .appointment-edit-trigger{
  border-color:#10b981!important;
  background:#10b981!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(16,185,129,.18)!important;
}
.agenda-detail-modal .appointment-edit-trigger:hover,
.agenda-detail-modal .appointment-edit-trigger:focus{
  border-color:#0ea371!important;
  background:#0ea371!important;
}
.agenda-detail-modal .appointment-more-actions>summary{
  width:auto!important;
  min-width:96px!important;
  padding:0 16px!important;
  font-size:12px!important;
  letter-spacing:0!important;
}
.agenda-detail-modal .appointment-more-actions>summary::before{
  content:none!important;
}

/* Clinessy Core 2.1.163: editar cita verde tambien en estado normal. */
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:visited{
  border-color:#10b981!important;
  background:#10b981!important;
  background-color:#10b981!important;
  background-image:none!important;
  color:#fff!important;
  text-shadow:none!important;
  box-shadow:0 8px 18px rgba(16,185,129,.18)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button .dashicons{
  color:#fff!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:hover,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:focus,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:active{
  border-color:#0ea371!important;
  background:#0ea371!important;
  background-color:#0ea371!important;
  color:#fff!important;
}

/* Clinessy Core 2.1.164: zonas del plan seleccionables desde el resumen. */
.agenda-detail-modal .appointment-pack-balance-item{
  cursor:pointer!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}
.agenda-detail-modal .appointment-pack-balance-item input[data-appointment-pack-zone]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.agenda-detail-modal .appointment-pack-balance-item.is-current{
  background:#fffdf7!important;
}
.agenda-detail-modal .appointment-pack-balance-item.is-not-current{
  border-color:#d8e0ea!important;
  background:#f8fafc!important;
  box-shadow:none!important;
  opacity:.82!important;
}
.agenda-detail-modal .appointment-pack-balance-item.is-not-current .appointment-pack-zone-name,
.agenda-detail-modal .appointment-pack-balance-item.is-not-current strong{
  color:#64748b!important;
}
.agenda-detail-modal .appointment-pack-balance-item.is-not-current .appointment-pack-current{
  background:#edf2f7!important;
  color:#64748b!important;
}
.agenda-detail-modal .appointment-pack-balance-item.is-not-current .appointment-pack-current .dashicons{
  color:#64748b!important;
}
.agenda-detail-modal .appointment-pack-balance-item.is-locked{
  cursor:default!important;
}
.agenda-detail-modal .appointment-pack-balance.is-saving .appointment-pack-balance-item{
  pointer-events:none!important;
}
.agenda-detail-modal .appointment-pack-balance-note.is-saving{
  background:#eef2ff!important;
  color:#4f46e5!important;
}
.agenda-detail-modal .appointment-pack-balance-note.is-saved{
  background:#e8f6f1!important;
  color:#246555!important;
}
.agenda-detail-modal .appointment-pack-balance-note.is-error{
  background:#fff1f1!important;
  color:#9f2f2f!important;
}
.agenda-detail-modal .appointment-pack-balance-note.is-error .dashicons{
  color:#b91c1c!important;
}

/* Clinessy Core 2.1.167: guardar junto a editar en el pie del detalle. */
.agenda-detail-modal .appointment-detail-actions-v2{
  grid-template-columns:1fr auto auto auto!important;
}
.agenda-detail-modal .appointment-back-summary{
  grid-column:2!important;
}
.agenda-detail-modal .appointment-edit-trigger{
  grid-column:2!important;
}
.agenda-detail-modal .appointment-summary-save{
  grid-column:3!important;
  min-width:132px!important;
  border-color:#0f766e!important;
  background:#ecfdf5!important;
  color:#047857!important;
}
.agenda-detail-modal .appointment-summary-save .dashicons{
  color:#047857!important;
}
.agenda-detail-modal .appointment-summary-save:hover,
.agenda-detail-modal .appointment-summary-save:focus{
  border-color:#0f766e!important;
  background:#d1fae5!important;
  color:#065f46!important;
}
.agenda-detail-modal .appointment-summary-save:hover .dashicons,
.agenda-detail-modal .appointment-summary-save:focus .dashicons{
  color:#065f46!important;
}
.agenda-detail-modal .appointment-more-actions{
  grid-column:4!important;
}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-summary-save{
  display:none!important;
}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save{
  grid-column:3!important;
}

/* Clinessy Core 2.1.168: botones inferiores del detalle mas pulidos. */
.agenda-detail-modal .appointment-detail-actions-v2{
  min-height:68px!important;
  padding:12px 22px!important;
  gap:12px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.button,
.agenda-detail-modal .appointment-more-actions>summary{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:44px!important;
  height:44px!important;
  padding:0 20px!important;
  border-radius:8px!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  text-decoration:none!important;
  text-shadow:none!important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.button:hover,
.agenda-detail-modal .appointment-more-actions>summary:hover{
  transform:translateY(-1px)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.button:focus,
.agenda-detail-modal .appointment-more-actions>summary:focus{
  outline:2px solid rgba(16,185,129,.20)!important;
  outline-offset:2px!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:visited{
  min-width:172px!important;
  border:1px solid #12b981!important;
  background:#12b981!important;
  background-color:#12b981!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(18,185,129,.24)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:hover,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:focus,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:active{
  border-color:#0ea371!important;
  background:#0ea371!important;
  background-color:#0ea371!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(14,163,113,.26)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button .dashicons{
  color:#fff!important;
}
.agenda-detail-modal .appointment-summary-save{
  min-width:142px!important;
  border:1px solid #b7e4d5!important;
  background:#f0fdf8!important;
  background-color:#f0fdf8!important;
  color:#066a52!important;
  box-shadow:0 8px 18px rgba(15,118,110,.10)!important;
}
.agenda-detail-modal .appointment-summary-save .dashicons{
  color:#078464!important;
}
.agenda-detail-modal .appointment-summary-save:hover,
.agenda-detail-modal .appointment-summary-save:focus{
  border-color:#7dd3b9!important;
  background:#dcfce7!important;
  background-color:#dcfce7!important;
  color:#065f46!important;
  box-shadow:0 10px 20px rgba(15,118,110,.14)!important;
}
.agenda-detail-modal .appointment-summary-save:hover .dashicons,
.agenda-detail-modal .appointment-summary-save:focus .dashicons{
  color:#065f46!important;
}
.agenda-detail-modal .appointment-more-actions>summary{
  min-width:124px!important;
  border:1px solid #d8e0ea!important;
  background:#fff!important;
  background-color:#fff!important;
  color:#4d5870!important;
  box-shadow:0 8px 18px rgba(20,34,58,.06)!important;
}
.agenda-detail-modal .appointment-more-actions>summary .dashicons{
  width:18px!important;
  height:18px!important;
  font-size:18px!important;
  color:#64748b!important;
}
.agenda-detail-modal .appointment-more-actions>summary:hover,
.agenda-detail-modal .appointment-more-actions>summary:focus{
  border-color:#c3ccda!important;
  background:#f8fafc!important;
  background-color:#f8fafc!important;
  color:#172033!important;
  box-shadow:0 10px 20px rgba(20,34,58,.08)!important;
}
.agenda-detail-modal .appointment-more-actions>summary:hover .dashicons,
.agenda-detail-modal .appointment-more-actions>summary:focus .dashicons{
  color:#334155!important;
}
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save{
  min-width:172px!important;
  border-color:#12b981!important;
  background:#12b981!important;
  background-color:#12b981!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(18,185,129,.24)!important;
}

/* Clinessy Core 2.1.169: guardar principal verde y editar en tono calido. */
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:visited{
  border-color:#fb923c!important;
  background:#fff7ed!important;
  background-color:#fff7ed!important;
  color:#9a3412!important;
  box-shadow:0 8px 18px rgba(251,146,60,.14)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button .dashicons{
  color:#ea580c!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:hover,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:focus,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:active{
  border-color:#f97316!important;
  background:#ffedd5!important;
  background-color:#ffedd5!important;
  color:#7c2d12!important;
  box-shadow:0 10px 22px rgba(249,115,22,.18)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:hover .dashicons,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:focus .dashicons,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:active .dashicons{
  color:#c2410c!important;
}
.agenda-detail-modal .appointment-summary-save,
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save{
  min-width:150px!important;
  border-color:#10b981!important;
  background:#10b981!important;
  background-color:#10b981!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(16,185,129,.24)!important;
}
.agenda-detail-modal .appointment-summary-save .dashicons,
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save .dashicons{
  color:#fff!important;
}
.agenda-detail-modal .appointment-summary-save:hover,
.agenda-detail-modal .appointment-summary-save:focus,
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save:hover,
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save:focus{
  border-color:#0ea371!important;
  background:#0ea371!important;
  background-color:#0ea371!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(14,163,113,.26)!important;
}
.agenda-detail-modal .appointment-summary-save:hover .dashicons,
.agenda-detail-modal .appointment-summary-save:focus .dashicons,
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save:hover .dashicons,
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save:focus .dashicons{
  color:#fff!important;
}

/* Clinessy Core 2.1.170: guardar siempre verde y grupo inferior mas consistente. */
.agenda-detail-modal .appointment-detail-actions-v2{
  grid-template-columns:1fr auto auto auto!important;
  gap:14px!important;
  padding:12px 26px!important;
  background:#fff!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.button,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-more-actions>summary.button{
  min-height:46px!important;
  height:46px!important;
  border-radius:9px!important;
  font-size:13px!important;
  font-weight:850!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:visited,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:hover,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:focus,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:active,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:disabled{
  min-width:168px!important;
  border:1px solid #10b981!important;
  background:#10b981!important;
  background-color:#10b981!important;
  background-image:none!important;
  color:#fff!important;
  opacity:1!important;
  text-shadow:none!important;
  box-shadow:0 12px 24px rgba(16,185,129,.24)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:hover,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:focus,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:active{
  border-color:#0ea371!important;
  background:#0ea371!important;
  background-color:#0ea371!important;
  box-shadow:0 14px 28px rgba(14,163,113,.28)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save .dashicons,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:hover .dashicons,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:focus .dashicons,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:active .dashicons,
.agenda-detail-modal .appointment-detail-actions-v2>button.button.appointment-summary-save:disabled .dashicons{
  color:#fff!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button,
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button:visited{
  min-width:170px!important;
  border-color:#fb923c!important;
  background:#fff7ed!important;
  background-color:#fff7ed!important;
  color:#9a3412!important;
  box-shadow:0 8px 18px rgba(251,146,60,.12)!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-edit-trigger.button .dashicons{
  color:#ea580c!important;
}
.agenda-detail-modal .appointment-detail-actions-v2>.appointment-more-actions>summary.button{
  min-width:132px!important;
  border-color:#d8e0ea!important;
  background:#fff!important;
  color:#475569!important;
}

/* Clinessy Core 2.1.171: estado y accion principal como una sola tarjeta. */
.agenda-detail-modal .appointment-status-card{
  display:grid!important;
  gap:10px!important;
  padding:12px!important;
  border:1px solid #d9cdf8!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#fbf8ff 0%,#ffffff 100%)!important;
  box-shadow:0 10px 24px rgba(64,45,113,.06)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state>.dashicons{
  display:grid!important;
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  place-items:center!important;
  border-radius:8px!important;
  background:#f1e8ff!important;
  color:#6734d8!important;
  font-size:20px!important;
  line-height:36px!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state small{
  color:#6b7280!important;
  font-size:10px!important;
  font-weight:650!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state strong{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  margin-top:3px!important;
  color:#5b2fd2!important;
  font-size:16px!important;
  line-height:1.1!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state strong i{
  width:8px!important;
  height:8px!important;
  border-radius:999px!important;
  background:#6d37df!important;
  box-shadow:0 0 0 4px rgba(109,55,223,.12)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-confirmed strong i,
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-arrived strong i,
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-attended strong i,
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-sold strong i{
  background:#0f8f7f!important;
  box-shadow:0 0 0 4px rgba(15,143,127,.12)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-primary-status{
  min-height:48px!important;
  margin-top:0!important;
  border:0!important;
  border-radius:8px!important;
  background:#6d28d9!important;
  background-color:#6d28d9!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:850!important;
  box-shadow:0 10px 22px rgba(109,40,217,.22)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-primary-status:hover,
.agenda-detail-modal .appointment-status-card .appointment-primary-status:focus{
  background:#5f22c8!important;
  background-color:#5f22c8!important;
  color:#fff!important;
  box-shadow:0 12px 24px rgba(95,34,200,.25)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-primary-status:disabled{
  opacity:1!important;
  background:#0f766e!important;
  background-color:#0f766e!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(15,118,110,.16)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-primary-status .dashicons{
  color:#fff!important;
}
.agenda-detail-modal .appointment-next-state{
  display:block!important;
  margin-top:-2px!important;
  color:#7a647e!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.2!important;
  text-align:center!important;
}

/* Clinessy Core 2.1.172: acciones de comunicacion mas claras y parejas. */
.agenda-detail-modal .appointment-communication{
  display:grid!important;
  gap:10px!important;
  margin-top:16px!important;
}
.agenda-detail-modal .appointment-communication h4{
  margin:0!important;
  color:#172033!important;
  font-size:12px!important;
  font-weight:750!important;
  letter-spacing:0!important;
}
.agenda-detail-modal .appointment-communication .button{
  display:inline-flex!important;
  width:100%!important;
  min-height:46px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  padding:0 14px!important;
  border-radius:8px!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
  text-decoration:none!important;
  text-shadow:none!important;
  box-shadow:none!important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.agenda-detail-modal .appointment-communication .button .dashicons{
  width:20px!important;
  height:20px!important;
  font-size:20px!important;
  line-height:20px!important;
}
.agenda-detail-modal .appointment-communication .button:hover,
.agenda-detail-modal .appointment-communication .button:focus{
  transform:translateY(-1px)!important;
}
.agenda-detail-modal .appointment-communication .button:first-of-type{
  border:1px solid #b7e4d5!important;
  background:#ecfdf5!important;
  background-color:#ecfdf5!important;
  color:#047857!important;
  box-shadow:0 8px 18px rgba(15,118,110,.08)!important;
}
.agenda-detail-modal .appointment-communication .button:first-of-type .dashicons{
  color:#059669!important;
}
.agenda-detail-modal .appointment-communication .button:first-of-type:hover,
.agenda-detail-modal .appointment-communication .button:first-of-type:focus{
  border-color:#7dd3b9!important;
  background:#d1fae5!important;
  background-color:#d1fae5!important;
  color:#065f46!important;
  box-shadow:0 10px 20px rgba(15,118,110,.12)!important;
}
.agenda-detail-modal .appointment-communication .button:last-of-type{
  border:1px solid #99f6e4!important;
  background:#fff!important;
  background-color:#fff!important;
  color:#047857!important;
  box-shadow:inset 0 -3px 0 rgba(15,118,110,.55),0 8px 18px rgba(15,118,110,.05)!important;
}
.agenda-detail-modal .appointment-communication .button:last-of-type .dashicons{
  color:#047857!important;
}
.agenda-detail-modal .appointment-communication .button:last-of-type:hover,
.agenda-detail-modal .appointment-communication .button:last-of-type:focus{
  border-color:#5eead4!important;
  background:#f0fdfa!important;
  background-color:#f0fdfa!important;
  color:#065f46!important;
  box-shadow:inset 0 -3px 0 rgba(15,118,110,.60),0 10px 20px rgba(15,118,110,.10)!important;
}

/* Clinessy Core 2.1.175: edicion de atencion mas clara y compacta. */
.agenda-detail-modal .appointment-attention-grid .reservation-service-stack{
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr)!important;
  align-items:start!important;
  padding:14px!important;
  border-color:#e0d7f4!important;
  background:#fbf8ff!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-stack>span{
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:5px!important;
  padding-top:3px!important;
  color:#43236f!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-stack>span:before{
  width:9px!important;
  height:9px!important;
  box-shadow:0 0 0 4px rgba(117,64,220,.10)!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-stack>span:after{
  content:"Ajusta las zonas realizadas en esta atencion.";
  max-width:170px;
  color:#81748f;
  font-size:10px;
  font-weight:750;
  line-height:1.35;
}
.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones{
  border-color:#c9eadf!important;
  background:#f5fbf8!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones>span{
  color:#075f46!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones>span:before{
  background:#0f8b68!important;
  box-shadow:0 0 0 4px rgba(15,139,104,.10)!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones>span:after{
  content:"Las zonas provienen del plan vendido. Revisa las realizadas desde el resumen de la cita.";
  color:#60766f;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-rows{
  display:grid!important;
  gap:8px!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px!important;
  border:1px solid #e9e1f6!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(48,31,82,.035)!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones .reservation-service-row{
  grid-template-columns:minmax(0,1fr)!important;
  border-color:#cfe7dd!important;
  background:#fffefa!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-row select{
  min-height:42px!important;
  border-color:#d9d0ed!important;
  border-radius:7px!important;
  color:#141b2d!important;
  font-weight:750!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones .reservation-service-row select:disabled{
  border-color:#badfd2!important;
  background:#fffefa!important;
  color:#0d5f4a!important;
  opacity:1!important;
  cursor:default!important;
  -webkit-text-fill-color:#0d5f4a!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add,
.agenda-detail-modal .appointment-attention-grid .reservation-service-remove{
  display:inline-flex!important;
  width:auto!important;
  min-width:88px!important;
  height:42px!important;
  min-height:42px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add b,
.agenda-detail-modal .appointment-attention-grid .reservation-service-remove b{
  display:inline!important;
  font:inherit!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add{
  border:1px solid #99d8c6!important;
  background:#e8f8f2!important;
  color:#067056!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add .dashicons{
  color:#078461!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add:hover,
.agenda-detail-modal .appointment-attention-grid .reservation-service-add:focus{
  background:#d7f4ea!important;
  border-color:#69c9ad!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-remove{
  border:1px solid #ffc7cd!important;
  background:#fff5f6!important;
  color:#b72f42!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-remove:hover,
.agenda-detail-modal .appointment-attention-grid .reservation-service-remove:focus{
  background:#ffe9ec!important;
  border-color:#ffadb7!important;
}
.agenda-detail-modal .appointment-attention-grid .appointment-field-professional:has(option[value=""]:checked)::after{
  content:"Recomendado antes de atender";
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-top:7px;
  padding:4px 8px;
  border-radius:999px;
  background:#fff0cf;
  color:#956109;
  font-size:10px;
  font-weight:850;
  line-height:1;
}
@media(max-width:780px){
  .agenda-detail-modal .appointment-attention-grid .reservation-service-stack{
    grid-template-columns:1fr!important;
  }
  .agenda-detail-modal .appointment-attention-grid .reservation-service-stack>span:after{
    max-width:none;
  }
  .agenda-detail-modal .appointment-attention-grid .reservation-service-row{
    grid-template-columns:minmax(0,1fr) 42px 42px!important;
  }
  .agenda-detail-modal .appointment-attention-grid .reservation-service-add,
  .agenda-detail-modal .appointment-attention-grid .reservation-service-remove{
    min-width:42px!important;
    padding:0!important;
  }
  .agenda-detail-modal .appointment-attention-grid .reservation-service-add b,
  .agenda-detail-modal .appointment-attention-grid .reservation-service-remove b{
    display:none!important;
  }
}

/* Clinessy Core 2.1.177: color sutil para Box y Comentario en edicion. */
.agenda-detail-modal .appointment-attention-grid .appointment-field-box{
  border-color:#a7ddd0!important;
  background:#f2fbf8!important;
  box-shadow:inset 4px 0 0 #4fc3aa,0 7px 18px rgba(15,118,110,.045)!important;
}
.agenda-detail-modal .appointment-attention-grid .appointment-field-box:before{
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  margin-right:7px;
  border-radius:50%;
  background:#0f8b68;
  box-shadow:0 0 0 4px rgba(15,139,104,.10);
  vertical-align:middle;
}
.agenda-detail-modal .appointment-attention-grid .appointment-field-box select{
  border-color:#c7e4dc!important;
  background:#fff!important;
}
.agenda-detail-modal .appointment-attention-grid .appointment-field-box:focus-within{
  border-color:#5fc8b1!important;
  box-shadow:inset 4px 0 0 #0f8b68,0 0 0 3px rgba(15,139,104,.10)!important;
}
.agenda-detail-modal .appointment-attention-grid .appointment-field-comments{
  border-color:#c9dcf6!important;
  background:#f5f9ff!important;
  box-shadow:inset 4px 0 0 #4b83d1,0 7px 18px rgba(59,100,165,.04)!important;
}
.agenda-detail-modal .appointment-attention-grid .appointment-field-comments:before{
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  margin-right:7px;
  border-radius:50%;
  background:#2f6ec8;
  box-shadow:0 0 0 4px rgba(47,110,200,.10);
  vertical-align:middle;
}
.agenda-detail-modal .appointment-attention-grid .appointment-field-comments textarea{
  border-color:#cfddf1!important;
  background:#fff!important;
}
.agenda-detail-modal .appointment-attention-grid .appointment-field-comments:focus-within{
  border-color:#7aa7e4!important;
  box-shadow:inset 4px 0 0 #2f6ec8,0 0 0 3px rgba(47,110,200,.10)!important;
}

/* Clinessy Core 2.1.178: selector visual de hora. */
.clinessy-time-field{
  position:relative;
  display:block;
  width:100%;
}
.clinessy-time-field input.clinessy-time-24h{
  width:100%!important;
  padding-right:48px!important;
}
.clinessy-time-toggle{
  position:absolute;
  top:50%;
  right:8px;
  display:grid;
  width:34px;
  height:34px;
  min-height:34px;
  place-items:center;
  padding:0;
  border:1px solid #d2dce8;
  border-radius:7px;
  background:#f8fafc;
  color:#334155;
  transform:translateY(-50%);
  cursor:pointer;
  box-shadow:none;
}
.clinessy-time-toggle:hover,
.clinessy-time-toggle:focus{
  border-color:#86cfc0;
  background:#eefbf7;
  color:#087c73;
}
.clinessy-time-toggle .dashicons{
  width:18px;
  height:18px;
  font-size:18px;
  line-height:18px;
}
.clinessy-time-picker{
  position:absolute;
  z-index:999999;
  top:calc(100% + 8px);
  right:0;
  display:none;
  grid-template-columns:auto auto auto;
  align-items:center;
  gap:10px;
  min-width:220px;
  padding:12px 14px;
  border:1px solid #d7e0ec;
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 34px rgba(15,23,42,.18);
}
.clinessy-time-picker.is-open{
  display:grid;
}
.clinessy-time-spin{
  display:grid;
  justify-items:center;
  gap:8px;
}
.clinessy-time-spin button{
  display:grid;
  width:34px;
  height:28px;
  min-height:28px;
  place-items:center;
  padding:0;
  border:0;
  border-radius:7px;
  background:#eefbf7;
  color:#087c73;
  cursor:pointer;
}
.clinessy-time-spin button:hover,
.clinessy-time-spin button:focus{
  background:#d7f4ea;
}
.clinessy-time-spin .dashicons{
  width:18px;
  height:18px;
  font-size:18px;
  line-height:18px;
}
.clinessy-time-spin strong{
  display:grid;
  width:54px;
  height:44px;
  place-items:center;
  border:1px solid #d7e0ec;
  border-radius:8px;
  background:#fff;
  color:#172033;
  font-size:18px;
  font-weight:850;
  letter-spacing:0;
}
.clinessy-time-separator{
  color:#334155;
  font-size:22px;
  font-weight:900;
}

/* Clinessy Core 2.1.179: ajuste de dimensiones en reloj y servicios. */
.clinessy-time-field .clinessy-time-toggle{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:0!important;
  border-radius:7px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  font-size:0!important;
  text-indent:0!important;
  overflow:hidden!important;
}
.clinessy-time-field .clinessy-time-toggle .dashicons{
  width:18px!important;
  height:18px!important;
  font-size:18px!important;
  line-height:18px!important;
}
.reservation-service-row .reservation-service-add,
.reservation-service-row .reservation-service-remove{
  display:inline-grid!important;
  place-items:center!important;
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0!important;
  border-radius:50%!important;
  font-size:0!important;
  line-height:1!important;
  overflow:hidden!important;
}
.reservation-service-row .reservation-service-add b,
.reservation-service-row .reservation-service-remove b{
  display:none!important;
}
.reservation-service-row .reservation-service-add .dashicons,
.reservation-service-row .reservation-service-remove .dashicons{
  width:16px!important;
  height:16px!important;
  font-size:16px!important;
  line-height:16px!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add,
.agenda-detail-modal .appointment-attention-grid .reservation-service-remove{
  width:auto!important;
  min-width:88px!important;
  max-width:none!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:11px!important;
  overflow:visible!important;
}
.agenda-detail-modal .appointment-attention-grid .reservation-service-add b,
.agenda-detail-modal .appointment-attention-grid .reservation-service-remove b{
  display:inline!important;
}
@media(max-width:780px){
  .agenda-detail-modal .appointment-attention-grid .reservation-service-add,
  .agenda-detail-modal .appointment-attention-grid .reservation-service-remove{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    padding:0!important;
    border-radius:8px!important;
    font-size:0!important;
    overflow:hidden!important;
  }
  .agenda-detail-modal .appointment-attention-grid .reservation-service-add b,
  .agenda-detail-modal .appointment-attention-grid .reservation-service-remove b{
    display:none!important;
  }
}

/* Clinessy Core 2.1.180: evita controles de servicio desalineados al abrir el modal. */
.reservation-service-rows .reservation-service-row:first-child .reservation-service-remove{
  display:none!important;
}
.reservation-service-rows .reservation-service-row:not(:first-child) .reservation-service-add{
  display:none!important;
}
.reservation-quick-modal .reservation-service-row{
  grid-template-columns:minmax(0,1fr) 40px!important;
}
.reservation-quick-modal .reservation-service-add,
.reservation-quick-modal .reservation-service-remove{
  justify-self:center!important;
  align-self:center!important;
}
.reservation-quick-modal .reservation-service-row select{
  grid-column:1!important;
}

/* Clinessy Core 2.2.1: icono de WhatsApp en comunicación de cita. */
.appointment-communication .appointment-whatsapp-icon{
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  display:block!important;
  fill:currentColor!important;
}

/* Clinessy Core 2.2.2: flujo de detalle con paso En atención. */
.appointment-progress,
.agenda-detail-modal .appointment-detail-main .appointment-progress{
  grid-template-columns:repeat(5,1fr)!important;
}
.appointment-step-4.is-current>.dashicons,
.appointment-step-4.is-complete>.dashicons{
  border-color:#38a7d6!important;
  background:#e8f7fc!important;
  color:#1e8db9!important;
}
.appointment-step-4.is-current .appointment-step-number,
.appointment-step-4.is-complete .appointment-step-number{
  background:#2ea4cf!important;
}
.appointment-step-4.is-current strong,
.appointment-step-4.is-complete strong{
  color:#176f91!important;
}
.appointment-step-4.is-current:after,
.appointment-step-4.is-complete:after{
  border-color:#2ea4cf!important;
}
.appointment-step-5.is-current>.dashicons,
.appointment-step-5.is-complete>.dashicons{
  border-color:#0b684d!important;
  background:#e9f6f0!important;
  color:#0b684d!important;
}
.appointment-step-5.is-current .appointment-step-number,
.appointment-step-5.is-complete .appointment-step-number{
  background:#0b684d!important;
}
.appointment-step-5.is-current strong,
.appointment-step-5.is-complete strong{
  color:#0b684d!important;
}

/* Clinessy Core 2.2.3: el botón anticipa el color del próximo estado. */
.agenda-detail-modal .appointment-status-card .appointment-primary-status.next-status-confirmed{
  border-color:#0f8f8b!important;
  background:#0f8f8b!important;
  box-shadow:0 12px 22px rgba(15,143,139,.20)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-primary-status.next-status-arrived{
  border-color:#d78a19!important;
  background:#d78a19!important;
  box-shadow:0 12px 22px rgba(215,138,25,.20)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-primary-status.next-status-in_progress{
  border-color:#2ea4cf!important;
  background:#2ea4cf!important;
  box-shadow:0 12px 22px rgba(46,164,207,.20)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-primary-status.next-status-attended{
  border-color:#0b684d!important;
  background:#0b684d!important;
  box-shadow:0 12px 22px rgba(11,104,77,.22)!important;
}

/* Clinessy Core 2.2.4: color real del estado actual en el detalle. */
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-confirmed strong{
  color:#0b706e!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-arrived strong{
  color:#bf7b16!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-in_progress strong{
  color:#176f91!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-attended strong,
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-sold strong{
  color:#0b684d!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-confirmed strong i{
  background:#0f8f8b!important;
  box-shadow:0 0 0 4px rgba(15,143,139,.12)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-arrived strong i{
  background:#d78a19!important;
  box-shadow:0 0 0 4px rgba(215,138,25,.12)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-in_progress strong i{
  background:#2ea4cf!important;
  box-shadow:0 0 0 4px rgba(46,164,207,.12)!important;
}
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-attended strong i,
.agenda-detail-modal .appointment-status-card .appointment-current-state.status-sold strong i{
  background:#0b684d!important;
  box-shadow:0 0 0 4px rgba(11,104,77,.12)!important;
}

/* Clinessy Core 2.2.5: adicionales de cita separados del plan pagado. */
.agenda-detail-modal .appointment-addons-card{
  display:grid!important;
  gap:8px!important;
  margin-top:10px!important;
  padding:10px!important;
  border:1px solid #d9e2ec!important;
  border-radius:8px!important;
  background:#fff!important;
}
.agenda-detail-modal .appointment-addons-card header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.agenda-detail-modal .appointment-addons-card header > div{
  display:grid!important;
  gap:2px!important;
  min-width:0!important;
}
.agenda-detail-modal .appointment-addons-card h4{
  margin:0!important;
  color:#172033!important;
  font-size:13px!important;
  font-weight:850!important;
  letter-spacing:0!important;
}
.agenda-detail-modal .appointment-addons-card header p{
  margin:0!important;
  max-width:260px!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.2!important;
}
.agenda-detail-modal .appointment-addons-card header .dashicons{
  width:18px!important;
  height:18px!important;
  color:#64748b!important;
  font-size:18px!important;
  line-height:18px!important;
}
.agenda-detail-modal .appointment-addons-empty{
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  justify-items:start!important;
  gap:8px!important;
  padding:6px 0 7px!important;
  border-bottom:1px dashed #d9e2ec!important;
  color:#64748b!important;
  text-align:left!important;
}
.agenda-detail-modal .appointment-addons-empty .dashicons{
  display:grid!important;
  width:30px!important;
  height:30px!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#f1f5f9!important;
  color:#64748b!important;
  font-size:16px!important;
  line-height:30px!important;
}
.agenda-detail-modal .appointment-addons-empty > div{
  display:grid!important;
  gap:1px!important;
  min-width:0!important;
}
.agenda-detail-modal .appointment-addons-empty strong{
  color:#475569!important;
  font-size:12px!important;
}
.agenda-detail-modal .appointment-addons-empty small{
  max-width:100%!important;
  color:#7b8797!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.2!important;
}
.agenda-detail-modal .appointment-addons-list{
  display:grid!important;
  gap:8px!important;
  padding-bottom:10px!important;
  border-bottom:1px dashed #d9e2ec!important;
}
.agenda-detail-modal .appointment-addon-item{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto auto 28px!important;
  align-items:center!important;
  gap:8px!important;
  min-height:56px!important;
  padding:9px!important;
  border:1px solid #e2e8f0!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:0 5px 14px rgba(15,23,42,.05)!important;
}
.agenda-detail-modal .appointment-addon-icon{
  display:grid!important;
  width:36px!important;
  height:36px!important;
  place-items:center!important;
  border-radius:8px!important;
  background:#eaf8f3!important;
  color:#047857!important;
  font-size:18px!important;
  line-height:36px!important;
}
.agenda-detail-modal .appointment-addon-item strong{
  display:block!important;
  overflow:hidden!important;
  color:#172033!important;
  font-size:13px!important;
  font-weight:850!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.agenda-detail-modal .appointment-addon-item small{
  color:#172033!important;
  font-size:12px!important;
  font-weight:750!important;
}
.agenda-detail-modal .appointment-addon-status{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#eaf8f3!important;
  color:#047857!important;
  font-size:11px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
.agenda-detail-modal .appointment-addon-status.is-pending{
  background:#fff7ed!important;
  color:#b45309!important;
}
.agenda-detail-modal .appointment-addon-status .dashicons{
  width:14px!important;
  height:14px!important;
  font-size:14px!important;
  line-height:14px!important;
}
.agenda-detail-modal .appointment-addon-method{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  color:#64748b!important;
  white-space:nowrap!important;
}
.agenda-detail-modal .appointment-addon-method .dashicons{
  width:15px!important;
  height:15px!important;
  color:#64748b!important;
  font-size:15px!important;
  line-height:15px!important;
}
.agenda-detail-modal .appointment-addon-menu{
  display:grid!important;
  width:28px!important;
  height:28px!important;
  place-items:center!important;
  border:1px solid #e2e8f0!important;
  border-radius:7px!important;
  color:#475569!important;
  text-decoration:none!important;
}
.agenda-detail-modal .appointment-addons-action{
  display:flex!important;
  min-height:34px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid #008a4c!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#047857!important;
  font-size:12px!important;
  font-weight:850!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.agenda-detail-modal .appointment-addons-action:hover,
.agenda-detail-modal .appointment-addons-action:focus{
  border-color:#047857!important;
  background:#ecfdf5!important;
  color:#065f46!important;
}

/* Clinessy Core 2.2.19: ventas adicionales compacto para dejar comunicacion visible. */
.agenda-detail-modal .appointment-addons-card{
  gap:7px!important;
  margin-top:9px!important;
  padding:9px!important;
}
.agenda-detail-modal .appointment-addons-card header{
  align-items:flex-start!important;
  gap:8px!important;
}
.agenda-detail-modal .appointment-addons-card h4{
  font-size:13px!important;
  line-height:1.05!important;
}
.agenda-detail-modal .appointment-addons-card header p{
  font-size:10px!important;
  line-height:1.12!important;
}
.agenda-detail-modal .appointment-addons-empty{
  grid-template-columns:26px minmax(0,1fr)!important;
  gap:7px!important;
  padding:5px 0 6px!important;
}
.agenda-detail-modal .appointment-addons-empty .dashicons{
  width:26px!important;
  height:26px!important;
  font-size:15px!important;
  line-height:26px!important;
}
.agenda-detail-modal .appointment-addons-empty strong{
  font-size:11px!important;
  line-height:1.1!important;
}
.agenda-detail-modal .appointment-addons-empty small{
  font-size:10px!important;
  line-height:1.12!important;
}
.agenda-detail-modal .appointment-addons-action{
  min-height:32px!important;
  padding:0 10px!important;
  font-size:12px!important;
}
.agenda-detail-modal .appointment-addons-action .dashicons{
  width:16px!important;
  height:16px!important;
  font-size:16px!important;
  line-height:16px!important;
}
.agenda-detail-modal .appointment-communication{
  gap:8px!important;
  margin-top:10px!important;
}
.agenda-detail-modal .appointment-communication .button{
  min-height:42px!important;
  padding:0 12px!important;
}

/* Clinessy Core 2.2.20: resumen compacto de ventas adicionales asociadas. */
.agenda-detail-modal .appointment-addons-card header p{
  color:#7b8797!important;
  font-size:9.5px!important;
  font-weight:650!important;
}
.agenda-detail-modal .appointment-addons-list{
  gap:6px!important;
  padding-bottom:7px!important;
}
.agenda-detail-modal .appointment-addon-item{
  grid-template-columns:30px minmax(0,1fr) auto 24px!important;
  min-height:42px!important;
  gap:6px!important;
  padding:7px!important;
  border-color:#dbe7e2!important;
  background:#fbfffd!important;
}
.agenda-detail-modal .appointment-addon-icon{
  width:28px!important;
  height:28px!important;
  border-radius:7px!important;
  font-size:15px!important;
  line-height:28px!important;
}
.agenda-detail-modal .appointment-addon-item strong{
  font-size:11.5px!important;
  line-height:1.1!important;
}
.agenda-detail-modal .appointment-addon-item small{
  display:block!important;
  overflow:hidden!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.agenda-detail-modal .appointment-addon-status{
  padding:4px 7px!important;
  font-size:10px!important;
}
.agenda-detail-modal .appointment-addon-menu{
  width:24px!important;
  height:24px!important;
}

/* Clinessy Core 2.2.24: fichas visibles y compactas para cuentas por cobrar. */
.sales-debtors-list{
  display:grid!important;
  gap:14px!important;
}
.sales-debtor-card{
  overflow:hidden!important;
  border:1px solid #f1bcc7!important;
  border-left:8px solid #ef4b66!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 14px 32px rgba(15,23,42,.08)!important;
}
.sales-debtor-main{
  display:grid!important;
  grid-template-columns:auto minmax(240px,1fr) minmax(300px,1.25fr) minmax(180px,auto) minmax(170px,auto)!important;
  gap:16px!important;
  align-items:center!important;
  min-height:92px!important;
  padding:16px 18px!important;
}
.sales-debtor-avatar{
  display:grid!important;
  width:56px!important;
  height:56px!important;
  place-items:center!important;
  border-radius:14px!important;
  background:#fff0f3!important;
  color:#be123c!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}
.sales-debtor-person small,
.sales-debtor-summary small,
.sales-debtor-facts small{
  display:block!important;
  margin:0 0 4px!important;
  color:#7b8797!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.15!important;
}
.sales-debtor-person h3{
  margin:0!important;
  color:#101827!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1.15!important;
}
.sales-debtor-person p{
  margin:6px 0 0!important;
  overflow:hidden!important;
  color:#5f6d7f!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.25!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.sales-debtor-facts{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.sales-debtor-facts span{
  min-width:0!important;
  padding:10px 12px!important;
  border:1px solid #e8edf3!important;
  border-radius:12px!important;
  background:#fbfcfd!important;
}
.sales-debtor-facts b{
  display:block!important;
  overflow:hidden!important;
  color:#173f34!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.sales-debtor-summary{
  padding:11px 14px!important;
  border:1px solid #fecdd3!important;
  border-radius:14px!important;
  background:#fff7f8!important;
  text-align:right!important;
}
.sales-debtor-summary strong{
  display:block!important;
  color:#9f1239!important;
  font-size:24px!important;
  font-weight:950!important;
  line-height:1.05!important;
}
.sales-debtor-summary span{
  display:block!important;
  margin-top:4px!important;
  color:#7b8797!important;
  font-size:12px!important;
  font-weight:800!important;
}
.sales-debtor-actions{
  display:grid!important;
  gap:8px!important;
}
.sales-debtor-actions .button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  border-radius:10px!important;
  font-size:13px!important;
  font-weight:850!important;
}
.sales-debtor-actions .button-primary{
  border-color:#0f766e!important;
  background:#0f766e!important;
  color:#fff!important;
}
.sales-debtor-card details{
  border-top:1px solid #edf1f5!important;
  background:#fcfcfd!important;
}
.sales-debtor-card details summary{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  color:#6d28d9!important;
  font-size:14px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.sales-debtor-card footer{
  display:flex!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:10px 18px 14px!important;
  color:#7b8797!important;
  font-size:12px!important;
  font-weight:750!important;
}
@media(max-width:1200px){
  .sales-debtor-main{
    grid-template-columns:auto minmax(220px,1fr) minmax(180px,auto)!important;
  }
  .sales-debtor-facts,
  .sales-debtor-actions{
    grid-column:2 / -1!important;
  }
}

/* Clinessy Core 2.2.25: acabado elegante para cuentas por cobrar. */
.sales-debtors-list{gap:12px!important;}
.sales-debtor-card{border:1px solid #f4d6dd!important;border-left:5px solid #ef5268!important;border-radius:14px!important;background:linear-gradient(90deg,#fff7f9 0,#fff 26%)!important;box-shadow:0 10px 28px rgba(15,23,42,.07)!important;}
.sales-debtor-main{grid-template-columns:auto minmax(220px,1fr) minmax(300px,1.25fr) minmax(170px,.7fr) minmax(145px,.55fr)!important;gap:14px!important;min-height:80px!important;padding:14px 18px!important;}
.sales-debtor-avatar{width:48px!important;height:48px!important;border-radius:12px!important;background:#fff0f3!important;color:#be123c!important;font-size:16px!important;box-shadow:inset 0 0 0 1px rgba(190,18,60,.05)!important;}
.sales-debtor-person small{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;margin:0 0 5px!important;padding:3px 9px!important;border-radius:999px!important;background:#fff0f3!important;color:#a80f35!important;font-size:10px!important;font-weight:850!important;line-height:1.1!important;}
.sales-debtor-person h3{font-size:20px!important;line-height:1.08!important;}
.sales-debtor-person p{margin-top:4px!important;color:#607083!important;font-size:13px!important;font-weight:700!important;}
.sales-debtor-facts{gap:7px!important;}
.sales-debtor-facts span{min-height:52px!important;padding:8px 10px!important;border-color:#e8edf3!important;border-radius:10px!important;background:#fbfdff!important;}
.sales-debtor-facts small,.sales-debtor-summary small{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.03em!important;}
.sales-debtor-facts b{font-size:13px!important;}
.sales-debtor-summary{padding:10px 12px!important;border-color:#ffc8d1!important;border-radius:12px!important;background:#fff9fa!important;text-align:center!important;}
.sales-debtor-summary strong{font-size:24px!important;}
.sales-debtor-summary span{font-size:11px!important;}
.sales-debtor-actions{gap:7px!important;}
.sales-debtor-actions .button{min-height:34px!important;padding:0 13px!important;border-radius:8px!important;box-shadow:none!important;font-size:12px!important;}
.sales-debtor-actions .button-primary{border-color:#117d71!important;background:#117d71!important;color:#fff!important;}
.sales-debtor-actions .button:not(.button-primary){border-color:#cfe4dd!important;background:#f7fffb!important;color:#0f6f55!important;}
.sales-debtor-card details{border-top:1px solid #f0eef4!important;background:#fff!important;}
.sales-debtor-card details summary{justify-content:flex-end!important;min-height:38px!important;padding:8px 18px!important;color:#6d28d9!important;font-size:12px!important;font-weight:850!important;}
.sales-debtor-card details summary .dashicons{width:16px!important;height:16px!important;font-size:16px!important;}
.sales-debtor-operations>div{grid-template-columns:.6fr 1.25fr .9fr .65fr .65fr .7fr auto!important;padding:10px 14px!important;}
.sales-debtor-card footer{padding:8px 18px 12px!important;font-size:11px!important;}
@media(max-width:1400px){.sales-debtor-main{grid-template-columns:auto minmax(220px,1fr) minmax(260px,1fr) minmax(160px,auto)!important}.sales-debtor-actions{grid-column:2/-1!important;display:flex!important;justify-content:flex-end!important;}}
@media(max-width:900px){.sales-debtor-main{grid-template-columns:auto 1fr!important}.sales-debtor-facts,.sales-debtor-summary,.sales-debtor-actions{grid-column:1/-1!important}.sales-debtor-summary{text-align:left!important}.sales-debtor-card details summary{justify-content:center!important;}}

/* Clinessy Core 2.2.26: acabado mas elegante para fichas de Deudores. */
.sales-debtors-list{gap:18px!important;}
.sales-debtor-card{position:relative!important;overflow:hidden!important;border:1px solid #f1cbd4!important;border-left:0!important;border-radius:18px!important;background:linear-gradient(90deg,#fff7f9 0,#fff 22%,#fff 100%)!important;box-shadow:0 16px 40px rgba(148,27,61,.08),0 1px 0 rgba(255,255,255,.95) inset!important;}
.sales-debtor-card::before{content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:7px!important;background:linear-gradient(180deg,#ef476f,#fb7185)!important;border-radius:18px 0 0 18px!important;}
.sales-debtor-main{position:relative!important;grid-template-columns:auto minmax(270px,1.15fr) minmax(430px,1.55fr) minmax(210px,.8fr) minmax(190px,.65fr)!important;gap:18px!important;min-height:106px!important;padding:20px 24px 18px 30px!important;}
.sales-debtor-avatar{width:62px!important;height:62px!important;border-radius:18px!important;background:linear-gradient(145deg,#fff3f6,#ffe7ee)!important;color:#b40f3a!important;font-size:20px!important;box-shadow:inset 0 0 0 1px rgba(190,18,60,.06)!important;}
.sales-debtor-person small{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;margin:0 0 6px!important;padding:4px 10px!important;border-radius:999px!important;background:#fff0f3!important;color:#a80f35!important;font-size:11px!important;font-weight:900!important;line-height:1.1!important;letter-spacing:0!important;}
.sales-debtor-person h3{margin:0!important;color:#111827!important;font-size:24px!important;line-height:1.08!important;}
.sales-debtor-person p{margin-top:5px!important;color:#66758a!important;font-size:14px!important;font-weight:750!important;}
.sales-debtor-facts{gap:9px!important;}
.sales-debtor-facts span{min-height:64px!important;padding:10px 12px!important;border:1px solid #e6ecf2!important;border-radius:14px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 1px 0 rgba(15,23,42,.03)!important;}
.sales-debtor-facts small,.sales-debtor-summary small{display:block!important;color:#7c8798!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:0!important;}
.sales-debtor-facts b{display:block!important;margin-top:5px!important;color:#143d33!important;font-size:15px!important;line-height:1.16!important;}
.sales-debtor-summary{min-height:76px!important;padding:12px 14px!important;border:1px solid #ffc8d4!important;border-radius:16px!important;background:linear-gradient(180deg,#fff9fa,#fff4f6)!important;text-align:center!important;box-shadow:0 10px 22px rgba(190,18,60,.05)!important;}
.sales-debtor-summary strong{display:block!important;margin-top:4px!important;color:#a80f35!important;font-size:30px!important;line-height:1.05!important;}
.sales-debtor-summary span{display:block!important;margin-top:6px!important;color:#778397!important;font-size:12px!important;font-weight:850!important;}
.sales-debtor-actions{display:grid!important;gap:10px!important;}
.sales-debtor-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;width:100%!important;padding:0 16px!important;border-radius:12px!important;box-shadow:none!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important;}
.sales-debtor-actions .button-primary{border-color:#117d71!important;background:#117d71!important;color:#fff!important;}
.sales-debtor-actions .button:not(.button-primary){border-color:#d8eee7!important;background:#f4fffb!important;color:#0f6f55!important;}
.sales-debtor-card details{position:relative!important;border-top:1px solid #f0eef4!important;background:#fff!important;}
.sales-debtor-card details summary{justify-content:flex-end!important;min-height:46px!important;padding:10px 24px!important;color:#6d28d9!important;font-size:13px!important;font-weight:900!important;letter-spacing:0!important;}
.sales-debtor-card details summary .dashicons{width:18px!important;height:18px!important;font-size:18px!important;}
.sales-debtor-operations{padding:12px 18px 16px!important;background:#fff!important;}
.sales-debtor-operations>div{grid-template-columns:.6fr 1.2fr .9fr .62fr .62fr .7fr auto!important;gap:10px!important;align-items:center!important;margin:0 0 8px!important;padding:12px!important;border:1px solid #edf1f5!important;border-radius:13px!important;background:#fbfdff!important;}
.sales-debtor-operations small{color:#7c8798!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:0!important;}
.sales-debtor-operations b{color:#143d33!important;font-size:13px!important;}
.sales-debtor-operations .button-primary{min-height:34px!important;border-color:#117d71!important;background:#117d71!important;border-radius:9px!important;color:#fff!important;font-weight:850!important;}
.sales-debtor-card footer{padding:10px 24px 14px!important;color:#7b8797!important;font-size:12px!important;font-weight:750!important;}
@media(max-width:1500px){.sales-debtor-main{grid-template-columns:auto minmax(230px,1fr) minmax(300px,1.1fr) minmax(180px,.8fr)!important}.sales-debtor-actions{grid-column:2/-1!important;display:flex!important;justify-content:flex-end!important}.sales-debtor-actions .button{width:auto!important;min-width:142px!important}.sales-debtor-summary{min-width:180px!important}}
@media(max-width:1050px){.sales-debtor-main{grid-template-columns:auto 1fr!important;padding:18px 18px 16px 24px!important}.sales-debtor-facts,.sales-debtor-summary,.sales-debtor-actions{grid-column:1/-1!important}.sales-debtor-summary{text-align:left!important}.sales-debtor-actions{display:grid!important}.sales-debtor-actions .button{width:100%!important}.sales-debtor-card details summary{justify-content:center!important}}

/* Clinessy Core 2.2.27: Deudores tipo mockup operativo. */
.sales-debtors-screen{display:grid!important;gap:18px!important;color:#243047!important}
.sales-debtors-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.sales-debtors-toolbar>div{display:block!important}
.sales-debtors-toolbar>div>.dashicons{display:none!important}
.sales-debtors-toolbar h2{margin:0!important;color:#17213a!important;font-size:30px!important;line-height:1.05!important;font-weight:900!important;letter-spacing:0!important}
.sales-debtors-toolbar p{margin:5px 0 0!important;color:#637089!important;font-size:13px!important;font-weight:700!important}
.sales-debtors-toolbar form{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;flex:1!important}
.sales-debtors-toolbar label{position:relative!important;width:min(100%,420px)!important}
.sales-debtors-toolbar label>.dashicons{position:absolute!important;right:14px!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important;color:#6d7890!important;font-size:22px!important}
.sales-debtors-toolbar input{width:100%!important;min-height:48px!important;padding:0 46px 0 17px!important;border:1px solid #e3e9f2!important;border-radius:12px!important;background:#fff!important;color:#243047!important;box-shadow:0 8px 22px rgba(28,39,65,.06)!important;font-size:13px!important;font-weight:750!important}
.sales-debtors-toolbar .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:48px!important;padding:0 22px!important;border:1px solid #dfe7ef!important;border-radius:12px!important;background:#fff!important;color:#243047!important;box-shadow:0 8px 22px rgba(28,39,65,.06)!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important}
.sales-debtors-toolbar .button-primary{border-color:#dfe7ef!important;background:#fff!important;color:#243047!important}
.sales-debtors-toolbar .button .dashicons{width:18px!important;height:18px!important;color:#31aa6b!important;font-size:18px!important}
.sales-debtors-kpis{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;padding:20px 26px!important;border:1px solid #e3e9f2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 14px 34px rgba(28,39,65,.08)!important}
.sales-debtors-kpis article{display:flex!important;align-items:center!important;gap:18px!important;min-height:74px!important;padding:0 24px!important;border:0!important;border-right:1px solid #e8edf4!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.sales-debtors-kpis article:last-child{border-right:0!important}
.sales-debtors-kpis article>.dashicons{display:grid!important;width:56px!important;height:56px!important;place-items:center!important;border-radius:50%!important;background:#eaf9ef!important;color:#31aa6b!important;font-size:28px!important}
.sales-debtors-kpis article:nth-child(2)>.dashicons{background:#f4edff!important;color:#8b5cf6!important}
.sales-debtors-kpis article:nth-child(3)>.dashicons{background:#fff0f5!important;color:#e94f7a!important}
.sales-debtors-kpis article:nth-child(4)>.dashicons{background:#eaf9ef!important;color:#31aa6b!important}
.sales-debtors-kpis small{display:block!important;color:#59677f!important;font-size:13px!important;font-weight:850!important;line-height:1.15!important;letter-spacing:0!important;text-transform:none!important}
.sales-debtors-kpis strong{display:block!important;margin-top:7px!important;color:#31aa6b!important;font-size:30px!important;line-height:1!important;font-weight:950!important;letter-spacing:0!important}
.sales-debtors-kpis article:nth-child(2) strong{color:#8b5cf6!important}
.sales-debtors-kpis article:nth-child(3) strong{color:#e94f7a!important}
.sales-debtors-filters{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}
.sales-debtors-filters a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:42px!important;padding:0 22px!important;border:1px solid #e1e8f0!important;border-radius:999px!important;background:#fff!important;color:#35425a!important;box-shadow:0 8px 20px rgba(28,39,65,.05)!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important}
.sales-debtors-filters a.is-active{border-color:#39b878!important;background:#39b878!important;color:#fff!important}
.sales-debtors-filters .dashicons{width:18px!important;height:18px!important;font-size:18px!important}
.sales-debtors-table{overflow:hidden!important;border:1px solid #e3e9f2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 14px 34px rgba(28,39,65,.08)!important}
.sales-debtors-head{display:grid!important;grid-template-columns:1.45fr 1.35fr .85fr .85fr .75fr .65fr .95fr .85fr 1.3fr!important;gap:12px!important;align-items:center!important;padding:17px 18px!important;border-bottom:1px solid #e8edf4!important;background:#fff!important;color:#27334d!important;font-size:13px!important;font-weight:950!important}
.sales-debtor-card{overflow:visible!important;border:0!important;border-bottom:1px solid #edf1f6!important;border-left:4px solid transparent!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.sales-debtor-card:first-of-type{border-left-color:#39b878!important;background:#fbfffd!important}
.sales-debtor-card::before{display:none!important}
.sales-debtor-main{display:grid!important;grid-template-columns:24px 1.45fr 1.35fr .85fr .85fr .75fr .65fr .95fr .85fr 1.3fr!important;gap:12px!important;align-items:center!important;min-height:74px!important;padding:14px 18px!important}
.sales-debtor-toggle{display:grid!important;width:22px!important;height:22px!important;place-items:center!important;color:#5d6a82!important}
.sales-debtor-toggle .dashicons{width:18px!important;height:18px!important;font-size:18px!important}
.sales-debtor-client{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}
.sales-debtor-avatar{display:grid!important;flex:0 0 auto!important;width:44px!important;height:44px!important;place-items:center!important;border-radius:50%!important;background:#8b5cf6!important;color:#fff!important;font-size:14px!important;font-weight:950!important;box-shadow:none!important}
.sales-debtor-person{min-width:0!important}
.sales-debtor-person h3{overflow:hidden!important;margin:0!important;color:#17213a!important;font-size:16px!important;line-height:1.15!important;font-weight:950!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtor-person p{display:flex!important;align-items:center!important;gap:6px!important;margin:6px 0 0!important;color:#59677f!important;font-size:12px!important;font-weight:800!important}
.sales-debtor-person p i{display:block!important;width:8px!important;height:8px!important;border-radius:50%!important;background:#59c987!important}
.sales-debtor-contact{display:grid!important;gap:5px!important;min-width:0!important;color:#526078!important;font-size:12px!important;font-weight:800!important}
.sales-debtor-contact span{display:flex!important;align-items:center!important;gap:7px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtor-contact .dashicons{width:15px!important;height:15px!important;color:#718096!important;font-size:15px!important}
.sales-debtor-origin{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
.sales-debtor-chip{display:inline-flex!important;align-items:center!important;min-height:23px!important;padding:0 9px!important;border-radius:6px!important;background:#e7f6ec!important;color:#248553!important;font-size:12px!important;font-weight:900!important}
.sales-debtor-chip.service{background:#e8efff!important;color:#4c68d7!important}
.sales-debtor-chip.neutral{background:#f0f3f8!important;color:#59677f!important}
.sales-debtor-branch,.sales-debtor-date,.sales-debtor-last{color:#35425a!important;font-size:12px!important;font-weight:850!important}
.sales-debtor-count{text-align:center!important;color:#35425a!important}
.sales-debtor-count strong{display:block!important;font-size:16px!important;font-weight:950!important;line-height:1!important}
.sales-debtor-count span{display:block!important;margin-top:4px!important;font-size:11px!important;font-weight:800!important}
.sales-debtor-summary{min-height:auto!important;min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important}
.sales-debtor-summary strong{display:block!important;margin:0!important;color:#ef476f!important;font-size:17px!important;line-height:1.1!important;font-weight:950!important}
.sales-debtor-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important}
.sales-debtor-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-width:0!important;min-height:36px!important;padding:0 14px!important;border-radius:8px!important;box-shadow:none!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important;text-decoration:none!important}
.sales-debtor-actions .button-primary{border-color:#25a86b!important;background:#25a86b!important;color:#fff!important}
.sales-debtor-actions .button:not(.button-primary){border-color:#dfe7ef!important;background:#fff!important;color:#35425a!important}
.sales-debtor-actions .dashicons{width:16px!important;height:16px!important;color:#25a86b!important;font-size:16px!important}
.sales-debtor-card details{border-top:0!important;background:#fff!important}
.sales-debtor-card details summary{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:34px!important;padding:0 30px 10px 58px!important;color:#27334d!important;font-size:12px!important;font-weight:950!important;cursor:pointer!important;list-style:none!important}
.sales-debtor-card details:not([open]) summary{padding-bottom:0!important}
.sales-debtor-operations{display:block!important;margin:0 30px 16px 58px!important;padding:0!important;border:1px solid #e5ebf3!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}
.sales-debtor-operation-head,.sales-debtor-operation-row{display:grid!important;grid-template-columns:1.25fr 1.25fr 1.1fr .8fr auto!important;gap:12px!important;align-items:center!important}
.sales-debtor-operation-head{padding:10px 13px!important;background:#fbfcfe!important;border-bottom:1px solid #e9eef5!important;color:#59677f!important;font-size:11px!important;font-weight:950!important}
.sales-debtor-operation-row{padding:11px 13px!important;border-bottom:1px solid #eef2f7!important;color:#35425a!important;font-size:12px!important;font-weight:800!important}
.sales-debtor-operation-row:last-of-type{border-bottom:0!important}
.sales-debtor-operation-row span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtor-operation-row strong{color:#35425a!important;font-size:12px!important;font-weight:950!important;text-align:right!important}
.sales-debtor-operation-row .button{min-height:30px!important;padding:0 10px!important;border-radius:7px!important;background:#25a86b!important;border-color:#25a86b!important;color:#fff!important;font-size:11px!important;font-weight:900!important;text-decoration:none!important}
.sales-debtor-operation-total{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:24px!important;padding:10px 13px!important;background:#fbfcfe!important;color:#35425a!important;font-size:12px!important;font-weight:900!important}
.sales-debtor-operation-total strong{color:#ef476f!important;font-size:13px!important;font-weight:950!important}
.sales-debtor-card>footer{display:none!important}
.sales-debtors-empty{padding:55px 20px!important;border:1px solid #d7eadf!important;border-radius:14px!important;background:#fff!important;text-align:center!important;box-shadow:0 14px 34px rgba(28,39,65,.08)!important}
@media(max-width:1350px){
  .sales-debtors-head{display:none!important}
  .sales-debtor-main{grid-template-columns:auto 1fr auto!important}
  .sales-debtor-contact,.sales-debtor-origin,.sales-debtor-branch,.sales-debtor-date,.sales-debtor-count,.sales-debtor-last,.sales-debtor-summary{grid-column:2 / -1!important}
  .sales-debtor-actions{grid-column:2 / -1!important;justify-content:flex-start!important}
}
@media(max-width:900px){
  .sales-debtors-toolbar{align-items:stretch!important;flex-direction:column!important}
  .sales-debtors-toolbar form{align-items:stretch!important;flex-direction:column!important}
  .sales-debtors-toolbar label{width:100%!important}
  .sales-debtors-kpis{grid-template-columns:1fr 1fr!important;padding:16px!important}
  .sales-debtors-kpis article{border-right:0!important;padding:10px!important}
  .sales-debtor-main{grid-template-columns:1fr!important}
  .sales-debtor-toggle{display:none!important}
  .sales-debtor-contact,.sales-debtor-origin,.sales-debtor-branch,.sales-debtor-date,.sales-debtor-count,.sales-debtor-last,.sales-debtor-summary,.sales-debtor-actions{grid-column:auto!important}
  .sales-debtor-count{text-align:left!important}
  .sales-debtor-actions{display:grid!important}
  .sales-debtor-actions .button{width:100%!important}
  .sales-debtor-card details summary,.sales-debtor-operations{margin-left:16px!important;margin-right:16px!important;padding-left:0!important}
  .sales-debtor-operation-head{display:none!important}
  .sales-debtor-operation-row{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .sales-debtors-kpis{grid-template-columns:1fr!important}
  .sales-debtors-filters a{flex:1 1 45%!important;padding:0 12px!important}
}

/* Clinessy Core 2.2.28: ajustes compactos Deudores. */
.sales-debtors-head{
  grid-template-columns:24px 1.45fr 1.35fr .85fr .85fr .75fr .65fr .95fr .85fr 1.3fr!important;
  padding:14px 18px!important;
}
.sales-debtors-head span:first-child{font-size:0!important}
.sales-debtor-main{
  min-height:68px!important;
  padding:12px 18px!important;
}
.sales-debtor-card details summary{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:24px!important;
  margin:0 0 8px 58px!important;
  padding:0 10px!important;
  border:1px solid #e5ebf3!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#59677f!important;
  font-size:11px!important;
  line-height:1!important;
}
.sales-debtor-card details:not([open]) summary{
  margin-bottom:8px!important;
  opacity:.72!important;
}
.sales-debtor-card details summary b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  background:#edf2f7!important;
  color:#35425a!important;
  font-size:10px!important;
  font-weight:950!important;
}
.sales-debtor-operations{
  margin:0 28px 12px 58px!important;
  border-radius:9px!important;
}
.sales-debtor-operation-head,.sales-debtor-operation-row{
  grid-template-columns:1.35fr 1.35fr 1fr .75fr 78px!important;
}
.sales-debtor-operation-head{
  padding:8px 12px!important;
  font-size:10px!important;
}
.sales-debtor-operation-row{
  min-height:42px!important;
  padding:8px 12px!important;
}
.sales-debtor-operation-row .button{
  justify-self:end!important;
  width:auto!important;
  min-width:58px!important;
  max-width:78px!important;
  min-height:28px!important;
  padding:0 12px!important;
}
.sales-debtor-operation-total{
  padding:8px 12px!important;
}
@media(max-width:900px){
  .sales-debtor-card details summary{
    margin-left:16px!important;
    padding:0 10px!important;
  }
  .sales-debtor-operations{
    margin-left:16px!important;
    margin-right:16px!important;
  }
  .sales-debtor-operation-row .button{
    justify-self:start!important;
  }
}

/* Clinessy Core 2.2.29: fila de deudor clickeable. */
.sales-debtor-main{cursor:pointer!important}
.sales-debtor-actions,.sales-debtor-actions a{cursor:auto!important}
.sales-debtor-toggle .dashicons{transition:transform .16s ease!important}
.sales-debtor-card.is-open .sales-debtor-toggle .dashicons{transform:rotate(180deg)!important}

/* Clinessy Core 2.2.30: detalle de deudor tipo mini-recibo. */
.sales-debtor-card.is-open{
  background:#fbfffd!important;
  box-shadow:inset 4px 0 0 #39b878!important;
}
.sales-debtor-card.is-open .sales-debtor-main{
  background:#fbfffd!important;
}
.sales-debtor-card details summary{
  margin:0 0 6px 58px!important;
  min-height:22px!important;
  padding:0 11px!important;
  border-color:#dfe8f1!important;
  background:#f8fbff!important;
  color:#506078!important;
}
.sales-debtor-card details summary b{display:none!important}
.sales-debtor-operations{
  max-width:980px!important;
  margin:0 28px 12px 58px!important;
  border:1px solid #e5ebf3!important;
  border-radius:10px!important;
  background:#fff!important;
}
.sales-debtor-operation-head{display:none!important}
.sales-debtor-operation-row{
  display:grid!important;
  grid-template-columns:minmax(180px,1.2fr) minmax(130px,.8fr) minmax(150px,.8fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  min-height:44px!important;
  padding:10px 12px!important;
  border-bottom:1px solid #edf2f7!important;
}
.sales-debtor-operation-row span,
.sales-debtor-operation-row strong{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.sales-debtor-operation-name{
  color:#17213a!important;
  font-size:12px!important;
  font-weight:950!important;
}
.sales-debtor-operation-date{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:850!important;
}
.sales-debtor-operation-row strong{
  color:#ef476f!important;
  font-size:12px!important;
  font-weight:950!important;
  text-align:right!important;
}
.sales-debtor-operation-row .button{
  justify-self:end!important;
  min-width:58px!important;
  max-width:70px!important;
  min-height:28px!important;
  padding:0 12px!important;
}
.sales-debtor-operation-total{
  justify-content:flex-end!important;
  padding:8px 12px!important;
  background:#fbfcfe!important;
}
@media(max-width:900px){
  .sales-debtor-operations{
    max-width:none!important;
    margin-left:16px!important;
    margin-right:16px!important;
  }
  .sales-debtor-operation-row{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .sales-debtor-operation-row strong{text-align:left!important}
.sales-debtor-operation-row .button{justify-self:start!important}
}

/* Clinessy Core 2.2.31: calendario de ingresos pendientes en Deudores. */
.sales-debtors-projection{
  display:grid!important;
  gap:14px!important;
  padding:16px!important;
  border:1px solid #e3e9f2!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(28,39,65,.07)!important;
}
.sales-debtors-projection header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
}
.sales-debtors-projection header>div{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
.sales-debtors-projection header .dashicons{
  display:grid!important;
  width:44px!important;
  height:44px!important;
  place-items:center!important;
  border-radius:14px!important;
  background:#eaf7ef!important;
  color:#22a66b!important;
  font-size:22px!important;
}
.sales-debtors-projection h3{
  margin:0!important;
  color:#17213a!important;
  font-size:18px!important;
  font-weight:950!important;
}
.sales-debtors-projection p{
  margin:4px 0 0!important;
  color:#637089!important;
  font-size:12px!important;
  font-weight:800!important;
}
.sales-debtors-projection header aside{
  min-width:210px!important;
  padding:12px 14px!important;
  border:1px solid #d9eee4!important;
  border-radius:12px!important;
  background:#f4fffa!important;
  text-align:right!important;
}
.sales-debtors-projection header aside small,
.sales-debtors-projection header aside span{
  display:block!important;
  color:#637089!important;
  font-size:11px!important;
  font-weight:850!important;
}
.sales-debtors-projection header aside strong{
  display:block!important;
  margin:3px 0!important;
  color:#22a66b!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:950!important;
}
.sales-debtors-projection-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
}
.sales-debtors-projection-grid article{
  min-height:128px!important;
  padding:12px!important;
  border:1px solid #e5ebf3!important;
  border-radius:12px!important;
  background:#fbfcfe!important;
}
.sales-debtors-projection-grid article small,
.sales-debtors-projection-grid article span,
.sales-debtors-projection-grid article p{
  display:block!important;
}
.sales-debtors-projection-grid article small{
  color:#64748b!important;
  font-size:10px!important;
  font-weight:900!important;
}
.sales-debtors-projection-grid article h4{
  margin:6px 0 10px!important;
  color:#17213a!important;
  font-size:13px!important;
  font-weight:950!important;
}
.sales-debtors-projection-grid article strong{
  display:block!important;
  color:#22a66b!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:950!important;
}
.sales-debtors-projection-grid article span{
  margin-top:7px!important;
  color:#506078!important;
  font-size:11px!important;
  font-weight:900!important;
}
.sales-debtors-projection-grid article p{
  overflow:hidden!important;
  margin-top:8px!important;
  color:#7a8799!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.25!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.sales-debtors-projection-grid article.danger{background:#fff7f7!important;border-color:#ffd9dd!important}
.sales-debtors-projection-grid article.danger strong{color:#ef476f!important}
.sales-debtors-projection-grid article.green{background:#f3fff9!important;border-color:#cff1df!important}
.sales-debtors-projection-grid article.teal{background:#f3fbff!important;border-color:#d8edf7!important}
.sales-debtors-projection-grid article.blue{background:#f5f8ff!important;border-color:#dce7ff!important}
.sales-debtors-projection-grid article.purple{background:#fbf7ff!important;border-color:#ebddff!important}
.sales-debtors-projection-grid article.muted{background:#f8fafc!important}
.sales-debtors-projection footer{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding-top:2px!important;
}
.sales-debtors-projection footer span{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:32px!important;
  padding:0 11px!important;
  border:1px solid #e5ebf3!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#506078!important;
  font-size:12px!important;
  font-weight:850!important;
}
.sales-debtors-projection footer b{
  color:#17213a!important;
  font-weight:950!important;
}
@media(max-width:1400px){
  .sales-debtors-projection-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:800px){
  .sales-debtors-projection header{align-items:stretch!important;flex-direction:column!important}
  .sales-debtors-projection header aside{text-align:left!important}
  .sales-debtors-projection-grid{grid-template-columns:1fr!important}
}

/* Clinessy Core 2.2.32: proyección ejecutiva con vencido separado. */
.sales-debtors-projection{
  gap:16px!important;
}
.sales-debtors-projection header{
  align-items:flex-start!important;
}
.sales-debtors-projection header .dashicons{
  background:#eef7ff!important;
  color:#2277d1!important;
}
.sales-debtors-projection-executive{
  display:grid!important;
  grid-template-columns:minmax(260px,.9fr) 2fr!important;
  gap:12px!important;
}
.sales-debtors-recovery{
  min-height:132px!important;
  padding:14px!important;
  border:1px solid #ffd4dc!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#fff8fa,#fff)!important;
}
.sales-debtors-recovery small,
.sales-debtors-recovery span,
.sales-debtors-recovery p{
  display:block!important;
}
.sales-debtors-recovery small{
  color:#8d4a58!important;
  font-size:10px!important;
  font-weight:950!important;
}
.sales-debtors-recovery h4{
  margin:5px 0 8px!important;
  color:#17213a!important;
  font-size:15px!important;
  font-weight:950!important;
}
.sales-debtors-recovery strong{
  display:block!important;
  color:#ef476f!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:950!important;
}
.sales-debtors-recovery span{
  margin-top:8px!important;
  color:#506078!important;
  font-size:12px!important;
  font-weight:900!important;
}
.sales-debtors-recovery p{
  overflow:hidden!important;
  margin:8px 0 0!important;
  color:#7a8799!important;
  font-size:11px!important;
  font-weight:800!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.sales-debtors-projection-summary{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.sales-debtors-projection-summary span{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:132px!important;
  padding:14px!important;
  border:1px solid #e5ebf3!important;
  border-radius:12px!important;
  background:#fbfcfe!important;
}
.sales-debtors-projection-summary b{
  color:#59677f!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1.2!important;
}
.sales-debtors-projection-summary strong{
  color:#17213a!important;
  font-size:21px!important;
  line-height:1!important;
  font-weight:950!important;
}
.sales-debtors-projection-summary span:nth-child(1) strong{color:#ef476f!important}
.sales-debtors-projection-summary span:nth-child(2) strong{color:#22a66b!important}
.sales-debtors-projection-calendar{
  display:grid!important;
  gap:10px!important;
  padding:12px!important;
  border:1px solid #e5ebf3!important;
  border-radius:12px!important;
  background:#fff!important;
}
.sales-debtors-projection-calendar-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.sales-debtors-projection-calendar-head strong{
  color:#17213a!important;
  font-size:13px!important;
  font-weight:950!important;
}
.sales-debtors-projection-calendar-head span{
  color:#637089!important;
  font-size:12px!important;
  font-weight:850!important;
}
.sales-debtors-projection-calendar .sales-debtors-projection-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.sales-debtors-projection-calendar .sales-debtors-projection-grid article{
  min-height:112px!important;
}
@media(max-width:1400px){
  .sales-debtors-projection-executive{grid-template-columns:1fr!important}
  .sales-debtors-projection-calendar .sales-debtors-projection-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:800px){
  .sales-debtors-projection-summary,
  .sales-debtors-projection-calendar .sales-debtors-projection-grid{grid-template-columns:1fr!important}
  .sales-debtors-projection-calendar-head{align-items:flex-start!important;flex-direction:column!important}
}

/* Clinessy Core 2.2.33: proyección compacta y fechas previstas editables. */
.sales-debtors-screen{gap:14px!important}
.sales-debtors-projection{gap:10px!important;padding:13px 15px!important;border-radius:10px!important}
.sales-debtors-projection header .dashicons{width:36px!important;height:36px!important;border-radius:8px!important;font-size:19px!important}
.sales-debtors-projection h3{font-size:15px!important}
.sales-debtors-projection header p{margin-top:2px!important}
.sales-debtors-projection-executive{grid-template-columns:1.3fr 1fr!important;gap:10px!important}
.sales-debtors-recovery{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:16px!important;min-height:76px!important;padding:11px 13px!important;border-radius:8px!important}
.sales-debtors-recovery h4{margin:2px 0 0!important;font-size:13px!important}
.sales-debtors-recovery p{margin-top:3px!important;max-width:340px!important}
.sales-debtors-recovery strong{font-size:21px!important}
.sales-debtors-recovery span{margin:0!important;white-space:nowrap!important}
.sales-debtors-projection-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.sales-debtors-projection-summary span{min-height:76px!important;padding:11px 13px!important;border-radius:8px!important}
.sales-debtors-projection-summary strong{font-size:18px!important}
.sales-debtors-projection-calendar{gap:8px!important;padding:10px!important;border-radius:8px!important}
.sales-debtors-projection-calendar .sales-debtors-projection-grid{gap:8px!important}
.sales-debtors-projection-calendar .sales-debtors-projection-grid article{min-height:88px!important;padding:10px!important;border-radius:8px!important}
.sales-debtors-projection-grid article h4{margin:3px 0 6px!important}
.sales-debtors-projection-grid article strong{font-size:17px!important}
.sales-debtors-projection-grid article span{margin-top:5px!important}
.sales-debtors-projection-grid article p{margin-top:5px!important}
.sales-debtors-projection-empty{display:flex!important;align-items:center!important;gap:10px!important;min-height:58px!important;padding:10px 12px!important;border:1px dashed #cfd9e7!important;border-radius:8px!important;background:#f8fafc!important}
.sales-debtors-projection-empty>.dashicons{display:grid!important;width:34px!important;height:34px!important;place-items:center!important;border-radius:8px!important;background:#eaf7ef!important;color:#22a66b!important}
.sales-debtors-projection-empty strong{display:block!important;color:#243047!important;font-size:12px!important;font-weight:950!important}
.sales-debtors-projection-empty p{margin-top:2px!important;font-size:11px!important}
.sales-debtor-main{min-height:68px!important;padding-top:10px!important;padding-bottom:10px!important}
.sales-debtor-person{min-width:0!important}
.sales-debtor-person h3{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtor-operation-row{grid-template-columns:minmax(150px,1.15fr) minmax(245px,1.35fr) minmax(145px,.8fr) auto!important;min-height:54px!important;padding:8px 12px!important}
.sales-debtor-projection-form{display:flex!important;align-items:flex-end!important;gap:6px!important;min-width:0!important}
.sales-debtor-projection-form label{display:grid!important;gap:2px!important;min-width:0!important}
.sales-debtor-projection-form label span{color:#7a8799!important;font-size:9px!important;font-weight:850!important}
.sales-debtor-projection-form input{width:150px!important;min-height:32px!important;padding:4px 7px!important;border:1px solid #dbe3ed!important;border-radius:6px!important;background:#fff!important;color:#35425a!important;font-size:11px!important;font-weight:800!important}
.sales-debtor-projection-form .button{display:grid!important;width:32px!important;min-width:32px!important;padding:0!important;place-items:center!important;background:#fff!important;border-color:#dbe3ed!important;color:#25a86b!important}
.sales-debtor-projection-form .dashicons{width:16px!important;height:16px!important;font-size:16px!important}
@media(max-width:1200px){
  .sales-debtors-projection-executive{grid-template-columns:1fr!important}
}
@media(max-width:800px){
  .sales-debtors-recovery{grid-template-columns:1fr!important;gap:6px!important}
  .sales-debtors-projection-summary{grid-template-columns:1fr!important}
  .sales-debtor-operation-row{grid-template-columns:1fr!important}
  .sales-debtor-projection-form input{width:100%!important}
  .sales-debtor-projection-form label{flex:1!important}
}

/* Clinessy Core 2.2.34: antigüedad, estados e historial de cobranza. */
.sales-debtor-date{display:grid!important;justify-items:start!important;gap:4px!important}
.sales-debtor-date small{color:#7a8799!important;font-size:9px!important;font-weight:800!important;white-space:nowrap!important}
.sales-debtor-age,.sales-debtor-status{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:0 8px!important;border-radius:999px!important;font-size:10px!important;font-weight:950!important;white-space:nowrap!important}
.sales-debtor-age.current,.sales-debtor-age.recent{background:#eaf8f1!important;color:#18885a!important}
.sales-debtor-age.warning{background:#fff7df!important;color:#a66c00!important}
.sales-debtor-age.high{background:#fff0e8!important;color:#c0522d!important}
.sales-debtor-age.critical{background:#fff0f3!important;color:#d93f60!important}
.sales-debtor-last{display:grid!important;justify-items:start!important;gap:4px!important;min-width:0!important}
.sales-debtor-last small{overflow:hidden!important;max-width:100%!important;color:#78859a!important;font-size:9px!important;font-weight:750!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtor-status.muted{background:#f0f3f7!important;color:#667085!important}
.sales-debtor-status.info{background:#edf7ff!important;color:#2475a8!important}
.sales-debtor-status.promise{background:#eaf8f1!important;color:#18885a!important}
.sales-debtor-status.warning{background:#fff7df!important;color:#9d6907!important}
.sales-debtor-status.danger{background:#fff0f3!important;color:#d43f5d!important}
.sales-debtor-status.mixed{background:#f3efff!important;color:#7042c1!important}
.sales-debtor-operation-row{grid-template-columns:minmax(140px,.8fr) minmax(430px,1.8fr) minmax(145px,.7fr) auto!important}
.sales-debtor-projection-form{align-items:end!important}
.sales-debtor-projection-form select{width:165px!important;min-height:32px!important;padding:4px 25px 4px 7px!important;border:1px solid #dbe3ed!important;border-radius:6px!important;background-color:#fff!important;color:#35425a!important;font-size:11px!important;font-weight:800!important}
.sales-debtor-history{display:grid!important;gap:10px!important;padding:12px!important;border-top:1px solid #e7edf4!important;background:#fff!important}
.sales-debtor-history-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.sales-debtor-history-head h4,.sales-debtor-history-head p{margin:0!important}
.sales-debtor-history-head h4{color:#243047!important;font-size:13px!important;font-weight:950!important}
.sales-debtor-history-head p{margin-top:2px!important;color:#7a8799!important;font-size:10px!important;font-weight:750!important}
.sales-debtor-history-head>span{color:#78859a!important;font-size:10px!important;font-weight:850!important}
.sales-debtor-contact-form{display:grid!important;grid-template-columns:150px minmax(280px,1fr) auto!important;align-items:end!important;gap:8px!important;padding:10px!important;border:1px solid #e3eaf3!important;border-radius:8px!important;background:#f8fafc!important}
.sales-debtor-contact-form label{display:grid!important;gap:3px!important;min-width:0!important}
.sales-debtor-contact-form label>span{color:#66758c!important;font-size:9px!important;font-weight:900!important}
.sales-debtor-contact-form select,.sales-debtor-contact-form input{width:100%!important;min-height:34px!important;margin:0!important;padding:5px 9px!important;border:1px solid #d8e1ec!important;border-radius:6px!important;background:#fff!important;color:#2f3b52!important;font-size:11px!important;font-weight:750!important}
.sales-debtor-contact-form .button{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:34px!important;margin:0!important;padding:0 12px!important;border-radius:6px!important;font-size:11px!important;font-weight:900!important}
.sales-debtor-contact-form .dashicons{width:16px!important;height:16px!important;font-size:16px!important}
.sales-debtor-history-empty{padding:12px!important;border:1px dashed #d7e0eb!important;border-radius:8px!important;color:#7a8799!important;font-size:11px!important;font-weight:750!important;text-align:center!important}
.sales-debtor-timeline{display:grid!important;gap:6px!important}
.sales-debtor-timeline article{display:grid!important;grid-template-columns:30px 1fr!important;gap:9px!important;padding:9px 10px!important;border:1px solid #edf1f6!important;border-radius:8px!important;background:#fff!important}
.sales-debtor-timeline-icon{display:grid!important;width:30px!important;height:30px!important;place-items:center!important;border-radius:7px!important;background:#eaf8f1!important;color:#22a66b!important}
.sales-debtor-timeline-icon .dashicons{width:16px!important;height:16px!important;font-size:16px!important}
.sales-debtor-timeline article>div>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.sales-debtor-timeline strong{color:#2f3b52!important;font-size:11px!important;font-weight:950!important}
.sales-debtor-timeline small{color:#8590a2!important;font-size:9px!important;font-weight:750!important}
.sales-debtor-timeline p{margin:3px 0 0!important;color:#536178!important;font-size:11px!important;font-weight:750!important}
@media(max-width:1250px){
  .sales-debtor-operation-row{grid-template-columns:1fr!important}
  .sales-debtor-operation-row strong{text-align:left!important}
}
@media(max-width:800px){
  .sales-debtor-projection-form{display:grid!important;grid-template-columns:1fr!important}
  .sales-debtor-projection-form select{width:100%!important}
  .sales-debtor-contact-form{grid-template-columns:1fr!important}
  .sales-debtor-history-head,.sales-debtor-timeline article>div>div{align-items:flex-start!important;flex-direction:column!important}
}

/* Clinessy Core 2.2.35: calendario mensual de deuda. */
.sales-debtors-month{display:grid!important;gap:10px!important;padding:14px!important;border:1px solid #e2e9f2!important;border-radius:10px!important;background:#fff!important;box-shadow:0 12px 28px rgba(28,39,65,.05)!important;overflow-x:auto!important}
.sales-debtors-month>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}
.sales-debtors-month>header>div:first-child{display:flex!important;align-items:center!important;gap:10px!important}
.sales-debtors-month>header>div:first-child>.dashicons{display:grid!important;width:36px!important;height:36px!important;place-items:center!important;border-radius:8px!important;background:#eef7ff!important;color:#2475a8!important;font-size:19px!important}
.sales-debtors-month h3,.sales-debtors-month p{margin:0!important}
.sales-debtors-month h3{color:#243047!important;font-size:15px!important;font-weight:950!important}
.sales-debtors-month p{margin-top:2px!important;color:#7a8799!important;font-size:11px!important;font-weight:750!important}
.sales-debtors-month-total{display:flex!important;align-items:baseline!important;gap:8px!important;padding:8px 11px!important;border:1px solid #dce8e2!important;border-radius:8px!important;background:#f4fbf7!important}
.sales-debtors-month-total small,.sales-debtors-month-total span{color:#68778c!important;font-size:10px!important;font-weight:850!important}
.sales-debtors-month-total strong{color:#22a66b!important;font-size:18px!important;font-weight:950!important}
.sales-debtors-month>nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:720px!important}
.sales-debtors-month>nav>a:not(.sales-debtors-month-today){display:grid!important;width:32px!important;height:32px!important;place-items:center!important;border:1px solid #dce4ee!important;border-radius:7px!important;background:#fff!important;color:#35425a!important;text-decoration:none!important}
.sales-debtors-month>nav>a .dashicons{width:17px!important;height:17px!important;font-size:17px!important}
.sales-debtors-month>nav>strong{min-width:150px!important;color:#243047!important;font-size:13px!important;font-weight:950!important;text-align:center!important;text-transform:capitalize!important}
.sales-debtors-month-today{margin-left:6px!important;color:#2475a8!important;font-size:10px!important;font-weight:900!important;text-decoration:none!important}
.sales-debtors-month-weekdays,.sales-debtors-month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(94px,1fr))!important;min-width:720px!important;gap:5px!important}
.sales-debtors-month-weekdays span{padding:3px 7px!important;color:#7a8799!important;font-size:9px!important;font-weight:950!important;text-align:center!important;text-transform:uppercase!important}
.sales-debtors-month-grid>.is-empty{min-height:76px!important;border-radius:7px!important;background:#fafbfc!important}
.sales-debtors-month-day{display:grid!important;align-content:start!important;gap:4px!important;min-height:76px!important;padding:7px!important;border:1px solid #e8edf4!important;border-radius:7px!important;background:#fff!important;color:#35425a!important;text-decoration:none!important}
a.sales-debtors-month-day:hover{border-color:#9dd9ba!important;box-shadow:0 5px 14px rgba(31,143,91,.1)!important;transform:translateY(-1px)!important}
.sales-debtors-month-number{display:grid!important;width:22px!important;height:22px!important;place-items:center!important;border-radius:6px!important;color:#56647a!important;font-size:10px!important;font-weight:950!important}
.sales-debtors-month-day strong{overflow:hidden!important;color:#22a66b!important;font-size:13px!important;font-weight:950!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtors-month-day small{color:#8792a3!important;font-size:9px!important;font-weight:750!important}
.sales-debtors-month-day.has-debt{background:#f5fcf8!important;border-color:#cfeadd!important}
.sales-debtors-month-day.is-overdue{background:#fff8f9!important;border-color:#ffd6de!important}
.sales-debtors-month-day.is-overdue strong{color:#e64466!important}
.sales-debtors-month-day.is-today{border-color:#66b6e8!important;box-shadow:inset 0 0 0 1px #66b6e8!important}
.sales-debtors-month-day.is-today .sales-debtors-month-number{background:#2475a8!important;color:#fff!important}
.sales-debtors-month-day.is-selected{border-color:#7b52d9!important;box-shadow:inset 0 0 0 2px #7b52d9!important}
.sales-debtors-month>footer{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;min-width:720px!important}
.sales-debtors-month>footer span{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#738096!important;font-size:9px!important;font-weight:850!important}
.sales-debtors-month>footer i{width:8px!important;height:8px!important;border-radius:50%!important}
.sales-debtors-month>footer i.overdue{background:#e64466!important}.sales-debtors-month>footer i.today{background:#2475a8!important}.sales-debtors-month>footer i.future{background:#22a66b!important}
.sales-debtors-date-filter{display:flex!important;align-items:center!important;gap:8px!important;padding:9px 12px!important;border:1px solid #d9e6f3!important;border-radius:8px!important;background:#f5f9fd!important;color:#35425a!important;font-size:11px!important}
.sales-debtors-date-filter>.dashicons{color:#2475a8!important;font-size:16px!important}
.sales-debtors-date-filter a{margin-left:auto!important;color:#2475a8!important;font-weight:900!important;text-decoration:none!important}
@media(max-width:800px){
  .sales-debtors-month>header{align-items:flex-start!important;flex-direction:column!important}
  .sales-debtors-month-total{width:100%!important;justify-content:space-between!important}
}

/* Clinessy Core 2.2.36: espacio de trabajo reorganizado de Deudores. */
.sales-debtors-screen{gap:12px!important}
.sales-debtors-toolbar{min-height:58px!important;padding:10px 14px!important}
.sales-debtors-toolbar>div>.dashicons{width:34px!important;height:34px!important;font-size:19px!important}
.sales-debtors-toolbar h2{font-size:17px!important}
.sales-debtors-toolbar input{min-height:36px!important}
.sales-debtors-toolbar .button{min-height:36px!important}
.sales-debtors-kpis{gap:0!important;border:1px solid #e1e8f0!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important}
.sales-debtors-kpis article{min-height:74px!important;padding:10px 16px!important;border:0!important;border-right:1px solid #e8edf3!important;border-radius:0!important;box-shadow:none!important}
.sales-debtors-kpis article:last-child{border-right:0!important}
.sales-debtors-kpis article>.dashicons{width:36px!important;height:36px!important;border-radius:8px!important;font-size:19px!important}
.sales-debtors-kpis small{font-size:10px!important}
.sales-debtors-kpis strong{font-size:20px!important}
.sales-debtors-workspace-tabs{display:flex!important;align-items:center!important;gap:8px!important;padding:5px!important;border:1px solid #e1e8f0!important;border-radius:9px!important;background:#f5f7fa!important;width:max-content!important;max-width:100%!important}
.sales-debtors-workspace-tabs>a{display:flex!important;align-items:center!important;gap:8px!important;min-width:205px!important;min-height:46px!important;padding:6px 12px!important;border:1px solid transparent!important;border-radius:7px!important;color:#647087!important;text-decoration:none!important}
.sales-debtors-workspace-tabs>a>.dashicons{width:19px!important;height:19px!important;font-size:19px!important}
.sales-debtors-workspace-tabs>a>span:last-child{display:grid!important;gap:1px!important}
.sales-debtors-workspace-tabs b{color:inherit!important;font-size:11px!important;font-weight:950!important}
.sales-debtors-workspace-tabs small{font-size:9px!important;font-weight:750!important}
.sales-debtors-workspace-tabs>a.is-active{border-color:#d9e2ed!important;background:#fff!important;color:#243047!important;box-shadow:0 3px 9px rgba(28,39,65,.06)!important}
.sales-debtors-workspace-tabs>a.is-active>.dashicons{color:#22a66b!important}
.sales-debtors-projection-compact{grid-template-columns:minmax(230px,.42fr) minmax(0,1.58fr)!important;align-items:center!important;padding:10px 12px!important}
.sales-debtors-projection-compact>header{padding:0 6px!important}
.sales-debtors-projection-compact .sales-debtors-projection-executive{grid-template-columns:1.3fr 1fr!important}
.sales-debtors-projection-compact .sales-debtors-recovery,.sales-debtors-projection-compact .sales-debtors-projection-summary span{min-height:66px!important}
.sales-debtors-projection-compact .sales-debtors-recovery{padding:8px 11px!important}
.sales-debtors-projection-compact .sales-debtors-recovery strong{font-size:18px!important}
.sales-debtors-projection-compact .sales-debtors-projection-summary span{padding:9px 11px!important}
.sales-debtors-projection-compact .sales-debtors-projection-summary strong{font-size:16px!important}
.sales-debtors-month{padding:12px!important;box-shadow:none!important}
.sales-debtors-month-day,.sales-debtors-month-grid>.is-empty{height:72px!important;min-height:72px!important}
.sales-debtors-month-day{padding:6px!important}
.sales-debtors-month-day strong{font-size:12px!important}
.sales-debtors-calendar-guide{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:62px!important;padding:10px!important;border:1px dashed #d7e0eb!important;border-radius:8px!important;background:#fafbfd!important}
.sales-debtors-calendar-guide>.dashicons{color:#22a66b!important;font-size:20px!important}
.sales-debtors-calendar-guide strong{display:block!important;color:#35425a!important;font-size:11px!important;font-weight:950!important}
.sales-debtors-calendar-guide p{margin:2px 0 0!important;color:#7a8799!important;font-size:10px!important;font-weight:750!important}
.sales-debtors-filters{gap:8px!important}
.sales-debtors-filters a{min-height:36px!important;padding:0 14px!important;font-size:11px!important;box-shadow:none!important}
.sales-debtor-history{padding:10px 12px!important}
.sales-debtor-contact-form{padding:8px!important}
@media(max-width:1400px){
  .sales-debtors-projection-compact{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  .sales-debtors-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sales-debtors-kpis article:nth-child(2){border-right:0!important}
  .sales-debtors-kpis article:nth-child(-n+2){border-bottom:1px solid #e8edf3!important}
  .sales-debtors-workspace-tabs{width:100%!important}
  .sales-debtors-workspace-tabs>a{flex:1!important;min-width:0!important}
}
@media(max-width:600px){
  .sales-debtors-kpis{grid-template-columns:1fr!important}
  .sales-debtors-kpis article{border-right:0!important;border-bottom:1px solid #e8edf3!important}
  .sales-debtors-workspace-tabs{align-items:stretch!important;flex-direction:column!important}
}

/* Clinessy Core 2.2.37: mapa de calor financiero mensual. */
.sales-debtors-heatmap{gap:8px!important;padding:0!important;border-color:#dfe7f0!important;overflow:hidden!important}
.sales-debtors-heatmap>header{padding:14px 16px 10px!important}
.sales-debtors-month-title{display:flex!important;align-items:center!important;gap:10px!important}
.sales-debtors-month-title>.dashicons{display:grid!important;width:38px!important;height:38px!important;place-items:center!important;border-radius:8px!important;background:#e9f8f0!important;color:#20a568!important;font-size:20px!important}
.sales-debtors-month-insights{display:grid!important;grid-template-columns:repeat(3,minmax(110px,1fr))!important;gap:7px!important}
.sales-debtors-month-insights>span{display:grid!important;gap:2px!important;min-width:120px!important;padding:7px 10px!important;border:1px solid #e2e9f1!important;border-radius:7px!important;background:#fafbfd!important}
.sales-debtors-month-insights small{color:#7a8799!important;font-size:8px!important;font-weight:900!important;text-transform:uppercase!important}
.sales-debtors-month-insights strong{color:#26334a!important;font-size:13px!important;font-weight:950!important}
.sales-debtors-month-insights>span:nth-child(2) strong{color:#e34867!important}
.sales-debtors-heatmap>nav{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:12px!important;min-width:720px!important;padding:8px 16px!important;border-top:1px solid #edf1f5!important;border-bottom:1px solid #edf1f5!important;background:#f8fafc!important}
.sales-debtors-heatmap>nav>div:first-child{display:flex!important;align-items:center!important;gap:8px!important}
.sales-debtors-heatmap>nav>div:first-child>a{display:grid!important;width:30px!important;height:30px!important;place-items:center!important;border:1px solid #d8e1ec!important;border-radius:7px!important;background:#fff!important;color:#35425a!important;text-decoration:none!important}
.sales-debtors-heatmap>nav>div:first-child>a:hover{border-color:#98cdb3!important;color:#178a58!important}
.sales-debtors-heatmap>nav>div:first-child .dashicons{width:16px!important;height:16px!important;font-size:16px!important}
.sales-debtors-heatmap>nav>div:first-child>strong{min-width:130px!important;color:#243047!important;font-size:14px!important;font-weight:950!important;text-align:center!important;text-transform:capitalize!important}
.sales-debtors-heatmap .sales-debtors-month-today{justify-self:center!important;margin:0!important;padding:5px 9px!important;border-radius:6px!important;background:#eaf4fb!important;color:#2475a8!important}
.sales-debtors-heatmap-legend{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important}
.sales-debtors-heatmap-legend span{display:inline-flex!important;align-items:center!important;gap:4px!important;color:#6e7b90!important;font-size:8px!important;font-weight:850!important}
.sales-debtors-heatmap-legend i{width:8px!important;height:8px!important;border-radius:3px!important}
.sales-debtors-heatmap-legend i.low{background:#7fd1a8!important}.sales-debtors-heatmap-legend i.medium{background:#e6b94d!important}.sales-debtors-heatmap-legend i.high{background:#ec7a72!important}.sales-debtors-heatmap-legend i.overdue{background:#df3f60!important}
.sales-debtors-heatmap .sales-debtors-month-weekdays{padding:3px 10px 0!important}
.sales-debtors-heatmap .sales-debtors-month-weekdays span{color:#69778c!important;font-size:9px!important}
.sales-debtors-heatmap .sales-debtors-month-grid{gap:6px!important;padding:0 10px 12px!important}
.sales-debtors-heatmap .sales-debtors-month-grid>.is-empty{height:70px!important;min-height:70px!important;background:transparent!important}
.sales-debtors-heatmap .sales-debtors-month-day{position:relative!important;height:70px!important;min-height:70px!important;padding:7px 8px!important;border-color:#e5ebf2!important;background:#fff!important;box-shadow:0 1px 2px rgba(28,39,65,.025)!important;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease!important}
.sales-debtors-heatmap .sales-debtors-month-day.is-weekend:not(.has-debt){background:#f7f9fb!important}
.sales-debtors-heatmap .sales-debtors-month-day:not(.has-debt){border-color:#edf1f5!important}
.sales-debtors-heatmap .sales-debtors-month-number{width:21px!important;height:21px!important;color:#5b687c!important;font-size:10px!important}
.sales-debtors-day-amount{display:grid!important;gap:3px!important;min-width:0!important}
.sales-debtors-day-amount strong{color:#1d8d5b!important;font-size:12px!important;line-height:1!important}
.sales-debtors-day-amount i{display:block!important;width:35%!important;height:3px!important;border-radius:3px!important;background:#5fc18f!important}
.sales-debtors-heatmap .sales-debtors-month-day.has-debt{border-color:#bfe4d1!important;background:#f2fbf6!important}
.sales-debtors-heatmap .sales-debtors-month-day.debt-medium{border-color:#eedcaa!important;background:#fffaf0!important}
.sales-debtors-heatmap .sales-debtors-month-day.debt-medium .sales-debtors-day-amount strong{color:#a26a00!important}
.sales-debtors-heatmap .sales-debtors-month-day.debt-medium .sales-debtors-day-amount i{width:65%!important;background:#ddb044!important}
.sales-debtors-heatmap .sales-debtors-month-day.debt-high{border-color:#efc5c0!important;background:#fff6f4!important}
.sales-debtors-heatmap .sales-debtors-month-day.debt-high .sales-debtors-day-amount strong{color:#d4544e!important}
.sales-debtors-heatmap .sales-debtors-month-day.debt-high .sales-debtors-day-amount i{width:100%!important;background:#e6756d!important}
.sales-debtors-heatmap .sales-debtors-month-day.is-overdue{border-color:#f2c2cd!important;background:#fff5f7!important}
.sales-debtors-heatmap .sales-debtors-month-day.is-overdue:after{position:absolute!important;top:7px!important;right:7px!important;width:6px!important;height:6px!important;border-radius:50%!important;background:#df3f60!important;content:""!important}
.sales-debtors-heatmap .sales-debtors-month-day.is-overdue .sales-debtors-day-amount strong{color:#df3f60!important}
.sales-debtors-heatmap .sales-debtors-month-day.is-overdue .sales-debtors-day-amount i{background:#df3f60!important}
.sales-debtors-heatmap .sales-debtors-month-day.is-today{border-color:#4ca9dd!important;box-shadow:inset 0 0 0 1px #4ca9dd!important}
.sales-debtors-heatmap .sales-debtors-month-day.is-today .sales-debtors-month-number{border-radius:50%!important;background:#247fab!important;color:#fff!important}
.sales-debtors-heatmap .sales-debtors-month-day.is-selected{border-color:#7045c7!important;box-shadow:inset 0 0 0 2px #7045c7,0 6px 16px rgba(112,69,199,.12)!important}
.sales-debtors-heatmap a.sales-debtors-month-day:hover{border-color:#42aa76!important;box-shadow:0 7px 18px rgba(28,125,76,.12)!important}
.sales-debtors-selected-day{display:grid!important;grid-template-columns:minmax(230px,1fr) auto auto!important;align-items:center!important;gap:16px!important;padding:11px 13px!important;border:1px solid #d8e3ef!important;border-left:4px solid #7045c7!important;border-radius:8px!important;background:#fff!important;box-shadow:0 8px 20px rgba(28,39,65,.05)!important}
.sales-debtors-selected-date{display:flex!important;align-items:center!important;gap:9px!important}
.sales-debtors-selected-date>.dashicons{display:grid!important;width:34px!important;height:34px!important;place-items:center!important;border-radius:7px!important;background:#f0ebfb!important;color:#7045c7!important}
.sales-debtors-selected-date small,.sales-debtors-selected-date strong{display:block!important}
.sales-debtors-selected-date small,.sales-debtors-selected-metrics small{color:#7a8799!important;font-size:8px!important;font-weight:900!important;text-transform:uppercase!important}
.sales-debtors-selected-date strong{margin-top:2px!important;color:#243047!important;font-size:12px!important;font-weight:950!important;text-transform:capitalize!important}
.sales-debtors-selected-metrics{display:flex!important;align-items:center!important;gap:18px!important}
.sales-debtors-selected-metrics>span{display:grid!important;gap:2px!important;min-width:70px!important}
.sales-debtors-selected-metrics strong{color:#243047!important;font-size:14px!important;font-weight:950!important}
.sales-debtors-selected-metrics>span:first-child strong{color:#df3f60!important}
.sales-debtors-selected-actions{display:flex!important;align-items:center!important;gap:10px!important}
.sales-debtors-selected-actions .button{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:34px!important;margin:0!important;font-size:10px!important}
.sales-debtors-selected-actions .dashicons{width:15px!important;height:15px!important;font-size:15px!important}
.sales-debtors-selected-actions>a:last-child{color:#647087!important;font-size:9px!important;font-weight:850!important;text-decoration:none!important}
@media(max-width:1100px){
  .sales-debtors-heatmap>header{align-items:flex-start!important;flex-direction:column!important}
  .sales-debtors-month-insights{width:100%!important}
  .sales-debtors-selected-day{grid-template-columns:1fr!important}
}
@media(max-width:800px){
  .sales-debtors-heatmap>nav{grid-template-columns:1fr!important;justify-items:start!important}
  .sales-debtors-heatmap .sales-debtors-month-today{justify-self:start!important}
  .sales-debtors-heatmap-legend{justify-content:flex-start!important}
  .sales-debtors-month-insights{grid-template-columns:1fr!important}
  .sales-debtors-selected-metrics{flex-wrap:wrap!important}
  .sales-debtors-selected-actions{align-items:flex-start!important;flex-direction:column!important}
}

/* Clinessy Core 2.2.38: resumen de cartera compacto y estable. */
.sales-debtors-portfolio-strip{display:grid!important;grid-template-columns:minmax(190px,.8fr) repeat(3,minmax(180px,1fr))!important;align-items:stretch!important;gap:0!important;padding:0!important;border:1px solid #e1e8f0!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(31,45,72,.05)!important}
.sales-debtors-portfolio-strip>header,.sales-debtors-portfolio-strip>article{display:flex!important;min-width:0!important;min-height:72px!important;padding:11px 16px!important}
.sales-debtors-portfolio-strip>header{align-items:center!important;gap:10px!important;background:#f8fafc!important}
.sales-debtors-portfolio-strip>header>.dashicons{flex:0 0 32px!important;width:32px!important;height:32px!important;border-radius:7px!important;background:#e8f7ef!important;color:#20a66a!important;font-size:18px!important;line-height:32px!important;text-align:center!important}
.sales-debtors-portfolio-strip h3,.sales-debtors-portfolio-strip p{margin:0!important}
.sales-debtors-portfolio-strip h3{color:#263249!important;font-size:12px!important;font-weight:950!important}
.sales-debtors-portfolio-strip p{margin-top:2px!important;color:#78859a!important;font-size:9px!important;font-weight:750!important}
.sales-debtors-portfolio-strip>article{flex-direction:column!important;justify-content:center!important;border-left:1px solid #e8edf3!important}
.sales-debtors-portfolio-strip>article small{color:#637087!important;font-size:9px!important;font-weight:850!important}
.sales-debtors-portfolio-strip>article strong{margin:2px 0!important;color:#20a66a!important;font-size:19px!important;line-height:1.1!important;font-weight:950!important;white-space:nowrap!important}
.sales-debtors-portfolio-strip>article span{overflow:hidden!important;color:#8490a2!important;font-size:9px!important;font-weight:750!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtors-portfolio-strip>article.is-overdue strong{color:#f14668!important}
@media(max-width:1200px){
  .sales-debtors-portfolio-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .sales-debtors-portfolio-strip>header{grid-column:1/-1!important;min-height:52px!important;border-bottom:1px solid #e8edf3!important}
  .sales-debtors-portfolio-strip>article:first-of-type{border-left:0!important}
}
@media(max-width:700px){
  .sales-debtors-portfolio-strip{grid-template-columns:1fr!important}
  .sales-debtors-portfolio-strip>header{grid-column:auto!important}
  .sales-debtors-portfolio-strip>article{min-height:62px!important;border-top:1px solid #e8edf3!important;border-left:0!important}
}

/* Clinessy Core 2.2.39: cabecera de Deudores simplificada. */
.sales-debtors-screen{gap:9px!important}
.sales-debtors-toolbar{min-height:52px!important;padding:6px 10px!important;border-bottom:1px solid #e4eaf1!important;background:transparent!important;box-shadow:none!important}
.sales-debtors-toolbar>div{gap:8px!important}
.sales-debtors-toolbar>div>.dashicons{display:none!important}
.sales-debtors-toolbar h2{font-size:16px!important;line-height:1.15!important}
.sales-debtors-toolbar p{margin-top:1px!important;font-size:9px!important}
.sales-debtors-toolbar form{gap:6px!important;max-width:640px!important}
.sales-debtors-toolbar form label{min-height:36px!important;border-radius:7px!important}
.sales-debtors-toolbar input{min-height:34px!important;font-size:11px!important}
.sales-debtors-toolbar .sales-debtors-icon-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:7px!important}
.sales-debtors-toolbar .sales-debtors-icon-action .dashicons{width:16px!important;height:16px!important;font-size:16px!important}
.sales-debtors-kpis article{min-height:58px!important;padding:7px 14px!important}
.sales-debtors-kpis article>.dashicons{width:30px!important;height:30px!important;border-radius:7px!important;font-size:16px!important}
.sales-debtors-kpis small{font-size:9px!important}
.sales-debtors-kpis strong{font-size:18px!important;line-height:1.05!important}
.sales-debtors-workspace-tabs{gap:3px!important;padding:3px!important}
.sales-debtors-workspace-tabs>a{justify-content:center!important;min-width:170px!important;min-height:34px!important;padding:4px 10px!important}
.sales-debtors-workspace-tabs>a>.dashicons{width:16px!important;height:16px!important;font-size:16px!important}
.sales-debtors-workspace-tabs b{font-size:10px!important}
.sales-debtors-workspace-tabs small{display:none!important}
.sales-debtors-portfolio-strip>header{min-height:58px!important;padding:8px 12px!important}
.sales-debtors-portfolio-strip>header>.dashicons{width:28px!important;height:28px!important;flex-basis:28px!important;font-size:16px!important;line-height:28px!important}
.sales-debtors-portfolio-strip>header p{display:none!important}
.sales-debtors-portfolio-strip>article{min-height:58px!important;padding:7px 13px!important}
.sales-debtors-portfolio-strip>article strong{font-size:17px!important}
.sales-debtors-filters{gap:5px!important}
.sales-debtors-filters a{min-height:32px!important;padding:0 11px!important;font-size:10px!important}
@media(max-width:900px){
  .sales-debtors-toolbar{align-items:stretch!important;flex-direction:column!important}
  .sales-debtors-toolbar form{width:100%!important;max-width:none!important}
}
@media(max-width:600px){
  .sales-debtors-workspace-tabs>a{min-width:0!important}
  .sales-debtors-kpis article{min-height:52px!important}
}

/* Clinessy Core 2.2.40: cartera orientada a recuperación y prioridades. */
.sales-debtors-screen.is-portfolio{grid-template-columns:minmax(0,1fr) auto!important;column-gap:10px!important}
.sales-debtors-screen.is-portfolio>.sales-debtors-toolbar{grid-column:1!important}
.sales-debtors-screen.is-portfolio>.sales-debtors-workspace-tabs{grid-column:2!important;grid-row:1!important;align-self:center!important}
.sales-debtors-screen.is-portfolio>.sales-debtors-kpis{display:none!important}
.sales-debtors-screen.is-portfolio>.sales-debtors-recovery-board,.sales-debtors-screen.is-portfolio>.sales-debtors-filters,.sales-debtors-screen.is-portfolio>.sales-debtors-table,.sales-debtors-screen.is-portfolio>.sales-debtors-empty{grid-column:1/-1!important}
.sales-debtors-recovery-board{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr)!important;border:1px solid #e1e8f0!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(31,45,72,.05)!important}
.sales-debtors-recovery-chart{min-width:0!important;padding:14px 16px 12px!important;border-right:1px solid #e8edf3!important}
.sales-debtors-recovery-chart>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
.sales-debtors-recovery-chart h3,.sales-debtors-recovery-chart p,.sales-debtors-priority h3,.sales-debtors-priority p{margin:0!important}
.sales-debtors-recovery-chart h3,.sales-debtors-priority h3{color:#17213a!important;font-size:13px!important;font-weight:950!important}
.sales-debtors-recovery-chart h3 small{color:#65738b!important;font-size:10px!important;font-weight:800!important}
.sales-debtors-recovery-chart p,.sales-debtors-priority p{margin-top:2px!important;color:#7b8799!important;font-size:9px!important;font-weight:750!important}
.sales-debtors-recovery-chart>header>.dashicons{width:16px!important;height:16px!important;color:#718096!important;font-size:16px!important}
.sales-debtors-recovery-totals{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:12px!important}
.sales-debtors-recovery-totals>span{display:grid!important;gap:3px!important;min-width:0!important;padding:0 12px!important;border-left:1px solid #e7ecf2!important}
.sales-debtors-recovery-totals>span:first-child{padding-left:10px!important;border-left:2px solid #ef476f!important}
.sales-debtors-recovery-totals small{color:#65738b!important;font-size:9px!important;font-weight:850!important}
.sales-debtors-recovery-totals strong{overflow:hidden!important;color:#253149!important;font-size:16px!important;font-weight:950!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtors-recovery-totals .danger small,.sales-debtors-recovery-totals .danger strong{color:#ef334f!important}
.sales-debtors-bars{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end!important;height:118px!important;margin-top:10px!important;padding:10px 8px 0!important;border-bottom:1px solid #dfe6ee!important;background:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,#eef2f6 36px)!important}
.sales-debtors-bars>span{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-direction:column!important;height:100%!important;min-width:0!important}
.sales-debtors-bars i{display:block!important;width:38%!important;min-height:2px!important;border-radius:3px 3px 0 0!important;background:#8b5cf6!important}
.sales-debtors-bars i.danger{background:#ef476f!important}
.sales-debtors-bars i.current{background:#27ae70!important}
.sales-debtors-bars i.future{background:#4f7de8!important}
.sales-debtors-bars i.later{background:#9aa6b7!important}
.sales-debtors-bars b{position:absolute!important;transform:translateY(17px)!important;color:#65738b!important;font-size:8px!important;font-weight:800!important;white-space:nowrap!important}
.sales-debtors-priority{display:flex!important;flex-direction:column!important;min-width:0!important;padding:14px 16px 10px!important}
.sales-debtors-priority>div{display:grid!important;margin-top:8px!important}
.sales-debtors-priority article{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto 32px!important;align-items:center!important;gap:9px!important;min-height:51px!important;border-bottom:1px solid #edf1f5!important}
.sales-debtors-priority-avatar{display:grid!important;width:30px!important;height:30px!important;place-items:center!important;border-radius:50%!important;background:#7c3aed!important;color:#fff!important;font-size:10px!important;font-weight:950!important}
.sales-debtors-priority article div,.sales-debtors-priority article>span:nth-child(3){display:grid!important;gap:2px!important;min-width:0!important}
.sales-debtors-priority article strong{overflow:hidden!important;color:#17213a!important;font-size:10px!important;font-weight:950!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtors-priority article small{color:#77849a!important;font-size:8px!important;font-weight:750!important}
.sales-debtors-priority article div small,.sales-debtors-priority article>span:nth-child(3) b{color:#ef334f!important}
.sales-debtors-priority article>span:nth-child(3){text-align:right!important}
.sales-debtors-priority article>span:nth-child(3) b{font-size:10px!important;font-weight:950!important}
.sales-debtors-priority article>a{display:grid!important;width:30px!important;height:30px!important;place-items:center!important;border:1px solid #dfe7ef!important;border-radius:7px!important;color:#506078!important;text-decoration:none!important}
.sales-debtors-priority article>a .dashicons{width:15px!important;height:15px!important;font-size:15px!important}
.sales-debtors-priority-all{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:auto!important;padding-top:9px!important;color:#315e9d!important;font-size:9px!important;font-weight:850!important;text-decoration:none!important}
.sales-debtors-priority-all .dashicons{width:14px!important;height:14px!important;font-size:14px!important}
.is-portfolio .sales-debtors-filters{padding:0!important;border:0!important;background:transparent!important}
.is-portfolio .sales-debtors-filters a{min-height:34px!important;border-radius:7px!important}
.is-portfolio .sales-debtors-table{border-radius:9px!important;box-shadow:0 8px 22px rgba(31,45,72,.05)!important}
.is-portfolio .sales-debtors-head,.is-portfolio .sales-debtor-main{grid-template-columns:24px minmax(250px,1.5fr) minmax(120px,.75fr) minmax(160px,1fr) minmax(100px,.65fr) minmax(210px,1fr)!important}
.is-portfolio .sales-debtors-head>span:nth-child(3),.is-portfolio .sales-debtors-head>span:nth-child(4),.is-portfolio .sales-debtors-head>span:nth-child(5),.is-portfolio .sales-debtors-head>span:nth-child(7),.is-portfolio .sales-debtor-main>.sales-debtor-contact,.is-portfolio .sales-debtor-main>.sales-debtor-origin,.is-portfolio .sales-debtor-main>.sales-debtor-branch,.is-portfolio .sales-debtor-main>.sales-debtor-count{display:none!important}
.is-portfolio .sales-debtor-main{min-height:68px!important;padding-top:9px!important;padding-bottom:9px!important}
.is-portfolio .sales-debtor-last small{display:block!important;overflow:hidden!important;margin-top:4px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.is-portfolio .sales-debtor-actions .button:not(.button-primary){width:36px!important;min-width:36px!important;padding:0!important;font-size:0!important}
@media(max-width:1200px){
  .sales-debtors-recovery-board{grid-template-columns:1fr!important}
  .sales-debtors-recovery-chart{border-right:0!important;border-bottom:1px solid #e8edf3!important}
  .sales-debtors-screen.is-portfolio{grid-template-columns:1fr!important}
  .sales-debtors-screen.is-portfolio>.sales-debtors-toolbar,.sales-debtors-screen.is-portfolio>.sales-debtors-workspace-tabs{grid-column:1!important;grid-row:auto!important}
}
@media(max-width:800px){
  .sales-debtors-recovery-totals{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 0!important}
  .sales-debtors-bars{height:94px!important}
  .is-portfolio .sales-debtors-head{display:none!important}
  .is-portfolio .sales-debtor-main{grid-template-columns:auto 1fr!important}
  .is-portfolio .sales-debtor-main>.sales-debtor-date,.is-portfolio .sales-debtor-main>.sales-debtor-last,.is-portfolio .sales-debtor-main>.sales-debtor-summary,.is-portfolio .sales-debtor-main>.sales-debtor-actions{display:flex!important;grid-column:2!important}
}

/* Clinessy Core 2.2.41: refinamiento visual y densidad de cartera. */
.sales-debtors-recovery-board{border-color:#dfe6ef!important;box-shadow:0 10px 28px rgba(35,48,76,.06)!important}
.sales-debtors-recovery-chart,.sales-debtors-priority{padding:0!important}
.sales-debtors-recovery-chart>header,.sales-debtors-priority>header{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:50px!important;padding:10px 16px!important;border-bottom:1px solid #e9eef4!important;background:#fbfcfe!important}
.sales-debtors-priority>header{display:block!important}
.sales-debtors-recovery-chart h3,.sales-debtors-priority h3{font-size:12px!important}
.sales-debtors-recovery-chart p,.sales-debtors-priority p{display:block!important}
.sales-debtors-recovery-totals{margin:0!important;padding:12px 16px 7px!important}
.sales-debtors-bars{height:92px!important;margin:0 16px 20px!important;padding-top:7px!important}
.sales-debtors-bars i{width:32%!important;max-width:72px!important}
.sales-debtors-priority>div{margin:0!important;padding:0 16px!important}
.sales-debtors-priority article{min-height:54px!important}
.sales-debtors-priority-all{margin:0 16px!important;min-height:38px!important;padding:0!important}
.is-portfolio .sales-debtors-filters{margin-top:1px!important}
.is-portfolio .sales-debtors-table{border-color:#dfe6ef!important}
.is-portfolio .sales-debtors-head{min-height:44px!important;padding-top:10px!important;padding-bottom:10px!important;background:#f9fbfd!important;font-size:11px!important}
.is-portfolio .sales-debtor-main>.sales-debtor-date,.is-portfolio .sales-debtor-main>.sales-debtor-last,.is-portfolio .sales-debtor-main>.sales-debtor-summary,.is-portfolio .sales-debtor-main>.sales-debtor-actions{grid-column:auto!important}
.is-portfolio .sales-debtor-main{min-height:62px!important;padding-top:7px!important;padding-bottom:7px!important}
.is-portfolio .sales-debtor-avatar{width:38px!important;height:38px!important;font-size:12px!important}
.is-portfolio .sales-debtor-person h3{font-size:14px!important}
.is-portfolio .sales-debtor-person p{margin-top:3px!important;font-size:10px!important}
.is-portfolio .sales-debtor-date small,.is-portfolio .sales-debtor-last small{font-size:9px!important}
.is-portfolio .sales-debtor-summary strong{font-size:16px!important}
.is-portfolio .sales-debtor-actions{grid-column:auto!important;justify-content:flex-end!important}
.is-portfolio .sales-debtor-actions .button{min-height:32px!important;padding:0 11px!important;font-size:10px!important}
.is-portfolio .sales-debtor-actions .button:not(.button-primary){width:32px!important;min-width:32px!important}
.is-portfolio .sales-debtor-card details>summary{display:none!important}
.is-portfolio .sales-debtor-card details[open] .sales-debtor-operations{margin-top:8px!important}
@media(max-width:800px){
  .is-portfolio .sales-debtor-main>.sales-debtor-date,.is-portfolio .sales-debtor-main>.sales-debtor-last,.is-portfolio .sales-debtor-main>.sales-debtor-summary,.is-portfolio .sales-debtor-main>.sales-debtor-actions{grid-column:2!important}
  .is-portfolio .sales-debtor-actions{justify-content:flex-start!important}
  .sales-debtors-recovery-chart>header,.sales-debtors-priority>header{min-height:46px!important}
}

/* Clinessy Core 2.2.42: cartera limpia, intuitiva y de alta legibilidad. */
.is-portfolio .sales-debtors-filters{display:inline-flex!important;width:max-content!important;max-width:100%!important;gap:2px!important;padding:4px!important;border:1px solid #e2e7ee!important;border-radius:10px!important;background:#f2f4f7!important;box-shadow:none!important}
.is-portfolio .sales-debtors-filters a{min-height:32px!important;padding:0 12px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#4c586d!important;box-shadow:none!important;font-size:10px!important;transition:background .16s ease,color .16s ease,box-shadow .16s ease!important}
.is-portfolio .sales-debtors-filters a:hover{background:rgba(255,255,255,.7)!important;color:#182238!important}
.is-portfolio .sales-debtors-filters a.is-active{background:#fff!important;color:#182238!important;box-shadow:0 1px 3px rgba(24,34,56,.12)!important}
.is-portfolio .sales-debtors-filters a.is-active .dashicons{color:#25a86b!important}
.is-portfolio .sales-debtors-table{overflow:hidden!important;border:1px solid #dde3eb!important;border-radius:10px!important;background:#fff!important;box-shadow:0 12px 32px rgba(24,34,56,.055)!important}
.is-portfolio .sales-debtors-head{position:sticky!important;top:0!important;z-index:2!important;min-height:42px!important;padding:9px 16px!important;border-bottom:1px solid #e4e9ef!important;background:rgba(249,250,252,.96)!important;color:#68758a!important;font-size:10px!important;font-weight:850!important}
.is-portfolio .sales-debtor-card,.is-portfolio .sales-debtor-card:first-of-type{border-left:3px solid #d7dee8!important;background:#fff!important;transition:background .16s ease,border-color .16s ease!important}
.is-portfolio .sales-debtor-card.age-recent,.is-portfolio .sales-debtor-card.age-current{border-left-color:#36b978!important}
.is-portfolio .sales-debtor-card.age-warning{border-left-color:#e4ad39!important}
.is-portfolio .sales-debtor-card.age-high,.is-portfolio .sales-debtor-card.age-critical{border-left-color:#ef476f!important}
.is-portfolio .sales-debtor-card:hover{background:#fafcfe!important}
.is-portfolio .sales-debtor-main{min-height:60px!important;padding:8px 16px!important}
.is-portfolio .sales-debtor-toggle{width:26px!important;height:26px!important;border-radius:50%!important;background:#f2f4f7!important;color:#66748a!important;transition:background .16s ease,color .16s ease!important}
.is-portfolio .sales-debtor-card:hover .sales-debtor-toggle{background:#e8edf3!important;color:#263248!important}
.is-portfolio .sales-debtor-toggle .dashicons{width:15px!important;height:15px!important;font-size:15px!important}
.is-portfolio .sales-debtor-avatar{width:36px!important;height:36px!important;border-radius:50%!important;background:#7655e8!important;font-size:11px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)!important}
.is-portfolio .sales-debtor-client{gap:10px!important}
.is-portfolio .sales-debtor-person h3{color:#172138!important;font-size:13px!important;font-weight:850!important}
.is-portfolio .sales-debtor-person p{color:#778398!important;font-size:9px!important;font-weight:700!important}
.is-portfolio .sales-debtor-person p i{width:6px!important;height:6px!important}
.is-portfolio .sales-debtor-age,.is-portfolio .sales-debtor-status{min-height:24px!important;padding:0 9px!important;border-radius:999px!important;font-size:9px!important;font-weight:850!important;line-height:24px!important}
.is-portfolio .sales-debtor-age.warning{background:#fff6df!important;color:#9a6500!important}
.is-portfolio .sales-debtor-age.high,.is-portfolio .sales-debtor-age.critical{background:#fff0f3!important;color:#d93255!important}
.is-portfolio .sales-debtor-age.recent,.is-portfolio .sales-debtor-age.current{background:#eaf8f1!important;color:#167e50!important}
.is-portfolio .sales-debtor-status.muted{background:#f0f2f5!important;color:#647087!important}
.is-portfolio .sales-debtor-date small,.is-portfolio .sales-debtor-last small{margin-top:3px!important;color:#8994a5!important;font-size:8px!important;font-weight:700!important}
.is-portfolio .sales-debtor-summary{text-align:right!important}
.is-portfolio .sales-debtor-summary strong{color:#e83e63!important;font-size:15px!important;font-variant-numeric:tabular-nums!important}
.is-portfolio .sales-debtor-actions{gap:6px!important}
.is-portfolio .sales-debtor-actions .button{min-height:32px!important;border-radius:7px!important;box-shadow:none!important;font-size:9px!important;font-weight:850!important;transition:filter .16s ease,transform .16s ease!important}
.is-portfolio .sales-debtor-actions .button:hover{filter:brightness(.97)!important;transform:translateY(-1px)!important}
.is-portfolio .sales-debtor-actions .button-primary{border-color:#20a568!important;background:#20a568!important}
.is-portfolio .sales-debtor-actions .button:not(.button-primary){border-color:#e1e6ed!important;background:#fff!important}
.is-portfolio .sales-debtor-card.is-open{background:#fbfcfe!important}
.is-portfolio .sales-debtor-card.is-open .sales-debtor-toggle{background:#e8edf3!important;color:#182238!important}
@media(max-width:800px){
  .is-portfolio .sales-debtors-filters{display:flex!important;width:100%!important;overflow-x:auto!important}
  .is-portfolio .sales-debtors-filters a{flex:0 0 auto!important}
  .is-portfolio .sales-debtor-summary{text-align:left!important}
}

/* Clinessy Core 2.2.43: selector de vista compacto y evidente. */
.sales-debtors-workspace-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:420px!important;max-width:100%!important;gap:3px!important;padding:4px!important;border:1px solid #e1e6ed!important;border-radius:11px!important;background:#f1f3f6!important;box-shadow:inset 0 1px 2px rgba(24,34,56,.025)!important}
.sales-debtors-workspace-tabs>a{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;min-height:40px!important;padding:5px 12px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#667287!important;box-shadow:none!important;text-decoration:none!important;transition:background .16s ease,color .16s ease,box-shadow .16s ease!important}
.sales-debtors-workspace-tabs>a:hover{background:rgba(255,255,255,.62)!important;color:#263249!important}
.sales-debtors-workspace-tabs>a>.dashicons{display:grid!important;width:26px!important;height:26px!important;place-items:center!important;border-radius:7px!important;background:rgba(255,255,255,.7)!important;color:#748197!important;font-size:16px!important;line-height:26px!important;transition:background .16s ease,color .16s ease!important}
.sales-debtors-workspace-tabs>a>span:last-child{display:block!important;min-width:0!important}
.sales-debtors-workspace-tabs b{display:block!important;overflow:hidden!important;color:inherit!important;font-size:10px!important;font-weight:850!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sales-debtors-workspace-tabs>a.is-active{background:#fff!important;color:#182238!important;box-shadow:0 1px 3px rgba(24,34,56,.13),0 5px 14px rgba(24,34,56,.05)!important}
.sales-debtors-workspace-tabs>a.is-active::after{position:absolute!important;right:18px!important;bottom:0!important;left:18px!important;height:2px!important;border-radius:2px 2px 0 0!important;background:#24a86b!important;content:""!important}
.sales-debtors-workspace-tabs>a.is-active>.dashicons{background:#eaf8f1!important;color:#1d9d63!important}
@media(max-width:600px){
  .sales-debtors-workspace-tabs{width:100%!important}
  .sales-debtors-workspace-tabs>a{min-height:38px!important;padding:4px 7px!important}
  .sales-debtors-workspace-tabs>a>.dashicons{width:24px!important;height:24px!important;font-size:15px!important;line-height:24px!important}
  .sales-debtors-workspace-tabs b{font-size:9px!important}
}

/* Clinessy Core 2.2.45: selector principal del menú lateral. */
.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed) .clinessy-sidebar-toggle{position:relative!important;top:auto!important;right:auto!important;left:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:46px!important;min-width:0!important;margin:0 0 13px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:12px!important;background:rgba(255,255,255,.075)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;font-size:11px!important;font-weight:850!important;cursor:pointer!important;transition:background .16s ease,border-color .16s ease!important}
.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed) .clinessy-sidebar-toggle:hover{border-color:rgba(255,255,255,.24)!important;background:rgba(255,255,255,.12)!important}
.clinessy-navigation-sidebar .clinessy-sidebar-toggle .dashicons{width:23px!important;height:23px!important;margin-right:8px!important;color:#e6c477!important;font-size:23px!important;line-height:23px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-toggle .clinessy-toggle-label{display:inline!important;color:inherit!important;font-size:12px!important;font-weight:900!important}
.clinessy-navigation-sidebar.clinessy-sidebar-collapsed .clinessy-sidebar-toggle{position:relative!important;top:auto!important;right:auto!important;left:auto!important;display:grid!important;width:38px!important;height:38px!important;min-width:38px!important;margin:0 auto 13px!important;padding:0!important;place-items:center!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important}
.clinessy-navigation-sidebar.clinessy-sidebar-collapsed .clinessy-sidebar-toggle .dashicons{margin:0!important;transform:none!important}
.clinessy-navigation-sidebar.clinessy-sidebar-collapsed .clinessy-sidebar-toggle .clinessy-toggle-label{display:none!important}

/* Clinessy Core 2.2.46: menú lateral compacto y enfocado. */
.clinessy-frontend-fullscreen .clinessy-app.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar,.clinessy-app.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar{width:212px!important;flex:0 0 212px!important;padding:14px 12px!important;overflow:hidden!important}
.clinessy-navigation-sidebar .clinessy-sidebar-brand{min-height:48px!important;margin:0 0 10px!important;padding:0 4px!important;gap:9px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-mark{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:9px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-mark img{max-width:30px!important;max-height:30px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-brand strong{font-size:15px!important;line-height:1.05!important}
.clinessy-navigation-sidebar .clinessy-sidebar-brand span{margin-top:3px!important;font-size:8px!important}
.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed) .clinessy-sidebar-toggle{height:40px!important;margin-bottom:10px!important;border-radius:10px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-toggle .dashicons{width:19px!important;height:19px!important;margin-right:7px!important;font-size:19px!important;line-height:19px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-toggle .clinessy-toggle-label{font-size:10px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account{grid-template-columns:34px minmax(0,1fr) 16px!important;gap:8px!important;margin-bottom:9px!important;padding:9px!important;border-radius:11px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-avatar{width:34px!important;height:34px!important;font-size:10px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account strong{font-size:11px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account small{margin-top:2px!important;font-size:8px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-search{min-height:36px!important;margin-bottom:9px!important;border-radius:9px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-search input{min-height:34px!important;padding-left:32px!important;font-size:9px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-search .dashicons{left:10px!important;top:9px!important;width:15px!important;height:15px!important;font-size:15px!important}
.clinessy-navigation-sidebar>.clinessy-sidebar>nav{flex:1 1 auto!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;padding-right:3px!important;scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.18) transparent!important}
.clinessy-navigation-sidebar .clinessy-nav-section{margin:14px 5px 6px!important;font-size:8px!important;letter-spacing:1.4px!important}
.clinessy-navigation-sidebar .clinessy-nav-tree{margin:2px 0 4px!important}
.clinessy-navigation-sidebar .clinessy-nav{min-height:40px!important;margin:2px 0!important;padding:8px 10px!important;gap:9px!important;border-radius:9px!important;font-size:11px!important}
.clinessy-navigation-sidebar .clinessy-nav>.dashicons:first-child{width:18px!important;height:18px!important;flex:0 0 18px!important;font-size:18px!important;line-height:18px!important}
.clinessy-navigation-sidebar .clinessy-nav-chip{height:20px!important;padding:0 6px!important;font-size:7px!important}
.clinessy-navigation-sidebar .clinessy-nav-caret{width:15px!important;height:15px!important;font-size:15px!important}
.clinessy-navigation-sidebar .clinessy-subnav{gap:2px!important;margin:2px 0 7px 27px!important;padding:2px 0 2px 8px!important}
.clinessy-navigation-sidebar .clinessy-subnav-link{min-height:31px!important;padding:6px 8px!important;border-radius:8px!important;gap:7px!important;font-size:9px!important}
.clinessy-navigation-sidebar .clinessy-subnav-link .dashicons{width:14px!important;height:14px!important;flex:0 0 14px!important;font-size:14px!important;line-height:14px!important}
.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-nav-parent{background:rgba(255,255,255,.09)!important;box-shadow:inset 3px 0 #35d19a!important}
.clinessy-navigation-sidebar .clinessy-subnav-link.active{background:#8b3fe8!important;color:#fff!important;box-shadow:0 5px 12px rgba(18,12,49,.16)!important}
.clinessy-navigation-sidebar .clinessy-sidebar-bottom{flex:0 0 auto!important;margin-top:8px!important;padding-top:8px!important;gap:3px!important;background:inherit!important}
.clinessy-navigation-sidebar .clinessy-sidebar-link{min-height:34px!important;padding:6px 8px!important;border-radius:8px!important;font-size:8px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-link .dashicons{width:15px!important;height:15px!important;font-size:15px!important}
@media(max-width:900px){
  .clinessy-frontend-fullscreen .clinessy-app.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar,.clinessy-app.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed)>.clinessy-sidebar{width:100%!important;flex-basis:auto!important}
}

/* Clinessy Core 2.2.48: identidad visual del menú lateral. */
.clinessy-app.clinessy-navigation-sidebar>.clinessy-sidebar{
  background:#101c2c!important;
  color:#f8fafc!important;
  box-shadow:12px 0 30px rgba(15,23,42,.12)!important;
}
.clinessy-navigation-sidebar .clinessy-sidebar-brand{padding:2px 5px 4px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-mark{
  background:#fff!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18)!important;
}
.clinessy-navigation-sidebar .clinessy-sidebar-mark img{filter:none!important}
.clinessy-navigation-sidebar .clinessy-sidebar-brand strong{color:#fff!important;font-weight:850!important}
.clinessy-navigation-sidebar .clinessy-sidebar-brand span{color:#aeb9ca!important;letter-spacing:1.25px!important}
.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed) .clinessy-sidebar-toggle{
  border-color:rgba(174,185,202,.18)!important;
  background:#142235!important;
  color:#f8fafc!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035)!important;
}
.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed) .clinessy-sidebar-toggle:hover{border-color:rgba(72,224,190,.38)!important;background:#17283d!important}
.clinessy-navigation-sidebar .clinessy-sidebar-toggle .dashicons{color:#b9c5d5!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account{
  border:1px solid rgba(174,185,202,.18)!important;
  background:#142235!important;
  box-shadow:none!important;
}
.clinessy-navigation-sidebar .clinessy-sidebar-avatar{background:#6f42dc!important;color:#fff!important;box-shadow:none!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account strong{color:#fff!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account small{color:#aeb9ca!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account>.dashicons{color:#aeb9ca!important}
.clinessy-navigation-sidebar .clinessy-nav{color:#d9e0ea!important}
.clinessy-navigation-sidebar .clinessy-nav>.dashicons:first-child,.clinessy-navigation-sidebar .clinessy-nav-caret{color:#b9c5d5!important}
.clinessy-navigation-sidebar .clinessy-nav:hover{background:#142235!important;color:#fff!important}
.clinessy-navigation-sidebar .clinessy-nav-section{color:#8f9caf!important}
.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-nav-parent{
  background:#17283b!important;
  color:#fff!important;
  box-shadow:inset 3px 0 #48e0be!important;
}
.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-nav-parent>.dashicons{color:#dce5ef!important}
.clinessy-navigation-sidebar .clinessy-nav-chip{background:rgba(72,224,190,.12)!important;color:#62e7c8!important}
.clinessy-navigation-sidebar .clinessy-subnav{border-left-color:rgba(174,185,202,.18)!important}
.clinessy-navigation-sidebar .clinessy-subnav-link{color:#aeb9ca!important}
.clinessy-navigation-sidebar .clinessy-subnav-link:hover{background:#17283b!important;color:#fff!important}
.clinessy-navigation-sidebar .clinessy-subnav-link.active{
  background:#5d3bc4!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(8,15,28,.22)!important;
}
.clinessy-navigation-sidebar .clinessy-sidebar-bottom{border-top-color:rgba(174,185,202,.12)!important}
.clinessy-navigation-sidebar .clinessy-sidebar-link{color:#aeb9ca!important}
.clinessy-navigation-sidebar .clinessy-sidebar-link:hover{background:#17283b!important;color:#fff!important}
.clinessy-navigation-sidebar>.clinessy-sidebar>nav{scrollbar-color:rgba(174,185,202,.25) transparent!important}

/* Clinessy Core 2.2.49: paleta oficial inspirada en el logo Clinessy. */
.clinessy-app.clinessy-navigation-sidebar>.clinessy-sidebar{background:linear-gradient(165deg,#17143a 0%,#0d1838 28%,#071735 64%,#091a31 100%)!important}
.clinessy-navigation-sidebar .clinessy-sidebar-brand span{color:#aeb5d0!important}
.clinessy-navigation-sidebar .clinessy-sidebar-mark{border-color:#fff!important;box-shadow:0 7px 18px rgba(2,8,24,.24)!important}
.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed) .clinessy-sidebar-toggle{border-color:rgba(174,181,208,.20)!important;background:#102143!important}
.clinessy-navigation-sidebar:not(.clinessy-sidebar-collapsed) .clinessy-sidebar-toggle:hover{border-color:rgba(113,55,234,.52)!important;background:#14274d!important}
.clinessy-navigation-sidebar .clinessy-sidebar-toggle .dashicons{color:#aeb5d0!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account{border-color:rgba(174,181,208,.20)!important;background:#102143!important}
.clinessy-navigation-sidebar .clinessy-sidebar-avatar{background:#7137ea!important}
.clinessy-navigation-sidebar .clinessy-sidebar-account small,.clinessy-navigation-sidebar .clinessy-sidebar-account>.dashicons{color:#aeb5d0!important}
.clinessy-navigation-sidebar .clinessy-nav{color:#e4e8f3!important}
.clinessy-navigation-sidebar .clinessy-nav>.dashicons:first-child,.clinessy-navigation-sidebar .clinessy-nav-caret{color:#b8bfd5!important}
.clinessy-navigation-sidebar .clinessy-nav:hover{background:#102143!important}
.clinessy-navigation-sidebar .clinessy-nav-section{color:#969fba!important}
.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-nav-parent{background:#13264a!important;box-shadow:inset 3px 0 #ec3fa3!important}
.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-nav-parent>.dashicons{color:#f8faff!important}
.clinessy-navigation-sidebar .clinessy-nav-chip{background:rgba(35,201,167,.13)!important;color:#4adbbd!important}
.clinessy-navigation-sidebar .clinessy-subnav{border-left-color:rgba(174,181,208,.18)!important}
.clinessy-navigation-sidebar .clinessy-subnav-link{color:#aeb5d0!important}
.clinessy-navigation-sidebar .clinessy-subnav-link:hover{background:#102143!important}
.clinessy-navigation-sidebar .clinessy-subnav-link.active{background:linear-gradient(110deg,#6041cc 0%,#873fd0 100%)!important;box-shadow:inset 3px 0 #ec3fa3,0 5px 14px rgba(2,8,24,.24)!important}
.clinessy-navigation-sidebar .clinessy-sidebar-bottom{border-top-color:rgba(174,181,208,.13)!important}
.clinessy-navigation-sidebar .clinessy-sidebar-link{color:#aeb5d0!important}
.clinessy-navigation-sidebar .clinessy-sidebar-link:hover{background:#102143!important}

/* Clinessy Core 2.2.50: estados activos simples y etiquetas completas. */
.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-nav-parent{box-shadow:none!important}
.clinessy-navigation-sidebar .clinessy-nav-tree.active>.clinessy-nav-parent:before{background:#ec3fa3!important}
.clinessy-navigation-sidebar .clinessy-subnav-link.active{box-shadow:0 5px 14px rgba(2,8,24,.24)!important}
.clinessy-navigation-sidebar .clinessy-nav-parent[title="Configuración"]{gap:6px!important;padding-left:8px!important;padding-right:7px!important}
.clinessy-navigation-sidebar .clinessy-nav-parent[title="Configuración"] .clinessy-nav-label{overflow:visible!important;font-size:9px!important;text-overflow:clip!important}
.clinessy-navigation-sidebar .clinessy-nav-parent[title="Configuración"] .clinessy-nav-chip{margin-left:1px!important;padding:0 5px!important}

/* Clinessy Core 2.2.51: cabecera de marca simplificada. */
.clinessy-navigation-sidebar .clinessy-sidebar-brand{gap:8px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-mark{width:40px!important;height:40px!important;flex-basis:40px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-mark img{max-width:32px!important;max-height:32px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-brand strong{font-size:16px!important}
.clinessy-navigation-sidebar .clinessy-sidebar-brand span{font-size:8px!important;letter-spacing:.7px!important;text-transform:none!important}

/* Clinessy Core 2.2.52: cabecera compacta del Dashboard. */
.clinessy-dashboard-modern{gap:12px!important}
.clinessy-dashboard-modern .modern-topline{min-height:0!important;margin:0 0 2px!important;padding:14px 0 6px!important}
.clinessy-dashboard-modern .modern-topline h2{margin:0!important;font-size:26px!important;line-height:1.08!important;letter-spacing:0!important}
.clinessy-dashboard-modern .modern-topline p{margin:5px 0 0!important;color:#667085!important;font-size:11px!important;line-height:1.25!important}
.clinessy-dashboard-modern .modern-kpi-row{margin-top:0!important}
@media(min-width:901px){
  .clinessy-header-controls .clinessy-notifications{order:1!important}
  .clinessy-header-controls .clinessy-theme-toggle{order:2!important}
  .clinessy-header-controls .clinessy-refresh-button{order:3!important;min-height:38px!important;padding:0 13px!important}
  .clinessy-header-controls .clinessy-last-updated{order:4!important;width:auto!important;margin:0 4px 0 -5px!important;text-align:left!important;font-size:9px!important;white-space:nowrap!important}
  .clinessy-header-controls .clinessy-user{order:5!important}
  .clinessy-global-search{min-height:40px!important}
  .clinessy-global-search input{min-height:38px!important}
}

/* Clinessy Core 2.2.53: hora integrada en Actualizar. */
.clinessy-refresh-button .clinessy-last-updated{display:inline!important;width:auto!important;margin:0!important;color:inherit!important;font-size:inherit!important;font-weight:inherit!important;white-space:nowrap!important}
.clinessy-setup-professional{grid-column:1/-1;margin-top:4px;padding:16px;border:1px solid #d9cdf8;border-radius:11px;background:#f9f7ff}.clinessy-setup-professional[hidden]{display:none}.clinessy-setup-professional>header{display:flex;align-items:center;gap:10px;margin-bottom:14px}.clinessy-setup-professional>header>span{padding:8px;border-radius:8px;background:#eee7ff;color:#6d28d9}.clinessy-setup-professional>header strong,.clinessy-setup-professional>header small{display:block}.clinessy-setup-professional>header small{margin-top:2px;color:#73788d;font-size:11px}.clinessy-setup-professional-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.clinessy-setup-professional-services{margin-top:14px}.clinessy-setup-professional-services>strong{font-size:12px}.clinessy-setup-professional-services>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.clinessy-setup-professional-services label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e1dcef;border-radius:8px;background:#fff;cursor:pointer}.clinessy-setup-professional-services label:has(input:checked){border-color:#8b5cf6;background:#f4efff}.clinessy-setup-professional-services input{width:16px!important;min-height:16px!important}.clinessy-setup-professional-services b,.clinessy-setup-professional-services small{display:block}.clinessy-setup-professional-services small{color:#7b8092;font-size:10px}.clinessy-setup-professional-note{display:flex;align-items:center;gap:6px;margin:12px 0 0;color:#5f6477;font-size:11px}@media(max-width:1050px){.clinessy-setup-professional-services>div{grid-template-columns:1fr 1fr}}@media(max-width:650px){.clinessy-setup-professional-grid,.clinessy-setup-professional-services>div{grid-template-columns:1fr}}
/* Clinessy Core 2.3.40: accesos del equipo claros y responsivos. */
.clinessy-team-section .user-row{display:block!important;position:relative;padding:0!important;border:1px solid #ded8ec!important;border-radius:8px!important;background:#fff!important;overflow:hidden}
.clinessy-team-row-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #ebe7f3;background:#faf9fd}
.clinessy-team-row-icon{display:grid!important;place-items:center;width:38px;height:38px;border-radius:6px;background:#eee7ff;color:#7137ea}
.clinessy-team-row-head>div{display:grid;gap:2px}
.clinessy-team-row-head small{color:#7a718d;font-size:10px;font-weight:800;text-transform:uppercase}
.clinessy-team-row-head strong{color:#172033;font-size:15px}
.clinessy-team-row-head .button-link-delete{display:grid;place-items:center;width:38px;height:38px;margin-left:auto;border:0;border-radius:6px;background:#fff0f2;color:#cf3349;cursor:pointer}
.clinessy-team-row-head .button-link-delete:hover{background:#ffe3e7;color:#a91e34}
.clinessy-team-row-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:16px}
.clinessy-team-row-fields>label{display:grid;gap:6px;align-content:start}
.clinessy-team-name,.clinessy-team-email,.clinessy-team-login,.clinessy-team-role{grid-column:span 2}
.clinessy-team-password{grid-column:span 4}
.clinessy-team-password>small{color:#718096;font-size:10px;font-weight:600}
.clinessy-team-password .clinessy-password-field{display:grid!important;grid-template-columns:minmax(0,1fr) 42px auto;gap:8px}
.clinessy-team-password .clinessy-password-field input{min-width:0;width:100%}
.clinessy-password-toggle{display:grid!important;place-items:center;padding:0!important}
.clinessy-password-generate{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.clinessy-team-section .user-row>.clinessy-setup-professional{margin:0 16px 16px!important}
@media(max-width:1050px){.clinessy-team-row-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.clinessy-team-name,.clinessy-team-email,.clinessy-team-login,.clinessy-team-role{grid-column:span 1}.clinessy-team-password{grid-column:1/-1}}
@media(max-width:650px){.clinessy-team-row-fields{grid-template-columns:1fr}.clinessy-team-name,.clinessy-team-email,.clinessy-team-login,.clinessy-team-role,.clinessy-team-password{grid-column:1}.clinessy-team-password .clinessy-password-field{grid-template-columns:minmax(0,1fr) 42px}.clinessy-password-generate{grid-column:1/-1}}
/* Clinessy Core 2.3.43: bienvenida al completar la configuracion inicial. */
.clinessy-setup-welcome-page{min-height:calc(100vh - 32px);display:grid;place-items:center;padding:40px 20px;box-sizing:border-box}
.clinessy-setup-welcome{width:min(720px,100%);padding:48px;background:#fff;border:1px solid #e4e7ec;border-top:4px solid #673de6;border-radius:8px;box-shadow:0 18px 48px rgba(16,24,40,.10);text-align:center;box-sizing:border-box}
.clinessy-setup-welcome-logo{display:block;width:72px;height:72px;margin:0 auto 18px;object-fit:contain}
.clinessy-setup-welcome-eyebrow{display:block;margin-bottom:10px;color:#673de6;font-size:11px;font-weight:800;letter-spacing:1.2px}
.clinessy-setup-welcome h1{max-width:620px;margin:0 auto;color:#152238;font-size:36px;line-height:1.15;letter-spacing:0}
.clinessy-setup-welcome-intro{max-width:620px;margin:18px auto 0;color:#667085;font-size:17px;line-height:1.6}
.clinessy-setup-welcome-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:30px 0}
.clinessy-setup-welcome-checks>div{display:flex;align-items:center;gap:9px;padding:13px 14px;border:1px solid #cfe9df;border-radius:8px;background:#f2fbf7;text-align:left}
.clinessy-setup-welcome-checks .dashicons{color:#16835b}
.clinessy-setup-welcome-checks strong{color:#24453a;font-size:13px}
.clinessy-setup-welcome-cta{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 28px!important;
  border:1px solid #673de6!important;
  border-radius:8px!important;
  background:#673de6!important;
  box-shadow:0 8px 18px rgba(103,61,230,.22);
  color:#fff!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1!important;
  text-decoration:none!important
}
.clinessy-setup-welcome-cta .dashicons{width:20px;height:20px;color:#fff!important;font-size:20px;line-height:20px}
.clinessy-setup-welcome-cta:hover,
.clinessy-setup-welcome-cta:focus,
.clinessy-setup-welcome-cta:active{border-color:#5525cd!important;background:#5525cd!important;color:#fff!important;text-decoration:none!important}
.clinessy-setup-welcome-cta:hover{box-shadow:0 10px 22px rgba(85,37,205,.26)}
.clinessy-setup-welcome-cta:focus{outline:3px solid rgba(103,61,230,.22)!important;outline-offset:3px;box-shadow:0 8px 18px rgba(103,61,230,.22)!important}
.clinessy-setup-welcome>small{display:block;margin-top:12px;color:#7b8190}
@media(max-width:650px){.clinessy-setup-welcome-page{padding:20px 12px}.clinessy-setup-welcome{padding:34px 20px}.clinessy-setup-welcome h1{font-size:28px}.clinessy-setup-welcome-checks{grid-template-columns:1fr}}
/* Clinessy Core 2.3.46: navegación horizontal compacta y estable. */
@media (min-width: 901px) {
  .clinessy-navigation-top > .clinessy-sidebar {
    position: sticky !important;
    top: 32px !important;
    z-index: 100 !important;
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) 210px !important;
    grid-template-rows: 84px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 84px !important;
    height: 84px !important;
    padding: 0 18px !important;
    overflow: visible !important;
    background: linear-gradient(100deg, #251064, #42178d 62%, #321270) !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-brand {
    grid-column: 1;
    grid-row: 1;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 84px !important;
    margin: 0 !important;
    padding: 0 14px 0 0 !important;
    gap: 10px !important;
    border: 0 !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-mark {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 8px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-mark img {
    max-width: 30px !important;
    max-height: 30px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-brand > div:last-child,
  .clinessy-navigation-top .clinessy-sidebar-account > div {
    min-width: 0 !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-brand strong,
  .clinessy-navigation-top .clinessy-sidebar-brand span,
  .clinessy-navigation-top .clinessy-sidebar-account strong,
  .clinessy-navigation-top .clinessy-sidebar-account small {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-brand strong {
    font-size: 16px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-brand span {
    margin-top: 2px !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .8px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-toggle,
  .clinessy-navigation-top .clinessy-sidebar-bottom,
  .clinessy-navigation-top .clinessy-nav-section {
    display: none !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-account {
    grid-column: 3;
    grid-row: 1;
    align-self: center !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 16px !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    gap: 9px !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .08) !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 12px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-account strong {
    font-size: 11px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-account small {
    margin-top: 2px !important;
    font-size: 9px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar > nav {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    align-items: stretch !important;
    min-width: 0 !important;
    width: auto !important;
    height: 84px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    gap: 2px !important;
    overflow: visible !important;
  }

  .clinessy-navigation-top .clinessy-sidebar > nav > .clinessy-nav,
  .clinessy-navigation-top .clinessy-nav-tree {
    position: relative !important;
    flex: 1 1 0 !important;
    min-width: 68px !important;
    max-width: 116px !important;
    margin: 0 !important;
  }

  .clinessy-navigation-top .clinessy-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 84px !important;
    min-height: 84px !important;
    padding: 8px 6px !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: center !important;
  }

  .clinessy-navigation-top .clinessy-nav .dashicons {
    width: 20px !important;
    height: 20px !important;
    font-size: 20px !important;
    line-height: 20px !important;
  }

  .clinessy-navigation-top .clinessy-nav > span:not(.dashicons):not(.clinessy-nav-badge):not(.clinessy-nav-chip) {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  .clinessy-navigation-top .clinessy-nav-chip {
    position: static !important;
    margin: 0 !important;
    font-size: 8px !important;
  }

  .clinessy-navigation-top .clinessy-nav:hover,
  .clinessy-navigation-top .clinessy-nav.is-active {
    background: rgba(255, 255, 255, .12) !important;
    box-shadow: inset 0 -3px 0 #37d6a4 !important;
  }

  .clinessy-navigation-top .clinessy-nav-tree > summary {
    list-style: none !important;
  }

  .clinessy-navigation-top .clinessy-nav-tree > summary::-webkit-details-marker {
    display: none !important;
  }

  .clinessy-navigation-top .clinessy-nav-tree .clinessy-nav-children {
    position: absolute !important;
    top: 76px !important;
    left: 0 !important;
    z-index: 120 !important;
    min-width: 210px !important;
    padding: 8px !important;
    border: 1px solid #e3dff0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 14px 30px rgba(17, 24, 39, .16) !important;
  }

  .clinessy-navigation-top > .clinessy-main {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

@media (min-width: 901px) and (max-width: 1250px) {
  .clinessy-navigation-top > .clinessy-sidebar {
    grid-template-columns: 64px minmax(0, 1fr) 58px !important;
    padding: 0 10px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-brand {
    grid-template-columns: 42px !important;
    padding: 0 8px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-brand > div:last-child,
  .clinessy-navigation-top .clinessy-sidebar-account > div,
  .clinessy-navigation-top .clinessy-sidebar-account > .dashicons {
    display: none !important;
  }

  .clinessy-navigation-top .clinessy-sidebar-account {
    grid-template-columns: 38px !important;
    justify-content: center !important;
    padding: 8px !important;
  }

  .clinessy-navigation-top .clinessy-sidebar > nav > .clinessy-nav,
  .clinessy-navigation-top .clinessy-nav-tree {
    min-width: 62px !important;
  }
}
/* Clinessy Core 2.3.47: menu horizontal y flujo de ventas. */
@media (min-width: 1251px) {
    .clinessy-navigation-top > .clinessy-sidebar {
        grid-template-columns: 210px minmax(760px, 1fr) 224px !important;
        padding: 0 14px !important;
    }

    .clinessy-navigation-top .clinessy-sidebar > nav {
        gap: 1px !important;
        padding: 0 4px !important;
    }

    .clinessy-navigation-top .clinessy-sidebar > nav > .clinessy-nav,
    .clinessy-navigation-top .clinessy-nav-tree {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .clinessy-navigation-top .clinessy-nav > span:not(.dashicons):not(.clinessy-nav-badge):not(.clinessy-nav-chip) {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 26px !important;
        overflow: visible !important;
        font-size: 11px !important;
        line-height: 1.15 !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }
}

.sales-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px) !important;
    gap: 20px !important;
    align-items: start !important;
}

.clinessy-sale-entry.sales-entry-card,
.sales-summary-card {
    border-color: #d8dee8 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 22px rgba(18, 31, 53, 0.07) !important;
}

.clinessy-sale-entry.sales-entry-card {
    padding: 20px !important;
}

.sales-step {
    padding: 16px !important;
    border-color: #dfe5ee !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(18, 31, 53, 0.04) !important;
}

.sales-step > header {
    margin: -16px -16px 16px !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid #e4e9f1 !important;
    border-radius: 8px 8px 0 0 !important;
    background: #f7f9fc !important;
}

.sales-mode-chooser span {
    position: relative !important;
    min-height: 88px !important;
    border-radius: 8px !important;
}

.sales-mode-chooser input:checked + span::after {
    content: "\2713";
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #0b8f67;
    color: #fff;
    font-weight: 800;
}

.sales-summary-card {
    top: 104px !important;
    border-top: 3px solid #6f2ee8 !important;
}

.sales-summary-card .sales-summary-total {
    padding: 14px !important;
    border: 1px solid #ccebdd !important;
    border-radius: 8px !important;
    background: #eefaf5 !important;
}

.sales-summary-save {
    min-height: 48px !important;
    font-weight: 800 !important;
}

/* Clinical template preview must stay above the settings workspace. */
.clinical-preview-dialog {
    position: fixed !important;
    z-index: 2147483000 !important;
    inset: 0 !important;
    display: grid !important;
    box-sizing: border-box !important;
    place-items: center !important;
    padding: 22px !important;
    background: rgba(12, 18, 38, .64) !important;
}

.clinical-preview-dialog .clinical-preview-card {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    width: min(820px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 44px) !important;
    overflow: hidden !important;
    border: 1px solid #e4e0eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #182033 !important;
    box-shadow: 0 28px 80px rgba(4, 9, 24, .3) !important;
}

.clinical-preview-head {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 36px !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 18px 20px !important;
    border-bottom: 1px solid #e8e5ed !important;
    background: #fff !important;
}

.clinical-preview-head > .dashicons {
    display: grid !important;
    width: 40px !important;
    height: 40px !important;
    place-items: center !important;
    border-radius: 8px !important;
    background: #f0eaff !important;
    color: #7137ea !important;
    font-size: 22px !important;
    line-height: 40px !important;
}

.clinical-preview-head small,
.clinical-preview-head h3,
.clinical-preview-head p {
    display: block !important;
    margin: 0 !important;
    letter-spacing: 0 !important;
}

.clinical-preview-head small {
    color: #7137ea !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.clinical-preview-head h3 {
    margin-top: 2px !important;
    color: #182033 !important;
    font-size: 18px !important;
}

.clinical-preview-head p {
    margin-top: 3px !important;
    color: #70788b !important;
    font-size: 11px !important;
}

.clinical-preview-head button {
    display: grid !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    place-items: center !important;
    border: 1px solid #e0dce7 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #51576a !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.clinical-preview-dialog .clinical-preview-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-content: start !important;
    gap: 16px !important;
    padding: 20px !important;
    overflow-y: auto !important;
    background: #fbfbfd !important;
}

.clinical-preview-fields > label,
.clinical-preview-fields > fieldset {
    min-width: 0 !important;
    margin: 0 !important;
}

.clinical-preview-fields > label {
    display: grid !important;
    align-content: start !important;
    gap: 7px !important;
}

.clinical-preview-fields strong {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #283044 !important;
    font-size: 12px !important;
}

.clinical-preview-fields input:not([type="radio"]):not([type="checkbox"]),
.clinical-preview-fields textarea,
.clinical-preview-fields select {
    width: 100% !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 9px 11px !important;
    border: 1px solid #d9dce5 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #535b6d !important;
    box-shadow: none !important;
    font: inherit !important;
}

.clinical-preview-fields textarea {
    min-height: 88px !important;
    resize: none !important;
}

.clinical-preview-fields fieldset {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 18px !important;
    padding: 14px !important;
    border: 1px solid #ddd8e7 !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.clinical-preview-fields fieldset legend {
    padding: 0 5px !important;
}

.clinical-preview-fields fieldset label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.clinical-preview-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 14px 20px !important;
    border-top: 1px solid #e8e5ed !important;
    background: #fff !important;
}

.clinical-preview-footer > span {
    color: #7c8495 !important;
    font-size: 10px !important;
}

.clinical-preview-footer .button-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 40px !important;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #7137ea !important;
    color: #fff !important;
    font-weight: 800 !important;
}

.clinical-preview-footer .dashicons {
    width: 16px !important;
    height: 16px !important;
    font-size: 16px !important;
    line-height: 16px !important;
}

@media (max-width: 700px) {
    .clinical-preview-dialog .clinical-preview-fields {
        grid-template-columns: 1fr !important;
    }

    .clinical-preview-footer {
        align-items: stretch !important;
        flex-direction: column !important;
    }
}

/* Simple per-zone laser session record. */
.session-laser-form {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
}

.session-laser-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: center;
    gap: 1px;
    border-bottom: 1px solid #e7e9ef;
    background: #e7e9ef;
}

.session-laser-context > div {
    min-width: 0;
    padding: 12px 18px;
    background: #fafbfc;
}

.session-laser-context small,
.session-laser-context strong {
    display: block;
    overflow: hidden;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-laser-context small {
    color: #7b8495;
    font-size: 9px;
    font-weight: 900;
}

.session-laser-context strong {
    margin-top: 3px;
    color: #273044;
    font-size: 12px;
}

.session-laser-context-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    background: #fafbfc;
}

.session-laser-context-actions > span {
    padding: 6px 9px;
    border-radius: 6px;
    background: #eee8ff;
    color: #6530d5;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.session-laser-context-actions .button-primary {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    min-height: 36px !important;
    border: 0 !important;
    background: #6731d5 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    white-space: nowrap;
}

.session-laser-context-actions .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

.session-laser-body {
    min-height: 0;
    padding: 20px 24px;
    overflow-y: auto;
    background: #fbfbfd;
}

.session-laser-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.session-laser-heading h3,
.session-laser-heading p {
    margin: 0;
    letter-spacing: 0;
}

.session-laser-heading h3 {
    color: #20283a;
    font-size: 15px;
}

.session-laser-heading p {
    margin-top: 3px;
    color: #737c8e;
    font-size: 10px;
}

.session-laser-heading .button {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 38px !important;
    border-color: #b9a4ec !important;
    color: #6530d5 !important;
    font-weight: 800 !important;
}

.session-laser-heading .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

.session-laser-zones {
    display: grid;
    gap: 9px;
}

.session-laser-zone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, .55fr) 38px;
    align-items: end;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e1dce8;
    border-radius: 8px;
    background: #fff;
}

.session-laser-zone-row label,
.session-laser-observation {
    display: grid;
    gap: 6px;
    color: #344054;
    font-size: 10px;
    font-weight: 850;
}

.session-laser-zone-row select,
.session-laser-zone-row input,
.session-laser-observation textarea {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #d6d9e2;
    border-radius: 7px;
    background: #fff;
    color: #20283a;
    box-shadow: none;
    font-family: inherit;
    letter-spacing: 0;
}

.session-laser-zone-row select,
.session-laser-zone-row input {
    padding: 0 11px;
}

.session-laser-energy {
    position: relative;
}

.session-laser-energy input {
    padding-right: 55px;
}

.session-laser-energy b {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #6f7788;
    font-size: 10px;
    pointer-events: none;
}

.session-laser-zone-row > button {
    display: grid;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: #ffedef;
    color: #c63847;
    cursor: pointer;
}

.session-laser-zone-row > button .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
    line-height: 17px;
}

.session-laser-observation {
    margin-top: 14px;
}

.session-laser-observation textarea {
    min-height: 72px;
    padding: 10px 12px;
    resize: vertical;
}

.session-laser-form > footer .button-primary {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 40px !important;
    border: 0 !important;
    background: #6731d5 !important;
    color: #fff !important;
    font-weight: 850 !important;
}

@media (max-width: 760px) {
    .session-laser-context {
        grid-template-columns: 1fr 1fr;
    }

    .session-laser-context-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .session-laser-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .session-laser-heading .button {
        justify-content: center;
    }

    .session-laser-zone-row {
        grid-template-columns: minmax(0, 1fr) 130px 38px;
    }
}

/* Clinessy Core 2.3.82: consentimiento como alerta accionable. */
.client-clinical-overview > .client-clinical-consent-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 11px 14px;
    border-left: 1px solid #e7ecf3;
    color: #344054;
    text-decoration: none !important;
}

.client-clinical-consent-card > .dashicons {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    font-size: 17px;
}

.client-clinical-consent-card small,
.client-clinical-consent-card strong,
.client-clinical-consent-card em {
    display: block;
    margin: 0;
    letter-spacing: 0;
}

.client-clinical-consent-card strong {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.25;
}

.client-clinical-consent-card em {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    font-size: 9px;
    font-style: normal;
    font-weight: 850;
}

.client-clinical-consent-card em .dashicons {
    width: 12px;
    height: 12px;
    font-size: 12px;
    line-height: 12px;
}

.client-clinical-consent-card.consent-pending {
    background: #fff7e6;
    box-shadow: inset 4px 0 #e59a18;
}

.client-clinical-consent-card.consent-pending > .dashicons {
    background: #ffe8b8;
    color: #a76200;
}

.client-clinical-consent-card.consent-pending strong,
.client-clinical-consent-card.consent-pending em { color: #9a5c00; }

.client-clinical-consent-card.consent-signed {
    background: #f1fbf5;
    box-shadow: inset 4px 0 #27a36a;
}

.client-clinical-consent-card.consent-signed > .dashicons {
    background: #dff5e9;
    color: #087a4f;
}

.client-clinical-consent-card.consent-signed strong,
.client-clinical-consent-card.consent-signed em { color: #087a4f; }

.client-clinical-consent-card.consent-expired {
    background: #fff1f2;
    box-shadow: inset 4px 0 #d83b4d;
}

.client-clinical-consent-card.consent-expired > .dashicons {
    background: #ffdfe3;
    color: #b42332;
}

.client-clinical-consent-card.consent-expired strong,
.client-clinical-consent-card.consent-expired em { color: #b42332; }

.client-clinical-consent-card:hover,
.client-clinical-consent-card:focus {
    filter: brightness(.98);
    outline: 2px solid rgba(103, 49, 213, .2);
    outline-offset: -2px;
}

/* Clinessy Core 2.3.81: acciones clínicas claras y creación secundaria. */
.client-clinical-section > .client-clinical-create { order: 4; }

.client-clinical-heading > .button.button-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid #6731d5 !important;
    border-radius: 8px !important;
    background: #6731d5 !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(103, 49, 213, .18) !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
}

.client-clinical-heading > .button.button-primary:hover,
.client-clinical-heading > .button.button-primary:focus {
    border-color: #5626bd !important;
    background: #5626bd !important;
    color: #fff !important;
}

.client-clinical-heading > .button.button-primary .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
    line-height: 17px;
}

.client-clinical-session-head > .button {
    display: grid !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    border: 1px solid #d7dfeb !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #536178 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.client-clinical-session-head > .button:hover,
.client-clinical-session-head > .button:focus {
    border-color: #9e88dd !important;
    background: #f7f4ff !important;
    color: #6731d5 !important;
}

.client-clinical-session-head > .button .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
    line-height: 17px;
}

.client-clinical-create {
    border-top: 1px solid #e3e8f0;
    background: #fff;
}

.client-clinical-create > summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 12px 30px;
    color: #20283a;
    cursor: pointer;
    list-style: none;
}

.client-clinical-create > summary::-webkit-details-marker { display: none; }

.client-clinical-create > summary > .dashicons:first-child {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: #f0eaff;
    color: #7137ea;
    font-size: 19px;
}

.client-clinical-create > summary > .dashicons:last-child {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    color: #667085;
    font-size: 17px;
    transition: transform .18s ease;
}

.client-clinical-create[open] > summary > .dashicons:last-child { transform: rotate(180deg); }

.client-clinical-create > summary h3,
.client-clinical-create > summary p {
    margin: 0;
    letter-spacing: 0;
}

.client-clinical-create > summary h3 { font-size: 14px; }
.client-clinical-create > summary p { margin-top: 3px; color: #778398; font-size: 10px; font-weight: 700; }

.client-clinical-create[open] > summary {
    border-bottom: 1px solid #e7ecf3;
    background: #fbfcfe;
}

.client-clinical-create-body { background: #fff; }

.client-clinical-create-body > .client-clinical-picker {
    padding: 18px 30px !important;
    border-bottom: 0 !important;
    background: #fff !important;
}

.client-clinical-create-body > .client-clinical-form { border-top: 1px solid #e7ecf3; }

@media (max-width: 760px) {
    .client-clinical-heading { align-items: stretch; flex-direction: column; }
    .client-clinical-heading > .button.button-primary { width: 100%; }
    .client-clinical-create > summary { padding: 11px 18px; }
    .client-clinical-create-body > .client-clinical-picker { padding: 16px 18px !important; }
}

@media (max-width: 520px) {
    .session-laser-context,
    .session-laser-zone-row {
        grid-template-columns: 1fr;
    }

    .session-laser-zone-row > button {
        justify-self: end;
    }
}

@media (max-width: 1200px) {
    .sales-workspace {
        grid-template-columns: 1fr !important;
    }

    .sales-summary-card {
        position: static !important;
    }
}

/* Clinessy Core 2.3.79: historial clínico centrado en fichas de sesión. */
.client-clinical-section {
    display: flex;
    flex-direction: column;
}

.client-clinical-section > .client-clinical-heading { order: 1; }
.client-clinical-section > .client-clinical-overview { order: 2; }
.client-clinical-section > .client-clinical-history { order: 3; }
.client-clinical-section > .client-clinical-create-heading { order: 4; }
.client-clinical-section > .client-clinical-picker { order: 5; }
.client-clinical-section > .client-clinical-start,
.client-clinical-section > .client-clinical-form { order: 6; }

.client-clinical-history {
    padding: 24px 30px !important;
    border-bottom: 1px solid #e3e8f0;
    background: #f7f9fc;
}

.client-clinical-history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.client-clinical-history-heading > span {
    padding: 6px 10px;
    border: 1px solid #cbd6e4;
    border-radius: 999px;
    background: #fff;
    color: #536178;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}

.client-clinical-list {
    display: grid;
    gap: 14px;
    margin-top: 18px !important;
}

.client-clinical-list > .client-clinical-session-record {
    display: block;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(18, 32, 56, .05);
}

.client-clinical-session-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 38px;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e7ecf3;
    background: #fff;
}

.client-clinical-session-date {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.client-clinical-session-date > .dashicons {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 7px;
    background: #e8f5f0;
    color: #087a4f;
    font-size: 19px;
}

.client-clinical-session-date small,
.client-clinical-session-date strong,
.client-clinical-session-date p {
    display: block;
    margin: 0;
    letter-spacing: 0;
}

.client-clinical-session-date small {
    color: #778398;
    font-size: 9px;
    font-weight: 900;
}

.client-clinical-session-date strong {
    margin-top: 3px;
    color: #18243d;
    font-size: 14px;
}

.client-clinical-session-date p {
    margin-top: 3px;
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.client-clinical-session-record .client-clinical-state {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.client-clinical-session-record .client-clinical-state .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
}

.client-clinical-session-zones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #e7ecf3;
    background: #fbfcfe;
}

.client-clinical-session-zones > div {
    min-width: 0;
    padding: 13px 16px;
    border-right: 1px solid #e7ecf3;
    border-bottom: 1px solid #e7ecf3;
}

.client-clinical-session-zones > div:nth-child(3n) { border-right: 0; }

.client-clinical-session-zones small,
.client-clinical-session-zones strong {
    display: block;
    overflow: hidden;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-clinical-session-zones small {
    color: #59667a;
    font-size: 10px;
    font-weight: 800;
}

.client-clinical-session-zones strong {
    margin-top: 5px;
    color: #087a4f;
    font-size: 15px;
}

.client-clinical-session-zones strong span {
    margin-left: 4px;
    color: #778398;
    font-size: 9px;
}

.client-clinical-session-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 16px;
    background: #fffdf7;
}

.client-clinical-session-note > .dashicons {
    color: #a36b09;
    font-size: 17px;
}

.client-clinical-session-note small {
    color: #7c6541;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.client-clinical-session-note p {
    margin: 3px 0 0;
    color: #514630;
    font-size: 11px;
}

.client-clinical-create-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px 30px 8px;
    background: #fff;
}

.client-clinical-create-heading > .dashicons {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 7px;
    background: #f0eaff;
    color: #7137ea;
    font-size: 18px;
}

.client-clinical-create-heading h3,
.client-clinical-create-heading p {
    margin: 0;
    letter-spacing: 0;
}

.client-clinical-create-heading h3 {
    color: #20283a;
    font-size: 14px;
}

.client-clinical-create-heading p {
    margin-top: 2px;
    color: #778398;
    font-size: 10px;
    font-weight: 700;
}

.client-clinical-section > .client-clinical-picker {
    padding: 10px 30px 18px;
    border-bottom: 0;
    background: #fff;
}

.client-clinical-section > .client-clinical-start {
    justify-content: flex-start;
    min-height: 0;
    margin: 0 30px 22px;
    padding: 13px 15px;
    border: 1px solid #e2e7ef;
    border-radius: 7px;
    background: #f8fafc;
}

.client-clinical-section > .client-clinical-start > .dashicons {
    width: 34px;
    height: 34px;
    font-size: 18px;
}

.client-clinical-section > .client-clinical-start strong { font-size: 12px; }
.client-clinical-section > .client-clinical-start p { margin-top: 2px; font-size: 10px; }

@media (max-width: 760px) {
    .client-clinical-history { padding: 18px !important; }
    .client-clinical-session-head { grid-template-columns: minmax(0, 1fr) 36px; }
    .client-clinical-session-record .client-clinical-state { grid-column: 1; justify-self: start; }
    .client-clinical-session-head > .button { grid-column: 2; grid-row: 1 / span 2; }
    .client-clinical-session-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .client-clinical-session-zones > div:nth-child(3n) { border-right: 1px solid #e7ecf3; }
    .client-clinical-session-zones > div:nth-child(2n) { border-right: 0; }
    .client-clinical-create-heading { padding: 16px 18px 7px; }
    .client-clinical-section > .client-clinical-picker { padding: 9px 18px 16px; }
    .client-clinical-section > .client-clinical-start { margin: 0 18px 18px; }
}

.agenda-detail-modal .appointment-consent-reminder {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 10px 12px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: none !important;
}

.agenda-detail-modal .appointment-consent-reminder.is-pending {
    border-color: #e8b54e;
    background: #fff8e8;
    color: #8a5200;
}

.agenda-detail-modal .appointment-consent-reminder.is-signed {
    border-color: #76caa1;
    background: #f1fbf5;
    color: #08734c;
}

.agenda-detail-modal .appointment-consent-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .72);
    color: currentColor;
    font-size: 18px;
}

.agenda-detail-modal .appointment-consent-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.agenda-detail-modal .appointment-consent-copy small,
.agenda-detail-modal .appointment-consent-copy strong,
.agenda-detail-modal .appointment-consent-copy > span {
    margin: 0;
    color: currentColor;
    letter-spacing: 0;
}

.agenda-detail-modal .appointment-consent-copy small {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.agenda-detail-modal .appointment-consent-copy strong {
    font-size: 13px;
    line-height: 1.25;
}

.agenda-detail-modal .appointment-consent-copy > span {
    font-size: 9px;
    font-weight: 600;
    line-height: 1.35;
    opacity: .82;
}

.agenda-detail-modal .appointment-consent-action {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 36px;
    margin-top: 2px;
    padding: 7px 10px;
    border-radius: 7px;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.agenda-detail-modal .appointment-consent-reminder.is-pending .appointment-consent-action {
    background: #a85f00;
}

.agenda-detail-modal .appointment-consent-reminder.is-signed .appointment-consent-action {
    background: #08734c;
}

.agenda-detail-modal .appointment-consent-reminder:hover .appointment-consent-action {
    filter: brightness(.94);
}

.agenda-detail-modal .appointment-consent-action .dashicons {
    width: 15px;
    height: 15px;
    font-size: 15px;
}

.agenda-detail-modal .appointment-requirements {
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
}

.agenda-detail-modal .appointment-requirements > header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border-bottom: 1px solid #e5e9f0;
}

.agenda-detail-modal .appointment-requirements.has-warnings > header {
    border-bottom-color: #f0d9a8;
    background: #fff8e8;
    color: #925600;
}

.agenda-detail-modal .appointment-requirements.is-complete > header {
    border-bottom-color: #c9e7d7;
    background: #f1fbf5;
    color: #08734c;
}

.agenda-detail-modal .appointment-requirements > header > .dashicons {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .78);
    color: currentColor;
    font-size: 17px;
}

.agenda-detail-modal .appointment-requirements > header div,
.agenda-detail-modal .appointment-requirement-row div {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.agenda-detail-modal .appointment-requirements small,
.agenda-detail-modal .appointment-requirements strong {
    margin: 0;
    color: currentColor;
    letter-spacing: 0;
}

.agenda-detail-modal .appointment-requirements > header small {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.agenda-detail-modal .appointment-requirements > header strong { font-size: 12px; }

.agenda-detail-modal .appointment-requirement-row {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 11px;
    color: #263449;
}

.agenda-detail-modal .appointment-requirement-row + .appointment-requirement-row {
    border-top: 1px solid #edf0f4;
}

.agenda-detail-modal .appointment-requirement-row > .dashicons {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 6px;
    font-size: 15px;
}

.agenda-detail-modal .appointment-requirement-row.is-ready > .dashicons {
    background: #e2f6eb;
    color: #078052;
}

.agenda-detail-modal .appointment-requirement-row.is-missing > .dashicons {
    background: #fff0d4;
    color: #a45e00;
}

.agenda-detail-modal .appointment-requirement-row small {
    color: #718096;
    font-size: 9px;
    font-weight: 750;
}

.agenda-detail-modal .appointment-requirement-row strong {
    overflow-wrap: anywhere;
    font-size: 10px;
    line-height: 1.25;
}

.agenda-detail-modal .appointment-requirement-row.is-missing strong { color: #8e5200; }

.agenda-detail-modal .appointment-requirement-row > a,
.agenda-detail-modal .appointment-requirement-row > button {
    min-width: 49px;
    margin: 0;
    padding: 5px 7px;
    border: 1px solid #d3dae5;
    border-radius: 6px;
    background: #fff;
    color: #3d4b61;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.agenda-detail-modal .appointment-requirement-row.is-missing > a,
.agenda-detail-modal .appointment-requirement-row.is-missing > button {
    border-color: #d68b1b;
    color: #925600;
    background: #fffaf0;
}

.agenda-detail-modal .appointment-plan-covered-summary {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 11px 13px;
    color: #164c3e;
}

.agenda-detail-modal .appointment-plan-covered-summary strong {
    font-size: 12px;
    line-height: 1.2;
}

.agenda-detail-modal .appointment-plan-covered-summary small {
    color: #65766f;
    font-size: 9px;
    line-height: 1.3;
}

/* Clinessy Core 2.3.88: editor de cita mas compacto. */
.agenda-detail-modal .appointment-attention-panel {
    padding: 10px 16px !important;
}

.agenda-detail-modal .appointment-attention-grid {
    max-width: 1080px !important;
    gap: 8px 10px !important;
    padding: 12px !important;
}

.agenda-detail-modal .appointment-attention-grid .appointment-section-heading {
    min-height: 54px;
    margin: -12px -12px 0 !important;
    padding: 9px 12px !important;
}

.agenda-detail-modal .appointment-attention-grid .appointment-section-heading > .dashicons {
    width: 30px !important;
    height: 30px !important;
    font-size: 16px !important;
    line-height: 30px !important;
}

.agenda-detail-modal .appointment-attention-grid .appointment-section-heading h3 {
    font-size: 15px !important;
}

.agenda-detail-modal .appointment-attention-grid > label {
    gap: 4px !important;
    padding: 7px 8px !important;
}

.agenda-detail-modal .appointment-attention-grid input,
.agenda-detail-modal .appointment-attention-grid select {
    min-height: 36px !important;
}

.agenda-detail-modal .appointment-attention-grid .reservation-service-stack {
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 9px !important;
}

.agenda-detail-modal .appointment-attention-grid .reservation-service-stack > span {
    padding: 4px 3px !important;
    font-size: 11px !important;
}

.agenda-detail-modal .appointment-attention-grid .reservation-service-stack > span::after {
    max-width: 138px;
    font-size: 9px;
    line-height: 1.3;
}

.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones .reservation-service-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
}

.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones .reservation-service-row {
    min-width: 0;
    padding: 4px !important;
    box-shadow: none !important;
}

.agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones .reservation-service-row select {
    min-width: 0;
    min-height: 36px !important;
    height: 36px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 10px !important;
}

.agenda-detail-modal .appointment-attention-grid .appointment-field-professional,
.agenda-detail-modal .appointment-attention-grid .appointment-field-box {
    margin-top: 0 !important;
}

.agenda-detail-modal .appointment-attention-grid .appointment-field-professional:has(option[value=""]:checked)::after {
    margin-top: 3px;
    padding: 3px 7px;
    font-size: 8px;
}

.agenda-detail-modal .appointment-attention-grid .appointment-field-comments textarea {
    min-height: 48px !important;
    height: 48px;
}

.agenda-detail-modal .appointment-detail-card.is-editing .appointment-detail-actions-v2 {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 9px !important;
    min-height: 58px !important;
    padding: 8px 16px !important;
}

.agenda-detail-modal .appointment-detail-card.is-editing .appointment-session-clinical {
    min-width: 0 !important;
    margin-right: auto;
    white-space: nowrap;
}

.agenda-detail-modal .appointment-detail-card.is-editing .appointment-back-summary,
.agenda-detail-modal .appointment-detail-card.is-editing .appointment-save {
    flex: 0 0 auto;
    grid-column: auto !important;
    min-width: 145px !important;
    white-space: nowrap;
}

.agenda-detail-modal .appointment-detail-card.is-editing .appointment-more-actions {
    flex: 0 0 auto;
    grid-column: auto !important;
}

@media (max-width: 1100px) {
    .agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones .reservation-service-rows {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 780px) {
    .agenda-detail-modal .appointment-attention-panel { padding: 8px !important; }
    .agenda-detail-modal .appointment-attention-grid { padding: 10px !important; }
    .agenda-detail-modal .appointment-attention-grid .appointment-section-heading { margin: -10px -10px 0 !important; }
    .agenda-detail-modal .appointment-attention-grid .reservation-service-stack { grid-template-columns: 1fr !important; }
    .agenda-detail-modal .appointment-attention-grid .reservation-service-stack > span::after { max-width: none; }
    .agenda-detail-modal .appointment-attention-grid .reservation-mode-pack-zones .reservation-service-rows { grid-template-columns: 1fr !important; }
    .agenda-detail-modal .appointment-detail-card.is-editing .appointment-detail-actions-v2 { flex-wrap: wrap !important; }
    .agenda-detail-modal .appointment-detail-card.is-editing .appointment-session-clinical { width: 100%; }
    .agenda-detail-modal .appointment-detail-card.is-editing .appointment-back-summary,
    .agenda-detail-modal .appointment-detail-card.is-editing .appointment-save { flex: 1 1 140px; }
}

/* Clinessy Core 2.3.90: requisitos visibles y alertas sin duplicar. */
.agenda-detail-modal .appointment-facts > div.is-missing {
    display: none !important;
}

.agenda-detail-modal .appointment-requirements-heading {
    display: flex !important;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 9px 11px;
    border-bottom: 1px solid #e5e9f0;
}

.agenda-detail-modal .appointment-requirements.has-warnings .appointment-requirements-heading {
    border-bottom-color: #f0d9a8;
    background: #fff8e8;
    color: #925600;
}

.agenda-detail-modal .appointment-requirements.is-complete .appointment-requirements-heading {
    border-bottom-color: #c9e7d7;
    background: #f1fbf5;
    color: #08734c;
}

.agenda-detail-modal .appointment-requirements-heading > .dashicons {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255,255,255,.8);
    color: currentColor;
    font-size: 17px;
}

.agenda-detail-modal .appointment-requirements-heading > div {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.agenda-detail-modal .appointment-requirements-heading small {
    color: currentColor;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.agenda-detail-modal .appointment-requirements-heading strong {
    color: currentColor;
    font-size: 12px;
    letter-spacing: 0;
}

/* Clinessy Core 2.3.91: color distintivo para ventas adicionales. */
.agenda-detail-modal .appointment-addons-card {
    border-color: #cfc3f3 !important;
    background: #faf8ff !important;
    box-shadow: inset 3px 0 0 #8b5cf6 !important;
}

.agenda-detail-modal .appointment-addons-card header {
    margin: -9px -9px 0 !important;
    padding: 9px 10px 8px 12px !important;
    border-bottom: 1px solid #e2daf8 !important;
    background: #f3efff !important;
}

.agenda-detail-modal .appointment-addons-card h4 {
    color: #4c2a85 !important;
}

.agenda-detail-modal .appointment-addons-card header p {
    color: #76688c !important;
}

.agenda-detail-modal .appointment-addons-card header .dashicons {
    color: #7446d8 !important;
}

.agenda-detail-modal .appointment-addons-empty {
    border-bottom-color: #dcd3f3 !important;
    color: #655977 !important;
}

.agenda-detail-modal .appointment-addons-empty .dashicons {
    background: #eee8ff !important;
    color: #7446d8 !important;
}

.agenda-detail-modal .appointment-addons-empty strong {
    color: #4f4264 !important;
}

.agenda-detail-modal .appointment-addons-empty small {
    color: #776d86 !important;
}

.agenda-detail-modal .appointment-addons-action {
    border-color: #7c4de0 !important;
    background: #fff !important;
    color: #6235c4 !important;
}

.agenda-detail-modal .appointment-addons-action:hover,
.agenda-detail-modal .appointment-addons-action:focus {
    border-color: #6235c4 !important;
    background: #eee8ff !important;
    color: #4c239e !important;
}

/* Clinessy Core 2.3.92: columna lateral mas clara y sin contenido oculto. */
.agenda-detail-modal .appointment-detail-sidebar {
    padding-bottom: 96px !important;
    scroll-padding-bottom: 96px;
}

.agenda-detail-modal .appointment-payment-heading {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 11px;
    border-bottom: 1px solid #bfe2ce;
    background: #f1fbf5;
    color: #08734c;
}

.agenda-detail-modal .appointment-payment-heading > .dashicons {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 7px;
    background: #ddf4e7;
    color: #08734c;
    font-size: 16px;
}

.agenda-detail-modal .appointment-payment-heading strong {
    color: #164c3e;
    font-size: 11px;
    letter-spacing: 0;
}

.agenda-detail-modal .appointment-payment-heading em {
    padding: 3px 7px;
    border-radius: 999px;
    background: #dff6e9;
    color: #08734c;
    font-size: 9px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.agenda-detail-modal .appointment-payment-unpaid .appointment-payment-heading,
.agenda-detail-modal .appointment-payment-partial .appointment-payment-heading {
    border-bottom-color: #f0c7cb;
    background: #fff7f7;
    color: #b42335;
}

.agenda-detail-modal .appointment-payment-unpaid .appointment-payment-heading > .dashicons,
.agenda-detail-modal .appointment-payment-partial .appointment-payment-heading > .dashicons,
.agenda-detail-modal .appointment-payment-unpaid .appointment-payment-heading em,
.agenda-detail-modal .appointment-payment-partial .appointment-payment-heading em {
    background: #ffe5e8;
    color: #b42335;
}

.agenda-detail-modal .appointment-requirements.is-complete .appointment-requirements-heading {
    min-height: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.agenda-detail-modal .appointment-requirements.is-complete .appointment-requirement-row {
    min-height: 39px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.agenda-detail-modal .appointment-requirements.is-complete .appointment-requirement-row > .dashicons {
    width: 22px;
    height: 22px;
    font-size: 13px;
}

.agenda-detail-modal .appointment-communication {
    gap: 7px !important;
    padding: 9px !important;
    border: 1px solid #bde9db;
    border-radius: 8px;
    background: #f2fbf8;
}

.agenda-detail-modal .appointment-communication h4 {
    color: #145c49;
    font-size: 11px !important;
}

.agenda-detail-modal .appointment-communication .button {
    background: #fff !important;
}

/* Comunicación compacta en la cabecera del detalle de la cita. */
.agenda-detail-modal .appointment-detail-card .appointment-detail-header-v2 {
    grid-template-columns: 36px minmax(0, 1fr) 34px !important;
}

.agenda-detail-modal .appointment-detail-header-v2 p {
    flex-wrap: wrap;
}

.agenda-detail-modal .appointment-contact-actions {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 4px;
    margin-left: 3px;
}

.agenda-detail-modal .appointment-contact-icon {
    display: inline-grid;
    width: 27px;
    height: 27px;
    min-width: 27px;
    padding: 0;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #f0f6fa;
    color: #176a91;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.agenda-detail-modal .appointment-contact-icon:hover,
.agenda-detail-modal .appointment-contact-icon:focus-visible {
    border-color: #1685b4;
    background: #eef8fc;
    color: #096b94;
    outline: none;
}

.agenda-detail-modal .appointment-contact-icon.is-whatsapp {
    border-color: transparent;
    background: #edf8f4;
    color: #087553;
}

.agenda-detail-modal .appointment-contact-icon.is-whatsapp:hover,
.agenda-detail-modal .appointment-contact-icon.is-whatsapp:focus-visible {
    border-color: #168c69;
    background: #edf9f5;
}

.agenda-detail-modal .appointment-contact-icon .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
}

.agenda-detail-modal .appointment-contact-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

@media (max-width: 780px) {
    .agenda-detail-modal .appointment-detail-card .appointment-detail-header-v2 {
        grid-template-columns: 32px minmax(0, 1fr) 32px !important;
        gap: 7px !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .agenda-detail-modal .appointment-contact-actions {
        gap: 4px;
    }

    .agenda-detail-modal .appointment-contact-icon {
        width: 27px;
        height: 27px;
        min-width: 27px;
    }
}

/* Progreso de la cita más compacto, sin estados secundarios repetidos. */
.agenda-detail-modal .appointment-detail-main .appointment-progress {
    padding: 2px 2px 8px !important;
}

.agenda-detail-modal .appointment-detail-main .appointment-progress-step {
    min-height: 66px !important;
    gap: 2px !important;
}

.agenda-detail-modal .appointment-detail-main .appointment-progress-step > .dashicons {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    line-height: 36px !important;
}

.agenda-detail-modal .appointment-detail-main .appointment-step-number {
    top: 27px !important;
    left: calc(50% - 28px) !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 8px !important;
    line-height: 16px !important;
}

.agenda-detail-modal .appointment-detail-main .appointment-progress-step::after {
    top: 18px !important;
    left: calc(50% + 23px) !important;
    width: calc(100% - 46px) !important;
}

.agenda-detail-modal .appointment-detail-main .appointment-progress-step strong {
    margin-top: 1px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
}

.agenda-detail-modal .appointment-detail-main .appointment-progress-step small {
    display: none !important;
}

.agenda-detail-modal .appointment-detail-main .appointment-step-1 small {
    display: block !important;
    margin-top: 1px !important;
    font-size: 8px !important;
}

/* El estado final se resume; los estados accionables conservan el cuadro completo. */
.agenda-detail-modal .appointment-status-card.is-final {
    display: flex !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 9px 10px !important;
    border-color: #b9dfd1 !important;
    background: #f4fbf8 !important;
}

.agenda-detail-modal .appointment-status-card.is-final .appointment-current-state {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.agenda-detail-modal .appointment-status-card.is-final .appointment-current-state > .dashicons {
    width: 29px !important;
    height: 29px !important;
    font-size: 16px !important;
}

.agenda-detail-modal .appointment-status-card.is-final .appointment-current-state small {
    display: none !important;
}

.agenda-detail-modal .appointment-status-card.is-final .appointment-current-state strong {
    margin: 0 !important;
    font-size: 14px !important;
}

.agenda-detail-modal .appointment-status-card.is-final .appointment-primary-status:disabled {
    display: none !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 28px !important;
    flex: 0 0 auto !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #dff5e9 !important;
    color: #08734c !important;
    font-size: 9px !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.agenda-detail-modal .appointment-status-card.is-final .appointment-primary-status:disabled .dashicons {
    width: 14px !important;
    height: 14px !important;
    color: #08734c !important;
    font-size: 14px !important;
}

.agenda-detail-modal .appointment-status-card.is-final .appointment-next-state {
    display: none !important;
}

/* Estados activos compactos: contexto arriba y siguiente acción en una franja baja. */
.agenda-detail-modal .appointment-status-card:not(.is-final) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    min-height: 0 !important;
    gap: 7px !important;
    padding: 9px 10px !important;
}

.agenda-detail-modal .appointment-status-card:not(.is-final) .appointment-current-state {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.agenda-detail-modal .appointment-status-card:not(.is-final) .appointment-current-state > .dashicons {
    width: 29px !important;
    height: 29px !important;
    font-size: 16px !important;
}

.agenda-detail-modal .appointment-status-card:not(.is-final) .appointment-current-state small {
    display: none !important;
}

.agenda-detail-modal .appointment-status-card:not(.is-final) .appointment-current-state strong {
    margin: 0 !important;
    font-size: 14px !important;
}

.agenda-detail-modal .appointment-status-card:not(.is-final) .appointment-primary-status {
    position: static !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 5px 9px !important;
    border-radius: 7px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.agenda-detail-modal .appointment-status-card:not(.is-final) .appointment-primary-status .dashicons {
    width: 15px !important;
    height: 15px !important;
    font-size: 15px !important;
}

.agenda-detail-modal .appointment-status-card:not(.is-final) .appointment-next-state {
    display: none !important;
}

/* Identidad de la clienta en la cabecera. */
.agenda-detail-modal .appointment-client-avatar {
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: #eee7ff;
    color: #6533d5;
    font-size: 9px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}

.agenda-detail-modal .appointment-client-name {
    color: #182236;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}

.agenda-detail-modal .appointment-client-avatar:hover,
.agenda-detail-modal .appointment-client-avatar:focus-visible,
.agenda-detail-modal .appointment-client-name:hover,
.agenda-detail-modal .appointment-client-name:focus-visible {
    color: #6533d5;
    text-decoration: none;
}

.agenda-detail-modal .appointment-client-meta,
.agenda-detail-modal .appointment-client-separator {
    color: #7a869a;
    font-size: 10px;
    font-weight: 550;
}

.agenda-detail-modal .appointment-contact-icon.is-disabled {
    border-color: transparent !important;
    background: #f2f4f7 !important;
    color: #9ba5b3 !important;
    opacity: .58;
    pointer-events: none;
    cursor: not-allowed;
}

/* Resumen compacto para pagos completos. */
.agenda-detail-modal .appointment-payment-paid .appointment-payment-paid-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 9px 11px;
}

.agenda-detail-modal .appointment-payment-paid-summary > span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.agenda-detail-modal .appointment-payment-paid-summary small {
    color: #718078;
    font-size: 8px;
    font-weight: 700;
}

.agenda-detail-modal .appointment-payment-paid-summary strong {
    overflow: hidden;
    color: #126044;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agenda-detail-modal .appointment-payment-paid .button {
    min-height: 30px !important;
    margin: 0 10px 9px !important;
    font-size: 9px !important;
}

/* Resumen de cita en tres filas compactas. */
.agenda-detail-modal .appointment-facts.is-compact {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 0 !important;
}

.agenda-detail-modal .appointment-facts.is-compact > div {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    min-width: 0 !important;
    min-height: 34px !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 4px 8px !important;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-date,
.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-time {
    grid-column: span 4 !important;
    grid-template-columns: auto auto !important;
    justify-content: start !important;
    gap: 12px !important;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-date dd,
.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-time dd {
    overflow: visible !important;
    text-align: left !important;
    text-overflow: clip !important;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-plan {
    grid-column: 1 / -1 !important;
    grid-template-columns: auto auto !important;
    justify-content: start !important;
    gap: 12px !important;
    border-top: 1px solid #dfeee9;
    border-bottom: 1px solid #dfeee9;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-plan dd {
    overflow: visible !important;
    text-align: left !important;
    text-overflow: clip !important;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-services {
    grid-column: span 6 !important;
    grid-template-columns: auto auto !important;
    justify-content: start !important;
    gap: 12px !important;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-services dd {
    overflow: visible !important;
    text-align: left !important;
    text-overflow: clip !important;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-box {
    grid-column: span 2 !important;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-fact-professional {
    grid-column: span 4 !important;
}

.agenda-detail-modal .appointment-facts.is-compact dt {
    gap: 5px !important;
    color: #627083 !important;
    font-size: 9px !important;
    white-space: nowrap;
}

.agenda-detail-modal .appointment-facts.is-compact dt .dashicons {
    width: 22px !important;
    height: 22px !important;
    border-radius: 5px !important;
    font-size: 13px !important;
}

.agenda-detail-modal .appointment-facts.is-compact dd {
    min-width: 0;
    overflow: hidden;
    padding: 0 !important;
    font-size: 11px !important;
    line-height: 1.2;
    text-align: right !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-pack-session {
    min-height: 22px !important;
    margin-left: 7px !important;
    padding: 4px 7px !important;
    border-radius: 6px !important;
    font-size: 9px !important;
    box-shadow: none !important;
}

.agenda-detail-modal .appointment-facts.is-compact .appointment-duration {
    margin-left: 5px !important;
    padding: 2px 5px !important;
    font-size: 8px !important;
}

@media (max-width: 780px) {
    .agenda-detail-modal .appointment-facts.is-compact .appointment-fact-date,
    .agenda-detail-modal .appointment-facts.is-compact .appointment-fact-time {
        grid-column: span 6 !important;
    }

    .agenda-detail-modal .appointment-facts.is-compact .appointment-fact-box {
        grid-column: span 4 !important;
    }

    .agenda-detail-modal .appointment-facts.is-compact .appointment-fact-professional {
        grid-column: span 8 !important;
    }

    .agenda-detail-modal .appointment-facts.is-compact .appointment-fact-plan,
    .agenda-detail-modal .appointment-facts.is-compact .appointment-fact-services {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 780px) {
    .agenda-detail-modal .appointment-client-avatar {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        font-size: 8px;
    }

    .agenda-detail-modal .appointment-client-name {
        font-size: 11px;
    }
}
.clinessy-owner-notice{display:flex;align-items:center;gap:11px;margin:0 0 15px;padding:12px 14px;border:1px solid;border-radius:10px}.clinessy-owner-notice>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;font-size:20px}.clinessy-owner-notice strong,.clinessy-owner-notice small{display:block}.clinessy-owner-notice strong{font-size:12px}.clinessy-owner-notice small{margin-top:2px;font-size:10px}.clinessy-owner-success{border-color:#91dbb9;background:#ecfbf4;color:#096b45}.clinessy-owner-success>.dashicons{background:#d2f5e4;color:#087a4d}.clinessy-owner-success small{color:#417360}.clinessy-owner-error{border-color:#efc16d;background:#fff8e9;color:#8a5200}.clinessy-owner-error>.dashicons{background:#ffedc7;color:#a86400}.clinessy-owner-error small{color:#785d33}.clinessy-owner-save-row{display:flex;align-items:center;gap:16px;margin-top:15px;padding:12px 14px;border-top:1px solid #d6e6f3}.clinessy-owner-save-row>div{min-width:0;flex:1}.clinessy-owner-save-row strong,.clinessy-owner-save-row small{display:block}.clinessy-owner-save-row strong{color:#24324a;font-size:12px}.clinessy-owner-save-row small{margin-top:2px;color:#68758a;font-size:10px}.clinessy-owner-save-row .clinessy-owner-save{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 16px;border-color:#177e5b!important;border-radius:8px!important;background:#177e5b!important;color:#fff!important;font-weight:800;box-shadow:0 6px 14px rgba(23,126,91,.15)!important}.clinessy-owner-save-row .clinessy-owner-save .dashicons{margin:0;font-size:17px}@media(max-width:650px){.clinessy-owner-save-row{align-items:stretch;flex-direction:column}.clinessy-owner-save-row .clinessy-owner-save{width:100%}}
