:root {
    color-scheme: light;

    /* Typography */
    --font-heading: "Cormorant Garamond", "Times New Roman", serif;
    --font-ui: "Inter", "Segoe UI", Roboto, Arial, sans-serif;

    /* Marble-inspired palette (light mode) */
    --color-marble-050: #f7f5f1;
    --color-marble-100: #efebe3;
    --color-stone-300: #c9c2b5;
    --color-stone-500: #8d8578;
    --color-stone-700: #4f4a42;
    --color-lapis-500: #385772;
    --color-lapis-600: #2e495f;
    --color-lapis-700: #23394b;
    --color-bronze-400: #8d7252;
    --color-bronze-500: #6e573d;

    /* Semantic tokens */
    --bg-app: var(--color-marble-050);
    --bg-surface: #fdfbf8;
    --bg-surface-alt: #f3efe8;
    --bg-elevated: #ffffff;
    --bg-overlay: rgb(34 30 26 / 52%);

    --text-primary: #1d252d;
    --text-secondary: #5c6773;
    --text-muted: #707b86;
    --text-inverse: #f5f7fa;

    --border-soft: #d9d2c7;
    --border-strong: #b9b1a4;
    --divider-relief-hi: rgb(255 255 255 / 58%);
    --divider-relief-lo: rgb(73 66 56 / 18%);

    --interactive-primary: var(--color-lapis-500);
    --interactive-primary-hover: #304e67;
    --interactive-primary-active: #263f53;
    --interactive-focus: #9bb5c9;

    --interactive-accent: var(--color-bronze-500);
    --interactive-accent-hover: #5e4a35;
    --interactive-accent-active: #4f3e2c;

    --state-success-bg: #e8f3eb;
    --state-success-text: #28563a;
    --state-danger-bg: #f5e8e6;
    --state-danger-text: #723029;
    --state-warning-bg: #f8f1e4;
    --state-warning-text: #74551f;

    /* Texture + relief */
    --noise-opacity: 0.035;
    --vein-opacity: 0.075;
    --relief-shadow-soft: 0 1px 0 var(--divider-relief-hi), 0 0 0 1px rgb(82 72 59 / 10%), 0 10px 24px rgb(36 30 21 / 8%);
    --relief-shadow-strong: 0 1px 0 rgb(255 255 255 / 46%), 0 0 0 1px rgb(78 68 54 / 16%), 0 14px 30px rgb(28 24 17 / 16%);

    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;

    font-family: var(--font-ui);
}

:root[data-theme="dark"] {
    color-scheme: dark;

    --bg-app: #191d22;
    --bg-surface: #20262d;
    --bg-surface-alt: #252c34;
    --bg-elevated: #2a3139;
    --bg-overlay: rgb(6 8 10 / 62%);

    --text-primary: #e8ecef;
    --text-secondary: #bcc7d2;
    --text-muted: #97a5b3;
    --text-inverse: #151a1f;

    --border-soft: #3f4853;
    --border-strong: #56606c;
    --divider-relief-hi: rgb(255 255 255 / 5%);
    --divider-relief-lo: rgb(0 0 0 / 24%);

    --interactive-primary: #7f9bb0;
    --interactive-primary-hover: #91acbf;
    --interactive-primary-active: #6e889b;
    --interactive-focus: #9fb5c6;

    --interactive-accent: #a88961;
    --interactive-accent-hover: #b69770;
    --interactive-accent-active: #8f734f;

    --state-success-bg: #26372f;
    --state-success-text: #b9dfca;
    --state-danger-bg: #3b2a28;
    --state-danger-text: #f0beb8;
    --state-warning-bg: #3a3125;
    --state-warning-text: #ead2a2;

    --noise-opacity: 0.04;
    --vein-opacity: 0.06;
    --relief-shadow-soft: 0 1px 0 rgb(255 255 255 / 3%), 0 0 0 1px rgb(0 0 0 / 24%), 0 14px 30px rgb(0 0 0 / 28%);
    --relief-shadow-strong: 0 1px 0 rgb(255 255 255 / 5%), 0 0 0 1px rgb(0 0 0 / 36%), 0 18px 36px rgb(0 0 0 / 34%);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        linear-gradient(160deg, rgb(255 255 255 / var(--vein-opacity)) 0%, transparent 45%),
        radial-gradient(circle at 18% 14%, rgb(255 255 255 / 10%), transparent 48%),
        radial-gradient(circle at 76% 84%, rgb(0 0 0 / 5%), transparent 50%),
        var(--bg-app);
    color: var(--text-primary);
    font-family: var(--font-ui);
    line-height: 1.45;
    letter-spacing: 0.01em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: var(--noise-opacity);
    background-image: radial-gradient(circle, rgb(50 42 34 / 55%) 0.4px, transparent 0.6px);
    background-size: 3px 3px;
    z-index: -1;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

.container {
    max-width: 1100px;
    margin: var(--space-4) auto;
    padding: var(--space-4);
}

.topbar {
    background: linear-gradient(180deg, color-mix(in srgb, var(--interactive-primary) 90%, #000 10%), var(--interactive-primary-active));
    color: var(--text-inverse);
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    box-shadow: 0 8px 22px rgb(14 18 23 / 28%);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.nav-inline {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.nav-inline a {
    color: var(--text-inverse);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, opacity .2s ease;
}

.nav-inline a:hover,
.nav-inline a:focus-visible {
    border-color: color-mix(in srgb, var(--interactive-accent) 64%, #fff 36%);
    opacity: 0.95;
}

.logout-form {
    margin: 0;
}

.card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    border: 1px solid var(--border-soft);
    box-shadow: var(--relief-shadow-soft);
}

.stack {
    display: grid;
    gap: .8rem;
}

.grid-form {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: end;
}

input,
select,
textarea,
button {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    padding: 0.62rem 0.72rem;
    font: inherit;
    color: var(--text-primary);
}

input,
select,
textarea {
    background: var(--bg-surface);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

input:hover,
select:hover,
textarea:hover {
    border-color: var(--border-strong);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
.button-link:focus-visible {
    outline: 2px solid var(--interactive-focus);
    outline-offset: 2px;
    border-color: var(--interactive-primary);
}

button,
.button-link {
    border: 1px solid transparent;
    background: linear-gradient(180deg, var(--interactive-primary), var(--interactive-primary-active));
    color: var(--text-inverse);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 6px 14px rgb(32 42 53 / 22%);
}

button:hover,
.button-link:hover {
    background: linear-gradient(180deg, var(--interactive-primary-hover), var(--interactive-primary));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 8px 18px rgb(24 33 42 / 26%);
}

button:active,
.button-link:active {
    transform: translateY(1px);
    background: var(--interactive-primary-active);
}

button:disabled,
.button-link.is-disabled {
    pointer-events: none;
    opacity: .58;
}

.alert {
    padding: .72rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
}

.error {
    background: var(--state-danger-bg);
    color: var(--state-danger-text);
}

.success {
    background: var(--state-success-bg);
    color: var(--state-success-text);
}

.warning {
    background: var(--state-warning-bg);
    color: var(--state-warning-text);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    background: var(--bg-elevated);
}

th,
td {
    border: 1px solid var(--border-soft);
    text-align: left;
    padding: .45rem;
}

th {
    background: var(--bg-surface-alt);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .5rem;
}

textarea {
    width: 100%;
}

.badge {
    display: inline-block;
    background: var(--interactive-accent);
    color: var(--text-inverse);
    border-radius: 999px;
    padding: .1rem .5rem;
    font-size: .75rem;
}

.muted {
    color: var(--text-secondary);
}

.kpi-grid,
.grid-3,
.dashboard-grid,
.dashboard-chart-grid,
.dashboard-time-filter {
    display: grid;
    gap: .8rem;
}

.kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.kpi {
    margin-bottom: 0;
}

.kpi-value {
    font-size: 1.8rem;
    margin: .5rem 0 0;
    font-weight: 700;
}

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

.dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.metric-row,
.chart-row {
    display: grid;
    align-items: center;
    gap: .65rem;
}

.metric-row {
    grid-template-columns: 1.3fr 1fr auto;
}

.chart-row {
    grid-template-columns: 1.4fr 1fr auto;
}

.metric-bar,
.chart-track {
    background: var(--bg-surface-alt);
    border-radius: 99px;
    overflow: hidden;
    min-height: 10px;
}

.metric-bar i,
.chart-fill {
    display: block;
    min-height: 10px;
    background: linear-gradient(90deg, var(--interactive-primary-active), var(--interactive-primary-hover));
    width: 0;
    transition: width .35s ease-in-out;
}

.button-link {
    display: inline-block;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: .62rem .8rem;
}

code {
    font-size: .8rem;
    word-break: break-all;
}

.panel-admin { border-left: 5px solid var(--interactive-primary); }
.panel-supervisor { border-left: 5px solid #7560a1; }
.panel-responsable_area { border-left: 5px solid #3d7b72; }
.panel-operador { border-left: 5px solid #4f8297; }
.panel-solicitante { border-left: 5px solid var(--color-stone-500); }

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

.dashboard-chart-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.chart-host {
    min-height: 140px;
    display: grid;
    gap: .6rem;
}

.dashboard-time-filter {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    align-items: end;
}

.chart-empty {
    margin: 0;
    color: var(--text-muted);
    font-style: italic;
}

.chart-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.priority-pie {
    width: 164px;
    height: 164px;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: inset 0 0 0 18px var(--bg-elevated);
    border: 1px solid var(--border-soft);
}

.priority-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .4rem;
}

.priority-legend-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .92rem;
}

.priority-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.audit-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.audit-pagination {
    margin-top: .9rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}

.inline-grid-form {
    display: grid;
    gap: .45rem;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    align-items: center;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.inline-status-form {
    display: flex;
    gap: .4rem;
    align-items: center;
}

.students-portal {
    gap: 1rem;
}

.students-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    flex-wrap: wrap;
}

.students-portal-subtitle {
    margin: 0;
}

.students-portal-kpi,
.students-portal-grid {
    display: grid;
    gap: .8rem;
}

.students-portal-kpi {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.students-portal-kpi-item {
    padding: .8rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-surface));
}

.students-portal-kpi-item h2,
.students-portal-module h2 {
    margin: 0 0 .3rem;
    font-size: 1.05rem;
}

.students-portal-kpi-item p {
    margin: 0;
}

.students-portal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.students-status-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .2rem .58rem;
    font-size: .78rem;
    border: 1px solid var(--border-soft);
    font-weight: 600;
}

.students-status-chip--danger {
    background: var(--state-danger-bg);
    color: var(--state-danger-text);
}

.students-status-chip--warning {
    background: var(--state-warning-bg);
    color: var(--state-warning-text);
}

.students-status-chip--success {
    background: var(--state-success-bg);
    color: var(--state-success-text);
}

.students-portal-grid {
    grid-template-columns: 1fr;
}

.students-portal-module {
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--interactive-primary);
    border-radius: var(--radius-md);
    padding: .9rem;
    background: var(--bg-elevated);
    display: grid;
    gap: .7rem;
}

.students-portal-module[data-status="danger"] { border-left-color: #af463c; }
.students-portal-module[data-status="warning"] { border-left-color: #b5812d; }
.students-portal-module[data-status="success"] { border-left-color: #3e7d56; }

.students-portal-module-head {
    display: flex;
    justify-content: space-between;
    gap: .55rem;
    align-items: center;
    flex-wrap: wrap;
}

.students-portal-module-desc {
    margin: 0;
    color: var(--text-secondary);
}

.students-portal-module--locked {
    background: var(--bg-surface-alt);
}

.students-portal-action {
    justify-self: start;
}

@media (min-width: 720px) {
    .students-portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .students-portal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.inline-status-form select {
    min-width: 130px;
}

/* Modal base style for future reuse */
.modal {
    background: var(--bg-overlay);
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: var(--space-4);
}

.modal__dialog {
    width: min(560px, 100%);
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--relief-shadow-strong);
    padding: var(--space-5);
}

/* === ATENEA LOGIN REDESIGN START === */

body.auth-login-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 72% 22%, rgba(201, 164, 92, 0.12), transparent 34%),
        radial-gradient(circle at 20% 84%, rgba(31, 58, 95, 0.10), transparent 32%),
        #f8f4ed;
    color: #102336;
}

body.auth-login-page .topbar {
    display: none !important;
}

body.auth-login-page main.container {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.atenea-login-shell,
.atenea-login-shell * {
    box-sizing: border-box;
}

.atenea-login-shell {
    --atenea-navy: #06243d;
    --atenea-navy-2: #0d3554;
    --atenea-blue: #163f62;
    --atenea-gold: #c9a45c;
    --atenea-gold-soft: rgba(201, 164, 92, 0.34);
    --atenea-ivory: #fbf7ef;
    --atenea-text: #13283c;
    --atenea-muted: #6d7b8d;
    --atenea-border: rgba(16, 35, 54, 0.14);
    --atenea-danger: #9b3735;

    position: relative;
    display: grid;
    grid-template-columns: minmax(420px, 43vw) 1fr;
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.32), rgba(255,255,255,0)),
        var(--atenea-ivory);
    isolation: isolate;
}

.atenea-login-brand {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: clamp(36px, 5vw, 72px);
    color: #fff;
    background:
        radial-gradient(circle at 22% 14%, rgba(88, 138, 174, 0.34), transparent 32%),
        linear-gradient(145deg, #09263f 0%, #031d34 58%, #021527 100%);
}

.atenea-login-brand::after {
    content: "";
    position: absolute;
    top: -8%;
    right: -21%;
    width: 46%;
    height: 116%;
    background: var(--atenea-ivory);
    transform: skewX(-12deg);
    transform-origin: top;
    opacity: 0.98;
    box-shadow: -32px 0 60px rgba(0, 0, 0, 0.10);
    z-index: 0;
}

.atenea-brand-inner {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.atenea-brand-heading {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 58px;
}

.atenea-crest {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 104px;
    height: 120px;
    color: var(--atenea-gold);
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.18));
}

.atenea-crest svg {
    width: 100%;
    height: 100%;
}

.atenea-eyebrow {
    margin: 0 0 4px;
    color: var(--atenea-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.atenea-brand-heading h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 5vw, 5.8rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.atenea-brand-copy {
    max-width: 540px;
    margin-bottom: 40px;
}

.atenea-gold-line {
    display: block;
    width: 96px;
    height: 2px;
    margin-bottom: 26px;
    background: linear-gradient(90deg, var(--atenea-gold), rgba(201, 164, 92, 0.18));
}

.atenea-brand-copy p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: clamp(1.05rem, 1.35vw, 1.28rem);
    line-height: 1.75;
}

.atenea-feature-list {
    display: grid;
    gap: 22px;
    margin-top: 42px;
}

.atenea-feature {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: start;
    gap: 18px;
    max-width: 510px;
}

.atenea-feature-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    color: var(--atenea-gold);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    background: rgba(2, 20, 36, 0.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 20px 40px rgba(0,0,0,0.14);
}

.atenea-feature-icon svg {
    width: 31px;
    height: 31px;
}

.atenea-feature strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.2;
}

.atenea-feature p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.55;
    font-size: 0.96rem;
}

.atenea-column-art {
    position: absolute;
    left: -40px;
    bottom: -110px;
    width: 245px;
    height: 560px;
    opacity: 0.46;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.22), rgba(255,255,255,0.05)),
        repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,0.16) 29px 32px);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 28px 28px 0 0;
    box-shadow: inset 0 0 34px rgba(255,255,255,0.10);
    z-index: 1;
}

.atenea-column-art::before {
    content: "";
    position: absolute;
    top: -62px;
    left: -22px;
    width: 285px;
    height: 78px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.03));
}

.atenea-book-orbit {
    position: absolute;
    left: 210px;
    bottom: 278px;
    width: 142px;
    height: 142px;
    color: var(--atenea-gold);
    opacity: 0.86;
    z-index: 1;
}

.atenea-dot-grid {
    position: absolute;
    left: 210px;
    bottom: 170px;
    width: 116px;
    height: 116px;
    opacity: 0.55;
    background-image: radial-gradient(circle, rgba(201,164,92,0.9) 1.4px, transparent 1.8px);
    background-size: 15px 15px;
    z-index: 1;
}

.atenea-login-main {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: clamp(34px, 5vw, 76px);
    overflow: hidden;
}

.atenea-login-main::before,
.atenea-login-main::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(201,164,92,0.20);
    border-radius: 50%;
    pointer-events: none;
}

.atenea-login-main::before {
    top: 12%;
    left: -4%;
    width: 250px;
    height: 250px;
}

.atenea-login-main::after {
    top: 22%;
    left: 3%;
    width: 150px;
    height: 150px;
}

.atenea-campus-ghost {
    position: absolute;
    left: 0;
    bottom: 17%;
    width: 46vw;
    max-width: 720px;
    height: 280px;
    opacity: 0.16;
    background:
        linear-gradient(180deg, transparent 0 40%, rgba(16,35,54,0.12) 41% 43%, transparent 44%),
        linear-gradient(90deg, transparent 0 10%, rgba(16,35,54,0.28) 10% 12%, transparent 12% 18%, rgba(16,35,54,0.22) 18% 20%, transparent 20% 28%, rgba(16,35,54,0.25) 28% 30%, transparent 30% 38%, rgba(16,35,54,0.22) 38% 40%, transparent 40% 100%);
    filter: blur(0.2px);
    pointer-events: none;
}

.atenea-campus-ghost::before {
    content: "";
    position: absolute;
    left: 18%;
    bottom: 98px;
    width: 220px;
    height: 95px;
    border-radius: 120px 120px 0 0;
    border: 2px solid rgba(16,35,54,0.22);
    border-bottom: none;
}

.atenea-login-card {
    position: relative;
    z-index: 2;
    width: min(100%, 650px);
    min-height: 540px;
    padding: 78px clamp(30px, 4.4vw, 58px) 48px;
    border: 1px solid rgba(201,164,92,0.38);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.88)),
        rgba(255,255,255,0.88);
    box-shadow: 0 28px 90px rgba(15, 37, 55, 0.16);
    backdrop-filter: blur(18px);
}

.atenea-login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--atenea-gold), transparent);
}

.atenea-card-badge {
    position: absolute;
    top: -39px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 72px;
    height: 84px;
    transform: translateX(-50%);
    color: var(--atenea-gold);
    background: linear-gradient(180deg, #06243d, #0d3554);
    border: 1px solid rgba(201,164,92,0.55);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 36px rgba(9, 38, 63, 0.18);
}

.atenea-card-badge svg {
    width: 48px;
    height: 58px;
}

.atenea-login-title {
    text-align: center;
    margin-bottom: 32px;
}

.atenea-login-title h2 {
    margin: 0 0 6px;
    color: var(--atenea-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4vw, 3.4rem);
    letter-spacing: -0.045em;
}

.atenea-login-title p {
    margin: 0;
    color: var(--atenea-muted);
    font-size: 1.05rem;
}

.atenea-alert {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 52px;
    margin: 0 0 26px;
    padding: 13px 18px;
    color: var(--atenea-danger);
    border: 1px solid rgba(198, 74, 70, 0.23);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff3f2, #fbe7e5);
}

.atenea-alert span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-weight: 900;
    line-height: 1;
}

.atenea-alert p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.4;
}

.atenea-login-form {
    display: grid;
    gap: 22px;
}

.atenea-field {
    display: grid;
    gap: 8px;
    color: var(--atenea-text);
    font-weight: 700;
}

.atenea-input-wrap {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    min-height: 58px;
    border: 1px solid var(--atenea-border);
    border-radius: 10px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 24px rgba(16,35,54,0.04);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.atenea-input-wrap:focus-within {
    border-color: rgba(201,164,92,0.82);
    box-shadow: 0 0 0 4px rgba(201,164,92,0.14), 0 12px 28px rgba(16,35,54,0.06);
    transform: translateY(-1px);
}

.atenea-input-wrap svg {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    color: #7c8b9b;
}

.atenea-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 16px 0 2px;
    color: var(--atenea-text);
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-weight: 500;
}

.atenea-input-wrap input::placeholder {
    color: #a0aab6;
}

.atenea-input-wrap input[aria-invalid="true"] {
    color: var(--atenea-danger);
}

