:root {
    --navy: #10294d;
    --navy-2: #173a6b;
    --navy-3: #07182e;
    --gold: #c89b32;
    --cyan: #35d0ff;
    --green: #1b8a5a;
    --red: #c2413b;
    --ink: #172033;
    --muted: #687487;
    --line: #dce3ee;
    --surface: #f4f7fb;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(53, 208, 255, .12), transparent 28rem),
        linear-gradient(180deg, #edf3fb 0%, var(--surface) 34rem);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

a {
    color: var(--navy-2);
    text-decoration: none;
}

.auth-body {
    min-height: 100vh;
    background:
        linear-gradient(115deg, rgba(2, 10, 24, .06), rgba(3, 16, 34, .18) 58%, rgba(2, 9, 19, .28)),
        url("../img/orion-login-bg.png") center / cover no-repeat fixed,
        linear-gradient(135deg, #031022 0%, #071d39 42%, #0b2d59 100%);
    color: #fff;
    overflow: auto;
    position: relative;
}

.auth-body::before,
.auth-body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.auth-body::before {
    background:
        radial-gradient(circle at 50% 42%, rgba(53, 208, 255, .08), transparent 21rem),
        radial-gradient(circle at 66% 18%, rgba(255, 255, 255, .06), transparent 18rem),
        linear-gradient(90deg, rgba(1, 8, 20, .34), transparent 48%, rgba(1, 8, 20, .24));
    mix-blend-mode: screen;
    opacity: .52;
}

.auth-body::after {
    background:
        linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, .045) 48%, transparent 56% 100%),
        radial-gradient(circle at 50% 120%, rgba(53, 208, 255, .1), transparent 32rem);
    transform: translateX(-18%);
    animation: authBackgroundSweep 9s ease-in-out infinite;
    opacity: .28;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 72px);
    position: relative;
    z-index: 2;
}

.auth-panel {
    width: min(100%, 520px);
}

.auth-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(239, 246, 255, .82));
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 30px;
    box-shadow: 0 34px 110px rgba(0, 0, 0, .46), 0 0 60px rgba(53, 208, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .78);
    padding: clamp(26px, 4vw, 38px);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(22px);
    animation: authCardIn .7s ease-out both;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--cyan), #ffffff, var(--gold));
    background-size: 240% 100%;
    animation: authGlowLine 5s linear infinite;
}

.auth-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 208, 255, .18), transparent 68%);
    pointer-events: none;
}

.auth-card > * {
    position: relative;
    z-index: 1;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.login-logo-wordmark {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 4px;
    margin: -8px 0 18px;
}

.login-logo-wordmark > img {
    width: min(112%, 470px);
    height: 158px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 20px rgba(16, 41, 77, .18));
}

.login-logo-wordmark > p {
    max-width: 390px;
    margin: -18px auto 0;
    color: #5c687c;
    font-weight: 700;
}

.login-logo-wordmark > div {
    margin-top: -8px;
}

.login-logo-orion-emblem {
    gap: 10px;
    margin: -18px 0 20px;
}

.orion-login-stage {
    width: min(100%, 300px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    position: relative;
    margin-inline: auto;
    isolation: isolate;
}

.orion-login-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter:
        drop-shadow(0 26px 30px rgba(3, 16, 34, .32))
        drop-shadow(0 0 32px rgba(53, 208, 255, .2));
    animation: orionLoginFloat 5.6s ease-in-out infinite;
}

.orion-login-stage::before {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 55% 32%, rgba(53, 208, 255, .28), transparent 18%),
        radial-gradient(circle at 38% 36%, rgba(255, 123, 38, .28), transparent 11%),
        radial-gradient(circle, rgba(8, 38, 82, .2), transparent 64%);
    filter: blur(13px);
    opacity: .82;
    animation: orionLoginGlow 3.6s ease-in-out infinite;
    z-index: 0;
}

.orion-login-ring,
.orion-login-pulse,
.orion-login-scan {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orion-login-ring {
    inset: 6%;
    border: 1px solid rgba(255, 255, 255, .34);
    background:
        conic-gradient(from 90deg, transparent 0 22deg, rgba(53, 208, 255, .75) 22deg 28deg, transparent 28deg 144deg, rgba(255, 255, 255, .75) 144deg 151deg, transparent 151deg 263deg, rgba(223, 31, 44, .78) 263deg 271deg, transparent 271deg 360deg);
    mask: radial-gradient(circle, transparent 0 62%, #000 63% 100%);
    opacity: .62;
    animation: orionLoginSpin 16s linear infinite;
    z-index: 1;
}

.orion-login-pulse {
    inset: 17%;
    background: radial-gradient(circle, rgba(53, 208, 255, .24), transparent 68%);
    filter: blur(10px);
    animation: orionLoginPulse 2.8s ease-in-out infinite;
    z-index: 0;
}

.orion-login-scan {
    width: 46%;
    height: 1px;
    left: 30%;
    top: 31%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
    filter: blur(.3px);
    transform: rotate(-16deg) translateX(-110%);
    opacity: 0;
    animation: orionLoginScan 5.8s ease-in-out infinite;
    z-index: 3;
}

.orion-login-title {
    display: inline-block;
    margin-top: -10px;
    color: #061d3c;
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 950;
    letter-spacing: .18em;
    line-height: 1;
    text-transform: uppercase;
    padding: 12px 18px 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(5, 31, 68, .08), rgba(53, 208, 255, .16), rgba(223, 31, 44, .1)),
        rgba(255, 255, 255, .62);
    border: 1px solid rgba(7, 24, 46, .1);
    box-shadow:
        0 14px 28px rgba(7, 24, 46, .12),
        inset 0 1px 0 rgba(255, 255, 255, .72);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
    position: relative;
    overflow: hidden;
}

.orion-login-title::before {
    content: "";
    position: absolute;
    inset: auto 16px 6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b2d59, #35d0ff 50%, #df1f2c);
    box-shadow: 0 0 16px rgba(53, 208, 255, .34);
}

.orion-login-title::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: translateX(-140%);
    animation: orionTitleShine 5.6s ease-in-out infinite;
}

.logo-circle,
.brand-mark {
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    border: 2px solid var(--gold);
    font-weight: 800;
}

.logo-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.logo-circle-img {
    background: linear-gradient(145deg, #07182e, #123d74);
    box-shadow: 0 14px 34px rgba(16, 41, 77, .28), 0 0 0 7px rgba(200, 155, 50, .12);
}

.logo-circle-img img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .22));
    animation: authLogoFloat 4.8s ease-in-out infinite;
}

.logo-circle-orion {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    overflow: hidden;
    background: #07182e;
}

.logo-circle-orion img {
    width: 112%;
    height: 112%;
    max-width: none;
    object-fit: cover;
}

.login-logo h1 {
    margin: 0;
    color: var(--ink);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0;
}

.login-logo p,
.page-kicker,
.brand span,
.user-chip span,
.muted,
.table-subtitle {
    color: var(--muted);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: .95rem;
}

.auth-form .form-label {
    color: #42526b;
    font-weight: 800;
    font-size: .85rem;
}

.auth-form .input-group {
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(16, 41, 77, .08);
}

.auth-form .input-group-text,
.auth-form .form-control {
    border-color: #d9e4f2;
    background: rgba(255, 255, 255, .9);
    min-height: 52px;
}

.auth-form .input-group-text {
    color: var(--gold);
    border-radius: 18px 0 0 18px;
    padding-inline: 18px;
}

.auth-form .form-control {
    border-radius: 0 18px 18px 0;
    font-weight: 700;
    color: var(--navy-3);
}

.auth-form .form-control:focus {
    border-color: rgba(53, 208, 255, .72);
    box-shadow: 0 0 0 .25rem rgba(53, 208, 255, .14);
}

.auth-submit {
    border: 0;
    min-height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b2d59, #123d74 52%, #0a87b9);
    box-shadow: 0 18px 36px rgba(16, 41, 77, .26), 0 0 0 1px rgba(255, 255, 255, .18) inset;
    font-weight: 900;
    letter-spacing: .02em;
    position: relative;
    overflow: hidden;
}

.auth-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .34), transparent);
    transform: translateX(-120%);
    transition: transform .7s ease;
}

.auth-submit:hover::before {
    transform: translateX(120%);
}

.auth-hero {
    color: #fff;
    max-width: 720px;
}

.auth-logo-stage {
    width: clamp(172px, 24vw, 260px);
    height: clamp(172px, 24vw, 260px);
    display: grid;
    place-items: center;
    position: relative;
    margin-bottom: 30px;
}

.auth-logo-stage img {
    width: 62%;
    height: 62%;
    object-fit: contain;
    filter: drop-shadow(0 22px 35px rgba(0, 0, 0, .42));
    animation: authLogoFloat 5.5s ease-in-out infinite;
    z-index: 2;
}

.auth-logo-stage-brand {
    width: clamp(290px, 34vw, 470px);
    height: clamp(290px, 34vw, 470px);
    margin-bottom: 18px;
    border-radius: 50%;
}

.auth-logo-stage-brand img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
}

.auth-logo-stage-brand .auth-logo-ring,
.auth-logo-stage-brand .auth-logo-pulse {
    display: none;
}

.auth-logo-ring,
.auth-logo-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.auth-logo-ring {
    border: 1px solid rgba(200, 155, 50, .42);
    background:
        conic-gradient(from 90deg, transparent 0 20deg, rgba(53, 208, 255, .9) 20deg 28deg, transparent 28deg 110deg, rgba(200, 155, 50, .9) 110deg 118deg, transparent 118deg 360deg),
        radial-gradient(circle, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 58%, transparent 60%);
    animation: authSpin 13s linear infinite;
}

.auth-logo-pulse {
    inset: 17%;
    border: 1px solid rgba(53, 208, 255, .42);
    animation: authPulse 2.8s ease-in-out infinite;
}

.auth-eyebrow {
    color: var(--gold);
    font-size: .83rem;
    font-weight: 900;
    letter-spacing: .18em;
    margin-bottom: 14px;
}

.auth-hero h2 {
    font-size: clamp(2.15rem, 5vw, 4.85rem);
    line-height: .98;
    font-weight: 950;
    max-width: 760px;
    letter-spacing: -.06em;
    text-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

.auth-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.auth-hero-metrics span {
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, .82);
    font-size: .88rem;
}

.auth-hero-metrics strong {
    color: #fff;
}

.auth-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: .18;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, #000, transparent 68%);
}

.auth-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(53, 208, 255, .22), transparent);
    height: 34%;
    animation: authScan 5.5s linear infinite;
}

.auth-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(8px);
    opacity: .65;
    z-index: 0;
    pointer-events: none;
}

.auth-orb-one {
    width: 340px;
    height: 340px;
    left: -120px;
    top: 10%;
    background: radial-gradient(circle, rgba(53, 208, 255, .2), transparent 68%);
    animation: authDrift 10s ease-in-out infinite alternate;
}

.auth-orb-two {
    width: 300px;
    height: 300px;
    right: -90px;
    bottom: 8%;
    background: radial-gradient(circle, rgba(223, 31, 44, .18), transparent 70%);
    animation: authDrift 12s ease-in-out infinite alternate-reverse;
}

.btn-primary {
    --bs-btn-bg: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-hover-bg: var(--navy-2);
    --bs-btn-hover-border-color: var(--navy-2);
}

.app-shell {
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.sidebar {
    width: 292px;
    flex: 0 0 292px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(53, 208, 255, .08), transparent 22rem),
        linear-gradient(180deg, var(--navy-3), var(--navy));
    color: var(--white);
    padding: 20px 16px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sidebar * {
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px 20px;
}

.brand-logo {
    display: block;
    width: 100%;
    max-width: 238px;
    height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .28));
}

