html,
body {
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #1f2937;
    background: #f4f7fb;
    font-family: "Segoe UI", Arial, sans-serif;
}

a {
    text-decoration: none;
}

.public-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(12px);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #12324a;
    font-weight: 800;
    letter-spacing: 0;
}

.public-brand img {
    display: block;
    width: min(210px, 48vw);
    height: auto;
}

.brand-symbol {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: #12324a;
    font-weight: 800;
}

.hero {
    min-height: calc(100vh - 92px);
    display: grid;
    align-items: center;
    padding: 5rem 0 4rem;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(18, 50, 74, .96) 0%, rgba(18, 50, 74, .82) 48%, rgba(24, 92, 111, .62) 100%),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero h1 {
    max-width: 840px;
    font-size: clamp(2.35rem, 4vw, 3.75rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.hero p {
    max-width: 720px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .88);
}

.home-news {
    color: #fff;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    background: rgba(18, 50, 74, .2);
    box-shadow: none;
    overflow: visible;
    backdrop-filter: none;
}

.home-news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 0 1.15rem;
}

.home-news-header .eyebrow {
    margin-bottom: .25rem;
    color: rgba(255, 255, 255, .74);
}

.home-news-header h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 800;
    letter-spacing: 0;
}

.home-news-list {
    display: grid;
    padding: 0;
}

.home-news-loading,
.home-news-empty {
    padding: 1.25rem;
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
}

.home-news-magazine {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    gap: 1rem;
}

.home-news-magazine.is-single {
    grid-template-columns: 1fr;
}

.home-news-feature,
.home-news-side {
    min-width: 0;
}

.home-news-side.has-single {
    grid-template-rows: 1fr;
}

.home-news-side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-news-card {
    position: relative;
    display: flex;
    min-height: 184px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: #0f766e;
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 18px 44px rgba(3, 18, 31, .24);
}

.home-news-card:hover {
    color: #fff;
    transform: translateY(-2px);
}

.home-news-card:hover img {
    transform: scale(1.04);
}

.home-news-card.is-featured {
    min-height: 520px;
}

.home-news-card.is-wide,
.home-news-card.is-compact {
    min-height: 252px;
}

.home-news-visual,
.home-news-overlay,
.home-news-content {
    position: absolute;
    inset: 0;
}

.home-news-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-news-card.no-image .home-news-visual {
    background:
        linear-gradient(135deg, rgba(47, 127, 189, .85), rgba(15, 118, 110, .92)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 16px);
}

.home-news-overlay {
    z-index: 1;
    background: linear-gradient(180deg, rgba(3, 18, 31, .04) 0%, rgba(4, 55, 45, .72) 54%, rgba(2, 44, 34, .96) 100%);
}

.home-news-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .55rem;
    padding: 1.35rem;
}

.home-news-card.is-featured .home-news-content {
    padding: 2rem;
}

.home-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    color: rgba(255, 255, 255, .84);
    font-size: .82rem;
    font-weight: 800;
}

.home-news-meta span:last-child {
    text-transform: uppercase;
}

.home-news-card strong {
    max-width: 760px;
    font-size: 1.35rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.home-news-card.is-featured strong {
    font-size: clamp(2rem, 3.3vw, 3.15rem);
}

.home-news-summary {
    display: -webkit-box;
    max-width: 680px;
    overflow: hidden;
    color: rgba(255, 255, 255, .82);
    font-size: .96rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-news-card.is-compact .home-news-summary {
    display: none;
}

.home-news-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .12rem .48rem;
    border-radius: 8px;
    color: #075985;
    background: #e0f2fe;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.home-news-read {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin: 0;
    color: #fff;
    font-weight: 800;
}

.home-news-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 52px;
    border-radius: 8px;
    color: #fff;
    background: #0f766e;
    font-weight: 800;
    text-decoration: none;
}

.home-news-all:hover {
    color: #fff;
    background: #0b5f59;
}

.home-news-all-header {
    flex: 0 0 auto;
    min-height: 44px;
    padding: .55rem 1rem;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(15, 118, 110, .9);
    box-shadow: 0 10px 28px rgba(3, 18, 31, .18);
}

.home-news-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    min-height: 44px;
    margin-top: 1rem;
}

.home-news-controls[hidden] {
    display: none;
}

.home-news-arrow,
.home-news-dot {
    flex: 0 0 auto;
    border: 0;
    color: #fff;
    background: transparent;
}

.home-news-arrow {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    transition: background-color .18s ease, opacity .18s ease;
}

.home-news-arrow:hover:not(:disabled),
.home-news-arrow:focus-visible {
    background: rgba(15, 118, 110, .92);
}

.home-news-arrow:disabled {
    opacity: .32;
}

.home-news-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 40px;
}

.home-news-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    transition: width .18s ease, background-color .18s ease;
}

.home-news-dot.is-active {
    width: 28px;
    border-radius: 8px;
    background: #fff;
}

.news-detail-band {
    background: #f4f7fb;
}

.news-detail {
    max-width: 920px;
    margin: 0 auto;
    padding: 2.2rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(17, 24, 39, .08);
}

.news-detail-cover {
    width: calc(100% + 4.4rem);
    margin: -2.2rem -2.2rem 1.8rem;
    aspect-ratio: 16 / 7;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background: #e5edf3;
}

.news-detail-cover[hidden] {
    display: none;
}

.news-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.news-detail-date {
    color: #64748b;
    font-size: .92rem;
    font-weight: 800;
}

.news-detail h1 {
    max-width: 820px;
    margin: 0;
    color: #12324a;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.news-detail-excerpt {
    max-width: 820px;
    margin: 1rem 0 0;
    color: #475569;
    font-size: 1.14rem;
    line-height: 1.55;
}

.news-detail-body {
    margin-top: 1.6rem;
    color: #1f2937;
    font-size: 1.02rem;
    line-height: 1.75;
}

.news-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.6rem;
}

@media (max-width: 575px) {
    .home-news {
        padding: .9rem;
    }

    .news-detail {
        padding: 1.35rem;
    }

    .news-detail-cover {
        width: calc(100% + 2.7rem);
        margin: -1.35rem -1.35rem 1.25rem;
        aspect-ratio: 16 / 10;
    }
}

.news-archive-band {
    background: #f4f7fb;
}

.news-archive-heading {
    max-width: 780px;
    margin-bottom: 1.6rem;
}

.news-archive-heading h1 {
    margin: 0;
    color: #12324a;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.news-archive-heading p:last-child {
    margin: 1rem 0 0;
    color: #475569;
    font-size: 1.08rem;
}

.news-archive-filters {
    display: grid;
    grid-template-columns: 1.1fr 1fr .8fr .8fr 1.5fr;
    gap: .9rem;
    align-items: end;
    margin-bottom: 1.35rem;
    padding: 1.1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(17, 24, 39, .06);
}

.news-archive-filters label {
    display: block;
    margin-bottom: .35rem;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.news-archive-filters select,
.news-archive-filters input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: .55rem .7rem;
    color: #12324a;
    background: #fff;
}

.news-archive-list {
    display: grid;
    gap: 1rem;
}

.news-archive-item,
.news-archive-empty {
    padding: 1.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(17, 24, 39, .06);
}

