html,
body {
    height: 100%;
}

main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
}

.auth-hero {
    margin-top: -75px;
    padding-top: 150px;
    padding-bottom: 80px;
    background:
        radial-gradient(circle at top left, rgba(21, 172, 225, 0.35), transparent 35%),
        radial-gradient(circle at bottom right, rgba(19, 99, 198, 0.45), transparent 30%),
        linear-gradient(135deg, #09142b 0%, #102b57 45%, #1363c6 100%);
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #d9efff;
    background: rgba(255, 255, 255, 0.08);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.auth-shell {
    position: relative;
    margin-top: -40px;
    margin-bottom: 5rem;
}

.auth-panel,
.auth-aside {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(20, 24, 62, 0.12);
}

.auth-panel {
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(20, 24, 62, 0.12);
    margin-block: 1.5rem;
    padding: 2.5rem;
}

body[data-theme='dark'] .auth-panel {
    background: #1e1e1e;
    color: #eee;
}

body.blog-page main {
    display: block;
    min-height: auto;
}

body.contact-page main {
    display: block;
    min-height: auto;
}

body.notifications-page main,
body.notification-detail-page main,
body.admin-users-page main,
body.ip-allowlist-page main,
body.admin-user-create-page main {
    display: block;
    min-height: auto;
}

body.audit-page {
    padding: 0;
}

body.audit-page main {
    display: block;
    min-height: auto;
}

body.audit-page .auth-panel.audit-auth-panel {
    max-width: none;
    overflow: visible;
}

body.audit-page .audit-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

body.audit-page .audit-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

body.audit-page .audit-stat-grid {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

body.audit-page .audit-surface {
    margin-bottom: 1.5rem;
    padding: 1.4rem;
    border: 1px solid rgba(20, 24, 62, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff, #eef3fb);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.audit-page .audit-surface-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.audit-page .audit-surface-title {
    margin: 0;
    color: #14183e;
    font-size: 1.45rem;
}

body.audit-page .audit-surface-copy {
    max-width: 320px;
    margin: 0;
    color: #6b7390;
}

body.audit-page .audit-eyebrow {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #1363c6;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.audit-page .audit-map-surface {
    padding-bottom: 1.1rem;
}

body.audit-page .audit-map-frame {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(20, 24, 62, 0.08);
}

body.audit-page #auditMap {
    width: 100%;
    height: 75vh;
    border-radius: 4px;
}

body.audit-page .legend {
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.7);
}

body.audit-page .legend i {
    float: left;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    opacity: 0.7;
}

body.audit-page .audit-marker {
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    background-color: #3498db;
}

body.audit-page .audit-marker.progress {
    background-color: #f39c12;
}

body.audit-page .audit-marker.completed {
    background-color: #2ecc71;
}

body.audit-page .leaflet-popup-content {
    margin: 10px;
}

body.audit-page .popup-actions {
    margin-top: 10px;
}

body.audit-page .popup-actions button {
    margin-right: 5px;
    padding: 5px 10px;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
}

body.audit-page .view-btn {
    color: #fff;
    background: #3498db;
}

body.audit-page .edit-btn {
    color: #fff;
    background: #f39c12;
}

body.audit-page .time-slider {
    padding: 10px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

body.audit-page .audit-metric {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    padding: 1.15rem 1.1rem;
    border: 1px solid rgba(20, 24, 62, 0.08);
    border-radius: 22px;
    background: #f7faff;
}

body.audit-page .audit-metric-label {
    color: #6b7390;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.audit-page .audit-metric-value {
    color: #14183e;
    font-size: 2rem;
    line-height: 1;
}

body.audit-page .audit-metric-note {
    color: #6b7390;
    font-size: 0.92rem;
    line-height: 1.45;
}

body.audit-page .audit-metric--primary {
    background: linear-gradient(180deg, rgba(19, 99, 198, 0.1), rgba(21, 172, 225, 0.06));
}

body.audit-page .audit-metric--critical .audit-metric-value {
    color: #d94242;
}

body.audit-page .audit-metric--warning .audit-metric-value {
    color: #d98b1f;
}

body.audit-page .audit-chart-grid {
    margin-top: 0.25rem;
}

body.audit-page .audit-chart-surface .chart-container {
    height: 300px;
}

body.audit-page .audit-rail-card + .audit-rail-card {
    margin-top: 1rem;
}

body.audit-page .audit-side-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

body.audit-page .audit-rail-card {
    padding: 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(6px);
}

body.audit-page .audit-rail-card--muted {
    background: rgba(255, 255, 255, 0.07);
}

body.audit-page .audit-side-items,
body.audit-page .audit-action-list {
    display: grid;
    gap: 0.85rem;
}

body.audit-page .audit-side-item,
body.audit-page .audit-action-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

body.audit-page .audit-side-item strong,
body.audit-page .audit-action-link {
    color: #fff;
}

body.audit-page .audit-side-item span {
    color: rgba(255, 255, 255, 0.74);
}

body.audit-page .audit-action-link {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

body.audit-page .audit-side-item:hover,
body.audit-page .audit-side-item:focus-visible,
body.audit-page .audit-action-link:hover,
body.audit-page .audit-action-link:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-2px);
}

body[data-theme='dark'].audit-page .audit-surface {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #252525, #1f1f1f);
    box-shadow: none;
}

body[data-theme='dark'].audit-page .audit-surface-title,
body[data-theme='dark'].audit-page .audit-metric-value {
    color: #eee;
}

body[data-theme='dark'].audit-page .audit-surface-copy,
body[data-theme='dark'].audit-page .audit-metric-note,
body[data-theme='dark'].audit-page .audit-metric-label {
    color: rgba(238, 238, 238, 0.72);
}

body[data-theme='dark'].audit-page .audit-metric {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #292929, #222);
}

body[data-theme='dark'].audit-page .audit-metric--primary {
    background: linear-gradient(180deg, rgba(21, 172, 225, 0.18), rgba(19, 99, 198, 0.1));
}

body.myaudits-page {
    padding: 0;
    background: #f4f7fe;
}

body.myaudits-page main {
    display: block;
    min-height: auto;
}

body.myaudits-page .auth-panel.audit-records-panel {
    max-width: none;
    overflow: visible;
}

body.myaudits-page .audit-records-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

body.myaudits-page .audit-records-table-wrap {
    border: 1px solid rgba(20, 24, 62, 0.08);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfcff, #f3f7ff);
}

body.myaudits-page .audit-records-table {
    margin: 0;
}

body.myaudits-page .audit-records-table thead th {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(20, 24, 62, 0.08);
    color: #6b7390;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(19, 99, 198, 0.04);
}

body.myaudits-page .audit-records-table tbody td {
    padding: 1rem 1.25rem;
    border-color: rgba(20, 24, 62, 0.08);
    color: #47506a;
    vertical-align: middle;
    background: transparent;
}

body.myaudits-page .audit-records-table tbody tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

body.myaudits-page .audit-records-table tbody tr:hover {
    background: rgba(19, 99, 198, 0.04);
}

body.myaudits-page .audit-records-table td strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #14183e;
    font-weight: 700;
}

body.myaudits-page .audit-records-table td span {
    color: #6b7390;
    font-size: 0.92rem;
}

body.myaudits-page .audit-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.myaudits-page .audit-status-badge--scheduled {
    background: rgba(19, 99, 198, 0.12);
    color: #1363c6;
}

body.myaudits-page .audit-status-badge--active {
    background: rgba(21, 172, 225, 0.14);
    color: #0f7ea4;
}

body.myaudits-page .audit-status-badge--review {
    background: rgba(217, 139, 31, 0.14);
    color: #b56d08;
}

body.myaudits-page .audit-status-badge--critical {
    background: rgba(217, 66, 66, 0.14);
    color: #c23030;
}

body.myaudits-page .audit-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

body.myaudits-page .audit-summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

body.myaudits-page .audit-summary-card strong {
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
}

body.myaudits-page .audit-summary-card span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
    line-height: 1.4;
}