.brand-logo-menu {
    max-width: 250px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .34));
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
}

.brand strong,
.brand span {
    display: block;
}

.brand span {
    color: rgba(255, 255, 255, .68);
    font-size: .8rem;
}

.sidebar-nav {
    gap: 6px;
    flex: 0 0 auto;
    overflow: visible;
    padding-right: 2px;
}

.sidebar-nav .nav-link {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: rgba(255, 255, 255, .78);
    border-radius: 8px;
    padding: 10px 12px;
    white-space: normal;
    word-break: break-word;
}

.nav-group-toggle {
    display: grid;
    grid-template-columns: 1fr 18px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .78);
    text-align: left;
}

.nav-group-toggle span {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 12px;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}

.nav-group-toggle span i {
    align-self: start;
    padding-top: 2px;
}

.nav-group-toggle span,
.sidebar-nav .nav-link span {
    min-width: 0;
}

.sidebar-nav .nav-link.active,
.sidebar-nav .nav-link:hover,
.nav-group-toggle.active,
.nav-group-toggle:hover {
    background: rgba(255, 255, 255, .11);
    color: var(--white);
}

.sidebar-nav .bi,
.nav-group-toggle .bi {
    color: var(--gold);
    text-align: center;
}

.nav-group-toggle > .bi {
    color: rgba(255, 255, 255, .5);
    transition: transform .18s ease;
}

.nav-group-toggle[aria-expanded="true"] > .bi {
    transform: rotate(180deg);
}

.nav-group {
    display: grid;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.nav-group .collapse,
.nav-group .collapsing {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.nav-group .collapse.show {
    overflow: visible;
}

.nav-sublink {
    display: block;
    margin-left: 23px;
    max-width: calc(100% - 23px);
    padding: 8px 10px 8px 21px;
    border-left: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .66);
    font-size: .9rem;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nav-sublink.active,
.nav-sublink:hover {
    background: rgba(255, 255, 255, .07);
    color: var(--white);
    border-left-color: var(--gold);
    border-radius: 0 8px 8px 0;
}

.sidebar-session {
    margin-top: auto;
    transform: translateY(14px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.session-user {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.session-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(200, 155, 50, .18);
    color: var(--gold);
}

.session-user strong,
.session-user span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-user strong {
    color: var(--white);
    font-size: .88rem;
}

.session-user span,
.session-timer span {
    color: rgba(255, 255, 255, .62);
    font-size: .74rem;
    font-weight: 750;
}

.session-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(7, 24, 46, .38);
}

.session-timer strong {
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
}

.session-timer.is-warning strong {
    color: #ffcf5a;
}

.session-timer.is-danger strong {
    color: #ff8b84;
}

.session-logout {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .88);
    font-weight: 850;
}

.session-logout:hover {
    background: rgba(194, 65, 59, .22);
    color: var(--white);
}

.app-main {
    min-width: 0;
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.topbar {
    min-height: 82px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.page-kicker {
    margin: 0;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.topbar-title {
    min-width: 0;
}

.topbar-logo {
    display: block;
    width: 156px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
    margin: -8px 0 -4px;
}

.topbar h1 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-alert {
    position: relative;
    width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    font-weight: 850;
    box-shadow: 0 8px 24px rgba(16, 41, 77, .05);
}

.topbar-alert .bi {
    color: var(--gold);
}

.topbar-alert.active,
.topbar-alert:hover {
    border-color: rgba(53, 208, 255, .6);
    background: #eefaff;
}

.topbar-alert em {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
}

.notice-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    margin-bottom: 18px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(53, 208, 255, .38), transparent 30%),
        linear-gradient(135deg, #061d3b, #0c3f7c 55%, #0b2145);
    box-shadow: var(--shadow);
}

.notice-hero h2 {
    margin: 6px 0;
    font-weight: 900;
}

.notice-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.notice-grid {
    display: grid;
    gap: 14px;
}

.notice-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 41, 77, .06);
}

.notice-card {
    position: relative;
}

.notice-card::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 22px 0 0 22px;
    background: var(--notice-accent, var(--gold));
}

.notice-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--gold);
    background: linear-gradient(135deg, #fff7df, #fff);
    border: 1px solid rgba(200, 155, 50, .25);
}

.notice-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.notice-category-filter button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-weight: 850;
}

.notice-category-filter button.active,
.notice-category-filter button:hover {
    border-color: rgba(53, 208, 255, .6);
    background: #eefaff;
    color: var(--navy);
}

.notice-category-badge {
    background: color-mix(in srgb, var(--notice-accent, var(--gold)) 14%, #fff) !important;
    color: var(--notice-accent-dark, #174577) !important;
}

.notice-type-comunicado { --notice-accent: #0d6efd; --notice-accent-dark: #084298; }
.notice-type-ensino { --notice-accent: #6f42c1; --notice-accent-dark: #432874; }
.notice-type-promocao { --notice-accent: #c89b32; --notice-accent-dark: #7a5b13; }
.notice-type-saude { --notice-accent: #1b8a5a; --notice-accent-dark: #0f5132; }
.notice-type-joe { --notice-accent: #f08c2e; --notice-accent-dark: #8a4b0f; }
.notice-type-escala { --notice-accent: #35d0ff; --notice-accent-dark: #075985; }
.notice-type-patrimonio { --notice-accent: #64748b; --notice-accent-dark: #334155; }
.notice-type-urgente { --notice-accent: #c2413b; --notice-accent-dark: #842029; }

.notice-card .notice-icon {
    color: var(--notice-accent, var(--gold));
    background: color-mix(in srgb, var(--notice-accent, var(--gold)) 10%, #fff);
    border-color: color-mix(in srgb, var(--notice-accent, var(--gold)) 24%, #fff);
}

.notice-content h3 {
    margin: 8px 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--navy);
}

.notice-content p,
.notice-message {
    margin: 0;
    color: var(--muted);
}

.notice-message {
    line-height: 1.55;
}

.notice-message img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 8px 0;
}

.notice-message a {
    font-weight: 800;
    text-decoration: underline;
}

.notice-meta,
.notice-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.notice-meta span,
.notice-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #174577;
    font-size: .78rem;
    font-weight: 850;
}

.notice-meta small {
    color: var(--muted);
    font-weight: 800;
}

.notice-footer {
    margin-top: 14px;
}

.notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.notice-actions form {
    display: inline-flex;
}

.notice-target-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.notice-target-options label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--navy);
    font-weight: 850;
}

.search-input-wrap.is-disabled {
    opacity: .62;
    pointer-events: none;
}

.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: #f8fbff;
}

.rich-editor-toolbar button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #d9e3f2;
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
}

.rich-editor-toolbar button:hover {
    border-color: rgba(53, 208, 255, .7);
    background: #eefaff;
}

.rich-editor {
    min-height: 180px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    background: #fff;
    color: var(--ink);
    outline: 0;
}

.rich-editor:focus {
    border-color: rgba(53, 208, 255, .7);
    box-shadow: 0 0 0 4px rgba(53, 208, 255, .12);
}

.rich-editor img {
    max-width: 100%;
    border-radius: 12px;
}

.selected-person {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #eef5ff;
    color: var(--navy);
    font-weight: 900;
}

.selected-person .bi {
    color: var(--gold);
}

.profile-current-role {
    width: 100%;
    display: grid;
    gap: 4px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7df, #fff);
    border: 1px solid rgba(200, 155, 50, .24);
    color: var(--navy);
}

.profile-current-role .bi {
    color: var(--gold);
}

.profile-current-role span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.role-history-panel {
    margin-top: 18px;
}

.role-timeline {
    display: grid;
    gap: 12px;
}

.role-timeline article {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.role-timeline article.is-current {
    border-color: rgba(53, 208, 255, .45);
    background: linear-gradient(135deg, #f3fbff, #fff);
}

.role-dot {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #0f5fa8);
}

.role-timeline strong {
    color: var(--navy);
    font-weight: 900;
}

.role-timeline p {
    margin: 4px 0;
    color: var(--muted);
    font-weight: 800;
}

.role-timeline span {
    color: var(--muted);
}

.role-timeline em {
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #174577;
    font-size: .74rem;
    font-style: normal;
    font-weight: 900;
}

.profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    margin-bottom: 18px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 20%, rgba(200, 155, 50, .34), transparent 26%),
        radial-gradient(circle at 15% 75%, rgba(53, 208, 255, .22), transparent 30%),
        linear-gradient(135deg, #07182e, #0d3a6a 58%, #07182e);
    box-shadow: var(--shadow);
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.profile-photo-modern {
    width: 132px;
    height: 166px;
    display: grid;
    place-items: center;
    flex: 0 0 132px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .24);
    border-radius: 24px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

.profile-photo-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-modern .bi {
    font-size: 3rem;
    color: rgba(255, 255, 255, .82);
}

.profile-hero h2 {
    margin: 6px 0;
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.profile-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    overflow-wrap: anywhere;
}

.profile-badges,
.profile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-badges {
    margin-top: 14px;
}

.profile-badges > span:not(.status-pill) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 850;
    font-size: .82rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.profile-mural {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.profile-mural article {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(16, 41, 77, .055);
}

.profile-mural .bi {
    color: var(--gold);
}

.profile-mural span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 850;
}

.profile-mural strong {
    display: block;
    color: var(--navy);
    font-size: 1.45rem;
    font-weight: 950;
}

.profile-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.profile-panel {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 41, 77, .055);
}

.profile-panel.span-2 {
    grid-column: 1 / -1;
}

.data-sections {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.data-section {
    padding: 14px;
    border-radius: 18px;
    background: #f7faff;
}

.data-section h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: .94rem;
    font-weight: 950;
}

.data-section dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.data-section dl div {
    display: grid;
    gap: 2px;
}

.data-section dt {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.data-section dd {
    margin: 0;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.profile-list {
    display: grid;
    gap: 10px;
    max-height: 360px;
    overflow: auto;
}

.profile-list > div {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f9fbfe;
}

.profile-list strong {
    color: var(--navy);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.profile-list span,
.profile-list small {
    color: var(--muted);
    font-weight: 750;
    overflow-wrap: anywhere;
}

.medal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.medal-card {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 41, 77, .055);
}

.medal-image {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 22px;
    color: var(--gold);
    background: linear-gradient(135deg, #fff7df, #fff);
    border: 1px solid rgba(200, 155, 50, .24);
}

.medal-image.small {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.medal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medal-card h3 {
    margin: 8px 0 4px;
    color: var(--navy);
    font-weight: 950;
}

.medal-card p,
.medal-card small {
    color: var(--muted);
}

.medal-kpis,
.medal-ranking {
    display: grid;
    gap: 14px;
}

.medal-kpis {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 18px;
}

.kpi-card {
    padding: 18px;
    border: 1px solid rgba(200, 155, 50, .20);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 248, 221, .92), rgba(255, 255, 255, .96));
    box-shadow: 0 16px 36px rgba(16, 41, 77, .07);
}

.kpi-card span,
.kpi-card small {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.kpi-card strong {
    display: block;
    margin: 4px 0;
    color: var(--navy);
    font-size: 2rem;
    font-weight: 950;
}

.medal-ranking-panel {
    margin-bottom: 18px;
}

.medal-ranking {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.medal-rank-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f9fbfe;
}

.medal-rank-card strong,
.medal-card-body h3 {
    color: var(--navy);
    font-weight: 950;
}

.medal-rank-card span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 750;
}

.medal-thumb,
.medal-tiny,
.medal-person-photo {
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7df, #fff);
    color: var(--gold);
    border: 1px solid rgba(200, 155, 50, .24);
}

.medal-thumb {
    width: 52px;
    height: 52px;
}

.medal-tiny {
    width: 40px;
    height: 40px;
}

.medal-person-photo {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #eef5ff;
}

.medal-thumb img,
.medal-tiny img,
.medal-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medal-card-body {
    min-width: 0;
}

.medal-card-head {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.medal-card-actions {
    align-self: center;
}

.medal-person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
}

.document-preview-frame {
    width: 100%;
    min-height: 72vh;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
}

.joe-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 18px;
}

.joe-cards {
    display: grid;
    gap: 10px;
}

.joe-card {
    display: grid;
    gap: 5px;
    width: 100%;
    text-align: left;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f9fbfe;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.joe-card.active,
.joe-card:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 155, 50, .42);
    background: linear-gradient(135deg, #fff7df, #fff);
    box-shadow: 0 16px 32px rgba(16, 41, 77, .08);
}

.joe-card strong,
.joe-info-grid strong {
    color: var(--navy);
    font-weight: 950;
}

.joe-card small,
.joe-card em,
.joe-info-grid span {
    color: var(--muted);
    font-size: .86rem;
    font-style: normal;
    font-weight: 750;
}

.joe-public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.joe-public-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(53, 208, 255, .18);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 10%, rgba(53, 208, 255, .2), transparent 28%),
        radial-gradient(circle at 0 100%, rgba(178, 13, 29, .08), transparent 32%),
        linear-gradient(145deg, #fff, #f6fbff 62%, #edf6ff);
    box-shadow: 0 24px 60px rgba(5, 22, 48, .1);
}

.joe-public-orbit {
    position: absolute;
    right: -34px;
    bottom: -42px;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: rgba(255, 255, 255, .8);
    background: linear-gradient(135deg, rgba(0, 45, 103, .2), rgba(178, 13, 29, .18));
    font-size: 3rem;
}

.joe-public-head,
.joe-public-footer,
.joe-public-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.joe-public-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.joe-public-body h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.18rem;
    font-weight: 950;
}

.joe-public-body p {
    margin: 4px 0;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 750;
}

.joe-public-detail {
    position: relative;
    z-index: 1;
    padding: 12px 14px;
    border-radius: 18px;
    color: #314158;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(13, 110, 253, .08);
    font-size: .9rem;
}

.joe-public-footer strong {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 950;
}

.joe-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.joe-info-grid > div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f9fbfe;
}

.joe-info-grid span,
.joe-info-grid strong {
    display: block;
}

.joe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 12px 0;
}

.joe-finance-panel {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(36, 72, 124, .14);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(20, 77, 138, .10), transparent 34%),
        linear-gradient(180deg, #fff, #f7fbff);
}

.joe-summary-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.joe-summary-modal-grid > div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbff;
}

.joe-summary-modal-grid span,
.joe-summary-modal-grid strong {
    display: block;
}

.joe-summary-modal-grid span {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.joe-summary-modal-grid strong {
    color: var(--navy);
    font-weight: 950;
}

.medal-strip {
    display: grid;
    gap: 10px;
}

.medal-award {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    background: #f9fbfe;
}

.medal-award strong,
.medal-award span {
    display: block;
}

.medal-award strong {
    color: var(--navy);
}

.medal-award span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.pending-panel {
    background: linear-gradient(135deg, #fff, #f8fbff);
}

.pending-panel p {
    color: var(--muted);
}

.quadros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.quadro-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 41, 77, .055);
}

.quadro-badge {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #0b65ad);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: .02em;
}

.quadro-card h3 {
    margin: 8px 0 5px;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 950;
}

.quadro-card p {
    margin: 0;
    color: var(--muted);
}

.quadro-counts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quadro-counts span {
    padding: 12px;
    border-radius: 16px;
    background: #f7faff;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 850;
}

.quadro-counts strong {
    display: block;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 950;
}

.quadro-card .table-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.user-chip strong,
.user-chip span {
    display: block;
    line-height: 1.2;
}

.nav-mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f3f6fb;
}

.nav-mode-switch a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 850;
    white-space: nowrap;
}

