@charset "UTF-8";

/*
  SIAVCE Glass Redesign v2
  Capa global de rediseño. No reemplaza el ribbon ni rutas existentes:
  solo normaliza visualmente layouts legacy, módulos y componentes Bootstrap.
*/

:root{
  --siavce-font:"Futura","Avenir Next","Trebuchet MS","Segoe UI",system-ui,-apple-system,sans-serif;
  --siavce-user-primary:var(--bgcolor,#123b67);
  --siavce-user-nav:var(--hovercolor,#0f2742);
  --siavce-v2-bg-0:color-mix(in srgb,var(--siavce-user-nav) 82%,#020617 18%);
  --siavce-v2-bg-1:color-mix(in srgb,var(--siavce-user-primary) 32%,#09111f 68%);
  --siavce-v2-accent:color-mix(in srgb,var(--siavce-user-primary) 74%,#8dd8ff 26%);
  --siavce-v2-accent-2:color-mix(in srgb,var(--siavce-user-nav) 64%,#60a5fa 36%);
  --siavce-v2-text:#f8fbff;
  --siavce-v2-muted:rgba(248,251,255,.74);
  --siavce-v2-faint:rgba(248,251,255,.52);
  --siavce-v2-card:rgba(255,255,255,.088);
  --siavce-v2-card-strong:rgba(255,255,255,.14);
  --siavce-v2-border:rgba(255,255,255,.145);
  --siavce-v2-border-soft:rgba(255,255,255,.09);
  --siavce-v2-radius-xl:28px;
  --siavce-v2-radius-lg:22px;
  --siavce-v2-radius-md:16px;
  --siavce-v2-shadow:0 24px 70px rgba(0,0,0,.30);
  --siavce-v2-shadow-soft:0 14px 35px rgba(0,0,0,.20);
  --siavce-v2-page-width:min(1800px,calc(100vw - 34px));
  --siavce-ribbon-real-height:64px;
}

html{
  min-height:100%;
  background:#020617;
}

body.siavce-bootstrap-glass,
body.siavce-redesign-total,
body.siavce-public-screen,
body.siavce-core-access{
  min-height:100vh;
  font-family:var(--siavce-font);
  color:var(--siavce-v2-text);
  background:
    radial-gradient(circle at 8% 0%,color-mix(in srgb,var(--siavce-user-primary) 32%,transparent) 0,transparent 34%),
    radial-gradient(circle at 96% 10%,color-mix(in srgb,var(--siavce-user-nav) 34%,transparent) 0,transparent 32%),
    radial-gradient(circle at 50% 110%,rgba(125,211,252,.13) 0,transparent 36%),
    linear-gradient(145deg,var(--siavce-v2-bg-0),var(--siavce-v2-bg-1) 54%,#050914);
  background-attachment:fixed;
}

body.siavce-bootstrap-glass::before,
body.siavce-redesign-total::before,
body.siavce-public-screen::before,
body.siavce-core-access::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.88),rgba(0,0,0,.22));
}

body.siavce-bootstrap-glass a,
body.siavce-redesign-total a{
  text-decoration-color:color-mix(in srgb,var(--siavce-v2-accent) 58%,transparent);
}

body.siavce-bootstrap-glass h1,
body.siavce-bootstrap-glass h2,
body.siavce-bootstrap-glass h3,
body.siavce-bootstrap-glass h4,
body.siavce-bootstrap-glass h5,
body.siavce-bootstrap-glass h6,
body.siavce-public-screen h1,
body.siavce-public-screen h2,
body.siavce-public-screen h3{
  color:#fff;
  letter-spacing:-.035em;
}

body.siavce-bootstrap-glass p,
body.siavce-bootstrap-glass small,
body.siavce-bootstrap-glass .text-muted,
body.siavce-public-screen p,
body.siavce-public-screen small{
  color:var(--siavce-v2-muted) !important;
}

/* Mantener ribbon, pero compactarlo y volverlo glass/minimalista. */
.ribbon{
  inset:10px 12px auto 12px !important;
  border-radius:24px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.055)),
    linear-gradient(155deg,color-mix(in srgb,var(--siavce-user-nav) 72%,#06111f 28%),rgba(6,15,28,.94));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 48px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter:blur(24px) saturate(132%);
  -webkit-backdrop-filter:blur(24px) saturate(132%);
  overflow:hidden;
}

.ribbon-tabs{
  min-height:50px;
  gap:6px;
  padding:7px 10px 6px;
  scrollbar-color:rgba(255,255,255,.24) transparent;
}

.ribbon-tab{
  min-height:36px;
  padding:0 13px;
  border-radius:16px;
  color:rgba(255,255,255,.78);
  border:1px solid transparent;
  font-size:.88rem;
  font-weight:700;
  letter-spacing:-.015em;
}

.ribbon-tab:hover,
.ribbon-tab.active{
  color:#fff;
  background:linear-gradient(135deg,rgba(255,255,255,.17),rgba(255,255,255,.075));
  border-color:rgba(255,255,255,.15);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 24px rgba(0,0,0,.16);
}

.ribbon-tab.active{
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--siavce-v2-accent) 30%,rgba(255,255,255,.12)),rgba(255,255,255,.08));
}

.ribbon-tab.ms-auto{
  margin-left:auto !important;
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.09);
}

.ribbon-tab img.rounded-circle,
.ribbon-tab .siavce-avatar-round{
  width:30px !important;
  height:30px !important;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 6px 16px rgba(0,0,0,.18);
}

.ribbon-tools{
  gap:8px;
  padding-inline:10px;
  overflow-x:auto;
  scrollbar-width:thin;
}

.ribbon-tools.active{
  max-height:86px;
  padding:8px 10px 10px;
  border-top-color:rgba(255,255,255,.10);
}

.tool-group{
  align-items:stretch;
}

.tool-btn{
  min-width:88px;
  min-height:58px;
  padding:8px 10px;
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.045));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:none;
  color:rgba(255,255,255,.90) !important;
  font-size:.76rem;
  line-height:1.1;
}

.tool-btn:hover,
.tool-active .tool-btn{
  transform:translateY(-2px);
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.07));
  border-color:rgba(255,255,255,.22);
  box-shadow:0 12px 26px rgba(0,0,0,.18);
  color:#fff !important;
}

.tool-icon,
.iconosbar{
  width:23px;
  height:23px;
  filter:drop-shadow(0 5px 9px rgba(0,0,0,.18));
}

.badge-notif,
.ribbon .badge{
  box-shadow:0 0 0 1px rgba(255,255,255,.22),0 8px 18px rgba(0,0,0,.22);
}

/* Espaciado real del contenido bajo ribbon fijo. */
#siavceAppMain,
.siavce-app-main{
  width:100%;
  min-height:100vh;
  padding:calc(var(--siavce-ribbon-real-height,64px) + 24px) 0 34px !important;
}

body:not(.siavce-ribbon-open) #siavceAppMain,
body:not(.siavce-ribbon-open) .siavce-app-main{
  padding-top:calc(var(--siavce-ribbon-real-height,64px) + 18px) !important;
}

.siavce-page,
.siavce-page-shell,
.siavce-shell,
.siavce-legacy-main > .container,
.siavce-legacy-main > .container-fluid,
#siavceAppMain > .container,
#siavceAppMain > .container-fluid{
  width:var(--siavce-v2-page-width) !important;
  max-width:var(--siavce-v2-page-width) !important;
  margin-inline:auto !important;
}

.siavce-page-shell,
.siavce-shell,
.siavce-legacy-main{
  display:grid;
  gap:18px;
}

/* Paneles globales: conserva HTML existente y lo unifica visualmente. */
.siavce-panel,
.siavce-card,
.siavce-glass,
.glass-card,
.glass-container,
.portal-card,
.dash-panel,
.dash-card,
.marketing-card,
.support-card,
.ship-card,
.metric-card,
.product-panel,
.store-card,
.siavce-redesign-card,
.siavce-glass-section,
#siavceAppMain > .container:not(.siavce-no-panel),
#siavceAppMain > .container-fluid:not(.siavce-no-panel),
#siavceAppMain > section:not(.siavce-page-hero):not(.marketing-page-redesign):not(.marketing-shell),
#siavceAppMain > article,
#siavceAppMain > form,
body.siavce-bootstrap-glass .card:not(.dropdown-menu):not(.modal-content){
  background:
    linear-gradient(145deg,rgba(255,255,255,.125),rgba(255,255,255,.055)),
    linear-gradient(180deg,color-mix(in srgb,var(--siavce-user-primary) 10%,transparent),rgba(255,255,255,.03));
  border:1px solid var(--siavce-v2-border);
  border-radius:var(--siavce-v2-radius-lg);
  box-shadow:var(--siavce-v2-shadow-soft);
  backdrop-filter:blur(22px) saturate(128%);
  -webkit-backdrop-filter:blur(22px) saturate(128%);
  color:var(--siavce-v2-text);
}

#siavceAppMain > .container:not(.siavce-no-panel),
#siavceAppMain > .container-fluid:not(.siavce-no-panel),
#siavceAppMain > section:not(.siavce-page-hero):not(.marketing-page-redesign):not(.marketing-shell),
#siavceAppMain > article,
#siavceAppMain > form,
.siavce-glass-section{
  padding:20px;
}

.siavce-panel:hover,
.siavce-card:hover,
.glass-card:hover,
body.siavce-bootstrap-glass .card:hover,
.siavce-redesign-card:hover{
  border-color:color-mix(in srgb,var(--siavce-v2-accent) 28%,rgba(255,255,255,.16));
}

.siavce-page-hero{
  width:var(--siavce-v2-page-width);
  margin:0 auto 18px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:end;
  padding:22px;
  border-radius:30px;
  background:
    radial-gradient(circle at 8% 0%,color-mix(in srgb,var(--siavce-v2-accent) 28%,transparent),transparent 42%),
    linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
  border:1px solid rgba(255,255,255,.15);
  box-shadow:var(--siavce-v2-shadow);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
}

.siavce-page-hero h1,
.siavce-page-hero h2{
  font-size:clamp(1.8rem,2.8vw,3rem);
  margin:0 0 8px;
}

.siavce-page-eyebrow,
.siavce-section-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  margin-bottom:8px;
  padding:6px 10px;
  border-radius:999px;
  color:#fff;
  background:color-mix(in srgb,var(--siavce-v2-accent) 34%,rgba(255,255,255,.09));
  border:1px solid rgba(255,255,255,.16);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.siavce-page-tools,
.siavce-actions-row,
.panel-title-row,
.cliente-section-head{
  gap:10px;
}

/* Formularios y controles. */
body.siavce-bootstrap-glass .form-control,
body.siavce-bootstrap-glass .form-select,
body.siavce-bootstrap-glass textarea,
body.siavce-core-access .form-control,
body.siavce-core-access .form-select,
body.siavce-core-access textarea{
  min-height:42px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.085);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

body.siavce-bootstrap-glass .form-control:focus,
body.siavce-bootstrap-glass .form-select:focus,
body.siavce-bootstrap-glass textarea:focus,
body.siavce-core-access .form-control:focus,
body.siavce-core-access .form-select:focus,
body.siavce-core-access textarea:focus{
  border-color:color-mix(in srgb,var(--siavce-v2-accent) 62%,white 8%);
  background:rgba(255,255,255,.13);
  box-shadow:0 0 0 .22rem color-mix(in srgb,var(--siavce-v2-accent) 18%,transparent),inset 0 1px 0 rgba(255,255,255,.08);
  color:#fff;
}

body.siavce-bootstrap-glass .form-control::placeholder,
body.siavce-core-access .form-control::placeholder{
  color:rgba(255,255,255,.46);
}

body.siavce-bootstrap-glass .form-label,
body.siavce-bootstrap-glass label,
body.siavce-core-access .form-label,
body.siavce-core-access label{
  color:rgba(255,255,255,.82);
  font-weight:800;
  letter-spacing:-.01em;
}

.input-group-text,
.input-group > span:not(.badge):not(.link):not(.rounded-pill):first-child{
  min-width:44px;
  display:inline-grid;
  place-items:center;
  border-radius:15px 0 0 15px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.10);
  color:#fff;
}

.form-check-input{
  background-color:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.24);
}

.form-check-input:checked{
  background-color:var(--siavce-v2-accent);
  border-color:var(--siavce-v2-accent);
}

.siavce-auto-form-grid,
form.siavce-auto-form-grid,
.siavce-filter-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:14px;
  align-items:end;
}

/* Botones. */
body.siavce-bootstrap-glass .btn,
body.siavce-core-access .btn,
.siavce-action-ready{
  min-height:38px;
  border-radius:15px;
  font-weight:850;
  letter-spacing:-.015em;
  border-width:1px;
  box-shadow:0 9px 20px rgba(0,0,0,.16);
}

body.siavce-bootstrap-glass .btn:hover,
body.siavce-core-access .btn:hover,
.siavce-action-ready:hover{
  transform:translateY(-1px);
  filter:saturate(1.08) brightness(1.04);
}

body.siavce-bootstrap-glass .btn-primary,
body.siavce-core-access .btn-primary,
.login-primary{
  background:linear-gradient(135deg,var(--siavce-v2-accent),color-mix(in srgb,var(--siavce-v2-accent-2) 72%,#60a5fa 28%)) !important;
  border-color:rgba(255,255,255,.14) !important;
  color:#fff !important;
}

body.siavce-bootstrap-glass .btn-success,
body.siavce-core-access .btn-success{
  background:linear-gradient(135deg,#16a34a,#22c55e) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#fff !important;
}

body.siavce-bootstrap-glass .btn-danger,
body.siavce-core-access .btn-danger{
  background:linear-gradient(135deg,#dc2626,#fb7185) !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#fff !important;
}

body.siavce-bootstrap-glass .btn-secondary,
body.siavce-bootstrap-glass .btn-outline-light,
body.siavce-bootstrap-glass .btn-light,
body.siavce-core-access .btn-secondary,
body.siavce-core-access .btn-outline-light{
  background:rgba(255,255,255,.10) !important;
  border-color:rgba(255,255,255,.18) !important;
  color:#fff !important;
}

body.siavce-bootstrap-glass .btn-warning{
  color:#241404 !important;
  background:linear-gradient(135deg,#f59e0b,#facc15) !important;
  border-color:rgba(255,255,255,.14) !important;
}

/* Tablas. */
.table-responsive,
.siavce-table-wrap{
  overflow:auto;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

body.siavce-bootstrap-glass .table,
body.siavce-bootstrap-glass table{
  --bs-table-bg:transparent;
  --bs-table-color:#fff;
  --bs-table-border-color:rgba(255,255,255,.09);
  color:#fff;
  margin-bottom:0;
  vertical-align:middle;
}

body.siavce-bootstrap-glass .table thead th,
body.siavce-bootstrap-glass table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.08));
  color:rgba(255,255,255,.78);
  border-bottom:1px solid rgba(255,255,255,.12);
  font-size:.72rem;
  letter-spacing:.075em;
  text-transform:uppercase;
  white-space:nowrap;
}

body.siavce-bootstrap-glass .table tbody td,
body.siavce-bootstrap-glass table tbody td{
  background:rgba(255,255,255,.025);
  border-color:rgba(255,255,255,.075);
}

body.siavce-bootstrap-glass .table tbody tr:hover td,
body.siavce-bootstrap-glass table tbody tr:hover td{
  background:color-mix(in srgb,var(--siavce-v2-accent) 12%,rgba(255,255,255,.04));
}

/* Bootstrap/legacy components. */
body.siavce-bootstrap-glass .modal-content,
body.siavce-bootstrap-glass .dropdown-menu,
body.siavce-bootstrap-glass .offcanvas,
.notif-panel{
  background:rgba(8,16,29,.96);
  border:1px solid rgba(255,255,255,.15);
  border-radius:22px;
  color:#fff;
  box-shadow:var(--siavce-v2-shadow);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
}

body.siavce-bootstrap-glass .dropdown-item{
  color:rgba(255,255,255,.82);
  border-radius:12px;
}

body.siavce-bootstrap-glass .dropdown-item:hover{
  color:#fff;
  background:rgba(255,255,255,.10);
}

body.siavce-bootstrap-glass .modal-header,
body.siavce-bootstrap-glass .modal-footer{
  border-color:rgba(255,255,255,.09);
}

body.siavce-bootstrap-glass .alert{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.10);
  color:#fff;
}

body.siavce-bootstrap-glass .list-group-item{
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.09);
  color:#fff;
}

body.siavce-bootstrap-glass .nav-tabs{
  border-color:rgba(255,255,255,.12);
  gap:8px;
}

body.siavce-bootstrap-glass .nav-tabs .nav-link{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px 14px 0 0;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.70);
  font-weight:800;
}

body.siavce-bootstrap-glass .nav-tabs .nav-link.active{
  background:rgba(255,255,255,.14);
  color:#fff;
  border-color:rgba(255,255,255,.18);
}

.badge,
body.siavce-bootstrap-glass .badge{
  font-weight:850;
  letter-spacing:-.01em;
}

/* Login/acceso. */
.siavce-login-layout{
  width:min(1380px,calc(100vw - 34px));
  gap:22px;
}

.siavce-login-welcome,
.siavce-login-card,
.siavce-access-card,
.login-status,
.login-container{
  border-radius:32px;
  background:
    radial-gradient(circle at top left,color-mix(in srgb,var(--siavce-v2-accent) 16%,transparent),transparent 42%),
    linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.055));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:var(--siavce-v2-shadow);
}

.siavce-login-module-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}

.siavce-login-intro-card{
  margin-top:18px;
}

.login-logo img,
.siavce-login-brand img{
  box-shadow:0 16px 35px rgba(0,0,0,.20);
}

/* Módulos principales: no cambia estructura, solo da consistencia. */
body.siavce-view-dashboard .dash-shell,
body.siavce-view-clientes .clientes-shell,
body.siavce-view-productos .products-page-shell,
body.siavce-view-marketing .marketing-shell,
body.siavce-view-marketing_chats .marketing-chat-shell,
body.siavce-view-citascalendario .siavce-page-shell,
body.siavce-view-ajustesuser .ajustes-page-shell,
body.siavce-view-seg_usuarios .usuarios-shell,
body.siavce-view-tickets .support-dashboard,
body.siavce-view-yo .yo-shell,
body.siavce-view-mipanel2 .panel2-shell{
  width:var(--siavce-v2-page-width) !important;
  max-width:var(--siavce-v2-page-width) !important;
  margin-inline:auto !important;
  gap:18px;
}

body.siavce-view-dashboard .dash-hero,
body.siavce-view-dashboard .impact-card,
body.siavce-view-dashboard .module-card,
body.siavce-view-dashboard .client-card,
body.siavce-view-clientes .cliente-card,
body.siavce-view-clientes .cliente-section,
body.siavce-view-productos .product-card,
body.siavce-view-productos .inventory-card,
body.siavce-view-marketing .marketing-hero-card,
body.siavce-view-marketing_chats .chat-card,
body.siavce-view-citascalendario .calendar-card,
body.siavce-view-ajustesuser .settings-card,
body.siavce-view-seg_usuarios .user-card,
body.siavce-view-tickets .support-card,
body.siavce-view-tienda .store-card,
body.siavce-view-tienda_admin .store-card{
  border-radius:var(--siavce-v2-radius-lg);
  border:1px solid var(--siavce-v2-border);
  background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.052));
  box-shadow:var(--siavce-v2-shadow-soft);
}

body.siavce-view-marketing .marketing-composer-layout,
body.siavce-view-marketing_chats .marketing-chat-grid,
body.siavce-view-citascalendario .calendar-layout,
body.siavce-view-dashboard .content-grid,
body.siavce-view-dashboard .charts-grid,
body.siavce-view-clientes .cliente-grid-2{
  gap:18px;
}

body.siavce-view-marketing_chats .marketing-chat-shell,
body.siavce-view-chat_interno .siavce-chat-app{
  min-height:calc(100vh - var(--siavce-ribbon-real-height,64px) - 68px);
}

body.siavce-view-citascalendario .calendar-grid,
body.siavce-view-citascalendario .calendar-board{
  border-radius:22px;
  overflow:hidden;
}

/* Notificaciones flotantes. */
.notif-bubble{
  right:18px;
  bottom:18px;
}

.notif-toggle{
  width:54px;
  height:54px;
  background:linear-gradient(135deg,#ef4444,#fb7185);
  box-shadow:0 16px 36px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.15);
}

.notif-item{
  border-bottom:1px solid rgba(255,255,255,.09);
}

.siavce-chat-widget__toggle{
  box-shadow:0 16px 36px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.14);
}

/* Compatibilidad con páginas públicas de tienda/seguimiento. */
.store-public-page .wrap,
.store-legal-page .wrap,
.store-product-page .wrap,
.shipment-tracking-page .wrap,
.support-ticket-public .wrap{
  width:min(1240px,calc(100vw - 28px));
}

.store-public-page .card,
.store-legal-page .card,
.shipment-tracking-page .card,
.support-ticket-public .card{
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:var(--siavce-v2-shadow-soft);
}

/* Detalles de acabado. */
hr{
  border-color:rgba(255,255,255,.12);
  opacity:1;
}

::-webkit-scrollbar{
  width:10px;
  height:10px;
}

::-webkit-scrollbar-track{
  background:rgba(255,255,255,.04);
}

::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.22);
  border-radius:999px;
  border:2px solid transparent;
  background-clip:padding-box;
}

::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,.32);
  background-clip:padding-box;
}

.siavce-footer-version{
  width:max-content;
  left:50%;
  transform:translateX(-50%);
  bottom:5px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  backdrop-filter:blur(12px);
}

@media (max-width:1200px){
  :root{
    --siavce-v2-page-width:min(100vw - 24px,100%);
  }

  .siavce-page-hero{
    grid-template-columns:1fr;
  }
}

@media (max-width:992px){
  .ribbon{
    inset:8px 8px auto 8px !important;
    border-radius:20px;
  }

  .ribbon-tools.active{
    max-height:146px;
  }

  .siavce-login-layout,
  .siavce-login-module-grid,
  .siavce-grid-2,
  .siavce-grid-3{
    grid-template-columns:1fr !important;
  }
}

@media (max-width:768px){
  :root{
    --siavce-v2-page-width:min(100vw - 18px,100%);
  }

  .ribbon-tabs{
    min-height:46px;
    padding:6px 7px;
  }

  .ribbon-tab{
    min-height:34px;
    padding:0 10px;
    font-size:.80rem;
  }

  .tool-btn{
    min-width:78px;
    min-height:52px;
    font-size:.70rem;
  }

  #siavceAppMain,
  .siavce-app-main{
    padding-inline:0 !important;
  }

  .siavce-page-hero,
  #siavceAppMain > .container:not(.siavce-no-panel),
  #siavceAppMain > .container-fluid:not(.siavce-no-panel),
  #siavceAppMain > section:not(.siavce-page-hero):not(.marketing-page-redesign):not(.marketing-shell),
  #siavceAppMain > article,
  #siavceAppMain > form,
  .siavce-glass-section{
    padding:16px;
    border-radius:22px;
  }

  .notif-bubble{
    right:12px;
    bottom:12px;
  }
}

/* ===== SIAVCE Glass Redesign v3: reparación de grillas Bootstrap =====
   La capa anterior podía convertir filas Bootstrap en CSS Grid. Eso hacía que
   inputs, selects, botones y cards quedaran comprimidos en páginas con formularios
   reales como tickets, usuarios, ajustes, soporte y mi cuenta. */
body.siavce-bootstrap-glass .row.siavce-auto-form-grid,
body.siavce-bootstrap-glass form.row.siavce-auto-form-grid{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:0 !important;
  align-items:flex-start !important;
  margin-right:calc(-.5 * var(--bs-gutter-x,1.5rem)) !important;
  margin-left:calc(-.5 * var(--bs-gutter-x,1.5rem)) !important;
}

body.siavce-bootstrap-glass .row.siavce-auto-form-grid > *,
body.siavce-bootstrap-glass form.row.siavce-auto-form-grid > *{
  min-width:0 !important;
  padding-right:calc(var(--bs-gutter-x,1.5rem) * .5) !important;
  padding-left:calc(var(--bs-gutter-x,1.5rem) * .5) !important;
  margin-top:var(--bs-gutter-y,0) !important;
}

body.siavce-bootstrap-glass .ticket-shell,
body.siavce-bootstrap-glass .support-dashboard,
body.siavce-bootstrap-glass .usuarios-shell,
body.siavce-bootstrap-glass .ajustes-page-shell,
body.siavce-bootstrap-glass .settings-shell,
body.siavce-bootstrap-glass .conn-shell,
body.siavce-bootstrap-glass .yo-shell{
  min-width:0;
}

