/* Diseño aislado para no interferir con temas y plugins VDM. */
.vdmu-login,.vdmu-panel{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif!important;box-sizing:border-box;color:#1d2b43;line-height:1.5;font-size:14px}
.vdmu-login *, .vdmu-panel *{box-sizing:border-box}
.vdmu-login{max-width:440px;margin:clamp(24px,6vh,90px) auto;padding:36px 32px;border:1px solid #e2e7ef;background:#fff;border-radius:20px;box-shadow:0 18px 55px rgba(30,42,70,.10)}
.vdmu-login h2{font-size:26px;margin:8px 0 4px;color:#15233d;letter-spacing:-.6px}
.vdmu-login p{color:#68778f;margin:0 0 24px}
.vdmu-lock{height:48px;width:48px;border-radius:14px;display:grid;place-items:center;background:#edf1ff;color:#405cf5;font-size:25px}
.vdmu-login form,.vdmu-panel form:not(.vdmu-inline):not(.vdmu-search){display:grid;gap:12px}
.vdmu-login label,.vdmu-panel label{font-size:13px;font-weight:650;display:grid;gap:5px;color:#40506a}
.vdmu-login input,.vdmu-panel input:not([type=checkbox]):not([type=hidden]),.vdmu-panel textarea,.vdmu-panel select{background:#fff!important;border:1px solid #ccd5e2!important;border-radius:9px;padding:10px 12px!important;min-width:0;min-height:39px;width:100%;font:inherit!important;color:#243450!important;box-shadow:none!important}
.vdmu-login input:focus,.vdmu-panel input:focus,.vdmu-panel textarea:focus{outline:2px solid #a5b3fb;outline-offset:1px}
.vdmu-btn{background:#405cf5!important;color:#fff!important;border:0!important;border-radius:9px!important;display:inline-flex;justify-content:center;align-items:center;gap:6px;padding:10px 14px!important;font:650 13px system-ui,sans-serif!important;cursor:pointer;text-decoration:none!important;line-height:1.25!important;white-space:nowrap;min-height:36px}
.vdmu-btn:hover{background:#344bd2!important;color:#fff!important}
.vdmu-secondary{color:#374864!important;background:#e9edf5!important}
.vdmu-secondary:hover{color:#1d2b43!important;background:#dce3ee!important}
.vdmu-login .vdmu-btn{width:100%;margin:5px 0 0}
.vdmu-link{display:inline-block;margin:14px 0 0;font-size:13px;color:#405cf5!important;text-decoration:none}
.vdmu-error{background:#fff0ee;color:#a83220;padding:11px 13px;border:1px solid #fac6c0;border-radius:9px;margin-bottom:13px}
.vdmu-notice{padding:10px 12px;border-radius:9px;border:1px solid #bad8d4;background:#eff9f7;color:#14695d;margin:8px 0 16px}
.vdmu-panel{padding:6px;max-width:1040px;margin:0 auto}
.vdmu-panel h2{font-size:24px;color:#17253e;margin:8px 0 8px;line-height:1.25}
.vdmu-panel h3{font-size:16px;color:#1d2b43;margin:0 0 16px;line-height:1.3}
.vdmu-panel>p{color:#64738a;margin:0 0 18px}
.vdmu-hero{display:flex;align-items:center;gap:18px;border:1px solid #e0e6f0;border-radius:16px;background:linear-gradient(120deg,#eef2ff,#fff);padding:20px;margin:0 0 17px}
.vdmu-hero h2{margin:0 0 3px}.vdmu-hero p{margin:0 0 8px;color:#65728a;overflow-wrap:anywhere}
.vdmu-avatar img,.vdmu-person img{display:block;max-width:100%;width:100%;height:auto;border-radius:50%}
.vdmu-avatar{width:74px;height:74px;flex:0 0 74px;border-radius:50%;overflow:hidden;background:#ddd}
.vdmu-pill{display:inline-block;padding:4px 10px;border-radius:999px;background:#e8edff;color:#3c4c95;font-size:11px;font-weight:650}
.vdmu-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.vdmu-work-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.vdmu-card{background:#fff;border:1px solid #e2e7f0;border-radius:14px;padding:20px;margin:0 0 16px;box-shadow:0 3px 13px rgba(25,36,66,.03);overflow-wrap:anywhere}
.vdmu-card p{margin:8px 0;color:#5f6d83}
.vdmu-panel form label.vdmu-check{display:flex;align-items:start;font-weight:500;gap:8px;line-height:1.4}
.vdmu-panel form label.vdmu-check input{width:16px;height:16px;flex:0 0 16px;margin:1px 0 0}
.vdmu-panel .vdmu-btn{justify-self:start}
.vdmu-search{display:grid;grid-template-columns:minmax(120px,1fr) 120px auto;gap:8px;align-items:center}
.vdmu-person{display:flex;gap:10px;align-items:center;border-top:1px solid #edf1f6;padding:12px 0;min-width:0}
.vdmu-person img{width:42px;flex:0 0 42px;height:42px}
.vdmu-person strong{font-size:13px;font-weight:650}.vdmu-spacer{flex:1}
.vdmu-person .vdmu-inline{margin:0;display:inline-flex;align-items:center}
.vdmu-person .vdmu-btn{padding:8px 10px!important;min-height:32px}
.vdmu-muted{color:#758197;font-size:12px}
.vdmu-top{display:flex;align-items:start;justify-content:space-between;gap:10px}
.vdmu-work-body{font-size:13px;line-height:1.55;color:#26364e}
.vdmu-work-body p{color:inherit}
.vdmu-desk-account{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}
.vdmu-desk-who{border:0;background:rgba(255,255,255,.8);border-radius:9px;padding:5px 10px;color:#253755;display:flex;align-items:center;gap:7px;cursor:pointer;font:650 12px system-ui,sans-serif;text-align:left;max-width:260px}
.vdmu-desk-who:hover{background:#e8edff}
.vdmu-desk-who-icon{width:26px;height:26px;border-radius:50%;background:#405cf5;color:#fff;display:grid;place-items:center;flex:none}
.vdmu-desk-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vdmu-desk-role{display:block;font-size:10px;color:#79869b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.vdmu-desk-exit{padding:7px;font-size:12px;text-decoration:none!important;color:#52607a!important;white-space:nowrap}
.vdm-desk--oscuro .vdmu-desk-who{background:#293249;color:#fff}.vdm-desk--oscuro .vdmu-desk-role{color:#b0b9ce}.vdm-desk--oscuro .vdmu-desk-exit{color:#fff!important}
@media(max-width:700px){.vdmu-grid,.vdmu-work-grid{grid-template-columns:1fr}.vdmu-card{padding:15px}.vdmu-login{margin:22px 12px;padding:24px 21px}.vdmu-search{grid-template-columns:1fr 110px}.vdmu-search button{grid-column:1/-1}.vdmu-person{flex-wrap:wrap}.vdmu-person .vdmu-spacer{flex-basis:8px}.vdmu-desk-who{padding:5px}.vdmu-desk-name{max-width:95px}.vdmu-desk-role{display:none}.vdmu-desk-exit{font-size:11px}}
@media(max-width:430px){.vdmu-desk-name{max-width:55px}.vdmu-desk-exit{font-size:10px}}
/* La barra superior del Escritorio Modal admite ahora un área de cuenta. */
.vdm-desk .vdm-desk__toolbar{gap:12px}
.vdm-desk .vdm-desk__search-wrap{width:auto;flex:1 1 160px;max-width:340px;min-width:90px;margin-left:auto}
.vdm-desk .vdm-desk__brand{flex:0 1 auto;min-width:0;max-width:33%}
.vdm-desk .vdmu-desk-account{flex:0 0 auto;margin-left:0}
@media(max-width:700px){
 .vdm-desk .vdm-desk__toolbar{gap:6px;padding:8px}
 .vdm-desk .vdm-desk__brand{max-width:31%;flex:0 1 auto}
 .vdm-desk .vdm-desk__search-wrap{width:0;flex:1 1 55px;min-width:45px;padding:5px}
 .vdm-desk .vdmu-desk-account{gap:2px}
 .vdm-desk .vdmu-desk-who{max-width:84px}
 .vdm-desk .vdmu-desk-who-icon{height:24px;width:24px}
}
@media(max-width:430px){.vdm-desk .vdm-desk__brand{max-width:27%}.vdm-desk .vdmu-desk-who{padding:4px}.vdm-desk .vdmu-desk-name{display:none}.vdm-desk .vdm-desk__search-wrap input{font-size:12px}}