.news-archive-item.is-archived {
    background: #fbfdff;
}

.news-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    margin-bottom: .65rem;
    color: #64748b;
    font-size: .9rem;
    font-weight: 800;
}

.news-archive-state {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .12rem .55rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: .75rem;
    font-weight: 800;
}

.news-archive-item h2 {
    margin: 0;
    color: #12324a;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0;
}

.news-archive-item p {
    margin: .55rem 0 0;
    color: #475569;
    line-height: 1.55;
}

.news-archive-empty {
    color: #64748b;
    font-weight: 800;
}

.home-news-link {
    display: block;
    padding: 1rem 1.4rem;
    color: #0f766e;
    font-weight: 800;
    background: #f8fafc;
}

.home-news-link:hover {
    color: #12324a;
}

.section-band {
    padding: 5rem 0;
}

.section-band.alt {
    background: #fff;
}

.faq-band {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: #12324a;
}

.faq-shell {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.35fr);
    gap: 2rem;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 110px;
    padding: .5rem 1rem .5rem 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.faq-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .2rem .68rem;
    border-radius: 999px;
    color: #8ed8cf;
    background: rgba(255, 255, 255, .08);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.faq-intro h2 {
    margin: 1rem 0 0;
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
}

.faq-intro p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.62;
}

.faq-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 1.25rem;
    padding: .62rem 1rem;
    border-radius: 8px;
    color: #12324a;
    background: #fff;
    font-weight: 900;
}

.faq-contact-link:hover {
    color: #0f766e;
}

.faq-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: .75rem;
    padding: .62rem 1rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    color: #fff;
    font-weight: 900;
}

.faq-more-link:hover {
    color: #12324a;
    background: #dff7f3;
}

.faq-list {
    display: grid;
    gap: .85rem;
}

.faq-item {
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 42px rgba(17, 24, 39, .07);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.faq-item:hover,
.faq-item[open] {
    transform: translateY(-2px);
    border-color: rgba(47, 127, 189, .38);
    box-shadow: 0 22px 54px rgba(17, 24, 39, .1);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 1.1rem 4rem 1.1rem 1.25rem;
    color: #12324a;
    font-size: 1.04rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: "\f059";
    display: inline-grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    margin-right: .9rem;
    place-items: center;
    border-radius: 8px;
    color: #0f766e;
    background: #dff7f3;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.faq-item summary::after {
    content: "\f078";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    color: #2f7fbd;
    background: #eef6fc;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transform: translateY(-50%);
    transition: transform .18s ease, background .18s ease;
}

.faq-item[open] summary::after {
    background: #dff7f3;
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    margin: 0;
    padding: 0 1.35rem 1.25rem 4.75rem;
    color: #475569;
    line-height: 1.62;
}

.faq-search-hero {
    padding: 5rem 0 3rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(18, 50, 74, .97), rgba(15, 118, 110, .86)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.faq-search-heading {
    max-width: 850px;
}

.faq-search-heading h1 {
    margin: 0;
    font-size: clamp(2.45rem, 5vw, 4.7rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
}

.faq-search-heading p:last-child {
    max-width: 760px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1.12rem;
    line-height: 1.58;
}

.faq-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding: .85rem;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 8px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 24px 70px rgba(3, 18, 31, .22);
}

.faq-search-box {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    min-height: 64px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
}

.faq-search-box i {
    display: grid;
    place-items: center;
    color: #0f766e;
    font-size: 1.2rem;
}

.faq-search-box input {
    width: 100%;
    min-height: 62px;
    border: 0;
    outline: 0;
    color: #12324a;
    font-size: 1.06rem;
    font-weight: 700;
    background: transparent;
}

.faq-search-tools {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.faq-search-tools label {
    color: #64748b;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.faq-search-tools select,
.faq-search-tools button {
    min-height: 46px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: .55rem .8rem;
    color: #12324a;
    background: #fff;
    font-weight: 800;
}

.faq-search-tools button {
    color: #fff;
    background: #2f7fbd;
    border-color: #2f7fbd;
}

.faq-popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    margin-top: 1rem;
}

.faq-popular-searches[hidden] {
    display: none !important;
}

.faq-popular-searches span {
    color: rgba(255, 255, 255, .82);
    font-weight: 900;
}

.faq-popular-searches button {
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 999px;
    padding: .32rem .78rem;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-weight: 800;
}

.faq-popular-searches button:hover {
    color: #12324a;
    background: #fff;
}

.faq-search-results-band {
    background: #f4f7fb;
}

.faq-results-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.faq-results-header h2 {
    margin: 0;
    color: #12324a;
    font-weight: 900;
    letter-spacing: 0;
}

.faq-results-count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .3rem .75rem;
    border-radius: 999px;
    color: #075985;
    background: #e0f2fe;
    font-weight: 900;
}

.faq-results-list {
    display: grid;
    gap: .95rem;
}

.faq-result-item {
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(17, 24, 39, .07);
    overflow: hidden;
}

.faq-result-item summary {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
    min-height: 74px;
    padding: 1.1rem 4rem 1.1rem 1.2rem;
    color: #12324a;
    cursor: pointer;
    list-style: none;
}

.faq-result-item summary::-webkit-details-marker {
    display: none;
}

.faq-result-item summary::after {
    content: "\f078";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    color: #2f7fbd;
    background: #eef6fc;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transform: translateY(-50%);
    transition: transform .18s ease;
}

.faq-result-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-result-category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .2rem .65rem;
    border-radius: 999px;
    color: #0f766e;
    background: #dff7f3;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.faq-result-item strong {
    font-size: 1.08rem;
    font-weight: 900;
}

.faq-result-answer {
    padding: 0 1.35rem 1.25rem 1.35rem;
    color: #475569;
    line-height: 1.68;
}

.faq-result-tags {
    margin-top: .8rem;
    color: #64748b;
    font-size: .88rem;
    font-weight: 800;
}

.faq-result-item mark {
    border-radius: 6px;
    padding: 0 .18rem;
    color: #12324a;
    background: #fef3c7;
}

.faq-search-empty {
    display: grid;
    gap: .25rem;
    padding: 1.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #64748b;
    background: #fff;
    box-shadow: 0 14px 36px rgba(17, 24, 39, .06);
}

.faq-search-empty strong {
    color: #12324a;
}

.section-title {
    color: #12324a;
    font-weight: 800;
    letter-spacing: 0;
}

.home-services-band {
    background: #12324a;
}

.home-services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.75rem;
}

.home-services-heading .eyebrow {
    margin-bottom: .45rem;
    color: #8ed8cf;
}

.home-services-heading .section-title {
    max-width: 900px;
    margin: 0;
    font-size: 2.35rem;
    line-height: 1.12;
    color: #fff;
}

.home-services-intro {
    max-width: 720px;
    margin: .75rem 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 1.04rem;
    line-height: 1.55;
}

.home-services-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .58rem .95rem;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.home-services-all:hover {
    border-color: #fff;
    color: #12324a;
    background: #fff;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-service-card {
    --service-accent: #0f766e;
    --service-soft: #dff5ef;
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 300px;
    flex-direction: column;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    color: #12324a;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 35, 52, .07);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-service-card:hover {
    border-color: var(--service-accent);
    color: #12324a;
    box-shadow: 0 20px 44px rgba(15, 35, 52, .13);
    text-decoration: none;
    transform: translateY(-3px);
}