.atenea-login-button {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 64px;
    margin-top: 4px;
    padding: 0 26px;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background:
        radial-gradient(circle at 18% 0, rgba(255,255,255,0.16), transparent 28%),
        linear-gradient(135deg, #031d34, #062e50 58%, #031d34);
    box-shadow: 0 18px 34px rgba(6, 36, 61, 0.23);
    cursor: pointer;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.atenea-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(6, 36, 61, 0.30);
    filter: saturate(1.05);
}

.atenea-login-button:active {
    transform: translateY(0);
}

.atenea-login-button strong {
    color: var(--atenea-gold);
    font-size: 1.7rem;
    line-height: 1;
}

.atenea-forgot-link {
    justify-self: center;
    color: #0a4f87;
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.atenea-forgot-link:hover {
    color: #06365d;
}

.atenea-login-footer {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #7b8796;
    transform: translateX(-18%);
    font-size: 0.94rem;
}

.atenea-login-footer p {
    margin: 0;
}

.atenea-login-footer span {
    color: #8c9aa9;
    font-size: 0.8rem;
}

.atenea-login-footer i {
    width: 1px;
    height: 18px;
    background: rgba(16,35,54,0.18);
}

@media (max-width: 1100px) {
    .atenea-login-shell {
        grid-template-columns: 1fr;
    }

    .atenea-login-brand {
        min-height: auto;
        padding: 34px 28px 28px;
    }

    .atenea-login-brand::after,
    .atenea-column-art,
    .atenea-book-orbit,
    .atenea-dot-grid {
        display: none;
    }

    .atenea-brand-heading {
        margin-bottom: 24px;
    }

    .atenea-crest {
        width: 74px;
        height: 86px;
    }

    .atenea-brand-heading h1 {
        font-size: 3.4rem;
    }

    .atenea-brand-copy,
    .atenea-feature-list {
        display: none;
    }

    .atenea-login-main {
        min-height: calc(100vh - 182px);
        padding: 68px 22px 86px;
    }

    .atenea-login-footer {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 620px) {
    .atenea-login-brand {
        padding: 26px 22px;
    }

    .atenea-brand-heading {
        gap: 14px;
    }

    .atenea-crest {
        width: 58px;
        height: 68px;
    }

    .atenea-brand-heading h1 {
        font-size: 2.6rem;
    }

    .atenea-eyebrow {
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    .atenea-login-main {
        padding: 58px 14px 102px;
    }

    .atenea-login-card {
        min-height: auto;
        padding: 64px 18px 30px;
        border-radius: 18px;
    }

    .atenea-card-badge {
        width: 62px;
        height: 72px;
        top: -34px;
    }

    .atenea-login-title h2 {
        font-size: 2.15rem;
    }

    .atenea-login-title p,
    .atenea-alert p {
        font-size: 0.92rem;
    }

    .atenea-input-wrap {
        min-height: 54px;
    }

    .atenea-input-wrap input {
        height: 52px;
    }

    .atenea-login-button {
        min-height: 58px;
    }

    .atenea-login-footer {
        gap: 10px;
        font-size: 0.82rem;
    }
}

/* === ATENEA LOGIN REDESIGN END === */

/* === ATENEA LOGIN HOTFIX PROPORTIONS START === */

/* Ajuste general de proporciones */
body.auth-login-page {
    background: #f8f4ed;
}

.atenea-login-shell {
    grid-template-columns: minmax(380px, 37vw) 1fr;
    min-height: 100vh;
    overflow: hidden;
}

/* Panel izquierdo mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s sobrio y sin invasiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n visual */
.atenea-login-brand {
    padding: clamp(30px, 4vw, 56px) clamp(28px, 4vw, 62px);
}

.atenea-login-brand::after {
    right: -33%;
    width: 41%;
    transform: skewX(-10deg);
    box-shadow: -18px 0 42px rgba(0, 0, 0, 0.08);
}

/* Marca superior */
.atenea-brand-heading {
    gap: 18px;
    margin-bottom: 38px;
    max-width: 430px;
}

.atenea-crest {
    width: 82px;
    height: 96px;
}

.atenea-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

.atenea-brand-heading h1 {
    font-size: clamp(3rem, 4.1vw, 4.45rem);
    letter-spacing: -0.045em;
}

/* Texto introductorio mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s compacto */
.atenea-brand-copy {
    max-width: 420px;
    margin-bottom: 26px;
}

.atenea-gold-line {
    width: 82px;
    margin-bottom: 20px;
}

.atenea-brand-copy p {
    font-size: clamp(0.98rem, 1.12vw, 1.12rem);
    line-height: 1.58;
}

/* Features del panel izquierdo */
.atenea-feature-list {
    gap: 16px;
    margin-top: 24px;
    max-width: 430px;
}

.atenea-feature {
    grid-template-columns: 54px 1fr;
    gap: 14px;
}

.atenea-feature-icon {
    width: 50px;
    height: 50px;
}

.atenea-feature-icon svg {
    width: 25px;
    height: 25px;
}

.atenea-feature strong {
    font-size: 0.98rem;
}

.atenea-feature p {
    font-size: 0.86rem;
    line-height: 1.42;
}

/* DecoraciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n izquierda menos invasiva */
.atenea-column-art {
    left: -115px;
    bottom: -230px;
    width: 210px;
    height: 500px;
    opacity: 0.18;
}

.atenea-column-art::before {
    width: 245px;
    height: 62px;
}

.atenea-book-orbit {
    left: 290px;
    bottom: 245px;
    width: 118px;
    height: 118px;
    opacity: 0.58;
}

.atenea-dot-grid {
    left: 280px;
    bottom: 132px;
    width: 96px;
    height: 96px;
    opacity: 0.42;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Ârea derecha */
.atenea-login-main {
    padding: 36px clamp(34px, 5vw, 72px) 70px;
    align-items: center;
    justify-items: center;
}

/* CÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­rculos decorativos mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s sutiles */
.atenea-login-main::before {
    top: 16%;
    left: -5%;
    width: 210px;
    height: 210px;
    opacity: 0.75;
}

.atenea-login-main::after {
    top: 28%;
    left: 2%;
    width: 128px;
    height: 128px;
    opacity: 0.65;
}

.atenea-campus-ghost {
    opacity: 0.10;
    bottom: 15%;
}

/* Tarjeta de login mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s compacta */
.atenea-login-card {
    width: min(100%, 560px);
    min-height: auto;
    padding: 64px clamp(30px, 3.5vw, 48px) 34px;
    border-radius: 20px;
    box-shadow: 0 22px 70px rgba(15, 37, 55, 0.13);
}

.atenea-card-badge {
    top: -34px;
    width: 66px;
    height: 76px;
    border-radius: 0 0 14px 14px;
}

.atenea-card-badge svg {
    width: 42px;
    height: 52px;
}

.atenea-login-title {
    margin-bottom: 24px;
}

.atenea-login-title h2 {
    font-size: clamp(2.35rem, 3.2vw, 3rem);
    line-height: 1;
}

.atenea-login-title p {
    font-size: 0.98rem;
}

/* Alerta mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s compacta */
.atenea-alert {
    min-height: 46px;
    margin-bottom: 20px;
    padding: 11px 15px;
}

.atenea-alert p {
    font-size: 0.88rem;
}

/* Formulario mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s fino */
.atenea-login-form {
    gap: 18px;
}

.atenea-field {
    gap: 7px;
    font-size: 0.95rem;
}

.atenea-input-wrap {
    min-height: 52px;
    grid-template-columns: 40px 1fr;
    border-radius: 9px;
}

.atenea-input-wrap svg {
    width: 22px;
    height: 22px;
    margin-left: 14px;
}

.atenea-input-wrap input {
    height: 50px;
    padding-right: 13px;
    font-size: 0.98rem;
}

.atenea-login-button {
    min-height: 56px;
    margin-top: 2px;
    padding: 0 22px;
    border-radius: 9px;
    font-size: 1.02rem;
}

.atenea-login-button strong {
    font-size: 1.45rem;
}

.atenea-forgot-link {
    font-size: 0.94rem;
}

/* Footer centrado bajo la tarjeta */
.atenea-login-footer {
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    font-size: 0.86rem;
    white-space: nowrap;
}

/* Corrige fondo azul de autocompletado de Chrome */
.atenea-input-wrap input:-webkit-autofill,
.atenea-input-wrap input:-webkit-autofill:hover,
.atenea-input-wrap input:-webkit-autofill:focus,
.atenea-input-wrap input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #13283c !important;
    caret-color: #13283c !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* Evita que el campo se vea azul al estar autocompletado o enfocado */
.atenea-input-wrap input {
    background-color: transparent !important;
}

/* Ajuste para pantallas con poca altura */
@media (max-height: 820px) and (min-width: 1101px) {
    .atenea-login-brand {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .atenea-brand-heading {
        margin-bottom: 26px;
    }

    .atenea-crest {
        width: 72px;
        height: 84px;
    }

    .atenea-brand-heading h1 {
        font-size: clamp(2.8rem, 3.8vw, 4rem);
    }

    .atenea-brand-copy {
        margin-bottom: 18px;
    }

    .atenea-brand-copy p {
        font-size: 0.96rem;
        line-height: 1.45;
    }

    .atenea-feature-list {
        gap: 12px;
        margin-top: 18px;
    }

    .atenea-feature p {
        display: none;
    }

    .atenea-login-card {
        width: min(100%, 530px);
        padding-top: 58px;
        padding-bottom: 28px;
    }

    .atenea-login-title {
        margin-bottom: 20px;
    }

    .atenea-login-title h2 {
        font-size: 2.45rem;
    }

    .atenea-login-form {
        gap: 15px;
    }
}

/* Responsive mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s limpio */
@media (max-width: 1100px) {
    .atenea-login-shell {
        overflow: auto;
    }

    .atenea-login-main {
        padding-top: 62px;
    }

    .atenea-brand-heading {
        max-width: none;
    }

    .atenea-login-footer {
        white-space: normal;
    }
}

@media (max-width: 620px) {
    .atenea-login-card {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .atenea-login-title h2 {
        font-size: 2.05rem;
    }
}

/* === ATENEA LOGIN HOTFIX PROPORTIONS END === */

/* === ATENEA LOGO IMAGE PATCH START === */

/* Reemplazo del logo generado por imagen real */
.atenea-brand-logo-wrap {
    position: relative;
    z-index: 3;
    width: min(100%, 440px);
    margin-bottom: 36px;
}

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

/* Al usar logo completo, se oculta la estructura anterior si quedÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³ en CSS */
.atenea-brand-heading {
    display: none !important;
}

/* Ajuste del texto debajo del logo */
.atenea-brand-copy {
    margin-top: 8px;
}

/* Logo pequeÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â±o dentro de la tarjeta */
.atenea-card-badge-logo {
    top: -42px !important;
    width: 190px !important;
    height: 78px !important;
    padding: 10px 16px;
    color: inherit;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(201, 164, 92, 0.38) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 40px rgba(9, 38, 63, 0.16) !important;
    overflow: hidden;
}

.atenea-card-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Como el badge ahora es mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s ancho, damos aire al tÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­tulo */
.atenea-login-card {
    padding-top: 76px !important;
}

.atenea-login-title {
    margin-top: 4px;
}

/* En pantallas mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s pequeÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â±as, el logo se adapta */
@media (max-width: 1100px) {
    .atenea-brand-logo-wrap {
        width: 310px;
        margin-bottom: 0;
    }

    .atenea-brand-logo {
        max-width: 310px;
    }
}

@media (max-width: 620px) {
    .atenea-brand-logo-wrap {
        width: 250px;
    }

    .atenea-brand-logo {
        max-width: 250px;
    }

    .atenea-card-badge-logo {
        width: 150px !important;
        height: 64px !important;
        top: -34px !important;
        padding: 8px 12px;
    }

    .atenea-login-card {
        padding-top: 64px !important;
    }
}

/* === ATENEA LOGO IMAGE PATCH END === */

/* === ATENEA FINAL LOGO CLEANUP START === */

/* Limpieza general para evitar scroll por logos enormes */
body.auth-login-page {
    min-height: 100vh !important;
    overflow: hidden !important;
}

body.auth-login-page main.container {
    overflow: hidden !important;
}

.atenea-login-shell.atenea-login-logo-version {
    grid-template-columns: minmax(350px, 34vw) 1fr !important;
    min-height: 100vh !important;
    overflow: hidden !important;
}

/* Panel izquierdo mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s estable */
.atenea-login-logo-version .atenea-login-brand {
    padding: 38px 34px 32px 46px !important;
    overflow: hidden !important;
}

.atenea-login-logo-version .atenea-login-brand::after {
    right: -34% !important;
    width: 42% !important;
    transform: skewX(-9deg) !important;
}

/* Ocultar cualquier estructura anterior de logo */
.atenea-login-logo-version .atenea-brand-heading,
.atenea-login-logo-version .atenea-crest,
.atenea-login-logo-version .atenea-eyebrow {
    display: none !important;
}

/* Logo completo dentro de una tarjeta clara para que se vea bien sobre azul */
.atenea-brand-logo-panel {
    position: relative;
    z-index: 5;
    width: 330px;
    max-width: calc(100vw - 70px);
    margin: 0 0 32px;
    padding: 12px 14px;
    border: 1px solid rgba(201, 164, 92, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.17);
}

.atenea-brand-logo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;
}

/* Texto del panel izquierdo */
.atenea-login-logo-version .atenea-brand-copy {
    position: relative;
    z-index: 5;
    max-width: 360px !important;
    margin: 0 0 24px !important;
}

.atenea-login-logo-version .atenea-brand-copy p {
    font-size: 1rem !important;
    line-height: 1.55 !important;
}

.atenea-login-logo-version .atenea-feature-list {
    position: relative;
    z-index: 5;
    max-width: 355px !important;
    gap: 14px !important;
    margin-top: 20px !important;
}

.atenea-login-logo-version .atenea-feature {
    grid-template-columns: 50px 1fr !important;
    gap: 13px !important;
}

.atenea-login-logo-version .atenea-feature-icon {
    width: 48px !important;
    height: 48px !important;
}

.atenea-login-logo-version .atenea-feature strong {
    font-size: 0.95rem !important;
}

.atenea-login-logo-version .atenea-feature p {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
}

/* Quitar decoraciones que estaban invadiendo el texto */
.atenea-login-logo-version .atenea-book-orbit {
    display: none !important;
}

.atenea-login-logo-version .atenea-dot-grid {
    left: 250px !important;
    bottom: 140px !important;
    width: 80px !important;
    height: 80px !important;
    opacity: 0.24 !important;
}

.atenea-login-logo-version .atenea-column-art {
    left: -120px !important;
    bottom: -240px !important;
    opacity: 0.12 !important;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Ârea derecha */
.atenea-login-logo-version .atenea-login-main {
    min-height: 100vh !important;
    padding: 52px 52px 64px !important;
}

/* Tarjeta */
.atenea-login-logo-version .atenea-login-card {
    width: min(100%, 570px) !important;
    min-height: auto !important;
    padding: 78px 44px 34px !important;
    border-radius: 20px !important;
}

/* Badge superior: usar solo el escudo del logo mediante recorte controlado */
.atenea-login-logo-version .atenea-card-badge-logo {
    top: -42px !important;
    width: 92px !important;
    height: 92px !important;
    padding: 8px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(201, 164, 92, 0.42) !important;
    box-shadow: 0 18px 40px rgba(9, 38, 63, 0.18) !important;
    overflow: hidden !important;
}

.atenea-login-logo-version .atenea-card-logo {
    display: block !important;
    width: 270px !important;
    max-width: none !important;
    height: 76px !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: translateX(-4px) !important;
}

/* Formulario compacto */
.atenea-login-logo-version .atenea-login-title h2 {
    font-size: clamp(2.2rem, 3.15vw, 3rem) !important;
}

.atenea-login-logo-version .atenea-login-title p {
    font-size: 0.97rem !important;
}

.atenea-login-logo-version .atenea-login-form {
    gap: 17px !important;
}

.atenea-login-logo-version .atenea-field {
    font-size: 0.94rem !important;
}

.atenea-login-logo-version .atenea-input-wrap {
    min-height: 52px !important;
}

.atenea-login-logo-version .atenea-input-wrap input {
    height: 50px !important;
    font-size: 0.96rem !important;
}

.atenea-login-logo-version .atenea-login-button {
    min-height: 56px !important;
    font-size: 1rem !important;
}

.atenea-login-logo-version .atenea-login-button strong {
    color: #c9a45c !important;
    font-family: Arial, sans-serif !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
}

/* Evitar azul del autocompletado */
.atenea-login-logo-version .atenea-input-wrap input:-webkit-autofill,
.atenea-login-logo-version .atenea-input-wrap input:-webkit-autofill:hover,
.atenea-login-logo-version .atenea-input-wrap input:-webkit-autofill:focus,
.atenea-login-logo-version .atenea-input-wrap input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #13283c !important;
    caret-color: #13283c !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

/* Footer */
.atenea-login-logo-version .atenea-login-footer {
    bottom: 20px !important;
    font-size: 0.84rem !important;
}

/* Pantallas bajas */
@media (max-height: 820px) and (min-width: 1101px) {
    .atenea-brand-logo-panel {
        width: 300px !important;
        margin-bottom: 22px !important;
        padding: 10px 12px !important;
    }

    .atenea-login-logo-version .atenea-brand-copy p {
        font-size: 0.9rem !important;
        line-height: 1.42 !important;
    }

    .atenea-login-logo-version .atenea-feature p {
        display: none !important;
    }

    .atenea-login-logo-version .atenea-login-card {
        width: min(100%, 540px) !important;
        padding-top: 70px !important;
        padding-bottom: 28px !important;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    body.auth-login-page {
        overflow: auto !important;
    }

    .atenea-login-shell.atenea-login-logo-version {
        grid-template-columns: 1fr !important;
        overflow: auto !important;
    }

    .atenea-brand-logo-panel {
        width: 300px !important;
        margin-bottom: 0 !important;
    }

    .atenea-login-logo-version .atenea-login-main {
        min-height: calc(100vh - 140px) !important;
        padding: 64px 22px 90px !important;
    }
}

@media (max-width: 620px) {
    .atenea-brand-logo-panel {
        width: 250px !important;
    }

    .atenea-login-logo-version .atenea-login-card {
        width: 100% !important;
        padding: 66px 20px 30px !important;
    }

    .atenea-login-logo-version .atenea-card-badge-logo {
        width: 78px !important;
        height: 78px !important;
        top: -36px !important;
    }

    .atenea-login-logo-version .atenea-card-logo {
        width: 230px !important;
        height: 62px !important;
    }
}

/* === ATENEA FINAL LOGO CLEANUP END === */

/* === ATENEA REFINED LOGIN START === */

body.auth-login-page {
    overflow: hidden !important;
}

.atenea-login-shell.atenea-refined-login {
    --atenea-navy: #06243d;
    --atenea-navy-2: #0e3554;
    --atenea-gold: #c9a45c;
    --atenea-ivory: #f8f4ed;
    --atenea-text: #15293d;
    --atenea-muted: #6d7c8d;

    grid-template-columns: minmax(360px, 38vw) 1fr !important;
    min-height: 100vh !important;
    overflow: hidden !important;
    background: var(--atenea-ivory) !important;
}

.atenea-refined-login .atenea-login-brand {
    padding: 42px 34px 34px 46px !important;
    overflow: hidden !important;
}

.atenea-refined-login .atenea-login-brand::after {
    right: -30% !important;
    width: 39% !important;
    transform: skewX(-9deg) !important;
    opacity: 0.98 !important;
}

.atenea-refined-login .atenea-brand-inner {
    position: relative;
    z-index: 3;
    max-width: 420px !important;
}

.atenea-refined-login .atenea-brand-header {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 28px;
}

.atenea-refined-login .atenea-brand-mark {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(201,164,92,0.30);
    box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}

.atenea-refined-login .atenea-brand-mark-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.atenea-refined-login .atenea-eyebrow {
    margin: 0 0 4px !important;
    color: var(--atenea-gold) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.17em !important;
    text-transform: uppercase !important;
    white-space: nowrap;
}

.atenea-refined-login .atenea-brand-titles h1 {
    margin: 0 !important;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(3rem, 4.3vw, 4.6rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.04em !important;
}

.atenea-refined-login .atenea-brand-subtitle {
    margin: 8px 0 0 !important;
    color: rgba(255,255,255,0.78) !important;
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
}

.atenea-refined-login .atenea-brand-copy {
    max-width: 360px !important;
    margin: 0 0 20px !important;
}

.atenea-refined-login .atenea-brand-copy p {
    font-size: 1rem !important;
    line-height: 1.56 !important;
}

.atenea-refined-login .atenea-feature-list {
    max-width: 355px !important;
    gap: 14px !important;
    margin-top: 18px !important;
}

.atenea-refined-login .atenea-feature {
    grid-template-columns: 50px 1fr !important;
    gap: 13px !important;
}

.atenea-refined-login .atenea-feature-icon {
    width: 48px !important;
    height: 48px !important;
}

.atenea-refined-login .atenea-feature strong {
    font-size: 0.97rem !important;
}

.atenea-refined-login .atenea-feature p {
    font-size: 0.84rem !important;
    line-height: 1.36 !important;
}

.atenea-refined-login .atenea-dot-grid {
    left: 252px !important;
    bottom: 138px !important;
    width: 82px !important;
    height: 82px !important;
    opacity: 0.22 !important;
}

.atenea-refined-login .atenea-column-art {
    left: -120px !important;
    bottom: -240px !important;
    opacity: 0.10 !important;
}

.atenea-refined-login .atenea-book-orbit {
    display: none !important;
}

.atenea-refined-login .atenea-login-main {
    min-height: 100vh !important;
    padding: 54px 52px 66px !important;
}

.atenea-refined-login .atenea-login-card {
    width: min(100%, 580px) !important;
    min-height: auto !important;
    padding: 82px 44px 34px !important;
    border-radius: 22px !important;
}

.atenea-refined-login .atenea-card-badge-refined {
    top: -38px !important;
    width: 86px !important;
    height: 86px !important;
    padding: 10px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(201,164,92,0.42) !important;
    box-shadow: 0 16px 36px rgba(9, 38, 63, 0.16) !important;
}

.atenea-refined-login .atenea-card-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.atenea-refined-login .atenea-login-title h2 {
    font-size: clamp(2.35rem, 3.2vw, 3.2rem) !important;
}

.atenea-refined-login .atenea-login-title p {
    font-size: 0.98rem !important;
}

.atenea-refined-login .atenea-login-form {
    gap: 17px !important;
}

.atenea-refined-login .atenea-field {
    font-size: 0.95rem !important;
}

.atenea-refined-login .atenea-input-wrap {
    min-height: 54px !important;
}

.atenea-refined-login .atenea-input-wrap input {
    height: 52px !important;
    font-size: 0.97rem !important;
}

.atenea-refined-login .atenea-login-button {
    min-height: 58px !important;
    font-size: 1rem !important;
}

.atenea-refined-login .atenea-login-button strong {
    font-size: 1.35rem !important;
    color: var(--atenea-gold) !important;
    font-family: Arial, sans-serif !important;
}

.atenea-refined-login .atenea-login-footer {
    bottom: 18px !important;
    font-size: 0.84rem !important;
}

.atenea-refined-login .atenea-input-wrap input:-webkit-autofill,
.atenea-refined-login .atenea-input-wrap input:-webkit-autofill:hover,
.atenea-refined-login .atenea-input-wrap input:-webkit-autofill:focus,
.atenea-refined-login .atenea-input-wrap input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #13283c !important;
    caret-color: #13283c !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

@media (max-height: 820px) and (min-width: 1101px) {
    .atenea-refined-login .atenea-brand-header {
        grid-template-columns: 80px 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }

    .atenea-refined-login .atenea-brand-mark {
        width: 80px;
        height: 80px;
    }

    .atenea-refined-login .atenea-brand-titles h1 {
        font-size: 3.5rem !important;
    }

    .atenea-refined-login .atenea-brand-subtitle {
        font-size: 0.88rem !important;
    }

    .atenea-refined-login .atenea-brand-copy p {
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
    }

    .atenea-refined-login .atenea-feature p {
        display: none !important;
    }

    .atenea-refined-login .atenea-login-card {
        width: min(100%, 540px) !important;
        padding-top: 74px !important;
    }
}

@media (max-width: 1100px) {
    body.auth-login-page {
        overflow: auto !important;
    }

    .atenea-login-shell.atenea-refined-login {
        grid-template-columns: 1fr !important;
        overflow: auto !important;
    }

    .atenea-refined-login .atenea-login-brand {
        min-height: auto !important;
        padding: 30px 24px 22px !important;
    }

    .atenea-refined-login .atenea-login-brand::after,
    .atenea-refined-login .atenea-column-art,
    .atenea-refined-login .atenea-dot-grid {
        display: none !important;
    }

    .atenea-refined-login .atenea-brand-header {
        grid-template-columns: 72px 1fr;
        margin-bottom: 16px;
    }

    .atenea-refined-login .atenea-brand-mark {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .atenea-refined-login .atenea-brand-titles h1 {
        font-size: 2.7rem !important;
    }

    .atenea-refined-login .atenea-brand-subtitle,
    .atenea-refined-login .atenea-brand-copy,
    .atenea-refined-login .atenea-feature-list {
        display: none !important;
    }

    .atenea-refined-login .atenea-login-main {
        min-height: calc(100vh - 150px) !important;
        padding: 64px 20px 92px !important;
    }

    .atenea-refined-login .atenea-login-footer {
        white-space: normal !important;
        text-align: center !important;
        gap: 10px !important;
        justify-content: center !important;
    }
}

@media (max-width: 620px) {
    .atenea-refined-login .atenea-brand-header {
        grid-template-columns: 58px 1fr;
        gap: 12px;
    }

    .atenea-refined-login .atenea-brand-mark {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .atenea-refined-login .atenea-brand-titles h1 {
        font-size: 2.2rem !important;
    }

    .atenea-refined-login .atenea-eyebrow {
        font-size: 0.60rem !important;
        letter-spacing: 0.12em !important;
    }

    .atenea-refined-login .atenea-login-card {
        width: 100% !important;
        padding: 68px 20px 28px !important;
    }

    .atenea-refined-login .atenea-card-badge-refined {
        width: 72px !important;
        height: 72px !important;
        top: -34px !important;
    }

    .atenea-refined-login .atenea-login-title h2 {
        font-size: 2rem !important;
    }
}

/* === ATENEA REFINED LOGIN END === */

/* === ATENEA FINAL BALANCE LOCK START === */

/* Bloque final de control visual: gana sobre los parches anteriores */
body.auth-login-page {
    overflow: hidden !important;
    background: #f8f4ed !important;
}

body.auth-login-page main.container {
    min-height: 100vh !important;
    overflow: hidden !important;
}

/* ComposiciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n general mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s equilibrada */
.atenea-login-shell,
.atenea-login-shell.atenea-refined-login,
.atenea-login-shell.atenea-login-logo-version {
    grid-template-columns: 31.5vw 1fr !important;
    min-height: 100vh !important;
    overflow: hidden !important;
}

/* Panel izquierdo: mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s limpio y menos invasivo */
.atenea-login-brand {
    padding: 34px 28px 30px 46px !important;
    overflow: hidden !important;
}

.atenea-login-brand::after {
    right: -41% !important;
    width: 44% !important;
    transform: skewX(-8deg) !important;
    opacity: 1 !important;
}

/* Contenedor real del contenido izquierdo */
.atenea-brand-inner {
    max-width: 330px !important;
    width: 330px !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Header de marca mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s compacto */
.atenea-refined-login .atenea-brand-header {
    grid-template-columns: 68px 1fr !important;
    gap: 14px !important;
    align-items: center !important;
    margin-bottom: 26px !important;
    max-width: 320px !important;
}

.atenea-refined-login .atenea-brand-mark {
    width: 68px !important;
    height: 68px !important;
    padding: 8px !important;
    border-radius: 17px !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16) !important;
}

.atenea-refined-login .atenea-brand-mark-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Evita que el texto superior se salga */
.atenea-refined-login .atenea-eyebrow {
    font-size: 0.60rem !important;
    letter-spacing: 0.14em !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    max-width: 230px !important;
}

.atenea-refined-login .atenea-brand-titles h1 {
    font-size: clamp(2.9rem, 3.4vw, 3.7rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.045em !important;
}

.atenea-refined-login .atenea-brand-subtitle {
    max-width: 230px !important;
    margin-top: 7px !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
}

/* Texto descriptivo izquierdo: mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s corto visualmente */
.atenea-brand-copy,
.atenea-refined-login .atenea-brand-copy,
.atenea-login-logo-version .atenea-brand-copy {
    max-width: 305px !important;
    width: 305px !important;
    margin: 0 0 18px !important;
}

.atenea-gold-line {
    width: 72px !important;
    margin-bottom: 18px !important;
}

.atenea-brand-copy p,
.atenea-refined-login .atenea-brand-copy p,
.atenea-login-logo-version .atenea-brand-copy p {
    max-width: 300px !important;
    font-size: 0.91rem !important;
    line-height: 1.48 !important;
}

/* Beneficios mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s refinados */
.atenea-feature-list,
.atenea-refined-login .atenea-feature-list,
.atenea-login-logo-version .atenea-feature-list {
    max-width: 305px !important;
    width: 305px !important;
    gap: 13px !important;
    margin-top: 16px !important;
}

.atenea-feature,
.atenea-refined-login .atenea-feature,
.atenea-login-logo-version .atenea-feature {
    grid-template-columns: 44px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
}

.atenea-feature-icon,
.atenea-refined-login .atenea-feature-icon,
.atenea-login-logo-version .atenea-feature-icon {
    width: 42px !important;
    height: 42px !important;
}

.atenea-feature-icon svg {
    width: 22px !important;
    height: 22px !important;
}

.atenea-feature strong,
.atenea-refined-login .atenea-feature strong,
.atenea-login-logo-version .atenea-feature strong {
    font-size: 0.88rem !important;
    line-height: 1.18 !important;
}

.atenea-feature p,
.atenea-refined-login .atenea-feature p,
.atenea-login-logo-version .atenea-feature p {
    display: none !important;
}

/* DecoraciÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³n izquierda: que no compita con el contenido */
.atenea-column-art,
.atenea-refined-login .atenea-column-art,
.atenea-login-logo-version .atenea-column-art {
    left: -150px !important;
    bottom: -265px !important;
    opacity: 0.07 !important;
}

.atenea-dot-grid,
.atenea-refined-login .atenea-dot-grid,
.atenea-login-logo-version .atenea-dot-grid {
    left: 250px !important;
    bottom: 150px !important;
    width: 70px !important;
    height: 70px !important;
    opacity: 0.16 !important;
}

.atenea-book-orbit {
    display: none !important;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Ârea derecha mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s limpia */
.atenea-login-main,
.atenea-refined-login .atenea-login-main,
.atenea-login-logo-version .atenea-login-main {
    min-height: 100vh !important;
    padding: 46px 58px 60px !important;
    display: grid !important;
    place-items: center !important;
}

.atenea-login-main::before {
    width: 190px !important;
    height: 190px !important;
    opacity: 0.45 !important;
}

.atenea-login-main::after {
    width: 120px !important;
    height: 120px !important;
    opacity: 0.38 !important;
}

.atenea-campus-ghost {
    opacity: 0.06 !important;
}

/* Tarjeta derecha: un poco mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡s compacta y proporcionada */
.atenea-login-card,
.atenea-refined-login .atenea-login-card,
.atenea-login-logo-version .atenea-login-card {
    width: min(100%, 520px) !important;
    padding: 70px 38px 30px !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 70px rgba(15, 37, 55, 0.13) !important;
}

/* Badge del formulario */
.atenea-card-badge,
.atenea-card-badge-refined,
.atenea-card-badge-logo,
.atenea-refined-login .atenea-card-badge-refined,
.atenea-login-logo-version .atenea-card-badge-logo {
    top: -36px !important;
    width: 74px !important;
    height: 74px !important;
    padding: 8px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(201,164,92,0.42) !important;
    overflow: hidden !important;
}

.atenea-card-logo,
.atenea-refined-login .atenea-card-logo,
.atenea-login-logo-version .atenea-card-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: none !important;
}

/* TÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­tulos del formulario */
.atenea-login-title {
    margin-bottom: 22px !important;
}

.atenea-login-title h2,
.atenea-refined-login .atenea-login-title h2,
.atenea-login-logo-version .atenea-login-title h2 {
    font-size: clamp(2.15rem, 2.8vw, 2.8rem) !important;
    line-height: 1 !important;
}

.atenea-login-title p,
.atenea-refined-login .atenea-login-title p,
.atenea-login-logo-version .atenea-login-title p {
    font-size: 0.91rem !important;
}

/* Formulario */
.atenea-login-form,
.atenea-refined-login .atenea-login-form,
.atenea-login-logo-version .atenea-login-form {
    gap: 15px !important;
}

.atenea-field,
.atenea-refined-login .atenea-field,
.atenea-login-logo-version .atenea-field {
    gap: 6px !important;
    font-size: 0.88rem !important;
}

.atenea-input-wrap,
.atenea-refined-login .atenea-input-wrap,
.atenea-login-logo-version .atenea-input-wrap {
    min-height: 48px !important;
    grid-template-columns: 38px 1fr !important;
    border-radius: 9px !important;
}

.atenea-input-wrap svg {
    width: 20px !important;
    height: 20px !important;
    margin-left: 13px !important;
}

.atenea-input-wrap input,
.atenea-refined-login .atenea-input-wrap input,
.atenea-login-logo-version .atenea-input-wrap input {
    height: 48px !important;
    font-size: 0.91rem !important;
}

.atenea-login-button,
.atenea-refined-login .atenea-login-button,
.atenea-login-logo-version .atenea-login-button {
    min-height: 52px !important;
    margin-top: 3px !important;
    font-size: 0.96rem !important;
    border-radius: 9px !important;
}

.atenea-login-button strong,
.atenea-refined-login .atenea-login-button strong,
.atenea-login-logo-version .atenea-login-button strong {
    font-size: 1.25rem !important;
    color: #c9a45c !important;
    font-family: Arial, sans-serif !important;
}

.atenea-forgot-link {
    font-size: 0.88rem !important;
}

/* Footer */
.atenea-login-footer,
.atenea-refined-login .atenea-login-footer,
.atenea-login-logo-version .atenea-login-footer {
    bottom: 16px !important;
    font-size: 0.78rem !important;
}

/* Alturas pequeÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â±as */
@media (max-height: 820px) and (min-width: 1101px) {
    .atenea-login-brand {
        padding-top: 26px !important;
        padding-bottom: 26px !important;
    }

    .atenea-refined-login .atenea-brand-header {
        grid-template-columns: 58px 1fr !important;
        gap: 12px !important;
        margin-bottom: 18px !important;
    }

    .atenea-refined-login .atenea-brand-mark {
        width: 58px !important;
        height: 58px !important;
        border-radius: 15px !important;
    }

    .atenea-refined-login .atenea-brand-titles h1 {
        font-size: 3rem !important;
    }

    .atenea-refined-login .atenea-brand-subtitle {
        display: none !important;
    }

    .atenea-brand-copy p {
        font-size: 0.84rem !important;
        line-height: 1.38 !important;
    }

    .atenea-login-card {
        width: min(100%, 500px) !important;
        padding: 64px 34px 26px !important;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    body.auth-login-page {
        overflow: auto !important;
    }

    .atenea-login-shell,
    .atenea-login-shell.atenea-refined-login,
    .atenea-login-shell.atenea-login-logo-version {
        grid-template-columns: 1fr !important;
        overflow: auto !important;
    }

    .atenea-login-brand {
        min-height: auto !important;
    }

    .atenea-login-brand::after {
        display: none !important;
    }

    .atenea-brand-inner {
        width: auto !important;
        max-width: none !important;
    }

    .atenea-refined-login .atenea-brand-header {
        max-width: none !important;
    }
}

@media (max-width: 620px) {
    .atenea-login-main {
        padding: 62px 16px 90px !important;
    }

    .atenea-login-card {
        width: 100% !important;
        padding: 64px 20px 28px !important;
    }
}

/* === ATENEA FINAL BALANCE LOCK END === */

/* === ATENEA ADMIN SINGLE NAV START === */

body.atenea-app-page {
    --atenea-admin-navy: #06243d;
    --atenea-admin-navy-2: #0b3150;
    --atenea-admin-gold: #c9a45c;
    --atenea-admin-gold-2: #a87920;
    --atenea-admin-ivory: #f8f4ed;
    --atenea-admin-card: rgba(255, 255, 255, 0.92);
    --atenea-admin-text: #102336;
    --atenea-admin-muted: #6c7a8b;
    --atenea-admin-border: rgba(16, 35, 54, 0.12);
    --atenea-admin-shadow: 0 22px 60px rgba(15, 37, 55, 0.10);

    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(201, 164, 92, 0.10), transparent 30%),
        radial-gradient(circle at 90% 16%, rgba(6, 36, 61, 0.08), transparent 34%),
        var(--atenea-admin-ivory);
    color: var(--atenea-admin-text);
}

/* Oculta la barra anterior si algÃƒÆ’Ã‚Âºn estilo viejo intenta revivirla */
body.atenea-app-page .topbar {
    display: none !important;
}

body.atenea-app-page main.container,
body.atenea-app-page .atenea-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* NAVBAR ÃƒÆ’Ã…Â¡NICO */
.atenea-topnav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 76px;
    padding: 0 34px;
    color: #fff;
    background:
        radial-gradient(circle at 0 0, rgba(255,255,255,0.10), transparent 28%),
        linear-gradient(135deg, #031d34, #06243d 54%, #031a2e);
    border-bottom: 1px solid rgba(201, 164, 92, 0.24);
    box-shadow: 0 18px 42px rgba(6, 36, 61, 0.22);
}

.atenea-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
    min-width: 0;
}

.atenea-brand-logo {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 6px;
    border: 1px solid rgba(201, 164, 92, 0.42);
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 12px 26px rgba(0,0,0,0.16);
    flex: 0 0 auto;
}

.atenea-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.atenea-brand-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.atenea-brand-text strong {
    color: #fff;
    font-size: 0.96rem;
    line-height: 1.12;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.atenea-brand-text em {
    color: rgba(255,255,255,0.86);
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
}

.atenea-topnav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 12px 0;
}

.atenea-topnav-menu::-webkit-scrollbar {
    height: 4px;
}

.atenea-topnav-menu::-webkit-scrollbar-thumb {
    background: rgba(201, 164, 92, 0.45);
    border-radius: 99px;
}

.atenea-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    color: rgba(255,255,255,0.86);
    text-decoration: none;
    border-radius: 12px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.92rem;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.atenea-nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.atenea-nav-item.is-active {
    color: #fff;
    background: rgba(201, 164, 92, 0.13);
}

.atenea-nav-item.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -12px;
    height: 3px;
    border-radius: 99px 99px 0 0;
    background: var(--atenea-admin-gold);
}

.atenea-nav-dot {
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.85;
}

.atenea-nav-item.is-active .atenea-nav-dot {
    background: var(--atenea-admin-gold);
    border-color: var(--atenea-admin-gold);
}

.atenea-topnav-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.atenea-password-link {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 12px;
}

.atenea-password-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.atenea-logout-form {
    margin: 0;
}

.atenea-logout-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 12px 0 7px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,164,92,0.35);
    border-radius: 999px;
    box-shadow: none;
}

.atenea-logout-button span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--atenea-admin-gold);
    border: 1px solid rgba(201,164,92,0.70);
    border-radius: 50%;
    font-weight: 900;
}

.atenea-logout-button:hover {
    background: rgba(255,255,255,0.12);
}

/* PÃƒÆ’Ã‚ÂGINA */
.atenea-page {
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 34px clamp(22px, 3.4vw, 52px) 54px;
}

.atenea-page-header {
    margin-bottom: 24px;
}

.atenea-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--atenea-admin-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.atenea-breadcrumb a {
    color: #0d4f86;
    text-decoration: none;
}

.atenea-page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
}

.atenea-page-title-row h1 {
    margin: 0;
    color: var(--atenea-admin-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 3.1vw, 3.4rem);
    letter-spacing: -0.035em;
    line-height: 1;
}

.atenea-page-title-row h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin-top: 18px;
    border-radius: 99px;
    background: var(--atenea-admin-gold);
}

.atenea-page-title-row p {
    margin: 14px 0 0;
    color: var(--atenea-admin-muted);
    font-size: 1rem;
}

.atenea-primary-action,
.atenea-gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(135deg, #c99a35, #a87920);
    border: 1px solid rgba(120, 78, 12, 0.20);
    border-radius: 11px;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(168, 121, 32, 0.22);
    font-weight: 800;
}

.atenea-primary-action:hover,
.atenea-gold-button:hover {
    filter: saturate(1.06);
    transform: translateY(-1px);
}

.atenea-alert-inline {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
}

.atenea-alert-success {
    color: #20623b;
    background: #e7f5ec;
    border: 1px solid rgba(32,98,59,0.18);
}

.atenea-alert-error {
    color: #8a2f2f;
    background: #f8e7e7;
    border: 1px solid rgba(138,47,47,0.18);
}

/* KPIs */
.atenea-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.atenea-kpi-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 116px;
    padding: 22px 24px;
    background: var(--atenea-admin-card);
    border: 1px solid rgba(16,35,54,0.08);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(15,37,55,0.08);
}

.atenea-kpi-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #a87920;
    background: rgba(201,164,92,0.13);
    border-radius: 50%;
    font-size: 1.5rem;
    flex: 0 0 auto;
}

.atenea-kpi-blue {
    color: #123b60;
    background: rgba(18,59,96,0.09);
}

.atenea-kpi-card strong {
    display: block;
    color: var(--atenea-admin-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
}

.atenea-kpi-card p {
    margin: 6px 0 3px;
    color: var(--atenea-admin-text);
    font-weight: 700;
}

.atenea-kpi-card em {
    color: #1f8b4c;
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 700;
}

/* Panel de datos */
.atenea-data-panel,
.atenea-admin-panel {
    background: var(--atenea-admin-card);
    border: 1px solid rgba(16,35,54,0.10);
    border-radius: 18px;
    box-shadow: var(--atenea-admin-shadow);
}

.atenea-data-panel {
    padding: 24px;
}

.atenea-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(16,35,54,0.08);
}

.atenea-panel-header h2 {
    margin: 0 0 6px;
    color: var(--atenea-admin-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
}

.atenea-panel-header p {
    margin: 0;
    color: var(--atenea-admin-muted);
}

.atenea-panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.atenea-ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    color: var(--atenea-admin-text);
    background: #fff;
    border: 1px solid rgba(16,35,54,0.12);
    border-radius: 11px;
    text-decoration: none;
    font-weight: 800;
}

.atenea-table-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
}

.atenea-search-field {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    width: min(100%, 390px);
    min-height: 44px;
    border: 1px solid rgba(16,35,54,0.11);
    border-radius: 11px;
    background: #fff;
}

.atenea-search-field span {
    color: var(--atenea-admin-muted);
    text-align: center;
    font-weight: 900;
}

.atenea-search-field input {
    height: 42px;
    border: 0;
    background: transparent;
    outline: 0;
    box-shadow: none;
}

.atenea-filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.atenea-filter-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 18px;
    color: #0d3659;
    background: #f3f6f9;
    border: 1px solid rgba(16,35,54,0.08);
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
}

