:root {
    --serinsis-blue: #007acc;
    --serinsis-blue-deep: #035f9f;
    --serinsis-navy: #102434;
    --serinsis-sky: #dfeef8;
    --serinsis-mist: #eef5f8;
    --serinsis-steel: #5d7385;
    --parking-yellow: #f4c430;
    --parking-yellow-soft: #ffe28a;
    --surface-white: rgba(255, 255, 255, 0.88);
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: var(--serinsis-mist);
    color: var(--serinsis-navy);
}

a, .btn-link {
    color: var(--serinsis-blue);
}

.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;
}

.content {
    padding-top: 1.1rem;
}

* {
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at top left, rgba(0, 122, 204, 0.18), transparent 24%),
        radial-gradient(circle at bottom right, rgba(16, 36, 52, 0.12), transparent 26%),
        linear-gradient(180deg, #f7fbfd 0%, var(--serinsis-mist) 100%);
}

.parking-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 430px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%),
        linear-gradient(180deg, #edf5fa 0%, #dbeaf4 100%);
}

.parking-login__hero {
    position: relative;
    overflow: hidden;
    padding: 3rem clamp(1.5rem, 4vw, 4rem);
    background:
        linear-gradient(120deg, rgba(16, 36, 52, 0.96), rgba(3, 95, 159, 0.92)),
        linear-gradient(180deg, var(--serinsis-blue) 0%, var(--serinsis-blue-deep) 100%);
    color: #fff;
}

.parking-login__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.08) 8% 9%, transparent 9% 18%, rgba(255, 255, 255, 0.08) 18% 19%, transparent 19% 100%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12), transparent 18%);
    pointer-events: none;
}

.parking-login__brand,
.parking-login__panel,
.parking-login__lanes {
    position: relative;
    z-index: 1;
}

.parking-login__brand {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-bottom: 2rem;
}

.parking-login__mark {
    width: 7.25rem;
    height: 7.25rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    padding: 0.85rem;
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(231, 241, 248, 0.94)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 243, 247, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 18px 40px rgba(2, 12, 22, 0.28),
        0 0 0 6px rgba(244, 196, 48, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    position: relative;
}

.parking-login__mark::after {
    content: "";
    position: absolute;
    inset: -0.45rem;
    border-radius: 2.1rem;
    border: 2px solid rgba(244, 196, 48, 0.32);
    pointer-events: none;
}

.parking-login__mark-image {
    width: 100%;
    max-width: 5.5rem;
    height: auto;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 12px 20px rgba(0, 0, 0, 0.12))
        saturate(1.08)
        contrast(1.05);
}

.parking-login__eyebrow {
    margin: 0 0 0.2rem;
    color: var(--parking-yellow-soft);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 800;
}

.parking-login__brand h1 {
    margin: 0;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.02;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.parking-login__panel {
    max-width: 600px;
    padding: 1.8rem 1.8rem 1.4rem;
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 45px rgba(5, 18, 29, 0.24);
    backdrop-filter: blur(10px);
}

.parking-login__kicker {
    margin: 0 0 0.5rem;
    color: var(--parking-yellow-soft);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.parking-login__panel h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
}

.parking-login__description {
    margin: 1rem 0 1.5rem;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.parking-login__highlights {
    display: grid;
    gap: 0.85rem;
}

.parking-login__highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
}

.parking-login__highlight-icon {
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    background: rgba(244, 196, 48, 0.18);
    color: var(--parking-yellow-soft);
    font-weight: 900;
}

.parking-login__highlight strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.98rem;
}

.parking-login__highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}

.parking-login__lanes {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.parking-login__lanes span {
    flex: 1;
    height: 0.6rem;
    border-radius: 999px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--parking-yellow) 0 22px,
            rgba(16, 36, 52, 0) 22px 34px
        );
    opacity: 0.95;
}

.parking-login__form-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8)),
        linear-gradient(180deg, #ffffff, #eef4f8);
    border-left: 1px solid rgba(16, 36, 52, 0.08);
}