body.myaudits-page .audit-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

body.myaudits-page .audit-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e9f7ff;
    font-size: 0.88rem;
    font-weight: 600;
}

body[data-theme='dark'].myaudits-page {
    background: #141414;
}

body[data-theme='dark'].myaudits-page .audit-records-table-wrap {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #252525, #1e1e1e);
}

body[data-theme='dark'].myaudits-page .audit-records-table thead th {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(238, 238, 238, 0.72);
}

body[data-theme='dark'].myaudits-page .audit-records-table tbody td {
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(238, 238, 238, 0.82);
}

body[data-theme='dark'].myaudits-page .audit-records-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

body[data-theme='dark'].myaudits-page .audit-records-table td strong {
    color: #eee;
}

body[data-theme='dark'].myaudits-page .audit-records-table td span {
    color: rgba(238, 238, 238, 0.68);
}

body.blog-page .auth-panel.blog-auth-panel {
    width: 100%;
    max-width: 1100px;
    overflow: visible;
    margin: 0 auto;
    padding: clamp(1.5rem, 2vw, 2.5rem);
}

body.blog-page .blog-carousel {
    position: relative;
}

body.blog-page .blog-carousel .owl-stage {
    display: flex;
}

body.blog-page .blog-carousel .owl-item {
    display: flex;
    height: auto;
}