.atenea-filter-pills .is-selected {
    color: #98690f;
    background: rgba(201,164,92,0.12);
    border-color: rgba(201,164,92,0.38);
}

.atenea-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(16,35,54,0.10);
    border-radius: 13px;
    background: #fff;
}

.atenea-modern-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    font-size: 0.92rem;
}

.atenea-modern-table th,
.atenea-modern-table td {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid rgba(16,35,54,0.08);
    text-align: left;
    vertical-align: middle;
}

.atenea-modern-table th {
    color: var(--atenea-admin-text);
    background: #f5efe5;
    font-weight: 900;
}

.atenea-modern-table tbody tr:hover {
    background: rgba(6,36,61,0.025);
}

.atenea-modern-table tbody tr:last-child td {
    border-bottom: 0;
}

.atenea-role-cell {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.atenea-role-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #a87920;
    background: rgba(201,164,92,0.14);
    border-radius: 50%;
    font-weight: 900;
}

.atenea-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
}

.atenea-status-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.atenea-status-badge.is-active {
    color: #20743d;
    background: #e8f6ed;
}

.atenea-status-badge.is-active::before {
    background: #209447;
}

.atenea-status-badge.is-inactive {
    color: #8a2f2f;
    background: #f8e7e7;
}

.atenea-status-badge.is-inactive::before {
    background: #b04444;
}

.atenea-row-actions {
    color: var(--atenea-admin-text);
    font-weight: 900;
    letter-spacing: 0.16em;
}

.atenea-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 18px;
    color: var(--atenea-admin-muted);
    font-weight: 700;
}

.atenea-page-pill {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    color: #fff;
    background: var(--atenea-admin-navy);
    border-radius: 9px;
}

/* Paneles secundarios */
.atenea-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.atenea-admin-panel {
    padding: 0;
    overflow: hidden;
}

.atenea-admin-panel-full {
    grid-column: 1 / -1;
}

.atenea-admin-panel summary {
    cursor: pointer;
    padding: 18px 22px;
    color: var(--atenea-admin-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 800;
    list-style: none;
}

.atenea-admin-panel summary::-webkit-details-marker {
    display: none;
}

.atenea-admin-panel summary::after {
    content: "+";
    float: right;
    color: var(--atenea-admin-gold-2);
    font-family: var(--font-ui);
}

.atenea-admin-panel[open] summary::after {
    content: "-";
}

.atenea-form-grid,
.atenea-permission-sync {
    display: grid;
    gap: 14px;
    padding: 0 22px 22px;
}

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

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

.atenea-form-grid label,
.atenea-permission-sync label {
    display: grid;
    gap: 7px;
    color: var(--atenea-admin-text);
    font-weight: 800;
}

.atenea-form-grid input,
.atenea-permission-sync select,
.atenea-permission-sync input[type="text"] {
    min-height: 44px;
    background: #fff;
    border: 1px solid rgba(16,35,54,0.12);
    border-radius: 10px;
}

.atenea-form-grid button,
.atenea-permission-sync button {
    min-height: 44px;
    align-self: end;
    color: #fff;
    background: linear-gradient(135deg, #06243d, #0b3150);
    border: 0;
    border-radius: 10px;
    font-weight: 900;
}

.atenea-role-select {
    max-width: 420px;
}

.atenea-permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    max-height: 360px;
    padding: 14px;
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(16,35,54,0.10);
    border-radius: 13px;
}

.atenea-permission-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 700;
}

.atenea-compact-table {
    min-width: 980px;
    font-size: 0.86rem;
}

/* Responsive */
@media (max-width: 1280px) {
    .atenea-topnav {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .atenea-topnav-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-bottom: 12px;
    }

    .atenea-nav-item.is-active::after {
        bottom: -8px;
    }

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

@media (max-width: 900px) {
    .atenea-topnav {
        grid-template-columns: 1fr;
        padding: 16px 20px;
    }

    .atenea-topnav-actions {
        justify-content: space-between;
        padding-bottom: 0;
    }

    .atenea-page-title-row,
    .atenea-panel-header,
    .atenea-table-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .atenea-primary-action,
    .atenea-panel-actions,
    .atenea-search-field {
        width: 100%;
    }

    .atenea-panel-actions a {
        flex: 1;
    }

    .atenea-kpi-grid,
    .atenea-admin-grid,
    .atenea-form-grid,
    .atenea-form-grid-wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .atenea-page {
        padding: 24px 14px 42px;
    }

    .atenea-data-panel {
        padding: 16px;
    }

    .atenea-page-title-row h1 {
        font-size: 2rem;
    }

    .atenea-kpi-card {
        min-height: auto;
        padding: 18px;
    }
}

/* === ATENEA ADMIN SINGLE NAV END === */

/* === ATENEA NAVBAR COMPACT FIX START === */

/* Aislamiento total del navbar interno para que no herede estilos del login */
body.atenea-app-page {
    overflow-x: hidden !important;
}

body.atenea-app-page .atenea-topnav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    display: grid !important;
    grid-template-columns: 250px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 18px !important;
    min-height: 74px !important;
    height: 74px !important;
    max-height: 74px !important;
    padding: 0 28px !important;
    overflow: hidden !important;
}

/* Brand compacto */
body.atenea-app-page .atenea-topnav-brand {
    min-width: 0 !important;
    width: 250px !important;
    max-width: 250px !important;
    height: 74px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

body.atenea-app-page .atenea-topnav-brand .atenea-brand-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 74px !important;
    color: #fff !important;
    text-decoration: none !important;
    overflow: hidden !important;
}

/* Este selector gana contra los estilos viejos del login */
body.atenea-app-page .atenea-topnav-brand .atenea-brand-logo {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 6px !important;
    margin: 0 !important;
    border-radius: 13px !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(201,164,92,0.42) !important;
    box-shadow: 0 10px 22px rgba(0,0,0,0.16) !important;
    overflow: hidden !important;
    filter: none !important;
}

body.atenea-app-page .atenea-topnav-brand .atenea-brand-logo img {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    filter: none !important;
}

/* Texto de marca compacto */
body.atenea-app-page .atenea-topnav-brand .atenea-brand-text {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

body.atenea-app-page .atenea-topnav-brand .atenea-brand-text strong,
body.atenea-app-page .atenea-topnav-brand .atenea-brand-text em {
    display: block !important;
    max-width: 170px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 1.12 !important;
}

body.atenea-app-page .atenea-topnav-brand .atenea-brand-text strong {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
}

body.atenea-app-page .atenea-topnav-brand .atenea-brand-text em {
    font-size: 0.92rem !important;
    font-style: normal !important;
    font-weight: 800 !important;
    color: rgba(255,255,255,0.86) !important;
}

/* MenÃƒÂº en una sola barra, sin scrollbar visible */
body.atenea-app-page .atenea-topnav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    height: 74px !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
}

body.atenea-app-page .atenea-topnav-menu::-webkit-scrollbar {
    display: none !important;
}

body.atenea-app-page .atenea-nav-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex: 0 0 auto !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.atenea-app-page .atenea-nav-item.is-active::after {
    left: 12px !important;
    right: 12px !important;
    bottom: -17px !important;
    height: 3px !important;
}

body.atenea-app-page .atenea-nav-dot {
    flex: 0 0 auto !important;
    width: 7px !important;
    height: 7px !important;
}

/* Acciones a la derecha */
body.atenea-app-page .atenea-topnav-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    height: 74px !important;
    min-width: 185px !important;
    padding: 0 !important;
    grid-column: auto !important;
}

body.atenea-app-page .atenea-password-link {
    display: inline-flex !important;
    align-items: center !important;
    height: 40px !important;
    padding: 0 10px !important;
    font-size: 0.86rem !important;
    white-space: nowrap !important;
}

body.atenea-app-page .atenea-logout-form {
    margin: 0 !important;
}

body.atenea-app-page .atenea-logout-button {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 12px 0 6px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
}

body.atenea-app-page .atenea-logout-button span {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
}

/* Contenido debajo del navbar */
body.atenea-app-page .atenea-main,
body.atenea-app-page main.container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* En dashboard y pÃƒÂ¡ginas internas, evita heredar tamaÃƒÂ±os raros de cards viejas */
body.atenea-app-page .card {
    max-width: none !important;
}

/* Breakpoints */
@media (max-width: 1320px) {
    body.atenea-app-page .atenea-topnav {
        grid-template-columns: 230px minmax(0, 1fr) auto !important;
        padding: 0 20px !important;
    }

    body.atenea-app-page .atenea-topnav-brand {
        width: 230px !important;
        max-width: 230px !important;
    }

    body.atenea-app-page .atenea-topnav-brand .atenea-brand-text strong,
    body.atenea-app-page .atenea-topnav-brand .atenea-brand-text em {
        max-width: 150px !important;
    }

    body.atenea-app-page .atenea-nav-item {
        font-size: 0.84rem !important;
        padding: 0 8px !important;
    }
}

@media (max-width: 980px) {
    body.atenea-app-page .atenea-topnav {
        grid-template-columns: 1fr auto !important;
        height: auto !important;
        max-height: none !important;
        min-height: 74px !important;
        padding: 10px 16px !important;
    }

    body.atenea-app-page .atenea-topnav-brand {
        width: auto !important;
        max-width: none !important;
        height: 54px !important;
    }

    body.atenea-app-page .atenea-topnav-brand .atenea-brand-link {
        height: 54px !important;
    }

    body.atenea-app-page .atenea-topnav-menu {
        grid-column: 1 / -1 !important;
        order: 3 !important;
        width: 100% !important;
        height: 48px !important;
    }

    body.atenea-app-page .atenea-topnav-actions {
        height: 54px !important;
        min-width: auto !important;
    }
}

/* === ATENEA NAVBAR COMPACT FIX END === */

/* === ATENEA RBAC FINAL V3 START === */
.atenea-rbac-page.rbac-v3 {
    --rbac-navy: #06243d;
    --rbac-navy-2: #0b3453;
    --rbac-gold: #b98317;
    --rbac-gold-soft: #fff4dc;
    --rbac-ink: #10243a;
    --rbac-muted: #667386;
    --rbac-line: rgba(16, 36, 58, .10);
    --rbac-card: rgba(255, 255, 255, .94);
    --rbac-soft: #f6f8fb;
    --rbac-green: #16824c;
    max-width: 1760px;
    margin: 0 auto;
    padding: 34px 44px 58px;
    color: var(--rbac-ink);
}

.rbac-v3 * { box-sizing: border-box; }

.rbac-v3 .rbac-hero {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(620px, 1.45fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 20px;
}

.rbac-v3 .rbac-eyebrow {
    margin: 0 0 8px;
    color: var(--rbac-gold);
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rbac-v3 .rbac-hero h1 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 3.1vw, 3.25rem);
    line-height: .98;
    letter-spacing: -.04em;
    color: #071d32;
}

.rbac-v3 .rbac-hero-main > p:last-child {
    margin: 12px 0 0;
    color: var(--rbac-muted);
    max-width: 660px;
    font-weight: 650;
}

.rbac-v3 .rbac-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rbac-v3 .rbac-kpi-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 104px;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
    border: 1px solid var(--rbac-line);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(8, 25, 45, .08);
}

.rbac-v3 .rbac-kpi-icon,
.rbac-v3 .rbac-detail-icon,
.rbac-v3 .rbac-role-icon,
.rbac-v3 .rbac-module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.rbac-v3 .rbac-kpi-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: #eef3ff;
    color: var(--rbac-navy);
    font-size: 1.45rem;
}
.rbac-v3 .rbac-kpi-icon-gold { background: var(--rbac-gold-soft); color: var(--rbac-gold); }
.rbac-v3 .rbac-kpi-icon-violet { background: #f2eaff; color: #6741b9; }

.rbac-v3 .rbac-kpi-card strong,
.rbac-v3 .rbac-kpi-card span,
.rbac-v3 .rbac-kpi-card small { display: block; }
.rbac-v3 .rbac-kpi-card strong { font-size: 1.65rem; line-height: 1; color: #071d32; }
.rbac-v3 .rbac-kpi-card span { margin-top: 6px; font-weight: 900; }
.rbac-v3 .rbac-kpi-card small { margin-top: 4px; color: var(--rbac-muted); font-weight: 650; }

.rbac-v3 .atenea-alert-inline {
    margin: 0 0 16px;
    border-radius: 16px;
    padding: 13px 16px;
    font-weight: 800;
    border: 1px solid var(--rbac-line);
    background: #fff;
}
.rbac-v3 .atenea-alert-success { color: #11683d; background: #ecfff5; }
.rbac-v3 .atenea-alert-error { color: #9b1c1c; background: #fff1f1; }

.rbac-v3 .rbac-commandbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
}

.rbac-v3 .rbac-tabs {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(152px, auto);
    overflow: hidden;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--rbac-line);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(8, 25, 45, .06);
}

.rbac-v3 .rbac-tabs button {
    appearance: none;
    border: 0;
    border-right: 1px solid var(--rbac-line);
    background: transparent;
    padding: 16px 24px;
    color: var(--rbac-muted);
    font-weight: 950;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.rbac-v3 .rbac-tabs button:last-child { border-right: 0; }
.rbac-v3 .rbac-tabs button.is-active {
    color: var(--rbac-gold);
    background: #fff;
    box-shadow: inset 0 -3px 0 var(--rbac-gold);
}

.rbac-v3 .rbac-command-actions,
.rbac-v3 .rbac-detail-actions,
.rbac-v3 .rbac-toolbar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.rbac-v3 .rbac-btn {
    border: 1px solid transparent;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.rbac-v3 .rbac-btn:hover { transform: translateY(-1px); }
.rbac-v3 .rbac-btn-primary {
    background: linear-gradient(180deg, #0d3b5d, var(--rbac-navy));
    color: #fff;
    box-shadow: 0 14px 24px rgba(6,36,61,.22);
}
.rbac-v3 .rbac-btn-ghost {
    background: #fff;
    color: var(--rbac-navy);
    border-color: var(--rbac-line);
}

.rbac-v3 .rbac-tab-panel { display: none; }
.rbac-v3 .rbac-tab-panel.is-active { display: block; }

.rbac-v3 .rbac-workspace {
    display: grid;
    grid-template-columns: minmax(470px, .72fr) minmax(680px, 1.28fr);
    gap: 24px;
    align-items: start;
}

.rbac-v3 .rbac-card {
    background: var(--rbac-card);
    border: 1px solid var(--rbac-line);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(8, 25, 45, .075);
}

.rbac-v3 .rbac-role-catalog,
.rbac-v3 .rbac-role-detail,
.rbac-v3 .rbac-permission-catalog,
.rbac-v3 .rbac-assignment-overview {
    padding: 22px;
}

.rbac-v3 .rbac-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}
.rbac-v3 .rbac-card-header.compact { margin-bottom: 14px; }
.rbac-v3 .rbac-card-header h2,
.rbac-v3 .rbac-role-detail h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    color: #071d32;
    letter-spacing: -.03em;
}
.rbac-v3 .rbac-card-header p,
.rbac-v3 .rbac-detail-head p,
.rbac-v3 .rbac-permission-toolbar p {
    margin: 5px 0 0;
    color: var(--rbac-muted);
    font-weight: 650;
}

.rbac-v3 .rbac-search-field,
.rbac-v3 .rbac-mini-search,
.rbac-v3 .rbac-table-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--rbac-line);
    border-radius: 15px;
    padding: 0 14px;
    min-height: 46px;
}
.rbac-v3 .rbac-search-field input,
.rbac-v3 .rbac-mini-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--rbac-ink);
    font-weight: 750;
}
.rbac-v3 .rbac-table-search { max-width: 420px; margin-bottom: 14px; }

.rbac-v3 .rbac-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 14px 0;
}
.rbac-v3 .rbac-filter-pills button {
    border: 1px solid transparent;
    background: #f0f3f6;
    color: var(--rbac-muted);
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 950;
    cursor: pointer;
}
.rbac-v3 .rbac-filter-pills button.is-selected {
    background: var(--rbac-gold-soft);
    color: #7a520a;
    border-color: rgba(185,131,23,.25);
}

.rbac-v3 .rbac-role-list {
    display: grid;
    gap: 10px;
}
.rbac-v3 .rbac-role-row {
    display: grid;
    grid-template-columns: 48px minmax(160px, 1fr) minmax(92px, .42fr) auto 48px 26px;
    gap: 12px;
    align-items: center;
    min-height: 74px;
    padding: 12px 12px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #fff;
    color: var(--rbac-ink);
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.rbac-v3 .rbac-role-row:hover,
.rbac-v3 .rbac-role-row.is-selected {
    background: linear-gradient(90deg, #fff9eb, #fff);
    border-color: rgba(185,131,23,.28);
    box-shadow: 0 12px 28px rgba(8, 25, 45, .07);
    transform: translateY(-1px);
}
.rbac-v3 .rbac-role-row.is-selected { box-shadow: inset 4px 0 0 var(--rbac-gold), 0 14px 30px rgba(8, 25, 45, .08); }
.rbac-v3 .rbac-role-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--rbac-gold-soft);
    color: var(--rbac-gold);
    font-size: 1.2rem;
}
.rbac-v3 .rbac-role-copy strong,
.rbac-v3 .rbac-role-copy small { display: block; }
.rbac-v3 .rbac-role-copy strong { font-weight: 950; color: #071d32; }
.rbac-v3 .rbac-role-copy small { color: var(--rbac-muted); font-weight: 650; margin-top: 3px; line-height: 1.25; }
.rbac-v3 .rbac-role-row code,
.rbac-v3 .rbac-permission-table code {
    font-family: Consolas, 'SFMono-Regular', monospace;
    font-size: .88rem;
    color: var(--rbac-navy);
    background: #f4f7fa;
    padding: 4px 7px;
    border-radius: 8px;
    white-space: nowrap;
}
.rbac-v3 .rbac-count-pill,
.rbac-v3 .atenea-page-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    background: #eef3f7;
    color: var(--rbac-navy);
    font-weight: 950;
}
.rbac-v3 .rbac-row-menu { color: var(--rbac-muted); font-size: 1.1rem; }
.rbac-v3 .rbac-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: var(--rbac-muted);
    font-weight: 800;
}

.rbac-v3 .atenea-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    min-height: 30px;
    padding: 0 13px;
    font-weight: 950;
    white-space: nowrap;
}
.rbac-v3 .atenea-status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}
.rbac-v3 .atenea-status-badge.is-active { background: #e4f7ec; color: var(--rbac-green); }
.rbac-v3 .atenea-status-badge.is-inactive { background: #f1f3f5; color: #6c7480; }

.rbac-v3 .rbac-detail-head {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}
.rbac-v3 .rbac-detail-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--rbac-gold-soft);
    color: var(--rbac-gold);
    font-size: 1.55rem;
}
.rbac-v3 .rbac-title-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.rbac-v3 .rbac-soft-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--rbac-muted);
    font-weight: 900;
}