.parking-login__ticket {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 1.2rem 1.2rem 0.9rem 0.9rem;
    background:
        linear-gradient(90deg, rgba(244, 196, 48, 0.28), rgba(244, 196, 48, 0.1)),
        #fff;
    border: 1px dashed rgba(16, 36, 52, 0.18);
    color: var(--serinsis-navy);
}

.parking-login__ticket-label,
.parking-login__ticket-id {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.parking-form {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 1.5rem;
    background: var(--surface-white);
    border: 1px solid rgba(16, 36, 52, 0.08);
    box-shadow: 0 20px 45px rgba(16, 36, 52, 0.08);
}

.parking-form__field {
    display: grid;
    gap: 0.45rem;
}

.parking-form__field label {
    color: var(--serinsis-navy);
    font-size: 0.92rem;
    font-weight: 800;
}

.parking-form__input {
    width: 100%;
    min-height: 3.4rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(16, 36, 52, 0.14);
    border-radius: 1rem;
    background: #f8fbfd;
    color: var(--serinsis-navy);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.parking-form__input:focus {
    border-color: var(--serinsis-blue);
    box-shadow: 0 0 0 0.28rem rgba(0, 122, 204, 0.14);
    outline: none;
    transform: translateY(-1px);
}

.parking-form__error {
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    background: #fdeceb;
    color: #a12a1d;
    font-weight: 700;
}

.parking-form__success {
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    background: #e7f6ec;
    color: #166534;
    font-weight: 700;
}

.parking-form__submit {
    min-height: 3.5rem;
    border: none;
    border-radius: 999px;
    background:
        linear-gradient(135deg, var(--serinsis-blue), var(--serinsis-blue-deep)),
        var(--serinsis-blue);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 18px 30px rgba(0, 122, 204, 0.22);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.parking-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 34px rgba(0, 122, 204, 0.28);
}

.parking-form__submit:disabled,
.parking-form__secondary:disabled {
    cursor: wait;
    opacity: 0.7;
}

.parking-form__secondary {
    min-height: 3.25rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 36, 52, 0.12);
    background: #ffffff;
    color: var(--serinsis-navy);
    font-weight: 800;
    cursor: pointer;
}

.parking-form__help {
    margin-top: 1rem;
    color: var(--serinsis-steel);
    line-height: 1.6;
}

.parking-form__help strong {
    color: var(--serinsis-navy);
}

.parking-form__picker {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(16, 36, 52, 0.08);
}

.parking-form__picker-header {
    display: grid;
    gap: 0.2rem;
    color: var(--serinsis-steel);
    font-size: 0.9rem;
}

.parking-form__picker-header strong {
    color: var(--serinsis-navy);
}

.parking-form__database {
    display: grid;
    gap: 0.2rem;
    text-align: left;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(16, 36, 52, 0.12);
    background: #ffffff;
    color: var(--serinsis-navy);
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.parking-form__database:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 122, 204, 0.35);
    box-shadow: 0 14px 28px rgba(16, 36, 52, 0.08);
}

.parking-form__database span,
.parking-form__database small {
    color: var(--serinsis-steel);
}

@media (max-width: 980px) {
    .parking-login {
        grid-template-columns: 1fr;
    }

    .parking-login__hero,
    .parking-login__form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .parking-login__brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .parking-login__mark {
        width: 6rem;
        height: 6rem;
    }

    .parking-login__ticket {
        gap: 0.75rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .parking-login__panel,
    .parking-form {
        padding: 1.1rem;
    }
}

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;
}

.dian-companies-shell input.dian-companies-input,
.dian-companies-shell select.dian-companies-input,
.dian-companies-shell textarea.dian-companies-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(155, 187, 219, 0.75) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    color: #102f55 !important;
    display: block;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
    width: 100% !important;
}

.dian-companies-shell input.dian-companies-input:focus,
.dian-companies-shell select.dian-companies-input:focus,
.dian-companies-shell textarea.dian-companies-input:focus {
    border-color: rgba(27, 104, 176, 0.95) !important;
    box-shadow: 0 0 0 3px rgba(43, 123, 198, 0.16) !important;
    outline: none !important;
}