body.blog-page .blog-carousel .owl-stage-outer {
    padding: 0.25rem 0.25rem 1rem;
}

body.blog-page .blog-carousel-item {
    display: flex;
    width: 100%;
    height: 100%;
}

body.blog-page .blog-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

body.blog-page .blog-carousel .owl-nav button.owl-prev,
body.blog-page .blog-carousel .owl-nav button.owl-next {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(19, 99, 198, 0.1) !important;
    color: #1363c6 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.blog-page .blog-carousel .owl-nav button.owl-prev:hover,
body.blog-page .blog-carousel .owl-nav button.owl-next:hover,
body.blog-page .blog-carousel .owl-nav button.owl-prev:focus-visible,
body.blog-page .blog-carousel .owl-nav button.owl-next:focus-visible {
    background: #1363c6 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

body.blog-page .blog-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

body.blog-page .blog-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 0;
    background: rgba(19, 99, 198, 0.18);
    transition: width 0.2s ease, background-color 0.2s ease;
}

body.blog-page .blog-carousel .owl-dot.active span {
    width: 28px;
    background: #1363c6;
}

body.blog-page .blog-carousel-card {
    height: 100%;
    width: 100%;
    min-height: 100%;
    border: 1px solid rgba(20, 24, 62, 0.08);
    border-radius: 26px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 254, 0.98));
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

body.blog-page .blog-carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.25rem 3rem rgba(20, 24, 62, 0.14) !important;
    border-color: rgba(19, 99, 198, 0.18);
    z-index: 1;
}

body.blog-page .blog-carousel-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #d9e7ff, #eff5ff);
}

body.blog-page .blog-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

body.blog-page .blog-carousel-card:hover .blog-carousel-image {
    transform: scale(1.04);
}

body.blog-page .blog-card-topic {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 2rem);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(20, 24, 62, 0.72);
    color: #f4f7fe;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

body.blog-page .blog-carousel-body {
    gap: 1rem;
    padding: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(21, 172, 225, 0.12), transparent 32%),
        linear-gradient(180deg, #f8fbff, #eef3fb);
}

body.blog-page .blog-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.blog-page .blog-card-label {
    color: #1363c6;
    font-weight: 700;
}

body.blog-page .blog-card-date {
    color: #6b7390;
    white-space: nowrap;
}

body.blog-page .blog-carousel-body .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    margin: 0;
    color: #14183e;
    line-height: 1.4;
}

body.blog-page .blog-card-title {
    font-size: 1.2rem;
}

body.blog-page .blog-card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 6.2em;
    margin: 0;
    color: #47506a;
    line-height: 1.55;
}

body.blog-page .blog-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 24, 62, 0.08);
}

body.blog-page .blog-card-byline {
    color: #6b7390;
    font-size: 0.92rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 68%;
}

body.blog-page .blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: #1363c6;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

body.blog-page .blog-card-link:hover,
body.blog-page .blog-card-link:focus-visible {
    color: #fff;
    background: #0f4f9e;
}