.rbac-v3 .rbac-detail-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--rbac-line);
    margin: 8px 0 16px;
}
.rbac-v3 .rbac-detail-tabs span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--rbac-muted);
    font-weight: 900;
    border-bottom: 3px solid transparent;
}
.rbac-v3 .rbac-detail-tabs span.is-active {
    color: var(--rbac-gold);
    border-bottom-color: var(--rbac-gold);
}

.rbac-v3 .rbac-role-summary {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.rbac-v3 .rbac-role-summary article {
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--rbac-line);
    border-radius: 16px;
    background: #fff;
}
.rbac-v3 .rbac-role-summary span { display: block; color: var(--rbac-muted); font-weight: 800; font-size: .9rem; }
.rbac-v3 .rbac-role-summary strong { display: block; margin-top: 7px; color: #071d32; font-weight: 950; }
.rbac-v3 .rbac-role-summary i,
.rbac-v3 .rbac-assignment-card i {
    display: block;
    height: 6px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rbac-gold) var(--rbac-progress), #e8edf2 var(--rbac-progress));
}

.rbac-v3 .rbac-permission-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin: 4px 0 14px;
}
.rbac-v3 .rbac-permission-toolbar h3 { margin: 0; color: #071d32; font-size: 1.05rem; }
.rbac-v3 .rbac-mini-search { min-width: 230px; }
.rbac-v3 .rbac-unsaved-indicator {
    margin: 0 0 12px;
    border: 1px solid rgba(185,131,23,.24);
    background: var(--rbac-gold-soft);
    color: #7a520a;
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 900;
}

.rbac-v3 .rbac-permission-groups {
    display: grid;
    gap: 11px;
    max-height: min(58vh, 680px);
    overflow: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}
.rbac-v3 .rbac-permission-group {
    border: 1px solid var(--rbac-line);
    border-radius: 17px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .16s ease, border-color .16s ease;
}
.rbac-v3 .rbac-permission-group:hover { border-color: rgba(185,131,23,.25); box-shadow: 0 10px 26px rgba(8,25,45,.055); }
.rbac-v3 .rbac-permission-group-header {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto 22px;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
}
.rbac-v3 .rbac-permission-group-header > button:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    padding: 0;
    text-align: left;
    background: transparent;
    cursor: pointer;
}
.rbac-v3 .rbac-module-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: #eef3ff;
    color: var(--rbac-navy);
    font-weight: 900;
}
.rbac-v3 .rbac-permission-group:nth-child(2n) .rbac-module-icon { background: var(--rbac-gold-soft); color: var(--rbac-gold); }
.rbac-v3 .rbac-permission-group:nth-child(3n) .rbac-module-icon { background: #eefbf7; color: #0d7d57; }
.rbac-v3 .rbac-permission-group-header strong,
.rbac-v3 .rbac-permission-group-header small { display: block; }
.rbac-v3 .rbac-permission-group-header strong { color: #071d32; font-weight: 950; }
.rbac-v3 .rbac-permission-group-header small { color: var(--rbac-muted); font-weight: 650; margin-top: 2px; }
.rbac-v3 .rbac-module-counter {
    background: #f4f7fa;
    color: var(--rbac-navy);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 950;
    white-space: nowrap;
}
.rbac-v3 .rbac-module-select {
    border: 0;
    background: #e7f7ef;
    color: #147a49;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 950;
    cursor: pointer;
    white-space: nowrap;
}
.rbac-v3 .rbac-permission-group:not(.is-complete) .rbac-module-select { background: var(--rbac-gold-soft); color: #7a520a; }
.rbac-v3 .rbac-chevron { color: var(--rbac-muted); transform: rotate(0deg); transition: transform .16s ease; }
.rbac-v3 .rbac-permission-group.is-collapsed .rbac-chevron { transform: rotate(-90deg); }
.rbac-v3 .rbac-permission-group.is-collapsed .rbac-permission-list { display: none; }

.rbac-v3 .rbac-permission-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 14px 14px;
}
.rbac-v3 .rbac-permission-check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 60px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: var(--rbac-soft);
    cursor: pointer;
}
.rbac-v3 .rbac-permission-check:hover { border-color: rgba(185,131,23,.22); background: #fffaf0; }
.rbac-v3 .rbac-permission-check input { accent-color: var(--rbac-gold); margin-top: 3px; }
.rbac-v3 .rbac-permission-check strong,
.rbac-v3 .rbac-permission-check small { display: block; }
.rbac-v3 .rbac-permission-check strong {
    font-family: Consolas, 'SFMono-Regular', monospace;
    font-size: .88rem;
    color: #071d32;
}
.rbac-v3 .rbac-permission-check small { margin-top: 4px; color: var(--rbac-muted); font-weight: 650; }

.rbac-v3 .rbac-save-bar {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--rbac-line);
    border-radius: 17px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 -12px 26px rgba(8,25,45,.06);
    font-weight: 800;
}

.rbac-v3 .rbac-table-wrap { overflow-x: auto; border: 1px solid var(--rbac-line); border-radius: 18px; background: #fff; }
.rbac-v3 .rbac-permission-table { width: 100%; border-collapse: collapse; min-width: 920px; }
.rbac-v3 .rbac-permission-table th,
.rbac-v3 .rbac-permission-table td { padding: 16px 18px; border-bottom: 1px solid var(--rbac-line); text-align: left; }
.rbac-v3 .rbac-permission-table th { background: #f5efe4; color: #071d32; font-weight: 950; }
.rbac-v3 .rbac-permission-table tr:last-child td { border-bottom: 0; }

.rbac-v3 .rbac-assignment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rbac-v3 .rbac-assignment-card {
    display: block;
    text-decoration: none;
    color: var(--rbac-ink);
    background: #fff;
    border: 1px solid var(--rbac-line);
    border-radius: 18px;
    padding: 18px;
}
.rbac-v3 .rbac-assignment-card strong,
.rbac-v3 .rbac-assignment-card span,
.rbac-v3 .rbac-assignment-card small { display: block; }
.rbac-v3 .rbac-assignment-card strong { color: #071d32; font-weight: 950; }
.rbac-v3 .rbac-assignment-card span { margin-top: 5px; color: var(--rbac-navy); font-family: Consolas, monospace; }
.rbac-v3 .rbac-assignment-card small { margin-top: 8px; color: var(--rbac-muted); font-weight: 800; }

.rbac-v3 .rbac-empty-state {
    border: 1px dashed rgba(16,36,58,.18);
    background: #fff;
    color: var(--rbac-muted);
    border-radius: 16px;
    padding: 18px;
    font-weight: 850;
}

.rbac-v3 .rbac-dialog {
    width: min(560px, calc(100vw - 36px));
    padding: 0;
    border: 1px solid var(--rbac-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(4,18,33,.32);
}
.rbac-v3 .rbac-dialog-wide { width: min(860px, calc(100vw - 36px)); }
.rbac-v3 .rbac-dialog::backdrop { background: rgba(3,18,32,.48); backdrop-filter: blur(4px); }
.rbac-v3 .rbac-dialog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--rbac-line);
}
.rbac-v3 .rbac-dialog-head strong,
.rbac-v3 .rbac-dialog-head span { display: block; }
.rbac-v3 .rbac-dialog-head strong { font-family: Georgia, serif; font-size: 1.45rem; color: #071d32; }
.rbac-v3 .rbac-dialog-head span { margin-top: 4px; color: var(--rbac-muted); font-weight: 700; }
.rbac-v3 .rbac-dialog-head button {
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #f2f4f7;
    color: var(--rbac-navy);
    font-size: 1.35rem;
    cursor: pointer;
}
.rbac-v3 .rbac-inline-form {
    display: grid;
    gap: 14px;
    padding: 22px;
}
.rbac-v3 .rbac-inline-form-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rbac-v3 .rbac-inline-form label { display: grid; gap: 7px; color: #071d32; font-weight: 950; }
.rbac-v3 .rbac-inline-form input {
    min-height: 46px;
    border: 1px solid var(--rbac-line);
    border-radius: 13px;
    padding: 0 13px;
    font-weight: 750;
    outline: 0;
}
.rbac-v3 .rbac-inline-form button[type='submit'] { justify-self: start; }
.rbac-v3 .rbac-inline-form-wide button[type='submit'] { grid-column: 1 / -1; }

@media (max-width: 1480px) {
    .atenea-rbac-page.rbac-v3 { padding-left: 28px; padding-right: 28px; }
    .rbac-v3 .rbac-workspace { grid-template-columns: 430px minmax(0, 1fr); }
    .rbac-v3 .rbac-role-row { grid-template-columns: 44px minmax(145px, 1fr) 84px auto 42px; }
    .rbac-v3 .rbac-row-menu { display: none; }
    .rbac-v3 .rbac-permission-list { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
    .rbac-v3 .rbac-hero,
    .rbac-v3 .rbac-workspace,
    .rbac-v3 .rbac-permission-toolbar { grid-template-columns: 1fr; }
    .rbac-v3 .rbac-detail-head { grid-template-columns: 56px 1fr; }
    .rbac-v3 .rbac-detail-actions { grid-column: 1 / -1; }
    .rbac-v3 .rbac-role-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rbac-v3 .rbac-assignment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .atenea-rbac-page.rbac-v3 { padding: 22px 16px 44px; }
    .rbac-v3 .rbac-kpi-row,
    .rbac-v3 .rbac-role-summary,
    .rbac-v3 .rbac-assignment-grid { grid-template-columns: 1fr; }
    .rbac-v3 .rbac-commandbar { align-items: stretch; flex-direction: column; }
    .rbac-v3 .rbac-tabs { grid-auto-flow: row; grid-auto-columns: 1fr; width: 100%; }
    .rbac-v3 .rbac-tabs button { border-right: 0; border-bottom: 1px solid var(--rbac-line); }
    .rbac-v3 .rbac-command-actions { width: 100%; }
    .rbac-v3 .rbac-command-actions .rbac-btn { flex: 1; }
    .rbac-v3 .rbac-role-row { grid-template-columns: 42px 1fr; }
    .rbac-v3 .rbac-role-row code,
    .rbac-v3 .rbac-role-row .atenea-status-badge,
    .rbac-v3 .rbac-count-pill { grid-column: 2; justify-self: start; }
    .rbac-v3 .rbac-permission-group-header { grid-template-columns: 1fr; }
    .rbac-v3 .rbac-save-bar { flex-direction: column; align-items: stretch; }
    .rbac-v3 .rbac-inline-form-wide { grid-template-columns: 1fr; }
}
/* === ATENEA RBAC FINAL V3 END === */

/* === ATENEA RBAC CSP SAFE PROGRESS START === */
.rbac-v3 .rbac-progress-fill { --rbac-progress: 0%; }
.rbac-v3 .rbac-progress-0 { --rbac-progress: 0%; }
.rbac-v3 .rbac-progress-1 { --rbac-progress: 1%; }
.rbac-v3 .rbac-progress-2 { --rbac-progress: 2%; }
.rbac-v3 .rbac-progress-3 { --rbac-progress: 3%; }
.rbac-v3 .rbac-progress-4 { --rbac-progress: 4%; }
.rbac-v3 .rbac-progress-5 { --rbac-progress: 5%; }
.rbac-v3 .rbac-progress-6 { --rbac-progress: 6%; }
.rbac-v3 .rbac-progress-7 { --rbac-progress: 7%; }
.rbac-v3 .rbac-progress-8 { --rbac-progress: 8%; }
.rbac-v3 .rbac-progress-9 { --rbac-progress: 9%; }
.rbac-v3 .rbac-progress-10 { --rbac-progress: 10%; }
.rbac-v3 .rbac-progress-11 { --rbac-progress: 11%; }
.rbac-v3 .rbac-progress-12 { --rbac-progress: 12%; }
.rbac-v3 .rbac-progress-13 { --rbac-progress: 13%; }
.rbac-v3 .rbac-progress-14 { --rbac-progress: 14%; }
.rbac-v3 .rbac-progress-15 { --rbac-progress: 15%; }
.rbac-v3 .rbac-progress-16 { --rbac-progress: 16%; }
.rbac-v3 .rbac-progress-17 { --rbac-progress: 17%; }
.rbac-v3 .rbac-progress-18 { --rbac-progress: 18%; }
.rbac-v3 .rbac-progress-19 { --rbac-progress: 19%; }
.rbac-v3 .rbac-progress-20 { --rbac-progress: 20%; }
.rbac-v3 .rbac-progress-21 { --rbac-progress: 21%; }
.rbac-v3 .rbac-progress-22 { --rbac-progress: 22%; }
.rbac-v3 .rbac-progress-23 { --rbac-progress: 23%; }
.rbac-v3 .rbac-progress-24 { --rbac-progress: 24%; }
.rbac-v3 .rbac-progress-25 { --rbac-progress: 25%; }
.rbac-v3 .rbac-progress-26 { --rbac-progress: 26%; }
.rbac-v3 .rbac-progress-27 { --rbac-progress: 27%; }
.rbac-v3 .rbac-progress-28 { --rbac-progress: 28%; }
.rbac-v3 .rbac-progress-29 { --rbac-progress: 29%; }
.rbac-v3 .rbac-progress-30 { --rbac-progress: 30%; }
.rbac-v3 .rbac-progress-31 { --rbac-progress: 31%; }
.rbac-v3 .rbac-progress-32 { --rbac-progress: 32%; }
.rbac-v3 .rbac-progress-33 { --rbac-progress: 33%; }
.rbac-v3 .rbac-progress-34 { --rbac-progress: 34%; }
.rbac-v3 .rbac-progress-35 { --rbac-progress: 35%; }
.rbac-v3 .rbac-progress-36 { --rbac-progress: 36%; }
.rbac-v3 .rbac-progress-37 { --rbac-progress: 37%; }
.rbac-v3 .rbac-progress-38 { --rbac-progress: 38%; }
.rbac-v3 .rbac-progress-39 { --rbac-progress: 39%; }
.rbac-v3 .rbac-progress-40 { --rbac-progress: 40%; }
.rbac-v3 .rbac-progress-41 { --rbac-progress: 41%; }
.rbac-v3 .rbac-progress-42 { --rbac-progress: 42%; }
.rbac-v3 .rbac-progress-43 { --rbac-progress: 43%; }
.rbac-v3 .rbac-progress-44 { --rbac-progress: 44%; }
.rbac-v3 .rbac-progress-45 { --rbac-progress: 45%; }
.rbac-v3 .rbac-progress-46 { --rbac-progress: 46%; }
.rbac-v3 .rbac-progress-47 { --rbac-progress: 47%; }
.rbac-v3 .rbac-progress-48 { --rbac-progress: 48%; }
.rbac-v3 .rbac-progress-49 { --rbac-progress: 49%; }
.rbac-v3 .rbac-progress-50 { --rbac-progress: 50%; }
.rbac-v3 .rbac-progress-51 { --rbac-progress: 51%; }
.rbac-v3 .rbac-progress-52 { --rbac-progress: 52%; }
.rbac-v3 .rbac-progress-53 { --rbac-progress: 53%; }
.rbac-v3 .rbac-progress-54 { --rbac-progress: 54%; }
.rbac-v3 .rbac-progress-55 { --rbac-progress: 55%; }
.rbac-v3 .rbac-progress-56 { --rbac-progress: 56%; }
.rbac-v3 .rbac-progress-57 { --rbac-progress: 57%; }
.rbac-v3 .rbac-progress-58 { --rbac-progress: 58%; }
.rbac-v3 .rbac-progress-59 { --rbac-progress: 59%; }
.rbac-v3 .rbac-progress-60 { --rbac-progress: 60%; }
.rbac-v3 .rbac-progress-61 { --rbac-progress: 61%; }
.rbac-v3 .rbac-progress-62 { --rbac-progress: 62%; }
.rbac-v3 .rbac-progress-63 { --rbac-progress: 63%; }
.rbac-v3 .rbac-progress-64 { --rbac-progress: 64%; }
.rbac-v3 .rbac-progress-65 { --rbac-progress: 65%; }
.rbac-v3 .rbac-progress-66 { --rbac-progress: 66%; }
.rbac-v3 .rbac-progress-67 { --rbac-progress: 67%; }
.rbac-v3 .rbac-progress-68 { --rbac-progress: 68%; }
.rbac-v3 .rbac-progress-69 { --rbac-progress: 69%; }
.rbac-v3 .rbac-progress-70 { --rbac-progress: 70%; }
.rbac-v3 .rbac-progress-71 { --rbac-progress: 71%; }
.rbac-v3 .rbac-progress-72 { --rbac-progress: 72%; }
.rbac-v3 .rbac-progress-73 { --rbac-progress: 73%; }
.rbac-v3 .rbac-progress-74 { --rbac-progress: 74%; }
.rbac-v3 .rbac-progress-75 { --rbac-progress: 75%; }
.rbac-v3 .rbac-progress-76 { --rbac-progress: 76%; }
.rbac-v3 .rbac-progress-77 { --rbac-progress: 77%; }
.rbac-v3 .rbac-progress-78 { --rbac-progress: 78%; }
.rbac-v3 .rbac-progress-79 { --rbac-progress: 79%; }
.rbac-v3 .rbac-progress-80 { --rbac-progress: 80%; }
.rbac-v3 .rbac-progress-81 { --rbac-progress: 81%; }
.rbac-v3 .rbac-progress-82 { --rbac-progress: 82%; }
.rbac-v3 .rbac-progress-83 { --rbac-progress: 83%; }
.rbac-v3 .rbac-progress-84 { --rbac-progress: 84%; }
.rbac-v3 .rbac-progress-85 { --rbac-progress: 85%; }
.rbac-v3 .rbac-progress-86 { --rbac-progress: 86%; }
.rbac-v3 .rbac-progress-87 { --rbac-progress: 87%; }
.rbac-v3 .rbac-progress-88 { --rbac-progress: 88%; }
.rbac-v3 .rbac-progress-89 { --rbac-progress: 89%; }
.rbac-v3 .rbac-progress-90 { --rbac-progress: 90%; }
.rbac-v3 .rbac-progress-91 { --rbac-progress: 91%; }
.rbac-v3 .rbac-progress-92 { --rbac-progress: 92%; }
.rbac-v3 .rbac-progress-93 { --rbac-progress: 93%; }
.rbac-v3 .rbac-progress-94 { --rbac-progress: 94%; }
.rbac-v3 .rbac-progress-95 { --rbac-progress: 95%; }
.rbac-v3 .rbac-progress-96 { --rbac-progress: 96%; }
.rbac-v3 .rbac-progress-97 { --rbac-progress: 97%; }
.rbac-v3 .rbac-progress-98 { --rbac-progress: 98%; }
.rbac-v3 .rbac-progress-99 { --rbac-progress: 99%; }
.rbac-v3 .rbac-progress-100 { --rbac-progress: 100%; }
/* === ATENEA RBAC CSP SAFE PROGRESS END === */
/* === ATENEA RBAC VISUAL POLISH V4 START === */
.atenea-rbac-page.rbac-v3 {
    max-width: 1680px;
    padding: 30px 32px 82px;
}

.rbac-v3 .rbac-hero {
    margin-bottom: 18px;
}

.rbac-v3 .rbac-commandbar {
    position: sticky;
    top: 78px;
    z-index: 8;
    padding: 10px 0 12px;
    background: linear-gradient(180deg, rgba(248,247,242,.98), rgba(248,247,242,.82));
    backdrop-filter: blur(10px);
}

.rbac-v3 .rbac-workspace {
    grid-template-columns: minmax(360px, 410px) minmax(0, 1fr);
    gap: 22px;
}

.rbac-v3 .rbac-role-catalog {
    position: sticky;
    top: 156px;
    max-height: calc(100vh - 178px);
    overflow: auto;
    scrollbar-width: thin;
}

.rbac-v3 .rbac-role-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    min-height: 78px;
    padding: 12px;
    overflow: hidden;
}

.rbac-v3 .rbac-role-row:hover,
.rbac-v3 .rbac-role-row.is-selected {
    transform: none;
}

.rbac-v3 .rbac-role-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.rbac-v3 .rbac-role-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.rbac-v3 .rbac-role-copy strong,
.rbac-v3 .rbac-role-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.rbac-v3 .rbac-role-copy strong {
    white-space: nowrap;
}

.rbac-v3 .rbac-role-copy small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rbac-v3 .rbac-role-row code {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rbac-v3 .rbac-role-row .atenea-status-badge {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.rbac-v3 .rbac-role-row .rbac-count-pill {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    height: 30px;
    min-width: 36px;
}

.rbac-v3 .rbac-row-menu {
    display: none;
}

.rbac-v3 .rbac-detail-head {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: start;
}

.rbac-v3 .rbac-detail-actions {
    justify-content: flex-end;
}

.rbac-v3 .rbac-role-summary {
    grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(140px, 1fr));
}

.rbac-v3 .rbac-role-summary article {
    min-height: 74px;
}

.rbac-v3 .rbac-permission-toolbar {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
}

.rbac-v3 .rbac-toolbar-actions {
    justify-content: flex-start;
}

.rbac-v3 .rbac-mini-search {
    flex: 1 1 300px;
    max-width: 460px;
    min-width: 260px;
}

.rbac-v3 .rbac-permission-groups {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    padding-bottom: 2px;
}

.rbac-v3 .rbac-permission-group-header {
    grid-template-columns: minmax(0, 1fr) auto auto 18px;
    gap: 10px;
    padding: 12px;
}

.rbac-v3 .rbac-permission-group-header > button:first-child {
    min-width: 0;
}

.rbac-v3 .rbac-permission-group-header small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.rbac-v3 .rbac-module-select {
    min-width: 106px;
    padding-inline: 10px;
}

.rbac-v3 .rbac-save-bar {
    position: static;
    z-index: auto;
    margin-top: 18px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(8,25,45,.075);
}

.rbac-v3 .rbac-dialog-head button,
.rbac-v3 .rbac-module-select,
.rbac-v3 .rbac-btn,
.rbac-v3 .rbac-tabs button,
.rbac-v3 .rbac-filter-pills button,
.rbac-v3 [data-rbac-toggle-group] {
    font-family: inherit;
}

@media (max-width: 1480px) {
    .rbac-v3 .rbac-workspace {
        grid-template-columns: minmax(340px, 390px) minmax(0, 1fr);
    }
    .rbac-v3 .rbac-role-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rbac-v3 .rbac-detail-head {
        grid-template-columns: 54px minmax(0, 1fr);
    }
    .rbac-v3 .rbac-detail-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 1180px) {
    .rbac-v3 .rbac-commandbar,
    .rbac-v3 .rbac-role-catalog {
        position: static;
        top: auto;
        max-height: none;
    }
    .rbac-v3 .rbac-workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .atenea-rbac-page.rbac-v3 {
        padding: 20px 14px 52px;
    }
    .rbac-v3 .rbac-permission-group-header {
        grid-template-columns: 1fr auto;
    }
    .rbac-v3 .rbac-module-counter,
    .rbac-v3 .rbac-module-select,
    .rbac-v3 .rbac-chevron {
        grid-column: auto;
    }
}
/* === ATENEA RBAC VISUAL POLISH V4 END === */

/* === ATENEA RBAC ICONS V7 START === */
.rbac-svg {
    display: block;
    width: 1.08em;
    height: 1.08em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rbac-kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b2a44;
}

.rbac-kpi-icon .rbac-svg {
    width: 30px;
    height: 30px;
}

.rbac-kpi-icon-gold {
    color: #b98710;
}

.rbac-kpi-icon-violet {
    color: #6b3fd1;
}

.rbac-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}

.rbac-tabs button .rbac-svg {
    width: 18px;
    height: 18px;
}

.rbac-role-icon .rbac-svg,
.rbac-detail-icon .rbac-svg,
.rbac-module-icon .rbac-svg {
    width: 24px;
    height: 24px;
}

.rbac-search-field > span,
.rbac-mini-search > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rbac-search-field .rbac-svg,
.rbac-mini-search .rbac-svg {
    width: 18px;
    height: 18px;
    opacity: .85;
}

.rbac-chevron .rbac-svg {
    width: 18px;
    height: 18px;
    transition: transform .18s ease;
}

.rbac-permission-group:not(.is-collapsed) .rbac-chevron .rbac-svg {
    transform: rotate(180deg);
}

.rbac-row-menu .rbac-svg {
    width: 18px;
    height: 18px;
    opacity: .72;
}
/* === ATENEA RBAC ICONS V7 END === */

/* === ATENEA PERMISSION BUILDER V2 START === */
.rbac-permission-builder-dialog {
    width: min(1060px, calc(100vw - 42px));
    max-width: min(1060px, calc(100vw - 42px));
    max-height: calc(100vh - 74px);
    overflow: auto;
}

.rbac-builder-head {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
}

.rbac-builder-head .rbac-dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #f3f6f9;
    color: #09233a;
    font-size: 1.85rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(9,35,58,.12);
}

.rbac-builder-head .rbac-dialog-close:hover {
    background: #e9eef4;
}

.rbac-permission-builder {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.15rem !important;
    padding: 1.35rem 1.55rem 1.55rem !important;
}

.rbac-permission-builder > * {
    width: 100%;
    min-width: 0;
}

.rbac-builder-intro {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(184, 134, 11, .22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 248, 230, .94), rgba(255, 255, 255, .9));
    color: #09233a;
}

.rbac-builder-intro strong {
    font-size: 1.08rem;
    color: #09233a;
}

.rbac-builder-intro span {
    color: #687789;
    font-weight: 800;
    line-height: 1.45;
}

.rbac-builder-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.rbac-builder-field,
.rbac-builder-generated-grid label {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 0;
}

.rbac-builder-field > span,
.rbac-builder-generated-grid label > span {
    color: #09233a;
    font-size: .98rem;
    font-weight: 900;
}

.rbac-builder-field select,
.rbac-builder-field input,
.rbac-builder-generated-grid input {
    width: 100%;
    min-height: 52px;
    padding: 0 1rem;
    border: 1px solid rgba(9, 35, 58, .14);
    border-radius: 16px;
    background: #fff;
    color: #09233a;
    font: inherit;
    font-weight: 800;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rbac-builder-field select {
    cursor: pointer;
}

.rbac-builder-field select:focus,
.rbac-builder-field input:focus,
.rbac-builder-generated-grid input:focus {
    border-color: rgba(184, 134, 11, .58);
    box-shadow: 0 0 0 4px rgba(184, 134, 11, .12);
}

.rbac-builder-field input.is-hidden {
    display: none;
}

.rbac-builder-preview {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) 1.15fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(9, 35, 58, .10);
    border-radius: 20px;
    background: #f8fafc;
}

.rbac-builder-code-card,
.rbac-builder-description-card {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
    padding: 1rem;
    border-radius: 17px;
    background: #fff;
    border: 1px solid rgba(9, 35, 58, .08);
}

.rbac-builder-preview span {
    color: #687789;
    font-weight: 900;
}

.rbac-builder-preview strong {
    color: #09233a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .98rem;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.rbac-builder-preview p {
    margin: 0;
    color: #687789;
    font-weight: 800;
    line-height: 1.5;
}

.rbac-builder-generated-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rbac-builder-full {
    grid-column: 1 / -1;
}

.rbac-builder-options {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.rbac-builder-options label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .62rem .85rem;
    border: 1px solid rgba(9, 35, 58, .10);
    border-radius: 999px;
    background: #fff;
    color: #23384f;
    font-weight: 900;
}

.rbac-builder-warning {
    margin: 0;
    padding: .82rem 1rem;
    border-radius: 16px;
    background: #fff3cd;
    color: #7a5200;
    border: 1px solid rgba(184, 134, 11, .30);
    font-weight: 900;
}

.rbac-builder-warning.is-hidden {
    display: none;
}

.rbac-builder-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: .1rem;
}

.rbac-btn[disabled] {
    opacity: .48;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 980px) {
    .rbac-permission-builder-dialog {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }

    .rbac-builder-steps,
    .rbac-builder-generated-grid,
    .rbac-builder-preview {
        grid-template-columns: 1fr;
    }
}
/* === ATENEA PERMISSION BUILDER V2 END === */

/* === ATENEA ROLE BUILDER V1 START === */
.rbac-role-builder-dialog {
    width: min(820px, calc(100vw - 42px));
    max-width: min(820px, calc(100vw - 42px));
    max-height: calc(100vh - 74px);
    overflow: auto;
}

.rbac-role-builder-head {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
}

.rbac-role-builder-head .rbac-dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #f3f6f9;
    color: #09233a;
    font-size: 1.85rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(9,35,58,.12);
}

.rbac-role-builder {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.15rem !important;
    padding: 1.35rem 1.55rem 1.55rem !important;
}

.rbac-role-builder-intro {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(184, 134, 11, .22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 248, 230, .94), rgba(255, 255, 255, .9));
    color: #09233a;
}