body.siavce-view-ticket_formulario .ticket-shell,
body.siavce-view-ticket_reporte #siavceAppMain > .container-fluid,
body.siavce-view-soporte_servicios #siavceAppMain > .container-fluid,
body.siavce-view-seg_usuarios .usuarios-shell,
body.siavce-view-yo .yo-shell,
body.siavce-view-ajustes_conexiones .conn-shell,
body.siavce-view-ajustes_clientes_campos #siavceAppMain > .container-fluid,
body.siavce-view-ajustes_modulos #siavceAppMain > .container-fluid{
  width:min(1500px,calc(100vw - 34px)) !important;
  max-width:min(1500px,calc(100vw - 34px)) !important;
  margin-inline:auto !important;
}

body.siavce-view-ticket_formulario .glass-card > form.row,
body.siavce-view-ticket_reporte form.row,
body.siavce-view-soporte_servicios form.row,
body.siavce-view-seg_usuarios form .row,
body.siavce-view-ajustesuser form.row,
body.siavce-view-yo form.row,
body.siavce-view-yo .row,
body.siavce-view-ajustes_conexiones form.row,
body.siavce-view-ajustes_clientes_campos form .row{
  display:flex !important;
  flex-wrap:wrap !important;
}

body.siavce-view-ticket_formulario .glass-card > form.row > [class*="col-"],
body.siavce-view-ticket_reporte form.row > [class*="col-"],
body.siavce-view-soporte_servicios form.row > [class*="col-"],
body.siavce-view-seg_usuarios form .row > [class*="col-"],
body.siavce-view-ajustesuser form.row > [class*="col-"],
body.siavce-view-yo form.row > [class*="col-"],
body.siavce-view-yo .row > [class*="col-"],
body.siavce-view-ajustes_conexiones form.row > [class*="col-"],
body.siavce-view-ajustes_clientes_campos form .row > [class*="col-"]{
  min-width:0 !important;
}

body.siavce-view-ticket_formulario .ticket-hero,
body.siavce-view-ticket_formulario .glass-card,
body.siavce-view-ticket_reporte .ticket-detail-hero,
body.siavce-view-ticket_reporte .mod-card,
body.siavce-view-soporte_servicios .mod-card,
body.siavce-view-seg_usuarios .siavce-panel-card,
body.siavce-view-yo .yo-card,
body.siavce-view-ajustesuser .glass-card,
body.siavce-view-ajustesuser .admin-card,
body.siavce-view-ajustes_conexiones .conn-card,
body.siavce-view-ajustes_clientes_campos .field-row,
body.siavce-view-ajustes_modulos .module-card{
  overflow:visible;
}

body.siavce-view-ticket_formulario .side-card,
body.siavce-view-ticket_formulario .form-section,
body.siavce-view-soporte_servicios .mod-card,
body.siavce-view-ticket_reporte .mod-card{
  height:auto !important;
}

body.siavce-view-ticket_reporte .support-progress-card,
body.siavce-view-ticket_reporte .mod-card,
body.siavce-view-soporte_servicios .mod-card{
  border-radius:22px !important;
}
body.siavce-redesign-total.siavce-view-soporte_servicios .mod-card table,
body.siavce-redesign-total.siavce-view-soporte_servicios .mod-card tbody,
body.siavce-redesign-total.siavce-view-soporte_servicios .mod-card tr,
body.siavce-redesign-total.siavce-view-soporte_servicios .mod-card td {
  background:#fff !important;
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-soporte_servicios .mod-card td.text-center {
  color:#60738f !important;
  font-weight:600 !important;
  padding:18px !important;
}
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain,
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain > .container {
  width:100% !important;
  max-width:1500px !important;
  margin-inline:auto !important;
  box-sizing:border-box !important;
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain > :where(.container,.row) {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  border-radius:18px !important;
  padding:18px !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain :where(h1,h2,h3,h4,h5,p,span,label,li,strong) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain form > input[data-siavce-class],
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain > .container > input[data-siavce-class] {
  display:none !important;
}
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain > .container > .row {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
  margin:0 !important;
}
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain > .container > .row > [class*="col-"] {
  width:auto !important;
  max-width:none !important;
  padding:14px !important;
  background:#f8fbff !important;
  border:1px solid #dbe6f2 !important;
  border-radius:14px !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain :where(.form-control,select,input) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#cbd9e8 !important;
}
body.siavce-redesign-total.siavce-view-seg_vendidas #siavceAppMain {
  width:100% !important;
  max-width:1500px !important;
  min-width:0 !important;
  overflow-x:hidden !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-seg_vendidas #siavceAppMain > .row {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-seg_vendidas #siavceAppMain > .row > .col-12 {
  overflow-x:auto !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-seg_vendidas #siavceAppMain table {
  min-width:1100px !important;
  background:#fff !important;
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-seg_vendidas #siavceAppMain .graficas {
  min-width:0 !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  border-radius:16px !important;
  margin:10px 0 !important;
}
body.siavce-redesign-total.siavce-view-seg_vendidas #siavceAppMain .graficas canvas {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
}
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain > .form-control {
  width:100% !important;
  max-width:1500px !important;
  margin:18px auto !important;
  padding:24px !important;
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  border-radius:18px !important;
  color:#29446f !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain > .form-control > .form-control {
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row {
  display:grid !important;
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  gap:14px !important;
  margin:0 0 18px !important;
  align-items:end !important;
}
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row > span {
  grid-column:1 / -1 !important;
  color:#17345f !important;
  font-size:1.05rem !important;
  font-weight:800 !important;
  margin-top:8px !important;
}
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row > [class*="col-"] {
  width:auto !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
}
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row > .col-md-1 { grid-column:span 1 !important; }
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row > .col-md-2 { grid-column:span 2 !important; }
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row > .col-md-3 { grid-column:span 3 !important; }
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row > .col-md-4 { grid-column:span 4 !important; }
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form br { display:none !important; }
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form hr { grid-column:1 / -1 !important; border-color:#dbe6f2 !important; margin:4px 0 !important; }
body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain :where(.form-control,select,input) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#cbd9e8 !important;
  min-width:0 !important;
}
body.siavce-redesign-total.siavce-view-ayudastutos .ticket-card {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  overflow:hidden !important;
}
body.siavce-redesign-total.siavce-view-ayudastutos .ticket-card :where(h1,h2,h3,h4,h5,h6,p,span,strong,small,label) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-ayudastutos .ticket-card img {
  display:inline-block !important;
  width:42px !important;
  height:42px !important;
  max-width:42px !important;
  object-fit:cover !important;
  border-radius:50% !important;
  vertical-align:middle !important;
}
body.siavce-redesign-total.siavce-view-ayudastutos .ticket-card .text-white-50,
body.siavce-redesign-total.siavce-view-ayudastutos .ticket-card small {
  color:#60738f !important;
}
body.siavce-redesign-total.siavce-view-soporte_config .cfg-card,
body.siavce-redesign-total.siavce-view-soporte_config .preview-shell,
body.siavce-redesign-total.siavce-view-soporte_config .preview-block,
body.siavce-redesign-total.siavce-view-soporte_config .preview-field,
body.siavce-redesign-total.siavce-view-soporte_config .preview-kpi > div,
body.siavce-redesign-total.siavce-view-soporte_config .builder-head,
body.siavce-redesign-total.siavce-view-soporte_config .builder-help {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-soporte_config .preview-shell :where(h1,h2,h3,h4,h5,h6,p,span,strong,small,label,div),
body.siavce-redesign-total.siavce-view-soporte_config .builder-head :where(*) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-soporte_config :where(.opacity-75,.opacity-50) { opacity:1 !important; color:#60738f !important; }
body.siavce-redesign-total.siavce-view-soporte_config :where(.badge-soft,.mode-chip) {
  background:#eaf3ff !important;
  color:#1769d1 !important;
  border-color:#cbdff7 !important;
}
@media (max-width:850px){
  body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row > [class*="col-md-"] { grid-column:span 1 !important; }
}
@media (max-width:560px){
  body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row { grid-template-columns:1fr !important; }
  body.siavce-redesign-total.siavce-view-formpropvend #siavceAppMain form > .row > [class*="col-md-"] { grid-column:1 / -1 !important; }
}
body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain a.btn-danger {
  margin:12px 0 !important;
  border-radius:10px !important;
}
@media (max-width:1000px){
  body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain > .container > .row { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:600px){
  body.siavce-redesign-total.siavce-view-reno_lic #siavceAppMain > .container > .row { grid-template-columns:1fr !important; }
}

body.siavce-view-seg_usuarios #adreg.form-control,
body.siavce-view-seg_usuarios #adreg{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  padding:18px !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.06) !important;
}

body.siavce-view-seg_usuarios #adreg .row{
  width:100%;
  margin-inline:0;
}

body.siavce-view-seg_usuarios #busca{
  flex:1 1 230px;
  max-width:100%;
}

body.siavce-view-seg_usuarios .usuarios-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr)) !important;
  gap:16px !important;
}

body.siavce-view-ajustesuser #ajustesnotis .form-check,
body.siavce-view-ajustesuser #ajustesnotis .form-switch,
body.siavce-view-ajustesuser #ajustesmodulos .form-check,
body.siavce-view-ajustesuser #ajustescampos .form-check{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-height:32px;
}

body.siavce-view-ajustesuser #ajustesnotis .form-check-input,
body.siavce-view-ajustesuser #ajustesmodulos .form-check-input,
body.siavce-view-ajustesuser #ajustescampos .form-check-input{
  flex:0 0 auto;
  margin:0 !important;
}

body.siavce-view-ajustesuser #ajustesnotis .form-check-label,
body.siavce-view-ajustesuser #ajustesmodulos .form-check-label,
body.siavce-view-ajustesuser #ajustescampos .form-check-label{
  flex:1 1 auto;
  min-width:0;
  line-height:1.25;
}

body.siavce-view-ajustesuser #ajustescampos .field-row .row,
body.siavce-view-ajustes_clientes_campos .field-row .row{
  align-items:start;
}

body.siavce-view-ajustesuser #ajustescampos .field-row textarea,
body.siavce-view-ajustes_clientes_campos .field-row textarea{
  min-height:86px;
}

body.siavce-view-yo .yo-grid,
body.siavce-view-yo .yo-info-grid{
  display:grid !important;
  gap:18px !important;
}

body.siavce-view-yo .yo-grid{
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
  align-items:start;
}

body.siavce-view-yo .yo-info-grid{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

body.siavce-view-yo .yo-grid > [class*="col-"],
body.siavce-view-yo .yo-info-grid > [class*="col-"]{
  width:auto !important;
  max-width:none !important;
  padding:0 !important;
}

body.siavce-view-yo .siavce-hidden{
  display:none !important;
}

body.siavce-view-yo .profile-header{
  min-height:260px;
  border-radius:24px;
  overflow:hidden;
}

body.siavce-view-yo .cover-photo{
  width:100%;
  min-height:260px;
  object-fit:cover;
  display:block;
}

body.siavce-view-yo .profile-picture{
  width:126px;
  height:126px;
  object-fit:cover;
}

@media (max-width:992px){
  body.siavce-view-yo .yo-grid{
    grid-template-columns:1fr;
  }

  body.siavce-view-ticket_formulario .progress-flow{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:768px){
  body.siavce-view-ticket_formulario .progress-flow,
  body.siavce-view-yo .yo-info-grid,
  body.siavce-view-seg_usuarios .usuarios-grid{
    grid-template-columns:1fr !important;
  }
}

/* ===== SIAVCE Glass v4: reparación de formularios legacy y fondos puntuales ===== */
body.siavce-view-formulario_agregar_cliente .nuevo-cliente-page,
body.siavce-view-formulario_agregar_cita .cita-page,
body.siavce-view-herramientas .herramientas-page,
body.siavce-view-chat_interno .chat-shell{
  min-height:calc(100vh - var(--siavce-ribbon-real-height,64px)) !important;
  padding:clamp(18px,2.4vw,34px) !important;
  background:transparent !important;
}

body.siavce-view-formulario_agregar_cliente #siavceAppMain > .nuevo-cliente-page,
body.siavce-view-formulario_agregar_cita #siavceAppMain > .cita-page,
body.siavce-view-herramientas #siavceAppMain > .herramientas-page{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
}

body.siavce-view-formulario_agregar_cliente .nuevo-cliente-page .container-fluid,
body.siavce-view-formulario_agregar_cita .cita-page .container,
body.siavce-view-herramientas .herramientas-page .container-fluid{
  width:min(1520px,calc(100vw - 36px)) !important;
  max-width:min(1520px,calc(100vw - 36px)) !important;
  margin-inline:auto !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body.siavce-view-formulario_agregar_cliente .glass-form-card,
body.siavce-view-formulario_agregar_cita .cita-page .glass-card,
body.siavce-view-herramientas .herramientas-page .glass-card{
  width:100% !important;
  max-width:100% !important;
  padding:clamp(20px,2.2vw,34px) !important;
  overflow:visible !important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.125),rgba(255,255,255,.055)),
    linear-gradient(180deg,color-mix(in srgb,var(--siavce-user-primary) 10%,transparent),rgba(255,255,255,.03)) !important;
  border:1px solid var(--siavce-v2-border) !important;
  border-radius:var(--siavce-v2-radius-xl) !important;
  box-shadow:var(--siavce-v2-shadow) !important;
  backdrop-filter:blur(22px) saturate(128%) !important;
  -webkit-backdrop-filter:blur(22px) saturate(128%) !important;
}

body.siavce-view-formulario_agregar_cliente .glass-form-card > form,
body.siavce-view-formulario_agregar_cita .form-glass,
body.siavce-view-ajustes_clientes_campos form.cfg-card,
body.siavce-view-ajustesuser #ajustescampos form.cfg-card{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
}

body.siavce-view-formulario_agregar_cliente .glass-form-card > form > .mb-5,
body.siavce-view-formulario_agregar_cita .form-glass > .row,
body.siavce-view-ajustes_clientes_campos form.cfg-card > .field-row,
body.siavce-view-ajustesuser #ajustescampos form.cfg-card > .field-row{
  width:100% !important;
  max-width:100% !important;
}

body.siavce-view-formulario_agregar_cliente .section-title,
body.siavce-view-formulario_agregar_cita .header-section h2{
  text-align:left !important;
  margin-bottom:14px !important;
  font-size:clamp(1.18rem,1.55vw,1.6rem) !important;
  line-height:1.15 !important;
  text-shadow:none !important;
}

body.siavce-view-formulario_agregar_cliente .section-card,
body.siavce-view-formulario_agregar_cliente .mb-5 > .row,
body.siavce-view-formulario_agregar_cita .form-glass > .row,
body.siavce-view-ajustes_clientes_campos .field-row .row,
body.siavce-view-ajustesuser #ajustescampos .field-row .row{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-start !important;
  gap:0 !important;
  margin-right:calc(-.5 * var(--bs-gutter-x,1.5rem)) !important;
  margin-left:calc(-.5 * var(--bs-gutter-x,1.5rem)) !important;
}

body.siavce-view-formulario_agregar_cliente .section-card > [class*="col-"],
body.siavce-view-formulario_agregar_cliente .mb-5 > .row > [class*="col-"],
body.siavce-view-formulario_agregar_cita .form-glass > .row > [class*="col-"],
body.siavce-view-ajustes_clientes_campos .field-row .row > [class*="col-"],
body.siavce-view-ajustesuser #ajustescampos .field-row .row > [class*="col-"]{
  min-width:0 !important;
  padding-right:calc(var(--bs-gutter-x,1.5rem) * .5) !important;
  padding-left:calc(var(--bs-gutter-x,1.5rem) * .5) !important;
}

body.siavce-view-formulario_agregar_cliente .section-card{
  margin:0 !important;
  padding:18px !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.13) !important;
}

body.siavce-view-formulario_agregar_cliente .form-label,
body.siavce-view-formulario_agregar_cita .form-label,
body.siavce-view-ajustes_clientes_campos .form-label,
body.siavce-view-ajustesuser #ajustescampos .form-label{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  width:100% !important;
  min-width:0 !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  line-height:1.22 !important;
}

body.siavce-view-formulario_agregar_cliente .form-control,
body.siavce-view-formulario_agregar_cliente .form-select,
body.siavce-view-formulario_agregar_cita .form-control,
body.siavce-view-formulario_agregar_cita .form-select,
body.siavce-view-ajustes_clientes_campos .form-control,
body.siavce-view-ajustes_clientes_campos .form-select,
body.siavce-view-ajustesuser #ajustescampos .form-control,
body.siavce-view-ajustesuser #ajustescampos .form-select{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
}

body.siavce-view-formulario_agregar_cita .header-section .d-flex{
  align-items:center !important;
}

body.siavce-view-formulario_agregar_cita .btn-glass,
body.siavce-view-formulario_agregar_cita .btn-success-glass{
  white-space:nowrap !important;
  min-width:130px !important;
}

body.siavce-view-formulario_agregar_cita .btn-success-glass{
  width:100% !important;
  background:linear-gradient(135deg,#22c55e,#10b981) !important;
  color:#052e1b !important;
  border:0 !important;
}

body.siavce-view-formulario_agregar_cita .hidden{
  display:none !important;
}

body.siavce-view-ajustes_clientes_campos .cfg-grid,
body.siavce-view-ajustesuser #ajustescampos .cfg-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:16px !important;
}

body.siavce-view-ajustes_clientes_campos .cfg-card,
body.siavce-view-ajustesuser #ajustescampos .cfg-card{
  padding:clamp(16px,1.8vw,24px) !important;
  border-radius:24px !important;
}

body.siavce-view-ajustes_clientes_campos .field-row,
body.siavce-view-ajustesuser #ajustescampos .field-row{
  margin-bottom:14px !important;
  padding:16px !important;
  border-radius:18px !important;
  background:rgba(2,6,23,.20) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

body.siavce-view-ajustes_clientes_campos .field-row .col-md-1,
body.siavce-view-ajustesuser #ajustescampos .field-row .col-md-1{
  flex:0 0 110px !important;
  max-width:110px !important;
}

body.siavce-view-ajustes_clientes_campos .field-row .col-md-2,
body.siavce-view-ajustesuser #ajustescampos .field-row .col-md-2{
  flex:1 1 170px !important;
  max-width:none !important;
}

body.siavce-view-ajustes_clientes_campos .field-row .col-md-3,
body.siavce-view-ajustesuser #ajustescampos .field-row .col-md-3{
  flex:1.2 1 220px !important;
  max-width:none !important;
}

body.siavce-view-ajustes_clientes_campos .field-row .col-md-4,
body.siavce-view-ajustesuser #ajustescampos .field-row .col-md-4{
  flex:1.4 1 260px !important;
  max-width:none !important;
}

body.siavce-view-ajustes_clientes_campos .field-row .col-12,
body.siavce-view-ajustesuser #ajustescampos .field-row .col-12{
  flex:0 0 100% !important;
  max-width:100% !important;
}

body.siavce-view-ajustes_clientes_campos .field-row label:has(input[type="checkbox"]),
body.siavce-view-ajustesuser #ajustescampos .field-row label:has(input[type="checkbox"]){
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  width:auto !important;
  white-space:nowrap !important;
}

body.siavce-view-herramientas{
  background:
    radial-gradient(circle at 8% 0%,color-mix(in srgb,var(--siavce-user-primary) 24%,transparent) 0,transparent 34%),
    radial-gradient(circle at 96% 10%,color-mix(in srgb,var(--siavce-user-nav) 25%,transparent) 0,transparent 32%),
    linear-gradient(145deg,var(--siavce-v2-bg-0),var(--siavce-v2-bg-1) 54%,#050914) !important;
  background-attachment:fixed !important;
}

body.siavce-view-herramientas .table-responsive-custom{
  max-height:none !important;
  overflow:auto !important;
  border-radius:0 0 24px 24px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-top:0 !important;
}

body.siavce-view-herramientas .table-custom th{
  background:rgba(8,17,31,.78) !important;
}

body.siavce-view-herramientas .modal-backdrop.show{
  opacity:.38 !important;
  backdrop-filter:blur(2px) !important;
}

body.siavce-view-herramientas .modal-glass .modal-content,
body.siavce-view-herramientas .modal-content{
  background:
    linear-gradient(145deg,rgba(31,45,64,.96),rgba(13,24,39,.96)) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:24px !important;
  box-shadow:0 26px 80px rgba(0,0,0,.50) !important;
  backdrop-filter:blur(18px) saturate(126%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(126%) !important;
}

body.siavce-view-herramientas .modal-dialog{
  margin-top:calc(var(--siavce-ribbon-real-height,64px) + 22px) !important;
}

body.siavce-view-herramientas .modal-glass .form-control,
body.siavce-view-herramientas .modal-glass .form-select{
  background:rgba(255,255,255,.08) !important;
  border-color:rgba(255,255,255,.18) !important;
  color:#fff !important;
}

body.siavce-view-mipanel2{
  background:
    radial-gradient(circle at 10% 0%,color-mix(in srgb,var(--siavce-user-primary) 25%,transparent) 0,transparent 34%),
    radial-gradient(circle at 92% 18%,color-mix(in srgb,var(--siavce-user-nav) 28%,transparent) 0,transparent 36%),
    linear-gradient(145deg,var(--siavce-v2-bg-0),var(--siavce-v2-bg-1) 56%,#050914) !important;
  background-attachment:fixed !important;
}

body.siavce-view-mipanel2::before{
  background:
    linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px) !important;
  background-size:44px 44px !important;
  opacity:.55 !important;
}

body.siavce-view-mipanel2 .panel2-shell{
  width:min(1500px,calc(100vw - 36px)) !important;
  max-width:min(1500px,calc(100vw - 36px)) !important;
}

body.siavce-view-mipanel2 .panel2-card,
body.siavce-view-mipanel2 .panel2-hero{
  background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.045)) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:var(--siavce-v2-shadow-soft) !important;
}

@media (max-width:992px){
  body.siavce-view-formulario_agregar_cliente .glass-form-card,
  body.siavce-view-formulario_agregar_cita .cita-page .glass-card{
    padding:18px !important;
  }

  body.siavce-view-ajustes_clientes_campos .field-row .col-md-1,
  body.siavce-view-ajustes_clientes_campos .field-row .col-md-2,
  body.siavce-view-ajustes_clientes_campos .field-row .col-md-3,
  body.siavce-view-ajustes_clientes_campos .field-row .col-md-4,
  body.siavce-view-ajustesuser #ajustescampos .field-row .col-md-1,
  body.siavce-view-ajustesuser #ajustescampos .field-row .col-md-2,
  body.siavce-view-ajustesuser #ajustescampos .field-row .col-md-3,
  body.siavce-view-ajustesuser #ajustescampos .field-row .col-md-4{
    flex:0 0 100% !important;
    max-width:100% !important;
  }
}

/* =========================================================
   V5 - reparación de modales bloqueados en Caja Chica y Herramientas
   Mantiene Bootstrap funcional: el backdrop queda abajo y el modal siempre recibe eventos.
   ========================================================= */
body.siavce-bootstrap-glass .modal,
body.siavce-redesign-total .modal{
  --bs-modal-zindex:22000;
  position:fixed !important;
  inset:0 !important;
  z-index:22000 !important;
  pointer-events:none;
}

body.siavce-bootstrap-glass .modal.show,
body.siavce-redesign-total .modal.show{
  display:block !important;
  pointer-events:auto !important;
}

body.siavce-bootstrap-glass .modal .modal-dialog,
body.siavce-redesign-total .modal .modal-dialog{
  position:relative !important;
  z-index:22002 !important;
  pointer-events:auto !important;
}

body.siavce-bootstrap-glass .modal .modal-content,
body.siavce-redesign-total .modal .modal-content{
  position:relative !important;
  z-index:22003 !important;
  pointer-events:auto !important;
}

body.siavce-bootstrap-glass .modal-backdrop,
body.siavce-redesign-total .modal-backdrop{
  --bs-backdrop-zindex:21980;
  z-index:21980 !important;
  background:#020817 !important;
}

body.siavce-bootstrap-glass .modal-backdrop.show,
body.siavce-redesign-total .modal-backdrop.show{
  opacity:.42 !important;
}

body.siavce-view-herramientas .modal,
body.siavce-view-caja_chica .modal{
  background:transparent !important;
}

body.siavce-view-herramientas .modal.show,
body.siavce-view-caja_chica .modal.show{
  background:rgba(2,8,23,.30) !important;
}