body[data-theme='dark'].blog-page .blog-carousel .owl-nav button.owl-prev,
body[data-theme='dark'].blog-page .blog-carousel .owl-nav button.owl-next {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #eee !important;
}

body[data-theme='dark'].blog-page .blog-carousel .owl-nav button.owl-prev:hover,
body[data-theme='dark'].blog-page .blog-carousel .owl-nav button.owl-next:hover,
body[data-theme='dark'].blog-page .blog-carousel .owl-nav button.owl-prev:focus-visible,
body[data-theme='dark'].blog-page .blog-carousel .owl-nav button.owl-next:focus-visible {
    background: #15ace1 !important;
    color: #14183e !important;
}

body[data-theme='dark'].blog-page .blog-carousel-card {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98), rgba(39, 39, 39, 0.98));
}

body[data-theme='dark'].blog-page .blog-carousel-body {
    background:
        radial-gradient(circle at top right, rgba(21, 172, 225, 0.16), transparent 34%),
        linear-gradient(180deg, #232323, #1e1e1e);
    color: #eee;
}

body[data-theme='dark'].blog-page .blog-card-topic {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

body[data-theme='dark'].blog-page .blog-card-label {
    color: #7ce7ff;
}

body[data-theme='dark'].blog-page .blog-card-date {
    color: rgba(238, 238, 238, 0.72);
}

body[data-theme='dark'].blog-page .blog-card-summary {
    color: rgba(238, 238, 238, 0.82);
}

body[data-theme='dark'].blog-page .blog-carousel-body .text-muted {
    color: rgba(238, 238, 238, 0.7) !important;
}

body[data-theme='dark'].blog-page .blog-card-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

body[data-theme='dark'].blog-page .blog-card-byline {
    color: rgba(238, 238, 238, 0.72);
}

body[data-theme='dark'].blog-page .blog-card-link {
    background: #15ace1;
    color: #14183e;
}

body[data-theme='dark'].blog-page .blog-card-link:hover,
body[data-theme='dark'].blog-page .blog-card-link:focus-visible {
    background: #1291bd;
    color: #14183e;
}

body[data-theme='dark'].blog-page .blog-carousel .owl-dot span {
    background: rgba(255, 255, 255, 0.2);
}

body[data-theme='dark'].blog-page .blog-carousel .owl-dot.active span {
    background: #15ace1;
}

.auth-aside {
    position: relative;
    min-height: 100%;
    padding: 2.5rem;
    color: #ffffff;
    background:
        linear-gradient(160deg, rgba(20, 24, 62, 0.95), rgba(19, 99, 198, 0.9)),
        url('/img/bg-about-img.png') top left / cover no-repeat;
}

.auth-aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(4, 9, 22, 0.2));
    pointer-events: none;
}

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

.auth-panel .form-control {
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(20, 24, 62, 0.12);
    padding-left: 1rem;
}

body[data-theme='dark'] .auth-panel .form-control {
    background: #1e1e1e;
    color: #eee;
}

.auth-panel .form-control:focus {
    border-color: rgba(19, 99, 198, 0.45);
    box-shadow: 0 0 0 0.25rem rgba(19, 99, 198, 0.12);
}

.auth-panel .btn-primary {
    min-height: 56px;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #1363c6 0%, #15ace1 100%);
    border: none;
}

.auth-chip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #dff5ff;
}

.auth-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.82);
}

.auth-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: #7ce7ff;
}

.auth-alert {
    border: 0;
    border-radius: 18px;
    background: #fff1f1;
    color: #812727;
}

.auth-success {
    border: 0;
    border-radius: 18px;
    background: #edf9f1;
    color: #166534;
}

.auth-muted {
    color: #6b7390;
}

body.opportunities-page .opportunities-card {
    border: 1px solid rgba(20, 24, 62, 0.08) !important;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff, #eef3fb);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 36px rgba(20, 24, 62, 0.08);
}

body.opportunities-page .opportunities-card-title,
body.opportunities-page .opportunities-card-label {
    color: #14183e;
}