.nav-mode-switch a.active {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 8px 18px rgba(16, 41, 77, .18);
}

.nav-mode-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid rgba(16, 41, 77, .14);
    border-radius: 999px;
    background: linear-gradient(135deg, #fff, #eef6ff);
    color: var(--navy);
    font-size: .84rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(16, 41, 77, .08);
}

.nav-mode-button i {
    color: var(--gold);
    font-size: 1rem;
}

.nav-mode-button:hover {
    transform: translateY(-1px);
    border-color: rgba(53, 208, 255, .55);
    background: #eefaff;
}

.nav-mode-button.is-gestao {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
}

.user-avatar,
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.user-avatar {
    background: #e7edf6;
    color: var(--navy);
}

.icon-btn {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
}

.content-wrap {
    padding: 24px;
}

.dashboard-hero,
.module-hero,
.settings-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 220px;
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid rgba(53, 208, 255, .24);
    border-radius: 8px;
    background:
        linear-gradient(120deg, rgba(7, 24, 46, .96), rgba(16, 41, 77, .92)),
        repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, .05) 35px 36px);
    color: var(--white);
    box-shadow: 0 20px 70px rgba(16, 41, 77, .18);
}

.dashboard-hero::after,
.module-hero::after,
.settings-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -60% auto;
    width: 420px;
    aspect-ratio: 1;
    border: 1px solid rgba(53, 208, 255, .2);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 208, 255, .16), transparent 60%);
    pointer-events: none;
}

.dashboard-hero > *,
.module-hero > *,
.settings-hero > * {
    position: relative;
    z-index: 1;
}

.dashboard-hero span,
.module-hero span,
.settings-hero span {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .78rem;
}

.dashboard-hero h2,
.module-hero h2,
.settings-hero h2 {
    margin: 8px 0;
    max-width: 720px;
    font-size: clamp(1.9rem, 4vw, 3.6rem);
    font-weight: 850;
    letter-spacing: 0;
}

.dashboard-hero p,
.module-hero p,
.settings-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.hero-radar {
    position: relative;
    z-index: 1;
    width: 170px;
    height: 170px;
    flex: 0 0 170px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    border: 1px solid rgba(53, 208, 255, .38);
    background: radial-gradient(circle, rgba(53, 208, 255, .2), rgba(255, 255, 255, .04));
}

.hero-radar::before {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .28);
}

.radar-core {
    font-size: 3rem;
    font-weight: 850;
    line-height: 1;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.metric-card,
.panel,
.info-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.metric-card {
    min-height: 142px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 40px rgba(16, 41, 77, .07);
}

.metric-card .bi {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e7edf6;
    color: var(--navy);
}

.metric-card span {
    color: var(--muted);
    font-size: .9rem;
}

.metric-card strong {
    font-size: 2rem;
    line-height: 1;
}

.metric-card.success .bi,
.metric-card.info .bi {
    background: #e4f4ec;
    color: var(--green);
}

.metric-card.danger .bi,
.metric-card.warning .bi {
    background: #fdebea;
    color: var(--red);
}

.metric-card.gold .bi {
    background: #fbf2dc;
    color: #906713;
}

.executive-hero {
    min-height: 250px;
}

.hero-command-figure {
    position: relative;
    z-index: 1;
    width: 210px;
    height: 210px;
    flex: 0 0 210px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    border: 1px solid rgba(53, 208, 255, .26);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 30%, rgba(53, 208, 255, .24), transparent 46%),
        linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 26px 70px rgba(3, 15, 32, .28);
}

.figure-orbit {
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(255, 255, 255, .26);
    border-radius: 50%;
}

.hero-command-figure .bi {
    font-size: 3rem;
    color: var(--gold);
    filter: drop-shadow(0 12px 22px rgba(200, 155, 50, .18));
}

.hero-command-figure strong {
    font-size: 2.35rem;
    line-height: 1;
}

.hero-command-figure span {
    color: rgba(255, 255, 255, .72);
    text-transform: none;
}

.executive-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 18px;
}

.command-metric {
    position: relative;
    overflow: hidden;
}

.command-metric::after {
    content: "";
    position: absolute;
    inset: auto -22px -34px auto;
    width: 92px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 208, 255, .16), transparent 68%);
}

.command-metric small {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-weight: 700;
}

.dashboard-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.insight-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    padding: 18px;
    border: 1px solid rgba(53, 208, 255, .18);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .92));
    box-shadow: 0 18px 52px rgba(16, 41, 77, .08);
}

.insight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #35d0ff, transparent);
}

.insight-wide {
    grid-column: 1 / -1;
}

.panel-heading p {
    max-width: 680px;
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .88rem;
}

.chart-box {
    position: relative;
    height: 270px;
    margin-top: 14px;
}

.chart-box.tall {
    height: 430px;
}

.police-dashboard-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 28px;
    margin-bottom: 20px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 20%, rgba(53, 208, 255, .34), transparent 30%),
        radial-gradient(circle at 78% 18%, rgba(200, 155, 50, .24), transparent 28%),
        linear-gradient(135deg, #07182e 0%, #0d2d52 54%, #07182e 100%);
    box-shadow: 0 26px 70px rgba(7, 24, 46, .24);
}

.police-hero-glow {
    position: absolute;
    inset: auto -80px -130px auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(53, 208, 255, .18);
    filter: blur(16px);
}

.police-hero-profile,
.police-hero-actions {
    position: relative;
    z-index: 1;
}

.police-hero-profile {
    display: flex;
    align-items: center;
    gap: 18px;
}

.police-hero-photo {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .72);
    border-radius: 26px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .24);
}

.police-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.police-hero-photo i {
    font-size: 2.6rem;
}

.police-hero-profile span,
.police-dashboard-hero p {
    color: rgba(255, 255, 255, .78);
}

.police-hero-profile h2 {
    margin: 4px 0;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    font-weight: 950;
}

.police-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.police-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.police-quick-card {
    display: grid;
    gap: 7px;
    padding: 18px;
    border: 1px solid rgba(13, 45, 82, .08);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #f6f9fd 100%);
    box-shadow: 0 16px 36px rgba(7, 24, 46, .08);
}

.police-quick-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--blue));
}

.police-quick-card span,
.police-quick-card a {
    color: var(--muted);
    font-size: .9rem;
}

.police-quick-card strong {
    color: var(--navy);
    font-size: 1.35rem;
}

.police-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    gap: 18px;
    margin-bottom: 18px;
}

.police-dashboard-grid.secondary {
    grid-template-columns: 1fr 1fr;
}

.police-side-stack,
.police-joe-list,
.police-news-list,
.police-cycle-list,
.mini-timeline,
.police-shortcuts {
    display: grid;
    gap: 12px;
}

.police-side-stack {
    gap: 18px;
}

.police-joe-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 13px;
    border: 1px solid #e6edf7;
    border-radius: 18px;
    background: #fff;
}

.police-joe-item.modern-joe-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(53, 208, 255, .22);
    background:
        radial-gradient(circle at 92% 12%, rgba(53, 208, 255, .16), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 54%, #eef6ff 100%);
    box-shadow: 0 18px 44px rgba(7, 24, 46, .08);
}

.police-joe-item.modern-joe-card::after {
    content: "";
    position: absolute;
    inset: auto -28px -46px auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(200, 155, 50, .18), rgba(0, 91, 170, .1));
    pointer-events: none;
}

.police-joe-item.modern-joe-card > * {
    position: relative;
    z-index: 1;
}