.home-service-card.tone-blue {
    --service-accent: #2f7fbd;
    --service-soft: #e4f0fa;
}

.home-service-card.tone-green {
    --service-accent: #34845a;
    --service-soft: #e4f3e9;
}

.home-service-card.tone-burgundy {
    --service-accent: #93455c;
    --service-soft: #f7e8ed;
}

.home-service-accent {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--service-accent);
}

.home-service-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1.35rem;
}

.home-service-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 8px;
    color: var(--service-accent);
    background: var(--service-soft);
    font-size: 1.28rem;
}

.home-service-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: .22rem .58rem;
    border-radius: 8px;
    color: var(--service-accent);
    background: var(--service-soft);
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: right;
    text-transform: uppercase;
}

.home-service-card > strong {
    font-size: 1.3rem;
    line-height: 1.2;
}

.home-service-description {
    display: -webkit-box;
    margin-top: .7rem;
    overflow: hidden;
    color: #5d7086;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-service-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding-top: 1.2rem;
    color: var(--service-accent);
    font-weight: 800;
}

.home-service-card:hover .home-service-action i {
    transform: translateX(3px);
}

.home-service-action i {
    transition: transform .18s ease;
}

.home-services-empty {
    grid-column: 1 / -1;
    padding: 1.25rem;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    color: #64748b;
    background: #fff;
    font-weight: 800;
}

.service-card,
.metric-card,
.data-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 24, 39, .06);
}

.service-card {
    height: 100%;
    padding: 1.4rem;
}

.service-card i {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #0f766e;
    background: #dff7f3;
}

.cta-band {
    color: #fff;
    background: #12324a;
}

.btn-primary,
.btn-primary:hover {
    background: #0f766e;
    border-color: #0f766e;
}

.btn-outline-light:hover {
    color: #12324a;
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
    }

    .home-news {
        margin-top: 1rem;
    }

    .home-news-magazine {
        grid-template-columns: 1fr;
    }

    .home-news-card.is-featured {
        min-height: 340px;
    }

    .news-archive-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-archive-search {
        grid-column: 1 / -1;
    }

    .faq-shell {
        grid-template-columns: 1fr;
    }

    .faq-intro {
        position: static;
    }

    .faq-search-panel {
        grid-template-columns: 1fr;
    }

    .faq-search-tools {
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width: 1199px) {
    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .home-news-header {
        align-items: flex-start;
        flex-direction: column;
        gap: .85rem;
    }

    .home-news-list {
        padding: 0;
    }

    .home-services-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .home-services-heading .section-title {
        font-size: 1.85rem;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card {
        min-height: 270px;
    }

    .home-news-card,
    .home-news-card.is-featured,
    .home-news-card.is-compact {
        min-height: 250px;
    }

    .home-news-card strong,
    .home-news-card.is-featured strong {
        font-size: 1.25rem;
    }

    .home-news-content,
    .home-news-card.is-featured .home-news-content {
        padding: 1.05rem;
    }

    .news-archive-filters {
        grid-template-columns: 1fr;
    }

    .news-archive-search {
        grid-column: auto;
    }

    .faq-intro,
    .faq-item summary {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .faq-item summary {
        align-items: flex-start;
        min-height: auto;
        padding-right: 3.7rem;
    }

    .faq-item summary::before {
        width: 34px;
        height: 34px;
        margin-right: .7rem;
    }

    .faq-item p {
        padding: 0 1rem 1rem 1rem;
    }

    .faq-results-header {
        display: block;
    }

    .faq-results-count {
        margin-top: .75rem;
    }

    .faq-result-item summary {
        grid-template-columns: 1fr;
        padding-right: 3.7rem;
    }

    .faq-search-tools select,
    .faq-search-tools button {
        width: 100%;
    }
}

.app-shell {
    --app-navy: #102437;
    --app-navy-soft: #183852;
    --app-blue: #337ab8;
    --app-blue-strong: #2f75b5;
    --app-ink: #20242b;
    --app-muted: #70829d;
    --app-line: #e5ebf2;
    --app-surface: #fff;
    --app-sidebar-width: 284px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--app-sidebar-width) minmax(0, 1fr);
    color: var(--app-ink);
    background:
        linear-gradient(90deg, rgba(16, 36, 55, .02), rgba(16, 36, 55, 0) 22%),
        #edf5fb;
}

.persona-shell {
    min-height: 100vh;
    color: #20242b;
    background:
        linear-gradient(180deg, #e8f1f8 0, #f5f9fc 320px, #f7fafc 100%);
}

.persona-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.persona-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    max-width: 1220px;
    margin: 0 auto;
    padding: .85rem 1.5rem;
}

.persona-brand img {
    display: block;
    width: min(190px, 42vw);
    height: auto;
}

.persona-nav {
    display: flex;
    justify-content: center;
    gap: .45rem;
}

.persona-nav a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 40px;
    padding: .45rem .8rem;
    border-radius: 8px;
    color: #52677f;
    font-weight: 900;
}

.persona-nav a:hover,
.persona-nav a.active {
    color: #12324a;
    background: #eef6fc;
}

.persona-user {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 42px;
    padding: .35rem .65rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #12324a;
    font-weight: 900;
}

.persona-avatar {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    color: #0f766e;
    background: #dff7f3;
}

.persona-title-band {
    padding: 2.2rem 1.5rem 1.4rem;
    background:
        radial-gradient(circle at 8% 0, rgba(15, 118, 110, .12), transparent 26%),
        radial-gradient(circle at 92% 12%, rgba(47, 127, 189, .12), transparent 30%);
}

.persona-title-inner,
.persona-content {
    max-width: 1220px;
    margin: 0 auto;
}

.persona-title-inner h1 {
    margin: 0;
    color: #12324a;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.persona-content {
    padding: 1rem 1.5rem 4rem;
}

.persona-welcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.7rem;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(18, 50, 74, .98), rgba(15, 118, 110, .9)),
        #12324a;
    box-shadow: 0 22px 58px rgba(18, 50, 74, .16);
}

.persona-condominio-identity {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1.35rem;
    align-items: center;
    min-width: 0;
}

.persona-building-visual {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    color: #dff7f3;
    background: rgba(255, 255, 255, .1);
    font-size: 2.8rem;
}

.persona-condominio-copy {
    min-width: 0;
}

.persona-condominio-details {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.25rem;
    margin-top: .8rem;
    color: rgba(255, 255, 255, .88);
}

.persona-condominio-details span {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
}

.persona-condominio-details i {
    color: #99f6e4;
}

.persona-kicker {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: .16rem .65rem;
    border-radius: 999px;
    color: #dff7f3;
    background: rgba(255, 255, 255, .12);
    font-weight: 900;
    text-transform: uppercase;
}

.persona-welcome h2 {
    max-width: 760px;
    margin: .8rem 0 0;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.7rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.persona-welcome p {
    max-width: 760px;
    margin: .75rem 0 0;
    color: rgba(255, 255, 255, .84);
    line-height: 1.58;
}

.persona-welcome-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(165px, 1fr));
    gap: .75rem;
    width: min(100%, 390px);
}