body.opportunities-page .opportunities-card-copy {
    color: #6b7390;
}

body.opportunities-page .opportunities-card-badge {
    color: #36455f;
    background: #e8eef7;
}

body.about-page .about-value-card {
    border: 1px solid rgba(20, 24, 62, 0.08) !important;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff, #eef3fb);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 36px rgba(20, 24, 62, 0.08);
}

body.about-page .about-value-card .card-body {
    color: #52617a;
}

body.service-page .service-feature-card {
    border: 1px solid rgba(20, 24, 62, 0.08) !important;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff, #eef3fb);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 36px rgba(20, 24, 62, 0.08);
}

body.service-page .service-feature-card .card-title,
body.service-page .service-feature-label {
    color: #14183e;
}

body.service-page .service-feature-copy,
body.service-page .service-feature-card .card-text {
    color: #6b7390;
}

body.service-page .service-highlight-chip {
    color: #36455f;
    background: #e8eef7;
}

body.notifications-page .auth-panel.notifications-auth-panel,
body.notification-detail-page .auth-panel.notification-detail-panel,
body.admin-users-page .auth-panel.users-auth-panel,
body.admin-user-create-page .auth-panel.user-create-auth-panel {
    width: 100%;
    max-width: 1100px;
    overflow: visible;
    margin: 0 auto;
    padding: clamp(1.5rem, 2vw, 2.5rem);
}

.notification-stat-grid {
    margin-top: 0.5rem;
}