.joe-dashboard-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.joe-dashboard-actions form {
    margin: 0;
}

.joe-date-chip {
    display: grid;
    place-items: center;
    min-height: 58px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--gold));
}

.joe-date-chip strong {
    font-size: 1.35rem;
    line-height: 1;
}

.joe-date-chip span {
    font-size: .68rem;
    font-weight: 800;
}

.police-joe-item strong,
.police-news-list strong,
.mini-timeline strong,
.police-cycle-list strong {
    display: block;
    color: var(--navy);
}

.police-joe-item span,
.police-joe-item small,
.police-news-list span,
.police-news-list small,
.mini-timeline small,
.police-cycle-list span,
.police-cycle-list small {
    display: block;
    color: var(--muted);
    font-size: .86rem;
}

.police-news-list a,
.mini-timeline a,
.police-cycle-list > div,
.police-shortcuts a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid #e6edf7;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    background: #fff;
}

.police-news-list i,
.police-cycle-list i,
.police-shortcuts i {
    color: var(--blue);
    font-size: 1.15rem;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(200, 155, 50, .16);
}

.empty-state-mini {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    color: var(--muted);
    background: #f8fbff;
}

.empty-state-mini i {
    color: var(--blue);
    font-size: 1.4rem;
}

.gender-chart-box {
    display: grid;
    place-items: center;
}

.gender-chart-box canvas {
    position: absolute;
    inset: 0;
}

.gender-chart-center {
    position: relative;
    z-index: 1;
    width: min(74%, 250px);
    min-height: 150px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    place-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(53, 208, 255, .18);
    border-radius: 24px;
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 48px rgba(16, 41, 77, .12);
    pointer-events: none;
    animation: genderFloat 3.8s ease-in-out infinite;
}

.gender-avatar {
    display: grid;
    place-items: center;
    gap: 2px;
    text-align: center;
    color: var(--navy);
}

.gender-avatar .bi {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef6ff;
    color: var(--navy);
    font-size: 1.65rem;
    box-shadow: 0 10px 22px rgba(16, 41, 77, .12);
    animation: avatarPulse 2.4s ease-in-out infinite;
}

.gender-avatar-female .bi {
    background: #fff8dd;
    color: #906713;
    animation-delay: .3s;
}

.gender-avatar-other {
    grid-column: 1 / -1;
}

.gender-avatar-other .bi {
    width: 34px;
    height: 34px;
    background: #e7edf6;
    color: var(--muted);
    font-size: 1.25rem;
    animation-delay: .6s;
}

.gender-avatar strong {
    font-size: .95rem;
    line-height: 1;
}

.gender-avatar span {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
}

@keyframes genderFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.panel {
    padding: 18px;
    box-shadow: 0 12px 40px rgba(16, 41, 77, .06);
}

.command-panel {
    border-color: rgba(53, 208, 255, .18);
}

.panel-badge {
    border-radius: 999px;
    padding: 4px 10px;
    background: #e7edf6;
    color: var(--navy);
    font-weight: 800;
    font-size: .8rem;
}

.panel-heading,
.page-actions,
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-heading h2,
.form-section h2,
.info-card h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 850;
}

.section-subtitle {
    margin: 2px 0 0;
    color: var(--muted);
}

.bar-list,
.list-feed,
.form-panel {
    display: grid;
    gap: 12px;
}

.bar-row {
    display: grid;
    grid-template-columns: 120px 1fr 36px;
    align-items: center;
    gap: 12px;
}

.bar-track {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e7edf6;
}

.bar-fill {
    height: 100%;
    background: var(--navy);
}

.list-feed article {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.list-feed .bi {
    color: var(--gold);
}

.list-feed strong,
.list-feed span,
.table-subtitle {
    display: block;
}

.list-feed p {
    margin: 4px 0;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 180px 180px auto;
    gap: 10px;
    width: 100%;
}

.filter-main,
.filter-grid,
.effective-toolbar,
.effective-pagination {
    display: flex;
    gap: 10px;
}

.filter-main {
    align-items: center;
}

.filter-main .form-control {
    min-width: 260px;
    flex: 1;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.effective-search-shell {
    display: grid;
    gap: 12px;
    width: 100%;
}

.search-command {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(53, 208, 255, .18);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .94));
    box-shadow: 0 16px 46px rgba(16, 41, 77, .07);
}

.search-command-input {
    position: relative;
}

.search-command-input .bi {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    z-index: 1;
}

.search-command-input .form-control {
    min-height: 46px;
    padding-left: 42px;
    border-radius: 12px;
    border-color: rgba(16, 41, 77, .12);
    background: #fff;
}

.filter-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.filter-toggle span,
.filter-drawer-head em {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: .74rem;
    font-style: normal;
    font-weight: 900;
}

.filter-drawer {
    padding: 16px;
    border: 1px solid rgba(53, 208, 255, .18);
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(53, 208, 255, .12), transparent 16rem),
        rgba(255, 255, 255, .92);
    box-shadow: 0 16px 46px rgba(16, 41, 77, .06);
}

.filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.filter-drawer-head strong,
.filter-drawer-head span {
    display: block;
}

.filter-drawer-head strong {
    color: var(--navy);
    font-size: 1rem;
}

.filter-drawer-head span {
    color: var(--muted);
    font-size: .86rem;
}

.filter-drawer .filter-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
}

.effective-toolbar {
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
    color: var(--muted);
}

.effective-toolbar strong {
    color: var(--navy);
}

.effective-grid {
    display: grid;
    gap: 14px;
}

.effective-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 88px minmax(240px, 1fr) minmax(170px, auto) auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 44px rgba(16, 41, 77, .06);
}

.effective-card-command {
    border-color: rgba(200, 155, 50, .48);
    background:
        linear-gradient(90deg, rgba(255, 248, 221, .94), rgba(255, 255, 255, .94) 34%),
        #fff;
    box-shadow: 0 18px 52px rgba(130, 91, 12, .14);
}

.effective-card-command::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--gold), #f5d47e, var(--navy));
}

.command-ribbon {
    width: fit-content;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--navy), #174577);
    color: #fff;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(7, 24, 46, .18);
}

.command-ribbon .bi {
    color: #f5d47e;
}

.command-role {
    width: fit-content;
    border-radius: 999px;
    padding: 4px 9px;
    background: #fff7df;
    color: #7b560f;
    font-weight: 900;
}

.effective-visual,
.effective-photo {
    width: 88px;
    height: 106px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background:
        linear-gradient(160deg, rgba(53, 208, 255, .18), rgba(200, 155, 50, .14)),
        #e7edf6;
    color: var(--navy);
}

.effective-photo.xl {
    width: 132px;
    height: 162px;
    margin: 0 auto 16px;
}

.effective-visual img,
.effective-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.effective-visual .bi,
.effective-photo .bi {
    font-size: 2rem;
}

.effective-rank {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.effective-rank small {
    padding: 2px 6px;
    border: 1px solid rgba(200, 155, 50, .35);
    border-radius: 999px;
    color: var(--navy);
    background: #fff8dd;
    font-size: .64rem;
    font-weight: 900;
}

.rank-symbol {
    width: 36px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 0 0 36px;
    padding: 6px 5px;
    border: 1px solid rgba(255, 224, 138, .16);
    border-radius: 2px 2px 8px 8px;
    background:
        linear-gradient(180deg, rgba(38, 36, 38, .98), rgba(18, 16, 18, .98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 18px rgba(7, 34, 68, .14);
    letter-spacing: -1px;
    line-height: 1;
    font-size: .76rem;
    color: #f4c21f;
}

.rank-symbol:has(.rank-gem) {
    flex-direction: column;
}

.rank-symbol:has(.rank-chevrons),
.rank-symbol:has(.rank-subtenente) {
    background:
        linear-gradient(180deg, rgba(48, 45, 43, .98), rgba(26, 21, 20, .98));
}

.rank-gem {
    width: 7px;
    height: 7px;
    display: inline-block;
    transform: rotate(45deg);
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .65), 0 1px 5px rgba(0, 0, 0, .35);
}

.rank-gem-gold {
    border: 1px solid #f9d86a;
    background: linear-gradient(135deg, #fff1a6, #d89a17 55%, #8f5d08);
}

.rank-gem-silver {
    border: 1px solid #e7eef7;
    background: linear-gradient(135deg, #ffffff, #c7d1dd 55%, #7b8797);
}

.rank-gem-silver-outline {
    border: 2px solid #e7eef7;
    background: transparent;
}

.rank-gem-gold-outline {
    border: 2px solid #f9d86a;
    background: transparent;
}

.rank-gem-star-gold {
    width: auto;
    height: auto;
    transform: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.rank-gem-star-gold::before {
    content: '★';
    color: #f3c21b;
    font-size: 1rem;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(92, 59, 4, .35);
}

.rank-subtenente {
    width: 12px;
    height: 18px;
    display: inline-block;
    border-left: 2px solid #f3c21b;
    border-bottom: 2px solid #f3c21b;
    transform: rotate(45deg);
    border-radius: 2px;
}

.rank-chevrons {
    width: 24px;
    min-width: 24px;
    display: inline-grid;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.rank-chevrons i {
    width: 18px;
    height: 8px;
    display: block;
    justify-self: center;
    background: #f3c21b;
    clip-path: polygon(50% 0, 100% 100%, 76% 100%, 50% 46%, 24% 100%, 0 100%);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3));
}

.rank-chevrons-1 i,
.rank-chevrons-2 i {
    width: 17px;
    height: 8px;
}

.effective-info {
    min-width: 0;
}

.effective-info h3 {
    margin: 2px 0;
    font-size: 1.2rem;
    font-weight: 850;
}

.effective-info p,
.effective-info span,
.effective-meta small {
    margin: 0;
    color: var(--muted);
}

.effective-meta {
    display: grid;
    justify-items: start;
    gap: 6px;
}

.effective-meta strong {
    font-size: 1rem;
}

.effective-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    max-width: 290px;
}

.effective-actions form {
    display: contents;
}

.effective-pagination {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.availability-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin: -4px 0 16px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 850;
    box-shadow: 0 8px 24px rgba(16, 41, 77, .045);
}

.availability-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 41, 77, .05);
}

.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 950;
}

.availability-pill .bi {
    font-size: .48rem;
}

.availability-pronto {
    background: #e4f8ed;
    color: #18794e;
}

.availability-dot.availability-pronto {
    background: #2fa36b;
}

.availability-restricao_jms,
.availability-pendente_jms,
.availability-restricao_taf,
.availability-atencao {
    background: #fff7df;
    color: #906713;
}

.availability-dot.availability-restricao_jms,
.availability-dot.availability-pendente_jms,
.availability-dot.availability-restricao_taf,
.availability-dot.availability-atencao {
    background: #c89b32;
}

.availability-indisponivel {
    background: #fdebea;
    color: #b42318;
}

.availability-dot.availability-indisponivel {
    background: #d9534f;
}

.availability-fora_servico {
    background: #ece8ff;
    color: #5b3cc4;
}

.availability-dot.availability-fora_servico {
    background: #7b61ff;
}

.effective-pagination .page-link {
    min-width: 38px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    text-align: center;
}

.effective-pagination .page-link.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--navy), #0c79a8);
    color: #fff;
}

.effective-pagination .page-link.disabled {
    pointer-events: none;
    opacity: .45;
}

.absence-filter {
    grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(150px, 1fr)) auto auto;
}

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

.absence-list {
    display: grid;
    gap: 12px;
}