.persona-primary-action,
.persona-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    padding: .62rem 1rem;
    border-radius: 8px;
    font-weight: 900;
    text-align: center;
}

.persona-primary-action {
    color: #12324a;
    background: #fff;
}

.persona-secondary-action {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
}

.persona-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.persona-summary-card,
.persona-panel {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(17, 24, 39, .07);
}

.persona-summary-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem;
}

.persona-summary-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    color: #0f766e;
    background: #dff7f3;
}

.persona-summary-card small {
    display: block;
    color: #64748b;
    font-weight: 900;
    text-transform: uppercase;
}

.persona-summary-card strong {
    display: block;
    color: #12324a;
    font-size: 1.65rem;
    line-height: 1.1;
    font-weight: 900;
}

.persona-priority-card {
    min-width: 0;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.persona-priority-card:hover,
.persona-priority-card:focus-visible {
    border-color: rgba(15, 118, 110, .42);
    color: inherit;
    box-shadow: 0 18px 44px rgba(15, 118, 110, .12);
    transform: translateY(-2px);
}

.persona-priority-card > div {
    min-width: 0;
}

.persona-priority-card strong,
.persona-priority-card span:not(.persona-summary-icon) {
    overflow-wrap: anywhere;
}

.persona-priority-card span:not(.persona-summary-icon) {
    display: block;
    margin-top: .2rem;
    color: #64748b;
    font-size: .82rem;
}

.persona-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.persona-panel {
    padding: 1.25rem;
}

.persona-panel-wide {
    grid-column: 1 / -1;
}

.persona-panel-head,
.persona-section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.persona-panel-head h2,
.persona-section-title h2 {
    margin: 0;
    color: #12324a;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0;
}

.persona-section-title p {
    margin: .3rem 0 0;
    color: #64748b;
}

.persona-panel-head a {
    color: #0f766e;
    font-weight: 900;
}

.persona-list {
    display: grid;
    gap: .7rem;
}

.persona-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid #e5ebf2;
    border-radius: 8px;
    background: #f8fbff;
}

.persona-list-item strong {
    display: block;
    color: #12324a;
    font-weight: 900;
}

.persona-list-item span {
    display: block;
    color: #64748b;
    font-size: .9rem;
}

.persona-list-item a {
    color: #2f7fbd;
    font-weight: 900;
}

.persona-payment-placeholder {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    background: #f8fbff;
}

.persona-payment-placeholder i {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    color: #2f7fbd;
    background: #e0f2fe;
}

.persona-payment-placeholder strong {
    color: #12324a;
    font-weight: 900;
}

.persona-payment-placeholder p {
    margin: .25rem 0 0;
    color: #64748b;
}

.persona-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: flex-end;
}

.persona-primary-button,
.persona-secondary-button,
.persona-inline-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 8px;
    padding: .6rem .95rem;
    font-weight: 900;
}

.persona-primary-button {
    border: 0;
    color: #fff;
    background: #337ab8;
    box-shadow: 0 14px 28px rgba(51, 122, 184, .18);
}

.persona-secondary-button,
.persona-inline-action {
    border: 1px solid #cfe0ee;
    color: #12324a;
    background: #fff;
}

.persona-inline-action {
    min-height: 36px;
    margin-top: .8rem;
    padding: .45rem .75rem;
    text-decoration: none;
}

.compact-filter {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    margin-bottom: 1rem;
}

.persona-account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 8px;
    padding: 1.45rem;
    color: #fff;
    background: linear-gradient(135deg, #12324a, #0f766e);
    box-shadow: 0 22px 58px rgba(18, 50, 74, .15);
}

.persona-account-hero h2 {
    margin: .65rem 0 0;
    color: #fff;
    font-size: clamp(1.55rem, 2.4vw, 2.35rem);
    line-height: 1.12;
    font-weight: 900;
}

.persona-account-hero p {
    max-width: 840px;
    margin: .65rem 0 0;
    color: rgba(255, 255, 255, .84);
    line-height: 1.58;
}

.persona-account-date {
    min-width: 150px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    padding: .9rem 1rem;
    text-align: right;
    background: rgba(255, 255, 255, .1);
}

.persona-account-date small,
.accounting-card em {
    display: block;
    color: #64748b;
    font-size: .82rem;
    font-style: normal;
}

.persona-account-date small {
    color: rgba(255, 255, 255, .68);
    font-weight: 800;
    text-transform: uppercase;
}

.persona-account-date strong {
    display: block;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
}

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

.accounting-card.danger .persona-summary-icon {
    color: #be123c;
    background: #ffe4e6;
}

.accounting-card.ok .persona-summary-icon {
    color: #166534;
    background: #dcfce7;
}

.persona-unit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .85rem;
}

.persona-unit-card,
.persona-origin-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    background: #f8fbfe;
}

.persona-unit-card strong {
    display: block;
    color: #12324a;
    font-size: 1rem;
}

.persona-unit-card > span {
    display: block;
    margin-top: .25rem;
    color: #52677f;
}

.persona-unit-card dl,
.persona-origin-card dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin: .85rem 0 0;
}

.persona-origin-card dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.persona-unit-card dt,
.persona-origin-card dt {
    color: #6a819d;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.persona-unit-card dd,
.persona-origin-card dd {
    margin: .2rem 0 0;
    color: #12324a;
    font-weight: 900;
}

.persona-origin-list {
    display: grid;
    gap: .85rem;
}

.persona-origin-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 1rem;
    align-items: start;
}

.persona-origin-card span {
    display: inline-flex;
    border-radius: 999px;
    padding: .2rem .55rem;
    color: #0f766e;
    background: #dff7f3;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.persona-origin-card h3 {
    margin: .5rem 0 .35rem;
    color: #12324a;
    font-size: 1.05rem;
    font-weight: 900;
}

.persona-origin-card p,
.persona-origin-card small {
    margin: 0;
    color: #52677f;
}

.state-chip {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    padding: .2rem .65rem;
    color: #075985;
    background: #e0f2fe;
    font-size: .72rem;
    font-weight: 900;
}

.state-chip.danger {
    color: #be123c;
    background: #ffe4e6;
}

.state-chip.warning {
    color: #92400e;
    background: #fef3c7;
}

.state-chip.ok {
    color: #166534;
    background: #dcfce7;
}

.app-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    width: var(--app-sidebar-width);
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.7rem 1rem 1.25rem;
    color: #d8e3ef;
    background: #102437;
}

.brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-height: 112px;
    margin: 0 0 1.35rem;
    padding: 1.2rem 1rem;
    color: #0f2337;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(3, 18, 31, .22);
    text-align: center;
    text-decoration: none !important;
}

.brand-mark img {
    display: block;
    width: min(190px, 100%);
    height: auto;
}

.app-sidebar .brand-symbol {
    display: inline-grid;
    width: 50px;
    height: 50px;
    place-items: center;
    margin-bottom: .45rem;
    border-radius: 14px;
    color: #fff;
    background: #102437;
    font-size: 1.05rem;
    font-weight: 900;
}