.dian-companies-shell select.dian-companies-input {
    background-image:
        linear-gradient(45deg, transparent 50%, #325b83 50%),
        linear-gradient(135deg, #325b83 50%, transparent 50%) !important;
    background-position:
        calc(100% - 19px) calc(50% - 3px),
        calc(100% - 13px) calc(50% - 3px) !important;
    background-repeat: no-repeat !important;
    background-size: 6px 6px, 6px 6px !important;
    padding-right: 40px !important;
}

.dian-companies-shell button.dian-companies-button,
.dian-companies-shell a.dian-companies-button {
    align-items: center;
    background: linear-gradient(180deg, #f7fbff, #dfeaf5) !important;
    border: 1px solid rgba(125, 164, 200, 0.78) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 18px rgba(29, 83, 133, 0.12) !important;
    color: #123860 !important;
    display: inline-flex !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    gap: 8px;
    justify-content: center;
    min-height: 48px !important;
    padding: 12px 18px !important;
    text-decoration: none !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
    white-space: nowrap;
}

.dian-companies-shell button.dian-companies-button:hover,
.dian-companies-shell a.dian-companies-button:hover {
    box-shadow: 0 12px 22px rgba(29, 83, 133, 0.16) !important;
    transform: translateY(-1px);
}

.dian-companies-shell button.dian-companies-button:disabled,
.dian-companies-shell a.dian-companies-button:disabled {
    cursor: not-allowed !important;
    filter: grayscale(0.08);
    opacity: 0.62 !important;
    transform: none !important;
}

.dian-companies-shell button.dian-companies-button--dark,
.dian-companies-shell a.dian-companies-button--dark {
    background: linear-gradient(135deg, #2382c4, #143d68 78%) !important;
    border-color: rgba(20, 61, 104, 0.9) !important;
    color: #fff !important;
}

.dian-companies-shell button.dian-companies-button--danger,
.dian-companies-shell a.dian-companies-button--danger {
    background: linear-gradient(180deg, #fff3f2, #f8ddda) !important;
    color: #8f2318 !important;
}

.dian-companies-shell button.dian-companies-link {
    background: rgba(36, 130, 196, 0.12) !important;
    border: 1px solid rgba(113, 170, 214, 0.56) !important;
    border-radius: 12px !important;
    color: #0f5b96 !important;
    font-weight: 800 !important;
    padding: 8px 14px !important;
    text-decoration: none !important;
}

.dian-companies-shell button.dian-companies-link:hover {
    background: rgba(36, 130, 196, 0.18) !important;
    color: #0b4a7d !important;
}

.dian-companies-shell .dian-companies-mini-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dian-companies-shell .dian-companies-mini-grid--smtp {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dian-companies-shell .dian-companies-inline-header h2 {
    color: #0d2c52;
    font-size: 1.45rem;
    margin: 0;
}

.dian-companies-shell .dian-companies-inline-header p {
    color: #4a6787;
    margin: 0.35rem 0 1rem;
}

.dian-modal-backdrop {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(7, 21, 38, 0.42);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1.5rem;
    position: fixed;
    z-index: 1400;
}

.dian-modal-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 247, 255, 0.98));
    border: 1px solid rgba(153, 189, 223, 0.55);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(15, 45, 78, 0.24);
    max-width: 34rem;
    padding: 1.8rem;
    width: min(100%, 34rem);
}

.dian-modal-icon {
    align-items: center;
    background: linear-gradient(135deg, #eaf4ff, #d2e6fb);
    border-radius: 18px;
    color: #15548c;
    display: inline-flex;
    font-size: 1.6rem;
    font-weight: 900;
    height: 3.4rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 3.4rem;
}

.dian-modal-icon--error {
    background: linear-gradient(135deg, #fff0ee, #ffd8d1);
    color: #a12a1f;
}

.dian-modal-icon--info {
    background: linear-gradient(135deg, #eaf4ff, #d2e6fb);
    color: #15548c;
}

.dian-modal-icon--warn {
    background: linear-gradient(135deg, #fff7e7, #ffe2a8);
    color: #8f5a00;
}

.dian-modal-copy h3 {
    color: #123860;
    font-size: 1.25rem;
    line-height: 1.45;
    margin: 0;
}

.dian-modal-kicker {
    color: #5a7ba0;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
}

.dian-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.4rem;
}

@media (max-width: 1200px) {
    .dian-companies-shell .dian-companies-mini-grid,
    .dian-companies-shell .dian-companies-mini-grid--smtp {
        grid-template-columns: 1fr;
    }
}

.support-entry {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #102f45, #075f91);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(12, 58, 87, .18);
}

.support-entry:hover {
    color: #fff;
    transform: translateY(-1px);
}

.support-entry__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    border-radius: 13px;
    background: #fff;
    color: #08689c;
    font-size: 1.2rem;
    font-weight: 900;
}

.support-entry > span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.support-entry small {
    margin-top: 3px;
    color: #cce2ee;
}

.support-entry b {
    font-size: .8rem;
    white-space: nowrap;
}

/* Herramientas Excel del administrador de productos */
.product-tools{display:flex;align-items:center;gap:9px}.product-tools .tool-light{border:1px solid #b9d9e7!important;background:#edf8fc!important;color:#0878ad!important;box-shadow:none}.product-tools button:disabled{opacity:.55;cursor:wait}
.import-dialog{width:min(680px,94vw)!important}.excel-drop{display:flex;align-items:center;flex-direction:column;padding:26px;border:2px dashed #aed1e1;border-radius:16px;background:#f5fafc;text-align:center;cursor:pointer;transition:.18s ease}.excel-drop:hover{border-color:#1689ba;background:#eef8fc}.excel-icon{width:62px;height:48px;display:grid;place-items:center;margin-bottom:12px;border-radius:12px;background:#e2f5eb;color:#118154;font-size:.82rem;font-weight:900;letter-spacing:.05em}.excel-drop strong{color:#173c4f;font-size:1rem}.excel-drop small{max-width:510px;margin:6px 0 14px;color:#708995;line-height:1.45}.excel-drop input{max-width:100%;padding:9px;background:#fff}.import-warning{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:13px 15px;border:1px solid #f1d49a;border-radius:12px;background:#fff5df;color:#805713;font-size:.8rem}.import-warning strong{font-size:.85rem}@media(max-width:650px){.product-tools{width:100%;flex-wrap:wrap}.product-tools button{flex:1}.product-tools button:last-child{flex-basis:100%}}

/* Base responsive transversal para administración y caja. */
img,svg,video,canvas{max-width:100%;height:auto}input,select,textarea,button{max-width:100%}table{max-width:100%}.responsive-scroll,.table-responsive{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}dialog,[role="dialog"]{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
@media(max-width:1100px){.app-content>section,.app-content>div{min-width:0}.dian-modal-card{max-height:calc(100dvh - 32px);overflow:auto}}
@media(max-width:760px){html{font-size:15px}body{overflow-x:hidden}.app-content{overflow-x:hidden!important}.app-content h1{font-size:clamp(1.65rem,8vw,2.25rem)}.app-content h2{font-size:clamp(1.3rem,6vw,1.8rem)}.app-content table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.app-content form{min-width:0}.app-content input:not([type="checkbox"]):not([type="radio"]),.app-content select,.app-content textarea{font-size:16px}.dian-modal-backdrop{padding:10px}.dian-modal-card{padding:1.15rem;border-radius:20px}.dian-modal-actions{flex-direction:column-reverse}.dian-modal-actions>*{width:100%}.support-entry{align-items:flex-start;padding:14px}.support-entry b{white-space:normal}}
@media(max-width:480px){html{font-size:14px}.app-content{padding:10px!important}.app-topbar__company{max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-topbar__version{display:none}.app-topbar__actions{gap:7px}.app-topbar__logout{padding:8px 10px}.app-statusbar__clock{font-size:.7rem}}
/* Database maintenance */
.dbm-shell{padding:28px;display:grid;gap:16px}.dbm-hero{background:linear-gradient(120deg,#064566,#0786b1);color:#fff;border-radius:22px;padding:28px;display:flex;justify-content:space-between;align-items:center}.dbm-hero span,.dbm-card span,.dbm-summary span{font-size:.72rem;font-weight:800;letter-spacing:.12em}.dbm-hero h1{margin:7px 0;font-size:2rem}.dbm-hero p{margin:0}.dbm-hero a{color:#fff;border:1px solid #ffffff66;border-radius:12px;padding:11px 18px;text-decoration:none}.dbm-card{background:#fff;border:1px solid #d8e4eb;border-radius:18px;padding:20px}.dbm-context{display:grid;grid-template-columns:1fr 1fr auto;gap:18px;align-items:center}.dbm-context div{display:grid;gap:5px}.dbm-context button{background:#0786b1;color:#fff;border:0;border-radius:12px;padding:14px 20px;font-weight:800}.dbm-context button:disabled{opacity:.55}.dbm-alert{padding:15px;border-radius:12px;background:#fee2e2;color:#991b1b}.dbm-summary{border-radius:18px;padding:20px 24px;display:flex;justify-content:space-between;align-items:center}.dbm-summary h2{margin:5px 0}.dbm-summary p{margin:0}.dbm-summary>strong{font-size:2.5rem}.dbm-summary.ok{background:#dcfce7;color:#166534}.dbm-summary.warn{background:#fff7dc;color:#854d0e}.dbm-table-wrap{overflow:auto}.dbm-table-wrap table{width:100%;border-collapse:collapse}.dbm-table-wrap th,.dbm-table-wrap td{text-align:left;padding:13px;border-bottom:1px solid #dce6ec;vertical-align:top}.dbm-table-wrap th{font-size:.72rem;color:#476477}.dbm-chip{background:#fff1d6;color:#92400e;border-radius:999px;padding:5px 9px;font-weight:800;font-size:.72rem}@media(max-width:700px){.dbm-shell{padding:12px}.dbm-hero{align-items:flex-start;gap:16px}.dbm-hero h1{font-size:1.45rem}.dbm-context{grid-template-columns:1fr}.dbm-context button{width:100%}}
.dbm-risk-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dbm-risk-grid article{background:#fff;border:1px solid #d8e4eb;border-radius:16px;padding:18px}.dbm-risk-grid article:first-child{border-left:5px solid #16a34a}.dbm-risk-grid article:last-child{border-left:5px solid #f59e0b}.dbm-risk-grid span{font-size:.7rem;font-weight:900;letter-spacing:.1em}.dbm-risk-grid strong{display:block;font-size:2rem;margin:5px 0}.dbm-risk-grid p{margin:0;color:#61798a}.dbm-script>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:15px}.dbm-script h2{margin:4px 0}.dbm-script p{margin:0;color:#61798a}.dbm-script button{background:#087da5;color:#fff;border:0;border-radius:11px;padding:12px 17px;font-weight:800}.dbm-script textarea{width:100%;min-height:220px;margin-top:16px;padding:15px;border:1px solid #cddce5;border-radius:12px;background:#092f44;color:#d9f4ff;font:13px Consolas,monospace;resize:vertical}.dbm-validation{margin-top:12px;padding:13px;border-radius:10px}.dbm-validation.ok{background:#dcfce7;color:#166534}.dbm-validation.bad{background:#fee2e2;color:#991b1b}.dbm-risk{border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800}.dbm-risk.bajo{background:#dcfce7;color:#166534}.dbm-risk.alto{background:#fee2e2;color:#991b1b}.dbm-risk.revisión{background:#fff1d6;color:#92400e}@media(max-width:700px){.dbm-risk-grid{grid-template-columns:1fr}.dbm-script>div:first-child{align-items:stretch;flex-direction:column}.dbm-script button{width:100%}}
.dbm-analysis-actions{display:flex!important;flex-direction:row!important;gap:8px!important}.dbm-analysis-actions button{white-space:nowrap}.dbm-analysis-actions button:nth-child(3){background:#075275}@media(max-width:1000px){.dbm-context{grid-template-columns:1fr 1fr}.dbm-analysis-actions{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.dbm-analysis-actions{grid-template-columns:1fr}}
