.tm-loading[hidden]{display:none!important}.tm-loading{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:rgba(15,37,63,.45);padding:24px;cursor:progress}.tm-loading-card{display:flex;flex-direction:column;align-items:center;gap:18px;background:#fff;border:1px solid #c3d5e5;border-radius:14px;padding:30px 40px;box-shadow:0 16px 60px #102e4c55;max-width:90vw;text-align:center;color:#172f4c;font-family:Segoe UI,Arial,sans-serif}.tm-loading-card strong{font-size:20px}.tm-loading-card small{color:#354e68;font-size:14px}.tm-loading-spinner{width:38px;height:38px;border:4px solid #d6e5f4;border-top-color:#0874e5;border-radius:50%;animation:tm-loading-turn .8s linear infinite}@keyframes tm-loading-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tm-loading-spinner{animation:none}}@media print{.tm-loading{display:none!important}}

/* Norma de oro: fecha legible y calendario con ancho estándar. */
body input[type=date]{width:170px!important;max-width:100%;min-width:0;flex:0 0 auto;box-sizing:border-box}

.tm-user-selector-box{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.tm-user-selector-box>input:not([type=hidden]){flex:1 1 120px;min-width:min(120px,100%);width:0;box-sizing:border-box}.tm-user-selector-box>button,.tm-user-selector-box>a{flex-shrink:0}.tm-user-selector-avatar{display:inline-grid;place-items:center;flex-shrink:0;overflow:hidden;border-radius:50%;background:#dceaff;color:#174a7a;font:700 11px system-ui;box-shadow:inset 0 0 0 1px #b6cfee}.tm-user-selector-avatar img{width:100%;height:100%;object-fit:cover}.tm-user-selector-avatar [hidden]{display:none!important}
@media(max-width:450px){.tm-user-selector-box{flex-wrap:wrap}.tm-user-selector-box>input:not([type=hidden]){flex:1 0 100%;width:100%}}

/* Todos los checkbox conservan su estado y eventos, con aspecto de interruptor. */
html body input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;position:relative!important;width:38px!important;height:22px!important;min-width:38px!important;max-width:38px!important;min-height:22px!important;padding:0!important;flex:0 0 38px!important;border:1px solid #9cacc0!important;border-radius:999px!important;background:#c7d1df!important;box-shadow:none!important;cursor:pointer;vertical-align:middle;transition:background .15s ease}
html body input[type=checkbox]::before{content:""!important;position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 3px #233d5b33;transform:translateX(0);transition:transform .15s ease}
html body input[type=checkbox]::after{content:none!important}
html body input[type=checkbox]:checked{background:#1478df!important;border-color:#1478df!important}
html body input[type=checkbox]:checked::before{transform:translateX(16px)}
html body input[type=checkbox]:indeterminate{background:#d89727!important;border-color:#d89727!important}
html body input[type=checkbox]:indeterminate::before{transform:translateX(8px);background:linear-gradient(white,white) center/8px 2px no-repeat,#725011}
html body input[type=checkbox]:disabled{opacity:.55;cursor:default}
html body input[type=checkbox]:focus-visible{outline:3px solid #73b8ff!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){html body input[type=checkbox],html body input[type=checkbox]::before{transition:none}}

html body input[type=checkbox]::before{left:2px!important;top:2px!important;width:16px!important;height:16px!important;border-radius:50%!important;transform:translateX(0)!important}
html body input[type=checkbox]:checked::before{transform:translateX(16px)!important}
html body input[type=checkbox]:indeterminate::before{transform:translateX(8px)!important}
html body .ex-type-list input[type=checkbox]:indeterminate{background:#c83a38!important;border-color:#c83a38!important}
html body .ex-type-list input[type=checkbox]:indeterminate::before{background:linear-gradient(white,white) center/8px 2px no-repeat,#8b2727!important}

/* Usuarios y líderes: diámetro único, sin estiramiento ni relleno heredado. */
html body .tm-user-selector-avatar,html body .dash-filter-avatar{box-sizing:border-box!important;width:var(--tm-avatar-size,32px)!important;height:var(--tm-avatar-size,32px)!important;min-width:var(--tm-avatar-size,32px)!important;max-width:var(--tm-avatar-size,32px)!important;min-height:var(--tm-avatar-size,32px)!important;max-height:var(--tm-avatar-size,32px)!important;flex:0 0 var(--tm-avatar-size,32px)!important;aspect-ratio:1/1!important;padding:0!important;border-radius:50%!important;align-self:center;overflow:hidden}
html body .tm-user-selector-avatar img,html body .dash-filter-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;padding:0;min-width:0;min-height:0}
