html, body {
    min-height: 100%;
    background: #eef2f5;
    color: #17212b;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.login-shell,
.dashboard-shell {
    min-height: 100vh;
    padding: clamp(1rem, 4vw, 2.5rem);
}

.login-shell {
    display: grid;
    place-items: center;
    background:
        linear-gradient(rgba(10, 24, 38, 0.72), rgba(10, 24, 38, 0.72)),
        url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1200' height='800' fill='%23293844'/%3E%3Cpath d='M0 560C170 510 260 600 410 540C560 480 630 340 800 370C970 400 1010 540 1200 480V800H0Z' fill='%233b4b55'/%3E%3Cpath d='M0 620C230 590 330 690 520 620C710 550 780 470 960 510C1060 532 1120 590 1200 570V800H0Z' fill='%231b2a35'/%3E%3Crect x='78' y='152' width='215' height='18' rx='4' fill='%23d8b64c' opacity='.55'/%3E%3Crect x='78' y='188' width='330' height='10' rx='3' fill='%23eef2f5' opacity='.28'/%3E%3Crect x='78' y='214' width='270' height='10' rx='3' fill='%23eef2f5' opacity='.22'/%3E%3Ccircle cx='982' cy='202' r='76' fill='%23d8b64c' opacity='.22'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.login-panel {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    color: #fff;
}

.login-brand {
    display: grid;
    justify-items: start;
    gap: clamp(1rem, 3vw, 1.6rem);
}

.login-logo {
    width: clamp(9rem, 22vw, 13.5rem);
    height: auto;
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .34));
}

.eyebrow {
    margin: 0 0 .4rem;
    color: #d8b64c;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08rem;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.3rem, 7vw, 5.4rem);
    font-weight: 800;
    line-height: .95;
}

.login-copy {
    max-width: 34rem;
    margin: 1rem 0 0;
    color: rgba(255,255,255,.78);
    font-size: 1.05rem;
}

.login-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1.1rem, 3vw, 1.45rem);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    color: #17212b;
}

.field-group {
    display: grid;
    gap: .4rem;
}

.field-group label {
    font-size: .86rem;
    font-weight: 700;
}

.form-control {
    min-height: 3rem;
    border-radius: 6px;
}

.agent-picker {
    position: relative;
}

.agent-picker-panel {
    position: absolute;
    top: calc(100% + .15rem);
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    max-height: 18rem;
    overflow-y: auto;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .2);
}

.agent-picker-panel.is-open {
    display: grid;
}

.agent-picker-option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    padding: .65rem .8rem;
    background: #fff;
    color: #12202f;
    font: inherit;
    text-align: left;
}

.agent-picker-option:hover,
.agent-picker-option:focus {
    background: #e8f4fb;
    outline: none;
}

.agent-picker-option.empty-option {
    color: #6b7280;
    cursor: default;
}

.agent-picker-option.empty-option:hover,
.agent-picker-option.empty-option:focus {
    background: #fff;
}

.inline-button-field {
    position: relative;
}

.inline-button-field .form-control {
    padding-right: 6.4rem;
}

.inline-button-field.password-field .form-control {
    padding-right: 3.7rem;
}

.inline-button-field.three-actions .form-control {
    padding-right: 12.4rem;
}

.inline-button-field.doi-three-actions .form-control {
    padding-right: 13.3rem;
}

.inline-button-field.doi-action-three-buttons .form-control {
    padding-right: 11.4rem;
}

.inline-button-field.vehicle-lookup-actions .form-control {
    padding-right: 12.4rem;
}

.inline-button-field.doi-check-inline-actions .form-control {
    padding-right: 12.3rem;
}

.inline-button-field.doi-check-read-actions .form-control {
    padding-right: 7.95rem;
}

.inline-button-field.doi-action-four-buttons .form-control {
    padding-right: 15.9rem;
}

.inline-button-field.doi-check-dgt-pip-actions .form-control {
    padding-right: 12.15rem;
}

.inline-button-field.doi-check-single-action .form-control {
    padding-right: 3.8rem;
}

.inline-button-field.vehicle-related-actions .form-control {
    padding-right: 11.2rem;
}

.inline-field-button {
    position: absolute;
    top: 50%;
    right: .35rem;
    display: inline-grid;
    place-items: center;
    width: auto;
    min-height: 2.15rem;
    padding: 0 .65rem;
    border: 0;
    border-radius: 6px;
    background: #123f73;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.password-toggle-button {
    width: 2.75rem;
    min-width: 2.75rem;
    background: #174a80;
}

.password-toggle-button::before {
    content: "";
    width: 1.18rem;
    height: .78rem;
    border: 2px solid #fff;
    border-radius: 999px / 760px;
}

.password-toggle-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.password-toggle-button.is-visible::after {
    width: 1.45rem;
    height: 2px;
    border-radius: 0;
    background: #fff;
    transform: translate(-50%, -50%) rotate(-35deg);
}

.inline-button-field.three-actions .inline-field-button:first-of-type {
    right: 8.35rem;
}

.inline-button-field.three-actions .inline-field-button:last-of-type {
    right: .35rem;
    min-width: 7.55rem;
}