.brand-copy {
    display: grid;
    gap: .05rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.brand-copy strong {
    color: #102437;
    font-size: .92rem;
    font-weight: 900;
}

.brand-copy small {
    color: #51657a;
    font-size: .66rem;
    font-weight: 800;
}

.app-nav {
    min-height: 0;
    flex: 1 1 auto;
    display: grid;
    align-content: start;
    gap: .55rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding: .15rem .25rem .9rem 0;
    scrollbar-color: rgba(255, 255, 255, .35) transparent;
    scrollbar-width: thin;
}

.app-nav::-webkit-scrollbar {
    width: 8px;
}

.app-nav::-webkit-scrollbar-track {
    background: transparent;
}

.app-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-height: 42px;
    padding: .25rem .55rem;
    color: rgba(255, 255, 255, .72);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

.app-nav-group {
    min-width: 0;
}

.app-nav-group > summary {
    list-style: none;
}

.app-nav-group > summary::-webkit-details-marker {
    display: none;
}

.app-nav-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 42px;
    padding: .25rem .55rem;
    color: rgba(255, 255, 255, .84);
    border-radius: 10px;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
    user-select: none;
}

.app-nav-group-title > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: .85rem;
}

.app-nav-group-title i:first-child {
    width: 22px;
    flex: 0 0 22px;
    text-align: center;
}

.app-nav-group-title:hover,
.app-nav-group.active .app-nav-group-title {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.app-nav-chevron {
    width: 14px;
    flex: 0 0 14px;
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    transition: transform .18s ease;
}

.app-nav-group[open] .app-nav-chevron {
    transform: rotate(180deg);
}

.app-nav-submenu {
    display: grid;
    gap: .15rem;
    margin: .15rem 0 .35rem;
    padding-left: 1.05rem;
}

.app-nav-child {
    min-height: 36px;
    padding: .2rem .45rem;
    font-size: .9rem;
    font-weight: 650;
}

.app-nav-child i {
    opacity: .82;
}

.app-nav-link i {
    width: 22px;
    flex: 0 0 22px;
    color: rgba(255, 255, 255, .78);
    text-align: center;
}

.app-nav-link:hover,
.app-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
    text-decoration: none !important;
}

.app-nav-link:hover i,
.app-nav-link.active i {
    color: #fff;
}

.app-logout {
    flex: 0 0 auto;
    margin-top: 1rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.app-main {
    grid-column: 2;
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    margin: 2.7rem 2.45rem 1.6rem;
    padding: 1.55rem 1.55rem;
    border: 1px solid rgba(226, 233, 241, .9);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 62px rgba(21, 43, 63, .14);
    backdrop-filter: blur(12px);
}

.header-menu-button {
    display: inline-grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: #0d3560;
    border: 1px solid var(--app-line);
    border-radius: 16px;
    background: #fff;
}

.header-title {
    min-width: 0;
    margin-right: auto;
}

.context-chip {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    flex: 0 0 auto;
    min-height: 64px;
    padding: .65rem .8rem;
    border: 1px solid var(--app-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(28, 53, 76, .05);
}

.context-chip label {
    margin: 0;
    color: #667a96;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.context-chip .uk-select {
    width: 230px;
    height: 38px;
    padding: 0 2rem 0 .75rem;
    border-radius: 10px;
    font-weight: 700;
}

.app-header h1 {
    margin: 0;
    color: #20242b;
    font-size: 2.05rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.06;
}

.eyebrow {
    margin: 0 0 .35rem;
    color: #7186a2;
    font-size: .74rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    flex: 0 1 auto;
    max-width: 42vw;
    min-height: 64px;
    padding: .65rem .9rem;
    border: 1px solid var(--app-line);
    border-radius: 18px;
    background: #fff;
    color: #102437;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(28, 53, 76, .05);
}

.user-avatar {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 12px;
    color: #102437;
    background: #eaf3f8;
}

.user-chip span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-content {
    width: 100%;
    max-width: 1540px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 2.45rem 2.2rem;
}

.metric-card {
    min-height: 172px;
    padding: 1.65rem;
    display: grid;
    align-content: space-between;
    border-color: rgba(226, 233, 241, .88);
    border-radius: 22px;
    box-shadow: 0 24px 58px rgba(21, 43, 63, .12);
}

.metric-card strong {
    display: block;
    color: #0c2f57;
    font-size: 2.05rem;
    line-height: 1;
}

.metric-card .metric-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}

.metric-card .metric-info {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(49, 128, 191, .32);
    border-radius: 50%;
    background: #eef7ff;
    color: #1f6fae;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
}

.metric-card .metric-info:hover,
.metric-card .metric-info:focus {
    border-color: rgba(49, 128, 191, .72);
    background: #dff0ff;
    outline: none;
}

.metric-card .metric-sub {
    color: #64748b;
    font-size: .88rem;
}

.data-card {
    width: 100%;
    min-width: 0;
    padding: 2rem;
    overflow: hidden;
    border-color: rgba(226, 233, 241, .88);
    border-radius: 24px;
    box-shadow: 0 28px 64px rgba(21, 43, 63, .12);
}

.data-card.uk-card {
    border-radius: 24px;
}

.page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.45rem;
}

.page-toolbar h2 {
    margin: 0;
    color: #20242b;
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 0;
}

.page-toolbar p {
    margin: .55rem 0 0;
    color: var(--app-muted);
    font-size: .98rem;
}

.table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.table-scroll .uk-table {
    min-width: 760px;
}

.app-content .uk-input,
.app-content .uk-select,
.app-content .uk-textarea {
    min-height: 44px;
    border-color: var(--app-line);
    border-radius: 12px;
    color: #20242b;
    background: #fff;
    font-size: .95rem;
}

.app-content .uk-textarea {
    min-height: 104px;
}

.app-content .uk-input:focus,
.app-content .uk-select:focus,
.app-content .uk-textarea:focus {
    border-color: #8ab7df;
    box-shadow: 0 0 0 3px rgba(51, 122, 184, .12);
}