.notification-stat-card {
    height: 100%;
    padding: 1.15rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.notification-stat-label {
    display: block;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notification-stat-value {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.notifications-table-wrap {
    border: 1px solid rgba(20, 24, 62, 0.08);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.notifications-table {
    margin: 0;
}

.notifications-table thead th {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(20, 24, 62, 0.08);
    background: #f6f9ff;
    color: #6b7390;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notifications-table tbody td {
    padding: 1.15rem 1.2rem;
    border-color: rgba(20, 24, 62, 0.08);
    color: #47506a;
    vertical-align: middle;
}

.notifications-table tbody td strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #14183e;
}

.notifications-table tbody td span {
    color: #6b7390;
}

.notification-row {
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.notification-row:hover,
.notification-row:focus-visible {
    background: rgba(19, 99, 198, 0.05);
}

.notification-row:focus-visible {
    outline: 3px solid rgba(19, 99, 198, 0.18);
    outline-offset: -3px;
}

.notification-row.is-unread {
    background: rgba(21, 172, 225, 0.08);
}

.notification-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.notification-pill--unread {
    background: rgba(19, 99, 198, 0.12);
    color: #1363c6;
}

.notification-pill--read {
    background: rgba(20, 24, 62, 0.08);
    color: #4b556d;
}

.notification-pill--neutral {
    background: rgba(20, 24, 62, 0.08);
    color: #4b556d;
}

.notification-pill--active {
    background: rgba(22, 101, 52, 0.12);
    color: #166534;
}

.notification-pill--expired {
    background: rgba(220, 53, 69, 0.12);
    color: #b42318;
}

.notification-date {
    white-space: nowrap;
}

.notification-empty {
    padding: 3rem 1.5rem;
    border: 1px dashed rgba(20, 24, 62, 0.14);
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(180deg, #f8fbff, #f1f6ff);
}

.notification-empty i {
    margin-bottom: 1rem;
    color: #1363c6;
    font-size: 2rem;
}

.notification-modal .modal-content {
    border: 0;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(20, 24, 62, 0.18);
    background:
        radial-gradient(circle at top right, rgba(21, 172, 225, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.notification-modal .modal-header,
.notification-modal .modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.notification-modal .modal-body {
    padding: 0 1.5rem 1.5rem;
}

.notification-modal-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #1363c6;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notification-modal-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.notification-modal-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #6b7390;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notification-modal-value {
    color: #14183e;
    font-weight: 600;
    word-break: break-word;
}

.notification-modal-message,
.notification-message-body {
    padding: 1.25rem;
    border: 1px solid rgba(20, 24, 62, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfdff, #f2f7ff);
    color: #334155;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.notification-detail-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.user-admin-row td {
    vertical-align: middle;
}

.user-admin-avatar-cell {
    width: 92px;
}

.user-admin-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(20, 24, 62, 0.08);
    box-shadow: 0 12px 24px rgba(20, 24, 62, 0.12);
    background: linear-gradient(180deg, #eef4ff, #f8fbff);
}

.user-admin-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1363c6;
}

.user-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.user-edit-modal .modal-content {
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(21, 172, 225, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.user-edit-modal .modal-header,
.user-edit-modal .modal-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.user-edit-modal .modal-body {
    padding-bottom: 1.5rem;
}

.user-edit-modal .form-label {
    color: #47506a;
    font-weight: 600;
}

body[data-theme='dark'] .auth-success {
    background: rgba(22, 101, 52, 0.18);
    color: #bbf7d0;
}

body[data-theme='dark'] .notification-pill--unread {
    background: rgba(21, 172, 225, 0.16);
    color: #9edcff;
}

body[data-theme='dark'] .notification-pill--read,
body[data-theme='dark'] .notification-pill--neutral {
    background: rgba(255, 255, 255, 0.08);
    color: #c6d2e8;
}

body[data-theme='dark'] .notification-pill--active {
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
}

body[data-theme='dark'] .notification-pill--expired {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
}

body[data-theme='dark'].opportunities-page .opportunities-card {
    border-color: rgba(144, 163, 197, 0.16) !important;
    background: linear-gradient(180deg, #162033, #101827);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px rgba(0, 0, 0, 0.28);
}

body[data-theme='dark'].opportunities-page .opportunities-card-title,
body[data-theme='dark'].opportunities-page .opportunities-card-label {
    color: #f5f8ff;
}

body[data-theme='dark'].opportunities-page .opportunities-card-copy {
    color: #9fb0cd;
}

body[data-theme='dark'].opportunities-page .opportunities-card-badge {
    color: #dbe7ff;
    background: rgba(93, 129, 184, 0.22);
}

body[data-theme='dark'].about-page .about-value-card {
    border-color: rgba(144, 163, 197, 0.16) !important;
    background: linear-gradient(180deg, #162033, #101827);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px rgba(0, 0, 0, 0.28);
}

body[data-theme='dark'].about-page .about-value-card .card-body,
body[data-theme='dark'].about-page .about-value-card .auth-muted {
    color: #c8d4e3;
}

body[data-theme='dark'].service-page .service-feature-card {
    border-color: rgba(144, 163, 197, 0.16) !important;
    background: linear-gradient(180deg, #162033, #101827);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px rgba(0, 0, 0, 0.28);
}

body[data-theme='dark'].service-page .service-feature-card .card-title,
body[data-theme='dark'].service-page .service-feature-label {
    color: #f5f8ff;
}

body[data-theme='dark'].service-page .service-feature-copy,
body[data-theme='dark'].service-page .service-feature-card .card-text {
    color: #9fb0cd;
}

body[data-theme='dark'].service-page .service-highlight-chip {
    color: #dbe7ff;
    background: rgba(93, 129, 184, 0.22);
}

body[data-theme='dark'].notifications-page .notifications-table-wrap,
body[data-theme='dark'].notification-detail-page .notification-message-body,
body[data-theme='dark'].notifications-page .notification-modal .modal-content,
body[data-theme='dark'].notifications-page .notification-modal-message,
body[data-theme='dark'].admin-users-page .notifications-table-wrap,
body[data-theme='dark'].ip-allowlist-page .notifications-table-wrap {
    background: linear-gradient(180deg, #252525, #1e1e1e);
}

body[data-theme='dark'].notifications-page .notifications-table thead th,
body[data-theme='dark'].admin-users-page .notifications-table thead th,
body[data-theme='dark'].ip-allowlist-page .notifications-table thead th {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(238, 238, 238, 0.72);
}

body[data-theme='dark'].notifications-page .notifications-table tbody td,
body[data-theme='dark'].admin-users-page .notifications-table tbody td,
body[data-theme='dark'].ip-allowlist-page .notifications-table tbody td,
body[data-theme='dark'].notification-detail-page .notification-message-body,
body[data-theme='dark'].notifications-page .notification-modal-message {
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(238, 238, 238, 0.84);
}

body[data-theme='dark'].notifications-page .notifications-table tbody td strong,
body[data-theme='dark'].admin-users-page .notifications-table tbody td strong,
body[data-theme='dark'].ip-allowlist-page .notifications-table tbody td strong,
body[data-theme='dark'].notifications-page .notification-modal-value,
body[data-theme='dark'].notification-detail-page .notification-detail-topline,
body[data-theme='dark'].notification-detail-page .notification-message-body {
    color: #eee;
}

body[data-theme='dark'].notifications-page .notifications-table tbody td span,
body[data-theme='dark'].admin-users-page .notifications-table tbody td span,
body[data-theme='dark'].ip-allowlist-page .notifications-table tbody td span,
body[data-theme='dark'].notifications-page .notification-modal-label {
    color: rgba(238, 238, 238, 0.68);
}

body[data-theme='dark'].ip-allowlist-page .form-label {
    color: rgba(238, 238, 238, 0.84);
}

body[data-theme='dark'].admin-users-page .user-admin-avatar {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #252525, #1e1e1e);
}

body[data-theme='dark'].admin-users-page .user-admin-avatar-fallback {
    color: #7ce7ff;
}

body[data-theme='dark'].admin-users-page .user-edit-modal .modal-content {
    background:
        radial-gradient(circle at top right, rgba(21, 172, 225, 0.12), transparent 30%),
        linear-gradient(180deg, #252525, #1e1e1e);
}

body[data-theme='dark'].admin-users-page .user-edit-modal .form-label {
    color: rgba(238, 238, 238, 0.84);
}

.account-avatar-preview,
.account-avatar-fallback {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.account-avatar-preview {
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.18);
}

.account-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #e3f6ff;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.12);
}

.account-success {
    border-radius: 18px;
}

.account-cropper {
    padding: 1.25rem;
    border: 1px solid rgba(20, 24, 62, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(19, 99, 198, 0.03), rgba(20, 24, 62, 0.02));
}

.account-cropper-stage {
    position: relative;
    width: min(100%, 340px);
    aspect-ratio: 1;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(45deg, rgba(19, 99, 198, 0.08) 25%, transparent 25%, transparent 75%, rgba(19, 99, 198, 0.08) 75%),
        linear-gradient(45deg, rgba(19, 99, 198, 0.08) 25%, transparent 25%, transparent 75%, rgba(19, 99, 198, 0.08) 75%),
        #edf4ff;
    background-position: 0 0, 12px 12px, 0 0;
    background-size: 24px 24px, 24px 24px, auto;
    cursor: grab;
    touch-action: none;
}

.account-cropper-stage.is-dragging {
    cursor: grabbing;
}

.account-cropper-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    user-select: none;
    -webkit-user-drag: none;
    max-width: none;
    max-height: none;
}

.account-cropper-frame {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.95),
        inset 0 0 0 999px rgba(8, 17, 37, 0.16);
    pointer-events: none;
}

.account-cropper-controls {
    display: grid;
    gap: 0.75rem;
}

.account-cropper-help {
    color: #6b7390;
    font-size: 0.95rem;
}

body.home-page main {
    display: block;
    min-height: auto;
}

body.home-page .home-shell {
    margin-bottom: 4rem;
}

body.home-page .home-hero-aside,
body.home-page .home-metrics-aside,
body.home-page .home-cta-aside {
    padding: 2.25rem;
    background:
        radial-gradient(circle at top right, rgba(124, 231, 255, 0.18), transparent 35%),
        linear-gradient(180deg, rgba(10, 22, 47, 0.96), rgba(17, 44, 89, 0.96));
}

body.home-page .home-overview-panel,
body.home-page .home-services-panel,
body.home-page .home-approach-panel {
    border: 1px solid rgba(20, 24, 62, 0.06);
}

body.home-page .home-overview-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

body.home-page .home-section-label {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: #1363c6;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.home-page .home-metric-grid {
    display: grid;
    gap: 0.9rem;
}

body.home-page .home-metric-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

body.home-page .home-metric-card strong {
    color: #fff;
    font-size: 1rem;
}

body.home-page .home-metric-card span {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

body.home-page .home-service-card {
    border-radius: 24px;
    background: linear-gradient(180deg, #fdfefe, #f4f8ff);
}

body.home-page .home-service-card .card-body {
    padding: 1.5rem;
}

body.home-page .home-service-card h3 {
    margin-bottom: 0.85rem;
    color: #14183e;
}

body.home-page .home-service-card p {
    color: #5b6381;
    line-height: 1.6;
}

body.home-page .home-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 18px;
    color: #1363c6;
    font-size: 1.15rem;
    background: rgba(19, 99, 198, 0.1);
}

body.home-page .home-step-list {
    display: grid;
    gap: 1rem;
}

body.home-page .home-step-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(20, 24, 62, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfdff, #f2f7ff);
}

body.home-page .home-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    border-radius: 999px;
    color: #1363c6;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: rgba(19, 99, 198, 0.1);
}

body[data-theme='dark'].home-page .home-overview-panel,
body[data-theme='dark'].home-page .home-services-panel,
body[data-theme='dark'].home-page .home-approach-panel {
    border-color: rgba(255, 255, 255, 0.08);
}

body[data-theme='dark'].home-page .home-section-label {
    color: #7ce7ff;
}

body[data-theme='dark'].home-page .home-service-card {
    background: linear-gradient(180deg, #262626, #1f1f1f);
    box-shadow: none;
}

body[data-theme='dark'].home-page .home-service-card h3 {
    color: #f2f4ff;
}

body[data-theme='dark'].home-page .home-service-card p {
    color: rgba(238, 238, 238, 0.72);
}

body[data-theme='dark'].home-page .home-service-icon {
    color: #7ce7ff;
    background: rgba(124, 231, 255, 0.12);
}

body[data-theme='dark'].home-page .home-step-item {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #282828, #212121);
}

body[data-theme='dark'].home-page .home-step-index {
    color: #7ce7ff;
    background: rgba(124, 231, 255, 0.12);
}

@media (max-width: 991.98px) {
    .auth-hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .auth-panel,
    .auth-aside {
        border-radius: 24px;
    }

    .auth-panel {
        padding: 2rem;
    }

    .auth-aside {
        padding: 2rem;
    }

    .account-cropper-stage {
        width: 100%;
    }

    body.blog-page .auth-panel.blog-auth-panel {
        max-width: 100%;
    }

    body.blog-page .blog-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    body.blog-page .blog-card-byline {
        max-width: 100%;
    }

    body.audit-page .audit-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    body.audit-page .audit-surface-header {
        flex-direction: column;
    }

    body.audit-page .audit-surface-copy {
        max-width: 100%;
    }

    body.myaudits-page .audit-records-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    body.myaudits-page .audit-summary-grid {
        grid-template-columns: 1fr;
    }

    .notification-modal-meta {
        grid-template-columns: 1fr;
    }

    .notification-detail-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    body.home-page .home-hero-aside,
    body.home-page .home-metrics-aside,
    body.home-page .home-cta-aside {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .auth-hero {
        padding-top: 120px;
        padding-bottom: 48px;
    }

    .auth-shell {
        margin-top: -24px;
        margin-bottom: 3.5rem;
    }

    .auth-panel,
    .auth-aside {
        border-radius: 20px;
    }

    .auth-panel,
    .auth-aside {
        padding: 1.5rem;
    }

    .auth-chip {
        width: 100%;
        border-radius: 20px;
    }

    body.myaudits-page .audit-records-table thead th,
    body.myaudits-page .audit-records-table tbody td {
        padding: 0.9rem 1rem;
    }

    .notifications-table thead th,
    .notifications-table tbody td {
        padding: 0.9rem 1rem;
    }

    .notification-modal .modal-header,
    .notification-modal .modal-footer,
    .notification-modal .modal-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    body.home-page .home-step-item {
        grid-template-columns: 1fr;
    }

    body.home-page .home-step-index {
        min-width: 2.75rem;
    }
}