body.siavce-view-herramientas .modal-glass .modal-content,
body.siavce-view-herramientas .modal-content,
body.siavce-view-caja_chica .modal-glass .modal-content,
body.siavce-view-caja_chica .modal-content{
  background:
    radial-gradient(circle at 0% 0%,color-mix(in srgb,var(--siavce-user-primary) 18%,transparent) 0,transparent 35%),
    linear-gradient(145deg,rgba(39,57,78,.97),rgba(15,27,43,.97)) !important;
  color:#f8fafc !important;
  border:1px solid rgba(255,255,255,.20) !important;
  border-radius:24px !important;
  box-shadow:0 28px 90px rgba(0,0,0,.56) !important;
}

body.siavce-view-herramientas .modal-header,
body.siavce-view-herramientas .modal-footer,
body.siavce-view-caja_chica .modal-header,
body.siavce-view-caja_chica .modal-footer{
  background:transparent !important;
  border-color:rgba(255,255,255,.10) !important;
}

body.siavce-view-herramientas .modal input,
body.siavce-view-herramientas .modal select,
body.siavce-view-herramientas .modal textarea,
body.siavce-view-caja_chica .modal input,
body.siavce-view-caja_chica .modal select,
body.siavce-view-caja_chica .modal textarea{
  pointer-events:auto !important;
  background:rgba(255,255,255,.10) !important;
  border-color:rgba(255,255,255,.20) !important;
  color:#fff !important;
}

body.siavce-view-herramientas .modal input::placeholder,
body.siavce-view-herramientas .modal textarea::placeholder,
body.siavce-view-caja_chica .modal input::placeholder,
body.siavce-view-caja_chica .modal textarea::placeholder{
  color:rgba(255,255,255,.55) !important;
}

body.siavce-view-herramientas .modal button,
body.siavce-view-herramientas .modal a,
body.siavce-view-caja_chica .modal button,
body.siavce-view-caja_chica .modal a{
  pointer-events:auto !important;
}

/* El modal de monto inicial venía marcado con una clase legacy que lo pintaba negro como backdrop. */
#modalMontoMes[data-siavce-class~="sx-95837871"],
#modalMontoMes.sx-95837871{
  background:rgba(2,8,23,.30) !important;
}

/* Evita que otros paneles fijos/flotantes queden por encima de Bootstrap cuando hay modal abierto. */
body.modal-open .ribbon,
body.modal-open .notif-bubble{
  z-index:1000 !important;
}

/* =========================================================
   V6 - Login profesional usando recursos/img/empresa/fondolog/fondolog.jpg
   Solo afecta index.php / sesión pública.
   ========================================================= */
body.siavce-view-index.siavce-login-v6{
  min-height:100vh;
  overflow-x:hidden;
  color:#f8fbff;
  background:
    linear-gradient(120deg,rgba(3,7,18,.86),rgba(8,22,39,.72) 42%,rgba(3,7,18,.88)),
    var(--siavce-login-bg),
    radial-gradient(circle at 20% 12%,color-mix(in srgb,var(--siavce-user-primary) 34%,transparent),transparent 36%),
    linear-gradient(145deg,#050b16,#071628 54%,#020617) !important;
  background-size:cover,cover,cover,cover !important;
  background-position:center,center,center,center !important;
  background-attachment:fixed,fixed,fixed,fixed !important;
}

body.siavce-view-index.siavce-login-v6::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 18%,rgba(96,165,250,.24),transparent 28%),
    radial-gradient(circle at 86% 76%,rgba(34,197,94,.13),transparent 26%),
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:auto,auto,46px 46px,46px 46px;
  mask-image:none;
  opacity:.82;
}

body.siavce-view-index.siavce-login-v6::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(2,6,23,.72),rgba(2,6,23,.38) 46%,rgba(2,6,23,.78));
}

.siavce-login-v6-shell{
  position:relative;
  z-index:1;
  width:min(1260px,calc(100vw - 40px));
  min-height:100vh;
  margin-inline:auto;
  padding:clamp(26px,4vw,56px) 0;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(380px,.62fr);
  gap:clamp(20px,3vw,42px);
  align-items:center;
}

.siavce-login-v6-hero,
.siavce-login-v6-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 0% 0%,rgba(96,165,250,.18),transparent 40%),
    linear-gradient(145deg,rgba(15,31,53,.78),rgba(10,18,32,.62));
  box-shadow:0 34px 95px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(24px) saturate(132%);
  -webkit-backdrop-filter:blur(24px) saturate(132%);
}

.siavce-login-v6-hero::before,
.siavce-login-v6-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg,rgba(255,255,255,.14),transparent 26%,rgba(255,255,255,.04) 58%,transparent);
  opacity:.75;
}

.siavce-login-v6-hero{
  min-height:650px;
  border-radius:34px;
  padding:clamp(28px,4vw,54px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.siavce-login-v6-card{
  border-radius:32px;
  padding:clamp(24px,3vw,36px);
}

.siavce-login-v6-hero > *,
.siavce-login-v6-card > *{
  position:relative;
  z-index:1;
}

.siavce-login-v6-brand-row{
  display:flex;
  align-items:flex-start;
  gap:18px;
  max-width:760px;
}

.siavce-login-v6-logo-wrap,
.siavce-login-v6-card-head img,
.siavce-login-v6-session-avatar{
  display:inline-grid;
  place-items:center;
  width:72px;
  height:72px;
  border-radius:22px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 34px rgba(0,0,0,.30);
  object-fit:cover;
}

.siavce-login-v6-logo-wrap img,
.siavce-login-v6-card-head img{
  width:100%;
  height:100%;
  border-radius:inherit;
  object-fit:cover;
}

.siavce-login-v6-eyebrow{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(59,130,246,.86),rgba(34,197,94,.78));
  color:#fff;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.03em;
  box-shadow:0 10px 22px rgba(0,0,0,.22);
}

.siavce-login-v6-hero h1{
  margin:12px 0 0;
  max-width:760px;
  color:#fff;
  font-size:clamp(2.25rem,4.8vw,5rem);
  line-height:.95;
  letter-spacing:-.065em;
}

.siavce-login-v6-lead{
  max-width:720px;
  margin:28px 0 0;
  color:rgba(248,251,255,.82) !important;
  font-size:clamp(1rem,1.5vw,1.28rem);
  line-height:1.55;
}

.siavce-login-v6-highlight{
  max-width:760px;
  margin-top:30px;
  display:flex;
  gap:15px;
  align-items:flex-start;
  padding:18px;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
  border:1px solid rgba(255,255,255,.15);
}

.siavce-login-v6-highlight i{
  width:42px;
  height:42px;
  display:inline-grid;
  place-items:center;
  flex:0 0 42px;
  border-radius:16px;
  background:rgba(59,130,246,.22);
  color:#dbeafe;
  font-size:1.45rem;
}

.siavce-login-v6-highlight strong,
.siavce-login-v6-highlight span{
  display:block;
}

.siavce-login-v6-highlight strong{
  color:#fff;
  font-size:1.02rem;
  margin-bottom:2px;
}

.siavce-login-v6-highlight span{
  color:rgba(248,251,255,.72);
  line-height:1.45;
}

.siavce-login-v6-module-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:30px;
}

.siavce-login-v6-module-grid article{
  min-height:132px;
  padding:17px;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.045));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

.siavce-login-v6-module-grid i{
  color:#e0f2fe;
  font-size:1.65rem;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.25));
}

.siavce-login-v6-module-grid strong,
.siavce-login-v6-module-grid span{
  display:block;
}

.siavce-login-v6-module-grid strong{
  margin-top:14px;
  color:#fff;
  font-size:1.03rem;
}

.siavce-login-v6-module-grid span{
  margin-top:4px;
  color:rgba(248,251,255,.68);
  font-size:.86rem;
  line-height:1.35;
}

.siavce-login-v6-card-head{
  text-align:center;
  margin-bottom:26px;
}

.siavce-login-v6-card-head img{
  margin-inline:auto;
  margin-bottom:14px;
}

.siavce-login-v6-card-head h2{
  margin:12px 0 7px;
  color:#fff;
  font-size:clamp(1.7rem,2.3vw,2.25rem);
  letter-spacing:-.055em;
}

.siavce-login-v6-card-head p{
  max-width:320px;
  margin:0 auto;
  color:rgba(248,251,255,.70) !important;
  line-height:1.45;
}

.siavce-login-v6-form{
  display:grid;
  gap:16px;
}

.siavce-login-v6-field .form-label,
.siavce-login-v6-recovery .form-label{
  margin-bottom:7px;
  color:rgba(248,251,255,.86) !important;
  font-size:.86rem;
}

.siavce-login-v6 .input-group{
  display:flex;
  flex-wrap:nowrap;
  align-items:stretch;
  width:100%;
}

.siavce-login-v6 .input-group-text{
  min-width:48px;
  border-radius:17px 0 0 17px !important;
  background:rgba(255,255,255,.11) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  color:#fff !important;
}

.siavce-login-v6 .input-group .form-control{
  min-width:0;
  border-left:0 !important;
  border-radius:0 17px 17px 0 !important;
  background:rgba(255,255,255,.105) !important;
}

.siavce-login-v6 .input-group .form-control:focus{
  position:relative;
  z-index:2;
}

.siavce-login-v6 .input-group .siavce-login-v6-eye{
  min-width:48px;
  border-radius:0 17px 17px 0 !important;
  border-left:0 !important;
  box-shadow:none !important;
}

.siavce-login-v6 .input-group .siavce-login-v6-eye + *,
.siavce-login-v6 .input-group .form-control:has(+ .siavce-login-v6-eye){
  border-radius:0 !important;
}

.siavce-login-v6-options{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:2px;
}

.siavce-login-v6-options span{
  color:rgba(248,251,255,.78);
  font-weight:700;
  font-size:.88rem;
}

.siavce-login-v6-link{
  border:0;
  background:transparent;
  color:#dbeafe;
  font-weight:900;
  padding:0;
}

.siavce-login-v6-link:hover{
  color:#fff;
  text-decoration:underline;
}

.siavce-login-v6-submit,
.siavce-login-v6-create{
  min-height:48px !important;
  border-radius:18px !important;
}

.siavce-login-v6-recovery{
  margin-top:14px;
  padding:14px;
  border-radius:20px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
}

.siavce-login-v6-divider{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:18px 0;
  color:rgba(248,251,255,.58);
  font-weight:900;
}

.siavce-login-v6-divider::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:1px;
  background:rgba(255,255,255,.13);
}

.siavce-login-v6-divider span{
  position:relative;
  z-index:1;
  padding:0 12px;
  background:rgba(13,25,43,.94);
}

.siavce-login-v6-session{
  grid-template-columns:minmax(360px,520px);
  justify-content:center;
}

.siavce-login-v6-session-card{
  width:min(520px,100%);
  margin-inline:auto;
}

.siavce-login-v6-session-avatar{
  margin:0 auto 16px;
  border-radius:28px;
}

.siavce-login-v6-session-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:22px;
}