.rbac-role-builder-intro strong {
    font-size: 1.08rem;
    color: #09233a;
}

.rbac-role-builder-intro span {
    color: #687789;
    font-weight: 800;
    line-height: 1.45;
}

.rbac-role-builder-grid,
.rbac-role-generated-grid,
.rbac-role-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rbac-role-builder-field,
.rbac-role-generated-grid label {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 0;
}

.rbac-role-builder-field > span,
.rbac-role-generated-grid label > span,
.rbac-role-preview span {
    color: #09233a;
    font-size: .98rem;
    font-weight: 900;
}

.rbac-role-builder-field select,
.rbac-role-builder-field input,
.rbac-role-generated-grid input {
    width: 100%;
    min-height: 52px;
    padding: 0 1rem;
    border: 1px solid rgba(9, 35, 58, .14);
    border-radius: 16px;
    background: #fff;
    color: #09233a;
    font: inherit;
    font-weight: 800;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rbac-role-builder-field select:focus,
.rbac-role-builder-field input:focus,
.rbac-role-generated-grid input:focus {
    border-color: rgba(184, 134, 11, .58);
    box-shadow: 0 0 0 4px rgba(184, 134, 11, .12);
}

.rbac-role-builder-field input.is-hidden {
    display: none;
}

.rbac-role-preview {
    padding: 1rem;
    border: 1px solid rgba(9, 35, 58, .10);
    border-radius: 20px;
    background: #f8fafc;
}

.rbac-role-preview > div {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
    padding: 1rem;
    border-radius: 17px;
    background: #fff;
    border: 1px solid rgba(9, 35, 58, .08);
}

.rbac-role-preview strong {
    color: #09233a;
    font-size: 1.04rem;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.rbac-role-builder-full {
    grid-column: 1 / -1;
}

.rbac-role-builder-options {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.rbac-role-builder-options label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .62rem .85rem;
    border: 1px solid rgba(9, 35, 58, .10);
    border-radius: 999px;
    background: #fff;
    color: #23384f;
    font-weight: 900;
}

.rbac-role-builder-warning {
    margin: 0;
    padding: .82rem 1rem;
    border-radius: 16px;
    background: #fff3cd;
    color: #7a5200;
    border: 1px solid rgba(184, 134, 11, .30);
    font-weight: 900;
}

.rbac-role-builder-warning.is-hidden {
    display: none;
}

.rbac-role-builder-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 820px) {
    .rbac-role-builder-dialog {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }

    .rbac-role-builder-grid,
    .rbac-role-generated-grid,
    .rbac-role-preview {
        grid-template-columns: 1fr;
    }
}
/* === ATENEA ROLE BUILDER V1 END === */

/* === ATENEA DASHBOARD MODERN V1 START === */
.atenea-dashboard-modern {
    --dash-card: rgba(255, 255, 255, .94);
    --dash-navy: #09233a;
    --dash-muted: #687789;
    --dash-gold: #b8860b;
    --dash-soft: #f8fafc;
}

.atenea-dashboard-modern .rbac-hero {
    margin-bottom: 1rem;
}

.dashboard-hero-modern .rbac-hero-main {
    max-width: 760px;
}

.dashboard-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.dashboard-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(9, 35, 58, .08);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #23384f;
    font-weight: 850;
}

.dashboard-hero-meta .rbac-svg {
    width: 17px;
    height: 17px;
    color: var(--dash-gold);
}

.dashboard-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.dashboard-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.35rem;
    border: 1px solid rgba(9, 35, 58, .12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.88);
    color: var(--dash-muted);
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.dashboard-tabs-modern a.is-active {
    color: var(--dash-gold);
    border-bottom-color: var(--dash-gold);
    box-shadow: inset 0 -3px 0 var(--dash-gold), 0 16px 30px rgba(9,35,58,.08);
}

.dashboard-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.dashboard-filter-workspace {
    display: block !important;
    margin-bottom: 1.25rem;
}

.dashboard-filter-card {
    padding: 1.1rem 1.2rem;
}

.dashboard-filter-form-modern {
    display: grid;
    grid-template-columns: minmax(210px, 1.3fr) repeat(2, minmax(170px, 1fr)) auto;
    gap: .8rem;
    align-items: end;
}

.dashboard-filter-form-modern label {
    display: grid;
    gap: .45rem;
    color: var(--dash-navy);
    font-weight: 900;
}

.dashboard-filter-form-modern select,
.dashboard-filter-form-modern input {
    min-height: 50px;
    padding: 0 .95rem;
    border: 1px solid rgba(9, 35, 58, .14);
    border-radius: 15px;
    background: #fff;
    color: var(--dash-navy);
    font: inherit;
    font-weight: 800;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 1.1rem;
    margin-bottom: 1.25rem;
}

.dashboard-summary-card,
.dashboard-chart-card,
.dashboard-tracking-card {
    padding: 1.2rem;
}

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

.dashboard-metric-list div,
.dashboard-time-grid div {
    padding: 1rem;
    border-radius: 18px;
    background: var(--dash-soft);
    border: 1px solid rgba(9, 35, 58, .08);
}

.dashboard-metric-list span,
.dashboard-time-grid span {
    display: block;
    color: var(--dash-muted);
    font-weight: 900;
}

.dashboard-metric-list strong,
.dashboard-time-grid strong {
    display: block;
    margin-top: .3rem;
    color: var(--dash-navy);
    font-size: 1.45rem;
    line-height: 1;
}

.dashboard-time-grid {
    display: grid;
    gap: .8rem;
}

.dashboard-analytics-workspace {
    display: block !important;
    margin-bottom: 1.25rem;
}

.dashboard-muted {
    color: var(--dash-muted);
    font-weight: 750;
    margin: .25rem 0 0;
}

.dashboard-chart-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-chart-host {
    display: grid;
    gap: .75rem;
    min-height: 180px;
}

.dashboard-chart-row,
.dashboard-bar-row {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(140px, 1.2fr) auto;
    gap: .75rem;
    align-items: center;
}

.dashboard-chart-row span,
.dashboard-bar-row span {
    color: #23384f;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-track,
.dashboard-chart-track,
.metric-bar {
    position: relative;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef5;
}

.dashboard-track i,
.dashboard-chart-track i,
.metric-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #b8860b, #d7a32a);
}

.dashboard-chart-row strong,
.dashboard-bar-row strong {
    color: var(--dash-navy);
    font-weight: 950;
}

.chart-empty,
.dashboard-empty {
    margin: 0;
    padding: 1rem;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--dash-muted);
    font-weight: 850;
}

.dashboard-tracking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.dashboard-bar-list,
.dashboard-ticket-list {
    display: grid;
    gap: .75rem;
}

.dashboard-ticket-list article {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(9, 35, 58, .08);
    border-radius: 16px;
    background: #f8fafc;
}

.dashboard-ticket-list strong {
    color: var(--dash-navy);
    font-weight: 950;
}

.dashboard-ticket-list span {
    color: #23384f;
    font-weight: 850;
}

.dashboard-ticket-list small {
    color: var(--dash-muted);
    font-weight: 750;
}

@media (max-width: 1180px) {
    .dashboard-chart-grid-modern,
    .dashboard-main-grid,
    .dashboard-tracking-grid {
        grid-template-columns: 1fr;
    }

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

    .dashboard-filter-form-modern button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .dashboard-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dashboard-filter-form-modern,
    .dashboard-metric-list,
    .dashboard-chart-row,
    .dashboard-bar-row {
        grid-template-columns: 1fr;
    }
}

/* === ATENEA DASHBOARD PROGRESS CLASSES START === */
.dash-fill-0 { width: 0%; }
.dash-fill-1 { width: 1%; }
.dash-fill-2 { width: 2%; }
.dash-fill-3 { width: 3%; }
.dash-fill-4 { width: 4%; }
.dash-fill-5 { width: 5%; }
.dash-fill-6 { width: 6%; }
.dash-fill-7 { width: 7%; }
.dash-fill-8 { width: 8%; }
.dash-fill-9 { width: 9%; }
.dash-fill-10 { width: 10%; }
.dash-fill-11 { width: 11%; }
.dash-fill-12 { width: 12%; }
.dash-fill-13 { width: 13%; }
.dash-fill-14 { width: 14%; }
.dash-fill-15 { width: 15%; }
.dash-fill-16 { width: 16%; }
.dash-fill-17 { width: 17%; }
.dash-fill-18 { width: 18%; }
.dash-fill-19 { width: 19%; }
.dash-fill-20 { width: 20%; }
.dash-fill-21 { width: 21%; }
.dash-fill-22 { width: 22%; }
.dash-fill-23 { width: 23%; }
.dash-fill-24 { width: 24%; }
.dash-fill-25 { width: 25%; }
.dash-fill-26 { width: 26%; }
.dash-fill-27 { width: 27%; }
.dash-fill-28 { width: 28%; }
.dash-fill-29 { width: 29%; }
.dash-fill-30 { width: 30%; }
.dash-fill-31 { width: 31%; }
.dash-fill-32 { width: 32%; }
.dash-fill-33 { width: 33%; }
.dash-fill-34 { width: 34%; }
.dash-fill-35 { width: 35%; }
.dash-fill-36 { width: 36%; }
.dash-fill-37 { width: 37%; }
.dash-fill-38 { width: 38%; }
.dash-fill-39 { width: 39%; }
.dash-fill-40 { width: 40%; }
.dash-fill-41 { width: 41%; }
.dash-fill-42 { width: 42%; }
.dash-fill-43 { width: 43%; }
.dash-fill-44 { width: 44%; }
.dash-fill-45 { width: 45%; }
.dash-fill-46 { width: 46%; }
.dash-fill-47 { width: 47%; }
.dash-fill-48 { width: 48%; }
.dash-fill-49 { width: 49%; }
.dash-fill-50 { width: 50%; }
.dash-fill-51 { width: 51%; }
.dash-fill-52 { width: 52%; }
.dash-fill-53 { width: 53%; }
.dash-fill-54 { width: 54%; }
.dash-fill-55 { width: 55%; }
.dash-fill-56 { width: 56%; }
.dash-fill-57 { width: 57%; }
.dash-fill-58 { width: 58%; }
.dash-fill-59 { width: 59%; }
.dash-fill-60 { width: 60%; }
.dash-fill-61 { width: 61%; }
.dash-fill-62 { width: 62%; }
.dash-fill-63 { width: 63%; }
.dash-fill-64 { width: 64%; }
.dash-fill-65 { width: 65%; }
.dash-fill-66 { width: 66%; }
.dash-fill-67 { width: 67%; }
.dash-fill-68 { width: 68%; }
.dash-fill-69 { width: 69%; }
.dash-fill-70 { width: 70%; }
.dash-fill-71 { width: 71%; }
.dash-fill-72 { width: 72%; }
.dash-fill-73 { width: 73%; }
.dash-fill-74 { width: 74%; }
.dash-fill-75 { width: 75%; }
.dash-fill-76 { width: 76%; }
.dash-fill-77 { width: 77%; }
.dash-fill-78 { width: 78%; }
.dash-fill-79 { width: 79%; }
.dash-fill-80 { width: 80%; }
.dash-fill-81 { width: 81%; }
.dash-fill-82 { width: 82%; }
.dash-fill-83 { width: 83%; }
.dash-fill-84 { width: 84%; }
.dash-fill-85 { width: 85%; }
.dash-fill-86 { width: 86%; }
.dash-fill-87 { width: 87%; }
.dash-fill-88 { width: 88%; }
.dash-fill-89 { width: 89%; }
.dash-fill-90 { width: 90%; }
.dash-fill-91 { width: 91%; }
.dash-fill-92 { width: 92%; }
.dash-fill-93 { width: 93%; }
.dash-fill-94 { width: 94%; }
.dash-fill-95 { width: 95%; }
.dash-fill-96 { width: 96%; }
.dash-fill-97 { width: 97%; }
.dash-fill-98 { width: 98%; }
.dash-fill-99 { width: 99%; }
.dash-fill-100 { width: 100%; }
/* === ATENEA DASHBOARD PROGRESS CLASSES END === */
/* === ATENEA DASHBOARD MODERN V1 END === */

/* === ATENEA DASHBOARD SECTIONS V1 START === */
.atenea-dashboard-modern .dashboard-section:not(.is-active) {
    display: none !important;
}

.atenea-dashboard-modern .dashboard-main-grid.dashboard-section.is-active {
    display: grid;
}

.atenea-dashboard-modern .dashboard-analytics-workspace.dashboard-section.is-active {
    display: block !important;
}

.atenea-dashboard-modern .dashboard-tracking-grid.dashboard-section.is-active {
    display: grid;
}

.dashboard-tabs-modern a[aria-selected="true"] {
    color: var(--dash-gold);
    border-bottom-color: var(--dash-gold);
    box-shadow: inset 0 -3px 0 var(--dash-gold), 0 16px 30px rgba(9,35,58,.08);
}

.dashboard-tabs-modern a[aria-selected="false"] {
    color: var(--dash-muted);
}

.dashboard-section {
    scroll-margin-top: 110px;
}

.dashboard-section.is-active {
    animation: dashboardSectionIn .18s ease-out;
}

@keyframes dashboardSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* === ATENEA DASHBOARD SECTIONS V1 END === */

/* === ATENEA USERS MODERN V1 START === */
.atenea-users-modern {
    --users-navy: #09233a;
    --users-muted: #687789;
    --users-gold: #b8860b;
    --users-soft: #f8fafc;
}

.users-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.users-tabs-modern a,
.users-tabs-modern button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--users-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
    cursor: pointer;
}

.users-tabs-modern a.is-active,
.users-tabs-modern a[aria-selected="true"] {
    color: var(--users-gold);
    border-bottom-color: var(--users-gold);
    box-shadow: inset 0 -3px 0 var(--users-gold), 0 16px 30px rgba(9,35,58,.08);
}

.users-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.users-filter-card {
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
}

.users-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 1fr)) auto;
    gap: .8rem;
    align-items: end;
}

.users-filter-form label,
.users-builder-form label,
.users-edit-form label,
.users-create-form label {
    display: grid;
    gap: .45rem;
    color: var(--users-navy);
    font-weight: 900;
}

.users-filter-form input,
.users-filter-form select,
.users-builder-form input,
.users-builder-form select,
.users-edit-form input,
.users-create-form input,
.users-create-form select {
    width: 100%;
    min-height: 50px;
    padding: 0 .95rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--users-navy);
    font: inherit;
    font-weight: 800;
}

.users-section:not(.is-active) {
    display: none !important;
}

.users-section.is-active {
    animation: usersSectionIn .18s ease-out;
}

@keyframes usersSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.users-workspace {
    display: grid;
    grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
    gap: 1.1rem;
    align-items: start;
}

.users-catalog-card,
.users-detail-card,
.users-assignment-card {
    padding: 1.2rem;
}

.users-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 1rem 0 .85rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--users-soft);
}

.users-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--users-gold);
}

.users-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--users-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.users-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .85rem;
}

.users-status-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--users-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.users-status-pills button.is-active {
    background: #fff8e6;
    color: var(--users-gold);
    border-color: rgba(184,134,11,.35);
}

.users-list {
    display: grid;
    gap: .75rem;
}

.users-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(125px, auto) auto;
    gap: .75rem;
    align-items: center;
    padding: .92rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.users-row.is-selected {
    border-color: rgba(184,134,11,.42);
    background: linear-gradient(135deg, rgba(255,248,230,.92), rgba(255,255,255,.96));
    box-shadow: 0 18px 34px rgba(184,134,11,.12);
}

.users-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #0b2a44;
    color: #fff;
    font-weight: 950;
    letter-spacing: .03em;
}

.users-avatar-large {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    font-size: 1.2rem;
}

.users-row-main,
.users-row-meta {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.users-row-main strong,
.users-detail-head h2 {
    color: var(--users-navy);
    font-weight: 950;
}

.users-row-main small,
.users-row-meta small,
.users-detail-head p {
    color: var(--users-muted);
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.users-row-meta {
    text-align: right;
}

.users-row-meta em,
.users-badge {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 950;
    font-size: .78rem;
}

.users-row-meta em.is-active,
.users-badge.is-active {
    background: #e8f7ef;
    color: #116b3b;
}

.users-row-meta em.is-inactive,
.users-badge.is-inactive {
    background: #f1f3f6;
    color: #607086;
}

.users-row-menu .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--users-muted);
}

.users-detail-head {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(9,35,58,.08);
}

.users-detail-head h2 {
    margin: 0;
}

.users-detail-head p {
    margin: .2rem 0 .55rem;
}

.users-detail-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin: 1rem 0;
}

.users-detail-summary div {
    padding: .9rem;
    border-radius: 16px;
    background: var(--users-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.users-detail-summary span {
    display: block;
    color: var(--users-muted);
    font-weight: 900;
}

.users-detail-summary strong {
    display: block;
    margin-top: .25rem;
    color: var(--users-navy);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.users-edit-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    align-items: end;
}

.users-toggle-form {
    margin-top: .9rem;
    display: flex;
    justify-content: flex-end;
}

.users-assignment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.users-builder-form {
    display: grid;
    gap: .9rem;
}

.users-empty,
.users-empty-state {
    padding: 1rem;
    border-radius: 16px;
    background: var(--users-soft);
    color: var(--users-muted);
    font-weight: 850;
}

.rbac-user-builder-dialog {
    width: min(980px, calc(100vw - 42px));
    max-width: min(980px, calc(100vw - 42px));
    max-height: calc(100vh - 74px);
    overflow: auto;
}

.users-dialog-head {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
}

.users-dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #f3f6f9;
    color: var(--users-navy);
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
}

.users-create-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem 1.55rem 1.55rem;
}

.users-builder-intro {
    display: grid;
    gap: .35rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
}

.users-builder-intro strong {
    color: var(--users-navy);
    font-weight: 950;
}

.users-builder-intro span,
.users-password-note {
    color: var(--users-muted);
    font-weight: 800;
    line-height: 1.45;
}

.users-create-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .95rem;
}

.users-dialog-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1180px) {
    .users-workspace,
    .users-assignment-grid,
    .users-filter-form {
        grid-template-columns: 1fr;
    }

    .users-edit-form,
    .users-detail-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .users-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .users-tabs-modern a,
    .users-tabs-modern button {
        border-radius: 16px;
    }

    .users-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .users-row-meta,
    .users-row-menu {
        grid-column: 2;
        text-align: left;
        justify-self: start;
    }

    .users-create-grid {
        grid-template-columns: 1fr;
    }
}
/* === ATENEA USERS MODERN V1 END === */

/* === ATENEA CATALOGS MODERN V1 START === */
.atenea-catalogs-modern {
    --catalogs-navy: #09233a;
    --catalogs-muted: #687789;
    --catalogs-gold: #b8860b;
    --catalogs-soft: #f8fafc;
}

.catalogs-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.catalogs-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--catalogs-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.catalogs-tabs-modern a.is-active,
.catalogs-tabs-modern a[aria-selected="true"] {
    color: var(--catalogs-gold);
    border-bottom-color: var(--catalogs-gold);
    box-shadow: inset 0 -3px 0 var(--catalogs-gold), 0 16px 30px rgba(9,35,58,.08);
}

.catalogs-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.catalogs-filter-card {
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
}

.catalogs-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .9rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--catalogs-soft);
}

.catalogs-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--catalogs-gold);
}

.catalogs-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--catalogs-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.catalogs-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .85rem;
}

.catalogs-status-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--catalogs-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.catalogs-status-pills button.is-active {
    background: #fff8e6;
    color: var(--catalogs-gold);
    border-color: rgba(184,134,11,.35);
}

.catalogs-section:not(.is-active) {
    display: none !important;
}

.catalogs-section.is-active {
    animation: catalogsSectionIn .18s ease-out;
}

@keyframes catalogsSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalogs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.catalogs-grid-single {
    grid-template-columns: 1fr;
}

.catalogs-panel {
    padding: 1.2rem;
}

.catalogs-panel-wide {
    grid-column: 1 / -1;
}

.catalogs-row-list {
    display: grid;
    gap: .78rem;
}

.catalogs-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(150px, auto);
    gap: .85rem;
    align-items: start;
    padding: .95rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.catalogs-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #0b2a44;
    color: #fff;
}

.catalogs-row-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.catalogs-row-main {
    display: grid;
    gap: .25rem;
    min-width: 0;
}

.catalogs-row-main strong {
    color: var(--catalogs-navy);
    font-weight: 950;
}

.catalogs-row-main small,
.catalogs-row-main p {
    margin: 0;
    color: var(--catalogs-muted);
    font-weight: 800;
    line-height: 1.45;
}

.catalogs-row-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .55rem;
}

.catalogs-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-weight: 950;
    font-size: .78rem;
}

.catalogs-badge.is-active {
    background: #e8f7ef;
    color: #116b3b;
}

.catalogs-badge.is-inactive {
    background: #f1f3f6;
    color: #607086;
}

.catalogs-badge.is-system {
    background: #eef2ff;
    color: #4f46e5;
}

.catalogs-inline-edit {
    margin-top: .55rem;
}

.catalogs-inline-edit summary {
    cursor: pointer;
    color: var(--catalogs-gold);
    font-weight: 950;
}

.catalogs-inline-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-top: .65rem;
    padding: .75rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 16px;
    background: var(--catalogs-soft);
}

.catalogs-inline-form input,
.catalogs-inline-form select,
.catalogs-create-form input,
.catalogs-create-form select {
    width: 100%;
    min-height: 48px;
    padding: 0 .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 14px;
    background: #fff;
    color: var(--catalogs-navy);
    font: inherit;
    font-weight: 800;
}

.catalogs-check {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--catalogs-navy);
    font-weight: 900;
}

.catalogs-dialog {
    width: min(760px, calc(100vw - 42px));
    max-width: min(760px, calc(100vw - 42px));
    max-height: calc(100vh - 74px);
    overflow: auto;
}

.catalogs-dialog-wide {
    width: min(980px, calc(100vw - 42px));
    max-width: min(980px, calc(100vw - 42px));
}

.catalogs-dialog-head {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
}

.catalogs-dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #f3f6f9;
    color: var(--catalogs-navy);
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
}

.catalogs-create-form {
    display: grid;
    gap: .9rem;
    padding: 1.35rem 1.55rem 1.55rem;
}

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

@media (max-width: 1180px) {
    .catalogs-grid,
    .catalogs-create-grid {
        grid-template-columns: 1fr;
    }

    .catalogs-panel-wide {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    .catalogs-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .catalogs-tabs-modern a {
        border-radius: 16px;
    }

    .catalogs-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .catalogs-row-actions {
        grid-column: 2;
        align-items: flex-start;
    }

    .catalogs-inline-form {
        grid-template-columns: 1fr;
    }
}
/* === ATENEA CATALOGS MODERN V1 END === */

/* === ATENEA INSTITUTIONAL PARAMETERS MODERN V1 START === */
.atenea-params-modern {
    --params-navy: #09233a;
    --params-muted: #687789;
    --params-gold: #b8860b;
    --params-soft: #f8fafc;
}

.params-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.params-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--params-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.params-tabs-modern a.is-active,
.params-tabs-modern a[aria-selected="true"] {
    color: var(--params-gold);
    border-bottom-color: var(--params-gold);
    box-shadow: inset 0 -3px 0 var(--params-gold), 0 16px 30px rgba(9,35,58,.08);
}

.params-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.params-filter-card {
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
}

.params-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .9rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--params-soft);
}

.params-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--params-gold);
}

.params-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--params-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.params-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .85rem;
}

.params-status-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--params-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.params-status-pills button.is-active {
    background: #fff8e6;
    color: var(--params-gold);
    border-color: rgba(184,134,11,.35);
}

.params-section:not(.is-active) {
    display: none !important;
}

.params-section.is-active {
    animation: paramsSectionIn .18s ease-out;
}

@keyframes paramsSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.params-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.params-card,
.params-empty-card {
    padding: 1.2rem;
}

.params-empty-card {
    display: grid;
    gap: .35rem;
    color: var(--params-muted);
    font-weight: 850;
}

.params-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: start;
}

.params-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.params-card-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.params-card-head h2 {
    margin: 0;
    color: var(--params-navy);
    font-size: 1.1rem;
    font-weight: 950;
}

.params-card-head p {
    margin: .25rem 0 0;
    color: var(--params-muted);
    font-weight: 800;
    line-height: 1.45;
}

.params-type-badge {
    display: inline-flex;
    align-items: center;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: .78rem;
    font-weight: 950;
    white-space: nowrap;
}

