:root {
    /* Paleta derivada del logo: el verde menta es el color principal. */
    --brand-950: #244c3d;
    --brand-900: #2f6b52;
    --brand-800: #3f8966;
    --brand-700: #53a97c;
    --brand-600: #72c09b;
    --brand-500: #8ccfb1;
    --brand-100: #dff4ea;
    --brand-50: #f4fbf7;
    --brand-primary: #72c09b;
    --blue-500: #2d8fc4;
    --lime-500: #b5d83e;
    --gold-500: #f3aa17;
    --ink: #28443a;
    --muted: #66766f;
    --surface: #f6faf8;
    --surface-strong: #e8f3ed;
    --border: #d4e5dc;
    --white: #fff;
    --shadow-sm: 0 8px 24px rgba(47, 107, 82, .09);
    --shadow-lg: 0 24px 64px rgba(47, 107, 82, .17);
    --radius-sm: .75rem;
    --radius-md: 1.25rem;
    --radius-lg: 2rem;
}

html { scroll-behavior: smooth; }
body {
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--brand-700); text-underline-offset: .2em; }
a:hover { color: var(--brand-900); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 750; line-height: 1.16; letter-spacing: -.025em; }
p { color: var(--muted); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1100; padding: .75rem 1rem; color: #fff; background: var(--brand-900); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 1030; transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(47,107,82,.14); }
.navbar { min-height: 82px; border-bottom: 1px solid rgba(215,226,220,.7); }
.navbar-brand { width: 100px; height: 82px; display: grid; place-items: center; overflow: hidden; padding: 0; }
.brand-logo { display: block; width: 92px; height: 72px; object-fit: contain; object-position: center; transform: scale(1.65); }
.navbar .nav-link { color: #2e453d; font-size: 1rem; font-weight: 700; padding: .8rem .75rem !important; border-radius: .6rem; }
.navbar .nav-link:hover, .navbar .nav-link:focus, .navbar .nav-link.active { color: var(--brand-800); background: var(--brand-50); }
.dropdown-menu { padding: .65rem; border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow-lg); }
.dropdown-item { padding: .65rem .8rem; border-radius: .55rem; font-weight: 600; }
.dropdown-item:active, .dropdown-item:hover { color: var(--brand-900); background: var(--brand-50); }
.navbar-toggler { border-color: var(--border); }

.btn { border-radius: .75rem; font-size: 1rem; font-weight: 700; padding: .72rem 1.1rem; }
.btn-brand { color: var(--ink); background: var(--brand-primary); border-color: var(--brand-primary); box-shadow: 0 8px 20px rgba(83,169,124,.2); }
.btn-brand:hover, .btn-brand:focus { color: #fff; background: var(--brand-900); border-color: var(--brand-900); transform: translateY(-1px); }
.btn-outline-brand { color: var(--brand-800); background: transparent; border-color: var(--brand-800); }
.btn-outline-brand:hover, .btn-outline-brand:focus { color: #fff; background: var(--brand-900); border-color: var(--brand-900); }
.btn-soft { color: var(--brand-900); background: var(--brand-50); border: 1px solid var(--brand-100); }
.btn-soft:hover { color: var(--ink); background: var(--brand-primary); border-color: var(--brand-primary); }

.page-hero { padding: clamp(1rem, 2vw, 1.5rem) 0; background: linear-gradient(135deg, var(--brand-900), var(--brand-600)); color: #fff; overflow: hidden; position: relative; }
.page-hero::after { content: ""; position: absolute; width: 32rem; height: 32rem; right: -12rem; top: -18rem; border: 5rem solid rgba(255,255,255,.05); border-radius: 50%; }
.page-hero h1, .page-hero p { color: #fff; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero p { max-width: 44rem; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .9rem; color: var(--brand-700); font-size: .9rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-hero .eyebrow { color: #e5f7ee; }
.section-space { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { overflow-x: hidden; background: var(--surface); }
.section-heading { max-width: 45rem; margin-bottom: 2.25rem; }
.section-heading.text-center { margin-inline: auto; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

.home-carousel { position: relative; background: var(--surface-strong); }
.home-carousel .carousel-item { transition-duration: .65s; }
.home-hero { position: relative; min-height: 690px; overflow: hidden; }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-slide-center { object-position: center; }
.home-slide-right { object-position: right center; }
.home-slide-layout { position: relative; z-index: 1; min-height: 690px; display: flex; align-items: center; padding-top: 3.5rem; padding-bottom: 5.5rem; }
.home-hero-content { max-width: 760px; padding: clamp(2rem, 4vw, 3.25rem); background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.78)); border: 1px solid rgba(255,255,255,.72); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(12px) saturate(.9); backdrop-filter: blur(12px) saturate(.9); }
.home-hero h1, .home-slide-title { max-width: 700px; color: var(--ink); font-size: clamp(2.5rem, 5vw, 3.85rem); }
.home-hero .lead { max-width: 650px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.35rem); }
.hero-kicker { display: inline-flex; padding: .48rem .85rem; color: var(--brand-900); border: 1px solid var(--brand-100); border-radius: 999px; background: var(--brand-50); font-size: .92rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-carousel-control { width: 46px; height: 46px; top: 50%; bottom: auto; margin: 0 1rem; background: rgba(47,107,82,.88); border-radius: 50%; opacity: .88; transform: translateY(-50%); }
.home-carousel-control:hover, .home-carousel-control:focus { opacity: 1; }
.home-carousel-control .carousel-control-next-icon, .home-carousel-control .carousel-control-prev-icon { width: 1.2rem; height: 1.2rem; }
.home-carousel-indicators { bottom: 3.9rem; gap: .35rem; margin-bottom: 0; }
.home-carousel-indicators [data-bs-target] { width: 11px; height: 11px; margin: 0; background-color: #fff; border: 2px solid var(--brand-900); border-radius: 50%; opacity: .85; }
.home-carousel-indicators .active { background-color: var(--brand-primary); opacity: 1; }
.home-carousel-pause { position: absolute; right: 4.8rem; bottom: 3.55rem; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid var(--border); border-radius: 50%; box-shadow: var(--shadow-sm); }
.home-carousel-pause:hover, .home-carousel-pause:focus { background: #fff; }
.hero-stats { margin-top: -2.6rem; position: relative; z-index: 2; }
.stat-strip { padding: 1.3rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.stat-item { padding: .5rem 1.25rem; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: 0; }
.stat-value { display: block; color: var(--brand-800); font-size: 1.55rem; font-weight: 850; }
.stat-label { color: var(--muted); font-size: 1rem; }

.feature-card, .content-card, .contact-card, .convention-card, .dashboard-card { height: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.feature-card { padding: 1.75rem; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-box { width: 3.25rem; height: 3.25rem; display: inline-grid; place-items: center; color: var(--brand-800); background: var(--brand-50); border-radius: .9rem; font-size: 1.45rem; }
.content-card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.content-card-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.institutional-jump-nav { padding: .9rem 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.institutional-jump-link { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; color: var(--brand-900); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px; font-size: .95rem; font-weight: 700; text-decoration: none; }
.institutional-jump-link:hover, .institutional-jump-link:focus { color: var(--ink); background: var(--brand-primary); border-color: var(--brand-primary); }
.institutional-statement-card { border-top: 4px solid var(--brand-primary); }
.pillar-card { position: relative; overflow: hidden; }
.pillar-number { position: absolute; right: 1.15rem; top: .65rem; color: var(--brand-100); font-size: 3.2rem; font-weight: 850; line-height: 1; }
.values-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface-strong); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.value-list { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.value-list li { padding: .65rem 1rem; color: var(--brand-900); background: #fff; border: 1px solid var(--border); border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-sm); }
.governance-card { height: 100%; padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.governance-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.member-group { height: 100%; padding: 1.25rem; background: var(--surface); border-radius: 1rem; }
.member-group h4 { margin-bottom: 1rem; color: var(--brand-900); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.member-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.member-list li { position: relative; padding-left: 1.35rem; color: var(--muted); }
.member-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: .45rem; height: .45rem; background: var(--brand-primary); border-radius: 50%; }
.audit-firm { display: grid; place-items: center; margin-bottom: 1.4rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: 1rem; }
.audit-firm-logo { display: block; width: 100%; max-width: 460px; max-height: 105px; object-fit: contain; }
.role-list { display: grid; gap: .85rem; }
.role-list > div { padding: .9rem 1rem; border: 1px solid var(--border); border-radius: .9rem; }
.role-list dt { color: var(--brand-700); font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.role-list dd { margin: .2rem 0 0; color: var(--ink); }
.staff-card { height: 100%; padding: 1.8rem; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.staff-icon { width: 4rem; height: 4rem; display: grid; place-items: center; margin: 0 auto 1rem; color: var(--brand-900); background: var(--brand-100); border-radius: 50%; font-size: 1.65rem; }
.staff-card .meta { display: block; margin-bottom: .55rem; }
.empty-state { padding: clamp(2rem, 6vw, 4rem); text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.empty-state-icon { display: block; margin: 0 auto 1.25rem; color: var(--brand-700); font-size: 3.25rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .8rem; color: var(--muted); }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--brand-700); font-weight: 700; }
.portrait-image { width: 100%; min-height: 420px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.contact-card { display: flex; gap: 1rem; padding: 1.35rem; }
.contact-card p { margin: 0; }
.form-label, label { font-size: 1rem; font-weight: 650; }
.form-control, .form-select { min-height: 52px; border-color: var(--border); border-radius: .75rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand-700); box-shadow: 0 0 0 .25rem rgba(114,192,155,.24); }
textarea.form-control { min-height: 140px; }

.login-section { position: relative; overflow: hidden; padding: clamp(1.25rem, 3vw, 2.25rem) 0 clamp(2.5rem, 6vw, 5rem); background: linear-gradient(145deg, var(--brand-50), #fff 48%, var(--surface-strong)); }
.login-section::before, .login-section::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.login-section::before { width: 24rem; height: 24rem; left: -10rem; bottom: -14rem; background: rgba(114,192,155,.18); }
.login-section::after { width: 18rem; height: 18rem; right: -8rem; top: -10rem; border: 3.5rem solid rgba(181,216,62,.1); }
.login-shell { position: relative; z-index: 1; max-width: 1080px; min-height: 620px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); margin-inline: auto; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.login-welcome { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; overflow: hidden; padding: clamp(2rem, 4vw, 3.5rem); color: #fff; background: linear-gradient(150deg, var(--brand-900), var(--brand-700)); }
.login-welcome::after { content: ""; position: absolute; width: 20rem; height: 20rem; right: -11rem; bottom: -10rem; border: 3.5rem solid rgba(255,255,255,.06); border-radius: 50%; }
.login-welcome > * { position: relative; z-index: 1; }
.login-kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; padding: .45rem .75rem; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .86rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.login-welcome h1 { max-width: 30rem; margin-bottom: 1.25rem; color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.login-welcome p { color: rgba(255,255,255,.84); }
.login-benefits { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.login-benefits li { display: flex; align-items: center; gap: .85rem; color: #fff; font-weight: 650; }
.login-benefits i { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; flex: 0 0 auto; color: var(--brand-950); background: var(--brand-primary); border-radius: .75rem; }
.login-welcome-note { display: flex; align-items: flex-start; gap: .65rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.login-form-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.login-form-heading { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.login-form-heading h2 { margin-bottom: .35rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.login-form-heading p { margin: 0; }
.login-form-icon, .login-modal-icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; flex: 0 0 auto; color: var(--brand-900); background: var(--brand-100); border-radius: 1rem; font-size: 1.45rem; }
.login-form { display: grid; gap: 1.25rem; }
.login-form .form-label { margin-bottom: .45rem; color: var(--ink); }
.login-help-link { padding: 0; color: var(--brand-800); background: transparent; border: 0; font-size: .9rem; font-weight: 700; }
.login-help-link:hover, .login-help-link:focus { color: var(--brand-950); text-decoration: underline; text-underline-offset: .2em; }
.login-input-group .input-group-text { min-width: 3.25rem; justify-content: center; color: var(--brand-800); background: var(--brand-50); border-color: var(--border); border-radius: .75rem 0 0 .75rem; }
.login-input-group .form-control { border-left: 0; }
.login-password-toggle { display: grid; place-items: center; color: var(--brand-800); background: #fff; border: 1px solid var(--border); border-left: 0; border-radius: 0 .75rem .75rem 0; box-shadow: none; }
.login-password-toggle:hover, .login-password-toggle:focus { color: var(--brand-950); background: var(--brand-50); transform: none; }
.login-password-toggle:focus-visible { box-shadow: 0 0 0 .25rem rgba(114,192,155,.24); }
/* Keep the site's accessible toggle without Edge's duplicate reveal button. */
.login-input-group input::-ms-reveal { display: none; }
.login-first-access { display: flex; align-items: flex-start; gap: .8rem; margin-top: 1.5rem; padding: 1rem; background: #fff9e8; border: 1px solid #f3dfa7; border-radius: 1rem; }
.login-first-access i { color: #a97508; }
.login-first-access p { margin: 0; color: #6b571e; font-size: .92rem; }
.login-support { margin-top: 1.25rem; text-align: center; font-size: .95rem; }
.login-help-modal { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.login-help-modal .modal-header, .login-help-modal .modal-footer { border-color: var(--border); }
.login-contact-options { display: grid; gap: .75rem; }
.login-contact-options a { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; color: var(--ink); text-decoration: none; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: .9rem; }
.login-contact-options a:hover, .login-contact-options a:focus { color: var(--brand-900); border-color: var(--brand-600); }
.login-contact-options i { color: var(--brand-700); font-size: 1.25rem; }
.login-contact-options span { overflow-wrap: anywhere; }
.login-contact-options small { display: block; color: var(--muted); }

.account-section { padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem); }
.account-profile-card { top: 105px; height: auto; }
.account-profile-icon { width: 4.5rem; height: 4.5rem; border-radius: 1.15rem; font-size: 2rem; }
.account-details dt { margin-top: .8rem; color: var(--ink); }
.account-details dt:first-child { margin-top: 0; }
.account-details dd { margin-bottom: 0; overflow-wrap: anywhere; }
.account-heading { margin-bottom: 1.35rem; }
.balance-update-banner { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.35rem; padding: 1rem 1.15rem; color: var(--brand-900); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 1rem; }
.balance-update-banner > i { flex: 0 0 auto; color: var(--brand-700); font-size: 1.35rem; }
.balance-update-banner strong, .balance-update-banner span { display: block; }
.balance-update-banner span { margin-top: .15rem; color: var(--muted); font-size: .92rem; }
.account-financial-card { height: auto; }
.account-product { padding: 2rem 0; border-top: 1px solid var(--border); }
.account-product:first-child { padding-top: 0; border-top: 0; }
.account-product:last-child { padding-bottom: 0; }
.account-product > h3 { margin-bottom: .75rem; }
.account-profile-section { padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem); }
.profile-identity-card { top: 105px; height: auto; }
.profile-security-note { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; color: var(--brand-900); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 1rem; }
.profile-security-note i { flex: 0 0 auto; }
.profile-security-note p { margin: 0; color: var(--muted); font-size: .92rem; }
.profile-form { height: auto; }
.validation-summary-valid { display: none; }
.profile-form-section { padding: 2rem 0; border-top: 1px solid var(--border); }
.profile-form-section:first-of-type { padding-top: 0; border-top: 0; }
.profile-section-heading { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.profile-section-heading h2 { margin-bottom: .25rem; }
.profile-section-heading p { margin: 0; }
.profile-section-icon { width: 3rem; height: 3rem; display: grid; place-items: center; flex: 0 0 auto; color: var(--brand-900); background: var(--brand-100); border-radius: .9rem; font-size: 1.35rem; }
.profile-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.profile-form-footer p { max-width: 34rem; margin: 0; font-size: .92rem; }
.profile-form-footer .btn { flex: 0 0 auto; }

.password-change-section { padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem); }
.password-change-shell { max-width: 1050px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: stretch; gap: 1.5rem; margin-inline: auto; }
.password-guidance { padding: clamp(1.75rem, 4vw, 2.75rem); color: #fff; background: linear-gradient(150deg, var(--brand-900), var(--brand-700)); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.password-guidance h2 { color: #fff; }
.password-guidance p { color: rgba(255,255,255,.82); }
.password-guidance .eyebrow { color: var(--brand-100); }
.password-guidance-icon { width: 4rem; height: 4rem; display: grid; place-items: center; color: var(--brand-950); background: var(--brand-primary); border-radius: 1.15rem; font-size: 1.8rem; }
.password-requirements { display: grid; gap: .75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.password-requirements li { display: flex; align-items: flex-start; gap: .65rem; color: #fff; }
.password-requirements i { color: var(--brand-primary); }
.password-security-note { display: flex; align-items: flex-start; gap: .7rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.2); }
.password-security-note p { margin: 0; font-size: .92rem; }
.password-change-form { height: auto; }

.admin-section { padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem); }
.admin-feature-card { min-height: 100%; display: flex; flex-direction: column; }
.admin-feature-card p { flex: 1; }
.admin-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.admin-search-card { padding: 1.35rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.admin-search-card .input-group-text { color: var(--brand-800); }
.admin-result-count { padding: .4rem .75rem; color: var(--brand-900); background: var(--brand-100); border-radius: 999px; font-size: .86rem; font-weight: 750; }
.admin-users-table { min-width: 980px; }
.admin-account-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.admin-account-actions form { margin: 0; }
.account-status-active { color: var(--brand-950); background: var(--brand-primary); }
.suggestion-inbox { display: grid; gap: 1rem; }
.suggestion-card { padding: clamp(1.25rem, 3vw, 1.75rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.suggestion-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; }
.suggestion-card-heading time { color: var(--muted); font-size: .88rem; }
.suggestion-status { display: inline-flex; align-items: center; gap: .45rem; color: var(--brand-900); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.suggestion-status > span { width: .55rem; height: .55rem; background: var(--brand-primary); border-radius: 50%; box-shadow: 0 0 0 .25rem var(--brand-100); }
.suggestion-number { flex: 0 0 auto; padding: .35rem .65rem; color: var(--muted); background: var(--surface); border-radius: .6rem; font-size: .82rem; font-weight: 750; }
.suggestion-message { margin: 1.25rem 0; padding: 1rem 1.1rem; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); border-left: 3px solid var(--brand-600); border-radius: 0 .85rem .85rem 0; }
.suggestion-contact { display: flex; flex-wrap: wrap; gap: .75rem; }
.suggestion-contact a { min-width: 15rem; display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; color: var(--ink); text-decoration: none; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: .8rem; }
.suggestion-contact a:hover, .suggestion-contact a:focus { color: var(--brand-900); border-color: var(--brand-600); }
.suggestion-contact i { color: var(--brand-700); font-size: 1.15rem; }
.suggestion-contact small { display: block; color: var(--muted); font-size: .75rem; }
.indicator-card { height: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.indicator-icon { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; flex: 0 0 auto; color: var(--brand-900); background: var(--brand-100); border-radius: 1rem; font-size: 1.4rem; }
.indicator-card strong { display: block; color: var(--ink); font-size: 2rem; line-height: 1.05; }
.indicator-label { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.indicator-card small { color: var(--muted); }
.indicator-panel, .indicator-table-card { padding: clamp(1.25rem, 3vw, 1.75rem); }
.indicator-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.indicator-panel-heading > i { color: var(--brand-700); font-size: 1.75rem; }
.indicator-progress-item + .indicator-progress-item { margin-top: 1.4rem; }
.indicator-progress-item > div:first-child { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; }
.indicator-progress-item span { color: var(--muted); font-size: .9rem; }
.indicator-progress-item .progress { height: .75rem; background: var(--brand-50); border-radius: 999px; }
.indicator-progress-item .progress-bar { background: linear-gradient(90deg, var(--brand-700), var(--brand-primary)); border-radius: 999px; }
.indicator-detail-list { display: grid; gap: 0; margin: 0; }
.indicator-detail-list > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--border); }
.indicator-detail-list > div:first-child { padding-top: 0; border-top: 0; }
.indicator-detail-list dt { color: var(--muted); font-weight: 650; }
.indicator-detail-list dt i { width: 1.65rem; display: inline-block; margin-right: .35rem; color: var(--brand-700); text-align: center; }
.indicator-detail-list dd { margin: 0; color: var(--ink); font-size: 1.2rem; font-weight: 850; }
.financial-indicator { height: 100%; padding: 1.35rem; color: #fff; background: linear-gradient(145deg, var(--brand-900), var(--brand-700)); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.financial-indicator span, .financial-indicator small { display: block; color: rgba(255,255,255,.78); }
.financial-indicator strong { display: block; margin: .45rem 0; color: #fff; font-size: clamp(1.35rem, 3vw, 1.85rem); overflow-wrap: anywhere; }
.indicator-table { min-width: 680px; }
.indicator-table th { color: var(--muted); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.indicator-table td, .indicator-table th { padding: .8rem .65rem; border-color: var(--border); vertical-align: middle; }
.indicator-update-list { display: grid; }
.indicator-update-list > div { display: flex; align-items: center; gap: .8rem; padding: .75rem 0; border-top: 1px solid var(--border); }
.indicator-update-list > div:first-child { padding-top: 0; border-top: 0; }
.indicator-update-list strong, .indicator-update-list small { display: block; }
.indicator-update-list small { color: var(--muted); }
.indicator-avatar { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; flex: 0 0 auto; color: var(--brand-900); background: var(--brand-100); border-radius: .75rem; }

.ticket-section { padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem); }
.ticket-list-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.ticket-list { display: grid; gap: .8rem; }
.ticket-list-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: .2s ease; }
.ticket-list-item:hover, .ticket-list-item:focus { color: var(--ink); border-color: var(--brand-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ticket-list-icon { width: 3rem; height: 3rem; display: grid; place-items: center; color: var(--brand-900); background: var(--brand-100); border-radius: .9rem; font-size: 1.25rem; }
.ticket-list-content { min-width: 0; }
.ticket-list-content strong, .ticket-list-content small, .ticket-reference { display: block; }
.ticket-list-content strong { margin: .15rem 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-list-content small { color: var(--muted); }
.ticket-reference { color: var(--brand-700); font-size: .8rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.ticket-list-arrow { color: var(--muted); }
.ticket-status { display: inline-flex; align-items: center; justify-content: center; padding: .4rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.ticket-status.is-open { color: #165c43; background: #dff5ea; }
.ticket-status.is-progress { color: #705100; background: #fff1bd; }
.ticket-status.is-waiting { color: #1e527e; background: #e2f1ff; }
.ticket-status.is-resolved { color: #58636a; background: #e9edef; }
.ticket-form-shell { max-width: 1050px; display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 1.5rem; margin-inline: auto; }
.ticket-form-guide { align-self: start; padding: 1.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.ticket-create-form { height: auto; }
.ticket-message-input { min-height: 150px; resize: vertical; }
.ticket-detail-layout { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); align-items: start; gap: 1.5rem; }
.ticket-summary { position: sticky; top: 105px; height: auto; }
.ticket-summary dl { margin: 0 0 1.25rem; }
.ticket-summary dl > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--border); }
.ticket-summary dl > div:first-child { border-top: 0; }
.ticket-summary dt { color: var(--muted); font-weight: 600; }
.ticket-summary dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.ticket-conversation { position: relative; display: grid; gap: 1rem; padding-left: 1.4rem; }
.ticket-conversation::before { content: ""; position: absolute; left: 1.25rem; top: 1.5rem; bottom: 1.5rem; width: 1px; background: var(--border); }
.ticket-message { position: relative; z-index: 1; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; }
.ticket-message-avatar { width: 3rem; height: 3rem; display: grid; place-items: center; color: #fff; background: var(--brand-900); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--border); font-size: .8rem; font-weight: 850; }
.ticket-message.from-user .ticket-message-avatar { color: var(--brand-950); background: var(--brand-primary); }
.ticket-message-body { padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); box-shadow: var(--shadow-sm); }
.ticket-message.from-user .ticket-message-body { background: #eff8ff; border-color: #d5e9f8; }
.ticket-message-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.ticket-message-meta time { color: var(--muted); font-size: .85rem; }
.ticket-message-body p { margin: 0; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-reply-form { height: auto; margin: 0 0 1.25rem 5.4rem; }
.ticket-closed-notice { display: flex; align-items: flex-start; gap: .8rem; margin: 0 0 1.25rem 5.4rem; padding: 1.1rem; color: #365545; background: #eaf5ef; border: 1px solid #cce5d7; border-radius: var(--radius-md); }
.ticket-closed-notice i { color: var(--brand-700); font-size: 1.25rem; }
.ticket-admin-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .35fr) auto; align-items: end; gap: 1rem; }
.ticket-status-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.ticket-detail-toolbar { display: flex; justify-content: flex-end; margin-bottom: 1rem; }

.table-shell { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.modern-table { min-width: 760px; margin: 0; }
.modern-table thead th { color: #fff; background: var(--brand-900); border: 0; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; }
.modern-table td, .modern-table th { padding: .9rem 1rem; vertical-align: middle; }
.modern-table tbody tr:nth-child(even) { background: var(--surface); }
.notice { padding: 1rem 1.15rem; color: #684c0e; background: #fff8df; border: 1px solid #f2dda0; border-radius: .9rem; }

.convention-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.convention-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.convention-card img { width: 100%; height: 190px; object-fit: cover; background: var(--surface); }
.convention-card-body { min-height: 240px; display: flex; flex-direction: column; padding: 1.35rem; }
.convention-card-body p { flex: 1; font-size: 1rem; }

.document-card { display: flex; align-items: center; gap: 1rem; padding: 1.15rem; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--border); border-radius: 1rem; transition: .2s ease; }
.document-card:hover { color: var(--brand-900); border-color: var(--brand-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.document-card .bi { color: var(--brand-700); font-size: 1.8rem; }
.report-summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.report-summary-stats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }
.report-summary-stats span { min-width: 7rem; padding: .75rem 1rem; color: var(--muted); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 1rem; text-align: center; }
.report-summary-stats strong { display: block; color: var(--brand-900); font-size: 1.5rem; line-height: 1.1; }
.report-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.report-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.report-card-top { min-height: 118px; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.4rem; background: linear-gradient(135deg, var(--brand-50), var(--surface-strong)); border-bottom: 1px solid var(--border); }
.report-file-icon { width: 3.6rem; height: 3.6rem; display: grid; place-items: center; flex: 0 0 auto; border-radius: 1rem; font-size: 1.85rem; }
.report-file-icon.is-pdf { color: #b63e36; background: #fff0ed; }
.report-file-icon.is-excel { color: #217346; background: #eaf7ef; }
.report-category { padding: .4rem .7rem; color: var(--brand-900); background: rgba(255,255,255,.8); border: 1px solid var(--border); border-radius: 999px; font-size: .78rem; font-weight: 750; text-align: right; }
.report-card-body { height: 100%; display: flex; flex-direction: column; padding: 1.5rem; }
.report-card-body h2 { min-height: 3.5rem; }
.report-card-body p { flex: 1; }
.report-file-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.report-file-meta span { padding: .35rem .65rem; color: var(--muted); background: var(--surface); border-radius: .55rem; font-size: .84rem; font-weight: 650; }
.news-card { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.news-card img { width: 100%; max-height: 470px; object-fit: contain; background: var(--surface); }
.news-card-body { padding: 1.5rem; }
.meta { color: var(--brand-700); font-size: .9rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }

.simulator-result { padding: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--brand-900), var(--brand-600)); border-radius: var(--radius-md); }
.result-value { color: #fff; font-size: clamp(1.45rem, 4vw, 2.2rem); font-weight: 850; }
.result-label { color: rgba(255,255,255,.82); font-size: .95rem; }
.simulator-schedule-card { height: auto; }
.simulator-schedule-card .table-shell { max-height: 520px; overflow: auto; }
.simulator-schedule-card .modern-table thead { position: sticky; top: 0; z-index: 1; }
.amortization-table { font-variant-numeric: tabular-nums; }

.site-footer { color: var(--ink); background: var(--surface-strong); border-top: 1px solid var(--border); }
.footer-container { max-width: 1060px; }
.footer-brand { display: block; margin-bottom: .7rem; color: var(--brand-900); font-size: 1.55rem; font-weight: 850; letter-spacing: .06em; }
.site-footer p { color: var(--muted); }
.footer-summary { max-width: 28rem; margin-bottom: .7rem; }
.footer-location { font-size: .96rem; }
.footer-title { color: var(--ink); font-size: 1.05rem; letter-spacing: .02em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: .45rem 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand-900); }
.footer-bottom { padding: .85rem 0; color: rgba(255,255,255,.82); background: var(--brand-900); font-size: .9rem; }
.back-to-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1020; width: 46px; height: 46px; display: grid; place-items: center; color: var(--ink); background: var(--brand-primary); border: 0; border-radius: 50%; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1199.98px) {
    .navbar { min-height: 74px; }
    .navbar-collapse { max-height: calc(100vh - 76px); overflow-y: auto; }
    .navbar .nav-link { padding: .7rem .8rem !important; }
}
@media (max-width: 991.98px) {
    .account-profile-card { position: static !important; }
    .profile-identity-card { position: static !important; }
}
@media (max-width: 767.98px) {
    .navbar-brand { width: 84px; height: 72px; }
    .brand-logo { width: 76px; height: 62px; }
    .home-hero { min-height: 720px; }
    .home-slide-layout { min-height: 720px; padding-top: 2.5rem; padding-bottom: 6rem; }
    .home-hero-content { margin-inline: .25rem; padding: 1.75rem 1.35rem; background: rgba(255,255,255,.9); border-radius: var(--radius-md); }
    .home-hero h1, .home-slide-title { font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .home-carousel-control { display: none; }
    .home-carousel-pause { right: 1rem; bottom: 3.3rem; }
    .home-carousel-indicators { bottom: 3.65rem; margin-right: 4.5rem; margin-left: 1rem; justify-content: flex-start; }
    .hero-stats { margin-top: -1.8rem; }
    .stat-item { border-right: 0; border-bottom: 1px solid var(--border); text-align: center; }
    .stat-item:last-child { border-bottom: 0; }
    .page-hero { padding: 1.5rem 0; }
    .convention-card img { height: 175px; }
    .values-panel { grid-template-columns: 1fr; }
    .institutional-jump-link { flex: 1 1 auto; justify-content: center; }
    .report-summary { align-items: stretch; flex-direction: column; }
    .report-summary-stats { justify-content: flex-start; }
    .report-summary-stats span { flex: 1 1 5rem; min-width: 0; }
    .report-card-body h2 { min-height: 0; }
    .simulator-schedule-actions .btn { flex: 1 1 100%; }
    .login-section { padding: 1rem 0 1.5rem; }
    .login-shell { grid-template-columns: 1fr; border-radius: var(--radius-md); }
    .login-welcome { min-height: auto; gap: 1.75rem; padding: 2rem 1.35rem; }
    .login-welcome h1 { font-size: 2rem; }
    .login-welcome-note { display: none; }
    .login-form-panel { padding: 2rem 1.35rem; }
    .login-form-heading { gap: .8rem; }
    .login-form-icon { width: 2.8rem; height: 2.8rem; }
    .account-section { padding: 1.5rem 0 3.5rem; }
    .account-financial-card { padding: 1.15rem; }
    .account-product { padding: 1.5rem 0; }
    .account-profile-section { padding: 1.5rem 0 3.5rem; }
    .profile-form { padding: 1.25rem; }
    .profile-form-section { padding: 1.5rem 0; }
    .profile-form-footer { align-items: stretch; flex-direction: column; }
    .profile-form-footer .btn { width: 100%; }
    .password-change-section { padding: 1.5rem 0 3.5rem; }
    .password-change-shell { grid-template-columns: 1fr; }
    .password-guidance, .password-change-form { padding: 1.35rem; }
    .admin-section { padding: 1.5rem 0 3.5rem; }
    .admin-toolbar { align-items: stretch; flex-direction: column; }
    .admin-toolbar .btn { width: 100%; }
    .admin-search-card { padding: 1rem; }
    .admin-search-card .input-group { flex-wrap: wrap; }
    .admin-search-card .input-group-text { display: none; }
    .admin-search-card .form-control { width: 100%; border: 1px solid var(--border) !important; border-radius: .75rem !important; }
    .admin-search-card .btn { width: 100%; margin-top: .65rem; border-radius: .75rem !important; }
    .suggestion-card-heading { gap: .75rem; }
    .suggestion-contact { flex-direction: column; }
    .suggestion-contact a { min-width: 0; width: 100%; overflow-wrap: anywhere; }
    .indicator-progress-item > div:first-child { align-items: flex-start; flex-direction: column; gap: .15rem; }
    .indicator-table-card { padding: 1.1rem; }
    .ticket-section { padding: 1.5rem 0 3.5rem; }
    .ticket-list-heading { align-items: stretch; flex-direction: column; }
    .ticket-list-heading .btn { width: 100%; }
    .ticket-list-item { grid-template-columns: auto minmax(0, 1fr); padding: 1rem; }
    .ticket-list-item .ticket-status { grid-column: 2; justify-self: start; }
    .ticket-list-arrow { display: none; }
    .ticket-form-shell, .ticket-detail-layout { grid-template-columns: 1fr; }
    .ticket-summary { position: static; }
    .ticket-conversation { padding-left: 0; }
    .ticket-conversation::before { left: 1.5rem; }
    .ticket-message { gap: .7rem; }
    .ticket-message-body { padding: 1rem; }
    .ticket-message-meta { align-items: flex-start; flex-direction: column; gap: .2rem; }
    .ticket-reply-form, .ticket-closed-notice { margin-left: 0; }
    .ticket-admin-filters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