.app-content .uk-form-label {
    color: #7186a2;
    font-size: .74rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.app-content .uk-button {
    min-height: 42px;
    padding-inline: 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    text-transform: none;
}

.app-content .uk-button-primary {
    background: linear-gradient(90deg, #2f70aa, #3b86c7);
    box-shadow: 0 14px 28px rgba(47, 112, 170, .2);
}

.app-content .uk-button-primary:hover {
    background: linear-gradient(90deg, #285f92, #3479b4);
}

.app-content .uk-button-secondary {
    background: #102437;
}

.app-content .uk-button-default {
    border-color: var(--app-line);
    color: #082848;
    background: #fff;
}

.app-content .uk-modal-dialog {
    width: min(960px, calc(100vw - 32px));
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(11, 28, 44, .2);
}

.app-content .uk-modal-title {
    color: #20242b;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 1rem;
    align-items: end;
}

.uk-modal-dialog .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.form-grid .span-2 {
    grid-column: span 2;
}

.form-grid .span-3 {
    grid-column: span 3;
}

.table {
    width: 100%;
    margin-bottom: 0;
    vertical-align: middle;
}

.uk-table {
    width: 100%;
    margin-bottom: 0;
    table-layout: auto;
}

.uk-table tbody tr {
    border-top: 1px solid #eef2f6;
}

.uk-table td,
.uk-table th {
    padding: 1rem .75rem;
}

.uk-table td {
    max-width: 280px;
    overflow-wrap: anywhere;
}

.table thead th,
.uk-table thead th {
    white-space: nowrap;
    color: #7186a2;
    font-size: .74rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.uk-grid-metrics > * {
    min-width: 0;
}

.text-muted {
    color: #64748b !important;
}

.text-center {
    text-align: center !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.form-action {
    align-self: end;
}

.persona-filter-card {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(150px, 1fr)) auto;
    gap: .85rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(205, 220, 235, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 48px rgba(18, 50, 74, .08);
}

.persona-filter-card label {
    display: block;
    margin-bottom: .35rem;
    color: #607895;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.persona-filter-card input,
.persona-filter-card select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d9e5ef;
    border-radius: 11px;
    padding: .55rem .75rem;
    color: #12324a;
    background: #fff;
}

.persona-filter-card button {
    min-height: 42px;
    border: 1px solid #cfe0ee;
    border-radius: 11px;
    padding: 0 1rem;
    color: #0f3b5b;
    background: #f7fbff;
    font-weight: 850;
}

@media (max-width: 1100px) {
    .persona-filter-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .persona-filter-card {
        grid-template-columns: 1fr;
    }
}

.persona-profile-grid {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr);
    gap: 1rem;
    align-items: start;
}

.persona-account-summary {
    display: grid;
    gap: .9rem;
    margin: 1rem 0 0;
}

.persona-account-summary div {
    padding: .9rem 1rem;
    border: 1px solid #e2edf6;
    border-radius: 14px;
    background: #f8fbfe;
}

.persona-account-summary dt {
    color: #6a819d;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.persona-account-summary dd {
    margin: .25rem 0 0;
    color: #12324a;
    font-weight: 850;
}

.persona-password-form {
    display: grid;
    gap: .9rem;
    margin-top: 1rem;
}

.persona-password-form label {
    display: block;
    margin-bottom: .35rem;
    color: #607895;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.persona-password-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9e5ef;
    border-radius: 12px;
    padding: .6rem .8rem;
    color: #12324a;
    background: #fff;
}

.persona-password-note {
    margin: .1rem 0;
    color: #6a819d;
}

.persona-requests-layout {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
    gap: 1rem;
    align-items: start;
}

.persona-request-form {
    margin-bottom: 1rem;
}

.persona-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    margin-top: 1rem;
}

.persona-request-grid label,
.persona-reply-form label {
    display: block;
    margin-bottom: .35rem;
    color: #607895;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.persona-request-grid input,
.persona-request-grid select,
.persona-request-grid textarea,
.persona-reply-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d9e5ef;
    border-radius: 12px;
    padding: .6rem .8rem;
    color: #12324a;
    background: #fff;
}

.persona-request-grid textarea,
.persona-reply-form textarea {
    resize: vertical;
}

.persona-request-grid .span-2 {
    grid-column: 1 / -1;
}

.persona-request-list {
    display: grid;
    gap: .7rem;
    margin-top: 1rem;
}

.persona-request-item {
    width: 100%;
    display: grid;
    gap: .35rem;
    text-align: left;
    border: 1px solid #e0ebf4;
    border-radius: 16px;
    padding: .9rem 1rem;
    color: #12324a;
    background: #fff;
    cursor: pointer;
}

.persona-request-item:hover,
.persona-request-item.active {
    border-color: #7fb3dd;
    box-shadow: 0 14px 34px rgba(18, 50, 74, .1);
}

.persona-request-item strong {
    font-size: 1rem;
}

.persona-request-item small,
.persona-request-item span:last-child {
    color: #6d8199;
}

.request-status {
    justify-self: start;
    border-radius: 999px;
    padding: .2rem .55rem;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.request-status.open {
    color: #075985;
    background: #e0f2fe;
}

.request-status.answered {
    color: #166534;
    background: #dcfce7;
}

.request-status.waiting {
    color: #92400e;
    background: #fef3c7;
}

.request-status.closed {
    color: #475569;
    background: #e2e8f0;
}

.persona-request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .8rem 0 1rem;
}

.persona-request-meta span {
    border-radius: 999px;
    padding: .25rem .65rem;
    color: #0f3b5b;
    background: #eef6fb;
    font-weight: 800;
}

.persona-timeline {
    display: grid;
    gap: .8rem;
    margin-bottom: 1rem;
}

.persona-timeline-item {
    border: 1px solid #e1ebf3;
    border-radius: 16px;
    padding: .9rem 1rem;
    background: #f8fbfe;
}

.persona-timeline-item.mine {
    background: #eef8f5;
}

.persona-timeline-item div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .45rem;
    color: #12324a;
}

.persona-timeline-item div span,
.persona-timeline-item small {
    color: #6d8199;
}

.persona-timeline-item p {
    margin: 0;
    color: #34475c;
}

.timeline-attachment {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .75rem;
    border: 1px solid #cfe0ee;
    border-radius: 999px;
    padding: .35rem .7rem;
    color: #0f3b5b;
    background: #fff;
    font-weight: 850;
}

.timeline-attachment:hover {
    color: #075985;
    text-decoration: none;
}

.persona-reply-form {
    display: grid;
    gap: .75rem;
    border-top: 1px solid #e1ebf3;
    padding-top: 1rem;
}

.persona-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    border-top: 1px solid #e1ebf3;
    margin-top: .9rem;
    padding-top: 1rem;
}

.admin-requests-layout {
    display: grid;
    grid-template-columns: minmax(560px, 1.05fr) minmax(360px, .95fr);
    gap: 1rem;
    align-items: start;
}

.admin-reply-grid {
    display: grid;
    grid-template-columns: minmax(180px, .5fr) repeat(2, minmax(150px, .35fr));
    gap: .75rem;
    align-items: end;
    border-top: 1px solid #e1ebf3;
    padding-top: 1rem;
}

.admin-reply-grid .span-2 {
    grid-column: 1 / -1;
}

.admin-reply-grid textarea {
    resize: vertical;
}

.selected-row {
    background: #eef8ff;
}

.dashboard-request-list {
    display: grid;
    gap: .7rem;
}

.dashboard-request-item {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) minmax(220px, .8fr);
    gap: .75rem;
    align-items: center;
    border: 1px solid #e1ebf3;
    border-radius: 14px;
    padding: .75rem .9rem;
    color: #12324a;
    background: #fff;
}

.dashboard-request-item:hover {
    color: #12324a;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(18, 50, 74, .08);
}

.dashboard-request-item small {
    color: #6d8199;
}