.params-current-value {
    display: grid;
    gap: .35rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 18px;
    background: var(--params-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.params-current-value span,
.params-meta-grid span {
    color: var(--params-muted);
    font-weight: 900;
}

.params-current-value strong {
    color: var(--params-navy);
    font-size: 1.08rem;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.params-current-value code {
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: .28rem .5rem;
    border-radius: 10px;
    background: #fff;
    color: #23384f;
    font-size: .85rem;
}

.params-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
}

.params-meta-grid div {
    display: grid;
    gap: .25rem;
    padding: .75rem;
    border-radius: 15px;
    border: 1px solid rgba(9,35,58,.08);
    background: #fff;
}

.params-meta-grid strong {
    color: var(--params-navy);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.params-edit-box {
    margin-top: 1rem;
}

.params-edit-box summary {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    cursor: pointer;
    color: var(--params-gold);
    font-weight: 950;
}

.params-edit-box summary .rbac-svg {
    width: 17px;
    height: 17px;
}

.params-edit-form {
    display: grid;
    gap: .8rem;
    margin-top: .8rem;
    padding: 1rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: var(--params-soft);
}

.params-edit-form label {
    display: grid;
    gap: .45rem;
    color: var(--params-navy);
    font-weight: 900;
}

.params-edit-form input,
.params-edit-form select,
.params-edit-form textarea {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--params-navy);
    font: inherit;
    font-weight: 800;
}

.params-edit-form textarea {
    min-height: 112px;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.params-edit-help {
    margin: 0;
    color: var(--params-muted);
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .params-grid {
        grid-template-columns: 1fr;
    }

    .params-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .params-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .params-tabs-modern a {
        border-radius: 16px;
    }

    .params-card-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .params-type-badge {
        grid-column: 2;
        width: fit-content;
    }
}
/* === ATENEA INSTITUTIONAL PARAMETERS MODERN V1 END === */

/* === ATENEA TICKETS MODERN V1 START === */
.atenea-tickets-modern,
.atenea-ticket-detail-modern {
    --tickets-navy: #09233a;
    --tickets-muted: #687789;
    --tickets-gold: #b8860b;
    --tickets-soft: #f8fafc;
}

.tickets-tabs-modern,
.ticket-detail-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.tickets-tabs-modern a,
.ticket-detail-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--tickets-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.tickets-tabs-modern a.is-active,
.ticket-detail-tabs-modern a.is-active,
.tickets-tabs-modern a[aria-selected="true"],
.ticket-detail-tabs-modern a[aria-selected="true"] {
    color: var(--tickets-gold);
    border-bottom-color: var(--tickets-gold);
    box-shadow: inset 0 -3px 0 var(--tickets-gold), 0 16px 30px rgba(9,35,58,.08);
}

.tickets-tabs-modern .rbac-svg,
.ticket-detail-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.tickets-section:not(.is-active),
.ticket-detail-section:not(.is-active) {
    display: none !important;
}

.tickets-section.is-active,
.ticket-detail-section.is-active {
    animation: ticketsSectionIn .18s ease-out;
}

@keyframes ticketsSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tickets-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
    gap: 1.1rem;
    align-items: start;
}

.tickets-list-card,
.tickets-side-card,
.tickets-filter-card,
.tickets-create-card,
.ticket-detail-card,
.ticket-action-card,
.ticket-comments-card,
.ticket-files-card,
.ticket-history-card {
    padding: 1.2rem;
}

.tickets-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 1rem 0 .85rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--tickets-soft);
}

.tickets-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--tickets-gold);
}

.tickets-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--tickets-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.tickets-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .85rem;
}

.tickets-status-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--tickets-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.tickets-status-pills button.is-active {
    background: #fff8e6;
    color: var(--tickets-gold);
    border-color: rgba(184,134,11,.35);
}

.tickets-list {
    display: grid;
    gap: .75rem;
}

.tickets-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(145px, auto) minmax(165px, auto);
    gap: .85rem;
    align-items: center;
    padding: .95rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.tickets-row:hover {
    border-color: rgba(184,134,11,.32);
    box-shadow: 0 18px 34px rgba(184,134,11,.10);
}

.tickets-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.tickets-row-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.tickets-row-main,
.tickets-row-meta,
.tickets-row-side {
    display: grid;
    gap: .25rem;
    min-width: 0;
}

.tickets-row-main strong,
.ticket-detail-subject strong,
.ticket-timeline strong,
.ticket-comment strong,
.ticket-file-row strong,
.ticket-asset-row strong {
    color: var(--tickets-navy);
    font-weight: 950;
}

.tickets-row-main small,
.tickets-row-side small,
.ticket-detail-subject span,
.ticket-detail-meta-grid span,
.ticket-comment small,
.ticket-file-row small,
.ticket-asset-row small,
.ticket-timeline span {
    color: var(--tickets-muted);
    font-weight: 800;
}

.tickets-row-main strong,
.tickets-row-main small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tickets-row-side {
    text-align: right;
}

.tickets-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 950;
    font-size: .78rem;
}

.is-status-open,
.is-status-progress {
    background: #eaf4ff;
    color: #075985;
}

.is-status-hold {
    background: #fff8e6;
    color: #8a5a00;
}

.is-status-resolved,
.is-status-closed {
    background: #e8f7ef;
    color: #116b3b;
}

.is-status-neutral {
    background: #f1f3f6;
    color: #607086;
}

.is-priority-high {
    background: #fee2e2;
    color: #991b1b;
}

.is-priority-medium {
    background: #fff8e6;
    color: #8a5a00;
}

.is-priority-low {
    background: #e8f7ef;
    color: #116b3b;
}

.is-priority-neutral {
    background: #f1f3f6;
    color: #607086;
}

.tickets-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(9,35,58,.08);
}

.tickets-pagination span {
    color: var(--tickets-muted);
    font-weight: 900;
}

.tickets-mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.tickets-mini-metrics div,
.ticket-detail-meta-grid div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--tickets-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.tickets-mini-metrics span,
.ticket-detail-meta-grid span {
    display: block;
    color: var(--tickets-muted);
    font-weight: 900;
}

.tickets-mini-metrics strong,
.ticket-detail-meta-grid strong {
    display: block;
    margin-top: .25rem;
    color: var(--tickets-navy);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.tickets-guidance,
.tickets-builder-intro {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
    color: var(--tickets-navy);
}

.tickets-guidance p,
.tickets-builder-intro span {
    margin: 0;
    color: var(--tickets-muted);
    font-weight: 800;
    line-height: 1.45;
}

.tickets-filter-form,
.tickets-create-grid,
.ticket-action-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    align-items: end;
}

.tickets-filter-form label,
.tickets-create-form label,
.ticket-action-form label,
.ticket-comment-form label,
.ticket-upload-form label,
.ticket-assets-form label {
    display: grid;
    gap: .45rem;
    color: var(--tickets-navy);
    font-weight: 900;
}

.tickets-filter-form input,
.tickets-filter-form select,
.tickets-create-form input,
.tickets-create-form select,
.tickets-create-form textarea,
.ticket-action-form input,
.ticket-action-form select,
.ticket-action-form textarea,
.ticket-comment-form textarea,
.ticket-upload-form input,
.ticket-assets-form textarea,
.ticket-assets-form select {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--tickets-navy);
    font: inherit;
    font-weight: 800;
}

.tickets-create-full,
.ticket-action-full {
    grid-column: 1 / -1;
}

.tickets-create-form {
    display: grid;
    gap: 1rem;
}

.tickets-form-actions {
    display: flex;
    justify-content: flex-end;
}

.ticket-detail-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.ticket-detail-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #23384f;
    font-weight: 850;
}

.ticket-detail-hero-meta .rbac-svg {
    width: 17px;
    height: 17px;
    color: var(--tickets-gold);
}

.ticket-detail-grid,
.ticket-action-grid,
.ticket-comments-grid,
.ticket-files-grid,
.ticket-history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.ticket-detail-main-card {
    grid-column: 1 / -1;
}

.ticket-detail-subject {
    display: grid;
    gap: .4rem;
    padding: 1rem;
    border-radius: 18px;
    background: var(--tickets-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.ticket-detail-subject p {
    margin: .35rem 0 0;
    color: #23384f;
    font-weight: 800;
    line-height: 1.55;
}

.ticket-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.ticket-action-card,
.ticket-comments-card,
.ticket-files-card,
.ticket-history-card {
    min-width: 0;
}

.ticket-comment-form,
.ticket-upload-form,
.ticket-assets-form {
    display: grid;
    gap: .8rem;
    margin-bottom: 1rem;
}

.ticket-comment-list,
.ticket-file-list,
.ticket-asset-list,
.ticket-timeline {
    display: grid;
    gap: .75rem;
}

.ticket-comment,
.ticket-file-row,
.ticket-asset-row,
.ticket-timeline article {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 16px;
    background: var(--tickets-soft);
    text-decoration: none;
    color: inherit;
}

.ticket-file-row,
.ticket-asset-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.ticket-file-row .rbac-svg,
.ticket-asset-row .rbac-svg {
    width: 22px;
    height: 22px;
    color: var(--tickets-gold);
}

.ticket-comment strong span {
    margin-left: .4rem;
    padding: .2rem .48rem;
    border-radius: 999px;
    background: #eaf4ff;
    color: #075985;
    font-size: .75rem;
}

.ticket-comment.is-internal strong span {
    background: #fff8e6;
    color: #8a5a00;
}

.ticket-comment p,
.ticket-timeline p {
    margin: 0;
    color: #23384f;
    font-weight: 800;
    line-height: 1.5;
}

.tickets-empty {
    margin: 0;
    padding: 1rem;
    border-radius: 16px;
    background: var(--tickets-soft);
    color: var(--tickets-muted);
    font-weight: 850;
}

@media (max-width: 1180px) {
    .tickets-workspace,
    .ticket-detail-grid,
    .ticket-action-grid,
    .ticket-comments-grid,
    .ticket-files-grid,
    .ticket-history-grid,
    .ticket-detail-meta-grid,
    .tickets-filter-form,
    .tickets-create-grid,
    .ticket-action-form {
        grid-template-columns: 1fr;
    }

    .tickets-create-full,
    .ticket-action-full,
    .ticket-detail-main-card {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .tickets-tabs-modern,
    .ticket-detail-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tickets-tabs-modern a,
    .ticket-detail-tabs-modern a {
        border-radius: 16px;
    }

    .tickets-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tickets-row-meta,
    .tickets-row-side {
        grid-column: 2;
        text-align: left;
        justify-self: start;
    }

    .tickets-pagination {
        flex-direction: column;
    }
}
/* === ATENEA TICKETS MODERN V1 END === */

/* === ATENEA REQUESTS MODERN V1 START === */
.atenea-requests-modern,
.atenea-request-detail-modern,
.atenea-requests-worktray-modern {
    --requests-navy: #09233a;
    --requests-muted: #687789;
    --requests-gold: #b8860b;
    --requests-soft: #f8fafc;
}

.requests-tabs-modern,
.request-detail-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.requests-tabs-modern a,
.request-detail-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--requests-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.requests-tabs-modern a.is-active,
.request-detail-tabs-modern a.is-active,
.requests-tabs-modern a[aria-selected="true"],
.request-detail-tabs-modern a[aria-selected="true"] {
    color: var(--requests-gold);
    border-bottom-color: var(--requests-gold);
    box-shadow: inset 0 -3px 0 var(--requests-gold), 0 16px 30px rgba(9,35,58,.08);
}

.requests-tabs-modern .rbac-svg,
.request-detail-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.requests-section:not(.is-active),
.request-detail-section:not(.is-active),
.requests-worktray-section:not(.is-active) {
    display: none !important;
}

.requests-section.is-active,
.request-detail-section.is-active,
.requests-worktray-section.is-active {
    animation: requestsSectionIn .18s ease-out;
}

@keyframes requestsSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.requests-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
    gap: 1.1rem;
    align-items: start;
}

.requests-list-card,
.requests-side-card,
.requests-filter-card,
.requests-create-card,
.request-detail-card,
.request-action-card,
.request-comments-card,
.request-files-card,
.request-history-card {
    padding: 1.2rem;
}

.requests-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 1rem 0 .85rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--requests-soft);
}

.requests-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--requests-gold);
}

.requests-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--requests-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.requests-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .85rem;
}

.requests-status-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--requests-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.requests-status-pills button.is-active {
    background: #fff8e6;
    color: var(--requests-gold);
    border-color: rgba(184,134,11,.35);
}

.requests-list {
    display: grid;
    gap: .75rem;
}

.requests-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(145px, auto) minmax(165px, auto);
    gap: .85rem;
    align-items: center;
    padding: .95rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.requests-row:hover {
    border-color: rgba(184,134,11,.32);
    box-shadow: 0 18px 34px rgba(184,134,11,.10);
}

.requests-worktray-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(150px, auto) minmax(210px, auto);
}

.requests-row-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.requests-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.requests-row-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.requests-row-main,
.requests-row-meta,
.requests-row-side {
    display: grid;
    gap: .25rem;
    min-width: 0;
}

.requests-row-main strong,
.request-detail-subject strong,
.request-timeline strong,
.request-comment strong,
.request-file-row strong,
.request-approval-list strong {
    color: var(--requests-navy);
    font-weight: 950;
}

.requests-row-main small,
.requests-row-side small,
.request-detail-subject span,
.request-detail-meta-grid span,
.request-comment small,
.request-file-row small,
.request-timeline span,
.request-approval-list small,
.request-field-grid span {
    color: var(--requests-muted);
    font-weight: 800;
}

.requests-row-main strong,
.requests-row-main small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.requests-row-side {
    text-align: right;
}

.requests-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 950;
    font-size: .78rem;
}

.is-status-open,
.is-status-progress {
    background: #eaf4ff;
    color: #075985;
}

.is-status-returned {
    background: #fff8e6;
    color: #8a5a00;
}

.is-status-approved,
.is-status-closed {
    background: #e8f7ef;
    color: #116b3b;
}

.is-status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.is-status-neutral {
    background: #f1f3f6;
    color: #607086;
}

.requests-mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.requests-mini-metrics div,
.request-detail-meta-grid div,
.request-field-grid div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--requests-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.requests-mini-metrics span,
.request-detail-meta-grid span,
.request-field-grid span {
    display: block;
    color: var(--requests-muted);
    font-weight: 900;
}

.requests-mini-metrics strong,
.request-detail-meta-grid strong,
.request-field-grid strong {
    display: block;
    margin-top: .25rem;
    color: var(--requests-navy);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.requests-guidance,
.requests-builder-intro {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
    color: var(--requests-navy);
}

.requests-guidance p,
.requests-builder-intro span {
    margin: 0;
    color: var(--requests-muted);
    font-weight: 800;
    line-height: 1.45;
}

.requests-filter-form,
.requests-create-grid,
.request-action-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    align-items: end;
}

.requests-filter-form label,
.requests-create-form label,
.request-action-form label,
.request-comment-form label,
.request-upload-form label {
    display: grid;
    gap: .45rem;
    color: var(--requests-navy);
    font-weight: 900;
}

.requests-filter-form input,
.requests-filter-form select,
.requests-create-form input,
.requests-create-form select,
.requests-create-form textarea,
.request-action-form input,
.request-action-form select,
.request-action-form textarea,
.request-comment-form textarea,
.request-upload-form input,
.request-worktray-status-form select {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--requests-navy);
    font: inherit;
    font-weight: 800;
}

.requests-create-full,
.request-action-full {
    grid-column: 1 / -1;
}

.requests-create-form {
    display: grid;
    gap: 1rem;
}

.requests-form-actions {
    display: flex;
    justify-content: flex-end;
}

.request-detail-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.request-detail-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #23384f;
    font-weight: 850;
}

.request-detail-hero-meta .rbac-svg {
    width: 17px;
    height: 17px;
    color: var(--requests-gold);
}

.request-detail-grid,
.request-action-grid,
.request-comments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.request-detail-main-card {
    grid-column: 1 / -1;
}

.request-detail-subject {
    display: grid;
    gap: .4rem;
    padding: 1rem;
    border-radius: 18px;
    background: var(--requests-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.request-detail-subject p {
    margin: .35rem 0 0;
    color: #23384f;
    font-weight: 800;
    line-height: 1.55;
}

.request-detail-meta-grid,
.request-field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.request-action-card,
.request-comments-card,
.request-files-card,
.request-history-card {
    min-width: 0;
}

.request-comment-form,
.request-upload-form {
    display: grid;
    gap: .8rem;
    margin-bottom: 1rem;
}

.request-comment-list,
.request-file-list,
.request-timeline,
.request-approval-list {
    display: grid;
    gap: .75rem;
}

.request-comment,
.request-file-row,
.request-timeline article,
.request-approval-list article {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 16px;
    background: var(--requests-soft);
    text-decoration: none;
    color: inherit;
}

.request-file-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.request-file-row .rbac-svg {
    width: 22px;
    height: 22px;
    color: var(--requests-gold);
}

.request-comment strong span {
    margin-left: .4rem;
    padding: .2rem .48rem;
    border-radius: 999px;
    background: #eaf4ff;
    color: #075985;
    font-size: .75rem;
}

.request-comment.is-internal strong span {
    background: #fff8e6;
    color: #8a5a00;
}

.request-comment p,
.request-timeline p,
.request-approval-list p {
    margin: 0;
    color: #23384f;
    font-weight: 800;
    line-height: 1.5;
}

.request-worktray-status-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
    align-items: center;
}

.requests-empty {
    margin: 0;
    padding: 1rem;
    border-radius: 16px;
    background: var(--requests-soft);
    color: var(--requests-muted);
    font-weight: 850;
}

@media (max-width: 1180px) {
    .requests-workspace,
    .request-detail-grid,
    .request-action-grid,
    .request-comments-grid,
    .request-detail-meta-grid,
    .request-field-grid,
    .requests-filter-form,
    .requests-create-grid,
    .request-action-form {
        grid-template-columns: 1fr;
    }

    .requests-create-full,
    .request-action-full,
    .request-detail-main-card {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .requests-tabs-modern,
    .request-detail-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .requests-tabs-modern a,
    .request-detail-tabs-modern a {
        border-radius: 16px;
    }

    .requests-row,
    .requests-worktray-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .requests-row-meta,
    .requests-row-side {
        grid-column: 2;
        text-align: left;
        justify-self: start;
    }

    .request-worktray-status-form {
        grid-template-columns: 1fr;
    }
}
/* === ATENEA REQUESTS MODERN V1 END === */

/* === ATENEA STUDENTS PORTAL MODERN V1 START === */
.atenea-student-portal-modern {
    --student-navy: #09233a;
    --student-muted: #687789;
    --student-gold: #b8860b;
    --student-soft: #f8fafc;
}

.student-portal-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.student-portal-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--student-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.student-portal-tabs-modern a.is-active,
.student-portal-tabs-modern a[aria-selected="true"] {
    color: var(--student-gold);
    border-bottom-color: var(--student-gold);
    box-shadow: inset 0 -3px 0 var(--student-gold), 0 16px 30px rgba(9,35,58,.08);
}

.student-portal-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.student-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.student-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #23384f;
    font-weight: 850;
}

.student-hero-meta .rbac-svg {
    width: 17px;
    height: 17px;
    color: var(--student-gold);
}

.students-section:not(.is-active) {
    display: none !important;
}

.students-section.is-active {
    animation: studentsSectionIn .18s ease-out;
}

@keyframes studentsSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.student-overview-grid,
.student-file-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 1.1rem;
    align-items: start;
}

.student-identity-card,
.student-progress-card,
.student-file-card,
.students-tools-card,
.student-module-card {
    padding: 1.2rem;
}

.student-identity-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(9,35,58,.08);
}

.student-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 24px;
    background: #0b2a44;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: .03em;
}

.student-identity-head h2 {
    margin: 0;
    color: var(--student-navy);
    font-weight: 950;
}

.student-identity-head p {
    margin: .25rem 0 .55rem;
    color: var(--student-muted);
    font-weight: 800;
}

.student-info-grid,
.student-file-counters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.student-file-counters.is-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.student-info-grid div,
.student-file-counters div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--student-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.student-info-grid span,
.student-file-counters span {
    display: block;
    color: var(--student-muted);
    font-weight: 900;
}

.student-info-grid strong,
.student-file-counters strong {
    display: block;
    margin-top: .25rem;
    color: var(--student-navy);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.student-status-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-weight: 950;
    font-size: .78rem;
}

.student-status-chip.is-success {
    background: #e8f7ef;
    color: #116b3b;
}

.student-status-chip.is-warning {
    background: #fff8e6;
    color: #8a5a00;
}

.student-status-chip.is-danger {
    background: #fee2e2;
    color: #991b1b;
}

.student-progress-ring {
    display: grid;
    place-items: center;
    gap: .15rem;
    width: 190px;
    height: 190px;
    margin: 1rem auto;
    border-radius: 999px;
    border: 14px solid rgba(184,134,11,.18);
    background: radial-gradient(circle, #fff 0%, #fff 56%, rgba(248,250,252,.92) 57%);
    box-shadow: inset 0 0 0 1px rgba(9,35,58,.08), 0 18px 34px rgba(9,35,58,.08);
}

.student-progress-ring[data-progress-kind="success"] {
    border-color: rgba(17,107,59,.22);
}

.student-progress-ring[data-progress-kind="danger"] {
    border-color: rgba(153,27,27,.22);
}

.student-progress-ring strong {
    color: var(--student-navy);
    font-size: 2rem;
    font-weight: 950;
}

.student-progress-ring span {
    color: var(--student-muted);
    font-weight: 900;
}

.student-progress-native {
    width: 100%;
    height: 14px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
}

.student-progress-native::-webkit-progress-bar {
    background: #eef2f7;
    border-radius: 999px;
}

.student-progress-native::-webkit-progress-value {
    background: linear-gradient(90deg, #b8860b, #d6a73d);
    border-radius: 999px;
}

.student-reasons {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
}

.student-reasons strong,
.student-action-list strong,
.student-module-head h2 {
    color: var(--student-navy);
    font-weight: 950;
}

.student-reasons p,
.student-reasons li,
.student-action-list span,
.student-module-head p {
    color: var(--student-muted);
    font-weight: 800;
    line-height: 1.45;
}

.student-reasons ul {
    margin: 0;
    padding-left: 1.15rem;
}

.student-action-list {
    display: grid;
    gap: .8rem;
}

.student-action-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(9,35,58,.08);
    background: var(--student-soft);
}

.student-action-list .rbac-svg {
    width: 24px;
    height: 24px;
    color: var(--student-gold);
}

.students-tools-card {
    margin-bottom: 1.1rem;
}

.students-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .9rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--student-soft);
}

.students-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--student-gold);
}

.students-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--student-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.students-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .85rem;
}

.students-status-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--student-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.students-status-pills button.is-active {
    background: #fff8e6;
    color: var(--student-gold);
    border-color: rgba(184,134,11,.35);
}

.student-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.student-module-card {
    display: grid;
    gap: 1rem;
}

.student-module-card.is-locked {
    opacity: .84;
}

.student-module-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: start;
}

.student-module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.student-module-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.student-module-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.student-module-head p {
    margin: .25rem 0 0;
}

.student-module-action {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: 0 .95rem;
    border: 1px solid rgba(184,134,11,.28);
    border-radius: 999px;
    background: #fff8e6;
    color: var(--student-gold);
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
}

.student-module-action .rbac-svg {
    width: 17px;
    height: 17px;
}

.student-module-action.is-disabled {
    border-color: rgba(9,35,58,.12);
    background: #f3f6f9;
    color: var(--student-muted);
    cursor: not-allowed;
}

@media (max-width: 1180px) {
    .student-overview-grid,
    .student-file-grid,
    .student-module-grid,
    .student-info-grid,
    .student-file-counters,
    .student-file-counters.is-wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .student-portal-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .student-portal-tabs-modern a {
        border-radius: 16px;
    }

    .student-identity-head {
        align-items: flex-start;
    }

    .student-module-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .student-module-head .student-status-chip {
        grid-column: 2;
    }
}
/* === ATENEA STUDENTS PORTAL MODERN V1 END === */

/* === ATENEA INVENTORY ASSETS MODERN V1 START === */
.atenea-inventory-assets-modern,
.atenea-inventory-asset-detail-modern {
    --inventory-navy: #09233a;
    --inventory-muted: #687789;
    --inventory-gold: #b8860b;
    --inventory-soft: #f8fafc;
}

.inventory-assets-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.inventory-assets-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--inventory-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.inventory-assets-tabs-modern a.is-active,
.inventory-assets-tabs-modern a[aria-selected="true"] {
    color: var(--inventory-gold);
    border-bottom-color: var(--inventory-gold);
    box-shadow: inset 0 -3px 0 var(--inventory-gold), 0 16px 30px rgba(9,35,58,.08);
}

.inventory-assets-tabs-modern .rbac-svg,
.inventory-asset-hero-meta .rbac-svg {
    width: 18px;
    height: 18px;
}

.assets-section:not(.is-active),
.asset-detail-section:not(.is-active) {
    display: none !important;
}

.assets-section.is-active,
.asset-detail-section.is-active {
    animation: inventoryAssetsSectionIn .18s ease-out;
}

@keyframes inventoryAssetsSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.inventory-assets-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
    gap: 1.1rem;
    align-items: start;
}

.inventory-assets-list-card,
.inventory-assets-side-card,
.inventory-assets-filter-card,
.inventory-assets-create-card,
.inventory-assets-operation-card,
.inventory-asset-detail-card {
    padding: 1.2rem;
}

.inventory-assets-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 1rem 0 .85rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--inventory-soft);
}

.inventory-assets-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--inventory-gold);
}

.inventory-assets-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--inventory-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.inventory-assets-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .85rem;
}

.inventory-assets-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--inventory-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.inventory-assets-pills button.is-active {
    background: #fff8e6;
    color: var(--inventory-gold);
    border-color: rgba(184,134,11,.35);
}

.inventory-assets-list,
.inventory-asset-related-list,
.inventory-asset-timeline {
    display: grid;
    gap: .75rem;
}

.inventory-asset-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(145px, auto) minmax(165px, auto);
    gap: .85rem;
    align-items: center;
    padding: .95rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.inventory-asset-row:hover {
    border-color: rgba(184,134,11,.32);
    box-shadow: 0 18px 34px rgba(184,134,11,.10);
}

.inventory-asset-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.inventory-asset-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.inventory-asset-main,
.inventory-asset-meta,
.inventory-asset-side {
    display: grid;
    gap: .25rem;
    min-width: 0;
}

.inventory-asset-main strong,
.inventory-assets-empty strong,
.inventory-asset-detail-grid strong,
.inventory-asset-related-row strong,
.inventory-asset-timeline strong {
    color: var(--inventory-navy);
    font-weight: 950;
}

.inventory-asset-main small,
.inventory-asset-meta small,
.inventory-asset-side small,
.inventory-asset-detail-grid span,
.inventory-asset-related-row small,
.inventory-asset-timeline span,
.inventory-asset-timeline small {
    color: var(--inventory-muted);
    font-weight: 800;
}

.inventory-asset-main strong,
.inventory-asset-main small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inventory-asset-side {
    text-align: right;
}

.inventory-asset-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 950;
    font-size: .78rem;
}

.inventory-asset-badge.is-success {
    background: #e8f7ef;
    color: #116b3b;
}

.inventory-asset-badge.is-warning {
    background: #fff8e6;
    color: #8a5a00;
}

.inventory-asset-badge.is-danger {
    background: #fee2e2;
    color: #991b1b;
}

.inventory-asset-badge.is-info {
    background: #eaf4ff;
    color: #075985;
}

.inventory-asset-badge.is-neutral {
    background: #f1f3f6;
    color: #607086;
}

.inventory-assets-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.1rem;
    border: 1px dashed rgba(9,35,58,.18);
    border-radius: 18px;
    background: var(--inventory-soft);
}

.inventory-assets-empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fff8e6;
    color: var(--inventory-gold);
}

.inventory-assets-empty p,
.inventory-assets-guidance p,
.inventory-assets-builder-intro span {
    margin: .25rem 0 0;
    color: var(--inventory-muted);
    font-weight: 800;
    line-height: 1.45;
}

.inventory-assets-mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.inventory-assets-mini-metrics div,
.inventory-asset-detail-grid div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--inventory-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.inventory-assets-mini-metrics span,
.inventory-asset-detail-grid span {
    display: block;
    color: var(--inventory-muted);
    font-weight: 900;
}

.inventory-assets-mini-metrics strong,
.inventory-asset-detail-grid strong {
    display: block;
    margin-top: .25rem;
    overflow-wrap: anywhere;
}

.inventory-assets-guidance,
.inventory-assets-builder-intro {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
    color: var(--inventory-navy);
}

.inventory-assets-filter-form,
.inventory-assets-create-grid,
.inventory-asset-action-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    align-items: end;
}