.absence-card {
    display: grid;
    grid-template-columns: 72px minmax(220px, 1.2fr) minmax(180px, .8fr) minmax(190px, .8fr) 38px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--cyan);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 38px rgba(16, 41, 77, .06);
}

.absence-card.absence-encerrado {
    border-left-color: var(--muted);
    opacity: .86;
}

.absence-card.absence-futuro {
    border-left-color: var(--gold);
}

.absence-photo {
    width: 72px;
    height: 88px;
}

.absence-main,
.absence-reason,
.absence-period {
    min-width: 0;
}

.absence-rank,
.absence-reason span {
    display: block;
    color: var(--gold);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.absence-main h3 {
    margin: 2px 0;
    font-size: 1.12rem;
    font-weight: 850;
}

.absence-main p,
.absence-reason small,
.absence-period small {
    margin: 0;
    color: var(--muted);
}

.absence-reason strong,
.absence-period strong {
    display: block;
    margin: 2px 0;
    color: var(--navy);
}

.absence-period {
    display: grid;
    gap: 4px;
}

.status-vigente {
    background: #e4f4ec;
    color: var(--green);
}

.status-futuro {
    background: #fbf2dc;
    color: #906713;
}

.status-encerrado {
    background: #e7edf6;
    color: var(--muted);
}

.hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modern-modal {
    overflow: hidden;
    border: 1px solid rgba(53, 208, 255, .22);
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(7, 24, 46, .28);
}

.modern-modal .modal-header {
    align-items: flex-start;
    color: #fff;
    border: 0;
    background:
        radial-gradient(circle at top right, rgba(53, 208, 255, .22), transparent 18rem),
        linear-gradient(135deg, var(--navy-3), var(--navy));
}

.modern-modal .btn-close {
    filter: invert(1) grayscale(1);
}

.modal-kicker {
    color: var(--gold);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.absence-search-box {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f9fbfe;
}

.search-input-wrap {
    position: relative;
}

.search-input-wrap .bi {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.search-input-wrap .form-control {
    padding-left: 40px;
}

.absence-search-results {
    display: grid;
    gap: 8px;
    max-height: 260px;
    margin-top: 10px;
    overflow: auto;
}

.police-result {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    text-align: left;
}

.police-result:hover {
    border-color: rgba(53, 208, 255, .75);
    background: #eefaff;
}

.police-result strong {
    color: var(--navy);
}

.police-result span,
.police-result small {
    color: var(--muted);
}

.selected-police {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #e4f4ec;
    color: var(--green);
}

.selected-police .bi {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(27, 138, 90, .12);
    font-size: 1.35rem;
}

.selected-police strong,
.selected-police span {
    display: block;
}

.selected-police span {
    color: #406252;
    font-size: .84rem;
}

.modern-check {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f9fbfe;
}

.joe-modal-sections {
    display: grid;
    gap: 14px;
}

.joe-modal-section {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.joe-modal-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.joe-modal-section-title > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: rgba(16, 41, 77, .08);
    color: var(--navy);
}

.joe-modal-section-title strong,
.joe-modal-section-title span {
    display: block;
}

.joe-modal-section-title strong {
    color: var(--navy);
    font-weight: 900;
}

.joe-modal-section-title span {
    color: var(--muted);
    font-size: .84rem;
}

.joe-check {
    width: 100%;
    min-height: 38px;
    justify-content: center;
    margin: 0;
}

.absence-indefinite-check {
    width: 100%;
    min-height: 38px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 12px;
    border-color: rgba(200, 155, 50, .24);
    background:
        linear-gradient(135deg, rgba(255, 248, 221, .92), rgba(255, 255, 255, .96));
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.absence-indefinite-check:hover {
    border-color: rgba(200, 155, 50, .55);
    box-shadow: 0 10px 24px rgba(130, 91, 12, .08);
    transform: translateY(-1px);
}

.absence-indefinite-check .form-check-input {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 1.2rem;
    margin: 0;
    cursor: pointer;
}

.absence-indefinite-check .form-check-input:checked {
    border-color: var(--gold);
    background-color: var(--gold);
}

.indefinite-check-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff7df;
    color: #946811;
    font-size: 1.05rem;
}

.absence-indefinite-check .form-check-label {
    display: grid;
    gap: 1px;
    line-height: 1.1;
    cursor: pointer;
}

.absence-indefinite-check strong {
    color: var(--navy);
    font-size: .88rem;
    font-weight: 900;
}

.absence-indefinite-check small {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

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

.logs-filter {
    grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(140px, 1fr)) auto auto;
}

.logs-search-shell {
    width: 100%;
}

.logs-search-shell .search-command {
    flex-wrap: wrap;
}

.logs-search-shell .search-command-input {
    min-width: min(100%, 360px);
}

.logs-filter-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.logs-filter-drawer {
    width: 100%;
}

.log-timeline {
    display: grid;
    gap: 12px;
}

.log-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 14px 38px rgba(16, 41, 77, .06);
}

.log-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eefaff;
    color: var(--navy);
}

.log-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.log-title strong {
    color: var(--navy);
}

.log-title span,
.log-main p,
.log-meta,
.log-details small {
    color: var(--muted);
}

.log-main p {
    margin: 2px 0 8px;
}

.log-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .84rem;
}

.log-details {
    margin-top: 10px;
}

.log-details summary {
    cursor: pointer;
    color: var(--navy);
    font-weight: 850;
}

.log-json-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.log-json-grid span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.log-json-grid pre {
    max-height: 320px;
    margin: 0;
    overflow: auto;
    padding: 12px;
    border-radius: 10px;
    background: #07182e;
    color: #d6f3ff;
    font-size: .78rem;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.table-actions form {
    display: contents;
}

.action-btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
}

.action-btn:hover {
    border-color: rgba(53, 208, 255, .8);
    background: #eefaff;
}

.action-btn.danger {
    color: var(--red);
}

.status-ativo {
    background: #e4f4ec;
    color: var(--green);
}

.status-inativo,
.status-falecido {
    background: #fdebea;
    color: var(--red);
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.settings-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 12px 40px rgba(16, 41, 77, .06);
}

.settings-card .bi,
.settings-hero > .bi {
    color: var(--gold);
    font-size: 2rem;
}

.settings-card span {
    color: var(--muted);
    font-size: .82rem;
}

.settings-card strong {
    font-size: 1.1rem;
}

.settings-card p {
    margin: 0;
    color: var(--muted);
}

.exam-upload-card {
    height: 100%;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f9fbfe;
}

.exam-upload-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 850;
}

.exam-upload-card p {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--muted);
}

.promotion-portal-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(36, 72, 124, .14);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, rgba(23, 84, 153, .18), transparent 38%),
        linear-gradient(135deg, #f8fbff, #eef4fb);
    box-shadow: 0 18px 50px rgba(16, 41, 77, .08);
}

.promotion-portal-hero h1 {
    margin: 2px 0 6px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: var(--navy);
}

.promotion-portal-hero p,
.promotion-cycle-summary p {
    margin: 0;
    color: var(--muted);
}

.promotion-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(16, 41, 77, .08);
}

.promotion-portal-badge i {
    color: var(--gold);
    font-size: 1.4rem;
}

.promotion-cycle-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.promotion-cycle-card {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: .18s ease;
}

.promotion-cycle-card:hover,
.promotion-cycle-card.active {
    transform: translateY(-2px);
    border-color: rgba(210, 156, 52, .55);
    box-shadow: 0 16px 38px rgba(16, 41, 77, .1);
}

.promotion-cycle-card.active {
    background: linear-gradient(135deg, #10294d, #163b70);
    color: #fff;
}

.promotion-cycle-card span,
.promotion-cycle-card em {
    font-size: .75rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
}

.promotion-cycle-card strong {
    font-size: 1.03rem;
    font-weight: 900;
}

.promotion-cycle-card small {
    color: inherit;
    opacity: .76;
}

.promotion-police-selector {
    margin-bottom: 16px;
}

.promotion-cycle-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.promotion-cycle-summary h2 {
    margin: 0 0 6px;
    color: var(--navy);
    font-weight: 900;
}

.promotion-deadlines {
    display: grid;
    gap: 7px;
    min-width: min(360px, 100%);
}

.promotion-deadlines span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 10px;
    border-radius: 9px;
    background: #f5f8fc;
    color: var(--muted);
    font-size: .86rem;
}

.promotion-deadlines strong {
    color: var(--ink);
}

.promotion-requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.promotion-requirements-list {
    display: grid;
    gap: 12px;
}

.promotion-requirement-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #f9fbfe);
}

.promotion-requirement-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.promotion-requirement-head strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 900;
}

.promotion-requirement-head span,
.promotion-requirement-card p {
    color: var(--muted);
    font-size: .85rem;
}

.promotion-requirement-card p {
    margin: 0;
}

.promotion-upload-info,
.promotion-analysis-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 9px 10px;
    border-radius: 9px;
    background: #eef4fb;
    font-size: .85rem;
}

.promotion-upload-info i {
    color: var(--gold);
}

.promotion-analysis-note {
    display: block;
    color: var(--ink);
    background: #fff8e8;
}

.promotion-upload-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(160px, .8fr) auto;
    gap: 8px;
    align-items: center;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf2f7;
    color: var(--muted);
    font-size: .75rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.status-chip.success {
    background: rgba(35, 134, 85, .12);
    color: #157347;
}

.status-chip.warning {
    background: rgba(210, 156, 52, .16);
    color: #9c6b08;
}

.status-chip.danger {
    background: rgba(185, 28, 28, .11);
    color: #b91c1c;
}

.status-chip.info {
    background: rgba(13, 110, 253, .11);
    color: #0d6efd;
}

@media (max-width: 1100px) {
    .promotion-requirements-grid,
    .promotion-upload-row {
        grid-template-columns: 1fr;
    }

    .promotion-cycle-summary,
    .promotion-portal-hero {
        flex-direction: column;
    }
}

.inline-analysis {
    display: grid;
    grid-template-columns: 110px 140px minmax(180px, 1fr) auto;
    gap: 6px;
    align-items: center;
    min-width: 560px;
}

.org-tree {
    display: grid;
    gap: 6px;
    max-height: 680px;
    overflow: auto;
    padding-right: 6px;
}

.org-row {
    display: grid;
    grid-template-columns: 14px 110px minmax(220px, 1fr) 120px 150px;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin-left: calc(var(--level) * 22px);
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f9fbfe;
}

.org-row strong {
    color: var(--navy);
}

.org-row em,
.org-row small {
    justify-self: start;
    border-radius: 999px;
    padding: 3px 9px;
    background: #e7edf6;
    color: var(--navy);
    font-style: normal;
    font-size: .78rem;
    font-weight: 750;
}

.org-row small {
    background: #fbf2dc;
    color: #906713;
}

.org-connector {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
}

.org-chart-modal .modal-body {
    background:
        radial-gradient(circle at 20% 20%, rgba(53, 208, 255, .14), transparent 24%),
        linear-gradient(135deg, #f5f9ff, #ffffff);
}

.org-chart-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.org-chart-actions .btn-close {
    filter: invert(1) grayscale(1);
    margin-left: 6px;
}

.org-chart-canvas {
    min-height: 68vh;
    max-height: 76vh;
    overflow: auto;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(rgba(13, 45, 82, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 45, 82, .035) 1px, transparent 1px),
        rgba(255, 255, 255, .76);
    background-size: 28px 28px;
}

.org-chart-modal:fullscreen,
.org-chart-modal.is-browser-fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.org-chart-modal:fullscreen .modal-body,
.org-chart-modal.is-browser-fullscreen .modal-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.org-chart-modal:fullscreen .org-chart-canvas,
.org-chart-modal.is-browser-fullscreen .org-chart-canvas {
    flex: 1;
    max-height: none;
    min-height: 0;
}

.org-chart-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.org-chart-summary span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef5ff;
    color: #174577;
    font-size: .82rem;
    font-weight: 850;
}