@media (max-width: 900px) {
    .persona-profile-grid {
        grid-template-columns: 1fr;
    }

    .persona-account-hero,
    .persona-origin-card,
    .accounting-summary-grid,
    .compact-filter {
        grid-template-columns: 1fr;
    }

    .persona-account-date {
        text-align: left;
    }

    .persona-origin-card dl,
    .persona-unit-card dl {
        grid-template-columns: 1fr;
    }

    .persona-requests-layout,
    .persona-request-grid,
    .admin-requests-layout,
    .admin-reply-grid {
        grid-template-columns: 1fr;
    }

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

@media print {
    .persona-header,
    .persona-title-band,
    .persona-actions-row,
    .persona-filter-card,
    .persona-inline-action {
        display: none !important;
    }

    .persona-shell,
    .persona-content {
        background: #fff !important;
        color: #111827;
    }

    .persona-content {
        max-width: none;
        padding: 0;
    }

    .persona-panel,
    .persona-summary-card,
    .persona-account-hero {
        box-shadow: none !important;
        break-inside: avoid;
    }
}

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

.notice-card {
    height: 340px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: .85rem;
    padding: 1.45rem;
    border: 1px solid rgba(226, 233, 241, .88);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 58px rgba(21, 43, 63, .1);
    overflow: hidden;
}

.notice-card-main {
    min-height: 0;
    overflow: hidden;
}

.notice-card h3 {
    margin: .7rem 0 .45rem;
    color: #20242b;
    font-size: 1.25rem;
    line-height: 1.32;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.notice-card p {
    margin: 0;
    color: #70829d;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.notice-read-more {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .45rem;
    padding: 0;
    border: 0;
    color: #0f766e;
    background: transparent;
    font-weight: 850;
    cursor: pointer;
}

.notice-read-more:hover,
.notice-read-more:focus-visible {
    color: #12324a;
    text-decoration: underline;
}

.notice-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: .25rem .65rem;
    border-radius: 999px;
    color: #0c2f57;
    background: #eaf3f8;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.notice-meta {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    color: #7186a2;
    font-size: .9rem;
}

.persona-notice-dialog {
    width: min(780px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    border-radius: 8px;
    overflow: auto;
}

.persona-notice-dialog .uk-modal-title {
    margin: 1rem 2.5rem .65rem 0;
    color: #12324a;
    line-height: 1.25;
}

.notice-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
}

.notice-detail-meta span {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
}

.notice-detail-text {
    margin-top: 1.25rem;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.notice-detail-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.persona-bacheca-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 1rem;
    padding: 4px;
    border: 1px solid #dbe7f1;
    border-radius: 8px;
    background: #edf4f8;
}

.persona-bacheca-tabs button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border: 0;
    border-radius: 6px;
    color: #536b85;
    background: transparent;
    font-weight: 850;
    cursor: pointer;
}

.persona-bacheca-tabs button.active {
    color: #12324a;
    background: #fff;
    box-shadow: 0 5px 16px rgba(18, 50, 74, .1);
}

.annunci-section-head {
    margin-top: .25rem;
}

.annunci-head-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
}

#annunciUnreadMessages {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    padding: 0 .35rem;
    color: #fff;
    background: #be123c;
    font-size: .72rem;
}

#bachecaAnnunciPanel .persona-primary-action {
    border: 1px solid #0f766e;
    color: #fff;
    background: #0f766e;
}

.annunci-community-note {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    border-left: 4px solid #0f766e;
    border-radius: 6px;
    color: #33546e;
    background: #ecf8f6;
}

.annunci-community-note i {
    margin-top: .2rem;
    color: #0f766e;
}

.annunci-community-note p {
    margin: 0;
}

.annunci-notifications {
    margin-bottom: 1rem;
}

.annunci-notifications .persona-panel-head p {
    margin: .2rem 0 0;
    color: #7186a2;
}

.annunci-notification-list {
    display: grid;
    gap: .55rem;
}

.annunci-notification {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .75rem;
    padding: .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #526a84;
    background: #f8fafc;
    cursor: pointer;
}

.annunci-notification.unread {
    border-color: #99d5cd;
    background: #ecf8f6;
}

.annunci-notification > i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    color: #0f766e;
    background: #dff7f3;
}

.annunci-notification strong,
.annunci-notification p,
.annunci-notification small {
    display: block;
    margin: 0;
}

