/* Shared judicial overlay. No change to application data, routes or permissions. */
.al-judicial-dialog{border:0;padding:0;margin:0 0 0 auto;inset:0 0 0 auto;width:min(720px,calc(100vw - 32px));max-width:none;height:100dvh;max-height:none;background:transparent;color:#edf5ff;overflow:visible}
.al-judicial-dialog::backdrop{background:rgba(3,12,25,.58)}
.al-judicial-panel{display:flex;flex-direction:column;height:100%;min-height:0;background:#101e31;border-left:1px solid #31425a;box-shadow:-18px 0 60px #0003}
.al-judicial-panel__header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #31425a;flex:none;font-family:Inter,system-ui,sans-serif}
.al-judicial-panel__header h2{margin:0;font-size:20px;color:inherit}.al-judicial-panel__header p{margin:3px 0 0;font-size:12px;color:#afc0d5}
.al-judicial-close{width:40px;height:40px;border:1px solid #526780;border-radius:9px;background:transparent;color:inherit;font-size:25px;line-height:1;cursor:pointer}.al-judicial-close:hover{background:#243951}.al-judicial-close:focus-visible{outline:3px solid #58b5ff;outline-offset:2px}
.al-judicial-dialog .al-judicial-frame{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;min-width:0;border:0;flex:1;min-height:0;background:#101e31}.al-judicial-loading{padding:12px 20px;font:13px Inter,system-ui,sans-serif}.al-judicial-loading[hidden]{display:none}
body.light-theme .al-judicial-panel,body.light-theme-cards .al-judicial-panel,body[data-theme=light] .al-judicial-panel{background:#fff;color:#172033;border-color:#dbe4ee}
body.light-theme .al-judicial-panel__header,body.light-theme-cards .al-judicial-panel__header,body[data-theme=light] .al-judicial-panel__header{border-color:#dbe4ee}
body.light-theme .al-judicial-panel__header p,body.light-theme-cards .al-judicial-panel__header p,body[data-theme=light] .al-judicial-panel__header p{color:#596b80}
body.al-judicial-embedded-add .container{margin:0!important;padding:16px!important;max-width:100%!important}body.al-judicial-embedded-add .main-card{padding:18px!important;border:0;box-shadow:none}body.al-judicial-embedded-add .page-title{font-size:20px!important}
@media(max-width:640px){.al-judicial-dialog{width:100vw}.al-judicial-panel__header{padding:12px 16px}.al-judicial-close{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.al-judicial-dialog *{scroll-behavior:auto!important}}
html[data-judicial-reduced-motion=true] .al-judicial-panel,html[data-judicial-reduced-motion=true] .al-judicial-frame{animation:none!important;transition:none!important}

body.al-judicial-embedded-add .consulta-tab-nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:5px!important;border-radius:10px!important;box-shadow:none!important;margin-bottom:20px!important}
body.al-judicial-embedded-add .consulta-tab-btn{padding:10px 8px!important;min-height:42px!important;font-size:13px!important;border-radius:7px!important;box-shadow:none!important}
body.al-judicial-embedded-add .form-label{font-size:13px!important}body.al-judicial-embedded-add .form-control{font-size:16px!important;border-radius:8px!important;box-shadow:none!important}
body.al-judicial-embedded-add .btn-sleek{font-size:13px!important;padding:10px 12px!important;border-radius:8px!important;box-shadow:none!important}
body.al-judicial-embedded-add .cupos-bar{margin-bottom:15px!important}