.inline-button-field.doi-action-three-buttons .dni-inline-button {
    right: 7.75rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-action-three-buttons .dgt-inline-button {
    right: 4.1rem;
    min-width: 3.3rem;
}

.inline-button-field.doi-action-three-buttons .ip-inline-button {
    right: .35rem;
    min-width: 3.4rem;
}

.inline-button-field.doi-three-actions .folder-inline-button {
    right: 9.55rem;
    min-width: 2.75rem;
}

.inline-button-field.doi-three-actions .dgt-inline-button {
    right: 5.85rem;
    min-width: 3.3rem;
}

.inline-button-field.doi-three-actions .ip-inline-button {
    right: .35rem;
    min-width: 5rem;
}

.inline-button-field.doi-three-actions .dni-folder-action::before {
    border-color: #fff;
}

.inline-button-field.doi-three-actions .dni-folder-action::after {
    background: #fff;
}

.inline-button-field.vehicle-lookup-actions .inline-field-button:first-of-type {
    right: 8.35rem;
}

.inline-button-field.vehicle-lookup-actions .inline-field-button:last-of-type {
    right: .35rem;
    min-width: 7.55rem;
}

.inline-button-field.doi-check-inline-actions .doi-check-action {
    right: 7.9rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-check-read-actions .doi-check-action {
    right: 4.2rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-check-inline-actions .dni-inline-button,
.inline-button-field.doi-check-inline-actions .doi-read-action {
    right: 4.2rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-check-read-actions .dni-inline-button,
.inline-button-field.doi-check-read-actions .doi-read-action {
    right: .35rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-check-inline-actions .ip-inline-button {
    right: .35rem;
    min-width: 3.5rem;
}

.inline-button-field.doi-action-four-buttons .doi-check-action {
    right: 12.15rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-check-dgt-pip-actions .doi-check-action {
    right: 8.45rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-action-four-buttons .dni-inline-button {
    right: 8.45rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-action-four-buttons .dgt-inline-button,
.inline-button-field.doi-check-dgt-pip-actions .dgt-inline-button {
    right: 4.75rem;
    min-width: 3.35rem;
}

.inline-button-field.doi-action-four-buttons .ip-inline-button,
.inline-button-field.doi-check-dgt-pip-actions .ip-inline-button {
    right: .35rem;
    min-width: 4rem;
}

.inline-button-field.doi-check-single-action .doi-check-action {
    right: .35rem;
    min-width: 3.1rem;
}

.inline-button-field.vehicle-related-actions .inline-field-button {
    width: 2.35rem !important;
    min-width: 2.35rem;
    max-width: 2.35rem;
    padding: 0 .55rem;
}

.inline-button-field.vehicle-related-actions .action-camera {
    right: 8.45rem;
}

.inline-button-field.vehicle-related-actions .action-folder {
    right: 5.75rem;
}

.inline-button-field.vehicle-related-actions .action-vip {
    right: .35rem;
    width: 5rem !important;
    min-width: 5rem;
    max-width: 5rem;
}

.inline-button-field.vehicle-related-actions .embedded-icon-button {
    position: absolute !important;
    top: 50% !important;
    display: inline-grid !important;
    place-items: center;
    width: 2.35rem !important;
    min-width: 2.35rem !important;
    max-width: 2.35rem !important;
    height: 2.15rem !important;
    min-height: 2.15rem !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
}

.inline-button-field.vehicle-related-actions .dni-folder-action::before {
    border-color: #fff;
}

.inline-button-field.vehicle-related-actions .dni-folder-action::after {
    background: #fff;
}

.inline-button-field.location-actions .form-control {
    padding-right: 11.8rem;
}

.inline-button-field.coordinate-actions .form-control {
    padding-right: 13rem;
}

.inline-button-field.location-actions .inline-field-button:first-of-type {
    right: 7.35rem;
}

.inline-button-field.location-actions .inline-field-button:last-of-type {
    right: .35rem;
}

.inline-button-field.coordinate-actions .inline-field-button:first-of-type {
    right: 5.05rem;
    min-width: 7.15rem;
}

.inline-button-field.coordinate-actions .inline-field-button:last-of-type {
    right: .55rem;
    min-width: 4rem;
}

.ip-inline-button {
    background: #7a271a;
}

.vehicle-interest-field label {
    color: #b42318;
}

.vehicle-interest-inline {
    display: inline-flex;
    margin-left: .55rem;
    padding: .16rem .45rem;
    border-radius: 999px;
    background: #fee4e2;
    color: #b42318;
    font-size: .78rem;
    font-weight: 900;
    vertical-align: middle;
}

.vehicle-interest-input {
    background: #fff1f0 !important;
    border-color: #d92d20 !important;
    color: #7a170f;
}

.compact-summary {
    margin-top: .35rem;
    padding: .45rem .6rem;
    border-left: 3px solid #1f4f7a;
    border-radius: 4px;
    background: #edf6fb;
    color: #43576a;
    font-size: .78rem;
    line-height: 1.35;
}

.vehicle-interest-field .compact-summary {
    border-left-color: #b42318;
    background: #fff1f0;
    color: #7a170f;
}

.phone-highlight-field {
    grid-column: span 1;
}

.phone-highlight-field label {
    color: #123f73;
    font-weight: 900;
}

.phone-inline-actions {
    display: grid;
    grid-template-columns: minmax(7.5rem, 1fr) 6.35rem;
    align-items: center;
    gap: .35rem;
    min-height: 3.2rem;
    padding: .25rem .35rem .25rem .75rem;
    border: 1px solid #2b6cb0;
    border-radius: 6px;
    background: #fff;
}

.phone-inline-actions:has(.phone-special-input) {
    border-color: #d92d20;
    background: #fff1f0;
}

.phone-highlight-input {
    min-width: 0;
    width: 100%;
    min-height: 2.35rem;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    color: #123f73 !important;
    font-size: 1.25rem;
    font-weight: 900;
}

.phone-special-input {
    min-width: 0;
    width: 100%;
    min-height: 2.35rem;
    border: 0 !important;
    outline: 0;
    background: #fff1f0 !important;
    color: #b42318 !important;
    font-size: 1.25rem;
    font-weight: 900;
}

.phone-track-action {
    display: inline-grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    height: 2.35rem;
    min-height: 2.35rem;
    margin: 0;
    padding: 0 .45rem;
    border: 0;
    border-radius: 7px;
    background: #174a7e;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

.phone-special-summary {
    display: block;
    width: 100%;
    max-width: 100%;
    border-left-color: #d92d20;
    background: #fff1f0;
    color: #7a170f;
    font-weight: 800;
    overflow-wrap: anywhere;
    white-space: normal;
}

.dgt-summary-text {
    color: #123f73;
    border-color: #2b6cb0;
    background: #eff6ff;
    font-weight: 700;
}

.article-search-box {
    position: relative;
}

.article-suggestions {
    position: absolute;
    z-index: 80;
    top: calc(100% + .25rem);
    left: 0;
    right: 0;
    max-height: 18rem;
    overflow-y: auto;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(10, 31, 48, .18);
}

.article-suggestion {
    display: block;
    width: 100%;
    padding: .65rem .8rem;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    background: #fff;
    color: #142231;
    text-align: left;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.35;
}

.article-suggestion:hover,
.article-suggestion:focus {
    background: #eef6ff;
    outline: none;
}

.infraction-text {
    font-size: .92rem;
    line-height: 1.35;
}

.primary-action,
.secondary-action,
.police-action,
.danger-action,
.success-action,
.whatsapp-action,
.module-button {
    border: 0;
    border-radius: 6px;
    font-weight: 700;
}

.primary-action {
    min-height: 3.1rem;
    color: #fff;
    background: #14532d;
}

.primary-action:hover {
    background: #0f3f22;
}

.primary-action:disabled {
    opacity: .72;
}

.secondary-action {
    min-height: 2.75rem;
    padding: 0 1rem;
    color: #17212b;
    background: #dfe7ec;
}

.toolbar-list-action,
.toolbar-agent-action,
.toolbar-print-action,
.toolbar-back-action {
    min-height: 2.75rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-weight: 800;
}

.toolbar-list-action {
    background: #1f6f8b;
}

.toolbar-agent-action {
    background: #277a4f;
}

.toolbar-print-action {
    background: #5b3ba6;
}

.toolbar-back-action {
    background: #536271;
}

.police-action,
.danger-action,
.success-action,
.whatsapp-action {
    min-height: 2.75rem;
    padding: 0 1rem;
    color: #fff;
}

.police-action {
    background: #123f73;
}

.police-action:hover {
    background: #0d315a;
}

.danger-action {
    background: #b42318;
}

.danger-action:hover {
    background: #8f1c13;
}

.success-action {
    background: #1f7a4d;
}

.success-action:hover {
    background: #17603c;
}

.whatsapp-action {
    background: #25d366;
}

.whatsapp-action:hover {
    background: #1ebe5d;
}

.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.action-icon::before {
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: var(--action-icon) center / contain no-repeat;
    mask: var(--action-icon) center / contain no-repeat;
}

.action-new {
    --action-icon: url("/iconos/nuevo-registro.png");
    background: #1f7a4d !important;
    color: #fff !important;
}

.action-new:hover {
    background: #17603c;
}

.action-refresh {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12a9 9 0 0 1-15.3 6.4L3 16m0 0v5h5M3 12A9 9 0 0 1 18.3 5.6L21 8m0 0V3h-5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background: #8ed4f8 !important;
    color: #07324c !important;
}

.action-refresh:hover {
    background: #6fc2ee;
}

.action-home {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5 12 4l9 7.5M5.5 10v10h13V10M9.5 20v-6h5v6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background: #f4a3a3 !important;
    color: #5f1414 !important;
}

.action-home:hover {
    background: #e98585;
}

.action-delete {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 14h10l1-14M9 7V4h6v3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background: #b42318 !important;
    color: #fff !important;
}

.action-delete:hover {
    background: #8f1c13;
}

.action-lock-closed {
    --action-icon: url("/iconos/parte-lock-closed.png");
    color: #fff !important;
}

.action-lock-open {
    --action-icon: url("/iconos/parte-lock-open.png");
    color: #fff !important;
}

.action-lock-closed::before,
.action-lock-open::before {
    background: #fff !important;
}

.action-save {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h12l2 2v14H5V4ZM8 4v6h8V4M8 20v-6h8v6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background: #14532d !important;
    color: #fff !important;
}

.action-save:hover {
    background: #0f3f22;
}

.action-document {
    --action-icon: url("/iconos/acta-policial.png");
    background: #1769aa !important;
    color: #fff !important;
}

.action-document:hover {
    background: #125487;
}

.action-video {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h11a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2ZM17 10l5-3v10l-5-3' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.action-dni {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2.1'/%3E%3Ccircle cx='9' cy='11' r='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M6.5 17c.7-2 4.3-2 5 0M14 10h4M14 14h4' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
    background: #174a80 !important;
    color: #fff !important;
}

.action-collapse {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m18 15-6-6-6 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.action-signature {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19c3-1 4-5 6-10 1-2 3-2 3 0 0 4-4 8-2 9 2 1 4-4 6-4 1 0 1 2 2 2h2M14 5l3 3' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.action-certificate {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v10H5V4ZM8 8h8M8 11h5M12 15l2 5 2-3 3 1-2-5' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.action-pdf-cajon {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h8l4 4v14H6V3ZM14 3v5h4M8 17c2-4 3-8 4-8 1 0 1 4 2 5 1 1 3 0 4 1M8 17c3-1 6-1 10-1' fill='none' stroke='black' stroke-width='2.05' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    min-height: 2.75rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 6px;
    background: #e31b23 !important;
    color: #fff !important;
    font-weight: 800;
}

.action-pdf-cajon:hover {
    background: #b8121a;
}

.action-email {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4V6ZM4 7l8 6 8-6' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.action-print {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 8V4h10v4M7 17H5a2 2 0 0 1-2-2v-4h18v4a2 2 0 0 1-2 2h-2M7 14h10v6H7v-6Z' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background: #e31b23 !important;
    color: #fff !important;
}

.police-action:disabled,
.danger-action:disabled,
.success-action:disabled,
.whatsapp-action:disabled {
    opacity: .72;
}

.login-error {
    padding: .75rem;
    border-left: 4px solid #b42318;
    background: #fff1f0;
    color: #8a1f17;
    font-size: .9rem;
}

.confirm-box {
    display: grid;
    gap: .8rem;
    margin: .9rem 0 1rem;
    padding: 1rem;
    border: 2px solid #d8b64c;
    border-left-width: 6px;
    border-radius: 8px;
    background: #fff4c2;
    color: #17212b;
    font-size: .95rem;
    box-shadow: 0 10px 24px rgba(10, 24, 38, .16);
}

.confirm-box p {
    margin: 0;
}

.danger-confirm {
    border-color: #b42318;
    background: #fff1f0;
    color: #7a1b14;
}

.confirm-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.dashboard-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    background:
        linear-gradient(rgba(10, 24, 38, 0.72), rgba(10, 24, 38, 0.72)),
        url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1200' height='800' fill='%23293844'/%3E%3Cpath d='M0 560C170 510 260 600 410 540C560 480 630 340 800 370C970 400 1010 540 1200 480V800H0Z' fill='%233b4b55'/%3E%3Cpath d='M0 620C230 590 330 690 520 620C710 550 780 470 960 510C1060 532 1120 590 1200 570V800H0Z' fill='%231b2a35'/%3E%3Crect x='78' y='152' width='215' height='18' rx='4' fill='%23d8b64c' opacity='.55'/%3E%3Crect x='78' y='188' width='330' height='10' rx='3' fill='%23eef2f5' opacity='.28'/%3E%3Crect x='78' y='214' width='270' height='10' rx='3' fill='%23eef2f5' opacity='.22'/%3E%3Ccircle cx='982' cy='202' r='76' fill='%23d8b64c' opacity='.22'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.dashboard-header {
    width: min(100%, 560px);
    margin: 0 auto clamp(1.25rem, 4vw, 2rem);
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.header-copy {
    min-width: 0;
    flex: 1;
}

.dashboard-header h1 {
    color: #fff;
    text-shadow: 0 12px 28px rgba(0,0,0,.2);
}

.dashboard-header .header-copy p:last-child {
    margin: .2rem 0 0;
    color: rgba(255,255,255,.74);
}

.dashboard-header .header-copy p:nth-last-child(2) {
    margin: .8rem 0 0;
    color: rgba(255,255,255,.82);
}

.dashboard-header-side {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: .65rem;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
}

.header-icon-action {
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 6px;
    border: 1px solid rgba(216, 182, 76, .55);
    background: #20313f;
    color: #d8b64c;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.header-icon-action:hover {
    background: #172633;
    border-color: #d8b64c;
}

.header-icon-action svg {
    width: 1.55rem;
    height: 1.55rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jefatura-logo {
    width: clamp(74px, 14vw, 118px);
    height: clamp(74px, 14vw, 118px);
    object-fit: contain;
    flex: 0 0 auto;
    margin-top: .15rem;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.28));
}

.action-grid {
    width: min(100%, 560px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem .75rem;
}

.button-menu-groups {
    width: min(100%, 820px);
    margin: 0 auto;
    display: grid;
    gap: .9rem;
}

.button-menu-section {
    display: grid;
    gap: .55rem;
    padding: .72rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .58);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.button-menu-section h2 {
    margin: 0;
    color: #17324a;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
}

.button-menu-section.menu-group-service h2 {
    color: #9a5516;
}

.button-menu-section.menu-group-operativo h2 {
    color: #145f96;
}

.button-menu-section.menu-group-actas h2 {
    color: #247447;
}

.button-menu-section.menu-group-trafico h2 {
    color: #a93630;
}

.button-menu-section.menu-group-judicial h2 {
    color: #6440a1;
}

.button-menu-section.menu-group-varios h2 {
    color: #8a7412;
}

.button-menu-section .action-grid {
    width: 100%;
    margin: 0;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.logout-row {
    width: min(100%, 560px);
    margin: .8rem auto 0;
    display: grid;
    grid-template-columns: 3.1rem minmax(0, 1fr);
    gap: .65rem;
    align-items: stretch;
}

.help-action {
    min-height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 6px;
    border: 1px solid rgba(216, 182, 76, .55);
    background: #20313f;
    color: #d8b64c;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.help-action:hover {
    background: #172633;
    border-color: #d8b64c;
}

.work-panel {
    width: min(100%, 760px);
}

.wide-panel {
    width: min(100%, 980px);
}

@media (min-width: 1200px) {
    .wide-panel {
        width: min(100%, 1220px);
    }
}

.compact-header {
    width: 100%;
    margin-bottom: 1rem;
}

.team-form {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    color: #17212b;
}

.tow-fixed-test-shell {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    align-items: center;
}

.tow-fixed-test-panel {
    position: relative;
    --tow-fixed-header-height: 4.25rem;
    --tow-fixed-actions-gap: .45rem;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 0 1rem;
    background: #0d1f2d;
}

.tow-fixed-test-header {
    position: sticky;
    top: 0;
    z-index: 30;
    margin-bottom: 0;
    padding: .25rem .45rem .3rem;
    min-height: var(--tow-fixed-header-height);
    background: #0d1f2d;
    border-top: 0;
    box-shadow: 0 8px 18px rgba(13, 31, 45, .2);
    isolation: isolate;
}

.tow-fixed-test-header .header-copy p:not(.eyebrow) {
    display: none;
}

.tow-fixed-test-header h1 {
    margin: .05rem 0 0;
    font-size: clamp(1.55rem, 5.2vw, 2.55rem);
    line-height: .95;
}

.tow-fixed-test-header .jefatura-logo {
    width: clamp(42px, 8vw, 58px);
    height: clamp(42px, 8vw, 58px);
}

.tow-fixed-test-form {
    gap: .75rem;
    padding: .85rem;
}

.tow-fixed-test-actions {
    position: sticky;
    top: calc(var(--tow-fixed-header-height) + var(--tow-fixed-actions-gap));
    z-index: 29;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .35rem;
    padding: .35rem .25rem;
    margin: var(--tow-fixed-actions-gap) 0 .45rem;
    background: #fff;
    border-bottom: 1px solid rgba(193, 209, 222, .72);
    box-shadow: 0 8px 18px rgba(13, 31, 45, .12);
}

.tow-fixed-test-actions > button {
    min-width: 0;
    min-height: 2.75rem;
    height: 2.75rem;
    padding: 0;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
}

.tow-fixed-test-actions > button::before {
    width: 1.7rem;
    height: 1.7rem;
    margin: 0;
}

.tow-fixed-test-actions > button.action-new,
.tow-fixed-test-actions > button.action-save,
.tow-fixed-test-actions > button.action-document,
.tow-fixed-test-actions > button.action-delete {
    color: transparent !important;
}

.tow-fixed-test-actions > button:not(.action-new):not(.action-save):not(.action-document):not(.action-delete)::before {
    background: #17212b;
}

.tow-fixed-test-actions > button.action-new::before,
.tow-fixed-test-actions > button.action-save::before,
.tow-fixed-test-actions > button.action-document::before,
.tow-fixed-test-actions > button.action-delete::before {
    background: #fff;
}

.tow-fixed-test-form .vehicle-block > .button-row:last-child {
    display: none;
}

@media (max-width: 640px) {
    .tow-fixed-test-panel {
        --tow-fixed-header-height: 3.9rem;
        --tow-fixed-actions-gap: .35rem;
        width: 100%;
        padding: 0 .35rem .75rem;
    }

    .tow-fixed-test-header {
        padding: .2rem .45rem .25rem;
    }

    .tow-fixed-test-header h1 {
        font-size: 1.35rem;
    }

    .tow-fixed-test-header .eyebrow {
        font-size: .7rem;
        margin-bottom: .05rem;
    }

    .tow-fixed-test-header .jefatura-logo {
        width: 38px;
        height: 38px;
    }

    .tow-fixed-test-actions {
        top: var(--tow-fixed-header-height);
    }
}

.form-grid {
    display: grid;
    gap: .8rem;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-grid.four > .field-group:has(.inline-button-field.vehicle-lookup-actions),
.form-grid.four > .field-group:has(.inline-button-field.vehicle-related-actions),
.form-grid.four > .field-group:has(.inline-button-field.location-actions),
.form-grid.four > .field-group:has(.inline-button-field.coordinate-actions),
.form-grid.four > .field-group:has(.inline-button-field.doi-check-inline-actions),
.form-grid.four > .field-group:has(.inline-button-field.doi-check-read-actions),
.form-grid.four > .field-group:has(.inline-button-field.doi-action-four-buttons),
.form-grid.four > .field-group:has(.inline-button-field.doi-check-dgt-pip-actions),
.form-grid.four > .field-group:has(.vehicle-inline-actions) {
    grid-column: span 2;
}

.form-grid.three > .field-group:has(.inline-button-field.location-actions),
.form-grid.three > .field-group:has(.inline-button-field.coordinate-actions),
.coordinate-grid > .coordinate-location-field,
.coordinate-grid > .field-group:has(.inline-button-field.coordinate-actions) {
    grid-column: span 2;
}

.form-grid.four > .field-group:has(.inline-button-field.doi-action-four-buttons),
.form-grid.four > .field-group:has(.inline-button-field.doi-check-dgt-pip-actions) {
    min-width: min(100%, 24rem);
}

.form-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intervention-card {
    gap: 1rem;
}

.related-intervention-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.related-action {
    min-height: 3rem;
}

.related-person-action {
    --action-icon: url("/iconos/personas-relacionadas.png");
}

.related-vehicle-action {
    --action-icon: url("/iconos/vehiculos-relacionados.png");
}

.related-action::before {
    width: 1.65rem;
    height: 1.65rem;
}

.related-action.has-related {
    background: #e1bf45 !important;
    color: #17212b !important;
    box-shadow: inset 0 0 0 1px rgba(113, 85, 9, .18);
}

.related-action.has-related:hover {
    background: #d7ad24 !important;
}

.intervention-top-grid {
    grid-template-columns: minmax(10rem, .95fr) minmax(8rem, .85fr) minmax(17rem, 1.35fr) minmax(12rem, 1fr);
    align-items: start;
}

.intervention-top-grid .field-group:nth-child(5) {
    grid-column: 1 / span 2;
}

.field-group.two-columns {
    grid-column: span 2;
}

.toolbar-row {
    display: flex;
    gap: .7rem;
    justify-content: flex-end;
}

.top-toolbar {
    align-items: center;
}

.top-toolbar .arrow-button {
    display: none;
}

.service-toolbar {
    display: grid;
    grid-template-columns: minmax(2.65rem, .55fr) minmax(2.65rem, .55fr) minmax(4.2rem, 1fr) minmax(5.4rem, 1.2fr) minmax(3.6rem, .8fr);
    gap: .35rem;
    align-items: stretch;
    grid-auto-rows: 3rem;
    padding: .35rem;
    background: #fff;
    box-shadow: 0 8px 18px rgba(13, 31, 45, .1);
}

.service-toolbar > button {
    width: 100%;
    min-width: 0;
    max-height: 3rem;
    min-height: 3rem;
    height: 3rem;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 .35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    font-size: clamp(.68rem, 2.25vw, .84rem);
    font-weight: 500;
    line-height: 1.05;
    text-align: center;
    white-space: nowrap;
}

.service-toolbar > .service-icon-only {
    padding-inline: .2rem;
}

.service-toolbar > button::before {
    content: "";
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    background: #fff;
    -webkit-mask: var(--action-icon) center / contain no-repeat;
    mask: var(--action-icon) center / contain no-repeat;
}

.service-toolbar > .service-icon-only::before {
    width: 1.55rem;
    height: 1.55rem;
}

.service-toolbar > .action-list {
    --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5h14M5 12h14M5 19h14M3 5h.01M3 12h.01M3 19h.01' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.service-toolbar > .action-agents {
    --action-icon: url("/iconos/agentes-parte-servicio.png");
}

.floating-scroll-buttons {
    position: fixed;
    right: clamp(.7rem, 2vw, 1.1rem);
    bottom: 5.5rem;
    z-index: 1000;
    display: grid;
    gap: .45rem;
}

.arrow-button {
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(216,182,76,.42);
    border-radius: 999px;
    background: rgba(23,33,43,.48);
    color: rgba(216,182,76,.95);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    opacity: .72;
}

.arrow-button:hover {
    background: rgba(216, 182, 76, .72);
    color: #17212b;
    opacity: 1;
}

.action-field {
    align-content: end;
}

.action-message {
    margin-top: .9rem;
}

.map-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .65rem;
    padding: .85rem;
    border: 1px solid #d5dee7;
    border-radius: 8px;
    background: #f8fbfd;
}

.map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.compact-button {
    min-height: 2.4rem;
    padding: .45rem .8rem;
}

.intervention-map {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 340px;
    border: 1px solid #cbd6e2;
    border-radius: 8px;
    overflow: hidden;
}

.map-box {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 340px;
    border: 1px solid #cbd6e2;
    border-radius: 8px;
    overflow: hidden;
}

.map-help {
    margin: 0;
    color: #506174;
    font-size: .92rem;
}

.check-row {
    min-height: 3rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
}

.check-row input {
    width: 1.05rem;
    height: 1.05rem;
}

.textarea-with-tool {
    position: relative;
}

.mic-field {
    position: relative;
}

.field-group:has(.mic-button) {
    position: relative;
}

.textarea-with-tool textarea {
    padding-right: 4rem;
}

.field-group:has(.mic-button) textarea,
.mic-field textarea {
    padding-right: 4rem;
}

.mic-button {
    position: absolute;
    right: .55rem;
    top: 50%;
    transform: translateY(-50%);
    min-width: 2.8rem;
    height: 2rem;
    border: 0;
    border-radius: 6px;
    background: #20313f;
    color: #d8b64c;
    font-size: .68rem;
    font-weight: 800;
}

.mic-field .mic-button {
    top: calc(50% + .75rem);
    bottom: auto;
    transform: translateY(-50%);
}

.field-group:has(.mic-button):not(.mic-field) .mic-button {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.info-box {
    padding: .75rem;
    border-left: 4px solid #20313f;
    background: #eef5f8;
    color: #20313f;
    font-size: .9rem;
}

.table-scroll {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.data-table th,
.data-table td {
    padding: .65rem;
    border-bottom: 1px solid #d6dee5;
    text-align: left;
    white-space: nowrap;
}

.data-table th {
    color: #556575;
    font-size: .75rem;
    text-transform: uppercase;
}

.data-table tbody tr {
    cursor: pointer;
}

.data-table tbody tr:hover {
    background: #eef5f8;
}

.data-table tbody tr.selected-row {
    background: #d9f1f7;
    box-shadow: inset 4px 0 0 #247c94;
}

.agents-service-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.agents-panel-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: .9rem;
}

.agents-panel-actions > button {
    min-width: 0;
    min-height: 2.75rem;
    padding: .55rem .7rem;
}

.agents-service-grid-head,
.agents-service-row {
    display: grid;
    grid-template-columns: 4.8rem 4rem minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
    gap: .65rem;
    width: 100%;
    min-width: 0;
    padding: .65rem;
    border-bottom: 1px solid #d6dee5;
    box-sizing: border-box;
}

.agents-service-grid-head {
    color: #556575;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.agents-service-row {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
    color: #142332;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.agents-service-row:hover {
    background: #eef5f8;
}

.agents-service-row.selected {
    background: #d9f1f7;
    box-shadow: inset 4px 0 0 #247c94;
}

.agents-service-grid-head span,
.agents-service-row span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.35;
}

.agents-service-grid-head span:nth-child(2),
.agents-service-row span:nth-child(2) {
    white-space: nowrap;
    overflow-wrap: normal;
}

.agents-service-inline-editor {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: .35rem .65rem .85rem;
    background: #f6fbfd;
}

.inline-agent-editor {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding: .9rem;
    border: 1px solid #cfe0ec;
    border-radius: 8px;
    background: #f8fbfd;
    box-shadow: inset 4px 0 0 #247c94;
}

.inline-agent-editor * {
    max-width: 100%;
    box-sizing: border-box;
}

.inline-agent-editor-title {
    margin-bottom: .7rem;
    font-weight: 800;
    color: #142332;
}

.inline-agent-editor .form-grid {
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: .75rem;
}

.inline-agent-cometido-field {
    grid-column: 1 / -1;
}

.inline-agent-notes-field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 6rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.inline-editor-actions {
    margin-top: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.multiline-select-display {
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    min-height: 3.15rem;
    padding: .65rem .85rem;
    border: 1px solid #d5dde5;
    border-radius: 8px;
    background: #fff;
    color: #142332;
    font: inherit;
    text-align: left;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.multiline-select-display::after {
    content: "⌄";
    float: right;
    margin-left: .75rem;
    color: #556575;
    font-weight: 800;
}

.multiline-select-display:hover,
.multiline-select-display:focus {
    border-color: #247c94;
    outline: none;
    box-shadow: 0 0 0 3px rgba(36, 124, 148, .14);
}

.multiline-option-list {
    display: grid;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: .35rem;
    max-height: 11rem;
    overflow-y: auto;
    margin-top: .35rem;
    padding: .35rem;
    border: 1px solid #d5dde5;
    border-radius: 8px;
    background: #fff;
}

.multiline-option {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: .65rem .75rem;
    border: 1px solid #dbe4ec;
    border-radius: 6px;
    background: #f8fbfd;
    color: #142332;
    font: inherit;
    text-align: left;
    line-height: 1.35;
    white-space: normal;
}

.multiline-option:hover,
.multiline-option:focus {
    border-color: #247c94;
    background: #eef8fb;
    outline: none;
}

.multiline-option.selected {
    border-color: #174a7e;
    background: #d9f1f7;
    box-shadow: inset 4px 0 0 #174a7e;
    font-weight: 700;
}

@media (max-width: 640px) {
    .agents-panel-actions {
        gap: .35rem;
    }

    .agents-panel-actions > button {
        min-height: 2.45rem;
        padding: .45rem .45rem;
        font-size: .92rem;
    }

    .inline-agent-editor .form-grid {
        grid-template-columns: 1fr;
    }

    .agents-service-grid-head,
    .agents-service-row {
        grid-template-columns: 4.1rem 4.6rem minmax(0, 1fr);
        gap: .45rem;
    }

    .agents-service-grid-head span:nth-child(4),
    .agents-service-row span:nth-child(4) {
        display: none;
    }
}

.data-table tbody tr.alert-row {
    background: #fff1f0;
    box-shadow: inset 4px 0 0 #b42318;
}

.continuous-control-panel {
    gap: .85rem;
}

.continuous-control-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.continuous-control-header h2 {
    margin: 0;
}

.continuous-control-video {
    width: 100%;
    min-height: 260px;
    max-height: 56vh;
    display: block;
    border: 1px solid #c8d7e3;
    border-radius: 8px;
    background: #07131d;
    object-fit: cover;
}

.continuous-control-table th,
.continuous-control-table td {
    white-space: normal;
    overflow-wrap: anywhere;
}

.orders-table {
    table-layout: fixed;
}

.orders-table th:nth-child(1),
.orders-table td:nth-child(1) {
    width: 7.2rem;
}

.orders-table th:nth-child(2),
.orders-table td:nth-child(2) {
    width: 5.8rem;
}

.orders-table th:nth-child(3),
.orders-table td:nth-child(3) {
    white-space: normal;
    min-width: 14rem;
}

.three-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.five-actions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vehicle-block {
    display: grid;
    gap: .8rem;
    padding: .9rem;
    background: #f5f8fa;
    border: 1px solid #d6dee5;
    border-radius: 8px;
}

.vehicle-block h2 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
}

.vehicle-inline-actions {
    position: relative;
}

.vehicle-inline-actions .form-control {
    width: 100%;
    padding-right: 8.7rem;
}

.vehicle-inline-actions.four-inline-actions .form-control {
    padding-right: 15.8rem;
}

.vehicle-inline-actions .inline-action {
    position: absolute;
    top: 50%;
    min-width: 3.2rem;
    min-height: 2.35rem;
    margin: 0;
    padding: .45rem .65rem;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    font-weight: 900;
    cursor: pointer;
}

.vehicle-inline-actions.two-inline-actions .inline-action:first-of-type {
    right: 4.25rem;
}

.vehicle-inline-actions.two-inline-actions .inline-action:last-of-type {
    right: .45rem;
}

.vehicle-inline-actions.four-inline-actions .vehicle-photo-camera {
    right: 12.35rem;
}

.vehicle-inline-actions.four-inline-actions .vehicle-photo-folder {
    right: 9rem;
}

.vehicle-inline-actions.four-inline-actions .vehicle-dgt-action {
    right: 4.35rem;
}

.vehicle-inline-actions.four-inline-actions .vehicle-vip-action {
    right: .45rem;
}

.vehicle-inline-actions.doi-inline-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.15rem 3.35rem;
    align-items: center;
    gap: .35rem;
    min-height: 3rem;
    padding: .25rem .35rem .25rem .75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
}

.vehicle-inline-actions.doi-inline-actions.doi-check-actions {
    grid-template-columns: minmax(0, 1fr) 3.15rem 3.15rem 3.35rem;
}

.vehicle-inline-actions.doi-inline-actions.doi-interest-wrapper {
    border-color: #d92d20;
    background: #fff1f0;
}

.vehicle-inline-actions.doi-inline-actions .doi-inline-input {
    min-width: 0;
    width: 100%;
    min-height: 2.35rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.vehicle-inline-actions.doi-inline-actions .inline-action,
.vehicle-inline-actions.doi-inline-actions .dni-icon-action,
.vehicle-inline-actions.doi-inline-actions .inline-field-button {
    position: static;
    top: auto;
    right: auto;
    display: inline-grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    height: 2.35rem;
    min-height: 2.35rem;
    margin: 0;
    padding: 0 .45rem;
    transform: none;
}

.vehicle-inline-actions.doi-inline-actions .doi-pip-action {
    background: #7a271a;
}

.vehicle-inline-actions.doi-inline-actions .doi-check-action {
    position: relative;
    background: #174a7e;
    font-size: .86rem;
    font-weight: 800;
}

.vehicle-inline-actions.doi-inline-actions .doi-read-action {
    position: relative;
}

.doi-read-action,
.dni-inline-button.doi-read-action,
.doi-check-action {
    position: relative;
    overflow: hidden;
    color: transparent !important;
    font-size: 0 !important;
    min-width: 3.35rem;
    padding: 0 !important;
}

.inline-button-field .inline-field-button.doi-read-action,
.inline-button-field .inline-field-button.dni-inline-button.doi-read-action,
.inline-button-field .inline-field-button.doi-check-action {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.doi-read-action::before,
.dni-inline-button.doi-read-action::before,
.doi-check-action::before {
    content: "";
    position: absolute;
    left: calc(50% - .42rem);
    top: 50%;
    width: 1rem;
    height: .82rem;
    border: 2px solid #fff;
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

.doi-read-action::after,
.dni-inline-button.doi-read-action::after {
    content: "";
    position: absolute;
    left: calc(50% - .5rem);
    top: 50%;
    width: .2rem;
    height: .2rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: .38rem 0 0 #fff, .12rem .3rem 0 -.02rem #fff, .42rem .3rem 0 -.02rem #fff;
    transform: translate(-50%, -50%);
}

.doi-check-action::after {
    content: "DNI" !important;
    position: absolute !important;
    left: calc(50% - .24rem) !important;
    top: 50% !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: .48rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    transform: translate(-50%, -46%) !important;
}

.doi-check-action::marker {
    content: "";
}

.doi-check-action > span {
    display: none;
}

.doi-check-action {
    --doi-check-lens-left: calc(50% + .58rem);
}

.doi-check-action::selection {
    background: transparent;
}

.doi-check-action:focus-visible {
    outline-offset: 2px;
}

.doi-check-action::before {
    left: calc(50% - .22rem) !important;
}

.doi-check-action:not(:disabled) {
    cursor: pointer;
}

.doi-check-action {
    isolation: isolate;
}

.doi-check-action::after {
    z-index: 2;
}

.doi-check-action::before {
    z-index: 1;
}

.doi-check-action::part(lens) {
    display: none;
}

.doi-check-action {
    background-clip: padding-box;
}

.doi-check-action::before {
    width: 1.66rem !important;
}

.doi-check-action::after {
    pointer-events: none;
}

.doi-check-action::placeholder {
    color: transparent;
}

.doi-check-action::file-selector-button {
    display: none;
}

.doi-check-action {
    text-indent: 0;
}

.doi-check-action .visually-hidden {
    display: none;
}

.doi-check-action::before {
    content: "" !important;
}

.doi-check-action::after {
    content: "DNI" !important;
}

.doi-check-action {
    --unused: 0;
}

.doi-check-action::cue {
    color: transparent;
}

.doi-check-action::grammar-error {
    text-decoration: none;
}

.doi-check-action::spelling-error {
    text-decoration: none;
}

.doi-check-action::view-transition-old(root),
.doi-check-action::view-transition-new(root) {
    animation: none;
}

.doi-check-action::after {
    text-shadow: none;
}

.doi-check-action::before {
    box-shadow: none !important;
}

.doi-check-action {
    --doi-check-lens-size: .72rem;
}

.doi-check-action::before {
    border: 2px solid #fff !important;
}

.doi-check-action::after {
    color: #fff !important;
}

.doi-check-action {
    background-image: none;
}

.doi-check-action::before {
    background-image: none !important;
}

.doi-check-action::after {
    background-image: none !important;
}

.doi-check-action {
    background-repeat: initial;
}

.doi-check-action::before {
    background-repeat: initial !important;
}

.doi-check-action::after {
    background-repeat: initial !important;
}

.doi-check-action {
    background-size: initial;
}

.doi-check-action::before {
    background-size: initial !important;
}

.doi-check-action::after {
    background-size: initial !important;
}

.doi-check-action {
    background-position: initial;
}

.doi-check-action::before {
    background-position: initial !important;
}

.doi-check-action::after {
    background-position: initial !important;
}

.doi-check-action {
    -webkit-mask: none;
    mask: none;
}

.doi-check-action::before,
.doi-check-action::after {
    -webkit-mask: none !important;
    mask: none !important;
}

.doi-check-action::before {
    transform: translate(-50%, -50%) !important;
}

.doi-check-action::after {
    transform: translate(-50%, -46%) !important;
}

.doi-check-action::backdrop {
    display: none;
}

.doi-check-action {
    contain: paint;
}

.doi-check-action::before {
    contain: paint;
}

.doi-check-action::after {
    contain: paint;
}

.doi-check-action + .doi-read-action {
    margin-left: 0;
}

.doi-check-action::after {
    font-family: Arial, sans-serif;
}

.doi-check-action::before {
    font-family: Arial, sans-serif;
}

.doi-check-action::after {
    opacity: 1;
}

.doi-check-action::before {
    opacity: 1;
}

.doi-check-action {
    opacity: 1;
}

.doi-check-action[disabled] {
    opacity: .72;
}

.doi-check-action[disabled]::before,
.doi-check-action[disabled]::after {
    opacity: .9;
}

.doi-check-action::after {
    white-space: nowrap;
}

.doi-check-action::before {
    white-space: nowrap;
}

.doi-check-action {
    white-space: nowrap;
}

.doi-check-action::after {
    overflow: visible;
}

.doi-check-action::before {
    overflow: visible;
}

.doi-check-action {
    overflow: hidden;
}

.doi-check-action::after {
    text-transform: uppercase;
}

.doi-check-action::before {
    text-transform: none;
}

.doi-check-action {
    text-transform: none;
}

.doi-check-action::after {
    vertical-align: baseline;
}

.doi-check-action::before {
    vertical-align: baseline;
}

.doi-check-action {
    vertical-align: middle;
}

.doi-check-action::after {
    user-select: none;
}

.doi-check-action::before {
    user-select: none;
}

.doi-check-action {
    user-select: none;
}

.doi-check-action::after {
    -webkit-user-select: none;
}

.doi-check-action::before {
    -webkit-user-select: none;
}

.doi-check-action {
    -webkit-user-select: none;
}

.doi-check-action::after {
    speak: never;
}

.doi-check-action::before {
    speak: never;
}

.doi-check-action {
    speak: normal;
}

.doi-check-action::after {
    unicode-bidi: normal;
}

.doi-check-action::before {
    unicode-bidi: normal;
}

.doi-check-action {
    unicode-bidi: normal;
}

.doi-check-action::after {
    direction: ltr;
}

.doi-check-action::before {
    direction: ltr;
}

.doi-check-action {
    direction: ltr;
}

.doi-check-action::after {
    writing-mode: horizontal-tb;
}

.doi-check-action::before {
    writing-mode: horizontal-tb;
}

.doi-check-action {
    writing-mode: horizontal-tb;
}

.doi-check-action::after {
    rotate: none;
}

.doi-check-action::before {
    rotate: none;
}

.doi-check-action {
    rotate: none;
}

.doi-check-action::after {
    scale: none;
}

.doi-check-action::before {
    scale: none;
}

.doi-check-action {
    scale: none;
}

.doi-check-action::after {
    translate: none;
}

.doi-check-action::before {
    translate: none;
}

.doi-check-action {
    translate: none;
}

.doi-check-action::after {
    filter: none;
}

.doi-check-action::before {
    filter: none;
}

.doi-check-action {
    filter: none;
}

.doi-check-action::after {
    backdrop-filter: none;
}

.doi-check-action::before {
    backdrop-filter: none;
}

.doi-check-action {
    backdrop-filter: none;
}

.doi-check-action .doi-check-lens {
    display: none;
}

.doi-check-action::before {
    text-rendering: auto;
}

.doi-check-action::after {
    text-rendering: geometricPrecision;
}

.doi-check-action {
    text-rendering: auto;
}

.doi-check-action::before {
    image-rendering: auto;
}

.doi-check-action::after {
    image-rendering: auto;
}

.doi-check-action {
    image-rendering: auto;
}

.doi-check-action::after {
    font-variant-ligatures: none;
}

.doi-check-action::before {
    font-variant-ligatures: none;
}

.doi-check-action {
    font-variant-ligatures: none;
}

.doi-check-action::after {
    font-feature-settings: normal;
}

.doi-check-action::before {
    font-feature-settings: normal;
}

.doi-check-action {
    font-feature-settings: normal;
}

.doi-check-action::after {
    font-synthesis: none;
}

.doi-check-action::before {
    font-synthesis: none;
}

.doi-check-action {
    font-synthesis: none;
}

.doi-check-action::after {
    font-style: normal;
}

.doi-check-action::before {
    font-style: normal;
}

.doi-check-action {
    font-style: normal;
}

.doi-check-action::after {
    font-stretch: normal;
}

.doi-check-action::before {
    font-stretch: normal;
}

.doi-check-action {
    font-stretch: normal;
}

.doi-check-action::after {
    font-kerning: normal;
}

.doi-check-action::before {
    font-kerning: normal;
}

.doi-check-action {
    font-kerning: normal;
}

.doi-check-action::after {
    font-optical-sizing: auto;
}

.doi-check-action::before {
    font-optical-sizing: auto;
}

.doi-check-action {
    font-optical-sizing: auto;
}

.doi-check-action::after {
    font-size-adjust: none;
}

.doi-check-action::before {
    font-size-adjust: none;
}

.doi-check-action {
    font-size-adjust: none;
}

.doi-check-action::after {
    font-variant: normal;
}

.doi-check-action::before {
    font-variant: normal;
}

.doi-check-action {
    font-variant: normal;
}

.doi-check-action::after {
    font-variation-settings: normal;
}

.doi-check-action::before {
    font-variation-settings: normal;
}

.doi-check-action {
    font-variation-settings: normal;
}

.doi-check-action::after {
    text-decoration: none;
}

.doi-check-action::before {
    text-decoration: none;
}

.doi-check-action {
    text-decoration: none;
}

.doi-check-action::after {
    text-align: center;
}

.doi-check-action::before {
    text-align: center;
}

.doi-check-action {
    text-align: center;
}

.doi-check-action::after {
    text-indent: 0;
}

.doi-check-action::before {
    text-indent: 0;
}

.doi-check-action {
    text-indent: 0;
}

.doi-check-action::after {
    text-overflow: clip;
}

.doi-check-action::before {
    text-overflow: clip;
}

.doi-check-action {
    text-overflow: clip;
}

.doi-check-action::after {
    word-spacing: normal;
}

.doi-check-action::before {
    word-spacing: normal;
}

.doi-check-action {
    word-spacing: normal;
}

.doi-check-action::after {
    line-break: auto;
}

.doi-check-action::before {
    line-break: auto;
}

.doi-check-action {
    line-break: auto;
}

.doi-check-action::after {
    hyphens: manual;
}

.doi-check-action::before {
    hyphens: manual;
}

.doi-check-action {
    hyphens: manual;
}

.doi-check-action::after {
    overflow-wrap: normal;
}

.doi-check-action::before {
    overflow-wrap: normal;
}

.doi-check-action {
    overflow-wrap: normal;
}

.doi-check-action::after {
    word-break: normal;
}

.doi-check-action::before {
    word-break: normal;
}

.doi-check-action {
    word-break: normal;
}

.doi-check-action::after {
    tab-size: 8;
}

.doi-check-action::before {
    tab-size: 8;
}

.doi-check-action {
    tab-size: 8;
}

.doi-check-action::after {
    text-size-adjust: 100%;
}

.doi-check-action::before {
    text-size-adjust: 100%;
}

.doi-check-action {
    text-size-adjust: 100%;
}

.doi-check-action .dni-check-text {
    display: none;
}

.doi-check-action::before {
    pointer-events: none;
}

.doi-check-action::after {
    pointer-events: none;
}

.doi-check-action {
    pointer-events: auto;
}

.doi-check-action::before {
    forced-color-adjust: auto;
}

.doi-check-action::after {
    forced-color-adjust: auto;
}

.doi-check-action {
    forced-color-adjust: auto;
}

.doi-check-action::before {
    inset-inline-start: auto;
}

.doi-check-action::after {
    inset-inline-start: auto;
}

.doi-check-action {
    inset-inline-start: auto;
}

.doi-check-action::before {
    inset-block-start: auto;
}

.doi-check-action::after {
    inset-block-start: auto;
}

.doi-check-action {
    inset-block-start: auto;
}

.doi-check-action::before {
    inset: auto;
    left: calc(50% - .22rem) !important;
    top: 50% !important;
}

.doi-check-action::after {
    inset: auto;
    left: calc(50% - .24rem) !important;
    top: 50% !important;
}

.doi-check-action .lens {
    display: none;
}

.doi-check-action::before {
    clip-path: none;
}

.doi-check-action::after {
    clip-path: none;
}

.doi-check-action {
    clip-path: none;
}

.doi-check-action::before {
    margin: 0;
}

.doi-check-action::after {
    margin: 0;
}

.doi-check-action {
    margin-block: 0;
}

.doi-check-action::before {
    padding: 0;
}

.doi-check-action::after {
    padding: 0;
}

.doi-check-action {
    padding-block: 0 !important;
}

.doi-check-action::before {
    box-sizing: border-box;
}

.doi-check-action::after {
    box-sizing: border-box;
}

.doi-check-action {
    box-sizing: border-box;
}

.doi-check-action::before {
    outline: 0;
}

.doi-check-action::after {
    outline: 0;
}

.doi-check-action {
    outline-color: currentColor;
}

.doi-check-action::before {
    color: #fff;
}

.doi-check-action::after {
    color: #fff;
}

.doi-check-action {
    color: transparent !important;
}

.doi-check-action::before {
    display: block !important;
}

.doi-check-action::after {
    display: block !important;
}

.doi-check-action {
    display: inline-grid;
}

.doi-check-action::before {
    visibility: visible;
}

.doi-check-action::after {
    visibility: visible;
}

.doi-check-action {
    visibility: visible;
}

.doi-check-action::before {
    clear: none;
}

.doi-check-action::after {
    clear: none;
}

.doi-check-action {
    clear: none;
}

.doi-check-action::before {
    float: none;
}

.doi-check-action::after {
    float: none;
}

.doi-check-action {
    float: none;
}

.doi-check-action::before {
    position: absolute !important;
}

.doi-check-action::after {
    position: absolute !important;
}

.doi-check-action {
    position: relative;
}

.doi-check-action::before {
    right: auto;
    bottom: auto;
}

.doi-check-action::after {
    right: auto;
    bottom: auto;
}

.doi-check-action {
    right: auto;
    bottom: auto;
}

.doi-check-action::before {
    min-width: 0;
    min-height: 0;
}

.doi-check-action::after {
    min-width: 0;
    min-height: 0;
}

.doi-check-action {
    min-width: 3.15rem;
}

.doi-check-action::before {
    max-width: none;
    max-height: none;
}

.doi-check-action::after {
    max-width: none;
    max-height: none;
}

.doi-check-action {
    max-width: none;
}

.doi-check-action::before {
    aspect-ratio: auto;
}

.doi-check-action::after {
    aspect-ratio: auto;
}

.doi-check-action {
    aspect-ratio: auto;
}

.doi-check-action::before {
    object-fit: fill;
}

.doi-check-action::after {
    object-fit: fill;
}

.doi-check-action {
    object-fit: fill;
}

.doi-check-action::before {
    object-position: 50% 50%;
}

.doi-check-action::after {
    object-position: 50% 50%;
}

.doi-check-action {
    object-position: 50% 50%;
}

.doi-check-action::before {
    resize: none;
}

.doi-check-action::after {
    resize: none;
}

.doi-check-action {
    resize: none;
}

.doi-check-action::before {
    touch-action: auto;
}

.doi-check-action::after {
    touch-action: auto;
}

.doi-check-action {
    touch-action: manipulation;
}

.doi-check-action::before {
    will-change: auto;
}

.doi-check-action::after {
    will-change: auto;
}

.doi-check-action {
    will-change: auto;
}

.doi-check-action::before {
    transform-origin: center;
}

.doi-check-action::after {
    transform-origin: center;
}

.doi-check-action {
    transform-origin: center;
}

.doi-check-action .svg-inline--fa {
    display: none;
}

.doi-check-action::before {
    content: "" !important;
}

.doi-check-action::after {
    content: "DNI" !important;
}

.doi-check-action::before {
    width: 1.66rem !important;
    height: 1.12rem !important;
}

.doi-check-action::after {
    font-size: .48rem !important;
}

.doi-check-action::before {
    border-color: #fff !important;
}

.doi-check-action::after {
    color: #fff !important;
}

.doi-check-action::before {
    border-width: 2px !important;
}

.doi-check-action::after {
    border-width: 0 !important;
}

.doi-check-action::before {
    border-style: solid !important;
}

.doi-check-action::after {
    border-style: none !important;
}

.doi-check-action::before {
    border-radius: 4px !important;
}

.doi-check-action::after {
    border-radius: 0 !important;
}

.doi-check-action::before {
    box-shadow: none !important;
}

.doi-check-action::after {
    box-shadow: none !important;
}

.doi-check-action::before {
    background-color: transparent !important;
}

.doi-check-action::after {
    background-color: transparent !important;
}

.doi-check-action::before {
    background-clip: border-box;
}

.doi-check-action::after {
    background-clip: border-box;
}

.doi-check-action {
    background-clip: border-box;
}

.doi-check-action::before {
    background-origin: padding-box;
}

.doi-check-action::after {
    background-origin: padding-box;
}

.doi-check-action {
    background-origin: padding-box;
}

.doi-check-action::before {
    background-attachment: scroll;
}

.doi-check-action::after {
    background-attachment: scroll;
}

.doi-check-action {
    background-attachment: scroll;
}

.doi-check-action::before {
    background-blend-mode: normal;
}

.doi-check-action::after {
    background-blend-mode: normal;
}

.doi-check-action {
    background-blend-mode: normal;
}

.doi-check-action::before {
    background-color: transparent !important;
}

.doi-check-action::after {
    background-color: transparent !important;
}

.doi-check-action::before {
    border-image: none;
}

.doi-check-action::after {
    border-image: none;
}

.doi-check-action {
    border-image: none;
}

.doi-check-action::before {
    border-collapse: separate;
}

.doi-check-action::after {
    border-collapse: separate;
}

.doi-check-action {
    border-collapse: separate;
}

.doi-check-action::before {
    border-spacing: 0;
}

.doi-check-action::after {
    border-spacing: 0;
}

.doi-check-action {
    border-spacing: 0;
}

.doi-check-action::before {
    empty-cells: show;
}

.doi-check-action::after {
    empty-cells: show;
}

.doi-check-action {
    empty-cells: show;
}

.doi-check-action::before {
    caption-side: top;
}

.doi-check-action::after {
    caption-side: top;
}

.doi-check-action {
    caption-side: top;
}

.doi-check-action .mdi,
.doi-check-action .lucide {
    display: none;
}

.doi-check-action::before {
    forced-color-adjust: none;
}

.doi-check-action::after {
    forced-color-adjust: none;
}

.doi-check-action {
    forced-color-adjust: auto;
}

.doi-check-action::before {
    appearance: none;
}

.doi-check-action::after {
    appearance: none;
}

.doi-check-action {
    appearance: auto;
}

.doi-check-action::-moz-focus-inner {
    border: 0;
}

.doi-check-action::-webkit-search-cancel-button {
    display: none;
}

.doi-check-action::-webkit-search-decoration {
    display: none;
}

.doi-check-action::-webkit-calendar-picker-indicator {
    display: none;
}

.doi-check-action::-ms-clear {
    display: none;
}

.doi-check-action::-ms-reveal {
    display: none;
}

.doi-check-action::-webkit-details-marker {
    display: none;
}

.doi-check-action::-webkit-inner-spin-button,
.doi-check-action::-webkit-outer-spin-button {
    display: none;
}

.doi-check-action::before {
    content: "" !important;
}

.doi-check-action::after {
    content: "DNI" !important;
}

.doi-check-action::before {
    width: 1.66rem !important;
    height: 1.12rem !important;
    left: calc(50% - .22rem) !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.doi-check-action::after {
    left: calc(50% - .24rem) !important;
    top: 50% !important;
    transform: translate(-50%, -46%) !important;
}

.doi-check-action::before {
    border: 2px solid #fff !important;
    border-radius: 4px !important;
}

.doi-check-action::after {
    font-family: Arial, sans-serif !important;
    font-size: .48rem !important;
    font-weight: 950 !important;
    color: #fff !important;
}

.doi-check-action {
    --last-rule: 1;
}

.doi-check-action::before {
    --last-rule: 1;
}

.doi-check-action::after {
    --last-rule: 1;
}

.doi-check-action::after {
    display: block !important;
}

.doi-check-action::before {
    display: block !important;
}

.doi-check-action {
    display: inline-grid !important;
}

.doi-check-action::after {
    visibility: visible !important;
}

.doi-check-action::before {
    visibility: visible !important;
}

.doi-check-action {
    visibility: visible !important;
}

.doi-check-action::after {
    opacity: 1 !important;
}

.doi-check-action::before {
    opacity: 1 !important;
}

.doi-check-action {
    opacity: 1;
}

.doi-check-action[disabled] {
    opacity: .72;
}

.doi-check-action::before {
    background: transparent !important;
}

.doi-check-action::after {
    background: transparent !important;
}

.doi-check-action::after {
    text-align: center !important;
}

.doi-check-action::after {
    line-height: 1 !important;
}

.doi-check-action::after {
    letter-spacing: 0 !important;
}

.doi-check-action::after {
    white-space: nowrap !important;
}

.doi-check-action::after {
    content: "DNI" !important;
}

.doi-check-action::before {
    content: "" !important;
}

.doi-check-action::after {
    width: auto !important;
    height: auto !important;
}

.doi-check-action::before {
    width: 1.66rem !important;
    height: 1.12rem !important;
}

.doi-check-action::after {
    border: 0 !important;
}

.doi-check-action::before {
    border: 2px solid #fff !important;
}

.doi-check-action::after {
    box-shadow: none !important;
}

.doi-check-action::before {
    box-shadow: none !important;
}

.doi-check-action::after {
    border-radius: 0 !important;
}

.doi-check-action::before {
    border-radius: 4px !important;
}

.doi-check-action::after {
    background-image: none !important;
}

.doi-check-action::before {
    background-image: none !important;
}

.doi-check-action::after {
    -webkit-mask: none !important;
    mask: none !important;
}

.doi-check-action::before {
    -webkit-mask: none !important;
    mask: none !important;
}

.doi-check-action::after {
    position: absolute !important;
}

.doi-check-action::before {
    position: absolute !important;
}

.doi-check-action {
    position: relative !important;
}

.doi-check-action::after {
    pointer-events: none !important;
}

.doi-check-action::before {
    pointer-events: none !important;
}

.doi-check-action::after {
    z-index: 2 !important;
}

.doi-check-action::before {
    z-index: 1 !important;
}

.doi-check-action {
    z-index: auto;
}

.doi-check-action::after {
    box-sizing: border-box !important;
}

.doi-check-action::before {
    box-sizing: border-box !important;
}

.doi-check-action {
    box-sizing: border-box !important;
}

.doi-check-action::after {
    margin: 0 !important;
}

.doi-check-action::before {
    margin: 0 !important;
}

.doi-check-action::after {
    padding: 0 !important;
}

.doi-check-action::before {
    padding: 0 !important;
}

.doi-check-action {
    padding: 0 !important;
}

.doi-check-action::after {
    overflow: visible !important;
}

.doi-check-action::before {
    overflow: visible !important;
}

.doi-check-action {
    overflow: hidden !important;
}

.doi-check-action::after {
    text-transform: uppercase !important;
}

.doi-check-action::before {
    text-transform: none !important;
}

.doi-check-action::after {
    font-style: normal !important;
}

.doi-check-action::after {
    font-variant: normal !important;
}

.doi-check-action::after {
    font-stretch: normal !important;
}

.doi-check-action::after {
    font-size-adjust: none !important;
}

.doi-check-action::after {
    font-kerning: normal !important;
}

.doi-check-action::after {
    font-optical-sizing: auto !important;
}

.doi-check-action::after {
    font-feature-settings: normal !important;
}

.doi-check-action::after {
    font-variation-settings: normal !important;
}

.doi-check-action::after {
    text-decoration: none !important;
}

.doi-check-action::after {
    text-shadow: none !important;
}

.doi-check-action::after {
    text-indent: 0 !important;
}

.doi-check-action::after {
    text-overflow: clip !important;
}

.doi-check-action::after {
    text-rendering: geometricPrecision !important;
}

.doi-check-action::after {
    direction: ltr !important;
}

.doi-check-action::after {
    writing-mode: horizontal-tb !important;
}

.doi-check-action::after {
    rotate: none !important;
}

.doi-check-action::after {
    scale: none !important;
}

.doi-check-action::after {
    translate: none !important;
}

.doi-check-action::after {
    filter: none !important;
}

.doi-check-action::after {
    content: "DNI" !important;
}
    content: "";
    position: absolute;
    left: calc(50% + .42rem);
    top: calc(50% + .12rem);
    width: .5rem;
    height: .5rem;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: .34rem .34rem 0 -.15rem #fff;
    transform: translate(-50%, -50%);
}

.doi-read-action::before,
.dni-inline-button.doi-read-action::before,
.doi-check-action::before {
    left: 50%;
    top: 50%;
    width: 2rem;
    height: 1.55rem;
    border: 0;
    border-radius: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translate(-50%, -50%);
}

.doi-read-action::before,
.dni-inline-button.doi-read-action::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 34 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='4' width='30' height='16' rx='2.8' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3Ctext x='17' y='15.8' text-anchor='middle' font-family='Arial, sans-serif' font-size='9.2' font-weight='900' fill='%23fff'%3EDNI%3C/text%3E%3C/svg%3E");
}

.doi-check-action::before {
    width: 2.05rem;
    height: 1.65rem;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 34 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2.8' stroke-width='2.2'/%3E%3Ccircle cx='9' cy='11' r='2' stroke-width='1.9'/%3E%3Cpath d='M6.4 16c1.7-2 3.8-2 5.2 0' stroke-width='1.9'/%3E%3Cpath d='M14 9h4.2M14 13h3.4' stroke-width='1.9'/%3E%3Ccircle cx='24.5' cy='15.5' r='4.3' stroke-width='2.3'/%3E%3Cpath d='m27.7 18.7 3.4 3.4' stroke-width='2.5'/%3E%3C/svg%3E");
}

.doi-read-action::after,
.dni-inline-button.doi-read-action::after,
.doi-check-action::after {
    display: none;
}

.doi-read-action::before,
.dni-inline-button.doi-read-action::before,
.doi-check-action::before {
    left: 50%;
    top: 50%;
    width: 1.95rem;
    height: 1.28rem;
    border: 2px solid #fff;
    border-radius: 4px;
    background-image: none;
    background: transparent;
    transform: translate(-50%, -50%);
}

.doi-read-action::after,
.dni-inline-button.doi-read-action::after {
    content: "DNI";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    font-size: .54rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    transform: translate(-50%, -46%);
}

.doi-check-action::before {
    left: calc(50% - .22rem);
    width: 1.72rem;
    height: 1.18rem;
}

.doi-check-action::after {
    content: "";
    display: block;
    position: absolute;
    left: calc(50% + .66rem);
    top: calc(50% + .18rem);
    width: .78rem;
    height: .78rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    box-shadow: .38rem .38rem 0 -.21rem #fff;
    transform: translate(-50%, -50%);
}

.vehicle-inline-actions.plate-check-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.35rem 3.35rem 5.7rem;
    align-items: center;
    gap: .35rem;
    min-height: 3rem;
    padding: .25rem .35rem .25rem .75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.vehicle-inline-actions.plate-check-actions.doi-interest-wrapper {
    border-color: #d92d20;
    background: #fff1f0;
}

.vehicle-inline-actions.plate-check-actions .form-control {
    min-width: 0;
    width: 100%;
    min-height: 2.35rem;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.vehicle-inline-actions.plate-check-actions .inline-action {
    position: static;
    top: auto;
    right: auto;
    display: inline-grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    height: 2.35rem;
    min-height: 2.35rem;
    margin: 0;
    padding: 0 .45rem;
    transform: none;
}

.vehicle-inline-actions.plate-check-actions .vehicle-vip-action {
    background: #7a271a;
}

.vehicle-inline-actions.plate-check-actions .plate-check-action {
    background: #174a7e;
    font-size: .86rem;
    font-weight: 800;
}

.form-grid .doi-reader-host {
    grid-column: 1 / -1;
}

.form-grid .inline-reader-expanded {
    grid-column: 1 / -1;
}

.inline-dni-reader {
    margin-top: .75rem;
}

.vehicle-inline-actions .police-inline {
    background: #174a7e;
    color: #fff;
}

.vehicle-inline-actions .dni-folder-action::before,
.vehicle-inline-actions .dni-folder-action::after {
    border-color: #fff;
}

.dni-reader {
    border-color: #7aa7bd;
    background: #f2f8fb;
}

.dni-capture-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.control-capture-row {
    display: grid;
    grid-template-columns: minmax(13rem, 15rem) minmax(12rem, 1fr);
    gap: .9rem;
    align-items: stretch;
}

.control-photo-grid {
    grid-template-columns: minmax(0, 1fr);
}

.control-capture-actions {
    display: grid;
    align-content: center;
    gap: .8rem;
}

.control-capture-actions .police-action {
    min-height: 3.15rem;
}

.dni-capture-box {
    position: relative;
    min-height: 11rem;
    display: grid;
    place-items: center;
    gap: .5rem;
    padding: .9rem;
    border: 2px dashed #7aa7bd;
    border-radius: 8px;
    background: #fff;
    color: #17212b;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.dni-capture-box span {
    align-self: start;
    justify-self: start;
    color: #556575;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dni-capture-box strong {
    font-size: 1rem;
}

.dni-capture-box img {
    width: 100%;
    max-height: 13rem;
    object-fit: contain;
    border-radius: 6px;
}

.dni-capture-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .65rem;
}

.compact-action {
    min-height: 2.75rem;
    display: grid;
    place-items: center;
    margin: 0;
    padding: .65rem .8rem;
    border: 0;
    border-radius: 7px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.dni-icon-action {
    position: relative;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0;
    overflow: hidden;
}

.dni-icon-action::before,
.dni-icon-action::after {
    content: "";
    position: absolute;
    display: block;
}

.dni-camera-action::before {
    width: 1.55rem;
    height: 1.1rem;
    left: 50%;
    top: 50%;
    border: 2px solid #fff;
    border-radius: 4px;
    transform: translate(-50%, -43%);
}

.dni-camera-action::after {
    width: .52rem;
    height: .52rem;
    left: 50%;
    top: 52%;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: -.55rem -.55rem 0 -.26rem #fff;
    transform: translate(-50%, -50%);
}

.dni-folder-action::before {
    width: 1.65rem;
    height: 1.1rem;
    left: 50%;
    top: 55%;
    border: 2px solid #17212b;
    border-radius: 3px;
    transform: translate(-50%, -50%);
}

.dni-folder-action::after {
    width: .82rem;
    height: .36rem;
    left: calc(50% - .56rem);
    top: calc(50% - .68rem);
    border: 2px solid #17212b;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
}

.inline-button-field.doi-three-actions .inline-field-button,
.inline-button-field.doi-three-actions .dni-icon-action {
    position: absolute;
    top: 50%;
    display: inline-grid;
    place-items: center;
    height: 2.35rem;
    min-height: 2.35rem;
    margin: 0;
    transform: translateY(-50%);
}

.inline-button-field.doi-three-actions .folder-inline-button {
    right: 9.55rem;
}

.inline-button-field.doi-three-actions .dgt-inline-button {
    right: 5.85rem;
}

.inline-button-field.doi-three-actions .ip-inline-button {
    right: .35rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dni-file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.dni-camera-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(8, 18, 28, .86);
}

.dni-camera-panel {
    width: min(58rem, 100%);
    display: grid;
    gap: .8rem;
    padding: .9rem;
    border-radius: 10px;
    background: #f5f8fa;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
}

.dni-camera-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #17212b;
}

.dni-camera-close {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: #dfe8ef;
    color: #17212b;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.dni-camera-video {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: 8px;
    background: #050b12;
}

.dni-camera-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.dni-camera-actions button {
    min-height: 3.2rem;
    border: 0;
    border-radius: 8px;
    font-weight: 900;
}

.dni-camera-cancel {
    background: #dfe8ef;
    color: #17212b;
}

.dni-camera-shot {
    background: #174a7e;
    color: #fff;
}

.textarea-small {
    min-height: 4rem;
    field-sizing: content;
    resize: vertical;
    overflow-y: hidden;
}

.textarea-large {
    min-height: 6rem;
    field-sizing: content;
    resize: vertical;
    overflow-y: hidden;
}

.button-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .8rem;
}

.button-row.single-action-row {
    grid-template-columns: minmax(0, 1fr);
}

.denuncia-save-print {
    display: grid;
    gap: .65rem;
}

.full-width-action {
    width: 100%;
    margin-top: .8rem;
}

.module-button {
    min-width: 0;
    min-height: 3.85rem;
    padding: .48rem .56rem;
    display: flex;
    flex-direction: row;
    gap: .48rem;
    justify-content: flex-start;
    align-items: center;
    background: #fff;
    color: #17212b;
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
    text-align: left;
    font-size: .92rem;
    line-height: 1.15;
}

.module-button.module-team {
    background: #d9f0f7;
    border-color: #75b9cc;
}

.module-button.module-service {
    background: #fff0bf;
    border-color: #d8b64c;
}

.module-button.module-orders {
    background: #eadfff;
    border-color: #9b7ae1;
}

.module-button.module-interventions {
    background: #ffe4cf;
    border-color: #d18a52;
}

.module-button.module-people {
    background: #dff3e7;
    border-color: #70b58b;
}

.module-button.module-vehicles {
    background: #ffe0dc;
    border-color: #d66a62;
}

.module-button.module-traffic {
    background: #e6eefc;
    border-color: #7c9fdd;
}

.module-button.module-seizures {
    background: #f6e8ff;
    border-color: #bd8ce1;
}

.module-button.module-ordinances {
    background: #e7f4ff;
    border-color: #82b7dd;
}

.module-button.module-abandoned {
    background: #ffe8d6;
    border-color: #d89b70;
}

.module-button.module-seals {
    background: #eef2f7;
    border-color: #aab7c2;
}

.module-button.module-tests {
    background: #ddf4e6;
    border-color: #82bf9b;
}

.module-button.module-office {
    background: #f2f5fb;
    border-color: #a5b2c5;
}

.module-button.module-sentences {
    background: #ffe4df;
    border-color: #d9867c;
}

.module-button.module-tow {
    background: #eef7ff;
    border-color: #9dc2e2;
}

.module-button.module-roads {
    background: #e9f1ff;
    border-color: #9bb9e8;
}

.module-button.menu-group-service {
    background: #ffe6c6;
    border-color: #e0a35b;
}

.module-button.menu-group-operativo {
    background: #dceffd;
    border-color: #79b6e5;
}

.module-button.menu-group-actas {
    background: #def4e7;
    border-color: #7fc394;
}

.module-button.menu-group-trafico {
    background: #ffe1df;
    border-color: #dc7d75;
}

.module-button.menu-group-judicial {
    background: #efe4ff;
    border-color: #a889df;
}

.module-button.menu-group-varios {
    background: #fff4bd;
    border-color: #d8bd4e;
}

.module-button.module-team .module-icon {
    background: #f2fbff;
    border-color: #87c5d5;
}

.module-button.module-service .module-icon {
    background: #fff9df;
    border-color: #dfc15d;
}

.module-button.module-orders .module-icon {
    background: #f6f0ff;
    border-color: #b9a0ed;
}

.module-button.module-interventions .module-icon {
    background: #fff3e9;
    border-color: #dba06e;
}

.module-button.module-people .module-icon {
    background: #f0fbf4;
    border-color: #88c69d;
}

.module-button.module-vehicles .module-icon {
    background: #fff2ef;
    border-color: #e18a83;
}

.module-button.module-traffic .module-icon {
    background: #f5f8ff;
    border-color: #9fb8ea;
}

.module-button.module-seizures .module-icon {
    background: #fbf2ff;
    border-color: #cda6e8;
}

.module-button.module-ordinances .module-icon {
    background: #f3faff;
    border-color: #9cc8e8;
}

.module-button.module-abandoned .module-icon,
.module-button.module-seals .module-icon,
.module-button.module-tests .module-icon,
.module-button.module-office .module-icon,
.module-button.module-sentences .module-icon,
.module-button.module-tow .module-icon,
.module-button.module-roads .module-icon {
    background: rgba(255, 255, 255, .82);
}

.dgt-inline-button {
    background: #003f8f;
}

.icon-trash-button {
    width: 2.15rem;
    min-height: 2.15rem;
    border: 0;
    border-radius: 6px;
    background: #c62828;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.module-button:hover {
    border-color: #aab7c2;
    transform: translateY(-1px);
}

.module-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 6px;
    border: 1px solid rgba(32, 49, 63, .12);
    background: rgba(255, 255, 255, .72);
    color: #d8b64c;
    font-size: .72rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.module-svg {
    width: 2.65rem;
    height: 2.65rem;
    display: block;
}

.module-img-icon {
    width: 2.65rem;
    height: 2.65rem;
    display: block;
    object-fit: contain;
}

.module-text {
    min-width: 0;
    display: grid;
    gap: 0;
}

.module-title-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .35rem;
}

.module-text strong {
    min-width: 0;
    display: block;
    overflow: visible;
    white-space: normal;
    overflow-wrap: normal;
    line-height: 1.12;
    font-weight: 500;
}

.module-detail {
    flex: 0 0 auto;
    max-width: 7rem;
    white-space: nowrap;
    color: #516477;
    font-size: .74rem;
    font-weight: 600;
}

.module-text small {
    color: #5d6c7b;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: normal;
}

.side-menu-layout {
    display: grid;
    grid-template-columns: max-content;
    align-items: start;
    gap: 1rem;
    justify-content: start;
    width: fit-content;
    max-width: 100%;
}

.side-tree-menu {
    display: grid;
    gap: .45rem;
    width: fit-content;
    min-width: 18rem;
    max-width: min(24rem, 100%);
    padding: .55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.dashboard-shell-side-menu {
    align-items: flex-start;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.dashboard-shell-side-menu::after {
    content: "";
    position: fixed;
    right: clamp(1.25rem, 7vw, 7rem);
    bottom: clamp(4.5rem, 8vh, 6.25rem);
    z-index: 0;
    width: min(38vw, 31rem);
    height: min(78vh, 43rem);
    pointer-events: none;
    background: url("/siluetas-policias-cuerpo-entero.png") right bottom / contain no-repeat;
    opacity: .58;
    filter: drop-shadow(0 28px 48px rgba(0, 0, 0, .42));
}

.dashboard-shell-side-menu::before {
    content: "POLIC\00cd A\A LOCAL";
    position: fixed;
    right: clamp(1.4rem, 7.5vw, 7.4rem);
    bottom: clamp(1rem, 2.4vh, 1.8rem);
    z-index: 0;
    pointer-events: none;
    white-space: pre;
    color: rgba(142, 192, 235, .9);
    font-family: "Arial Black", "Segoe UI Black", system-ui, sans-serif;
    font-size: clamp(2.4rem, 6vw, 5.8rem);
    font-weight: 900;
    line-height: .82;
    letter-spacing: .02em;
    text-align: right;
    text-shadow: 0 18px 34px rgba(0, 0, 0, .42), 0 0 18px rgba(12, 44, 72, .35);
}

.dashboard-shell-side-menu .dashboard-header {
    margin-left: 0;
}

.dashboard-shell-side-menu .side-menu-layout,
.dashboard-shell-side-menu .side-tree-menu {
    justify-self: start;
    width: fit-content;
}

.dashboard-shell-side-menu .dashboard-header,
.dashboard-shell-side-menu .side-menu-layout,
.dashboard-shell-side-menu .menu-error {
    position: relative;
    z-index: 1;
}

.side-menu-group {
    border-bottom: 1px solid #d8e0e8;
    padding-bottom: .25rem;
}

.side-menu-group:last-child {
    border-bottom: 0;
}

.side-menu-group-button {
    cursor: pointer;
    border: 0;
    width: 100%;
    background: #dceffd;
    min-height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .45rem .55rem;
    border-radius: 6px;
    color: #164f86;
    font-weight: 800;
    font: inherit;
    text-align: left;
}

.side-menu-group-title {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: .6rem;
}

.side-menu-group-icon {
    width: 1.85rem;
    height: 1.85rem;
    object-fit: contain;
    flex: 0 0 auto;
    filter: brightness(0) saturate(100%) invert(25%) sepia(82%) saturate(960%) hue-rotate(178deg) brightness(90%) contrast(92%);
}

.side-menu-group-button::after {
    content: "+";
    color: #164f86;
    font-weight: 900;
}

.side-menu-group.is-open .side-menu-group-button::after {
    content: "-";
}

.side-menu-group-button:hover {
    background: #c9e6fa;
}

.side-menu-items {
    display: grid;
    gap: .15rem;
    padding: .15rem 0 .35rem .55rem;
}

.side-menu-item {
    display: grid;
    grid-template-columns: 2.05rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    min-height: 2.65rem;
    padding: .35rem .5rem;
    border: 0;
    border-radius: 6px;
    background: #eaf6ff;
    color: #17212b;
    text-align: left;
    font: inherit;
    width: 100%;
}

.side-menu-item:hover {
    background: #d7ecfc;
}

.side-menu-icon {
    display: grid;
    place-items: center;
    width: 2.05rem;
    height: 2.05rem;
}

.side-menu-icon .module-img-icon,
.side-menu-icon .module-svg {
    width: 1.7rem;
    height: 1.7rem;
}

.side-menu-label {
    min-width: 0;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.15;
    white-space: nowrap;
}

.side-menu-detail {
    color: #516477;
    font-size: .78rem;
    font-weight: 800;
}

.order-card {
    display: grid;
    gap: .85rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #d6dee5;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    font-weight: 800;
}

.order-number {
    display: inline-grid;
    place-items: center;
    min-width: 2.3rem;
    height: 2rem;
    margin-right: .5rem;
    border-radius: 6px;
    background: #20313f;
    color: #d8b64c;
    font-size: .8rem;
}

.priority-badge {
    padding: .25rem .5rem;
    border-radius: 6px;
    background: #fff4d1;
    color: #6f4e00;
    font-size: .78rem;
    white-space: nowrap;
}

.readonly-field {
    display: grid;
    gap: .25rem;
    padding: .65rem;
    background: #f5f8fa;
    border: 1px solid #d6dee5;
    border-radius: 6px;
}

.readonly-field span {
    color: #5d6c7b;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.readonly-field p {
    margin: 0;
    white-space: pre-wrap;
}

.print-preview {
    display: grid;
    gap: 1rem;
}

.print-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .7rem;
}

.print-sheet {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid #d6dee5;
    border-radius: 8px;
    color: #17212b;
}

.print-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 2px solid #20313f;
    padding-bottom: .7rem;
}

.print-header p {
    margin: 0 0 .2rem;
    color: #d8b64c;
    font-weight: 900;
    letter-spacing: .08rem;
}

.print-header h2 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 900;
}

.print-logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.print-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
}

.print-grid div {
    display: grid;
    gap: .25rem;
    padding: .55rem;
    border: 1px solid #d6dee5;
    border-radius: 6px;
}

.print-grid span {
    color: #5d6c7b;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.print-table {
    width: 100%;
    border-collapse: collapse;
}

.print-table th,
.print-table td {
    padding: .5rem;
    border: 1px solid #cbd5df;
    text-align: left;
}

.print-text {
    min-height: 3rem;
    white-space: pre-wrap;
}

.traffic-ticket-preview {
    display: grid;
    gap: .9rem;
    margin-top: 1rem;
}

.traffic-ticket-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.traffic-ticket-print {
    width: 80mm;
    max-width: 100%;
    padding: 4mm;
    background: #fff;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1.25;
}

.partepol-ticket-print-host {
    display: none;
}

.traffic-ticket-header {
    display: grid;
    gap: 1mm;
    padding-bottom: 2mm;
    margin-bottom: 2mm;
    border-bottom: 1px solid #111;
    text-align: center;
}

.traffic-ticket-header strong {
    font-size: 11px;
    text-transform: uppercase;
}

.traffic-ticket-header span {
    font-size: 13px;
    font-weight: 900;
}

.traffic-ticket-fields {
    display: grid;
    gap: 1.2mm;
    margin: 0;
}

.traffic-ticket-fields div {
    display: grid;
    gap: .35mm;
    padding-bottom: 1mm;
    border-bottom: 1px dotted #aaa;
}

.traffic-ticket-fields dt {
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 8.5px;
}

.traffic-ticket-fields dd {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.traffic-ticket-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4mm;
    margin-top: 8mm;
}

.traffic-ticket-footer p {
    margin: 0;
    padding-top: 10mm;
    border-top: 1px solid #111;
    text-align: center;
    font-size: 8.5px;
}

.signature-pad {
    width: 100%;
    max-width: 720px;
    height: 180px;
    display: block;
    border: 2px dashed #7b8794;
    border-radius: 6px;
    background: #fff;
    touch-action: none;
}

.acta-policial-panel {
    display: grid;
    gap: 1rem;
    margin: 1rem auto;
    padding: 1rem;
    border: 1px solid #c8d7e3;
    border-radius: 8px;
    background: #f5f9fc;
    width: min(100%, 980px);
    justify-self: center;
}

#acta-policial-host:has(.acta-policial-panel) {
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow: auto;
    padding: 1rem;
    background: rgba(8, 24, 36, .94);
}

.acta-policial-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.acta-policial-header h2 {
    margin: .1rem 0 .2rem;
}

.acta-policial-header p {
    margin: 0;
    color: #506070;
}

.acta-policial-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .7rem;
}

.acta-policial-actions .action-icon,
.signature-block .button-row .action-icon,
.email-send-panel .action-icon {
    min-height: 2.4rem;
    padding: .45rem .8rem;
}

.acta-policial-actions .action-icon::before,
.signature-block .button-row .action-icon::before,
.email-send-panel .action-icon::before {
    width: 1.25rem;
    height: 1.25rem;
}

.acta-preview-shell {
    position: relative;
    width: 100%;
}

.acta-policial-preview {
    width: 100%;
    min-height: 92vh;
    border: 1px solid #c8d7e3;
    border-radius: 6px;
    background: #fff;
}

.document-drawer-panel {
    margin: .8rem 0 1rem;
    background: #fff1f0;
    border-color: #f2b8b5;
}

.document-drawer-panel .section-note {
    margin: -.2rem 0 .6rem;
    color: #7f1d1d;
}

.document-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.document-drawer-header h3 {
    margin: 0;
}

.document-drawer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
}

.document-file-button {
    position: relative;
    min-height: 2.35rem;
    padding: .45rem .8rem;
    overflow: hidden;
    cursor: pointer;
}

.document-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.document-drawer-table {
    table-layout: fixed;
}

.document-drawer-table th:nth-child(1),
.document-drawer-table td:nth-child(1) {
    width: 7rem;
}

.document-drawer-table th:nth-child(2),
.document-drawer-table td:nth-child(2) {
    width: 5.5rem;
}

.document-drawer-table th:nth-child(4),
.document-drawer-table td:nth-child(4) {
    width: 7.8rem;
}

.document-notes-input {
    min-height: 2.2rem;
    padding: .35rem .5rem;
}

.document-row-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.document-icon-button {
    width: 2.05rem;
    height: 2.05rem;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

.document-icon-button::before {
    content: "";
    width: 1.2rem;
    height: 1.2rem;
    background: currentColor;
    -webkit-mask: var(--document-icon) center / contain no-repeat;
    mask: var(--document-icon) center / contain no-repeat;
}

.document-view-button {
    --document-icon: url("/iconos/acta-policial.png");
    background: #e31b23;
}

.document-save-button {
    --document-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h12l2 2v14H5V4ZM8 4v6h8V4M8 20v-6h8v6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background: #14532d;
}

.document-delete-button {
    --document-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 14h10l1-14M9 7V4h6v3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background: #b42318;
}

.document-drawer-has-docs {
    background: #f6c945 !important;
    color: #15202b !important;
    box-shadow: 0 0 0 3px rgba(246, 201, 69, .35);
}

.document-drawer-has-docs::before {
    background: #15202b !important;
}

.link-button {
    border: 0;
    background: transparent;
    color: #174f87;
    padding: 0;
    font: inherit;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.document-preview-panel {
    display: grid;
    gap: .5rem;
    margin-top: 1rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.document-preview-panel h4 {
    margin: 0;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.document-preview-frame {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: min(72vh, 760px);
    min-height: 420px;
    border: 1px solid #c8d7e3;
    border-radius: 6px;
    background: #fff;
}

@media (max-width: 700px) {
    .document-preview-frame {
        height: 62vh;
        min-height: 360px;
    }
}

.acta-signature-overlay {
    position: absolute;
    left: 12%;
    top: 82%;
    width: min(38%, 260px);
    height: auto;
    min-width: 150px;
    max-height: 120px;
    display: none;
    padding: .15rem;
    border: 1px dashed #174f87;
    border-radius: 4px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 18px rgba(12, 29, 45, .18);
    cursor: move;
    touch-action: none;
    z-index: 3;
}

.acta-signature-overlay.is-visible {
    display: block;
}

.doi-check-panel {
    margin-top: .75rem;
    padding: .75rem;
    border: 1px solid #c8d7e3;
    border-radius: 6px;
    background: #f5f9fc;
}

.doi-check-panel h3 {
    margin: 0 0 .6rem;
    font-size: 1rem;
}

.compact-table th,
.compact-table td {
    padding: .55rem .6rem;
}

.doi-check-panel .data-table {
    table-layout: fixed;
    min-width: 0;
}

.doi-check-panel .data-table th,
.doi-check-panel .data-table td {
    white-space: normal;
    overflow-wrap: anywhere;
}

.doi-check-panel .data-table th:last-child,
.doi-check-panel .data-table td:last-child {
    width: 5.5rem;
    text-align: right;
}

.signature-block,
.email-send-panel {
    display: grid;
    gap: .7rem;
    padding: .9rem;
    border: 1px solid #c8d7e3;
    border-radius: 6px;
    background: #fff;
}

.email-send-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.email-send-panel label {
    grid-column: 1 / -1;
}

@media (max-width: 720px) {
    .dashboard-shell:not(:has(.team-form)) {
        padding: .55rem .35rem 1rem;
    }

    .dashboard-shell:not(:has(.team-form)) .dashboard-header {
        align-items: center;
        gap: .45rem;
        margin-bottom: .55rem;
    }

    .dashboard-shell:not(:has(.team-form)) .dashboard-header h1 {
        margin: .15rem 0 .1rem;
        font-size: clamp(2rem, 8.4vw, 2.55rem);
        line-height: .92;
    }

    .dashboard-shell:not(:has(.team-form)) .dashboard-header .eyebrow {
        margin-bottom: .1rem;
        font-size: .72rem;
    }

    .dashboard-shell:not(:has(.team-form)) .dashboard-header .header-copy p {
        margin: .12rem 0 0;
        font-size: .88rem;
        line-height: 1.12;
    }

    .dashboard-shell:not(:has(.team-form)) .dashboard-header .header-copy p:nth-of-type(3) {
        display: none;
    }

    .dashboard-shell:not(:has(.team-form)) .dashboard-header .header-copy p:nth-of-type(4) {
        font-size: .82rem;
        opacity: .86;
    }

    .dashboard-shell:not(:has(.team-form)) .dashboard-header-side {
        gap: .35rem;
        justify-content: center;
    }

    .dashboard-shell:not(:has(.team-form)) .header-actions {
        gap: .35rem;
    }

    .dashboard-shell:not(:has(.team-form)) .header-icon-action {
        width: 2.35rem;
        min-width: 2.35rem;
        height: 2.35rem;
        font-size: 1.1rem;
    }

    .dashboard-shell:not(:has(.team-form)) .action-grid {
        gap: .5rem;
    }

    .button-menu-groups {
        gap: .65rem;
    }

    .button-menu-section {
        padding: .55rem;
        gap: .45rem;
    }

    .button-menu-section h2 {
        font-size: .78rem;
    }

    .button-menu-section .action-grid {
        grid-template-columns: 1fr;
    }

    .side-menu-layout {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .side-tree-menu {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: .45rem;
    }

    .side-menu-item {
        grid-template-columns: 1.9rem minmax(0, 1fr) auto;
        min-height: 2.55rem;
    }

    .side-menu-icon {
        width: 1.9rem;
        height: 1.9rem;
    }

    .side-menu-label {
        white-space: normal;
    }

    .dashboard-shell-side-menu .side-menu-layout {
        grid-template-columns: max-content;
        width: fit-content;
        max-width: calc(100vw - .7rem);
    }

    .dashboard-shell-side-menu .side-tree-menu {
        width: fit-content;
        min-width: 18rem;
        max-width: calc(100vw - .7rem);
    }

    .dashboard-shell-side-menu .side-menu-label {
        white-space: nowrap;
    }

    .dashboard-shell-side-menu::after {
        right: .75rem;
        bottom: 4.8rem;
        width: min(34vw, 18rem);
        height: min(66vh, 31rem);
        opacity: .38;
    }

    .dashboard-shell-side-menu::before {
        right: .85rem;
        bottom: 1rem;
        font-size: clamp(1.8rem, 5.4vw, 3.2rem);
        opacity: .82;
    }

    .vehicle-inline-actions.doi-inline-actions.doi-check-actions {
        grid-template-columns: minmax(0, 1fr) 3.15rem 3.15rem 3.35rem;
    }

    .vehicle-inline-actions.plate-check-actions {
        grid-template-columns: minmax(0, 1fr) 3.35rem 3.35rem;
    }

    .vehicle-inline-actions.plate-check-actions .plate-check-action {
        grid-column: 1 / -1;
    }

    .login-panel {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .login-brand {
        justify-items: center;
        text-align: center;
    }

    .login-logo {
        width: 8rem;
    }

    .login-copy {
        font-size: 1rem;
    }

    .secondary-action,
    .police-action,
    .danger-action,
    .success-action,
    .toolbar-list-action,
    .toolbar-agent-action,
    .toolbar-print-action,
    .toolbar-back-action {
        width: 100%;
    }

    .module-button {
        min-height: 3.45rem;
        padding: .4rem .46rem;
        font-size: .82rem;
        gap: .42rem;
    }

    .module-icon {
        width: 2.95rem;
        height: 2.95rem;
    }

    .module-img-icon,
    .module-svg {
        width: 2.37rem;
        height: 2.37rem;
    }

    .module-title-row {
        gap: .24rem;
    }

    .module-detail {
        font-size: .68rem;
        font-weight: 600;
    }

    .dashboard-header {
        gap: .65rem;
    }

    .jefatura-logo {
        width: 54px;
        height: 54px;
    }

    .form-grid.two,
    .form-grid.three,
    .form-grid.four,
    .intervention-top-grid,
    .control-capture-row,
    .confirm-actions,
    .button-row,
    .related-intervention-actions,
    .three-actions,
    .four-actions,
    .five-actions {
        grid-template-columns: 1fr;
    }

    .intervention-top-grid .field-group:nth-child(5) {
        grid-column: auto;
    }

    .form-grid.four > .field-group:has(.inline-button-field.vehicle-lookup-actions),
    .form-grid.four > .field-group:has(.inline-button-field.vehicle-related-actions),
    .form-grid.four > .field-group:has(.inline-button-field.location-actions),
    .form-grid.four > .field-group:has(.inline-button-field.coordinate-actions),
    .coordinate-grid > .coordinate-location-field,
    .form-grid.three > .field-group:has(.inline-button-field.location-actions),
    .form-grid.three > .field-group:has(.inline-button-field.coordinate-actions),
    .coordinate-grid > .field-group:has(.inline-button-field.coordinate-actions),
    .form-grid.four > .field-group:has(.inline-button-field.doi-check-inline-actions),
    .form-grid.four > .field-group:has(.inline-button-field.doi-check-read-actions),
    .form-grid.four > .field-group:has(.inline-button-field.doi-action-four-buttons),
    .form-grid.four > .field-group:has(.inline-button-field.doi-check-dgt-pip-actions),
    .form-grid.four > .field-group:has(.vehicle-inline-actions) {
        grid-column: auto;
        min-width: 0;
    }

    .toolbar-row {
        flex-direction: column;
    }

    .print-actions,
    .print-grid {
        grid-template-columns: 1fr;
    }

    .acta-policial-header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .email-send-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .dashboard-shell-side-menu::before,
    .dashboard-shell-side-menu::after {
        display: none;
    }
}

@media print {
    @page {
        size: 80mm auto;
        margin: 0;
    }

    body * {
        visibility: hidden;
    }

    .print-sheet,
    .print-sheet *,
    .traffic-ticket-print,
    .traffic-ticket-print * {
        visibility: visible;
    }

    .print-sheet {
        position: absolute;
        inset: 0;
        width: 100%;
        border: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .traffic-ticket-print {
        position: absolute;
        inset: 0;
        width: 80mm;
        max-width: 80mm;
        border: 0;
        border-radius: 0;
    }

    .print-actions,
    .floating-scroll-buttons,
    .toolbar-row {
        display: none !important;
    }

    body.partepol-ticket-printing * {
        visibility: hidden !important;
    }

    body.partepol-ticket-printing {
        width: 80mm !important;
        min-width: 80mm !important;
        max-width: 80mm !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    html:has(body.partepol-ticket-printing) {
        width: 80mm !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.partepol-ticket-printing > :not(#partepol-ticket-print-host) {
        display: none !important;
    }

    body.partepol-ticket-printing .partepol-ticket-print-host,
    body.partepol-ticket-printing .partepol-ticket-print-host * {
        visibility: visible !important;
    }

    body.partepol-ticket-printing .partepol-ticket-print-host {
        display: block !important;
        position: static !important;
        width: 80mm !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    body.partepol-ticket-printing .partepol-ticket-print-host .traffic-ticket-print {
        position: static;
        width: 80mm !important;
        max-width: 80mm !important;
        min-height: 0 !important;
        margin: 0;
        padding: 4mm;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

/* Prueba Retiradas grua: barra superior compacta, siempre en una sola fila. */
.tow-fixed-test-form .tow-fixed-test-actions {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(2.15rem, 1fr)) !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(2.15rem, 1fr);
    align-items: stretch;
    top: calc(var(--tow-fixed-header-height) + var(--tow-fixed-actions-gap)) !important;
}

.tow-fixed-test-form .tow-fixed-test-actions > button {
    width: 100%;
    min-width: 0;
    max-width: none;
    aspect-ratio: auto;
}

@media (max-width: 640px) {
    .tow-fixed-test-form .tow-fixed-test-actions {
        grid-template-columns: repeat(7, minmax(1.95rem, 1fr)) !important;
        gap: .25rem;
        top: calc(var(--tow-fixed-header-height) + var(--tow-fixed-actions-gap)) !important;
    }

    .tow-fixed-test-form .tow-fixed-test-actions > button {
        height: 2.35rem;
        min-height: 2.35rem;
        border-radius: 6px;
    }

    .tow-fixed-test-form .tow-fixed-test-actions > button::before {
        width: 1.45rem;
        height: 1.45rem;
    }
}

/* Cabecera y acciones fijas definitivas para las pantallas de ficha. */
html:has(.dashboard-shell .team-form),
body:has(.dashboard-shell .team-form),
.app-main:has(.dashboard-shell .team-form) {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

.dashboard-shell:has(.team-form) {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.dashboard-shell:has(.team-form) > .wide-panel,
.dashboard-shell:has(.team-form) > .work-panel {
    --fixed-header-height: 4.25rem;
    --fixed-actions-gap: .45rem;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 0 1rem;
    background: #0d1f2d;
}

.dashboard-shell:has(.team-form) .dashboard-header.compact-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    min-height: var(--fixed-header-height);
    margin-bottom: 0;
    padding: .25rem .45rem .3rem;
    background: #0d1f2d;
    box-shadow: 0 8px 18px rgba(13, 31, 45, .2);
}

.dashboard-shell:has(.team-form) .dashboard-header.compact-header .header-copy p:not(.eyebrow) {
    display: none;
}

.dashboard-shell:has(.team-form) .dashboard-header.compact-header h1 {
    margin: .05rem 0 0;
    font-size: clamp(1.55rem, 5.2vw, 2.55rem);
    line-height: .95;
}

.dashboard-shell:has(.team-form) .dashboard-header.compact-header .jefatura-logo {
    width: clamp(42px, 8vw, 58px);
    height: clamp(42px, 8vw, 58px);
}

.dashboard-shell:has(.team-form) .team-form {
    gap: .75rem;
    padding: .85rem;
}

.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type {
    position: sticky;
    top: calc(var(--fixed-header-height) + var(--fixed-actions-gap));
    z-index: 1190;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(2.15rem, 1fr);
    grid-template-columns: repeat(auto-fit, minmax(2.15rem, 1fr)) !important;
    gap: .35rem;
    margin: var(--fixed-actions-gap) 0 .45rem;
    padding: .35rem .25rem;
    background: #fff;
    border-bottom: 1px solid rgba(193, 209, 222, .72);
    box-shadow: 0 8px 18px rgba(13, 31, 45, .12);
}

.dashboard-shell:has(.team-form) .leaflet-container,
.dashboard-shell:has(.team-form) .leaflet-pane,
.dashboard-shell:has(.team-form) .leaflet-top,
.dashboard-shell:has(.team-form) .leaflet-bottom {
    z-index: 1 !important;
}

.dashboard-shell:has(.team-form) .leaflet-control {
    z-index: 2 !important;
}

.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-icon {
    min-width: 0;
    width: 100%;
    height: 2.75rem;
    min-height: 2.75rem;
    max-width: none;
    padding: 0;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
}

.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-icon::before {
    width: 1.7rem;
    height: 1.7rem;
    margin: 0;
}

.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-icon:not(.action-new):not(.action-save):not(.action-document):not(.action-delete):not(.action-dni):not(.police-action):not(.action-video):not(.action-pdf-cajon):not(.action-email):not(.action-print)::before {
    background: #17212b;
}

.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-new::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-save::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-document::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-delete::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-dni::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.police-action::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-video::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-pdf-cajon::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-email::before,
.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-print::before {
    background: #fff;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > button,
.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > button.action-icon {
    min-height: 3rem;
    height: 3rem;
    max-height: 3rem;
    box-sizing: border-box;
    overflow: hidden;
    padding-block: 0;
    align-self: stretch;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > button::before,
.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > button.action-icon::before {
    width: 1.35rem;
    height: 1.35rem;
}

.dashboard-shell:has(.team-form) .team-form .vehicle-block > .button-row:not(.single-action-row):not(.inline-editor-actions):not(.related-intervention-actions) {
    display: none !important;
}

.dashboard-shell:has(.team-form) .team-form .top-action-message {
    margin: .35rem 0 .65rem;
}

.dashboard-shell:has(.team-form) .team-form .vehicle-block > .action-message {
    display: none !important;
}

@media (max-width: 640px) {
    .dashboard-shell:has(.team-form) > .wide-panel,
    .dashboard-shell:has(.team-form) > .work-panel {
        --fixed-header-height: 3.9rem;
        --fixed-actions-gap: .35rem;
        width: 100%;
        padding: 0 .35rem .75rem;
    }

    .dashboard-shell:has(.team-form) .dashboard-header.compact-header {
        padding: .2rem .45rem .25rem;
    }

    .dashboard-shell:has(.team-form) .dashboard-header.compact-header h1 {
        font-size: 1.35rem;
    }

    .dashboard-shell:has(.team-form) .dashboard-header.compact-header .eyebrow {
        font-size: .7rem;
        margin-bottom: .05rem;
    }

    .dashboard-shell:has(.team-form) .dashboard-header.compact-header .jefatura-logo {
        width: 38px;
        height: 38px;
    }

    .dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type {
        grid-template-columns: repeat(auto-fit, minmax(1.95rem, 1fr)) !important;
        grid-auto-columns: minmax(1.95rem, 1fr);
        gap: .25rem;
    }

    .dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-icon {
        height: 2.35rem;
        min-height: 2.35rem;
        border-radius: 6px;
    }

    .dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-icon::before {
        width: 1.45rem;
        height: 1.45rem;
    }
}

.dashboard-shell:has(.team-form) .team-form > :is(.button-row, .toolbar-row):first-of-type > button.action-document::before,
button.action-icon.action-document::before {
    width: 2.25rem !important;
    height: 2.25rem !important;
}

/* Iconos DOI definitivos: dibujo CSS estable, sin compresión de SVG. */
.doi-read-action::before,
.dni-inline-button.doi-read-action::before,
.doi-check-action::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: 1.95rem !important;
    height: 1.22rem !important;
    border: 2px solid #fff !important;
    border-radius: 4px !important;
    background: transparent !important;
    background-image: none !important;
    background-repeat: initial !important;
    background-size: initial !important;
    -webkit-mask: none !important;
    mask: none !important;
    transform: translate(-50%, -50%) !important;
}

.doi-check-action::before {
    left: calc(50% - .22rem) !important;
    width: 1.66rem !important;
    height: 1.12rem !important;
    box-shadow: .98rem .55rem 0 -.31rem #fff !important;
}

.doi-check-action::after {
    content: "DNI" !important;
    position: absolute !important;
    left: calc(50% - .24rem) !important;
    top: 50% !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: .48rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    transform: translate(-50%, -46%) !important;
}

.doi-read-action::after,
.dni-inline-button.doi-read-action::after {
    content: "DNI" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: .54rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    transform: translate(-50%, -45%) !important;
}

/* Correccion final: boton Chequear DOI = tarjeta DNI + lupa visible. */
.doi-check-action::before {
    content: "" !important;
    position: absolute !important;
    left: calc(50% - .24rem) !important;
    top: 50% !important;
    display: block !important;
    width: 1.72rem !important;
    height: 1.16rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent url("data:image/svg+xml,%3Csvg viewBox='0 0 34 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2.5' y='4.5' width='24' height='15' rx='3' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3Ctext x='14.5' y='15.3' text-anchor='middle' font-family='Arial,sans-serif' font-size='7.2' font-weight='900' fill='%23fff'%3EDNI%3C/text%3E%3C/svg%3E") center / contain no-repeat !important;
    box-shadow: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
}

.doi-check-action::after {
    content: "" !important;
    position: absolute !important;
    left: calc(50% + .66rem) !important;
    top: calc(50% + .18rem) !important;
    display: block !important;
    width: .72rem !important;
    height: .72rem !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: .35rem .35rem 0 -.2rem #fff !important;
    -webkit-mask: none !important;
    mask: none !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
}

/* Trafico DOI: botones de chequeo, lectura DNI, DGT y PIP siempre alineados. */
.inline-button-field.doi-check-inline-actions,
.inline-button-field.doi-action-four-buttons,
.inline-button-field.doi-check-dgt-pip-actions {
    min-width: 0;
}

.inline-button-field.doi-check-inline-actions .form-control {
    padding-right: 12.35rem !important;
}

.inline-button-field.doi-action-four-buttons .form-control {
    padding-right: 15.95rem !important;
}

.inline-button-field.doi-check-dgt-pip-actions .form-control {
    padding-right: 15.95rem !important;
}

.inline-button-field.doi-check-inline-actions .inline-field-button,
.inline-button-field.doi-action-four-buttons .inline-field-button,
.inline-button-field.doi-check-dgt-pip-actions .inline-field-button {
    position: absolute !important;
    top: .45rem !important;
    transform: none !important;
    display: inline-grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    place-items: center !important;
    height: 2.35rem !important;
    min-height: 2.35rem !important;
    z-index: 5 !important;
}

.inline-button-field.doi-check-inline-actions .doi-check-action {
    right: 8rem !important;
    width: 3.35rem !important;
    min-width: 3.35rem !important;
    max-width: 3.35rem !important;
}

.inline-button-field.doi-check-inline-actions .doi-read-action {
    right: 4.3rem !important;
    width: 3.35rem !important;
    min-width: 3.35rem !important;
    max-width: 3.35rem !important;
}

.inline-button-field.doi-check-inline-actions .ip-inline-button {
    right: .35rem !important;
    width: 3.6rem !important;
    min-width: 3.6rem !important;
    max-width: 3.6rem !important;
}

.inline-button-field.doi-action-four-buttons .doi-check-action,
.inline-button-field.doi-check-dgt-pip-actions .doi-check-action {
    right: 12.25rem !important;
    width: 3.35rem !important;
    min-width: 3.35rem !important;
    max-width: 3.35rem !important;
}

.inline-button-field.doi-action-four-buttons .doi-read-action,
.inline-button-field.doi-check-dgt-pip-actions .doi-read-action {
    right: 8.55rem !important;
    width: 3.35rem !important;
    min-width: 3.35rem !important;
    max-width: 3.35rem !important;
}

.inline-button-field.doi-action-four-buttons .dgt-inline-button,
.inline-button-field.doi-check-dgt-pip-actions .dgt-inline-button {
    right: 4.65rem !important;
    width: 3.55rem !important;
    min-width: 3.55rem !important;
    max-width: 3.55rem !important;
}

.inline-button-field.doi-action-four-buttons .ip-inline-button,
.inline-button-field.doi-check-dgt-pip-actions .ip-inline-button {
    right: .35rem !important;
    width: 3.95rem !important;
    min-width: 3.95rem !important;
    max-width: 3.95rem !important;
}

/* DOI final: cualquier boton embebido de DOI queda dentro del input. */
.inline-button-field .inline-field-button:is(.doi-check-action, .doi-read-action, .dni-inline-button, .dgt-inline-button, .ip-inline-button) {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.inline-button-field:is(.doi-check-inline-actions, .doi-check-read-actions, .doi-action-four-buttons, .doi-check-dgt-pip-actions) .inline-field-button:is(.doi-check-action, .doi-read-action, .dni-inline-button, .dgt-inline-button, .ip-inline-button) {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.identification-bottom-actions {
    display: none !important;
}

.vehicle-abandoned-bottom-actions {
    display: none !important;
}

.map-action-message {
    margin: .75rem 0 1rem;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type {
    grid-template-columns: minmax(2.25rem, .55fr) minmax(2.25rem, .55fr) minmax(3.6rem, 1fr) minmax(3.3rem, .78fr) minmax(3.2rem, .76fr) minmax(2.25rem, .55fr) minmax(2.25rem, .55fr) !important;
    grid-auto-rows: 2.75rem !important;
    align-items: stretch !important;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > button,
.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > button.action-icon {
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    max-height: 2.75rem !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 .25rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > button.service-icon-only {
    padding: 0 !important;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > .action-agents {
    gap: .16rem !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > .action-agents::before {
    width: 1.75rem !important;
    height: 1.75rem !important;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > .action-send-part {
    --action-icon: url("/iconos/parte-send.png");
    background: #174a7e !important;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > .action-lock-closed {
    --action-icon: url("/iconos/parte-lock-closed.png");
    background: #be251c !important;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > .action-lock-open {
    --action-icon: url("/iconos/parte-lock-open.png");
    background: #23834f !important;
}

.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > .action-send-part::before,
.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > .action-lock-closed::before,
.dashboard-shell:has(.team-form) .team-form > .service-toolbar:first-of-type > .action-lock-open::before {
    width: 1.7rem !important;
    height: 1.7rem !important;
    background: #fff !important;
}

/* Tamaño homogéneo definitivo solo para los iconos de las fichas. */