.org-chart-summary strong {
    color: var(--navy);
}

.org-chart-graph,
.org-chart-graph ul {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.org-chart-graph {
    min-width: max-content;
    padding: 8px 18px 32px;
    transform: scale(var(--org-zoom, 1));
    transform-origin: top left;
    transition: transform .18s ease;
}

.org-chart-graph ul {
    width: max-content;
    margin-top: 28px;
    padding-top: 28px;
    gap: 0;
    border-left: 0;
}

.org-chart-graph ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 28px;
    border-left: 2px solid rgba(13, 45, 82, .2);
    transform: translateX(-50%);
}

.org-chart-graph li {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 28px 12px 0;
    text-align: center;
}

.org-chart-graph li::before,
.org-chart-graph li::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 28px;
    border-top: 2px solid rgba(13, 45, 82, .2);
}

.org-chart-graph li::before {
    right: 50%;
}

.org-chart-graph li::after {
    left: 50%;
    border-left: 2px solid rgba(13, 45, 82, .2);
}

.org-chart-graph li:only-child::before,
.org-chart-graph li:only-child::after {
    display: none;
}

.org-chart-graph li:first-child::before {
    border: 0;
}

.org-chart-graph li:first-child::after {
    border-top-left-radius: 12px;
}

.org-chart-graph li:last-child::after {
    border: 0;
}

.org-chart-graph li:last-child::before {
    border-top-right-radius: 12px;
}

.org-chart-graph > li {
    padding-top: 0;
}

.org-chart-graph > li::before,
.org-chart-graph > li::after {
    display: none;
}

.org-chart-node {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 230px;
}

.org-chart-node summary {
    width: 230px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 8px;
    align-items: center;
    min-height: 78px;
    padding: 10px;
    border: 1px solid rgba(13, 45, 82, .12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 41, 77, .08);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.org-chart-node summary::-webkit-details-marker {
    display: none;
}

.org-chart-node summary:hover {
    transform: translateY(-3px);
    border-color: rgba(53, 208, 255, .55);
    box-shadow: 0 16px 36px rgba(16, 41, 77, .12);
}

.org-node-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #0b65ad);
}

.org-node-body {
    display: grid;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.org-node-body strong {
    color: var(--navy);
    font-size: .92rem;
    font-weight: 950;
}

.org-node-body small,
.org-node-body em {
    overflow: hidden;
    color: var(--muted);
    font-size: .72rem;
    font-style: normal;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.org-node-count {
    min-width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff7df;
    color: var(--gold);
    font-size: .72rem;
    font-weight: 950;
}

.org-chart-node:not([open]) > ul {
    display: none;
}

.org-chart-node[open] > ul {
    animation: orgGrow .24s ease both;
}

@keyframes orgGrow {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-shell {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
}

.profile-card {
    padding: 22px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    text-align: center;
}

.profile-card h2 {
    font-size: 1.35rem;
    font-weight: 850;
}

.profile-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.profile-details dl div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.profile-details dt {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
}

.profile-details dd {
    margin: 2px 0 0;
    font-weight: 750;
}

.table {
    margin: 0;
}

.table th {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-pill,
.mini-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 4px 10px;
    background: #e7edf6;
    color: var(--navy);
    font-size: .8rem;
    font-weight: 700;
}

.mini-pill {
    min-height: 24px;
    padding: 3px 8px;
}

.form-section {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.form-section h2 {
    margin-bottom: 14px;
}

.info-card {
    min-height: 190px;
    padding: 18px;
}

.info-card span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fbf2dc;
    color: #906713;
    font-weight: 800;
}

.empty-state {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    gap: 10px;
}

.empty-state .bi {
    font-size: 3rem;
    color: var(--gold);
}

@media (max-width: 1200px) {
    .metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .dashboard-insights {
        grid-template-columns: 1fr;
    }

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

    .effective-card {
        grid-template-columns: 88px minmax(220px, 1fr);
    }

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

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

    .absence-card {
        grid-template-columns: 72px minmax(220px, 1fr);
    }

    .absence-reason,
    .absence-period,
    .absence-card > .action-btn {
        grid-column: 2;
    }

    .effective-meta,
    .effective-actions {
        grid-column: 2;
    }

    .effective-actions {
        justify-content: flex-start;
        max-width: none;
    }

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

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

@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 50;
        transform: translateX(-100%);
        transition: transform .2s ease;
    }

    .sidebar.is-open {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .content-wrap,
    .topbar {
        padding: 16px;
    }

    .topbar-actions {
        gap: 6px;
    }

    .topbar-alert {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    .notice-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .notice-card {
        grid-template-columns: 1fr;
    }

    .metric-grid,
    .executive-metrics,
    .dashboard-insights,
    .filter-bar,
    .absence-filter,
    .logs-filter,
    .filter-grid,
    .absence-metrics,
    .logs-metrics,
    .settings-grid,
    .profile-shell {
        grid-template-columns: 1fr;
    }

    .profile-hero {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
        border-radius: 18px;
    }

    .profile-identity {
        align-items: flex-start;
        gap: 14px;
    }

    .profile-photo-modern {
        width: 86px;
        height: 108px;
        flex-basis: 86px;
        border-radius: 16px;
    }

    .profile-hero h2 {
        font-size: 1.55rem;
        line-height: 1.12;
    }

    .profile-badges,
    .profile-actions {
        align-items: stretch;
        width: 100%;
    }

    .profile-actions .btn {
        flex: 1 1 180px;
        justify-content: center;
    }

    .profile-badges > span:not(.status-pill),
    .profile-badges .status-pill {
        border-radius: 12px;
    }

    .profile-mural {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .profile-mural article {
        min-width: 0;
        padding: 12px;
        border-radius: 14px;
    }

    .profile-grid-modern,
    .data-sections {
        grid-template-columns: 1fr;
    }

    .profile-panel,
    .data-section {
        min-width: 0;
        border-radius: 16px;
    }

    .profile-panel {
        padding: 14px;
    }

    .profile-list {
        max-height: none;
        overflow: visible;
    }

    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .role-timeline article {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .role-timeline article em {
        grid-column: 2;
        justify-self: start;
    }

    .filter-main {
        flex-direction: column;
        align-items: stretch;
    }

    .search-command,
    .filter-drawer .filter-grid {
        grid-template-columns: 1fr;
    }

    .search-command .btn {
        width: 100%;
    }

    .filter-drawer-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-hero,
    .module-hero,
    .settings-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-radar {
        width: 130px;
        height: 130px;
        flex-basis: 130px;
    }

    .hero-command-figure {
        width: 150px;
        height: 150px;
        flex-basis: 150px;
    }

    .hero-command-figure .bi {
        font-size: 2.2rem;
    }

    .hero-command-figure strong {
        font-size: 1.7rem;
    }

    .chart-box,
    .chart-box.tall {
        height: 320px;
    }

    .effective-card {
        grid-template-columns: 64px 1fr;
        align-items: start;
    }

    .absence-card {
        grid-template-columns: 64px 1fr;
        align-items: start;
    }

    .log-card,
    .log-json-grid {
        grid-template-columns: 1fr;
    }

    .log-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .absence-photo {
        width: 64px;
        height: 78px;
    }

    .absence-reason,
    .absence-period,
    .absence-card > .action-btn {
        grid-column: 1 / -1;
    }

    .effective-visual,
    .effective-photo {
        width: 64px;
        height: 78px;
    }

    .rank-gem {
        width: 6px;
        height: 6px;
    }

    .rank-symbol {
        width: 32px;
        min-height: 38px;
        flex-basis: 32px;
    }

    .effective-meta,
    .effective-actions {
        grid-column: 1 / -1;
    }

    .profile-details dl {
        grid-template-columns: 1fr;
    }

    .inline-analysis {
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .org-row {
        grid-template-columns: 10px 82px 1fr;
        margin-left: calc(var(--level) * 10px);
    }

    .org-row em,
    .org-row small {
        grid-column: 3;
    }

    .page-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bar-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .profile-hero {
        padding: 14px;
    }

    .profile-identity {
        flex-direction: column;
    }

    .profile-photo-modern {
        width: 78px;
        height: 98px;
        flex-basis: auto;
    }

    .profile-hero h2 {
        font-size: 1.35rem;
    }

    .profile-hero p {
        font-size: .88rem;
    }

    .profile-actions .btn {
        flex-basis: 100%;
        width: 100%;
    }

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

    .profile-mural span {
        font-size: .7rem;
    }

    .profile-mural strong {
        font-size: 1.2rem;
    }

    .data-section,
    .profile-list > div {
        padding: 10px;
    }
}

.header-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.header-template-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, #fff, #f8fbff);
    box-shadow: 0 16px 40px rgba(16, 41, 77, .08);
}

.header-template-card.is-muted {
    opacity: .68;
}

.header-template-logo {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: #eef5ff;
    border: 1px solid rgba(13, 45, 82, .08);
    color: var(--gold);
    overflow: hidden;
}

.header-template-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.header-template-logo .bi {
    font-size: 1.7rem;
}

.header-template-body {
    min-width: 0;
}

.header-template-body h3 {
    margin: 6px 0;
    font-size: 1.08rem;
    color: var(--navy);
    font-weight: 900;
}

.header-template-body p,
.header-template-body small {
    display: block;
    margin: 0 0 6px;
    color: var(--muted);
}

.header-template-badges,
.card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.export-option-card {
    display: grid;
    grid-template-columns: minmax(220px, auto) 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
}

.export-field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.export-field-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    cursor: pointer;
}

.export-field-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--navy);
}

@media (max-width: 768px) {
    .header-template-card,
    .export-option-card {
        grid-template-columns: 1fr;
    }
}

.empty-header-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: center;
    padding: 24px;
}

.empty-header-panel > .bi {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: var(--gold);
    background: linear-gradient(135deg, #fff7df, #fff);
    border: 1px solid rgba(200, 155, 50, .25);
    font-size: 2rem;
}

.empty-header-panel h3 {
    margin: 0 0 6px;
    color: var(--navy);
    font-weight: 900;
}

@media (max-width: 768px) {
    .empty-header-panel {
        grid-template-columns: 1fr;
    }
}

.scale-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.scale-board article,
.journey-chip,
.scale-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 41, 77, .07);
}

.scale-board article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
}

.scale-board .bi,
.journey-chip .bi {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--gold);
    background: linear-gradient(135deg, #fff7df, #fff);
    border: 1px solid rgba(200, 155, 50, .22);
    font-size: 1.45rem;
}

.scale-board span,
.journey-chip span,
.scale-kicker,
.scale-meta span,
.scale-note {
    color: var(--muted);
}

.scale-board strong {
    display: block;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 950;
}

.scale-filter {
    grid-template-columns: 1.4fr 1.5fr 1fr auto auto auto auto;
}

.scale-journeys {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.journey-chip {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
}

.journey-chip.is-muted {
    opacity: .55;
}

.journey-chip strong {
    display: block;
    color: var(--navy);
    font-weight: 900;
}

.scale-list {
    display: grid;
    gap: 16px;
}

.scale-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
}

.scale-date {
    display: grid;
    place-items: center;
    align-content: center;
    height: 86px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--navy), var(--navy-3));
    color: #fff;
}

.scale-date span {
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
}

.scale-date strong {
    color: var(--gold);
    font-size: .78rem;
    letter-spacing: .08em;
}