.inventory-assets-filter-form label,
.inventory-assets-create-form label,
.inventory-asset-action-form label {
    display: grid;
    gap: .45rem;
    color: var(--inventory-navy);
    font-weight: 900;
}

.inventory-assets-filter-form input,
.inventory-assets-filter-form select,
.inventory-assets-create-form input,
.inventory-assets-create-form select,
.inventory-assets-create-form textarea,
.inventory-asset-action-form input,
.inventory-asset-action-form select {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--inventory-navy);
    font: inherit;
    font-weight: 800;
}

.inventory-assets-create-form {
    display: grid;
    gap: 1rem;
}

.inventory-assets-create-full {
    grid-column: 1 / -1;
}

.inventory-assets-form-actions {
    display: flex;
    justify-content: flex-end;
}

.inventory-assets-operation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.inventory-asset-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.inventory-asset-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #23384f;
    font-weight: 850;
}

.inventory-asset-hero-meta .rbac-svg {
    color: var(--inventory-gold);
}

.inventory-asset-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.inventory-asset-related-row,
.inventory-asset-timeline article {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 16px;
    background: var(--inventory-soft);
    color: inherit;
    text-decoration: none;
}

.inventory-asset-timeline p {
    margin: 0;
    color: #23384f;
    font-weight: 800;
}

.inventory-assets-empty-text {
    margin: 0;
    padding: 1rem;
    border-radius: 16px;
    background: var(--inventory-soft);
    color: var(--inventory-muted);
    font-weight: 850;
}

@media (max-width: 1180px) {
    .inventory-assets-workspace,
    .inventory-assets-operation-grid,
    .inventory-assets-filter-form,
    .inventory-assets-create-grid,
    .inventory-asset-action-form,
    .inventory-asset-detail-grid {
        grid-template-columns: 1fr;
    }

    .inventory-assets-create-full {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .inventory-assets-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .inventory-assets-tabs-modern a {
        border-radius: 16px;
    }

    .inventory-asset-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .inventory-asset-meta,
    .inventory-asset-side {
        grid-column: 2;
        text-align: left;
        justify-self: start;
    }
}
/* === ATENEA INVENTORY ASSETS MODERN V1 END === */

/* === ATENEA ASSET CATALOGS MODERN V1 START === */
.atenea-asset-catalogs-modern {
    --assetcat-navy: #09233a;
    --assetcat-muted: #687789;
    --assetcat-gold: #b8860b;
    --assetcat-soft: #f8fafc;
}

.asset-catalogs-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.asset-catalogs-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--assetcat-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.asset-catalogs-tabs-modern a.is-active,
.asset-catalogs-tabs-modern a[aria-selected="true"] {
    color: var(--assetcat-gold);
    border-bottom-color: var(--assetcat-gold);
    box-shadow: inset 0 -3px 0 var(--assetcat-gold), 0 16px 30px rgba(9,35,58,.08);
}

.asset-catalogs-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.asset-catalogs-section:not(.is-active) {
    display: none !important;
}

.asset-catalogs-section.is-active {
    animation: assetCatalogsSectionIn .18s ease-out;
}

@keyframes assetCatalogsSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.asset-catalogs-toolbar,
.asset-catalogs-create-card,
.asset-catalogs-list-card,
.asset-catalogs-governance-card {
    padding: 1.2rem;
}

.asset-catalogs-toolbar {
    margin-bottom: 1.1rem;
}

.asset-catalogs-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 1rem 0 .85rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--assetcat-soft);
}

.asset-catalogs-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--assetcat-gold);
}

.asset-catalogs-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--assetcat-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.asset-catalogs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.asset-catalogs-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--assetcat-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.asset-catalogs-pills button.is-active {
    background: #fff8e6;
    color: var(--assetcat-gold);
    border-color: rgba(184,134,11,.35);
}

.asset-catalogs-workspace {
    display: grid;
    grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
    gap: 1.1rem;
    align-items: start;
}

.asset-catalogs-create-form {
    display: grid;
    gap: 1rem;
}

.asset-catalogs-builder-intro {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
    color: var(--assetcat-navy);
}

.asset-catalogs-builder-intro span {
    color: var(--assetcat-muted);
    font-weight: 800;
    line-height: 1.45;
}

.asset-catalogs-create-grid,
.asset-catalogs-inline-form {
    display: grid;
    gap: .85rem;
}

.asset-catalogs-create-grid label,
.asset-catalogs-inline-form label {
    display: grid;
    gap: .45rem;
    color: var(--assetcat-navy);
    font-weight: 900;
}

.asset-catalogs-create-grid input[type="text"],
.asset-catalogs-inline-form input[type="text"] {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--assetcat-navy);
    font: inherit;
    font-weight: 800;
}

.asset-catalogs-check-card {
    display: flex !important;
    align-items: center;
    gap: .6rem !important;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 15px;
    background: var(--assetcat-soft);
}

.asset-catalogs-check-card input {
    width: 18px;
    height: 18px;
}

.asset-catalogs-list {
    display: grid;
    gap: .8rem;
}

.asset-catalog-row {
    display: grid;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.asset-catalog-row:hover {
    border-color: rgba(184,134,11,.32);
    box-shadow: 0 18px 34px rgba(184,134,11,.10);
}

.asset-catalog-row-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: center;
}

.asset-catalog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.asset-catalog-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.asset-catalog-row-title {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.asset-catalog-row-title strong,
.asset-catalogs-empty strong,
.asset-catalogs-guidance-list strong,
.asset-catalogs-mini-metrics strong {
    color: var(--assetcat-navy);
    font-weight: 950;
}

.asset-catalog-row-title small,
.asset-catalog-row-meta span,
.asset-catalogs-empty p,
.asset-catalogs-guidance-list span,
.asset-catalogs-mini-metrics span {
    color: var(--assetcat-muted);
    font-weight: 800;
}

.asset-catalog-row-meta,
.asset-catalogs-mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.asset-catalog-row-meta div,
.asset-catalogs-mini-metrics div {
    padding: .72rem;
    border-radius: 14px;
    background: var(--assetcat-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.asset-catalog-row-meta span,
.asset-catalogs-mini-metrics span {
    display: block;
}

.asset-catalog-row-meta strong,
.asset-catalogs-mini-metrics strong {
    display: block;
    margin-top: .2rem;
    overflow-wrap: anywhere;
}

.asset-catalog-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 950;
    font-size: .78rem;
}

.asset-catalog-badge.is-success {
    background: #e8f7ef;
    color: #116b3b;
}

.asset-catalog-badge.is-warning {
    background: #fff8e6;
    color: #8a5a00;
}

.asset-catalog-badge.is-danger {
    background: #fee2e2;
    color: #991b1b;
}

.asset-catalog-badge.is-info {
    background: #eaf4ff;
    color: #075985;
}

.asset-catalog-row-editor {
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 16px;
    background: var(--assetcat-soft);
    padding: .85rem;
}

.asset-catalog-row-editor summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--assetcat-navy);
    font-weight: 950;
    cursor: pointer;
}

.asset-catalog-row-editor summary .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--assetcat-gold);
}

.asset-catalogs-inline-form {
    margin-top: .9rem;
}

.asset-catalog-toggle-form {
    display: flex;
    justify-content: flex-end;
}

.asset-catalogs-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.1rem;
    border: 1px dashed rgba(9,35,58,.18);
    border-radius: 18px;
    background: var(--assetcat-soft);
}

.asset-catalogs-empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fff8e6;
    color: var(--assetcat-gold);
}

.asset-catalogs-governance-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
    gap: 1.1rem;
}

.asset-catalogs-guidance-list {
    display: grid;
    gap: .8rem;
}

.asset-catalogs-guidance-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(9,35,58,.08);
    background: var(--assetcat-soft);
}

.asset-catalogs-guidance-list .rbac-svg {
    width: 24px;
    height: 24px;
    color: var(--assetcat-gold);
}

@media (max-width: 1180px) {
    .asset-catalogs-workspace,
    .asset-catalogs-governance-grid,
    .asset-catalog-row-meta,
    .asset-catalogs-mini-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .asset-catalogs-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .asset-catalogs-tabs-modern a {
        border-radius: 16px;
    }

    .asset-catalog-row-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .asset-catalog-badge {
        grid-column: 2;
    }

    .asset-catalog-toggle-form {
        justify-content: flex-start;
    }
}
/* === ATENEA ASSET CATALOGS MODERN V1 END === */

/* === ATENEA ACCESS HISTORY MODERN V1 START === */
.atenea-access-history-modern {
    --access-navy: #09233a;
    --access-muted: #687789;
    --access-gold: #b8860b;
    --access-soft: #f8fafc;
}

.access-history-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.access-history-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--access-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.access-history-tabs-modern a.is-active,
.access-history-tabs-modern a[aria-selected="true"] {
    color: var(--access-gold);
    border-bottom-color: var(--access-gold);
    box-shadow: inset 0 -3px 0 var(--access-gold), 0 16px 30px rgba(9,35,58,.08);
}

.access-history-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.access-history-section:not(.is-active) {
    display: none !important;
}

.access-history-section.is-active {
    animation: accessHistorySectionIn .18s ease-out;
}

@keyframes accessHistorySectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.access-history-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
    gap: 1.1rem;
    align-items: start;
}

.access-history-list-card,
.access-history-side-card,
.access-history-filter-card,
.access-history-security-card,
.access-history-users-card {
    padding: 1.2rem;
}

.access-history-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 1rem 0 .85rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--access-soft);
}

.access-history-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--access-gold);
}

.access-history-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--access-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.access-history-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .85rem;
}

.access-history-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--access-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.access-history-pills button.is-active {
    background: #fff8e6;
    color: var(--access-gold);
    border-color: rgba(184,134,11,.35);
}

.access-history-timeline {
    display: grid;
    gap: .8rem;
}

.access-history-event {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(200px, auto);
    gap: .85rem;
    align-items: center;
    padding: .95rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.access-history-event.is-failed {
    border-color: rgba(153,27,27,.15);
}

.access-history-event-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.access-history-event.is-failed .access-history-event-icon {
    background: #7f1d1d;
}

.access-history-event.is-success .access-history-event-icon {
    background: #0f5132;
}

.access-history-event-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.access-history-event-main,
.access-history-event-meta {
    display: grid;
    gap: .25rem;
    min-width: 0;
}

.access-history-event-main strong,
.access-history-empty strong,
.access-history-risk-list strong,
.access-history-mini-metrics strong {
    color: var(--access-navy);
    font-weight: 950;
}

.access-history-event-main small,
.access-history-event-meta span,
.access-history-empty p,
.access-history-risk-list span,
.access-history-mini-metrics span {
    color: var(--access-muted);
    font-weight: 800;
}

.access-history-event-meta {
    justify-items: end;
}

.access-history-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.access-history-event-meta .rbac-svg {
    width: 16px;
    height: 16px;
    color: var(--access-gold);
}

.access-history-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 950;
    font-size: .78rem;
}

.access-history-badge.is-success {
    background: #e8f7ef;
    color: #116b3b;
}

.access-history-badge.is-failed {
    background: #fee2e2;
    color: #991b1b;
}

.access-history-mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.access-history-mini-metrics.is-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.access-history-mini-metrics div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--access-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.access-history-mini-metrics span {
    display: block;
}

.access-history-mini-metrics strong {
    display: block;
    margin-top: .25rem;
}

.access-history-guidance {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
    color: var(--access-navy);
}

.access-history-guidance p {
    margin: 0;
    color: var(--access-muted);
    font-weight: 800;
    line-height: 1.45;
}

.access-history-filter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    align-items: end;
}

.access-history-filter-form label {
    display: grid;
    gap: .45rem;
    color: var(--access-navy);
    font-weight: 900;
}

.access-history-filter-form input,
.access-history-filter-form select {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--access-navy);
    font: inherit;
    font-weight: 800;
}

.access-history-security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.access-history-risk-list {
    display: grid;
    gap: .8rem;
}

.access-history-risk-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(9,35,58,.08);
    background: var(--access-soft);
}

.access-history-risk-list .rbac-svg {
    width: 24px;
    height: 24px;
    color: var(--access-gold);
}

.access-history-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.1rem;
    border: 1px dashed rgba(9,35,58,.18);
    border-radius: 18px;
    background: var(--access-soft);
}

.access-history-empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fff8e6;
    color: var(--access-gold);
}

.access-history-empty-text {
    margin: 0;
    padding: 1rem;
    border-radius: 16px;
    background: var(--access-soft);
    color: var(--access-muted);
    font-weight: 850;
}

@media (max-width: 1180px) {
    .access-history-workspace,
    .access-history-security-grid,
    .access-history-filter-form,
    .access-history-mini-metrics.is-wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .access-history-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .access-history-tabs-modern a {
        border-radius: 16px;
    }

    .access-history-event {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .access-history-event-meta {
        grid-column: 2;
        justify-items: start;
    }
}
/* === ATENEA ACCESS HISTORY MODERN V1 END === */

/* === ATENEA ADMIN AUDIT MODERN V1 START === */
.atenea-admin-audit-modern {
    --audit-navy: #09233a;
    --audit-muted: #687789;
    --audit-gold: #b8860b;
    --audit-soft: #f8fafc;
}

.admin-audit-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.admin-audit-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--audit-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.admin-audit-tabs-modern a.is-active,
.admin-audit-tabs-modern a[aria-selected="true"] {
    color: var(--audit-gold);
    border-bottom-color: var(--audit-gold);
    box-shadow: inset 0 -3px 0 var(--audit-gold), 0 16px 30px rgba(9,35,58,.08);
}

.admin-audit-tabs-modern .rbac-svg {
    width: 18px;
    height: 18px;
}

.admin-audit-section:not(.is-active) {
    display: none !important;
}

.admin-audit-section.is-active {
    animation: adminAuditSectionIn .18s ease-out;
}

@keyframes adminAuditSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-audit-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, .55fr);
    gap: 1.1rem;
    align-items: start;
}

.admin-audit-list-card,
.admin-audit-side-card,
.admin-audit-filter-card,
.admin-audit-security-card {
    padding: 1.2rem;
}

.admin-audit-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 1rem 0 .85rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--audit-soft);
}

.admin-audit-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--audit-gold);
}

.admin-audit-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--audit-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.admin-audit-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .85rem;
}

.admin-audit-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--audit-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.admin-audit-pills button.is-active {
    background: #fff8e6;
    color: var(--audit-gold);
    border-color: rgba(184,134,11,.35);
}

.admin-audit-timeline,
.admin-audit-security-list,
.admin-audit-insight-list {
    display: grid;
    gap: .8rem;
}

.admin-audit-event {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(225px, auto);
    gap: .85rem;
    align-items: start;
    padding: .95rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.admin-audit-event.is-danger {
    border-color: rgba(153,27,27,.18);
}

.admin-audit-event-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.admin-audit-event.is-danger .admin-audit-event-icon {
    background: #7f1d1d;
}

.admin-audit-event.is-success .admin-audit-event-icon {
    background: #0f5132;
}

.admin-audit-event-icon .rbac-svg {
    width: 23px;
    height: 23px;
}

.admin-audit-event-main,
.admin-audit-event-meta {
    display: grid;
    gap: .25rem;
    min-width: 0;
}

.admin-audit-event-main strong,
.admin-audit-empty strong,
.admin-audit-mini-metrics strong,
.admin-audit-security-list strong,
.admin-audit-insight-list strong {
    color: var(--audit-navy);
    font-weight: 950;
}

.admin-audit-event-main small,
.admin-audit-event-main p,
.admin-audit-event-meta span,
.admin-audit-empty p,
.admin-audit-mini-metrics span,
.admin-audit-security-list span,
.admin-audit-security-list small,
.admin-audit-insight-list span {
    color: var(--audit-muted);
    font-weight: 800;
}

.admin-audit-event-main p {
    margin: .2rem 0 0;
    line-height: 1.45;
}

.admin-audit-event-meta {
    justify-items: end;
}

.admin-audit-event-meta span,
.admin-audit-trace-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--audit-muted);
    font-weight: 850;
    text-decoration: none;
}

.admin-audit-event-meta .rbac-svg,
.admin-audit-trace-link .rbac-svg {
    width: 16px;
    height: 16px;
    color: var(--audit-gold);
}

.admin-audit-trace-link {
    color: var(--audit-gold);
}

.admin-audit-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 950;
    font-size: .78rem;
}

.admin-audit-badge.is-success {
    background: #e8f7ef;
    color: #116b3b;
}

.admin-audit-badge.is-danger {
    background: #fee2e2;
    color: #991b1b;
}

.admin-audit-badge.is-warning {
    background: #fff8e6;
    color: #8a5a00;
}

.admin-audit-badge.is-neutral {
    background: #f1f3f6;
    color: #607086;
}

.admin-audit-mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.admin-audit-mini-metrics div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--audit-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.admin-audit-mini-metrics span {
    display: block;
}

.admin-audit-mini-metrics strong {
    display: block;
    margin-top: .25rem;
}

.admin-audit-guidance {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
    color: var(--audit-navy);
}

.admin-audit-guidance p {
    margin: 0;
    color: var(--audit-muted);
    font-weight: 800;
    line-height: 1.45;
}

.admin-audit-filter-form,
.admin-audit-trace-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    align-items: end;
}

.admin-audit-filter-form label,
.admin-audit-trace-form label {
    display: grid;
    gap: .45rem;
    color: var(--audit-navy);
    font-weight: 900;
}

.admin-audit-filter-form input,
.admin-audit-filter-form select,
.admin-audit-trace-form input {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--audit-navy);
    font: inherit;
    font-weight: 800;
}

.admin-audit-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1rem;
}

.admin-audit-pagination span {
    color: var(--audit-muted);
    font-weight: 900;
}

.admin-audit-pagination .is-disabled {
    opacity: .45;
    pointer-events: none;
}

.admin-audit-security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.admin-audit-security-list article,
.admin-audit-insight-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .8rem;
    align-items: center;
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(9,35,58,.08);
    background: var(--audit-soft);
}

.admin-audit-insight-list article {
    grid-template-columns: auto minmax(0, 1fr);
}

.admin-audit-security-list .rbac-svg,
.admin-audit-insight-list .rbac-svg {
    width: 24px;
    height: 24px;
    color: var(--audit-gold);
}

.admin-audit-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.1rem;
    border: 1px dashed rgba(9,35,58,.18);
    border-radius: 18px;
    background: var(--audit-soft);
}

.admin-audit-empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fff8e6;
    color: var(--audit-gold);
}

.admin-audit-empty-text {
    margin: 0;
    padding: 1rem;
    border-radius: 16px;
    background: var(--audit-soft);
    color: var(--audit-muted);
    font-weight: 850;
}

@media (max-width: 1180px) {
    .admin-audit-workspace,
    .admin-audit-security-grid,
    .admin-audit-filter-form,
    .admin-audit-trace-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .admin-audit-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-audit-tabs-modern a {
        border-radius: 16px;
    }

    .admin-audit-event {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-audit-event-meta {
        grid-column: 2;
        justify-items: start;
    }

    .admin-audit-security-list article {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-audit-security-list .admin-audit-badge {
        grid-column: 2;
    }
}
/* === ATENEA ADMIN AUDIT MODERN V1 END === */

/* === ATENEA STUDENTS DOCUMENTS MODERN V1 START === */
.atenea-students-documents-modern {
    --doc-navy: #09233a;
    --doc-muted: #687789;
    --doc-gold: #b8860b;
    --doc-soft: #f8fafc;
}

.student-documents-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.student-documents-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--doc-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.student-documents-tabs-modern a.is-active,
.student-documents-tabs-modern a[aria-selected="true"] {
    color: var(--doc-gold);
    border-bottom-color: var(--doc-gold);
    box-shadow: inset 0 -3px 0 var(--doc-gold), 0 16px 30px rgba(9,35,58,.08);
}

.student-documents-tabs-modern .rbac-svg,
.student-documents-hero-meta .rbac-svg {
    width: 18px;
    height: 18px;
}

.student-documents-section:not(.is-active) {
    display: none !important;
}

.student-documents-section.is-active {
    animation: studentDocumentsSectionIn .18s ease-out;
}

@keyframes studentDocumentsSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.student-documents-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.student-documents-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #23384f;
    font-weight: 850;
}

.student-documents-hero-meta .rbac-svg {
    color: var(--doc-gold);
}

.student-documents-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
    gap: 1.1rem;
    align-items: start;
}

.student-documents-summary-card,
.student-documents-side-card,
.student-documents-list-card,
.student-documents-upload-card,
.student-documents-security-card {
    padding: 1.2rem;
}

.student-documents-status-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .32rem .62rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 950;
    font-size: .78rem;
}

.student-documents-status-chip.is-success {
    background: #e8f7ef;
    color: #116b3b;
}

.student-documents-status-chip.is-warning {
    background: #fff8e6;
    color: #8a5a00;
}

.student-documents-status-chip.is-danger {
    background: #fee2e2;
    color: #991b1b;
}

.student-documents-status-chip.is-neutral {
    background: #f1f3f6;
    color: #607086;
}

.student-documents-progress-shell {
    display: grid;
    gap: .65rem;
    margin-top: .8rem;
    padding: 1rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: var(--doc-soft);
}

.student-documents-progress-label {
    display: flex;
    align-items: baseline;
    gap: .55rem;
}

.student-documents-progress-label strong {
    color: var(--doc-navy);
    font-size: 1.7rem;
    font-weight: 950;
}

.student-documents-progress-label span {
    color: var(--doc-muted);
    font-weight: 850;
}

.student-documents-progress-track {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(9,35,58,.10);
}

.student-documents-progress-track span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #b8860b, #d9a520);
    transition: width .35s ease;
}

.student-documents-mini-metrics,
.student-document-requirement-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.student-documents-mini-metrics div,
.student-document-requirement-meta div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--doc-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.student-documents-mini-metrics span,
.student-document-requirement-meta span {
    display: block;
    color: var(--doc-muted);
    font-weight: 850;
}

.student-documents-mini-metrics strong,
.student-document-requirement-meta strong {
    display: block;
    margin-top: .25rem;
    color: var(--doc-navy);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.student-documents-reasons,
.student-documents-guidance,
.student-documents-builder-intro {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
    color: var(--doc-navy);
}

.student-documents-reasons p,
.student-documents-guidance p,
.student-documents-builder-intro span,
.student-documents-reasons li {
    color: var(--doc-muted);
    font-weight: 800;
    line-height: 1.45;
}

.student-documents-reasons ul {
    margin: .25rem 0 0;
    padding-left: 1.2rem;
}

.student-documents-student-card {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    border-radius: 18px;
    background: var(--doc-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.student-documents-student-card strong {
    color: var(--doc-navy);
    font-weight: 950;
}

.student-documents-student-card span {
    color: var(--doc-muted);
    font-weight: 850;
}

.student-documents-local-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 1rem 0 .85rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 16px;
    background: var(--doc-soft);
}

.student-documents-local-search .rbac-svg {
    width: 18px;
    height: 18px;
    color: var(--doc-gold);
}

.student-documents-local-search input {
    flex: 1;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--doc-navy);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.student-documents-requirement-grid,
.student-documents-loaded-list,
.student-documents-security-list {
    display: grid;
    gap: .85rem;
}

.student-document-requirement-card {
    display: grid;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.student-document-requirement-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: center;
}

.student-document-requirement-head > span,
.student-document-loaded-icon,
.student-documents-empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #0b2a44;
    color: #fff;
}

.student-document-requirement-head .rbac-svg,
.student-document-loaded-icon .rbac-svg,
.student-documents-empty .rbac-svg {
    width: 23px;
    height: 23px;
}

.student-document-requirement-head strong,
.student-document-loaded-main strong,
.student-documents-empty strong,
.student-documents-security-list strong {
    color: var(--doc-navy);
    font-weight: 950;
}

.student-document-requirement-head small,
.student-document-requirement-card p,
.student-document-loaded-main small,
.student-document-loaded-main p,
.student-document-loaded-meta span,
.student-documents-empty p,
.student-documents-security-list span {
    color: var(--doc-muted);
    font-weight: 800;
}

.student-document-requirement-card p,
.student-document-loaded-main p {
    margin: 0;
    line-height: 1.45;
}

.student-documents-upload-form {
    display: grid;
    gap: 1rem;
}

.student-documents-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.student-documents-upload-grid label {
    display: grid;
    gap: .45rem;
    color: var(--doc-navy);
    font-weight: 900;
}

.student-documents-upload-grid input,
.student-documents-upload-grid select {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--doc-navy);
    font: inherit;
    font-weight: 800;
}

.student-documents-upload-hint {
    padding: .9rem 1rem;
    border-radius: 16px;
    background: var(--doc-soft);
    color: var(--doc-muted);
    font-weight: 850;
    border: 1px solid rgba(9,35,58,.08);
}

.student-documents-form-actions {
    display: flex;
    justify-content: flex-end;
}

.student-documents-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .85rem;
}

.student-documents-pills button {
    min-height: 38px;
    padding: 0 .85rem;
    border: 1px solid rgba(9,35,58,.10);
    border-radius: 999px;
    background: #fff;
    color: var(--doc-muted);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.student-documents-pills button.is-active {
    background: #fff8e6;
    color: var(--doc-gold);
    border-color: rgba(184,134,11,.35);
}

.student-document-loaded-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(230px, auto);
    gap: .85rem;
    align-items: start;
    padding: .95rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(9,35,58,.05);
}

.student-document-loaded-row.is-danger {
    border-color: rgba(153,27,27,.18);
}

.student-document-loaded-row.is-success .student-document-loaded-icon {
    background: #0f5132;
}

.student-document-loaded-row.is-danger .student-document-loaded-icon {
    background: #7f1d1d;
}

.student-document-loaded-meta {
    display: grid;
    justify-items: end;
    gap: .35rem;
}

.student-document-download {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--doc-gold);
    font-weight: 950;
    text-decoration: none;
}

.student-document-download .rbac-svg {
    width: 16px;
    height: 16px;
}

.student-documents-security-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
    gap: 1.1rem;
    align-items: start;
}

.student-documents-security-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(9,35,58,.08);
    background: var(--doc-soft);
}

.student-documents-security-list .rbac-svg {
    width: 24px;
    height: 24px;
    color: var(--doc-gold);
}

.student-documents-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.1rem;
    border: 1px dashed rgba(9,35,58,.18);
    border-radius: 18px;
    background: var(--doc-soft);
}

.student-documents-empty-text {
    margin: 0;
    padding: 1rem;
    border-radius: 16px;
    background: var(--doc-soft);
    color: var(--doc-muted);
    font-weight: 850;
}

@media (max-width: 1180px) {
    .student-documents-workspace,
    .student-documents-security-grid,
    .student-documents-upload-grid,
    .student-documents-mini-metrics,
    .student-document-requirement-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .student-documents-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .student-documents-tabs-modern a {
        border-radius: 16px;
    }

    .student-document-requirement-head,
    .student-document-loaded-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .student-document-requirement-head .student-documents-status-chip,
    .student-document-loaded-meta {
        grid-column: 2;
        justify-items: start;
    }

    .student-documents-form-actions {
        justify-content: flex-start;
    }
}
/* === ATENEA STUDENTS DOCUMENTS MODERN V1 END === */

/* === ATENEA STUDENTS PROFILE CONTACT MODERN V1 START === */
.atenea-students-profile-modern,
.atenea-students-contact-modern {
    --student-navy: #09233a;
    --student-muted: #687789;
    --student-gold: #b8860b;
    --student-soft: #f8fafc;
}