@media (max-width:1180px){
  .siavce-login-v6-shell{
    grid-template-columns:1fr;
    width:min(860px,calc(100vw - 32px));
  }

  .siavce-login-v6-hero{
    min-height:auto;
  }

  .siavce-login-v6-module-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:620px){
  .siavce-login-v6-shell{
    width:min(100vw - 20px,100%);
    padding:16px 0;
  }

  .siavce-login-v6-hero,
  .siavce-login-v6-card{
    border-radius:24px;
    padding:20px;
  }

  .siavce-login-v6-brand-row{
    flex-direction:column;
  }

  .siavce-login-v6-module-grid{
    grid-template-columns:1fr;
  }

  .siavce-login-v6-options{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* SIAVCE global institutional theme: the same visual language as the new login. */
body.siavce-redesign-total:not(.siavce-view-index),
body.siavce-bootstrap-glass:not(.siavce-view-index) {
  --siavce-text:#183153 !important;
  --siavce-muted:#64748b !important;
  --siavce-primary:#1769d1 !important;
  --siavce-surface:#ffffff !important;
  --siavce-border:#dbe6f2 !important;
  --siavce-shadow:0 8px 24px rgba(25,72,125,.08) !important;
  background:#f4f8fc !important;
  color:var(--siavce-text) !important;
  font-family:'Manrope','Segoe UI',Arial,sans-serif !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(h1,h2,h3,h4,h5,h6,p,label,span,td,th,a,button,input,select,textarea) {
  font-family:inherit;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(h1,h2,h3,h4,h5,h6) {
  color:#122b58 !important; letter-spacing:-.025em; font-weight:750;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(p,small,.text-muted,.muted,.panel-note,.form-text) { color:#64748b !important; }
body.siavce-redesign-total:not(.siavce-view-index) #sidemenu {
  background:#fff !important; border-right:1px solid #dfe8f2 !important;
  box-shadow:4px 0 18px rgba(20,64,110,.06) !important;
}
body.siavce-redesign-total:not(.siavce-view-index) #sidemenu :where(a,.title,#title) { color:#29446f !important; }
body.siavce-redesign-total:not(.siavce-view-index) #sidemenu :where(a:hover,.active,.selected) {
  background:#eaf2ff !important; color:#1769d1 !important; border-radius:10px !important;
}
body.siavce-redesign-total:not(.siavce-view-index) #sidemenu .icon img,
body.siavce-redesign-total:not(.siavce-view-index) #sidemenu .iconosbar { filter:none !important; opacity:.9; }
body.siavce-redesign-total:not(.siavce-view-index) .navbar,
body.siavce-redesign-total:not(.siavce-view-index) nav.navbar {
  background:#fff !important; border-bottom:1px solid #dfe8f2 !important;
  box-shadow:0 3px 16px rgba(20,64,110,.06) !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .navbar :where(a,.link,.nav-link,.dropdown-toggle) { color:#29446f !important; }
body.siavce-redesign-total:not(.siavce-view-index) .iconosbar.siavce-avatar-round,
body.siavce-redesign-total:not(.siavce-view-index) #logoag {
  background:#fff !important; border:1px solid #e1eaf4 !important; object-fit:contain !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.siavce-card,.siavce-panel-card,.siavce-panel,.dash-panel,.dash-card,.calendar-main-card,.calendar-sidebar,.glass-card,.card,.section-card,.content-card,.panel-card,.metric-card,.ticket-card,.table-responsive,.table-responsive-custom) {
  background:#fff !important; color:#183153 !important; border:1px solid #dbe6f2 !important;
  border-radius:16px !important; box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.siavce-panel-head,.panel-head,.siavce-table-toolbar) {
  background:transparent !important; border-color:#e5edf5 !important; color:#183153 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.table,.siavce-table-clean,.table-custom) {
  --bs-table-bg:transparent; --bs-table-color:#29446f; color:#29446f !important; margin-bottom:0;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.table thead th,.siavce-table-clean thead th,.table-custom thead th) {
  background:#f4f8fc !important; color:#48617f !important; border-bottom:1px solid #dbe6f2 !important;
  font-size:.74rem; font-weight:800; letter-spacing:.035em; text-transform:uppercase;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.table tbody td,.siavce-table-clean tbody td,.table-custom tbody td) {
  color:#29446f !important; border-color:#edf2f7 !important; background:#fff !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(input,select,textarea,.form-control,.form-select) {
  background:#fff !important; color:#183153 !important; border:1px solid #cbd9e8 !important;
  border-radius:9px !important; box-shadow:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(input,select,textarea,.form-control,.form-select):focus {
  border-color:#1769d1 !important; box-shadow:0 0 0 3px rgba(23,105,209,.13) !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.btn-primary,.btn-success,.btn-info,.btn-warning,.btn-danger,.btn-secondary) {
  border-radius:9px !important; font-weight:700 !important; box-shadow:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.btn-primary,.btn-info) { background:#1769d1 !important; border-color:#1769d1 !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.btn-outline-light,.btn-light) {
  color:#29446f !important; background:#fff !important; border:1px solid #cbd9e8 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.dropdown-menu,.modal-content,.offcanvas,.popover,.toast) {
  background:#fff !important; color:#183153 !important; border:1px solid #dbe6f2 !important;
  box-shadow:0 14px 36px rgba(25,72,125,.14) !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.dropdown-item,.modal-title,.modal-body,.modal-footer,.offcanvas-title) { color:#29446f !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.dropdown-item:hover) { background:#eaf2ff !important; color:#1769d1 !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.alert) { border-radius:12px !important; color:#29446f !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.badge) { font-weight:700 !important; }
@media (max-width:900px){
  body.siavce-redesign-total:not(.siavce-view-index) #sidemenu { box-shadow:8px 0 26px rgba(20,64,110,.12) !important; }
}

/* Final precedence layer: override legacy dark !important rules for every internal view. */
body.siavce-redesign-total:not(.siavce-view-index) {
  background:#f4f8fc !important; color:#183153 !important;
  --siavce-text:#183153 !important; --siavce-muted:#64748b !important;
  --siavce-muted-2:#64748b !important; --siavce-primary:#1769d1 !important;
  --siavce-border:#dbe6f2 !important; --siavce-surface:#fff !important;
  --siavce-surface-2:#f4f8fc !important; --siavce-shadow:0 8px 24px rgba(25,72,125,.08) !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ribbon {
  background:#fff !important; color:#29446f !important; border-bottom:1px solid #dbe6f2 !important;
  box-shadow:0 4px 16px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ribbon-tabs {
  background:#fff !important; border-bottom:1px solid #edf2f7 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ribbon-tab {
  color:#48617f !important; background:#fff !important; border:0 !important;
  font-weight:700 !important; border-radius:9px 9px 0 0 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ribbon-tab:hover,
body.siavce-redesign-total:not(.siavce-view-index) .ribbon-tab.active {
  color:#1769d1 !important; background:#eaf2ff !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ribbon-tools {
  background:#f8fbff !important; color:#29446f !important;
  border-top:0 !important; border-bottom:1px solid #e4edf6 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .tool-btn {
  color:#29446f !important; background:#fff !important; border:1px solid #d7e3f0 !important;
  box-shadow:0 2px 7px rgba(25,72,125,.05) !important; border-radius:10px !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .tool-btn:hover,
body.siavce-redesign-total:not(.siavce-view-index) .tool-active .tool-btn {
  color:#1769d1 !important; background:#eaf2ff !important; border-color:#a9c8f0 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .tool-btn :where(span,.link),
body.siavce-redesign-total:not(.siavce-view-index) .ribbon :where(span,.link) { color:inherit !important; }
body.siavce-redesign-total:not(.siavce-view-index) .ribbon .ribbon-tab > a {
  display:inline-flex !important;
  align-items:center !important;
  min-height:30px !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  color:#29446f !important;
  border:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ribbon .ribbon-tab > a.text-danger { color:#b42318 !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.siavce-card,.siavce-panel-card,.siavce-panel,.dash-panel,.dash-card,.calendar-main-card,.calendar-sidebar,.glass-card,.card,.section-card,.content-card,.panel-card,.metric-card,.ticket-card,.table-responsive,.table-responsive-custom) {
  color:#183153 !important; background:#fff !important; border-color:#dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important; backdrop-filter:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.card-header,.card-footer,.modal-header,.modal-footer,.accordion-button) {
  background:#f8fbff !important; color:#29446f !important; border-color:#e1eaf3 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.bg-white,.bg-light,.bg-body,.bg-body-tertiary,.table-light) {
  background:#f8fbff !important; color:#29446f !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.text-dark,.text-black,.text-body,.text-secondary,.text-primary-emphasis) {
  color:#29446f !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.text-white,.text-white-50) {
  color:#60738f !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.bg-dark,.bg-black) {
  background:#f8fbff !important; color:#29446f !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(label,.form-label) { color:#29446f !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(input,select,textarea,.form-control,.form-select) {
  color:#183153 !important; background:#fff !important; border-color:#cbd9e8 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(input,select,textarea,.form-control,.form-select)::placeholder { color:#8998ad !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(table,.table) { color:#29446f !important; background:#fff !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(table,.table) :where(th,td) { color:#29446f !important; border-color:#e5edf5 !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(table,.table) thead :where(th,td) { background:#f1f6fb !important; color:#48617f !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(table,.table) tbody tr:hover :where(th,td) { background:#f4f8ff !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.dropdown-menu,.modal-content,.offcanvas,.popover,.toast) {
  color:#183153 !important; background:#fff !important; border-color:#dbe6f2 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.dropdown-item,.modal-content *, .offcanvas *) { color:#29446f !important; }
body.siavce-redesign-total:not(.siavce-view-index) .dropdown-item:hover { background:#eaf2ff !important; color:#1769d1 !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.btn-light,.btn-outline-light,.btn-secondary,.btn-outline-secondary) {
  color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.btn-primary,.btn-info) { background:#1769d1 !important; border-color:#1769d1 !important; color:#fff !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.btn-success) { background:#159b62 !important; border-color:#159b62 !important; color:#fff !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(.btn-primary,.btn-info,.btn-success,.btn-danger,.btn-warning) :where(.text-white,.text-white-50) { color:inherit !important; }

/* Compatibilidad visual para clases propias de módulos legacy. */
body.siavce-redesign-total:not(.siavce-view-index) :where(.mod-card,.conn-card,.module-card,.report-card,.cfg-card,.pagos-hero,.pagos-card,.cliente-kpi,.cliente-item,.cliente-task,.cliente-task-card,.cliente-timeline-item,.cliente-collapsible-form,.report-chip,.report-drop,.pagos-empty,.metric-card,.support-card,.chat-card,.chart-wrap) {
  background:#fff !important;color:#29446f !important;border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;backdrop-filter:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.mod-card,.conn-card,.module-card,.report-card,.cfg-card,.pagos-hero,.pagos-card,.cliente-kpi,.cliente-item,.cliente-task,.cliente-task-card,.cliente-timeline-item,.cliente-collapsible-form,.report-chip,.report-drop,.pagos-empty,.metric-card,.support-card,.chat-card,.chart-wrap) :where(h1,h2,h3,h4,h5,h6,p,span,label,strong,small,td,th) {color:#29446f !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.field-row,.timeline-item,.report-block) {background:#f8fbff !important;color:#29446f !important;border-color:#dbe6f2 !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.glass-btn) {background:#fff !important;color:#29446f !important;border:1px solid #cbd9e8 !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.mod-table,.pagos-table,.mod-table th,.mod-table td) {color:#29446f !important;border-color:#dbe6f2 !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.mod-table th,.pagos-table th) {background:#f1f6fb !important;color:#48617f !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.cliente-pill,.cliente-badge-soft,.report-preview-badge) {background:#eaf2ff !important;color:#1769d1 !important;border-color:#cbdff7 !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.admin-card,.ajustes-main-card,.assistant-hero,.aviso-card,.bit-card,.bit-form-card,.bit-hero,.bit-item,.bit-row,.calendar-day-panel,.calendar-main-card,.chat-account-card,.chat-contact-item,.chat-conversation-card,.chat-detail-panel,.chat-guide-card,.chat-hero-card,.chat-kpi-card,.chat-main-panel,.chat-messages-panel,.chat-profile-panel,.chat-room-list,.chat-routing-panel,.chat-toolbar-card,.chat-upload-box,.client-card,.content-box,.control-card,.detail-card,.doc-card,.evidence-card,.faq-card,.field-card,.filter-card,.form-section,.goal-card,.goal-hero,.goal-item,.help-card,.impact-card,.kpi-card,.kpi-top,.glass-form-card,.glass-panel,.glass-list,.hero,.info-badge,.choice-card) {
  background:#fff !important;color:#29446f !important;border:1px solid #dbe6f2 !important;box-shadow:0 8px 24px rgba(25,72,125,.07) !important;backdrop-filter:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.admin-card,.ajustes-main-card,.assistant-hero,.aviso-card,.bit-card,.bit-form-card,.bit-hero,.bit-item,.bit-row,.calendar-day-panel,.calendar-main-card,.chat-account-card,.chat-contact-item,.chat-conversation-card,.chat-detail-panel,.chat-guide-card,.chat-hero-card,.chat-kpi-card,.chat-main-panel,.chat-messages-panel,.chat-profile-panel,.chat-room-list,.chat-routing-panel,.chat-toolbar-card,.chat-upload-box,.client-card,.content-box,.control-card,.detail-card,.doc-card,.evidence-card,.faq-card,.field-card,.filter-card,.form-section,.goal-card,.goal-hero,.goal-item,.help-card,.impact-card,.kpi-card,.kpi-top,.glass-form-card,.glass-panel,.glass-list,.hero,.info-badge,.choice-card) :where(h1,h2,h3,h4,h5,h6,p,span,label,strong,small,td,th) {color:#29446f !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.list-group-item,.accordion-item,.accounts-list,.accounts-panel,.bit-list,.chat-contact-list,.conversations-list,.feature-grid,.featured-item,.goal-list,.glass-conversation-item) {background:#fff !important;color:#29446f !important;border-color:#dbe6f2 !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.settings-hero,.settings-kpi,.settings-tabs-shell,.settings-nav-panel,.security-device,.settings-card) {
  background:#fff !important;color:#29446f !important;border:1px solid #dbe6f2 !important;box-shadow:0 8px 24px rgba(25,72,125,.07) !important;backdrop-filter:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.settings-hero,.settings-kpi,.settings-tabs-shell,.settings-nav-panel,.security-device,.settings-card) :where(h1,h2,h3,h4,h5,h6,p,span,label,strong,small) {color:#29446f !important;}
body.siavce-redesign-total:not(.siavce-view-index) .settings-hero {background:#f8fbff !important;}

/* Reclutamiento: reemplaza el formulario legacy de ancho completo por una tarjeta responsive. */
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-shell {
  width:min(1120px, calc(100vw - 34px)) !important;
  max-width:calc(100vw - 34px) !important;
  margin:24px auto 40px !important;
}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  border-radius:24px !important;
  box-shadow:0 12px 32px rgba(25,72,125,.09) !important;
  padding:30px !important;
}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-heading {
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:24px !important;
  padding-bottom:22px !important;
  margin-bottom:24px !important;
  border-bottom:1px solid #e4edf6 !important;
}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-heading h1 {
  margin:0 !important;color:#17345f !important;font-size:clamp(1.65rem,3vw,2.35rem) !important;
}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-heading p {
  margin:7px 0 0 !important;color:#60738f !important;
}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-eyebrow {
  display:inline-block !important;margin-bottom:8px !important;color:#1769d1 !important;
  font-size:.75rem !important;font-weight:800 !important;text-transform:uppercase !important;letter-spacing:.08em !important;
}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-actions .btn {white-space:nowrap !important;}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card > form {
  display:grid !important;gap:20px !important;
}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card > form > .row {
  margin:0 !important;row-gap:18px !important;
}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card .form-group {padding:0 9px !important;}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card label {color:#29446f !important;font-weight:700 !important;margin-bottom:7px !important;}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card .form-control,
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card select {min-height:44px !important;background:#fff !important;color:#17345f !important;border:1px solid #cbd9e8 !important;border-radius:10px !important;}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-submit {padding:4px 9px 0 !important;}
body.siavce-redesign-total.siavce-view-form_reclu .recruitment-submit .btn {min-height:44px !important;padding-inline:22px !important;}
@media(max-width:700px){
  body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card {padding:20px !important;}
  body.siavce-redesign-total.siavce-view-form_reclu .recruitment-heading {flex-direction:column !important;}
  body.siavce-redesign-total.siavce-view-form_reclu .recruitment-card .form-group {padding-inline:0 !important;}
  body.siavce-redesign-total.siavce-view-form_reclu .recruitment-submit {padding-inline:0 !important;}
}

/* Edición de citas: tarjeta compacta y legible para el formulario legacy. */
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-shell {
  width:min(920px, calc(100vw - 34px)) !important;max-width:calc(100vw - 34px) !important;margin:24px auto 40px !important;
}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card {
  background:#fff !important;border:1px solid #dbe6f2 !important;border-radius:24px !important;
  box-shadow:0 12px 32px rgba(25,72,125,.09) !important;padding:30px !important;
}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-heading {
  padding-bottom:20px !important;margin-bottom:22px !important;border-bottom:1px solid #e4edf6 !important;
}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-heading h1 {margin:0 !important;color:#17345f !important;font-size:clamp(1.55rem,3vw,2.2rem) !important;}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-heading p {margin:7px 0 0 !important;color:#60738f !important;}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-eyebrow {display:block !important;margin-bottom:8px !important;color:#1769d1 !important;font-size:.75rem !important;font-weight:800 !important;text-transform:uppercase !important;letter-spacing:.08em !important;}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card form {display:grid !important;gap:18px !important;}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card form > .row {margin:0 !important;row-gap:18px !important;}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card label {color:#29446f !important;font-weight:700 !important;margin-bottom:7px !important;}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card .form-control {min-height:44px !important;background:#fff !important;color:#17345f !important;border:1px solid #cbd9e8 !important;border-radius:10px !important;}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card > .row > .col-12 > form > #id,
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card > .row > .col-12 > form > #idclien,
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card > .row > .col-12 > form > #estadoan {display:none !important;}
body.siavce-redesign-total.siavce-view-form_editar_cita .edit-appointment-card .btn {min-height:44px !important;padding-inline:22px !important;}

/* Edición de tickets: eliminar la presentación legacy y ocultar metadatos técnicos. */
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-shell {
  width:min(1120px, calc(100vw - 34px)) !important;max-width:calc(100vw - 34px) !important;margin:24px auto 40px !important;
}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card {
  background:#fff !important;border:1px solid #dbe6f2 !important;border-radius:24px !important;
  box-shadow:0 12px 32px rgba(25,72,125,.09) !important;padding:30px !important;
}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-heading {padding-bottom:20px !important;margin-bottom:22px !important;border-bottom:1px solid #e4edf6 !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-heading h1 {margin:0 !important;color:#17345f !important;font-size:clamp(1.55rem,3vw,2.2rem) !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-heading p {margin:7px 0 0 !important;color:#60738f !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-eyebrow {display:block !important;margin-bottom:8px !important;color:#1769d1 !important;font-size:.75rem !important;font-weight:800 !important;text-transform:uppercase !important;letter-spacing:.08em !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card > form {display:grid !important;gap:18px !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card form > .row {margin:0 !important;row-gap:18px !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card label {color:#29446f !important;font-weight:700 !important;margin-bottom:7px !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card .form-control,
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card select {min-height:44px !important;background:#fff !important;color:#17345f !important;border:1px solid #cbd9e8 !important;border-radius:10px !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card textarea {min-height:110px !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card > form > #ide,
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card > form > #correo,
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card > form > #evidenciaa,
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card > form > input[name="tel"] {display:none !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-card a {color:#1769d1 !important;font-weight:700 !important;}
body.siavce-redesign-total.siavce-view-formedt_ticket .edit-ticket-submit .btn {min-height:44px !important;padding-inline:22px !important;}

/* Edición de herramientas: formulario administrativo compacto. */
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-shell {
  width:min(900px, calc(100vw - 34px)) !important;max-width:calc(100vw - 34px) !important;margin:24px auto 40px !important;
}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-card {
  background:#fff !important;border:1px solid #dbe6f2 !important;border-radius:24px !important;
  box-shadow:0 12px 32px rgba(25,72,125,.09) !important;padding:30px !important;display:block !important;
}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-heading {padding-bottom:20px !important;margin-bottom:22px !important;border-bottom:1px solid #e4edf6 !important;}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-heading h1 {margin:0 !important;color:#17345f !important;font-size:clamp(1.6rem,3vw,2.2rem) !important;}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-heading p {margin:7px 0 0 !important;color:#60738f !important;}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-eyebrow {display:block !important;margin-bottom:8px !important;color:#1769d1 !important;font-size:.75rem !important;font-weight:800 !important;text-transform:uppercase !important;letter-spacing:.08em !important;}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-card label {color:#29446f !important;font-weight:700 !important;margin-top:10px !important;}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-card > label {display:block !important;width:100% !important;}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-card .form-control {background:#fff !important;color:#17345f !important;border:1px solid #cbd9e8 !important;border-radius:10px !important;min-height:44px !important;}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-card > .form-control {display:block !important;width:100% !important;margin-bottom:10px !important;}
body.siavce-redesign-total.siavce-view-editar_herramienta .edit-tool-card textarea {min-height:110px !important;}

/* Tutoriales: contenedor claro, imágenes limitadas y estado vacío explícito. */
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-shell {
  width:min(1200px, calc(100vw - 34px)) !important;max-width:calc(100vw - 34px) !important;margin:24px auto 40px !important;
}
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-card {
  background:#fff !important;border:1px solid #dbe6f2 !important;border-radius:24px !important;
  box-shadow:0 12px 32px rgba(25,72,125,.09) !important;padding:28px !important;color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-card h1,
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-card h2,
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-card h3 {color:#17345f !important;}
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-card p,
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-card div {color:#29446f !important;}
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-card img {max-width:100% !important;height:auto !important;border-radius:12px !important;box-shadow:0 6px 18px rgba(25,72,125,.12) !important;}
body.siavce-redesign-total.siavce-view-dashtuto .tutorial-card .table {color:#29446f !important;}

body.siavce-redesign-total.siavce-view-ticket_ver .ticket-detail-empty {
  width:min(1120px, calc(100vw - 34px)) !important;max-width:calc(100vw - 34px) !important;margin:24px auto 40px !important;
}
body.siavce-redesign-total.siavce-view-ticket_ver .ticket-detail-empty-card {
  background:#fff !important;border:1px solid #dbe6f2 !important;border-radius:24px !important;
  box-shadow:0 12px 32px rgba(25,72,125,.09) !important;padding:30px !important;
}
body.siavce-redesign-total.siavce-view-caja_chica .caja-page form .btn,
body.siavce-redesign-total.siavce-view-caja_chica .caja-page button[type="submit"] {
  white-space:nowrap !important;min-width:92px !important;
}
body.siavce-redesign-total.siavce-view-marketing_metas .goal-hero {background:#fff !important;background-image:none !important;}
body.siavce-redesign-total.siavce-view-marketing_metas .goal-kpis {
  display:grid !important;grid-template-columns:repeat(4,minmax(110px,1fr)) !important;gap:18px !important;min-width:0 !important;
}
body.siavce-redesign-total.siavce-view-marketing_metas .goal-kpi {min-width:0 !important;background:#fff !important;border:0 !important;}
body.siavce-redesign-total.siavce-view-marketing_metas .goal-kpi small {white-space:normal !important;line-height:1.15 !important;}
body.siavce-redesign-total.siavce-view-marketing_metas .goal-tab.active {
  background:#1769d1 !important;
  border-color:#1769d1 !important;
  color:#fff !important;
}
@media(max-width:900px){body.siavce-redesign-total.siavce-view-marketing_metas .goal-kpis{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;}}
body.siavce-redesign-total.siavce-view-herramientas .badge-usos {
  display:inline-flex !important;
  align-items:center !important;
  min-height:28px !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  background:#e8f2ff !important;
  color:#1769d1 !important;
  font-weight:800 !important;
}
body.siavce-redesign-total.siavce-view-herramientas .btn-glass {
  color:#1769d1 !important;
  background:#fff !important;
  border:1px solid #c9d9eb !important;
  box-shadow:0 4px 12px rgba(25,72,125,.08) !important;
}
body.siavce-redesign-total.siavce-view-herramientas .btn-glass.text-danger {
  color:#c53b4c !important;
}
/* Herramientas: panel institucional claro, sin la capa glass heredada */
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page .glass-card {
  background:#fff !important;
  background-image:none !important;
  border:1px solid #dbe6f2 !important;
  border-radius:18px !important;
  box-shadow:0 12px 32px rgba(25,72,125,.10) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  overflow:hidden !important;
}
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page .glass-card > .p-4 {
  border-color:#e5edf6 !important;
}
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page h1,
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page p,
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page label,
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page td,
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page th {
  color:#17345f !important;
}
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page p,
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page .opacity-75 {
  color:#60738f !important;
  opacity:1 !important;
}
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page .form-control,
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page .form-select {
  color:#17345f !important;
  background:#fff !important;
  border:1px solid #cbdced !important;
  box-shadow:none !important;
}
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page .form-control::placeholder {color:#7b8da5 !important;}
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page .btn-success {
  background:#1769d1 !important;
  border-color:#1769d1 !important;
  color:#fff !important;
  box-shadow:0 6px 14px rgba(23,105,209,.20) !important;
}
body.siavce-redesign-total.siavce-view-herramientas .herramientas-page .btn-outline-light {
  color:#1769d1 !important;
  background:#fff !important;
  border-color:#b9cde3 !important;
}
body.siavce-redesign-total.siavce-view-herramientas .table-responsive-custom {background:#fff !important;}
body.siavce-redesign-total.siavce-view-herramientas .table-custom {
  --bs-table-bg:#fff !important;
  --bs-table-color:#17345f !important;
  --bs-table-striped-bg:#fff !important;
  --bs-table-hover-bg:#f7fbff !important;
  background:#fff !important;
}
body.siavce-redesign-total.siavce-view-herramientas .table-custom thead th {
  background:#f3f7fc !important;
  color:#4b6482 !important;
  border-bottom:1px solid #dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-herramientas .table-custom tbody tr {
  background:#fff !important;
  border-bottom:1px solid #e5edf6 !important;
}
body.siavce-redesign-total.siavce-view-herramientas .table-custom tbody tr:hover {background:#f7fbff !important;}
body.siavce-redesign-total.siavce-view-herramientas .badge.bg-secondary {
  background:#e8f2ff !important;
  color:#1769d1 !important;
}
body.siavce-redesign-total.siavce-view-herramientas .btn-acceder {
  background:#1769d1 !important;
  border-color:#1769d1 !important;
  color:#fff !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid {
  grid-template-columns:1fr !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-column #previewGrid > .social-preview-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-column #previewGrid > .social-preview-card .preview-shell,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-column #previewGrid > .social-preview-card .preview-shell-feed {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-column #previewGrid .preview-panel {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  overflow:hidden !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-column #previewGrid .preview-layout {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  justify-content:stretch !important;
  width:100% !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-column {
  grid-column:1 / -1 !important;
  grid-row:auto !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-rail {
  position:static !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-column #previewGrid {
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr)) !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-stepper span.is-active,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-stepper b,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .step-label > span {
  background:#1769d1 !important;
  background-image:none !important;
  color:#fff !important;
}

/* Ajustes: evitar que el encabezado conserve los anchos mínimos del tema legacy. */
body.siavce-redesign-total.siavce-view-ajustesuser .settings-shell {
  width: min(1500px, calc(100vw - 34px)) !important;
  max-width: calc(100vw - 34px) !important;
  overflow: hidden !important;
}
body.siavce-redesign-total.siavce-view-ajustesuser .settings-header {
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr) !important;
  min-width: 0 !important;
}
body.siavce-redesign-total.siavce-view-ajustesuser .settings-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  min-width: 0 !important;
}
body.siavce-redesign-total.siavce-view-ajustesuser .settings-kpi {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
body.siavce-redesign-total.siavce-view-ajustesuser .ajustes-main-card,
body.siavce-redesign-total.siavce-view-ajustesuser .settings-main-title,
body.siavce-redesign-total.siavce-view-ajustesuser .settings-tabs-shell {
  min-width: 0 !important;
  max-width: 100% !important;
}
@media (max-width: 900px) {
  body.siavce-redesign-total.siavce-view-ajustesuser .settings-header {grid-template-columns: 1fr !important;}
}
body.siavce-redesign-total:not(.siavce-view-index) :where(.support-dashboard .support-hero,.support-dashboard .glass-card,.support-dashboard .metric-link,.support-dashboard .metric-label,.support-dashboard .metric-hint,.support-dashboard .panel-title-row) {color:#29446f !important;}
body.siavce-redesign-total:not(.siavce-view-index) .support-dashboard .support-hero {background:#f8fbff !important;border:1px solid #dbe6f2 !important;box-shadow:0 8px 24px rgba(25,72,125,.07) !important;}
body.siavce-redesign-total:not(.siavce-view-index) .support-dashboard .glass-card {background:#fff !important;border-color:#dbe6f2 !important;}
body.siavce-redesign-total:not(.siavce-view-index) .support-dashboard :where(.metric-label,.metric-hint) {color:#60738f !important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-shell {
  background:#fff !important;color:#29446f !important;border:1px solid #dbe6f2 !important;box-shadow:0 8px 24px rgba(25,72,125,.07) !important;backdrop-filter:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page :where(.chat-sidebar,.chat-main,.chat-main__header,.chat-sidebar__header,.chat-help) {color:#29446f !important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-sidebar {border-color:#dbe6f2 !important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-sidebar .input-group {display:flex!important;height:auto!important;align-items:stretch!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-sidebar .input-group .form-select {height:44px!important;min-height:44px!important;flex:1 1 auto!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-sidebar .input-group .btn {height:44px!important;flex:0 0 auto!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page [data-chat-refresh] {white-space:nowrap!important;min-width:78px!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-status {background:#e8f7ef!important;color:#16804b!important;border:1px solid #b9e7ce!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-room {background:#f8fbff!important;color:#29446f!important;border-color:#dbe6f2!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-message {background:#f1f6fb!important;color:#29446f!important;border:1px solid #dbe6f2!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-message.mine {background:#dbeafe!important;color:#17345f!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-compose {background:#f8fbff!important;border-color:#dbe6f2!important;backdrop-filter:none!important;}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-status,
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-help,
body.siavce-redesign-total:not(.siavce-view-index) .siavce-internal-chat-page .chat-message__meta {color:#60738f!important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.bulk-bar,.products-view-toggle,.product-panel,.products-panel) {color:#29446f !important;}
body.siavce-redesign-total:not(.siavce-view-index) :where(.bulk-bar,.products-view-toggle) :where(strong,small,label,span) {color:#29446f !important;}

/* Formularios sencillos de inventario: cada campo debe conservar su pareja
   etiqueta/entrada y ocupar el ancho disponible, sin la grilla legacy. */
body.siavce-redesign-total:not(.siavce-view-index) :where(form.mod-card) {
  display:block !important;
  width:100% !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(form.mod-card > .form-label,form.mod-card > .form-control,form.mod-card > .form-select,form.mod-card > textarea,form.mod-card > button) {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  float:none !important;
  clear:both !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(form.mod-card > .form-label) {
  margin-top:.75rem !important;
  margin-bottom:.35rem !important;
}
body.siavce-redesign-total:not(.siavce-view-index) :where(form.mod-card > h4 + .form-label) { margin-top:0 !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(form.mod-card > button) { margin-top:.35rem !important; }

/* El listado de citas comparte el fondo institucional; no conservar el azul
   de la plantilla legacy alrededor de la tabla. */
body.siavce-redesign-total:not(.siavce-view-index) .listado-container {
  background:#f8fbff !important;
  color:#29446f !important;
  border:0 !important;
  box-shadow:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .listado-container .siavce-panel-card {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}

/* Avisos y ayuda todavía cargan una hoja legacy con gradiente azul/glass. */
body.siavce-redesign-total:not(.siavce-view-index) .avisos-page,
body.siavce-redesign-total:not(.siavce-view-index) .ayuda-page {
  background:#f4f8fc !important;
  color:#29446f !important;
  min-height:calc(100vh - 72px) !important;
  padding:28px 20px !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .avisos-page .glass-card,
body.siavce-redesign-total:not(.siavce-view-index) .ayuda-page .glass-card {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
  backdrop-filter:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ayuda-page .sidebar-btn {
  display:flex !important;
  align-items:center !important;
  width:100% !important;
  min-height:44px !important;
  margin:6px 0 !important;
  padding:10px 12px !important;
  border:1px solid #dbe6f2 !important;
  border-radius:10px !important;
  background:#f8fbff !important;
  color:#29446f !important;
  text-align:left !important;
  box-shadow:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ayuda-page .sidebar-btn:hover,
body.siavce-redesign-total:not(.siavce-view-index) .ayuda-page .sidebar-btn.active {
  background:#eaf2ff !important;
  border-color:#bcd6f5 !important;
  color:#1769d1 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ayuda-page .sidebar-btn i { color:inherit !important; margin-right:8px !important; }
body.siavce-redesign-total:not(.siavce-view-index) .ayuda-page :where(.form-select,.form-control) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#cbd9e8 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .ayuda-page .mov-card img {
  display:block !important;
  width:56px !important;
  height:56px !important;
  max-width:56px !important;
  max-height:56px !important;
  object-fit:contain !important;
  border-radius:14px !important;
  border:1px solid #dbe6f2 !important;
  background:#f8fbff !important;
  padding:6px !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .avisos-page :where(.nav-pills .nav-link) {
  color:#29446f !important;
  background:#f1f6fb !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:none !important;
  transform:none !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .avisos-page :where(.nav-pills .nav-link:hover,.nav-pills .nav-link.active) {
  color:#1769d1 !important;
  background:#eaf2ff !important;
  border-color:#bcd6f5 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .avisos-page :where(.aviso-card) {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  border-left:4px solid #159b62 !important;
  box-shadow:0 5px 16px rgba(25,72,125,.06) !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .avisos-page :where(.aviso-no-leido) {
  background:#fff8f8 !important;
  border-left-color:#dc3545 !important;
}

/* Imagen explicativa de permisos en Usuarios: nunca debe deformar el
   formulario ni desbordar su contenedor. */
body.siavce-redesign-total:not(.siavce-view-index) :where(img[src*="Permisos%20Usuarios"],img[src*="Permisos Usuarios"]) {
  display:block !important;
  width:100% !important;
  max-width:820px !important;
  height:auto !important;
  max-height:360px !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:1rem auto !important;
  border:1px solid #dbe6f2 !important;
  border-radius:12px !important;
  background:#f8fbff !important;
}

/* Panel avanzado: eliminar el último fondo oscuro y recuperar contraste en
   los textos auxiliares, chips y tarjetas de resultados. */
body.siavce-redesign-total.siavce-view-mipanel2 {
  background:#f4f8fc !important;
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-mipanel2::before { display:none !important; }
body.siavce-redesign-total.siavce-view-mipanel2 :where(.panel2-card,.panel2-hero) {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-mipanel2 :where(.panel2-title,.panel2-sub,.panel2-hero-pill,.panel2-hero-note,.panel2-card-head,.panel2-card-head h3,.panel2-card-head p,.panel2-card .chip,.panel2-card .tiny,.panel2-card .stat-top,.panel2-card .stat-card,.panel2-card .chart-box) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-mipanel2 :where(.panel2-hero-pill,.panel2-card .chip) {
  background:#eaf2ff !important;
  border-color:#cbdff7 !important;
}
body.siavce-redesign-total.siavce-view-mipanel2 :where(.panel2-card .btn-outline-light) {
  color:#29446f !important;
  border-color:#cbd9e8 !important;
  background:#fff !important;
}
body.siavce-redesign-total.siavce-view-mipanel2 .stat-card,
body.siavce-redesign-total.siavce-view-mipanel2 .stat-card .stat-top,
body.siavce-redesign-total.siavce-view-mipanel2 .stat-card strong {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-mipanel2 .stat-card {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 20px rgba(25,72,125,.06) !important;
}
body.siavce-redesign-total.siavce-view-mipanel2 .chart-box,
body.siavce-redesign-total.siavce-view-mipanel2 .chart {
  background:#fff !important;
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-mipanel2 .chart-box svg text {
  fill:#29446f !important;
}

/* Perfil: fallback visual cuando la portada/foto configurada no existe o
   devuelve una ruta antigua. */
body.siavce-redesign-total.siavce-view-yo .profile-header {
  height:280px !important;
  min-height:280px !important;
  background:#eaf2ff url('/recursos/img/empresa/logo/sacodi-demo.png') center/180px auto no-repeat !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-yo .cover-photo {
  background:#eaf2ff !important;
  color:transparent !important;
  visibility:hidden !important;
}
body.siavce-redesign-total.siavce-view-yo .profile-picture {
  background:#fff url('/recursos/img/empresa/logo/sacodi-demo.png') center/contain no-repeat !important;
  border:4px solid #fff !important;
  box-shadow:0 8px 20px rgba(25,72,125,.14) !important;
}
body.siavce-redesign-total.siavce-view-yo .card-glass,
body.siavce-redesign-total.siavce-view-yo .yo-card {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-yo .yo-card :where(h2,h4,h5,h6,strong,p,span,a) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-yo .yo-card p { color:#60738f !important; }
body.siavce-redesign-total.siavce-view-yo .yo-card .btn-outline-light {
  color:#1769d1 !important;
  background:#fff !important;
  border-color:#cbd9e8 !important;
}
body.siavce-redesign-total.siavce-view-yo .yo-card .btn-primary {
  color:#fff !important;
  background:#1769d1 !important;
  border-color:#1769d1 !important;
}
body.siavce-redesign-total.siavce-view-yo .yo-card .text-white { color:#29446f !important; }

/* Confirmación de acciones sensibles: elimina el aspecto glass oscuro heredado. */
body.siavce-redesign-total.siavce-view-seguridad_confirmar .glass-card,
body.siavce-redesign-total.siavce-view-seguridad_confirmar .siavce-card {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-seguridad_confirmar .glass-card :where(h1,h2,h3,h4,h5,h6,p,label,span) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-seguridad_confirmar .glass-card p { color:#60738f !important; }
body.siavce-redesign-total.siavce-view-seguridad_confirmar .btn-outline-light {
  background:#fff !important;
  color:#1769d1 !important;
  border-color:#cbd9e8 !important;
}

/* Portal público de tickets, incluido el estado de liga inválida. */
body.support-ticket-public {
  min-height:100vh !important;
  background:#f4f8fc !important;
  color:#29446f !important;
}
body.support-ticket-public :where(.portal-card,.glass-panel,.ticket-wrap,.form-side,.hero-side,.client-card) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 12px 32px rgba(25,72,125,.08) !important;
}
body.support-ticket-public :where(h1,h2,h3,h4,h5,h6,strong,label,.section-title,.hero-title,.client-value) { color:#17345f !important; }
body.support-ticket-public :where(p,.section-subtitle,.hero-text,.hint,.secure-note,.client-label,.text-white-50) { color:#60738f !important; }
body.support-ticket-public :where(.form-control,.form-select) { background:#fff !important; color:#17345f !important; border-color:#cbd9e8 !important; }
body.support-ticket-public .btn-submit { background:#1769d1 !important; color:#fff !important; border-color:#1769d1 !important; }
html:has(body.store-public-page),
html:has(body.support-ticket-public) {
  background:#f4f8fc !important;
}
body.siavce-public-screen .siavce-access-logo {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 20px rgba(25,72,125,.10) !important;
  overflow:hidden;
}
body.siavce-public-screen .siavce-access-logo img {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:10px;
  box-sizing:border-box;
}
body.siavce-view-default {
  background:#f4f8fc !important;
  color:#29446f !important;
}
body.siavce-view-default .siavce-access-card {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 18px 45px rgba(25,72,125,.12) !important;
  color:#29446f !important;
}
body.siavce-view-default .siavce-access-card :where(h1,h2,h3,p) { color:#17345f !important; }
body.siavce-view-default .siavce-access-card p { color:#60738f !important; }

/* Onboarding de alta de empresa: reemplaza la piel oscura heredada. */
body.siavce-view-cre-emp-log {
  background:#f4f8fc !important;
  color:#29446f !important;
}
body.siavce-view-cre-emp-log :where(.shell,.hero.glass,.section-card.glass,.card-soft,.feature,.progress-step) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 10px 28px rgba(25,72,125,.07) !important;
}
body.siavce-view-cre-emp-log :where(h1,h2,h3,h4,h5,h6,strong,label,.status-badge,.eyebrow) { color:#17345f !important; }
body.siavce-view-cre-emp-log :where(p,.section-copy,.label-soft,.hint) { color:#60738f !important; opacity:1 !important; }
body.siavce-view-cre-emp-log .card-soft p,
body.siavce-view-cre-emp-log .feature p,
body.siavce-view-cre-emp-log .progress-step p,
body.siavce-view-cre-emp-log .hero-grid > div > p,
body.siavce-view-cre-emp-log .section-card p {
  color:#60738f !important;
  opacity:1 !important;
}
body.siavce-view-cre-emp-log :where(.form-control,.form-select,textarea,input) {
  background:#fff !important;
  color:#17345f !important;
  border-color:#cbd9e8 !important;
}
body.siavce-view-cre-emp-log :where(.progress-step.active,.progress-step.done) { border-color:#1769d1 !important; background:#f8fbff !important; }
body.siavce-view-cre-emp-log .btn-primary { background:#1769d1 !important; border-color:#1769d1 !important; color:#fff !important; }

/* Superficies públicas de Tienda, incluido el estado 404. */
body.store-public-page {
  background:#f4f8fc !important;
  color:#29446f !important;
}
body.store-public-page .empty,
body.store-public-page .empty h1,
body.store-public-page .empty p {
  color:#29446f !important;
}
body.store-public-page .empty p { color:#60738f !important; }

/* Alta de ticket: la plantilla del portal público también se usa dentro del
   panel y debe respetar el tema claro compartido. */
body.siavce-redesign-total.siavce-view-ticket_formulario .soli-card {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-formulario_solici .soli-card {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-formulario_solici .soli-card :where(h1,p,.form-label,strong) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .soli-card p { color:#60738f !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .soli-pill { background:#e5f7ef !important; border-color:#bde8d0 !important; color:#137b4c !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .soli-card :where(.form-control,.form-select) { background:#fff !important; color:#183153 !important; border-color:#cbd9e8 !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .soli-preview { background:#f8fbff !important; border-color:#cbd9e8 !important; color:#60738f !important; }
body.siavce-redesign-total.siavce-view-formulario_solici #previewImage[src=""] { display:none !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .btn-outline-light { color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .soli-card > form { display:block !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .soli-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:16px !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .soli-grid > div { min-width:0 !important; }
body.siavce-redesign-total.siavce-view-formulario_solici .soli-grid :where(.form-control,.form-select) { width:100% !important; min-width:0 !important; }

body.siavce-redesign-total.siavce-view-formulario_agregar_cita :where(.cita-page,.cita-page .glass-card,.cita-page .cita-header) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-formulario_agregar_cita :where(h1,h2,h3,h4,p,label,.form-label,.cita-page .cita-header *) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-formulario_agregar_cita :where(.btn-outline-light,.btn-glass) { color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important; }
body.siavce-redesign-total.siavce-view-soporte_control_ti .container-fluid > .d-flex {
  flex-wrap:wrap !important;
  gap:12px !important;
}
body.siavce-redesign-total.siavce-view-soporte_control_ti .container-fluid > .d-flex > :last-child {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
}
body.siavce-redesign-total.siavce-view-soporte_control_ti .container-fluid > .d-flex .btn {
  white-space:nowrap !important;
  min-width:110px !important;
}
body.siavce-redesign-total.siavce-view-dashboard_cliente :where(.cliente-sub,.cliente-note,.cliente-hero small,.cliente-hero .text-white-50) {
  color:#60738f !important;
}
body.siavce-redesign-total.siavce-view-dashboard_cliente :where(.cliente-hero,.cliente-bottom-section,.cliente-hero .glass-card) {
  color:#29446f !important;
}

/* Caja Chica: página y modal inicial deben seguir el tema claro, conservando
   únicamente los estados semánticos de los botones. */
body.siavce-redesign-total.siavce-view-caja_chica .caja-page {
  background:#f4f8fc !important;
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-caja_chica .caja-page :where(h1,h2,h3,h4,h5,h6,p,label,.summary-title,th,td) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-caja_chica .caja-page :where(.card,.glass-card,.summary-card,.table-responsive) {
  background:#fff !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-caja_chica .modal.show { background:rgba(24,49,83,.18) !important; }
body.siavce-redesign-total.siavce-view-caja_chica .modal-content,
body.siavce-redesign-total.siavce-view-caja_chica .modal-glass .modal-content {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 18px 50px rgba(25,72,125,.18) !important;
}
body.siavce-redesign-total.siavce-view-caja_chica .modal :where(h1,h2,h3,h4,h5,h6,p,label,.form-label) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-caja_chica .modal :where(input,select,textarea) { background:#fff !important; color:#183153 !important; border-color:#cbd9e8 !important; }

/* Envíos: sustituir los restos de glass oscuro de métricas y tarjetas. */
body.siavce-redesign-total.siavce-view-envios :where(.shipping-page,.ship-card,.ship-metric,.ship-item,.ship-subscribe-item,.ship-timeline-item,.ship-header-band) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-envios :where(h1,h2,h3,h4,h5,h6,p,small,label,.ship-card *, .ship-metric *) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-envios :where(.ship-muted,.opacity-75) { color:#60738f !important; opacity:1 !important; }
body.siavce-redesign-total.siavce-view-envios :where(.ship-inline-link,.btn-outline-light) { color:#1769d1 !important; background:#eaf2ff !important; border-color:#cbdff7 !important; }

/* Documentos de venta/compra: encabezados de sección claros y consistentes. */
body.siavce-redesign-total :where(.doc-card) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total :where(.doc-section-title) {
  background:#eaf2ff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
}
body.siavce-redesign-total :where(.doc-section-title,.doc-section-title *) { color:#29446f !important; }

body.siavce-redesign-total :where(.partida-row) {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  border-radius:12px !important;
  box-shadow:0 4px 14px rgba(25,72,125,.05) !important;
}
body.siavce-redesign-total :where(.partida-row label,.partida-row .form-label) { color:#29446f !important; }

body.siavce-redesign-total :where(.control-field) {
  background:#f4f8fc !important;
  color:#60738f !important;
  border:1px solid #dbe6f2 !important;
}

body.siavce-redesign-total.siavce-view-ticket_reporte .ticket-detail-hero,
body.siavce-redesign-total.siavce-view-ticket_reporte .support-progress-card,
body.siavce-redesign-total.siavce-view-ticket_reporte .ticket-detail-hero + .row .support-progress-card {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-ticket_reporte :where(.ticket-detail-title,.ticket-detail-subtitle,.support-progress-head,.support-progress-head span,.support-progress-sub) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-ticket_reporte .ticket-detail-subtitle,
body.siavce-redesign-total.siavce-view-ticket_reporte .support-progress-sub { color:#60738f !important; }
body.siavce-redesign-total.siavce-view-ticket_reporte .btn-outline-light { color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important; }
body.siavce-redesign-total.siavce-view-soporte_reporte_diario :where(.ticket-detail-hero,.support-progress-card,.support-progress-head,.support-progress-head span,.support-progress-sub) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-soporte_reporte_diario :where(.support-progress-card) {
  background:#fff !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-soporte_reporte_diario .support-progress-sub { color:#60738f !important; }
body.siavce-redesign-total.siavce-view-soporte_reporte_diario .ticket-detail-hero {
  background:#fff !important;
  background-image:none !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-soporte_reporte_diario .ticket-detail-hero :where(.ticket-detail-title,.ticket-detail-subtitle) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-ticket_ver .ticket-detail-hero {
  background:#fff !important;
  background-image:none !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-ticket_ver .ticket-detail-hero :where(.ticket-detail-title,.ticket-detail-subtitle) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-ticket_ver .ticket-detail-hero .btn-outline-light { color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important; }
body.siavce-redesign-total.siavce-view-form_ag_producto,
body.siavce-redesign-total.siavce-view-form_ag_producto #siavceAppMain {
  background:#f4f8fc !important;
}
body.siavce-redesign-total.siavce-view-form_ag_producto .product-shell {
  background:#f4f8fc !important;
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-form_ag_producto .product-panel {
  background:#fff !important;
  background-image:none !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 10px 28px rgba(25,72,125,.08) !important;
}
body.siavce-redesign-total.siavce-view-form_ag_producto .product-panel :where(h1,h2,h3,h4,h5,h6,label,.form-label,p) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-form_ag_producto .product-panel :where(.form-control,.form-select) { background:#fff !important; color:#17345f !important; border-color:#cbd9e8 !important; }

/* Seguimiento público de envíos, incluido el estado sin código. */
body.shipment-tracking-page {
  background:#f4f8fc !important;
  color:#29446f !important;
}
body.shipment-tracking-page :where(.wrap,.card,.hero,.subcard) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
}
body.shipment-tracking-page :where(h1,h2,h3,h4,h5,h6,p,strong,small,.muted) { color:#29446f !important; }
body.shipment-tracking-page .muted { color:#60738f !important; }
body.shipment-tracking-page .brand img { width:150px !important; height:64px !important; object-fit:contain !important; background:#fff !important; border-radius:10px !important; }
body.shipment-tracking-page .btn-primary { background:#1769d1 !important; color:#fff !important; border-color:#1769d1 !important; }
body.siavce-redesign-total.siavce-view-ticket_formulario .soli-card :where(h1,p,.form-label,strong) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-ticket_formulario .soli-card p { color:#60738f !important; }
body.siavce-redesign-total.siavce-view-ticket_formulario .ticket-hero {
  background:#ffffff !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 10px 28px rgba(25,72,125,.08) !important;
}
body.siavce-redesign-total.siavce-view-ticket_formulario .ticket-hero :where(.ticket-title,.ticket-subtitle,.progress-flow,.progress-step,.progress-step strong,.progress-step span) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-ticket_formulario .ticket-hero .progress-step {
  background:#f4f8fc !important;
  border:1px solid #dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-tickets_lista .ticket-hero {
  background:#ffffff !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 10px 28px rgba(25,72,125,.08) !important;
}
body.siavce-redesign-total.siavce-view-tickets_lista .ticket-hero :where(.ticket-title,.ticket-subtitle) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-tickets_lista :where(.glass-card,.filter-card,.table-card) {
  background:#ffffff !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 22px rgba(25,72,125,.06) !important;
}
body.siavce-redesign-total.siavce-view-tickets_lista :where(.metric-label,.metric-value,.metric-hint,.filter-card strong,.filter-card .metric-hint) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-tickets_lista .filter-btn { color:#29446f !important; border-color:#cbd9e8 !important; background:#fff !important; }
body.siavce-redesign-total.siavce-view-tickets_lista .filter-btn.active-filter { color:#fff !important; background:#1769d1 !important; border-color:#1769d1 !important; }
body.siavce-redesign-total.siavce-view-tienda_admin :where(.store-step,.store-step strong,.store-step small) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-tienda_admin .store-step {
  background:#f4f8fc !important;
  border:1px solid #dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-tienda_admin :where(.store-hero,.store-config-card,.store-publish-card) {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-tienda_admin .store-config-eyebrow {
  display:inline-flex !important;
  align-items:center !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  background:#e8f2ff !important;
  color:#1769d1 !important;
  font-weight:800 !important;
  letter-spacing:.02em !important;
}
body.siavce-redesign-total.siavce-view-tienda_admin .store-config-modal .text-white-50 {
  color:#5d7391 !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion .layout-store {
  background:#ffffff !important;
  border:1px solid #dbe6f2 !important;
  border-radius:24px !important;
  box-shadow:0 10px 28px rgba(25,72,125,.07) !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion #tabsTiendaSimple {
  background:#f4f8fc !important;
  border:1px solid #dbe6f2 !important;
  border-radius:16px !important;
  padding:6px !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion #tabsTiendaSimple .nav-link {
  color:#29446f !important;
  background:transparent !important;
  border-radius:10px !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion #tabsTiendaSimple .nav-link.active {
  color:#fff !important;
  background:#1769d1 !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion :where(.tab-pane,.form-label,.form-text,label,strong) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-tienda_personalizacion :where(.tab-pane,.live-preview-card,.preview-card) { background:#fff !important; }
body.siavce-redesign-total.siavce-view-tienda_personalizacion .layout-store > .glass-block:first-child > form {
  display:block !important;
  width:100% !important;
  min-width:0 !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion #tabsTiendaSimple,
body.siavce-redesign-total.siavce-view-tienda_personalizacion .tab-content {
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion .tab-content .row {
  margin-left:0 !important;
  margin-right:0 !important;
}
body.store-public-page :where(.bar h2,.bar p,.card-body,.card-body .name,.card-body .muted,.card-body .description,.card-body .sku,.card-body .price) {
  color:#29446f !important;
}
body.store-public-page .bar .badge { background:#eaf2ff !important; color:#1769d1 !important; border:1px solid #cfe0f7 !important; }
body.store-public-page .card-body { background:#fff !important; }
body.store-public-page .card-body .btn-soft { color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important; }
body.store-product-page {
  background:#f4f8fc !important;
  color:#29446f !important;
  font-family:Manrope, "Segoe UI", Arial, sans-serif !important;
}
body.store-product-page :where(.wrap,.product-store-profile,.gallery,.info,.detail-card) {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  border-radius:20px !important;
  box-shadow:0 10px 28px rgba(25,72,125,.07) !important;
}
body.store-product-page .wrap { padding:24px !important; }
body.store-product-page .product-store-profile { display:flex !important; align-items:center !important; gap:16px !important; padding:18px !important; margin-bottom:20px !important; }
body.store-product-page .product-store-profile img { width:64px !important; height:64px !important; object-fit:contain !important; border-radius:14px !important; }
body.store-product-page :where(.product-store-profile h2,.product-store-profile p,.info h1,.info p,.info .description,.info small,.info strong,.crumb,.selector-help) { color:#29446f !important; }
body.store-product-page .gallery, body.store-product-page .info { padding:18px !important; }
body.store-product-page .zoom-box { background:#f4f8fc !important; border:1px solid #dbe6f2 !important; border-radius:16px !important; overflow:hidden !important; }
body.store-product-page .zoom-img { width:100% !important; max-height:520px !important; object-fit:contain !important; }
body.store-product-page :where(.profile-chip,.label,.meta > div,.variant-item,.variant-combo) { background:#f4f8fc !important; color:#29446f !important; border:1px solid #dbe6f2 !important; }
body.store-product-page .info .meta {
  display:grid !important;
  gap:6px !important;
  margin:12px 0 18px !important;
}
body.store-product-page .info .meta > div {
  display:flex !important;
  align-items:baseline !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding:7px 10px !important;
  border-radius:8px !important;
}
body.store-product-page .info .meta small {
  flex:0 0 auto !important;
  font-weight:700 !important;
  color:#60738f !important;
}
body.store-product-page .info .meta strong {
  min-width:0 !important;
  text-align:right !important;
  overflow-wrap:anywhere !important;
}
body.store-product-page :where(.selector input,.selector select) { width:100% !important; background:#fff !important; color:#29446f !important; border:1px solid #cbd9e8 !important; border-radius:10px !important; padding:10px 12px !important; }
body.store-product-page .variant-combo { display:flex !important; justify-content:space-between !important; gap:12px !important; width:100% !important; padding:11px 13px !important; border-radius:12px !important; margin-top:8px !important; }
body.store-product-page .variant-combo small { color:#60738f !important; }
body.store-product-page .btn-soft { color:#29446f !important; background:#fff !important; border:1px solid #cbd9e8 !important; }
body.store-product-page .gallery,
body.store-product-page .info,
body.store-product-page .product-store-profile {
  background:#fff !important;
  color:#29446f !important;
}
body.store-product-page .info h1,
body.store-product-page .info h2,
body.store-product-page .info p,
body.store-product-page .info .description,
body.store-product-page .info .crumb,
body.store-product-page .info .selector-help,
body.store-product-page .info .meta small,
body.store-product-page .info .meta strong {
  color:#29446f !important;
}
body.store-cart-page,
body.store-checkout-page {
  background:#f4f8fc !important;
  color:#29446f !important;
  font-family:Manrope, "Segoe UI", Arial, sans-serif !important;
}
body.store-cart-page .wrap,
body.store-checkout-page .wrap,
body.store-cart-page .panel,
body.store-checkout-page .panel {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  border-radius:20px !important;
  box-shadow:0 10px 28px rgba(25,72,125,.07) !important;
}
body.store-cart-page :where(h1,h2,h3,p,span,strong,label,.muted),
body.store-checkout-page :where(h1,h2,h3,p,span,strong,label,.muted) { color:#29446f !important; }
body.store-cart-page .btn-soft,
body.store-checkout-page .btn-soft { color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important; }
body.store-cart-page .btn-main,
body.store-checkout-page .btn-main { color:#fff !important; background:#1769d1 !important; border-color:#1769d1 !important; }
body.store-cart-page .btn-main:hover,
body.store-checkout-page .btn-main:hover { color:#fff !important; background:#1258ae !important; border-color:#1258ae !important; }
body.store-legal-page {
  background:#f4f8fc !important;
  color:#29446f !important;
  font-family:Manrope, "Segoe UI", Arial, sans-serif !important;
}
body.store-legal-page .wrap { background:#f4f8fc !important; }
body.store-legal-page .card,
body.store-legal-page .summary,
body.store-legal-page .notice {
  background:#fff !important;
  color:#29446f !important;
  border:1px solid #dbe6f2 !important;
  padding:18px !important;
  line-height:1.6 !important;
  box-shadow:0 8px 22px rgba(25,72,125,.06) !important;
}
body.store-legal-page .btn-main { background:#1769d1 !important; color:#fff !important; border-color:#1769d1 !important; }
body.store-legal-page .card :where(h2,p,strong,li,div) { color:#29446f !important; }
body.store-legal-page .hero :where(.eyebrow,h1,p,strong) { color:#fff !important; }
body.store-legal-page .btn-soft { color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important; }
body.siavce-redesign-total.siavce-view-ajustes_conexiones :where(.conn-card,.mini-item,.mini-list) {
  background:#fff !important;
  color:#29446f !important;
  border-color:#dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-ajustes_conexiones :where(.conn-card,.mini-item,.mini-list) :where(h1,h2,h3,h4,h5,p,span,strong,small,label,.text-white-50) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-creditos #siavceAppMain,
body.siavce-redesign-total.siavce-view-creditos #siavceAppMain > .row,
body.siavce-redesign-total.siavce-view-creditos #siavceAppMain > .row > .col-12 {
  background:#fff !important;
  color:#29446f !important;
  border-radius:18px !important;
}
body.siavce-redesign-total.siavce-view-creditos #siavceAppMain :where(h1,h2,h3,p,div,span) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-creditos #siavceAppMain a { color:#1769d1 !important; }
body.siavce-redesign-total.siavce-view-dash_jur #siavceAppMain {
  background:#fff !important;
  color:#29446f !important;
  border-radius:18px !important;
  padding:18px !important;
}
body.siavce-redesign-total.siavce-view-dash_jur #siavceAppMain :where(p,span,strong,h1,h2,h3,h4,label,td,th) { color:#29446f !important; }
body.siavce-redesign-total.siavce-view-dash_jur #siavceAppMain :where(.form-control,select,textarea,input) { background:#fff !important; color:#29446f !important; border-color:#cbd9e8 !important; }
body.siavce-redesign-total.siavce-view-dash_jur #siavceAppMain table { background:#fff !important; border-color:#dbe6f2 !important; }
body.siavce-redesign-total.siavce-view-sabanajur #adreg form > .row {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
  margin:0 !important;
}
body.siavce-redesign-total.siavce-view-sabanajur #adreg form > .row > .col-4 {
  width:auto !important;
  max-width:none !important;
  flex:none !important;
  padding:0 !important;
}
body.siavce-redesign-total.siavce-view-sabanajur #adreg form .form-group { margin-top:0 !important; }
body.siavce-redesign-total.siavce-view-sabanajur #clie { overflow-x:auto !important; }
body.siavce-redesign-total.siavce-view-sabanajur #siavceAppMain {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:hidden !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-sabanajur #adreg,
body.siavce-redesign-total.siavce-view-sabanajur #adreg form {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-sabanajur #siavceAppMain > .row,
body.siavce-redesign-total.siavce-view-sabanajur #siavceAppMain > .row > .col-12 {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-sabanajur #siavceAppMain > .row > .col-12 > form.container-fluid {
  color:#29446f !important;
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  border-radius:14px !important;
  padding:14px 16px !important;
  margin:18px 0 !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-sabanajur #siavceAppMain > .row > .col-12 > form.container-fluid :where(label,input[type="checkbox"] + *) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-sabanajur #siavceAppMain > .row > .col-12 > form.container-fluid :where(#idusuario,#barranav,#colbarranav,#tipodeusuario,#ajustestipo) {
  display:none !important;
}
body.siavce-redesign-total.siavce-view-formulario_edtjur #siavceAppMain > .row,
body.siavce-redesign-total.siavce-view-formulario_edtjur #siavceAppMain > .row > .col-12,
body.siavce-redesign-total.siavce-view-formulario_edtjur #siavceAppMain > .row > form {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.siavce-redesign-total.siavce-view-formulario_edtjur #siavceAppMain > .row {
  display:block !important;
}
body.siavce-redesign-total.siavce-view-formulario_edtjur #siavceAppMain > .row > form > .row {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
  margin:0 !important;
}
body.siavce-redesign-total.siavce-view-formulario_edtjur #siavceAppMain > .row > form > .row > .col-4 {
  width:auto !important;
  max-width:none !important;
  flex:none !important;
  padding:0 !important;
}
@media (max-width:900px){
  body.siavce-redesign-total.siavce-view-formulario_edtjur #siavceAppMain > .row > form > .row { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:600px){
  body.siavce-redesign-total.siavce-view-formulario_edtjur #siavceAppMain > .row > form > .row { grid-template-columns:1fr !important; }
}
@media (max-width:900px){
  body.siavce-redesign-total.siavce-view-sabanajur #adreg form > .row { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:600px){
  body.siavce-redesign-total.siavce-view-sabanajur #adreg form > .row { grid-template-columns:1fr !important; }
}
body.siavce-redesign-total.siavce-view-ticket_formulario .soli-pill { background:#e5f7ef !important; border-color:#bde8d0 !important; color:#137b4c !important; }
body.siavce-redesign-total.siavce-view-ticket_formulario .soli-card :where(.form-control,.form-select) {
  background:#fff !important; color:#183153 !important; border-color:#cbd9e8 !important;
}
body.siavce-redesign-total.siavce-view-ticket_formulario .soli-preview {
  background:#f8fbff !important; border-color:#cbd9e8 !important; color:#60738f !important;
}
body.siavce-redesign-total.siavce-view-ticket_formulario #previewImage[src=""] { display:none !important; }
body.siavce-redesign-total.siavce-view-ticket_formulario .btn-outline-light { color:#29446f !important; background:#fff !important; border-color:#cbd9e8 !important; }

/* Public flow cleanup: login, startup, 2FA and logout must share the same light layout. */
body.siavce-view-index.siavce-login-v7 :where(.siavce-login-v7-titleblock p,.siavce-login-v7-feature span,.siavce-login-v7-feature strong,.siavce-login-v7-modules article span,.siavce-login-v7-modules article strong,.siavce-login-v7-card-head p,.siavce-login-v7-field label,.siavce-login-v7-options,.siavce-login-v7-link) {
  color:#29446f !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock p,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature span,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article span,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-head p { color:#64748b !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-shell { min-height:100dvh !important; height:auto !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info { min-height:650px !important; height:auto !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card { min-height:0 !important; height:auto !important; align-self:center !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock { margin-top:34px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions { position:static !important; margin-top:28px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules { margin-bottom:12px !important; }

body.siavce-startup-screen,
body.siavce-public-screen.siavce-logout-screen,
body:has(.auth-2fa-card) {
  min-height:100vh !important; margin:0 !important; background:#f4f8fc !important; color:#183153 !important;
  font-family:'Manrope','Segoe UI',Arial,sans-serif !important;
}
body.siavce-startup-screen .startup-stage { min-height:100vh !important; display:grid !important; place-items:center !important; padding:24px !important; }
body.siavce-startup-screen .startup-shell { width:min(760px,100%) !important; margin:0 auto !important; padding:0 !important; background:transparent !important; color:#183153 !important; }
body.siavce-startup-screen :where(.startup-mark,.startup-steps-card) { background:#fff !important; color:#183153 !important; border:1px solid #dbe6f2 !important; box-shadow:0 12px 32px rgba(25,72,125,.09) !important; border-radius:18px !important; }
body.siavce-startup-screen .startup-mark { display:flex !important; align-items:center !important; gap:20px !important; padding:28px !important; margin-bottom:14px !important; }
body.siavce-startup-screen .startup-logo { width:90px !important; height:90px !important; flex:0 0 90px !important; overflow:hidden !important; border-radius:14px !important; background:#fff !important; border:1px solid #e1eaf4 !important; }
body.siavce-startup-screen .startup-logo img { width:100% !important; height:100% !important; object-fit:cover !important; }
body.siavce-startup-screen :where(.startup-title,.startup-subtitle,.startup-step,.startup-user,.startup-note,.startup-steps-head strong,.startup-steps-head small) { color:#29446f !important; }
body.siavce-startup-screen .startup-title { font-size:clamp(2rem,4vw,3rem) !important; font-weight:800 !important; margin:.3rem 0 !important; }
body.siavce-startup-screen .startup-subtitle { color:#64748b !important; line-height:1.6 !important; }
body.siavce-startup-screen .startup-steps-card { padding:24px !important; }
body.siavce-startup-screen .startup-step { border-color:#e4edf6 !important; background:#f8fbff !important; }
body.siavce-startup-screen .startup-bar { background:#e7eef7 !important; }

body:has(.auth-2fa-card) { display:flex !important; align-items:center !important; justify-content:center !important; padding:24px !important; }
body:has(.auth-2fa-card) .auth-2fa-card { width:min(620px,100%) !important; max-height:calc(100vh - 48px) !important; overflow:auto !important; padding:32px !important; background:#fff !important; color:#183153 !important; border:1px solid #dbe6f2 !important; border-radius:18px !important; box-shadow:0 14px 38px rgba(25,72,125,.12) !important; }
body:has(.auth-2fa-card) .auth-2fa-logo { width:180px !important; height:82px !important; object-fit:cover !important; object-position:center !important; border:1px solid #edf1f6 !important; border-radius:12px !important; margin-bottom:18px !important; }
body:has(.auth-2fa-card) :where(h1,h2,h3,p,label,small,.auth-2fa-muted) { color:#29446f !important; }
body:has(.auth-2fa-card) .auth-2fa-muted { color:#64748b !important; }
body:has(.auth-2fa-card) :where(.form-control,.form-select) { color:#183153 !important; background:#fff !important; border-color:#cbd9e8 !important; }
body:has(.auth-2fa-card) .btn-outline-light { color:#29446f !important; border-color:#cbd9e8 !important; background:#fff !important; }
body:has(.auth-2fa-card) hr { border-color:#e1eaf3 !important; opacity:1 !important; }

body.siavce-public-screen.siavce-logout-screen .logout-shell { width:min(620px,calc(100% - 32px)) !important; margin:0 auto !important; padding:36px !important; text-align:center !important; background:#fff !important; color:#183153 !important; border:1px solid #dbe6f2 !important; border-radius:18px !important; box-shadow:0 14px 38px rgba(25,72,125,.1) !important; }
body.siavce-public-screen.siavce-logout-screen :where(h1,p) { color:#29446f !important; }
body.siavce-public-screen.siavce-logout-screen .logout-mark { margin:0 auto 20px !important; background:#fff !important; border:1px solid #dbe6f2 !important; overflow:hidden !important; }
body.siavce-public-screen.siavce-logout-screen .logout-mark:before { content:''; display:block; width:100%; height:100%; background:url('/recursos/img/empresa/logo/sacodi-demo.png') center/contain no-repeat; }
body.siavce-public-screen.siavce-logout-screen .logout-mark span { display:none !important; }
body.siavce-public-screen.siavce-logout-screen .logout-bar { background:#e7eef7 !important; }
body.siavce-public-screen.siavce-logout-screen .logout-bar span { background:#1769d1 !important; }
body.siavce-startup-screen .startup-badge { color:#1769d1 !important; background:#eaf2ff !important; border:1px solid #cfe1f5 !important; }
body.siavce-startup-screen .startup-note { background:#eaf2ff !important; color:#1769d1 !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(a:not(.btn):not(.dropdown-item):not(.nav-link)) { color:#1769d1 !important; }
body.siavce-redesign-total:not(.siavce-view-index) :where(a:not(.btn):not(.dropdown-item):not(.nav-link)):hover { color:#1258b3 !important; }
body.siavce-redesign-total:not(.siavce-view-index) #tools-siavce { display:none !important; }
body.siavce-view-login {
  min-height:100vh !important; margin:0 !important; background:#f4f8fc !important; color:#183153 !important;
  font-family:'Manrope','Segoe UI',Arial,sans-serif !important;
}
body.siavce-view-login .login-status {
  width:min(620px,calc(100% - 32px)) !important; min-height:0 !important; margin:7vh auto !important;
  padding:36px !important; text-align:center !important; background:#fff !important; color:#183153 !important;
  border:1px solid #dbe6f2 !important; border-radius:20px !important; box-shadow:0 14px 38px rgba(25,72,125,.12) !important;
}
body.siavce-view-login .login-logo { width:190px !important; height:88px !important; margin:0 auto 18px !important; padding:0 !important; background:#fff !important; border:1px solid #edf1f6 !important; border-radius:12px !important; overflow:hidden !important; }
body.siavce-view-login .login-logo img { width:100% !important; height:100% !important; object-fit:cover !important; }
body.siavce-view-login :where(h1,h2,h3,p) { color:#29446f !important; }
body.siavce-view-login h1 { color:#122b58 !important; font-weight:800 !important; letter-spacing:-.04em !important; }
body.siavce-view-login h3 { font-size:1.1rem !important; line-height:1.5 !important; }
body.siavce-view-login p { color:#64748b !important; line-height:1.65 !important; }
body.siavce-view-login .login-actions { display:grid !important; gap:10px !important; margin-top:22px !important; }
body.siavce-view-login .login-actions :where(.btn,.login-primary) { min-height:48px !important; border-radius:10px !important; font-weight:700 !important; }
body.siavce-view-login .login-actions .btn-outline-light { color:#29446f !important; background:#fff !important; border:1px solid #cbd9e8 !important; }
body.siavce-view-login .loader { width:42px !important; height:42px !important; margin:18px auto 0 !important; object-fit:contain !important; }

/* =========================================================
   V7 - Login/index: fondo real fondolog, inputs limpios y sin crear cuenta.
   Esta capa no usa input-group de Bootstrap para evitar que reglas legacy partan
   usuario/contraseña en columnas angostas.
   ========================================================= */
body.siavce-view-index.siavce-login-v7{
  min-height:100vh !important;
  overflow-x:hidden !important;
  color:#f8fbff !important;
  background-color:#020817 !important;
  background-image:
    linear-gradient(90deg,rgba(2,6,23,.84) 0%,rgba(5,17,34,.60) 44%,rgba(2,6,23,.88) 100%),
    radial-gradient(circle at 18% 12%,rgba(96,165,250,.24),transparent 34%),
    radial-gradient(circle at 78% 84%,rgba(34,197,94,.16),transparent 30%),
    url("../img/empresa/fondolog/fondolog.jpg") !important;
  background-size:cover,auto,auto,cover !important;
  background-position:center,center,center,center !important;
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat !important;
  background-attachment:fixed,fixed,fixed,fixed !important;
}

body.siavce-view-index.siavce-login-v7::before{
  content:"" !important;
  position:fixed !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  opacity:.22 !important;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) !important;
  background-size:54px 54px,54px 54px !important;
}

body.siavce-view-index.siavce-login-v7::after{
  content:"" !important;
  position:fixed !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(2,6,23,.10),rgba(2,6,23,.34)) !important;
}

.siavce-login-v6-divider,
.siavce-login-v6-create{
  display:none !important;
}

.siavce-login-v7-shell{
  position:relative !important;
  z-index:1 !important;
  width:min(1220px,calc(100vw - 42px)) !important;
  min-height:100vh !important;
  margin-inline:auto !important;
  padding:clamp(28px,4.5vw,62px) 0 !important;
  display:grid !important;
  grid-template-columns:minmax(0,1.06fr) minmax(360px,.56fr) !important;
  align-items:center !important;
  gap:clamp(22px,3.2vw,48px) !important;
}

.siavce-login-v7-panel{
  position:relative !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.18) !important;
  background:
    radial-gradient(circle at 0% 0%,rgba(96,165,250,.20),transparent 38%),
    linear-gradient(145deg,rgba(16,31,53,.78),rgba(6,13,25,.62)) !important;
  box-shadow:0 34px 95px rgba(0,0,0,.44),inset 0 1px 0 rgba(255,255,255,.13) !important;
  backdrop-filter:blur(22px) saturate(132%) !important;
  -webkit-backdrop-filter:blur(22px) saturate(132%) !important;
}

.siavce-login-v7-panel::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  pointer-events:none !important;
  background:linear-gradient(125deg,rgba(255,255,255,.16),transparent 28%,rgba(255,255,255,.035) 62%,transparent) !important;
  opacity:.78 !important;
}

.siavce-login-v7-panel > *{
  position:relative !important;
  z-index:1 !important;
}

.siavce-login-v7-info{
  min-height:620px !important;
  border-radius:34px !important;
  padding:clamp(30px,4vw,54px) !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
}

.siavce-login-v7-card{
  border-radius:32px !important;
  padding:clamp(24px,3vw,36px) !important;
}

.siavce-login-v7-brand{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}

.siavce-login-v7-logo-mini,
.siavce-login-v7-card-logo,
.siavce-login-v7-session-avatar{
  flex:0 0 auto !important;
  width:68px !important;
  height:68px !important;
  max-width:68px !important;
  max-height:68px !important;
  border-radius:20px !important;
  padding:0 !important;
  object-fit:cover !important;
  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.30) !important;
}

.siavce-login-v7-logo-mini{
  display:inline-grid !important;
  place-items:center !important;
  overflow:hidden !important;
}

.siavce-login-v7-logo-mini img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:cover !important;
  border-radius:inherit !important;
}

.siavce-login-v7-badge{
  display:inline-flex !important;
  align-items:center !important;
  width:max-content !important;
  max-width:100% !important;
  padding:6px 11px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,rgba(59,130,246,.92),rgba(34,197,94,.84)) !important;
  color:#fff !important;
  font-size:.72rem !important;
  font-weight:900 !important;
  letter-spacing:.03em !important;
  box-shadow:0 10px 22px rgba(0,0,0,.25) !important;
}

.siavce-login-v7-titleblock h1{
  max-width:720px !important;
  margin:28px 0 0 !important;
  color:#fff !important;
  font-size:clamp(2.45rem,4.9vw,5.1rem) !important;
  line-height:.94 !important;
  letter-spacing:-.065em !important;
  text-wrap:balance !important;
}

.siavce-login-v7-titleblock p{
  max-width:720px !important;
  margin:24px 0 0 !important;
  color:rgba(248,251,255,.82) !important;
  font-size:clamp(1rem,1.42vw,1.24rem) !important;
  line-height:1.55 !important;
}

.siavce-login-v7-feature{
  margin-top:30px !important;
  display:flex !important;
  gap:15px !important;
  align-items:flex-start !important;
  padding:18px !important;
  border-radius:24px !important;
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.06)) !important;
  border:1px solid rgba(255,255,255,.15) !important;
}

.siavce-login-v7-feature i{
  width:42px !important;
  height:42px !important;
  display:inline-grid !important;
  place-items:center !important;
  flex:0 0 42px !important;
  border-radius:16px !important;
  background:rgba(59,130,246,.24) !important;
  color:#dbeafe !important;
  font-size:1.45rem !important;
}

.siavce-login-v7-feature strong,
.siavce-login-v7-feature span{
  display:block !important;
}

.siavce-login-v7-feature strong{
  color:#fff !important;
  font-size:1.02rem !important;
  margin-bottom:2px !important;
}

.siavce-login-v7-feature span{
  color:rgba(248,251,255,.72) !important;
  line-height:1.45 !important;
}

.siavce-login-v7-modules{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:30px !important;
}

.siavce-login-v7-modules article{
  min-height:126px !important;
  padding:17px !important;
  border-radius:23px !important;
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.045)) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.siavce-login-v7-modules i{
  color:#e0f2fe !important;
  font-size:1.55rem !important;
}

.siavce-login-v7-modules strong,
.siavce-login-v7-modules span{
  display:block !important;
}

.siavce-login-v7-modules strong{
  margin-top:12px !important;
  color:#fff !important;
  font-size:1.02rem !important;
}

.siavce-login-v7-modules span{
  margin-top:4px !important;
  color:rgba(248,251,255,.70) !important;
  font-size:.86rem !important;
  line-height:1.35 !important;
}

.siavce-login-v7-card-head{
  text-align:center !important;
  margin-bottom:24px !important;
}

.siavce-login-v7-card-logo{
  display:block !important;
  margin:0 auto 14px !important;
}

.siavce-login-v7-card-head h2{
  margin:12px 0 7px !important;
  color:#fff !important;
  font-size:clamp(1.7rem,2.2vw,2.2rem) !important;
  letter-spacing:-.055em !important;
}

.siavce-login-v7-card-head p{
  max-width:320px !important;
  margin:0 auto !important;
  color:rgba(248,251,255,.72) !important;
  line-height:1.45 !important;
}

.siavce-login-v7-form{
  display:grid !important;
  gap:16px !important;
}

.siavce-login-v7-field,
.siavce-login-v7-recovery{
  min-width:0 !important;
}

.siavce-login-v7-field label,
.siavce-login-v7-recovery label{
  display:block !important;
  margin:0 0 7px !important;
  color:rgba(248,251,255,.88) !important;
  font-size:.86rem !important;
  font-weight:900 !important;
  letter-spacing:-.01em !important;
}

.siavce-login-v7-control{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  width:100% !important;
  min-height:50px !important;
  border-radius:17px !important;
  background:rgba(255,255,255,.105) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
  overflow:hidden !important;
}

.siavce-login-v7-control:focus-within{
  border-color:rgba(147,197,253,.72) !important;
  background:rgba(255,255,255,.14) !important;
  box-shadow:0 0 0 .22rem rgba(59,130,246,.18),inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.siavce-login-v7-control > i{
  flex:0 0 50px !important;
  width:50px !important;
  height:50px !important;
  display:grid !important;
  place-items:center !important;
  color:rgba(248,251,255,.72) !important;
  font-size:1.15rem !important;
  border-right:1px solid rgba(255,255,255,.12) !important;
}

.siavce-login-v7-control input{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:block !important;
  flex:1 1 auto !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:50px !important;
  min-height:50px !important;
  margin:0 !important;
  padding:0 16px !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  color:#fff !important;
  font-size:.96rem !important;
  font-weight:700 !important;
  line-height:50px !important;
  box-shadow:none !important;
}

.siavce-login-v7-control input::placeholder{
  color:rgba(248,251,255,.45) !important;
}

.siavce-login-v7-control-password input{
  padding-right:54px !important;
}

.siavce-login-v7-eye{
  position:absolute !important;
  right:6px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  border:0 !important;
  border-radius:13px !important;
  display:grid !important;
  place-items:center !important;
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  box-shadow:none !important;
  cursor:pointer !important;
}

.siavce-login-v7-eye:hover{
  background:rgba(255,255,255,.16) !important;
}

.siavce-login-v7-options{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:12px !important;
  margin-top:2px !important;
}

.siavce-login-v7-check{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 !important;
  color:rgba(248,251,255,.78) !important;
  font-size:.88rem !important;
  font-weight:800 !important;
  cursor:pointer !important;
}

.siavce-login-v7-check input{
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  accent-color:#22c55e !important;
}

.siavce-login-v7-link{
  border:0 !important;
  background:transparent !important;
  color:#dbeafe !important;
  font-weight:900 !important;
  padding:0 !important;
  cursor:pointer !important;
}

.siavce-login-v7-link:hover{
  color:#fff !important;
  text-decoration:underline !important;
}

.siavce-login-v7-submit,
.siavce-login-v7-secondary,
.siavce-login-v7-recovery-submit{
  width:100% !important;
  min-height:50px !important;
  border:0 !important;
  border-radius:17px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  text-decoration:none !important;
  font-weight:900 !important;
  letter-spacing:-.01em !important;
  cursor:pointer !important;
}

.siavce-login-v7-submit{
  margin-top:2px !important;
  color:#fff !important;
  background:linear-gradient(135deg,rgba(59,130,246,.96),rgba(37,99,235,.92)) !important;
  box-shadow:0 15px 32px rgba(37,99,235,.24) !important;
}

.siavce-login-v7-submit:hover{
  filter:brightness(1.08) !important;
}

.siavce-login-v7-secondary{
  color:#fff !important;
  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.14) !important;
}

.siavce-login-v7-recovery{
  margin-top:16px !important;
  padding:15px !important;
  border-radius:21px !important;
  background:rgba(255,255,255,.075) !important;
  border:1px solid rgba(255,255,255,.13) !important;
}

.siavce-login-v7-recovery-submit{
  margin-top:10px !important;
  color:#fff !important;
  background:linear-gradient(135deg,rgba(34,197,94,.95),rgba(16,185,129,.90)) !important;
}

.siavce-login-v7-session{
  grid-template-columns:minmax(340px,520px) !important;
  justify-content:center !important;
}

.siavce-login-v7-session-card{
  text-align:center !important;
  border-radius:32px !important;
  padding:34px !important;
}

.siavce-login-v7-session-avatar{
  display:block !important;
  margin:0 auto 16px !important;
  width:104px !important;
  height:104px !important;
  max-width:104px !important;
  max-height:104px !important;
  border-radius:28px !important;
  object-fit:contain !important;
  padding:12px !important;
  background:#f4f8fc !important;
  border:1px solid #dbe6f2 !important;
}

.siavce-login-v7-session-card h1{
  color:#17345f !important;
  margin:14px 0 8px !important;
}

.siavce-login-v7-session-card p{
  color:#29446f !important;
  opacity:1 !important;
  line-height:1.55 !important;
}

.siavce-login-v7-session-actions{
  display:flex !important;
  gap:10px !important;
  margin-top:22px !important;
}

@media (max-width:1180px){
  .siavce-login-v7-shell{
    grid-template-columns:1fr !important;
    width:min(860px,calc(100vw - 32px)) !important;
  }
  .siavce-login-v7-info{
    min-height:auto !important;
  }
  .siavce-login-v7-modules{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:620px){
  .siavce-login-v7-shell{
    width:min(100vw - 20px,100%) !important;
    padding:16px 0 !important;
  }
  .siavce-login-v7-info,
  .siavce-login-v7-card,
  .siavce-login-v7-session-card{
    border-radius:24px !important;
    padding:20px !important;
  }
  .siavce-login-v7-titleblock h1{
    font-size:2.2rem !important;
  }
  .siavce-login-v7-modules{
    grid-template-columns:1fr !important;
  }
  .siavce-login-v7-options,
  .siavce-login-v7-session-actions{
    align-items:stretch !important;
    flex-direction:column !important;
  }
}


/* =========================================================
   V8 - Login/index: tipografía más compacta, paleta SCD y
   fondo fondolog desde variable inline del index.
   ========================================================= */
body.siavce-view-index.siavce-login-v7{
  --scd-dark:#202124;
  --scd-panel:#171b20;
  --scd-blue:#3b6ff5;
  --scd-green:#6fc85f;
  --scd-red:#ce3a3a;
  background-color:var(--scd-dark) !important;
  background-image:
    linear-gradient(90deg,rgba(32,33,36,.88) 0%,rgba(17,24,39,.68) 44%,rgba(32,33,36,.92) 100%),
    radial-gradient(circle at 14% 18%,rgba(59,111,245,.28),transparent 34%),
    radial-gradient(circle at 82% 16%,rgba(111,200,95,.18),transparent 30%),
    radial-gradient(circle at 78% 84%,rgba(206,58,58,.16),transparent 32%),
    var(--siavce-login-bg-image,url("../img/empresa/fondolog/fondolog.jpg")) !important;
  background-size:cover,auto,auto,auto,cover !important;
  background-position:center,center,center,center,center !important;
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat,no-repeat !important;
  background-attachment:fixed,fixed,fixed,fixed,fixed !important;
}

body.siavce-view-index.siavce-login-v7::before{
  opacity:.12 !important;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px) !important;
  background-size:72px 72px,72px 72px !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-panel{
  background:
    radial-gradient(circle at 0% 0%,rgba(59,111,245,.18),transparent 34%),
    radial-gradient(circle at 100% 0%,rgba(111,200,95,.12),transparent 28%),
    linear-gradient(145deg,rgba(32,33,36,.78),rgba(9,15,25,.66)) !important;
  border-color:rgba(255,255,255,.16) !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-badge{
  background:linear-gradient(135deg,var(--scd-blue),var(--scd-green)) !important;
  font-size:.66rem !important;
  padding:5px 10px !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock h1{
  max-width:660px !important;
  font-size:clamp(2.05rem,3.45vw,3.75rem) !important;
  line-height:1.02 !important;
  letter-spacing:-.05em !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock p{
  max-width:660px !important;
  font-size:clamp(.95rem,1.08vw,1.08rem) !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-head h2{
  font-size:clamp(1.45rem,1.75vw,1.85rem) !important;
  letter-spacing:-.035em !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-head p,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature span,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules span{
  font-size:.84rem !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info{
  min-height:560px !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card{
  max-width:410px !important;
  justify-self:center !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-head > img.siavce-login-v7-card-logo{
  width:min(188px,72%) !important;
  height:auto !important;
  max-width:188px !important;
  max-height:116px !important;
  object-fit:contain !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-logo-mini{
  background:rgba(32,33,36,.68) !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-logo-mini img{
  object-fit:contain !important;
  padding:6px !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature i,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-submit{
  background:linear-gradient(135deg,var(--scd-blue),#2f5fd4) !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-recovery-submit{
  background:linear-gradient(135deg,var(--scd-green),#24a95d) !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-link:hover,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-control:focus-within > i{
  color:#fff !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-control:focus-within{
  border-color:rgba(59,111,245,.72) !important;
  box-shadow:0 0 0 .22rem rgba(59,111,245,.18),0 0 0 .33rem rgba(111,200,95,.08),inset 0 1px 0 rgba(255,255,255,.10) !important;
}

body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article:nth-child(1) i{ color:var(--scd-blue) !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article:nth-child(2) i{ color:var(--scd-green) !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article:nth-child(3) i{ color:var(--scd-red) !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article:nth-child(4) i{ color:#d1d5db !important; }

/* Login demo: composición completa en escritorio, sin scroll vertical accidental. */
@media (min-width:1181px){
  html:has(body.siavce-view-index.siavce-login-v7),
  body.siavce-view-index.siavce-login-v7{overflow:hidden !important;}
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-shell{height:100dvh !important;min-height:0 !important;padding:16px 0 !important;box-sizing:border-box !important;}
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info{min-height:0 !important;height:100% !important;padding:30px !important;}
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card{max-height:calc(100dvh - 32px) !important;padding:26px !important;}
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock h1{font-size:clamp(2.2rem,3.8vw,4.25rem) !important;margin-top:18px !important;}
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock p{margin-top:14px !important;}
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature{margin-top:18px !important;padding:14px !important;}
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules{margin-top:18px !important;}
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article{min-height:104px !important;padding:13px !important;}
}

/* SIAVCE access: clean Bootstrap-inspired institutional theme */
body.siavce-view-index.siavce-login-v7 {
  background: #f7faff !important;
  color: #152447 !important;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif !important;
}
body.siavce-view-index.siavce-login-v7::before,
body.siavce-view-index.siavce-login-v7::after { display:none !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-shell {
  width:min(1320px, calc(100% - 48px)) !important;
  min-height:100dvh !important;
  margin:0 auto !important;
  padding:34px 0 !important;
  gap:28px !important;
  align-items:center !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-panel {
  background:#fff !important;
  border:1px solid #d9e5f5 !important;
  border-radius:18px !important;
  box-shadow:0 10px 30px rgba(28,76,135,.09) !important;
  color:#152447 !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info {
  min-height:0 !important;
  padding:42px !important;
  background:linear-gradient(145deg,#fff 0%,#f5f9ff 72%,#eef7f3 100%) !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card {
  padding:36px !important;
  background:#fff !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-brand { color:#152447 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-logo-mini {
  width:68px !important; height:68px !important; border-radius:14px !important;
  background:#fff !important; border:1px solid #d9e5f5 !important;
  box-shadow:0 5px 14px rgba(30,91,170,.12) !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-logo-mini img { object-fit:contain !important; padding:8px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-badge {
  background:#e8f1ff !important; color:#1769d1 !important; border:1px solid #cfe1fb !important;
  font-weight:700 !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock h1 {
  color:#132657 !important; letter-spacing:-.04em !important; font-weight:750 !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock p,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature p { color:#63718a !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-module {
  background:#fff !important; border:1px solid #dbe7f5 !important;
  box-shadow:0 4px 14px rgba(30,91,170,.05) !important; color:#1d2b49 !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature strong,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-module strong { color:#162957 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-icon {
  background:#eaf2ff !important; color:#1467d8 !important; border:0 !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-logo {
  max-height:72px !important; width:auto !important; max-width:230px !important;
  object-fit:contain !important; background:#fff !important; padding:5px !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-head { border-bottom:1px solid #edf2f8 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card h2,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card h3 { color:#152447 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-subtitle,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-field label { color:#65738b !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-control {
  background:#fff !important; border:1px solid #cbd9eb !important; border-radius:10px !important;
  color:#172743 !important; box-shadow:none !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-control:focus-within {
  border-color:#2574dc !important; box-shadow:0 0 0 3px rgba(37,116,220,.14) !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-control i { color:#70819b !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-control input { color:#172743 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-submit {
  background:#1769d1 !important; border:1px solid #1769d1 !important; border-radius:9px !important;
  box-shadow:0 5px 12px rgba(23,105,209,.18) !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-submit:hover { background:#1258b3 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-secondary {
  background:#fff !important; color:#1769d1 !important; border:1px solid #cfe0f5 !important;
  border-radius:9px !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-secondary:hover { background:#f2f7ff !important; }
@media (max-width:900px){
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-shell { width:min(100% - 24px, 620px) !important; padding:18px 0 !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info { padding:26px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card { padding:26px !important; }
}

/* Login v8: dashboard-style layout, separate from the legacy glass rules above. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
body.siavce-view-index.siavce-login-v7 {
  font-family:'Manrope',Arial,sans-serif !important;
  background:#f4f8fc !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-shell {
  display:grid !important; grid-template-columns:minmax(0,1fr) 430px !important;
  max-width:1440px !important; width:calc(100% - 64px) !important; min-height:100dvh !important;
  padding:36px 0 !important; gap:34px !important; align-items:stretch !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info {
  position:relative !important; overflow:hidden !important; padding:52px 56px !important;
  border:0 !important; border-radius:24px !important;
  background:#fff !important; box-shadow:0 12px 36px rgba(29,76,126,.08) !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info:after {
  content:''; position:absolute; width:390px; height:390px; right:-140px; bottom:-185px;
  border-radius:50%; border:56px solid rgba(23,105,209,.06); pointer-events:none;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-brand { gap:14px !important; position:relative; z-index:1; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-logo-mini {
  width:76px !important; height:76px !important; border-radius:16px !important; padding:0 !important;
  overflow:hidden !important; background:#fff !important; border:1px solid #e3ebf4 !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-logo-mini img { width:100% !important; height:100% !important; object-fit:cover !important; padding:0 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-badge {
  border-radius:999px !important; padding:7px 12px !important; font-size:11px !important;
  letter-spacing:.04em !important; text-transform:uppercase !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock { max-width:740px !important; margin-top:60px !important; position:relative; z-index:1; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock h1 {
  margin:0 0 18px !important; font-size:clamp(36px,4vw,64px) !important; line-height:1.08 !important;
  letter-spacing:-.065em !important; font-weight:800 !important; color:#102b5c !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock p { font-size:17px !important; line-height:1.75 !important; max-width:660px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature {
  position:relative; z-index:1; display:flex !important; align-items:flex-start !important; gap:16px !important;
  border-radius:14px !important; padding:18px 20px !important; margin-top:28px !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature > i { width:42px; height:42px; display:grid; place-items:center; flex:none; border-radius:12px; background:#eaf2ff; color:#1769d1; font-size:21px; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature strong { display:block; font-size:14px !important; margin-bottom:4px; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature span { display:block; font-size:12px; line-height:1.55; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules { position:relative; z-index:1; display:grid !important; grid-template-columns:repeat(4,1fr) !important; gap:12px !important; margin-top:18px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article { min-height:125px; display:flex; flex-direction:column; gap:8px; padding:18px 14px; border:1px solid #e0e9f4; border-radius:14px; background:#fff; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article i { color:#1769d1; font-size:22px; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article strong { font-size:13px; color:#153364 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article span { font-size:11px; line-height:1.45; color:#70809a; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions { position:absolute !important; left:56px; right:56px; bottom:40px; display:flex !important; gap:10px !important; margin:0 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions a { flex:1; font-size:12px !important; padding:12px 8px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card {
  align-self:center !important; padding:38px !important; border-radius:22px !important;
  box-shadow:0 14px 38px rgba(29,76,126,.12) !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-head { text-align:left !important; padding-bottom:24px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-logo { display:block !important; max-width:178px !important; height:92px !important; margin:0 0 22px !important; object-fit:cover !important; object-position:center !important; border:1px solid #edf1f6; border-radius:12px; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-head h2 { font-size:30px !important; letter-spacing:-.045em !important; font-weight:800 !important; margin:18px 0 8px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card-head p { font-size:13px !important; line-height:1.6 !important; color:#71809a !important; margin:0 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-form { margin-top:22px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-field { margin-bottom:18px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-field label { font-size:12px !important; font-weight:800 !important; color:#29446f !important; margin-bottom:8px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-control { min-height:48px !important; border-radius:10px !important; background:#fbfdff !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-control input { font-family:inherit !important; font-size:13px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-options { font-size:11px !important; margin:4px 0 22px !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-submit { min-height:48px !important; border-radius:10px !important; font-family:inherit !important; font-size:13px !important; font-weight:800 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-secondary { min-height:44px !important; display:flex !important; align-items:center; justify-content:center; font-family:inherit !important; font-size:12px !important; font-weight:700 !important; }
@media (max-width:980px){
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-shell { grid-template-columns:1fr !important; width:min(680px,calc(100% - 24px)) !important; padding:20px 0 !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info { padding:30px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock { margin-top:32px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock h1 { font-size:40px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions { position:static !important; margin-top:20px !important; }
}
@media (max-width:560px){
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules { grid-template-columns:repeat(2,1fr) !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions { flex-direction:column !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-card { padding:24px !important; }
}

@media (max-width:620px){
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock h1{
    font-size:2rem !important;
  }
}

/* Final login correction: actions flow after modules instead of overlaying them. */
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions {
  position:static !important;
  left:auto !important; right:auto !important; bottom:auto !important;
  display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important; margin:28px 0 0 !important;
}
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions a { min-width:0 !important; width:auto !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules { margin-bottom:0 !important; }
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-check,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-check span,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-options,
body.siavce-view-index.siavce-login-v7 .siavce-login-v7-link { color:#29446f !important; }
@media (max-width:700px){
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions { grid-template-columns:1fr !important; }
}
@media (min-width:981px){
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-info { padding:34px 42px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-titleblock { margin-top:22px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature { margin-top:16px !important; padding:14px 16px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-feature > i { width:36px !important; height:36px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules { margin-top:12px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-modules article { min-height:108px !important; padding:13px 12px !important; }
  body.siavce-view-index.siavce-login-v7 .siavce-login-v7-actions { margin-top:14px !important; }
}

/* Calendario: capa clara final, con contraste y grilla estable */
body.siavce-redesign-total.siavce-view-citascalendario .calendar-container,
body.siavce-redesign-total.siavce-view-citascalendario .calendar-main-card {
  background:#fff!important;color:#17345f!important;border:1px solid #dbe6f2!important;
  box-shadow:0 12px 30px rgba(30,73,125,.08)!important;
}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-toolbar {display:flex;gap:24px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-toolbar-copy {min-width:260px;flex:1 1 360px;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-toolbar-badge,
body.siavce-redesign-total.siavce-view-citascalendario .legend-pill {background:#eaf3ff!important;color:#1769d1!important;border:1px solid #cfe1f7!important;}
body.siavce-redesign-total.siavce-view-citascalendario .mes-titulo {color:#17345f!important;text-shadow:none!important;font-size:clamp(2rem,4vw,3.4rem)!important;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-toolbar-copy p {color:#60738f!important;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-container form {display:flex;gap:10px;flex-wrap:wrap;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-container .form-select {height:46px!important;min-width:132px;background:#fff!important;color:#17345f!important;border:1px solid #cbd9e8!important;box-shadow:none!important;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-container .btn-light {min-height:46px!important;background:#1769d1!important;color:#fff!important;border:1px solid #1769d1!important;box-shadow:none!important;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-container .btn-light:hover {background:#1258ae!important;}
body.siavce-redesign-total.siavce-view-citascalendario .day-header {color:#17345f!important;background:#f1f6fb!important;border:1px solid #dbe6f2!important;box-shadow:none!important;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-grid {gap:10px!important;}
body.siavce-redesign-total.siavce-view-citascalendario .empty-cell {min-height:124px;background:#f8fbfe!important;border:1px solid #edf3f8;border-radius:14px;}
body.siavce-redesign-total.siavce-view-citascalendario .day-cell {min-height:124px!important;padding:14px!important;background:#fff!important;border:1px solid #dbe6f2!important;box-shadow:none!important;backdrop-filter:none!important;color:#17345f!important;}
body.siavce-redesign-total.siavce-view-citascalendario .day-cell:hover {transform:translateY(-2px);background:#f7fbff!important;border-color:#8dbbea!important;box-shadow:0 8px 18px rgba(23,105,209,.12)!important;}
body.siavce-redesign-total.siavce-view-citascalendario .day-cell.weekend {background:#fff9f9!important;border-color:#f0d5d5!important;}
body.siavce-redesign-total.siavce-view-citascalendario .day-cell.today {background:#eef6ff!important;border:2px solid #1769d1!important;box-shadow:0 5px 16px rgba(23,105,209,.14)!important;}
body.siavce-redesign-total.siavce-view-citascalendario .day-number {color:#17345f!important;text-shadow:none!important;font-size:2rem!important;}
body.siavce-redesign-total.siavce-view-citascalendario a.day-number {display:block!important;text-decoration:none!important;cursor:pointer!important;}
body.siavce-redesign-total.siavce-view-citascalendario a.day-number:hover {color:#1769d1!important;text-decoration:underline!important;}
body.siavce-redesign-total.siavce-view-citascalendario .today .day-number {color:#1769d1!important;text-shadow:none!important;}
body.siavce-redesign-total.siavce-view-citascalendario .cita-pill {color:#17345f!important;background:#eaf3ff!important;border:1px solid #cfe1f7!important;}
body.siavce-redesign-total.siavce-view-citascalendario .cita-pill a {color:#17345f!important;}
body.siavce-redesign-total.siavce-view-citascalendario .cita-pill {
  display:flex!important;align-items:center!important;gap:5px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:4px 0!important;padding:5px 7px!important;border-radius:8px!important;
  font-size:.72rem!important;line-height:1.15!important;overflow:hidden!important;
}
body.siavce-redesign-total.siavce-view-citascalendario .cita-pill a {
  display:block!important;min-width:0!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
}
body.siavce-redesign-total.siavce-view-citascalendario .cita-pill .opacity-75 {
  opacity:1!important;color:#60738f!important;font-size:.68rem!important;
}
body.siavce-redesign-total.siavce-view-citascalendario .cita-pill .dot {
  flex:0 0 7px!important;width:7px!important;height:7px!important;
}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-more-link {
  display:block!important;margin:5px 0 0!important;padding:3px 6px!important;
  color:#1769d1!important;font-size:.72rem!important;font-weight:800!important;
  text-decoration:none!important;white-space:nowrap!important;
}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-more-link:hover {text-decoration:underline!important;}
body.siavce-redesign-total.siavce-view-citascalendario .day-cell > .d-grid {
  display:block!important;min-width:0!important;max-height:122px!important;overflow:hidden!important;
  padding-top:34px!important;
}
@media (max-width:980px){
  body.siavce-redesign-total.siavce-view-citascalendario .day-cell {min-height:166px!important;padding:10px!important;}
  body.siavce-redesign-total.siavce-view-citascalendario .day-number {font-size:1.55rem!important;top:10px!important;right:10px!important;}
  body.siavce-redesign-total.siavce-view-citascalendario .day-cell > .d-grid {padding-top:26px!important;max-height:120px!important;}
  body.siavce-redesign-total.siavce-view-citascalendario .cita-pill {font-size:.66rem!important;padding:4px 5px!important;}
  body.siavce-redesign-total.siavce-view-citascalendario .cita-pill .opacity-75 {font-size:.62rem!important;}
}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-sidebar {background:#fff!important;color:#17345f!important;border:1px solid #dbe6f2!important;box-shadow:0 12px 30px rgba(30,73,125,.08)!important;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-sidebar h4 {color:#17345f!important;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-sidebar hr {border-color:#dbe6f2!important;}
body.siavce-redesign-total.siavce-view-citascalendario .calendar-sidebar a {color:#17345f!important;}
body.siavce-redesign-total.siavce-view-agenda .siavce-entity-grid {
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:16px!important;
}
body.siavce-redesign-total.siavce-view-agenda .siavce-entity-card {
  display:flex!important;flex-direction:column!important;gap:12px!important;
  min-height:190px!important;padding:18px!important;background:#fff!important;
  border:1px solid #dbe6f2!important;border-radius:16px!important;
  box-shadow:0 8px 22px rgba(30,73,125,.08)!important;color:#17345f!important;
}
body.siavce-redesign-total.siavce-view-agenda .siavce-entity-title {margin:0!important;color:#17345f!important;font-size:1.05rem!important;}
body.siavce-redesign-total.siavce-view-agenda .siavce-chip {background:#eaf3ff!important;color:#1769d1!important;border:1px solid #cfe1f7!important;}
body.siavce-redesign-total.siavce-view-agenda .siavce-meta-list {display:grid!important;gap:8px!important;}
body.siavce-redesign-total.siavce-view-agenda .siavce-meta-item {display:flex!important;gap:6px!important;align-items:flex-start!important;color:#60738f!important;font-size:.88rem!important;}
body.siavce-redesign-total.siavce-view-agenda .siavce-meta-item strong {color:#29446f!important;flex:0 0 auto!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .cfg-grid {display:grid!important;grid-template-columns:1fr!important;gap:16px!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .cfg-grid > section,
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row {
  background:#fff!important;color:#17345f!important;border:1px solid #dbe6f2!important;
  border-radius:16px!important;box-shadow:0 8px 22px rgba(30,73,125,.07)!important;padding:18px!important;
}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row {display:block!important;margin:0!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row {display:grid!important;grid-template-columns:minmax(140px,3fr) minmax(110px,2fr) minmax(110px,2fr) minmax(70px,1fr) minmax(180px,4fr)!important;gap:12px!important;margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row > * {min-width:0!important;width:auto!important;max-width:none!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row > :nth-child(1){grid-column:1!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row > :nth-child(2){grid-column:2!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row > :nth-child(3){grid-column:3!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row > :nth-child(4){grid-column:4!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row > :nth-child(5){grid-column:5!important;}
body.siavce-redesign-total.siavce-view-marketing .box {
  width:min(520px,calc(100% - 32px))!important;max-width:520px!important;height:auto!important;min-height:0!important;
  margin:24px auto!important;padding:24px!important;box-sizing:border-box!important;
}
body.siavce-redesign-total.siavce-view-marketing #siavceAppMain {
  display:block!important;height:auto!important;min-height:0!important;
  align-items:initial!important;justify-items:initial!important;
}
body.siavce-redesign-total.siavce-view-marketing #siavceAppMain > .box {
  display:block!important;width:min(520px,calc(100% - 32px))!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  margin:24px auto!important;align-self:initial!important;
}
body.siavce-redesign-total.siavce-view-marketing .box h1 {font-family:Manrope,'Segoe UI',Arial,sans-serif!important;font-size:1.75rem!important;}
body.siavce-redesign-total.siavce-view-marketing .box p {font-family:Manrope,'Segoe UI',Arial,sans-serif!important;font-size:.92rem!important;}
body.siavce-redesign-total.siavce-view-marketing .box a {font-family:Manrope,'Segoe UI',Arial,sans-serif!important;padding:9px 14px!important;font-size:.88rem!important;}
body.siavce-redesign-total.siavce-view-marketing .box a,
body.siavce-redesign-total.siavce-view-marketing .box a:visited,
body.siavce-redesign-total.siavce-view-marketing .box a:hover {color:#fff!important;text-decoration:none!important;}

/* Marketing: vista clara y simplificada para revisión y uso diario. */
body.siavce-redesign-total.siavce-view-marketing .marketing-shell {
  display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;
  max-width:1180px!important;width:100%!important;margin:24px auto!important;padding:0 18px 40px!important;
  color:#17345f!important;
}
body.siavce-redesign-total.siavce-view-marketing #siavceAppMain,
body.siavce-redesign-total.siavce-view-marketing #siavceAppMain > .marketing-shell {
  display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;min-height:0!important;overflow:visible!important;
}
body.siavce-view-marketing #siavceAppMain,
body.siavce-view-marketing #siavceAppMain > section.marketing-shell,
#siavceAppMain > section.marketing-shell.marketing-page-redesign {
  display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;min-height:160px!important;overflow:visible!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-hero {
  display:block!important;margin:0 0 18px!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-hero-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-list-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-detail-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-side-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-preview-card {
  background:#fff!important;color:#17345f!important;border:1px solid #dbe6f2!important;
  border-radius:16px!important;box-shadow:0 8px 24px rgba(24,64,112,.08)!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-hero-card {padding:24px!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-title {font-family:Manrope,'Segoe UI',sans-serif!important;color:#17345f!important;font-size:clamp(1.65rem,3vw,2.35rem)!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-subtitle,
body.siavce-redesign-total.siavce-view-marketing .marketing-section-head p {color:#60738f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-pills {display:none!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-kpis-main {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-kpis-mini {display:none!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-kpis .kpi {
  min-height:96px!important;padding:16px!important;background:#fff!important;color:#17345f!important;
  border:1px solid #dbe6f2!important;border-radius:14px!important;box-shadow:0 5px 16px rgba(24,64,112,.06)!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-kpis .kpi small,
body.siavce-redesign-total.siavce-view-marketing .marketing-kpis .kpi em {color:#60738f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-kpis .kpi strong {color:#17345f!important;font-size:1.6rem!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-grid {display:block!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-top-layout,
body.siavce-redesign-total.siavce-view-marketing .marketing-bottom-layout {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-composer-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-list-card {padding:22px!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-stepper {background:#f4f8fc!important;border:1px solid #dbe6f2!important;border-radius:12px!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-stepper span {color:#60738f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-stepper span.is-active {color:#1769d1!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-stepper > span:nth-child(n+3),
body.siavce-redesign-total.siavce-view-marketing .marketing-stepper > span:nth-child(n+3) > span {
  color:#60738f !important;
  background:#eaf2ff !important;
}
body.siavce-redesign-total.siavce-view-marketing :where(input,select,textarea,.form-control,.form-select) {background:#fff!important;color:#17345f!important;border:1px solid #cbd9e8!important;border-radius:9px!important;}
body.siavce-redesign-total.siavce-view-marketing :where(label,.form-label) {color:#29446f!important;font-weight:700!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-submit-actions button,
body.siavce-redesign-total.siavce-view-marketing .marketing-actions-col button {border-radius:9px!important;font-family:Manrope,'Segoe UI',sans-serif!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-preview-panel,
body.siavce-redesign-total.siavce-view-marketing .marketing-checklist,
body.siavce-redesign-total.siavce-view-marketing .marketing-tips {background:#f8fbff!important;color:#17345f!important;border:1px solid #dbe6f2!important;border-radius:12px!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-detail-table {background:#fff!important;color:#17345f!important;}
@media(max-width:700px){body.siavce-redesign-total.siavce-view-marketing .marketing-shell{padding:0 10px 28px!important;}body.siavce-redesign-total.siavce-view-marketing .marketing-kpis-main{grid-template-columns:1fr!important;}}
/* El módulo conserva varios fondos del tema antiguo en sus subcomponentes. */
body.siavce-redesign-total.siavce-view-marketing .marketing-shell :where(.step-card,.destination-card,.platform-pill,.format-check-card,.glass-card,.marketing-tab,.marketing-toast) {
  background-image:none!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell :where(.step-card,.destination-card,.platform-pill,.format-check-card) {
  background-color:#f8fbff!important;color:#29446f!important;border:1px solid #dbe6f2!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell :where(.step-card,.destination-card,.platform-pill,.format-check-card) :where(h1,h2,h3,h4,h5,h6,p,span,label,strong,small) {color:#29446f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell :where(.step-card b,.step-card > span,.marketing-submit-actions button,.marketing-tab.active) {
  background-image:none!important;background-color:#1769d1!important;color:#fff!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-toast {background-color:#fff!important;color:#17345f!important;border:1px solid #dbe6f2!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-toast * {color:#17345f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .preview-avatar.avatar-facebook {background-image:none!important;background-color:#1877f2!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .preview-media-stage {background-image:none!important;background-color:#f4f8fc!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-tab {background-color:#f4f8fc!important;color:#29446f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell * {background-image:none!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell :where(.marketing-stepper b,.marketing-stepper span > b,.marketing-submit-actions button,.marketing-tab.active) {background-color:#1769d1!important;color:#fff!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-stepper b,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-stepper > span,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-stepper > span > span {background:#1769d1!important;background-image:none!important;color:#fff!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .step-label > span {background:#1769d1!important;background-image:none!important;color:#fff!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-stepper > span:nth-child(n+3),
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-stepper > span:nth-child(n+3) > span {
  background:#eaf2ff !important;
  background-image:none !important;
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-stepper > span:nth-child(n+3) b {
  background:#fff !important;
  color:#1769d1 !important;
  border-color:#bcd6f5 !important;
}
body.siavce-redesign-total:not(.siavce-view-index) .siavce-page-hero {
  background:#fff !important;
  background-image:none !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 8px 24px rgba(25,72,125,.07) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Servicios TI: evita que los controles de fecha y hora se compriman dentro
   de la fila del formulario. En móvil se apilan para conservar la lectura. */
body.siavce-redesign-total.siavce-view-soporte_servicios form.mod-card > .col-md-4 {
  min-width: 0;
}
body.siavce-redesign-total.siavce-view-soporte_servicios form.mod-card > .col-md-4 input[type="date"],
body.siavce-redesign-total.siavce-view-soporte_servicios form.mod-card > .col-md-4 input[type="time"] {
  min-width: 0;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

/* La previsualización de tienda representa un encabezado oscuro; conserva
   contraste propio aunque el tema global normalice el color de los títulos. */
body.siavce-redesign-total.siavce-view-tienda_personalizacion .mini-hero :where(h1,h2,h3,h4,h5,h6,p,span) {
  color: #fff !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion .mini-hero .btn-light {
  color: #17345f !important;
}
body.siavce-redesign-total.siavce-view-tienda_personalizacion .mini-hero .btn-outline-light {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(255,255,255,.72) !important;
}
body.siavce-redesign-total.siavce-view-soporte_servicios form.mod-card > .col-md-4:nth-of-type(3),
body.siavce-redesign-total.siavce-view-soporte_servicios form.mod-card > .col-md-4:nth-of-type(4) {
  flex: 1 1 150px;
}
@media (max-width: 575.98px) {
  body.siavce-redesign-total.siavce-view-soporte_servicios form.mod-card > .col-md-4 {
    flex: 0 0 100%;
    width: 100%;
  }
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-checklist,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-tips {display:none!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-side-card h4:has(+ .marketing-checklist),
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-side-card h4:has(+ .marketing-tips) {display:none!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-rail {
  display:block!important;grid-template-columns:none!important;width:100%!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-rail > .marketing-side-card {display:none!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-rail > .marketing-preview-card {
  display:block!important;width:100%!important;max-width:none!important;min-width:0!important;
}
/* Proporciones reales de las publicaciones sociales. */
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-card {min-width:0!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-facebook .preview-shell-feed .preview-media-stage {
  aspect-ratio:1.91/1!important;min-height:0!important;height:auto!important;overflow:hidden!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-instagram .preview-shell-feed .preview-media-stage {
  aspect-ratio:1/1!important;min-height:0!important;height:auto!important;overflow:hidden!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-instagram[data-format="story"] .preview-shell,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-tiktok .preview-shell {
  width:min(100%,280px)!important;margin:0 auto!important;aspect-ratio:9/16!important;min-height:0!important;height:auto!important;overflow:hidden!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-instagram[data-format="story"] .preview-media-stage,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-tiktok .preview-media-stage {
  height:100%!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-media-frame,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .social-preview-media-el {width:100%!important;height:100%!important;object-fit:cover!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .preview-fit-contain {object-fit:contain!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .destination-grid,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .format-check-grid {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .destination-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .format-check-card,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .step-card {
  min-height:0!important;height:auto!important;align-self:start!important;
  padding:16px!important;border-radius:14px!important;box-sizing:border-box!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .marketing-preview-column {min-width:0!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell .previewGrid {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:12px!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;
  align-items:start!important;width:100%!important;min-width:0!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid > .social-preview-card {
  width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;align-self:start!important;
  margin:0!important;box-sizing:border-box!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .preview-shell-feed {width:100%!important;max-width:none!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-shell {max-width:220px!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-card .preview-shell-story,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-card[data-format="story"] .preview-shell-feed,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-card[data-format="reel"] .preview-shell-feed {
  width:min(100%,220px)!important;max-width:220px!important;margin:0 auto!important;box-sizing:border-box!important;
  aspect-ratio:9/16!important;min-height:0!important;height:auto!important;overflow:hidden!important;
  background:#fff!important;border:1px solid #dbe6f2!important;border-radius:14px!important;
  box-shadow:0 8px 20px rgba(24,64,112,.10)!important;color:#17345f!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-shell,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-phone-copy,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-phone-head {
  background:#fff!important;color:#17345f!important;border-color:#dbe6f2!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-shell {
  border:1px solid #dbe6f2!important;border-radius:14px!important;box-shadow:0 8px 20px rgba(24,64,112,.10)!important;overflow:hidden!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-copy,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-feed-stats,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-feed-stats span {color:#17345f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-media-stage {background:#eef4fb!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-account-chip,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-facebook .preview-account-chip,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-instagram .preview-account-chip {
  display:inline-flex!important;align-items:center!important;max-width:100%!important;min-height:28px!important;
  padding:5px 10px!important;border-radius:999px!important;background:#eaf2ff!important;border:1px solid #d7e6fb!important;color:#29446f!important;box-sizing:border-box!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-header,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-brand,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-tiktok .preview-account-secondary {background:#fff!important;color:#29446f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-card .preview-shell-story .preview-media-stage,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-card[data-format="story"] .preview-media-stage,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-card[data-format="reel"] .preview-media-stage {
  height:100%!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .preview-platform-tag {white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-format-reel .preview-platform-tag,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-format-reel .preview-title,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-format-reel .preview-subtitle,
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-format-reel small {color:#17345f!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .social-preview-format-reel .preview-media-stage {background:#eef4fb!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .preview-header {min-width:0!important;}
body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid .preview-header > * {min-width:0!important;}
@media(max-width:760px){body.siavce-redesign-total.siavce-view-marketing .marketing-shell .destination-grid,body.siavce-redesign-total.siavce-view-marketing .marketing-shell .format-check-grid{grid-template-columns:1fr!important;}body.siavce-redesign-total.siavce-view-marketing .marketing-shell .previewGrid{grid-template-columns:1fr!important;}}
@media(max-width:1000px) and (min-width:761px){body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:760px){body.siavce-redesign-total.siavce-view-marketing .marketing-shell #previewGrid{grid-template-columns:1fr!important;}}
body.siavce-redesign-total.siavce-view-marketing .marketing-submit-actions {
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
}
body.siavce-redesign-total.siavce-view-marketing .marketing-submit-actions > button,
body.siavce-redesign-total.siavce-view-marketing .marketing-submit-actions > .btn {
  flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;
  padding:10px 16px!important;
}
@media(max-width:600px){body.siavce-redesign-total.siavce-view-marketing .marketing-submit-actions > button,body.siavce-redesign-total.siavce-view-marketing .marketing-submit-actions > .btn{white-space:normal!important;text-align:center!important;flex:1 1 auto!important;}}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row > .col-12 {grid-column:1/-1!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos :where(label,.form-label) {color:#29446f!important;font-weight:700!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos :where(.form-control,.form-select) {background:#fff!important;color:#17345f!important;border:1px solid #cbd9e8!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-checks {display:flex!important;flex-wrap:wrap!important;gap:10px 16px!important;grid-column:1/-1!important;}
body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-checks label {font-size:.84rem!important;color:#60738f!important;}
@media(max-width:800px){body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row{grid-template-columns:1fr!important;}body.siavce-redesign-total.siavce-view-ajustes_clientes_campos .field-row > .row > *{grid-column:1/-1!important;}}
body.siavce-redesign-total.siavce-view-citas .siavce-page-hero,
body.siavce-redesign-total.siavce-view-citas .siavce-page-hero * {color:#17345f!important;}
body.siavce-redesign-total.siavce-view-citas .siavce-page-copy {color:#60738f!important;}
body.siavce-redesign-total.siavce-view-citas .siavce-page-kpi small {color:#60738f!important;}
body.siavce-redesign-total.siavce-view-citas .siavce-list-sentinel {height:24px;margin:8px auto;}
body.siavce-redesign-total.siavce-view-citascalendario,
body.siavce-redesign-total.siavce-view-citascalendario #siavceAppMain,
body.siavce-redesign-total.siavce-view-citascalendario .calendar-shell {
  background:#f4f8fc!important;
}
body.siavce-redesign-total.siavce-view-citascalendario #siavceAppMain,
body.siavce-redesign-total.siavce-view-citascalendario .calendar-shell {background:transparent!important;}
@media (max-width:980px){
  body.siavce-redesign-total.siavce-view-citascalendario .calendar-toolbar > .d-flex {width:100%;}
  body.siavce-redesign-total.siavce-view-citascalendario .calendar-toolbar > .d-flex form {flex:1 1 auto;}
  body.siavce-redesign-total.siavce-view-citascalendario .calendar-grid {grid-template-columns:repeat(7,minmax(72px,1fr))!important;overflow-x:auto;padding-bottom:6px;}
  body.siavce-redesign-total.siavce-view-citascalendario .calendar-grid-wrap {overflow-x:auto;}
}
@media (max-width:600px){
  body.siavce-redesign-total.siavce-view-citascalendario .calendar-container {padding:16px!important;}
  body.siavce-redesign-total.siavce-view-citascalendario .day-header {font-size:.72rem;padding:10px 4px;}
}

/* Control de publicaciones: panel claro, compacto y legible. */
body.siavce-view-publis .publis-shell,
body.siavce-redesign-total .publis-shell {
  width:min(1240px,calc(100% - 32px))!important;max-width:1240px!important;margin:24px auto 40px!important;padding:0!important;color:#17345f!important;
}
body.siavce-view-publis .publis-shell h1,
body.siavce-view-publis .publis-shell h3,
body.siavce-view-publis .publis-shell h5,
body.siavce-redesign-total .publis-shell h1,
body.siavce-redesign-total .publis-shell h3,
body.siavce-redesign-total .publis-shell h5 {color:#17345f!important;}
body.siavce-view-publis .publis-shell p,
body.siavce-view-publis .publis-shell small,
body.siavce-view-publis .publis-shell .publis-meta,
body.siavce-redesign-total .publis-shell p,
body.siavce-redesign-total .publis-shell small,
body.siavce-redesign-total .publis-shell .publis-meta {color:#60738f!important;}
body.siavce-view-publis .publis-shell .text-white-50,
body.siavce-redesign-total .publis-shell .text-white-50 {color:#60738f!important;}
body.siavce-view-publis .publis-grid,
body.siavce-redesign-total .publis-grid {display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)!important;gap:18px!important;align-items:start!important;}
body.siavce-view-publis .publis-card,
body.siavce-view-publis .publis-kpi,
body.siavce-redesign-total .publis-card,
body.siavce-redesign-total .publis-kpi {background:#fff!important;color:#17345f!important;border:1px solid #dbe6f2!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(24,64,112,.08)!important;}
body.siavce-view-publis .publis-card,
body.siavce-redesign-total .publis-card {padding:20px!important;}
body.siavce-view-publis .publis-kpis,
body.siavce-redesign-total .publis-kpis {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
body.siavce-view-publis .publis-kpi,
body.siavce-redesign-total .publis-kpi {padding:16px!important;min-height:92px!important;}
body.siavce-view-publis .publis-kpi small,
body.siavce-redesign-total .publis-kpi small {display:block!important;color:#60738f!important;}
body.siavce-view-publis .publis-kpi strong,
body.siavce-redesign-total .publis-kpi strong {display:block!important;margin-top:6px!important;color:#17345f!important;font-size:1.8rem!important;}
body.siavce-view-publis .publis-actions,
body.siavce-redesign-total .publis-actions {display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;}
body.siavce-view-publis .publis-actions .btn,
body.siavce-redesign-total .publis-actions .btn {width:auto!important;color:#17345f!important;border:1px solid #cbd9e8!important;background:#fff!important;border-radius:9px!important;white-space:nowrap!important;}
body.siavce-view-publis .publis-actions .btn-success,
body.siavce-redesign-total .publis-actions .btn-success {background:#159b68!important;border-color:#159b68!important;color:#fff!important;}
body.siavce-view-publis .publis-actions .btn-primary,
body.siavce-redesign-total .publis-actions .btn-primary {background:#1769d1!important;border-color:#1769d1!important;color:#fff!important;}
body.siavce-view-publis .publis-filters > .d-flex,
body.siavce-redesign-total .publis-filters > .d-flex {display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:8px!important;}
body.siavce-view-publis .publis-filters > .d-flex .btn,
body.siavce-redesign-total .publis-filters > .d-flex .btn {width:auto!important;min-width:104px!important;white-space:nowrap!important;}
body.siavce-view-publis .publis-filters,
body.siavce-redesign-total .publis-filters {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
body.siavce-view-publis .publis-shell input,
body.siavce-view-publis .publis-shell select,
body.siavce-redesign-total .publis-shell input,
body.siavce-redesign-total .publis-shell select {background:#fff!important;color:#17345f!important;border:1px solid #cbd9e8!important;border-radius:9px!important;min-width:0!important;}
body.siavce-view-publis .publis-item,
body.siavce-redesign-total .publis-item {background:#f8fbff!important;color:#17345f!important;border:1px solid #dbe6f2!important;border-radius:12px!important;padding:15px!important;margin-bottom:10px!important;}
body.siavce-view-publis .publis-item h5,
body.siavce-redesign-total .publis-item h5 {font-size:1rem!important;}
body.siavce-view-publis .publis-pill,
body.siavce-redesign-total .publis-pill {display:inline-flex!important;align-items:center!important;padding:5px 9px!important;border-radius:999px!important;background:#eaf2ff!important;color:#29446f!important;border:1px solid #d7e6fb!important;font-size:.75rem!important;}
body.siavce-view-publis .publis-summary-grid,
body.siavce-redesign-total .publis-summary-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
body.siavce-view-publis .publis-summary-item,
body.siavce-redesign-total .publis-summary-item {background:#f8fbff!important;border:1px solid #dbe6f2!important;border-radius:12px!important;padding:14px!important;color:#17345f!important;}
body.siavce-view-publis .publis-summary-item strong,
body.siavce-redesign-total .publis-summary-item strong {display:block!important;color:#17345f!important;font-size:1.25rem!important;}
body.siavce-view-publis .publis-summary-panel,
body.siavce-redesign-total .publis-summary-panel {background:#f8fbff!important;border:1px solid #dbe6f2!important;border-radius:12px!important;padding:16px!important;color:#17345f!important;}
body.siavce-view-publis .publis-summary-panel p,
body.siavce-redesign-total .publis-summary-panel p {color:#60738f!important;}
body.siavce-view-publis .chart-wrap,
body.siavce-redesign-total .chart-wrap {background:#fff!important;border:1px solid #dbe6f2!important;border-radius:12px!important;padding:12px!important;min-height:220px!important;}
body.siavce-view-publis .chart-wrap h5,
body.siavce-redesign-total .chart-wrap h5 {font-size:.9rem!important;}
@media(max-width:900px){body.siavce-view-publis .publis-grid,body.siavce-redesign-total .publis-grid{grid-template-columns:1fr!important;}body.siavce-view-publis .publis-kpis,body.siavce-redesign-total .publis-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:600px){body.siavce-view-publis .publis-shell,body.siavce-redesign-total .publis-shell{width:calc(100% - 20px)!important;}body.siavce-view-publis .publis-filters,body.siavce-redesign-total .publis-filters{grid-template-columns:1fr!important;}body.siavce-view-publis .publis-kpis,body.siavce-redesign-total .publis-kpis,body.siavce-view-publis .publis-summary-grid,body.siavce-redesign-total .publis-summary-grid{grid-template-columns:1fr!important;}}
body.siavce-public-screen .siavce-login-v7-session-card p { color:#29446f !important; opacity:1 !important; }
/* Resultado publico del checkout: tarjeta clara y adaptable */
body.store-checkout-page {
  min-height:100vh !important;
  margin:0 !important;
  padding:32px 18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#f4f8fc !important;
  color:#183153 !important;
  font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif !important;
}
body.store-checkout-page .checkout-result-shell { width:min(100%,560px); }
body.store-checkout-page .checkout-result-card {
  box-sizing:border-box;
  width:100%;
  padding:36px 34px 32px;
  text-align:center;
  background:#fff;
  border:1px solid #dbe6f2;
  border-radius:24px;
  box-shadow:0 18px 45px rgba(35,76,125,.12);
}
body.store-checkout-page .checkout-result-logo { display:block; width:min(220px,72%); height:auto; max-height:78px; object-fit:contain; margin:0 auto 24px; }
body.store-checkout-page .checkout-result-status {
  display:grid; place-items:center; width:58px; height:58px; margin:0 auto 16px;
  border-radius:50%; font-size:30px; font-weight:800; line-height:1;
}
body.store-checkout-page.is-success .checkout-result-status { color:#087443; background:#dcf8e9; }
body.store-checkout-page.is-pending .checkout-result-status { color:#9a6200; background:#fff3d2; }
body.store-checkout-page.is-failure .checkout-result-status { color:#b42318; background:#ffe5e3; }
body.store-checkout-page .checkout-result-kicker { margin:0 0 8px; color:#1769d1; font-size:13px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
body.store-checkout-page .checkout-result-card h1 { margin:0 0 12px; color:#183153; font-size:clamp(25px,5vw,34px); line-height:1.15; }
body.store-checkout-page .checkout-result-message { margin:0 auto 14px; color:#344b68; font-size:16px; line-height:1.55; }
body.store-checkout-page .checkout-result-detail { margin:0 auto 26px; color:#71839b; font-size:14px; line-height:1.5; }
body.store-checkout-page .checkout-result-detail strong { color:#183153; }
body.store-checkout-page .checkout-result-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 22px; border-radius:11px; background:#1769d1; color:#fff !important; font-weight:800; text-decoration:none !important; box-shadow:0 8px 18px rgba(23,105,209,.2); }
body.store-checkout-page .checkout-result-button:hover { background:#1255aa; }
@media (max-width:576px) { body.store-checkout-page { padding:18px 12px !important; } body.store-checkout-page .checkout-result-card { padding:28px 20px 24px; border-radius:18px; } }
/* Onboarding legacy de alta de empresa: adapta todos sus pasos al tema claro */
body.siavce-view-cre-empr-p { min-height:100vh !important; background:#f4f8fc !important; color:#29446f !important; padding:28px 18px !important; }
body.siavce-view-cre-empr-p .shell { width:min(1120px,100%) !important; margin:0 auto !important; }
body.siavce-view-cre-empr-p :where(.hero,.section-card,.summary-card,.next-card,.tile) { background:#fff !important; color:#29446f !important; border:1px solid #dbe6f2 !important; border-radius:18px !important; box-shadow:0 10px 28px rgba(25,72,125,.08) !important; backdrop-filter:none !important; }
body.siavce-view-cre-empr-p :where(.hero,.section-card) { padding:28px !important; margin-bottom:16px !important; }
body.siavce-view-cre-empr-p :where(h1,h2,h3,h4,h5,strong,.eyebrow,.status-pill) { color:#17345f !important; }
body.siavce-view-cre-empr-p :where(p,.section-copy,.tile span,.summary-list span,.next-card p) { color:#60738f !important; opacity:1 !important; line-height:1.55 !important; }
body.siavce-view-cre-empr-p .tile { padding:16px !important; }
body.siavce-view-cre-empr-p .status-pill { display:inline-flex !important; padding:7px 11px !important; border-radius:999px !important; background:#eaf2ff !important; color:#1769d1 !important; }
body.siavce-view-cre-empr-p :where(.btn-glass,.btn-outline-glass) { display:inline-flex !important; align-items:center !important; justify-content:center !important; min-height:42px !important; padding:10px 16px !important; border-radius:10px !important; text-decoration:none !important; font-weight:800 !important; }
body.siavce-view-cre-empr-p .btn-glass { background:#1769d1 !important; color:#fff !important; border:1px solid #1769d1 !important; }
body.siavce-view-cre-empr-p .btn-outline-glass { background:#fff !important; color:#29446f !important; border:1px solid #cbd9e8 !important; }
body.siavce-view-cre-empr-p :where(.ok-box,.error-box) { border-radius:12px !important; padding:14px 16px !important; }
body.siavce-view-cre-empr-p .ok-box { background:#eaf8f0 !important; color:#087443 !important; border:1px solid #b8e7cb !important; }
body.siavce-view-cre-empr-p .error-box { background:#fff1f0 !important; color:#b42318 !important; border:1px solid #f3c7c2 !important; }

/* Edición de clientes: mantener el formulario dentro del lienzo institucional */
body.siavce-redesign-total.siavce-view-formulario_editar_cliente {
  background:#f4f8fc !important;
}
body.siavce-redesign-total.siavce-view-dashboard_cita {
  background:#f4f8fc !important;
}
body.siavce-redesign-total.siavce-view-dashboard_cita #siavceAppMain {
  background:#f4f8fc !important;
}
body.siavce-redesign-total.siavce-view-dashboard_cita .cita-detail-page {
  background:#f4f8fc !important;
  background-image:none !important;
}
body.siavce-redesign-total.siavce-view-tickets_lista .ticket-list-page,
body.siavce-redesign-total.siavce-view-tickets_lista .ticket-hero,
body.siavce-redesign-total.siavce-view-tickets_lista .table-card {
  color:#17345f !important;
}
body.siavce-redesign-total.siavce-view-tickets_lista .table-card table,
body.siavce-redesign-total.siavce-view-tickets_lista .table-card td,
body.siavce-redesign-total.siavce-view-tickets_lista .table-card th,
body.siavce-redesign-total.siavce-view-tickets_lista .table-card tr {
  color:#29446f !important;
  background:#fff !important;
  border-color:#dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-tickets_lista .table-card :where(.ticket-folio,.ticket-title-cell,.assigned-text,.date-text) {
  color:#29446f !important;
}
body.siavce-redesign-total.siavce-view-tickets_lista .table-card .badge-soft {
  color:#1769d1 !important;
  background:#eaf2ff !important;
  border:1px solid #b9d2f2 !important;
}
body.siavce-redesign-total.siavce-view-tickets_lista .table-card .badge-priority {
  color:#8a5a00 !important;
  background:#fff3d2 !important;
  border:1px solid #f1d58c !important;
}
body.siavce-redesign-total.siavce-view-formulario_editar_cliente #siavceAppMain {
  background:#f4f8fc !important;
}
body.siavce-redesign-total.siavce-view-formulario_editar_cliente .glass-card {
  background:#fff !important;
  border:1px solid #dbe6f2 !important;
  box-shadow:0 10px 28px rgba(25,72,125,.08) !important;
  color:#17345f !important;
}
body.siavce-redesign-total.siavce-view-formulario_editar_cliente .glass-card > div:first-child {
  border-bottom:1px solid #dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-formulario_editar_cliente .glass-card :where(h2,h4,label,.form-label) {
  color:#17345f !important;
}
body.siavce-redesign-total.siavce-view-formulario_editar_cliente .glass-card .opacity-75 {
  opacity:1 !important;
  color:#60738f !important;
}
@media (max-width:700px) { body.siavce-view-cre-empr-p { padding:16px 12px !important; } body.siavce-view-cre-empr-p :where(.hero,.section-card) { padding:20px !important; } body.siavce-view-cre-empr-p .hero-grid,.summary-grid,.next-grid,.stats { grid-template-columns:1fr !important; } }

/* Compatibilidad visual para componentes Bootstrap heredados del tema oscuro */
body.siavce-redesign-total :where(.text-white-50) {
  color:#60738f !important;
  opacity:1 !important;
}
body.siavce-redesign-total :where(.btn-outline-light) {
  color:#1769d1 !important;
  background:#fff !important;
  border-color:#b9cce2 !important;
  box-shadow:none !important;
}
body.siavce-redesign-total :where(.btn-outline-light:hover,.btn-outline-light:focus) {
  color:#1255aa !important;
  background:#eaf2ff !important;
  border-color:#1769d1 !important;
}
body.siavce-redesign-total :where(.form-control.bg-transparent,.form-select.bg-transparent) {
  background:#fff !important;
  color:#17345f !important;
  border-color:#cbd9e8 !important;
}
body.siavce-redesign-total :where(.form-control.text-white,.form-select.text-white) {
  color:#17345f !important;
}
body.siavce-redesign-total :where(.form-control.bg-dark,.form-select.bg-dark) {
  background:#fff !important;
  color:#17345f !important;
  border:1px solid #cbd9e8 !important;
}
/* Calendario legado: recuperar contraste sin cambiar sus acciones */
body.siavce-redesign-total.siavce-view-citascalendario_b .form-container {
  color:#60738f !important;
}
body.siavce-redesign-total.siavce-view-citascalendario_b table,
body.siavce-redesign-total.siavce-view-citascalendario_b table td,
body.siavce-redesign-total.siavce-view-citascalendario_b table th {
  color:#17345f !important;
  background:#fff !important;
  border-color:#dbe6f2 !important;
}
body.siavce-redesign-total.siavce-view-citascalendario_b .numerodia {
  color:#17345f !important;
  text-shadow:none !important;
}
body.siavce-redesign-total.siavce-view-citascalendario_b .fondodia,
body.siavce-redesign-total.siavce-view-citascalendario_b [class*="cal"] {
  color:#29446f !important;
  text-shadow:none !important;
}
body.siavce-redesign-total.siavce-view-citascalendario_b .fondodia a,
body.siavce-redesign-total.siavce-view-citascalendario_b [class*="cal"] a {
  color:#1769d1 !important;
  text-shadow:none !important;
}