.scale-title-row,
.scale-meta,
.scale-actions,
.scale-team,
.scale-person {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.scale-title-row {
    justify-content: space-between;
    gap: 12px;
}

.scale-main h3 {
    margin: 3px 0 0;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 950;
}

.scale-kicker {
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.scale-meta {
    margin-top: 10px;
}

.scale-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5ff;
    font-size: .8rem;
    font-weight: 850;
}

.scale-note {
    margin: 10px 0 0;
    font-size: .9rem;
}

.scale-team {
    align-items: stretch;
    margin-top: 14px;
}

.scale-person {
    justify-content: space-between;
    min-width: 230px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbff;
}

.scale-person strong,
.scale-person span {
    display: block;
}

.scale-person strong {
    color: var(--navy);
    font-size: .9rem;
}

.scale-person span {
    color: var(--muted);
    font-size: .78rem;
}

.scale-actions {
    align-content: flex-start;
    justify-content: flex-end;
    max-width: 160px;
}

.scale-publicada {
    border-color: rgba(27, 138, 90, .28);
}

.scale-cancelada {
    opacity: .7;
}

@media (max-width: 992px) {
    .scale-board,
    .scale-filter,
    .scale-card {
        grid-template-columns: 1fr;
    }

    .scale-actions {
        justify-content: flex-start;
        max-width: none;
    }
}

.scale-calendar-wrap {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 41, 77, .06);
}

.scale-calendar-day {
    padding: 14px;
    border: 1px solid rgba(53, 208, 255, .28);
    border-radius: 18px;
    background: linear-gradient(135deg, #f4fbff, #fff);
}

.scale-calendar-day strong,
.scale-calendar-day span,
.scale-calendar-day em {
    display: block;
}

.scale-calendar-day strong {
    color: var(--navy);
    font-weight: 950;
}

.scale-calendar-day span {
    color: var(--muted);
}

.scale-calendar-day em {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #174577;
    font-style: normal;
    font-weight: 850;
}

.scale-groups {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 41, 77, .06);
}

.scale-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.scale-group-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff, #fff);
}

.scale-group-card strong,
.scale-group-card span {
    display: block;
}

.scale-group-card strong {
    color: var(--navy);
    font-weight: 950;
}

.scale-group-card span {
    color: var(--muted);
    font-size: .84rem;
}

.scale-group-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.scale-calendar-week,
.scale-calendar-month {
    display: grid;
    gap: 8px;
}

.scale-calendar-week {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-bottom: 16px;
}

.scale-calendar-week article,
.scale-calendar-month article {
    min-height: 92px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fbff;
}

.scale-calendar-week strong,
.scale-calendar-month strong {
    display: block;
    color: var(--navy);
    font-weight: 950;
}

.scale-calendar-week span,
.scale-calendar-month span,
.scale-calendar-week em {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    font-style: normal;
}

.scale-calendar-week em,
.scale-calendar-month span {
    margin-top: 5px;
    padding: 5px 7px;
    border-radius: 10px;
    background: #eaf3ff;
    color: #174577;
    font-weight: 850;
}

.scale-calendar-month {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.scale-calendar-month article.has-scale {
    border-color: rgba(53, 208, 255, .45);
    background: #f3fbff;
}

.weekday-picker,
.auto-scale-head,
.auto-police-grid,
.auto-police-option {
    display: flex;
    gap: 10px;
}

.weekday-picker {
    flex-wrap: wrap;
}

.weekday-picker label,
.auto-police-option {
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbff;
    cursor: pointer;
}

.weekday-picker input,
.auto-police-option input {
    accent-color: var(--navy);
}

.auto-scale-head {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.auto-scale-head strong,
.auto-scale-head span {
    display: block;
}

.auto-scale-head strong {
    color: var(--navy);
    font-weight: 950;
}

.auto-scale-head span {
    color: var(--muted);
    font-size: .86rem;
}

.auto-police-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-height: 320px;
    overflow: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.auto-police-option {
    min-width: 0;
}

.auto-police-option.auto-police-ready {
    border-color: rgba(25, 135, 84, .25);
    background: linear-gradient(135deg, rgba(25, 135, 84, .08), #fff);
}

.auto-police-option.auto-police-ready small::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 999px;
    background: #198754;
}

.auto-police-option.auto-police-restriction {
    border-color: rgba(255, 193, 7, .45);
    background: linear-gradient(135deg, rgba(255, 193, 7, .16), #fff);
}

.auto-police-option.auto-police-restriction small::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 999px;
    background: #ffc107;
}

.auto-police-option span,
.auto-police-option strong,
.auto-police-option small {
    display: block;
}

.auto-police-option strong {
    color: var(--navy);
    font-size: .88rem;
}

.auto-police-option small {
    color: var(--muted);
}

@media (max-width: 768px) {
    .scale-calendar-week,
    .scale-calendar-month {
        grid-template-columns: 1fr;
    }
}

.concept-hero {
    background:
        radial-gradient(circle at 88% 18%, rgba(200, 155, 50, .28), transparent 28%),
        linear-gradient(135deg, #07182e, #0d2d52 58%, #123d70);
}

.concept-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 18px;
}

.concept-form-panel,
.concept-history-panel {
    border-radius: 24px;
}

.concept-form .form-label small {
    color: var(--muted);
    font-weight: 700;
}

.signature-box {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) minmax(220px, 320px);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(53, 208, 255, .25);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 208, 255, .16), transparent 34%),
        linear-gradient(135deg, #f8fbff, #fff);
}

.signature-box > i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 1.45rem;
}

.signature-box strong,
.signature-box span {
    display: block;
}

.signature-box strong {
    color: var(--navy);
    font-weight: 950;
}

.signature-box span {
    color: var(--muted);
    font-size: .88rem;
}

.concept-history {
    display: grid;
    gap: 12px;
}

.concept-history article {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #f8fbff);
}

.concept-history strong,
.concept-history small,
.concept-history em,
.concept-history p {
    display: block;
}

.concept-history strong {
    margin-top: 8px;
    color: var(--navy);
    font-weight: 950;
}

.concept-history small,
.concept-history em {
    color: var(--muted);
    font-size: .82rem;
}

.concept-history p {
    margin: 8px 0;
    color: #34465e;
}

@media (max-width: 992px) {
    .concept-layout,
    .signature-box {
        grid-template-columns: 1fr;
    }
}

.identity-self-card,
.identity-row,
.digital-id-card,
.public-verify-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 41, 77, .08);
}

.identity-self-card {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
}

.identity-self-card > .bi {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: var(--gold);
    background: #fff7df;
    font-size: 1.8rem;
}

.identity-self-card span,
.identity-row span,
.identity-row p {
    color: var(--muted);
}

.identity-self-card strong,
.identity-row h3,
.identity-row strong {
    color: var(--navy);
    font-weight: 950;
}

.identity-list {
    display: grid;
    gap: 14px;
}

.identity-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 170px auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
}

.identity-row-photo {
    width: 72px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    overflow: hidden;
    background: #eef5ff;
    color: var(--gold);
}

.identity-row-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.identity-row h3,
.identity-row p {
    margin: 0;
}

.identity-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.identity-search-box {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
}

.identity-print-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.digital-id-stage {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.digital-id-stage.is-exporting {
    width: max-content;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    gap: 12px;
}

.digital-id-stage.is-exporting,
.digital-id-stage.is-exporting * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.digital-id-stage.is-exporting .digital-id-card {
    width: 390px;
    height: 535px;
    flex: 0 0 390px;
    box-shadow: none;
}

.digital-id-card {
    position: relative;
    width: 390px;
    height: 535px;
    flex: 0 0 390px;
    overflow: hidden;
    border-radius: 22px;
    padding: 18px 18px 16px;
    color: #1f2937;
    border: 1px solid rgba(149, 164, 184, .7);
    box-shadow: 0 24px 60px rgba(7, 24, 46, .18), inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.digital-id-front,
.digital-id-back {
    background:
        linear-gradient(180deg, #777d86 0%, #9da3ab 24%, #eef1f5 58%, #d8dee7 100%),
        radial-gradient(circle at 52% 42%, rgba(255, 255, 255, .62), transparent 128px),
        radial-gradient(circle at 50% 67%, rgba(30, 41, 59, .08), transparent 205px);
}

.id-card-texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .48;
    pointer-events: none;
    z-index: 1;
}

.id-card-watermark {
    position: absolute;
    left: 50%;
    bottom: 86px;
    width: 325px;
    height: 325px;
    background: url('../img/brasao-republica.svg') center / contain no-repeat;
    opacity: .13;
    filter: grayscale(1) brightness(2.8) contrast(.52);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.id-card-head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 10px;
    align-items: center;
    text-align: center;
    font-size: .98rem;
    line-height: 1.03;
    color: #f8fbff;
    padding: 2px 4px 8px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .16);
}

.id-card-head strong {
    display: grid;
    justify-items: center;
    gap: 0;
}

.id-card-head span {
    white-space: nowrap;
    font-size: .82rem;
    letter-spacing: -.02em;
}

.id-card-head em,
.id-card-head small {
    display: block;
    font-style: normal;
    white-space: nowrap;
}

.id-card-head em {
    font-size: 1.34rem;
    line-height: 1.02;
}

.id-card-head small {
    font-size: .82rem;
    line-height: 1.05;
}

.id-coat,
.id-seal {
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-weight: 950;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .20);
}

.id-coat {
    width: 72px;
    height: 72px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.id-coat img,
.id-seal img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.id-main-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    align-items: center;
    margin: 22px 0 14px;
}

.id-photo-box {
    width: 150px;
    height: 170px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border: 3px solid rgba(255, 255, 255, .92);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.id-photo-box img,
.id-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-seal {
    width: 176px;
    height: 176px;
    padding: 0;
    border: 0;
    margin-left: -12px;
    background: transparent;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.id-field {
    position: relative;
    z-index: 2;
    margin-top: 10px;
}

.id-field span {
    display: block;
    color: #263244;
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.id-field strong {
    display: block;
    color: #121927;
    font-size: 1.1rem;
    font-weight: 950;
    line-height: 1.05;
    text-shadow: none;
    text-transform: uppercase;
}

.id-cargo-field strong {
    color: #c02b2e;
    font-size: 1.22rem;
}

.id-bottom-grid,
.id-back-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 22px;
}

.id-valid-banner {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 15px;
    padding: 8px 10px;
    border: 2px solid rgba(156, 163, 175, .8);
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: #4b5563;
    text-align: center;
    font-size: .62rem;
    font-weight: 950;
    letter-spacing: .04em;
}

.digital-id-back .id-field span {
    color: #4b5563;
}

.digital-id-back .id-field strong {
    color: #1d2430;
    text-shadow: none;
}

.id-weapon-text {
    position: relative;
    z-index: 2;
    color: #111827;
    font-size: .68rem;
    font-weight: 950;
    line-height: 1.12;
    text-align: justify;
}

.id-back-grid .span-2 {
    grid-column: 1 / -1;
}

.id-qr-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 136px;
    gap: 18px;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 96px;
}

.id-mini-card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 0;
    width: 38px;
    height: 64px;
    border-radius: 6px;
    background: #c02b2e;
    color: #fff;
    font-weight: 950;
    font-size: 1.32rem;
    line-height: .9;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
}

.id-mini-card strong {
    display: block;
    line-height: .9;
}

.id-mini-card img {
    width: 38px;
    height: 48px;
    border-radius: 5px;
}

.id-qr {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 4px;
    border-radius: 6px;
}