.students-profile-tabs-modern,
.students-contact-tabs-modern {
    margin: 1rem 0 1.25rem;
}

.students-profile-tabs-modern a,
.students-contact-tabs-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    padding: 0 1.25rem;
    border: 1px solid rgba(9,35,58,.12);
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.9);
    color: var(--student-muted);
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(9,35,58,.06);
}

.students-profile-tabs-modern a.is-active,
.students-profile-tabs-modern a[aria-selected="true"],
.students-contact-tabs-modern a.is-active,
.students-contact-tabs-modern a[aria-selected="true"] {
    color: var(--student-gold);
    border-bottom-color: var(--student-gold);
    box-shadow: inset 0 -3px 0 var(--student-gold), 0 16px 30px rgba(9,35,58,.08);
}

.students-profile-tabs-modern .rbac-svg,
.students-contact-tabs-modern .rbac-svg,
.students-profile-hero-meta .rbac-svg,
.students-contact-hero-meta .rbac-svg {
    width: 18px;
    height: 18px;
}

.students-profile-section:not(.is-active),
.students-contact-section:not(.is-active) {
    display: none !important;
}

.students-profile-section.is-active,
.students-contact-section.is-active {
    animation: studentsProfileContactSectionIn .18s ease-out;
}

@keyframes studentsProfileContactSectionIn {
    from {
        opacity: .55;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.students-profile-hero-meta,
.students-contact-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.students-profile-hero-meta span,
.students-contact-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #23384f;
    font-weight: 850;
}

.students-profile-hero-meta .rbac-svg,
.students-contact-hero-meta .rbac-svg {
    color: var(--student-gold);
}

.students-profile-workspace,
.students-contact-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
    gap: 1.1rem;
    align-items: start;
}

.students-profile-summary-card,
.students-profile-side-card,
.students-profile-form-card,
.students-profile-security-card,
.students-contact-summary-card,
.students-contact-side-card,
.students-contact-form-card,
.students-contact-security-card {
    padding: 1.2rem;
}

.students-profile-detail-grid,
.students-contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.students-profile-detail-grid div,
.students-contact-detail-grid div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--student-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.students-profile-detail-grid span,
.students-contact-detail-grid span {
    display: block;
    color: var(--student-muted);
    font-weight: 850;
}

.students-profile-detail-grid strong,
.students-contact-detail-grid strong {
    display: block;
    margin-top: .25rem;
    color: var(--student-navy);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.students-contact-detail-full {
    grid-column: 1 / -1;
}

.students-profile-mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.students-profile-mini-metrics div {
    padding: .85rem;
    border-radius: 16px;
    background: var(--student-soft);
    border: 1px solid rgba(9,35,58,.08);
}

.students-profile-mini-metrics span {
    display: block;
    color: var(--student-muted);
    font-weight: 850;
}

.students-profile-mini-metrics strong {
    display: block;
    margin-top: .25rem;
    color: var(--student-navy);
    font-weight: 950;
}

.students-profile-guidance,
.students-contact-guidance {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(184,134,11,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,248,230,.94), rgba(255,255,255,.9));
    color: var(--student-navy);
}

.students-profile-guidance p,
.students-contact-guidance p {
    margin: 0;
    color: var(--student-muted);
    font-weight: 800;
    line-height: 1.45;
}

.students-profile-form,
.students-contact-form {
    display: grid;
    gap: 1rem;
}

.students-profile-form-grid,
.students-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.students-profile-form-grid label,
.students-contact-form-grid label {
    display: grid;
    gap: .45rem;
    color: var(--student-navy);
    font-weight: 900;
}

.students-profile-form-grid input,
.students-contact-form-grid input {
    width: 100%;
    min-height: 50px;
    padding: .75rem .9rem;
    border: 1px solid rgba(9,35,58,.14);
    border-radius: 15px;
    background: #fff;
    color: var(--student-navy);
    font: inherit;
    font-weight: 800;
}

.students-profile-form-grid input:disabled,
.students-contact-form-grid input:disabled {
    background: #f3f5f8;
    color: #7a8796;
}

.students-contact-form-full {
    grid-column: 1 / -1;
}

.students-profile-form-actions,
.students-contact-form-actions {
    display: flex;
    justify-content: flex-end;
}

.students-profile-security-grid,
.students-contact-security-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
}

.students-profile-guidance-list,
.students-contact-guidance-list {
    display: grid;
    gap: .8rem;
}

.students-profile-guidance-list article,
.students-contact-guidance-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(9,35,58,.08);
    background: var(--student-soft);
}

.students-profile-guidance-list .rbac-svg,
.students-contact-guidance-list .rbac-svg {
    width: 24px;
    height: 24px;
    color: var(--student-gold);
}

.students-profile-guidance-list strong,
.students-contact-guidance-list strong {
    display: block;
    color: var(--student-navy);
    font-weight: 950;
}

.students-profile-guidance-list span,
.students-contact-guidance-list span {
    display: block;
    margin-top: .2rem;
    color: var(--student-muted);
    font-weight: 800;
    line-height: 1.45;
}

.students-contact-progress-shell {
    display: grid;
    gap: .65rem;
    padding: 1rem;
    border: 1px solid rgba(9,35,58,.08);
    border-radius: 18px;
    background: var(--student-soft);
}

.students-contact-progress-label {
    display: flex;
    align-items: baseline;
    gap: .55rem;
}

.students-contact-progress-label strong {
    color: var(--student-navy);
    font-size: 1.7rem;
    font-weight: 950;
}

.students-contact-progress-label span {
    color: var(--student-muted);
    font-weight: 850;
}

.students-contact-progress-track {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(9,35,58,.10);
}

.students-contact-progress-track span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #b8860b, #d9a520);
    transition: width .35s ease;
}

@media (max-width: 1180px) {
    .students-profile-workspace,
    .students-contact-workspace,
    .students-profile-detail-grid,
    .students-contact-detail-grid,
    .students-profile-form-grid,
    .students-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .students-contact-form-full,
    .students-contact-detail-full {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .students-profile-tabs-modern,
    .students-contact-tabs-modern {
        display: grid;
        grid-template-columns: 1fr;
    }

    .students-profile-tabs-modern a,
    .students-contact-tabs-modern a {
        border-radius: 16px;
    }

    .students-profile-form-actions,
    .students-contact-form-actions {
        justify-content: flex-start;
    }
}
/* === ATENEA STUDENTS PROFILE CONTACT MODERN V1 END === */

/* === ATENEA NAVBAR ACTIVE VISIBILITY V1 START === */
body.atenea-app-page .atenea-topnav-menu {
    scroll-behavior: smooth !important;
    scroll-padding-inline: 26px !important;
    overscroll-behavior-inline: contain !important;
}

body.atenea-app-page .atenea-topnav-menu .atenea-nav-item {
    scroll-margin-inline: 30px !important;
}

body.atenea-app-page .atenea-topnav-menu .atenea-nav-item.is-active {
    box-shadow: 0 0 0 1px rgba(201, 164, 92, .26), 0 10px 24px rgba(0, 0, 0, .12) !important;
}
/* === ATENEA NAVBAR ACTIVE VISIBILITY V1 END === */

/* === ATENEA DASHBOARD EXECUTIVE VISUAL V2 START === */
.atenea-dashboard-executive {
    --exec-navy: #09233a;
    --exec-muted: #66768a;
    --exec-gold: #b8860b;
    --exec-soft: #f8fafc;
    --exec-blue: #0f4c81;
    --exec-red: #9f1239;
    --exec-violet: #5b3b8c;
}

.dashboard-executive-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
    gap: 1.25rem;
    align-items: stretch;
}

.dashboard-hero-command {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    align-content: center;
}

.dashboard-hero-command article {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(9,35,58,.10);
    box-shadow: 0 16px 34px rgba(9,35,58,.08);
}

.dashboard-hero-command span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #09233a;
    color: #fff;
}

.dashboard-hero-command .rbac-svg {
    width: 22px;
    height: 22px;
}

.dashboard-hero-command strong {
    color: var(--exec-navy);
    font-size: 1.65rem;
    font-weight: 950;
}

.dashboard-hero-command small {
    color: var(--exec-muted);
    font-weight: 900;
}

.dashboard-executive-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .9rem;
    margin: 1rem 0 1.2rem;
}

.dashboard-exec-kpi {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    min-height: 118px;
    padding: 1rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(9,35,58,.08);
    box-shadow: 0 18px 40px rgba(9,35,58,.06);
}

.dashboard-exec-kpi > span {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--exec-navy);
    color: #fff;
}

.dashboard-exec-kpi.is-gold > span {
    background: var(--exec-gold);
}

.dashboard-exec-kpi.is-violet > span {
    background: var(--exec-violet);
}

.dashboard-exec-kpi.is-blue > span {
    background: var(--exec-blue);
}

.dashboard-exec-kpi.is-red > span {
    background: var(--exec-red);
}

.dashboard-exec-kpi .rbac-svg {
    width: 26px;
    height: 26px;
}

.dashboard-exec-kpi small,
.dashboard-exec-kpi em {
    display: block;
    color: var(--exec-muted);
    font-style: normal;
    font-weight: 850;
}

.dashboard-exec-kpi strong {
    display: block;
    margin: .15rem 0;
    color: var(--exec-navy);
    font-size: 1.85rem;
    font-weight: 950;
}

.dashboard-filter-card-v2 {
    border: 1px solid rgba(184,134,11,.18);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,230,.72));
}

.dashboard-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-command-card {
    padding: 1.2rem;
}

.dashboard-pulse-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.dashboard-pulse-grid div,
.dashboard-login-outcome div {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(9,35,58,.08);
    background: var(--exec-soft);
}

.dashboard-pulse-grid span,
.dashboard-login-outcome span {
    display: block;
    color: var(--exec-muted);
    font-weight: 850;
}

.dashboard-pulse-grid strong,
.dashboard-login-outcome strong {
    display: block;
    margin-top: .25rem;
    color: var(--exec-navy);
    font-size: 1.4rem;
    font-weight: 950;
}

.dashboard-pulse-grid small {
    color: var(--exec-muted);
    font-weight: 800;
}

.dashboard-exec-bar-list,
.dashboard-ecosystem-card {
    display: grid;
    gap: .75rem;
}

.dashboard-exec-bar-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(120px, 2fr) auto;
    gap: .75rem;
    align-items: center;
    padding: .72rem .8rem;
    border-radius: 16px;
    background: var(--exec-soft);
    border: 1px solid rgba(9,35,58,.07);
}

.dashboard-exec-bar-row > span {
    color: var(--exec-navy);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.dashboard-exec-bar-row strong {
    color: var(--exec-navy);
    font-weight: 950;
}

.dashboard-trend-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-trend-card {
    padding: 1rem;
}

.dashboard-trend-card h2 {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .85rem;
    color: var(--exec-navy);
    font-size: 1rem;
    font-weight: 950;
}

.dashboard-trend-card .rbac-svg {
    width: 20px;
    height: 20px;
    color: var(--exec-gold);
}

.dashboard-spark-bars {
    display: grid;
    grid-template-columns: repeat(14, minmax(6px, 1fr));
    align-items: end;
    gap: .35rem;
    min-height: 88px;
}

.dashboard-spark-bars span {
    display: block;
    min-height: 8px;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, #d9a520, #09233a);
}

.dashboard-spark-bars .dash-fill-0 {
    min-height: 6px;
    opacity: .28;
}

.dashboard-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-ecosystem-card {
    padding: 1.15rem;
}

.dashboard-ecosystem-card h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .85rem;
    color: var(--exec-navy);
    font-size: 1.05rem;
    font-weight: 950;
}

.dashboard-ecosystem-card .rbac-svg {
    width: 21px;
    height: 21px;
    color: var(--exec-gold);
}

.dashboard-login-outcome {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .25rem;
}

.dashboard-feed-card .dashboard-ticket-list article {
    border-left: 4px solid rgba(184,134,11,.55);
}

@media (max-width: 1280px) {
    .dashboard-executive-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-executive-hero,
    .dashboard-command-grid,
    .dashboard-ecosystem-grid,
    .dashboard-trend-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .dashboard-executive-kpis,
    .dashboard-hero-command,
    .dashboard-pulse-grid,
    .dashboard-login-outcome {
        grid-template-columns: 1fr;
    }

    .dashboard-exec-bar-row {
        grid-template-columns: 1fr;
    }
}
/* === ATENEA DASHBOARD EXECUTIVE VISUAL V2 END === */

/* === ATENEA DASHBOARD SPARKLINE SCALE FIX V1 START === */
.atenea-dashboard-executive .dashboard-trend-strip {
    align-items: stretch !important;
}

.atenea-dashboard-executive .dashboard-trend-card {
    min-height: 190px !important;
    display: grid !important;
    grid-template-rows: auto minmax(112px, 1fr) !important;
    gap: .75rem !important;
}

.atenea-dashboard-executive .dashboard-spark-bars {
    min-height: 118px !important;
    height: 118px !important;
    align-items: end !important;
    padding: .9rem .35rem .15rem !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(9,35,58,.035), rgba(9,35,58,.015)),
        repeating-linear-gradient(180deg, transparent 0, transparent 23px, rgba(9,35,58,.06) 24px);
    border: 1px solid rgba(9,35,58,.07);
}

.atenea-dashboard-executive .dashboard-spark-bars span {
    width: 100% !important;
    min-height: 8px !important;
    border-radius: 999px 999px 7px 7px !important;
    background: linear-gradient(180deg, #d9a520 0%, #b8860b 42%, #09233a 100%) !important;
    box-shadow: 0 8px 16px rgba(9,35,58,.16) !important;
    transition: transform .18s ease, opacity .18s ease !important;
}

.atenea-dashboard-executive .dashboard-spark-bars span:hover {
    transform: translateY(-3px) !important;
    opacity: .9 !important;
}

.dashboard-spark-bars .dash-fill-0 { height: 6% !important; }
.dashboard-spark-bars .dash-fill-1 { height: 6% !important; }
.dashboard-spark-bars .dash-fill-2 { height: 6% !important; }
.dashboard-spark-bars .dash-fill-3 { height: 6% !important; }
.dashboard-spark-bars .dash-fill-4 { height: 6% !important; }
.dashboard-spark-bars .dash-fill-5 { height: 6% !important; }
.dashboard-spark-bars .dash-fill-6 { height: 6% !important; }
.dashboard-spark-bars .dash-fill-7 { height: 7% !important; }
.dashboard-spark-bars .dash-fill-8 { height: 8% !important; }
.dashboard-spark-bars .dash-fill-9 { height: 9% !important; }
.dashboard-spark-bars .dash-fill-10 { height: 10% !important; }
.dashboard-spark-bars .dash-fill-11 { height: 11% !important; }
.dashboard-spark-bars .dash-fill-12 { height: 12% !important; }
.dashboard-spark-bars .dash-fill-13 { height: 13% !important; }
.dashboard-spark-bars .dash-fill-14 { height: 14% !important; }
.dashboard-spark-bars .dash-fill-15 { height: 15% !important; }
.dashboard-spark-bars .dash-fill-16 { height: 16% !important; }
.dashboard-spark-bars .dash-fill-17 { height: 17% !important; }
.dashboard-spark-bars .dash-fill-18 { height: 18% !important; }
.dashboard-spark-bars .dash-fill-19 { height: 19% !important; }
.dashboard-spark-bars .dash-fill-20 { height: 20% !important; }
.dashboard-spark-bars .dash-fill-21 { height: 21% !important; }
.dashboard-spark-bars .dash-fill-22 { height: 22% !important; }
.dashboard-spark-bars .dash-fill-23 { height: 23% !important; }
.dashboard-spark-bars .dash-fill-24 { height: 24% !important; }
.dashboard-spark-bars .dash-fill-25 { height: 25% !important; }
.dashboard-spark-bars .dash-fill-26 { height: 26% !important; }
.dashboard-spark-bars .dash-fill-27 { height: 27% !important; }
.dashboard-spark-bars .dash-fill-28 { height: 28% !important; }
.dashboard-spark-bars .dash-fill-29 { height: 29% !important; }
.dashboard-spark-bars .dash-fill-30 { height: 30% !important; }
.dashboard-spark-bars .dash-fill-31 { height: 31% !important; }
.dashboard-spark-bars .dash-fill-32 { height: 32% !important; }
.dashboard-spark-bars .dash-fill-33 { height: 33% !important; }
.dashboard-spark-bars .dash-fill-34 { height: 34% !important; }
.dashboard-spark-bars .dash-fill-35 { height: 35% !important; }
.dashboard-spark-bars .dash-fill-36 { height: 36% !important; }
.dashboard-spark-bars .dash-fill-37 { height: 37% !important; }
.dashboard-spark-bars .dash-fill-38 { height: 38% !important; }
.dashboard-spark-bars .dash-fill-39 { height: 39% !important; }
.dashboard-spark-bars .dash-fill-40 { height: 40% !important; }
.dashboard-spark-bars .dash-fill-41 { height: 41% !important; }
.dashboard-spark-bars .dash-fill-42 { height: 42% !important; }
.dashboard-spark-bars .dash-fill-43 { height: 43% !important; }
.dashboard-spark-bars .dash-fill-44 { height: 44% !important; }
.dashboard-spark-bars .dash-fill-45 { height: 45% !important; }
.dashboard-spark-bars .dash-fill-46 { height: 46% !important; }
.dashboard-spark-bars .dash-fill-47 { height: 47% !important; }
.dashboard-spark-bars .dash-fill-48 { height: 48% !important; }
.dashboard-spark-bars .dash-fill-49 { height: 49% !important; }
.dashboard-spark-bars .dash-fill-50 { height: 50% !important; }
.dashboard-spark-bars .dash-fill-51 { height: 51% !important; }
.dashboard-spark-bars .dash-fill-52 { height: 52% !important; }
.dashboard-spark-bars .dash-fill-53 { height: 53% !important; }
.dashboard-spark-bars .dash-fill-54 { height: 54% !important; }
.dashboard-spark-bars .dash-fill-55 { height: 55% !important; }
.dashboard-spark-bars .dash-fill-56 { height: 56% !important; }
.dashboard-spark-bars .dash-fill-57 { height: 57% !important; }
.dashboard-spark-bars .dash-fill-58 { height: 58% !important; }
.dashboard-spark-bars .dash-fill-59 { height: 59% !important; }
.dashboard-spark-bars .dash-fill-60 { height: 60% !important; }
.dashboard-spark-bars .dash-fill-61 { height: 61% !important; }
.dashboard-spark-bars .dash-fill-62 { height: 62% !important; }
.dashboard-spark-bars .dash-fill-63 { height: 63% !important; }
.dashboard-spark-bars .dash-fill-64 { height: 64% !important; }
.dashboard-spark-bars .dash-fill-65 { height: 65% !important; }
.dashboard-spark-bars .dash-fill-66 { height: 66% !important; }
.dashboard-spark-bars .dash-fill-67 { height: 67% !important; }
.dashboard-spark-bars .dash-fill-68 { height: 68% !important; }
.dashboard-spark-bars .dash-fill-69 { height: 69% !important; }
.dashboard-spark-bars .dash-fill-70 { height: 70% !important; }
.dashboard-spark-bars .dash-fill-71 { height: 71% !important; }
.dashboard-spark-bars .dash-fill-72 { height: 72% !important; }
.dashboard-spark-bars .dash-fill-73 { height: 73% !important; }
.dashboard-spark-bars .dash-fill-74 { height: 74% !important; }
.dashboard-spark-bars .dash-fill-75 { height: 75% !important; }
.dashboard-spark-bars .dash-fill-76 { height: 76% !important; }
.dashboard-spark-bars .dash-fill-77 { height: 77% !important; }
.dashboard-spark-bars .dash-fill-78 { height: 78% !important; }
.dashboard-spark-bars .dash-fill-79 { height: 79% !important; }
.dashboard-spark-bars .dash-fill-80 { height: 80% !important; }
.dashboard-spark-bars .dash-fill-81 { height: 81% !important; }
.dashboard-spark-bars .dash-fill-82 { height: 82% !important; }
.dashboard-spark-bars .dash-fill-83 { height: 83% !important; }
.dashboard-spark-bars .dash-fill-84 { height: 84% !important; }
.dashboard-spark-bars .dash-fill-85 { height: 85% !important; }
.dashboard-spark-bars .dash-fill-86 { height: 86% !important; }
.dashboard-spark-bars .dash-fill-87 { height: 87% !important; }
.dashboard-spark-bars .dash-fill-88 { height: 88% !important; }
.dashboard-spark-bars .dash-fill-89 { height: 89% !important; }
.dashboard-spark-bars .dash-fill-90 { height: 90% !important; }
.dashboard-spark-bars .dash-fill-91 { height: 91% !important; }
.dashboard-spark-bars .dash-fill-92 { height: 92% !important; }
.dashboard-spark-bars .dash-fill-93 { height: 93% !important; }
.dashboard-spark-bars .dash-fill-94 { height: 94% !important; }
.dashboard-spark-bars .dash-fill-95 { height: 95% !important; }
.dashboard-spark-bars .dash-fill-96 { height: 96% !important; }
.dashboard-spark-bars .dash-fill-97 { height: 97% !important; }
.dashboard-spark-bars .dash-fill-98 { height: 98% !important; }
.dashboard-spark-bars .dash-fill-99 { height: 99% !important; }
.dashboard-spark-bars .dash-fill-100 { height: 100% !important; }

.atenea-dashboard-executive .dashboard-spark-bars .dash-fill-0 {
    height: 7px !important;
    opacity: .35 !important;
}

.atenea-dashboard-executive .dashboard-empty {
    margin: .8rem 0 0 !important;
    padding: .9rem 1rem !important;
    border-radius: 16px !important;
    background: rgba(9,35,58,.04) !important;
    border: 1px dashed rgba(9,35,58,.16) !important;
    color: #66768a !important;
    font-weight: 850 !important;
}
/* === ATENEA DASHBOARD SPARKLINE SCALE FIX V1 END === */

/* === ATENEA DASHBOARD HORIZONTAL BAR FILL FIX V1 START === */
.atenea-dashboard-executive .dashboard-track,
.atenea-dashboard-executive .metric-bar.dashboard-track {
    position: relative !important;
    display: block !important;
    height: 13px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #e8edf3 !important;
    border: 1px solid rgba(9,35,58,.06) !important;
    box-shadow: inset 0 1px 2px rgba(9,35,58,.06) !important;
}

.atenea-dashboard-executive .dashboard-track i,
.atenea-dashboard-executive .metric-bar.dashboard-track i {
    display: block !important;
    height: 100% !important;
    min-width: 8px !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #09233a 0%, #b8860b 72%, #d9a520 100%) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 8px 18px rgba(9,35,58,.18) !important;
}

.atenea-dashboard-executive .dashboard-track i.dash-fill-0,
.atenea-dashboard-executive .metric-bar.dashboard-track i.dash-fill-0 {
    min-width: 0 !important;
    width: 0 !important;
    opacity: .18 !important;
}

.atenea-dashboard-executive .dashboard-track .dash-fill-0 { width: 0% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-1 { width: 1% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-2 { width: 2% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-3 { width: 3% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-4 { width: 4% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-5 { width: 5% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-6 { width: 6% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-7 { width: 7% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-8 { width: 8% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-9 { width: 9% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-10 { width: 10% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-11 { width: 11% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-12 { width: 12% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-13 { width: 13% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-14 { width: 14% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-15 { width: 15% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-16 { width: 16% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-17 { width: 17% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-18 { width: 18% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-19 { width: 19% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-20 { width: 20% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-21 { width: 21% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-22 { width: 22% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-23 { width: 23% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-24 { width: 24% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-25 { width: 25% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-26 { width: 26% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-27 { width: 27% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-28 { width: 28% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-29 { width: 29% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-30 { width: 30% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-31 { width: 31% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-32 { width: 32% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-33 { width: 33% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-34 { width: 34% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-35 { width: 35% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-36 { width: 36% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-37 { width: 37% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-38 { width: 38% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-39 { width: 39% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-40 { width: 40% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-41 { width: 41% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-42 { width: 42% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-43 { width: 43% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-44 { width: 44% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-45 { width: 45% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-46 { width: 46% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-47 { width: 47% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-48 { width: 48% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-49 { width: 49% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-50 { width: 50% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-51 { width: 51% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-52 { width: 52% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-53 { width: 53% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-54 { width: 54% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-55 { width: 55% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-56 { width: 56% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-57 { width: 57% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-58 { width: 58% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-59 { width: 59% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-60 { width: 60% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-61 { width: 61% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-62 { width: 62% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-63 { width: 63% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-64 { width: 64% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-65 { width: 65% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-66 { width: 66% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-67 { width: 67% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-68 { width: 68% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-69 { width: 69% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-70 { width: 70% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-71 { width: 71% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-72 { width: 72% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-73 { width: 73% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-74 { width: 74% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-75 { width: 75% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-76 { width: 76% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-77 { width: 77% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-78 { width: 78% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-79 { width: 79% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-80 { width: 80% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-81 { width: 81% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-82 { width: 82% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-83 { width: 83% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-84 { width: 84% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-85 { width: 85% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-86 { width: 86% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-87 { width: 87% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-88 { width: 88% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-89 { width: 89% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-90 { width: 90% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-91 { width: 91% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-92 { width: 92% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-93 { width: 93% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-94 { width: 94% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-95 { width: 95% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-96 { width: 96% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-97 { width: 97% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-98 { width: 98% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-99 { width: 99% !important; }
.atenea-dashboard-executive .dashboard-track .dash-fill-100 { width: 100% !important; }

.atenea-dashboard-executive .dashboard-exec-bar-row {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

.atenea-dashboard-executive .dashboard-exec-bar-row:hover {
    border-color: rgba(184,134,11,.24) !important;
    box-shadow: 0 12px 24px rgba(9,35,58,.06) !important;
}
/* === ATENEA DASHBOARD HORIZONTAL BAR FILL FIX V1 END === */

/* === GLOBAL RESPONSIVE SAFETY PATCH (2026-05-09) === */
img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

.container,
.card,
.modal__dialog,
.atenea-login-card {
    min-width: 0;
}

.atenea-main,
.stack,
.grid-form,
.kpi-grid,
.grid-3,
.dashboard-grid,
.dashboard-chart-grid,
.students-portal-grid,
.students-portal-kpi {
    min-width: 0;
}

/* Evita desbordes por contenido largo */
.card,
th,
td,
.atenea-nav-item,
.atenea-brand-text,
.students-portal-module,
.chart-label,
code {
    overflow-wrap: anywhere;
}

.table-scroll,
.atenea-topnav-menu {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 760px) {
    .container {
        width: 100%;
        margin: 0;
        padding: 0.75rem;
    }

    .card {
        padding: 0.9rem;
        border-radius: 10px;
    }

    .grid-form,
    .inline-grid-form,
    .dashboard-time-filter {
        grid-template-columns: 1fr;
    }

    .metric-row,
    .chart-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .audit-toolbar,
    .audit-pagination,
    .inline-status-form {
        flex-direction: column;
        align-items: stretch;
    }

    .audit-pagination {
        gap: 0.45rem;
    }

    .button-link,
    button {
        width: 100%;
    }

    .inline-status-form select {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 520px) {
    body.atenea-app-page .atenea-main {
        padding-inline: 0.6rem;
    }

    .badge,
    .students-status-chip {
        max-width: 100%;
        white-space: normal;
    }

    table {
        font-size: 0.84rem;
    }
}