.annunci-notification strong { color: #12324a; }
.annunci-notification p { margin-top: .2rem; }
.annunci-notification small { margin-top: .25rem; color: #7186a2; }

.annunci-form-panel {
    margin-bottom: 1.5rem;
}

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

.annunci-form-grid .span-2 {
    grid-column: span 2;
}

.annunci-form-grid label:not(.annuncio-consent) {
    display: block;
    margin-bottom: .35rem;
    color: #607895;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.annunci-form-grid input:not([type="checkbox"]),
.annunci-form-grid select,
.annunci-form-grid textarea {
    width: 100%;
    border: 1px solid #d9e5ef;
    border-radius: 8px;
    padding: .65rem .75rem;
    color: #12324a;
    background: #fff;
}

.annunci-form-grid input:not([type="checkbox"]),
.annunci-form-grid select {
    min-height: 44px;
}

.annunci-form-grid textarea {
    min-height: 150px;
    resize: vertical;
}

.annunci-form-grid small {
    display: block;
    margin-top: .3rem;
    color: #7186a2;
    text-align: right;
}

.annuncio-form-photos {
    margin-top: .65rem;
}

.annuncio-consent {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: #526a84;
    line-height: 1.5;
}

.annuncio-consent input {
    width: 18px;
    height: 18px;
    margin-top: .15rem;
}

.annunci-block-head {
    margin: 1.75rem 0 .8rem;
}

.annunci-block-head h2,
.annunci-block-head p {
    margin: 0;
}

.annunci-block-head h2 {
    color: #12324a;
    font-size: 1.35rem;
}

.annunci-block-head p {
    margin-top: .25rem;
    color: #7186a2;
}

.community-ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.community-ad-card {
    display: flex;
    min-width: 0;
    min-height: 310px;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid #dfe8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(18, 50, 74, .08);
}

.community-ad-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    margin: -1.25rem -1.25rem 1rem;
    padding: .45rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.annuncio-form-photos .community-ad-photos {
    max-width: 520px;
    margin: 0;
    border: 1px solid #d9e5ef;
    border-radius: 8px;
}

.community-ad-photos > div {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #dbe7f1;
}

.community-ad-photos a,
.community-ad-photos img {
    display: block;
    width: 100%;
    height: 100%;
}

.community-ad-photos img {
    object-fit: cover;
}

.community-ad-photos button {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(127, 29, 29, .9);
    cursor: pointer;
}

.community-ad-top,
.community-ad-actions,
.community-ad-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}

.community-ad-top {
    justify-content: space-between;
}

.community-ad-card h3 {
    margin: .85rem 0 .45rem;
    color: #12324a;
    font-size: 1.25rem;
    line-height: 1.3;
}

.community-ad-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #5f7593;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.community-ad-status {
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
}

.community-ad-status.pending { color: #854d0e; background: #fef3c7; }
.community-ad-status.approved { color: #166534; background: #dcfce7; }
.community-ad-status.rejected { color: #991b1b; background: #fee2e2; }
.community-ad-status.closed { color: #475569; background: #e2e8f0; }

.community-ad-reason {
    margin: .75rem 0 0;
    padding: .65rem;
    border-radius: 6px;
    color: #991b1b;
    background: #fff1f2;
}

.community-ad-meta {
    margin-top: auto;
    padding-top: 1rem;
    color: #7186a2;
    font-size: .82rem;
}

.community-ad-actions {
    margin-top: .85rem;
    padding-top: .75rem;
    border-top: 1px solid #edf2f7;
}

.community-ad-actions button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .55rem;
    border: 0;
    color: #0f766e;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}

.community-ad-actions button:hover,
.community-ad-actions button:focus-visible {
    color: #12324a;
    text-decoration: underline;
}

.community-ad-actions button.is-danger {
    color: #be123c;
}

.annunci-messages-dialog {
    width: min(1120px, calc(100vw - 32px));
}

.annunci-messages-layout {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.7fr);
    min-height: 560px;
    border: 1px solid #dbe7f1;
    border-radius: 8px;
    overflow: hidden;
}

.annunci-conversation-list {
    min-width: 0;
    overflow-y: auto;
    border-right: 1px solid #dbe7f1;
    background: #f7fafc;
}

.annunci-conversation {
    display: block;
    width: 100%;
    padding: 1rem;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    color: #526a84;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.annunci-conversation:hover,
.annunci-conversation.active {
    background: #e9f5f3;
}

.annunci-conversation > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.annunci-conversation strong { color: #12324a; }
.annunci-conversation b { min-width: 22px; padding: .15rem .35rem; border-radius: 999px; color: #fff; background: #be123c; text-align: center; }
.annunci-conversation em,
.annunci-conversation small { display: block; overflow: hidden; margin-top: .3rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.annunci-conversation em { color: #0f766e; font-size: .8rem; font-weight: 800; }

.annunci-chat-panel {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: #fff;
}

.annunci-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    padding: .9rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.annunci-chat-header strong { color: #12324a; }
.annunci-chat-header p { margin: .15rem 0 0; color: #7186a2; }

.annunci-chat-messages {
    min-height: 0;
    overflow-y: auto;
    padding: 1rem;
    background: #f8fafc;
}

.annunci-message {
    width: fit-content;
    max-width: min(78%, 620px);
    margin: 0 auto .75rem 0;
    padding: .7rem .85rem;
    border: 1px solid #dbe7f1;
    border-radius: 8px;
    color: #334155;
    background: #fff;
}

.annunci-message.mine {
    margin-right: 0;
    margin-left: auto;
    border-color: #99d5cd;
    background: #e9f5f3;
}

.annunci-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.annunci-message small { display: block; margin-top: .3rem; color: #7186a2; text-align: right; }
.annunci-chat-empty { padding: 2rem 1rem; color: #7186a2; text-align: center; }

.annunci-chat-composer {
    padding: .85rem;
    border-top: 1px solid #e2e8f0;
}

.annunci-chat-composer textarea {
    width: 100%;
    min-height: 84px;
    resize: vertical;
    border: 1px solid #d9e5ef;
    border-radius: 8px;
    padding: .65rem .75rem;
}

.annunci-chat-composer > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
    margin-top: .55rem;
}

@media (max-width: 640px) {
    .persona-bacheca-tabs,
    .annunci-form-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .annunci-form-grid .span-2 {
        grid-column: span 1;
    }

    .annunci-head-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .annunci-messages-layout {
        grid-template-columns: 1fr;
        min-height: 680px;
    }

    .annunci-conversation-list {
        max-height: 210px;
        border-right: 0;
        border-bottom: 1px solid #dbe7f1;
    }
}

.reading-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.reading-summary-card {
    border: 1px solid #dbe7f1;
    border-radius: 8px;
    padding: .85rem 1rem;
    background: linear-gradient(180deg, #fff, #f7fbff);
}

.reading-summary-card span {
    display: block;
    color: #6d7f98;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.reading-summary-card strong {
    display: block;
    margin-top: .25rem;
    color: #10243a;
    font-size: 1.55rem;
    line-height: 1.1;
}

.reading-progress {
    height: 9px;
    margin-top: .9rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e6eef6;
}

.reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f80c4, #0d7f75);
    transition: width .25s ease;
}

.reading-toolbar {
    gap: 1rem;
}

.reading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .5rem;
}

.reading-actions .uk-input {
    width: min(300px, 100%);
}

.reading-actions .uk-select {
    width: min(190px, 100%);
}

.reading-state {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: .18rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 850;
}

.reading-state.read {
    color: #0f5c4f;
    background: #dff5ef;
}

.reading-state.unread {
    color: #8a4a10;
    background: #fff0dc;
}

.login-panel {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
}

.login-visual {
    color: #fff;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(18, 50, 74, .2), rgba(18, 50, 74, .88)),
        url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.login-brand {
    width: fit-content;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.login-brand img {
    width: min(310px, 56vw);
    filter: drop-shadow(0 18px 28px rgba(5, 18, 31, .24));
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-logo {
    display: inline-flex;
    padding: .7rem .9rem;
    border-radius: 12px;
    background: #fff;
}

.footer-logo img {
    display: block;
    width: 168px;
    max-width: 42vw;
    height: auto;
}

.login-box {
    display: grid;
    align-content: center;
    padding: 3rem;
    background: #fff;
}

@media (min-width: 1400px) {
    .app-shell {
        --app-sidebar-width: 292px;
        grid-template-columns: var(--app-sidebar-width) minmax(0, 1fr);
    }

    .app-content {
        padding: 0 2.7rem 2.5rem;
    }
}

@media (max-width: 1180px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reading-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid .span-3 {
        grid-column: span 2;
    }

    .persona-welcome,
    .persona-summary-grid,
    .persona-home-grid {
        grid-template-columns: 1fr;
    }

    .persona-welcome-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .app-shell {
        --app-sidebar-width: 100%;
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        position: static;
        width: auto;
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 1rem;
    }

    .brand-mark {
        min-height: 84px;
        margin-bottom: 1rem;
    }

    .brand-mark img {
        width: 168px;
    }

    .app-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem;
        overflow: visible;
        padding: 0;
    }

    .app-nav-group {
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 10px;
    }

    .app-nav-group-title {
        padding: .55rem .65rem;
    }

    .app-nav-submenu {
        padding: 0 .55rem .55rem;
    }

    .app-logout {
        margin-top: .5rem;
        padding-top: 0;
        border-top: 0;
    }

    .app-main {
        grid-column: 1;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .span-2 {
        grid-column: auto;
    }

    .form-grid .span-3 {
        grid-column: auto;
    }

    .app-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        margin: 1rem;
        padding: 1rem;
    }

    .app-content {
        padding: 0 1rem 1rem;
    }

    .user-chip {
        max-width: 100%;
    }

    .page-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .uk-modal-dialog .form-grid {
        grid-template-columns: 1fr;
    }

    .login-panel {
        grid-template-columns: 1fr;
    }

    .login-visual {
        min-height: 36vh;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .persona-header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .persona-nav {
        width: 100%;
        justify-content: stretch;
    }

    .persona-nav a {
        flex: 1 1 0;
        justify-content: center;
        padding-inline: .5rem;
    }

    .persona-user {
        width: 100%;
        justify-content: center;
    }

    .persona-user span:not(.persona-avatar) {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .persona-welcome-actions {
        grid-template-columns: 1fr;
    }

    .persona-condominio-identity {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 1rem;
    }

    .persona-building-visual {
        width: 72px;
        height: 72px;
        font-size: 2rem;
    }

    .reading-summary-grid {
        grid-template-columns: 1fr;
    }

    .reading-toolbar {
        align-items: stretch !important;
        flex-direction: column;
    }

    .reading-actions,
    .reading-actions .uk-input,
    .reading-actions .uk-select,
    .reading-actions .uk-button {
        width: 100%;
    }

    .persona-list-item {
        grid-template-columns: 1fr;
    }
}