.id-security-stack {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.id-ghost-photo {
    width: 48px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    opacity: .38;
    filter: saturate(.72) contrast(.92);
    mix-blend-mode: multiply;
}

.public-identity-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #eef5ff, #fff7df);
}

.public-verify-card {
    max-width: 680px;
    padding: 28px;
    border-radius: 28px;
    text-align: center;
}

.public-verify-card > .bi {
    font-size: 3.5rem;
    color: var(--green);
}

.public-verify-card.is-invalid > .bi {
    color: var(--red);
}

.verify-person {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: center;
    margin: 22px 0;
    padding: 14px;
    border-radius: 18px;
    background: #f8fbff;
    text-align: left;
}

.verify-person img {
    width: 84px;
    height: 100px;
    object-fit: cover;
    border-radius: 14px;
}

.public-verify-card dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: left;
}

.public-verify-card dt {
    color: var(--muted);
    font-size: .76rem;
    text-transform: uppercase;
}

.public-verify-card dd {
    margin: 0;
    color: var(--navy);
    font-weight: 950;
}

.patrimonio-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.patrimonio-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 122px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 35, 68, .08);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f3f7ff);
    color: var(--navy);
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(15, 35, 68, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.patrimonio-category-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 90px;
    height: 90px;
    border-radius: 999px;
    background: rgba(29, 91, 179, .08);
}

.patrimonio-category-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(29, 91, 179, .1);
    color: var(--navy-2);
    font-size: 1.25rem;
}

.patrimonio-category-card strong {
    font-size: .96rem;
    font-weight: 900;
}

.patrimonio-category-card span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
}

.patrimonio-category-card:hover,
.patrimonio-category-card.active {
    transform: translateY(-2px);
    border-color: rgba(255, 204, 51, .42);
    background: radial-gradient(circle at top right, rgba(255, 204, 51, .26), transparent 32%),
        linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    box-shadow: 0 22px 46px rgba(15, 35, 68, .22);
}

.patrimonio-category-card:hover i,
.patrimonio-category-card.active i {
    background: rgba(255, 255, 255, .16);
    color: var(--gold);
}

.patrimonio-category-card:hover span,
.patrimonio-category-card.active span {
    color: rgba(255, 255, 255, .78);
}

.patrimonio-item-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.patrimonio-item-title > i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eef5ff;
    color: var(--navy-2);
    font-size: 1.1rem;
}

.patrimonio-item-title strong {
    display: block;
    color: var(--navy);
    font-weight: 900;
}

.patrimonio-item-title span {
    display: block;
    max-width: 380px;
    color: var(--muted);
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pagination-shell {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 16px;
}

.patrimonio-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-left: 5px solid var(--gold);
    background: #fff;
}

.patrimonio-topbar h2 {
    margin: 2px 0 4px;
    color: var(--navy);
    font-weight: 950;
}

.patrimonio-topbar p {
    margin: 0;
    color: var(--muted);
}

.patrimonio-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.patrimonio-kpis .kpi-card {
    min-height: auto;
    padding: 14px 16px;
}

.patrimonio-kpis .kpi-card strong {
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    line-height: 1.1;
}

.patrimonio-kpis .kpi-card span,
.patrimonio-kpis .kpi-card small {
    font-size: .78rem;
}

.patrimonio-filter-panel {
    padding: 18px;
}

.patrimonio-table th {
    white-space: nowrap;
}

.patrimonio-actions {
    min-width: 170px;
    white-space: nowrap;
}

.patrimonio-item-title img,
.patrimonio-item-title > i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}

.patrimonio-item-title img {
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.patrimonio-item-title small {
    display: block;
    color: var(--navy-2);
    font-size: .76rem;
    font-weight: 800;
}

.patrimonio-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
}

.patrimonio-dynamic-fields {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff, #fff);
}

.patrimonio-dynamic-fields h6 {
    margin: 0 0 14px;
    color: var(--navy);
    font-weight: 950;
}

[data-category-field][hidden] {
    display: none !important;
}

.patrimonio-search-results {
    position: relative;
    z-index: 20;
    max-height: 220px;
    overflow: auto;
}

.patrimonio-history-row td {
    background: #f8fbff;
}

.patrimonio-history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 8px 2px;
}

.patrimonio-history-grid h6 {
    margin: 0 0 8px;
    color: var(--navy);
    font-weight: 900;
}

.history-line {
    padding: 8px 10px;
    margin-bottom: 8px;
    border-left: 3px solid var(--gold);
    border-radius: 10px;
    background: #fff;
}

.history-line strong,
.history-line span {
    display: block;
}

.history-line span {
    color: var(--muted);
    font-size: .82rem;
}

.export-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    max-height: 260px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fbff;
}

.patrimonio-export-dialog {
    max-width: min(1180px, calc(100vw - 24px));
}

.patrimonio-export-dialog .modal-body {
    overflow-x: hidden;
}

.patrimonio-export-dialog input[type="date"] {
    min-width: 0;
}

.signature-hint {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    height: 100%;
    min-height: 72px;
    padding: 12px;
    border: 1px solid rgba(27, 138, 90, .18);
    border-radius: 16px;
    background: rgba(27, 138, 90, .08);
    color: var(--green);
    font-weight: 800;
    font-size: .88rem;
}

.signature-hint i {
    font-size: 1.3rem;
}

.signature-receipt-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(27, 138, 90, .18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(27, 138, 90, .12), rgba(53, 208, 255, .08));
}

.signature-receipt-card i {
    flex: 0 0 auto;
    font-size: 2rem;
    color: var(--green);
}

.signature-receipt-card strong,
.signature-receipt-card span {
    display: block;
}

.signature-receipt-card strong {
    color: var(--navy);
}

.signature-receipt-card span {
    color: var(--muted);
    font-size: .9rem;
}

.cautela-builder {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
}

.cautela-items {
    display: grid;
    gap: 8px;
}

.cautela-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 42px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e6edf7;
    border-radius: 14px;
    background: #fff;
}

.cautela-item-row strong,
.cautela-item-row span {
    display: block;
}

.cautela-item-row span {
    color: var(--muted);
    font-size: .82rem;
}

@media (max-width: 1100px) {
    .police-quick-grid,
    .police-dashboard-grid,
    .police-dashboard-grid.secondary {
        grid-template-columns: 1fr 1fr;
    }

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

    .patrimonio-form-grid,
    .patrimonio-history-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .police-dashboard-hero,
    .police-hero-profile {
        align-items: flex-start;
        flex-direction: column;
    }

    .police-quick-grid,
    .police-dashboard-grid,
    .police-dashboard-grid.secondary {
        grid-template-columns: 1fr;
    }

    .police-joe-item {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .police-joe-item form,
    .police-joe-item .status-pill {
        grid-column: 1 / -1;
    }

    .patrimonio-kpis {
        grid-template-columns: 1fr;
    }

    .patrimonio-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes authGlowLine {
    to {
        background-position: 240% 0;
    }
}

@keyframes authLogoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1.8deg);
    }
}

@keyframes authSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes authPulse {
    0%, 100% {
        opacity: .55;
        transform: scale(.9);
        box-shadow: 0 0 0 0 rgba(53, 208, 255, .24);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        box-shadow: 0 0 42px 12px rgba(53, 208, 255, .16);
    }
}

@keyframes authScan {
    from {
        transform: translateY(-120%);
    }
    to {
        transform: translateY(320%);
    }
}

@keyframes authDrift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(34px, -26px, 0) scale(1.08);
    }
}

@keyframes authBackgroundSweep {
    0%, 100% {
        transform: translateX(-26%) skewX(-8deg);
        opacity: .22;
    }
    48%, 58% {
        transform: translateX(22%) skewX(-8deg);
        opacity: .52;
    }
}

@keyframes orionLoginFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-9px) scale(1.018);
    }
}

@keyframes orionLoginGlow {
    0%, 100% {
        opacity: .58;
        transform: scale(.92);
    }
    50% {
        opacity: .94;
        transform: scale(1.04);
    }
}

@keyframes orionLoginSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes orionLoginPulse {
    0%, 100% {
        opacity: .48;
        transform: scale(.88);
    }
    50% {
        opacity: .95;
        transform: scale(1.08);
    }
}

@keyframes orionLoginScan {
    0%, 36% {
        opacity: 0;
        transform: rotate(-16deg) translateX(-110%);
    }
    50% {
        opacity: .86;
    }
    72%, 100% {
        opacity: 0;
        transform: rotate(-16deg) translateX(118%);
    }
}

@keyframes orionTitleShine {
    0%, 42% {
        transform: translateX(-140%);
        opacity: 0;
    }
    52% {
        opacity: .75;
    }
    68%, 100% {
        transform: translateX(140%);
        opacity: 0;
    }
}

@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    @page {
        margin: 10mm;
        size: landscape;
    }
    html,
    body { background: #fff !important; overflow: visible !important; }
    .sidebar, .topbar, .identity-print-actions { display: none !important; }
    .app-shell, .app-main, .content-wrap { display: block !important; padding: 0 !important; margin: 0 !important; }
    .digital-id-stage {
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 12px;
        align-items: flex-start;
        page-break-inside: avoid;
    }
    .digital-id-card {
        width: 390px !important;
        height: 535px !important;
        flex: 0 0 390px !important;
        box-shadow: none;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (max-width: 1100px) {
    .auth-shell {
        place-items: center;
    }
}

.finance-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.finance-kpi {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.22), transparent 34%),
        linear-gradient(135deg, #071d42, #0b3b78 58%, #b20d1d);
    box-shadow: 0 20px 45px rgba(6, 24, 57, .18);
}

.finance-kpi::after {
    content: "";
    position: absolute;
    inset: auto -30px -45px auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    border: 22px solid rgba(255,255,255,.08);
}

.finance-kpi span,
.finance-kpi small {
    display: block;
    color: rgba(255,255,255,.76);
    font-weight: 700;
    letter-spacing: .03em;
}

.finance-kpi strong {
    display: block;
    margin: 8px 0;
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.joe-budget-chart {
    display: grid;
    gap: 12px;
}

.joe-budget-bar {
    display: grid;
    grid-template-columns: 110px 1fr 140px;
    gap: 12px;
    align-items: center;
}

.joe-budget-bar span,
.joe-budget-bar strong {
    font-weight: 800;
    color: #10233f;
}

.joe-budget-bar div,
.mini-progress {
    overflow: hidden;
    height: 12px;
    border-radius: 999px;
    background: #edf2f8;
}

.joe-budget-bar i,
.mini-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b3b78, #0d6efd, #b20d1d);
}

.mini-progress {
    height: 9px;
}

@media (max-width: 1000px) {
    .finance-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .identity-row,
    .identity-self-card,
    .public-verify-card dl {
        grid-template-columns: 1fr;
    }
    .identity-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .finance-kpi-grid,
    .joe-budget-bar {
        grid-template-columns: 1fr;
    }
    .auth-shell {
        padding: 18px;
    }
    .auth-card {
        border-radius: 24px;
    }
    .login-logo {
        align-items: flex-start;
    }
    .logo-circle {
        width: 62px;
        height: 62px;
    }
    .logo-circle-img img {
        width: 50px;
        height: 50px;
    }
    .auth-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card,
    .auth-card::before,
    .logo-circle-img img,
    .auth-logo-stage img,
    .auth-logo-ring,
    .auth-logo-pulse,
    .orion-login-stage img,
    .orion-login-stage::before,
    .orion-login-ring,
    .orion-login-pulse,
    .orion-login-scan,
    .orion-login-title::after,
    .auth-body::after,
    .auth-grid::after,
    .auth-orb {
        animation: none !important;
    }
}
