:root {
    --navy: #152844;
    --navy-2: #1d385a;
    --blue: #315d93;
    --blue-pale: #e9f0f9;
    --ink: #202b3a;
    --muted: #788394;
    --line: #e9edf1;
    --paper: #fff;
    --bg: #f7f8fa;
    --teal: #278579;
    --teal-pale: #e3f3ef;
    --amber: #ae7730;
    --amber-pale: #f8efdf;
    --green: #348568;
    --shadow: 0 12px 40px #12253a12;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 15.1px;
}
button,
input,
select,
textarea {
    font: inherit;
}
button {
    cursor: pointer;
}
h1,
h2,
strong {
    font-family: Manrope, "DM Sans", sans-serif;
}
h1,
h2,
p {
    margin-top: 0;
}
h1 {
    font-size: 31.3px;
    letter-spacing: -1.1px;
    margin: 7px 0 7px;
    font-weight: 750;
}
h2 {
    font-size: 17.3px;
    letter-spacing: -0.3px;
    margin: 0 0 5px;
}
.muted {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}
.hidden {
    display: none !important;
}
.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 22px;
    background:
        radial-gradient(ellipse at 50% 10%, #e8f0f8 0, transparent 55%),
        var(--bg);
}
.login-card {
    width: min(420px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 34px 38px 28px;
    box-shadow: var(--shadow);
    text-align: center;
}
.login-logo {
    width: 98px;
    height: 98px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #eef1f4;
    margin-bottom: 16px;
}
.eyebrow {
    display: block;
    color: #6f85a0;
    font-size: 10.8px;
    letter-spacing: 1.35px;
    font-weight: 700;
}
.login-card h1 {
    font-size: 27px;
}
.login-card form {
    text-align: left;
    margin-top: 28px;
}
.login-card label,
.dialog label {
    display: block;
    color: #465366;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 15px;
}
.login-card input,
.dialog input,
.dialog select,
.dialog textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 1px solid #dfe4e9;
    background: #fff;
    border-radius: 7px;
    padding: 11px 12px;
    color: var(--ink);
    outline: none;
    transition:
        border 0.15s,
        box-shadow 0.15s;
}
.login-card input:focus,
.dialog input:focus,
.dialog select:focus,
.dialog textarea:focus,
.search:focus-within {
    border-color: #7296c0;
    box-shadow: 0 0 0 3px #315d9315;
}
.button {
    border: 0;
    border-radius: 7px;
    padding: 10px 15px;
    font-weight: 650;
    font-size: 13px;
    transition:
        transform 0.16s,
        background 0.16s;
}
.button:hover {
    transform: translateY(-1px);
}
.primary {
    background: var(--navy);
    color: #fff;
}
.primary:hover {
    background: #234267;
}
.full {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 9px;
    padding: 12px 14px;
}
.privacy-note {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 26px;
    color: #8792a0;
    font-size: 11.9px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.lock-icon {
    font-size: 9.7px;
    color: var(--teal);
}
.form-error {
    color: #b64747;
    min-height: 16px;
    font-size: 11.9px;
    margin: 8px 0 0;
}
.app {
    min-height: 100vh;
}
.sidebar {
    position: fixed;
    z-index: 3;
    inset: 0 auto 0 0;
    width: 240px;
    background: var(--navy);
    color: #dfe7f0;
    padding: 19px 15px 17px;
    display: flex;
    flex-direction: column;
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: white;
    text-decoration: none;
    padding: 0 3px 22px;
    border-bottom: 1px solid #ffffff1b;
}
.brand img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #ffffff60;
    background: white;
}
.brand strong {
    display: block;
    font-size: 13px;
    letter-spacing: -0.1px;
}
.brand small {
    display: block;
    font-size: 9.7px;
    letter-spacing: 1.4px;
    color: #aab9cc;
    margin-top: 4px;
}
.nav-label {
    font-size: 9.7px;
    letter-spacing: 1.2px;
    color: #8da2bc;
    font-weight: 700;
    margin: 23px 10px 9px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #c3cfdd;
    text-align: left;
    padding: 10px 11px;
    margin: 2px 0;
    font-size: 13px;
    transition: 0.15s;
}
.nav-item:hover {
    background: #ffffff12;
    color: white;
}
.nav-item.active {
    background: #ffffff19;
    color: #fff;
    font-weight: 650;
    box-shadow: inset 2px 0 #9bc1ed;
}
.nav-icon {
    width: 16px;
    font-size: 18.4px;
    color: #a9c5e3;
    text-align: center;
}
.nav-count {
    margin-left: auto;
    background: #ffffff17;
    border-radius: 12px;
    padding: 3px 8px;
    font-size: 10.8px;
}
.giving-label {
    margin-top: 28px;
}
.sidebar-bottom {
    margin-top: auto;
}
.secure-card {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 10px;
    background: #ffffff0d;
    border: 1px solid #ffffff10;
    border-radius: 8px;
}
.secure-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64c09c;
    box-shadow: 0 0 0 3px #64c09c20;
}
.secure-card strong,
.secure-card small {
    display: block;
}
.secure-card strong {
    font-size: 11.9px;
}
.secure-card small {
    font-size: 10.8px;
    color: #9bacbf;
    margin-top: 3px;
}
.logout {
    margin: 14px 5px 18px;
    border: 0;
    background: none;
    color: #b5c3d2;
    font-size: 11.9px;
    padding: 5px;
}
.logout:hover {
    color: white;
}
.sidebar-foot {
    font-size: 9.7px;
    letter-spacing: 0.8px;
    color: #8195ad;
    padding: 0 8px;
}
.main-area {
    margin-left: 240px;
    min-height: 100vh;
}
.topbar {
    height: 58px;
    background: #ffffffd9;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
}
.breadcrumbs {
    display: flex;
    gap: 11px;
    align-items: center;
    color: #8b96a4;
    font-size: 11.9px;
}
.breadcrumbs i {
    font-style: normal;
    color: #c3cad2;
}
.breadcrumbs strong {
    color: #38475a;
    font-size: 11.9px;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.today-label {
    color: #8993a0;
    font-size: 11.9px;
}
.avatar {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7eef7;
    color: #345982;
    font-size: 9.7px;
    font-weight: 700;
}
.page-wrap {
    max-width: 1280px;
    padding: 31px 38px 28px;
    margin: 0 auto;
}
.welcome-row,
.page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.welcome-row .button,
.page-title-row .button {
    white-space: nowrap;
}
.wave {
    color: #bc9b5f;
    font-size: 18.4px;
}
.info-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 24px;
    padding: 17px 22px;
    background: linear-gradient(105deg, #edf3f9, #f2f6fa 70%, #e8f0f7);
    border: 1px solid #e2eaf3;
    border-radius: 9px;
}
.banner-mark {
    height: 38px;
    width: 38px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: #527ba8;
    font-size: 18.4px;
    box-shadow: 0 2px 10px #233b5910;
}
.info-banner strong {
    font-size: 13px;
    color: #304864;
}
.info-banner p {
    font-size: 11.9px;
    line-height: 1.6;
    color: #728197;
    margin: 4px 25px 0 0;
    max-width: 700px;
}
.banner-spark {
    position: absolute;
    right: 20px;
    top: 9px;
    color: #a9c2dd;
    font-size: 31.3px;
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 29px 0 13px;
}
.section-heading p {
    font-size: 11.9px;
}
.month-picker {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #8490a0;
    font-size: 9.7px;
    letter-spacing: 0.8px;
    font-weight: 700;
}
.month-picker input {
    border: 1px solid #e1e6eb;
    background: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    color: #354559;
    font-size: 11.9px;
    letter-spacing: 0;
    font-weight: 500;
    outline: none;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.stat-card,
.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 9px;
}
.stat-card {
    padding: 17px 18px 15px;
    min-height: 130px;
}
.stat-top {
    display: flex;
    align-items: center;
    gap: 9px;
}
.stat-icon,
.quick-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: 14px;
}
.blue {
    color: #476e9a;
    background: var(--blue-pale);
}
.amber {
    color: var(--amber);
    background: var(--amber-pale);
}
.teal {
    color: var(--teal);
    background: var(--teal-pale);
}
.stat-caption {
    font-size: 9.7px;
    letter-spacing: 0.8px;
    color: #8792a0;
    font-weight: 700;
}
.stat-card > strong {
    display: block;
    font-size: 25.9px;
    letter-spacing: -1px;
    margin: 10px 0 7px;
    color: #25354a;
}
.stat-foot {
    font-size: 10.8px;
    color: #8b96a3;
    display: flex;
    align-items: center;
    gap: 6px;
}
.green-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #51a582;
}
.home-columns {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 15px;
    margin-top: 16px;
}
.panel {
    padding: 18px;
}
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}
.panel-head h2 {
    font-size: 15.1px;
}
.panel-head .muted {
    font-size: 10.8px;
}
.text-button {
    border: 0;
    background: none;
    color: #3e6898;
    font-size: 10.8px;
    font-weight: 650;
}
.text-button span {
    margin-left: 4px;
}
.recent-list {
    min-height: 94px;
}
.recent-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #f0f2f5;
}
.person-badge {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf2f7;
    color: #526b89;
    font-size: 10.8px;
    font-weight: 700;
}
.recent-person {
    flex: 1;
    min-width: 0;
}
.recent-person strong,
.recent-person small {
    display: block;
}
.recent-person strong {
    font-size: 11.9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent-person small {
    color: #929ba7;
    font-size: 9.7px;
    margin-top: 3px;
}
.recent-amount {
    font-size: 11.9px;
    font-weight: 700;
}
.recent-type {
    font-size: 9.7px;
    border-radius: 10px;
    padding: 4px 7px;
    color: #6780a0;
    background: #eff3f7;
}
.empty-state {
    color: #939eaa;
    text-align: center;
    font-size: 11.9px;
    padding: 25px 10px;
}
.quick-panel {
    padding-bottom: 9px;
}
.quick-panel .panel-head {
    margin-bottom: 8px;
}
.quick-action {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 2px;
    border: 0;
    border-top: 1px solid #f0f2f5;
    background: white;
    text-align: left;
}
.quick-action > span:nth-child(2) {
    flex: 1;
}
.quick-action strong,
.quick-action small {
    display: block;
}
.quick-action strong {
    font-size: 10.8px;
    color: #344254;
}
.quick-action small {
    font-size: 9.7px;
    color: #99a2ae;
    margin-top: 3px;
}
.quick-action > b {
    font-weight: 400;
    color: #98a3b0;
}
.quick-action:hover strong {
    color: #365f8b;
}
.quick-icon {
    width: 30px;
    height: 30px;
    font-size: 15.1px;
}
.page-footer {
    padding: 17px 2px;
    color: #9aa3ae;
    font-size: 9.7px;
}
.page-footer span {
    margin: 0 5px;
    color: #c4cbd2;
}
.page-title-row {
    margin-bottom: 25px;
}
.page-title-row .muted {
    margin-top: 3px;
}
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}
.search {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 280px;
    border: 1px solid #e1e6eb;
    background: white;
    border-radius: 7px;
    padding: 0 11px;
    color: #8592a1;
}
.search input {
    border: 0;
    outline: none;
    padding: 9px 0;
    width: 100%;
    font-size: 11.9px;
    color: var(--ink);
}
.small-text {
    font-size: 10.8px;
}
.table-panel {
    padding: 0;
    overflow: hidden;
}
.table-scroll {
    overflow-x: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    white-space: nowrap;
}
th {
    padding: 13px 17px;
    color: #8994a2;
    font-size: 9.7px;
    letter-spacing: 0.75px;
    font-weight: 700;
    background: #fbfcfd;
    border-bottom: 1px solid var(--line);
}
td {
    padding: 12px 17px;
    border-bottom: 1px solid #f0f2f4;
    font-size: 11.9px;
    color: #526072;
}
tbody tr:last-child td {
    border-bottom: 0;
}
.member-cell {
    display: flex;
    align-items: center;
    gap: 9px;
}
.member-cell strong {
    display: block;
    color: #354355;
    font-size: 11.9px;
}
.member-cell small {
    display: block;
    color: #9ba4ae;
    font-size: 9.7px;
    margin-top: 2px;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e9f5ef;
    color: #408267;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 9.7px;
}
.status-pill:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #55a37e;
}
.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 2px 0 17px;
}
.summary-chip {
    display: flex;
    align-items: center;
    gap: 11px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 7px 12px;
}
.summary-chip span {
    font-size: 9.7px;
    letter-spacing: 0.7px;
    color: #8994a2;
}
.summary-chip strong {
    font-size: 14px;
}
.secondary {
    background: #f0f2f5;
    color: #516072;
}
.dialog {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 25px;
    width: min(500px, calc(100% - 28px));
    box-shadow: 0 24px 80px #1528442b;
    color: var(--ink);
}
.dialog::backdrop {
    background: #14243a79;
    backdrop-filter: blur(2px);
}
.dialog-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.dialog-head h2 {
    font-size: 22.7px;
    margin: 5px 0 0;
}
.dialog > form > .muted {
    margin: 8px 0 19px;
    font-size: 11.9px;
}
.icon-button {
    width: 29px;
    height: 29px;
    border: 0;
    border-radius: 50%;
    background: #f1f3f5;
    color: #748092;
    font-size: 21.6px;
    line-height: 1;
}
.dialog label {
    margin-bottom: 13px;
}
.dialog label em {
    color: #bf6a5b;
    font-style: normal;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.dialog textarea {
    resize: vertical;
}
.optional {
    float: right;
    color: #9da5af;
    font-size: 8.6px;
    letter-spacing: 0.7px;
}
.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 19px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}
.toast {
    position: fixed;
    z-index: 5;
    right: 22px;
    bottom: 22px;
    background: #183653;
    color: #fff;
    border-radius: 7px;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    font-size: 11.9px;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.2s;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 900px) {
    .sidebar {
        width: 205px;
    }
    .main-area {
        margin-left: 205px;
    }
    .page-wrap {
        padding: 27px 24px;
    }
    .topbar {
        padding: 0 24px;
    }
    .home-columns {
        grid-template-columns: 1fr;
    }
    .quick-panel {
        display: none;
    }
}
@media (max-width: 650px) {
    .sidebar {
        inset: auto 0 0;
        width: 100%;
        height: 64px;
        padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
        display: block;
    }
    .brand,
    .sidebar .nav-label,
    .sidebar-bottom {
        display: none;
    }
    .sidebar nav {
        display: flex;
        height: 100%;
        justify-content: space-around;
    }
    .nav-item {
        width: auto;
        min-width: 58px;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 4px 5px;
        font-size: 8.6px;
        text-align: center;
    }
    .nav-item.active {
        box-shadow: inset 0 2px #9bc1ed;
    }
    .nav-icon {
        font-size: 18.4px;
        height: 21px;
    }
    .nav-count {
        display: none;
    }
    .main-area {
        margin-left: 0;
        padding-bottom: 75px;
    }
    .topbar {
        height: 49px;
        padding: 0 17px;
    }
    .today-label {
        display: none;
    }
    .page-wrap {
        padding: 22px 16px;
    }
    .welcome-row,
    .page-title-row {
        align-items: flex-start;
    }
    .welcome-row {
        flex-direction: column;
    }
    .welcome-row .button {
        align-self: flex-start;
    }
    .page-title-row .button {
        padding: 9px;
        font-size: 10.8px;
    }
    .page-title-row h1,
    .welcome-row h1 {
        font-size: 25.9px;
    }
    .info-banner {
        padding: 13px;
        gap: 10px;
    }
    .banner-spark {
        display: none;
    }
    .info-banner p {
        margin-right: 0;
        font-size: 10.8px;
    }
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }
    .stat-card {
        min-height: 100px;
        padding: 13px 15px;
    }
    .stat-card > strong {
        font-size: 22.7px;
        margin: 7px 0 5px;
    }
    .stat-top {
        gap: 7px;
    }
    .stat-icon {
        width: 25px;
        height: 25px;
    }
    .section-heading {
        align-items: center;
    }
    .section-heading h2 {
        font-size: 15.1px;
    }
    .month-picker {
        gap: 5px;
    }
    .home-columns {
        margin-top: 11px;
    }
    .panel {
        padding: 14px;
    }
    .login-card {
        padding: 28px 24px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .search {
        width: min(240px, 70vw);
    }
    .filter-row {
        justify-content: space-between;
    }
    .table-panel {
        margin: 0 -2px;
    }
    .dialog {
        padding: 20px;
    }
}

/* Public church website and account portals */
.public-site {
    min-height: 100vh;
    background: #fbfaf8;
    color: #19314a;
}
.public-nav {
    height: 78px;
    max-width: 1200px;
    margin: auto;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9e7e1;
}
.public-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #17304c;
}
.public-brand img {
    width: 43px;
    height: 43px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #e5e7e9;
    background: white;
}
.public-brand strong,
.public-brand small {
    display: block;
}
.public-brand strong {
    font:
        700 13px Manrope,
        sans-serif;
    letter-spacing: -0.2px;
}
.public-brand small {
    font-size: 8.6px;
    letter-spacing: 1.35px;
    color: #8c9aaa;
    margin-top: 4px;
}
.public-nav nav {
    display: flex;
    align-items: center;
    gap: 29px;
}
.public-nav nav a {
    font-size: 11.9px;
    text-decoration: none;
    color: #687789;
}
.public-nav nav a:hover,
.about-link:hover {
    color: #1e5688;
}
.public-nav nav .public-login-link {
    color: #fff;
    background: #173b60;
    padding: 10px 14px;
    border-radius: 5px;
}
.public-hero {
    min-height: 530px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    padding: 46px 55px 35px;
    align-items: center;
    overflow: hidden;
}
.hero-copy {
    padding: 0 0 10px 0;
    position: relative;
    z-index: 1;
}
.hero-kicker {
    font-size: 9.7px;
    color: #587593;
    letter-spacing: 1.15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-kicker span {
    display: inline-block;
    width: 17px;
    height: 1px;
    background: #ba915a;
}
.hero-copy h1 {
    font:
        500 clamp(46.4px, 5.4vw, 71.3px)/1.08 Manrope,
        sans-serif;
    color: #172f49;
    letter-spacing: -3.8px;
    margin: 23px 0 18px;
}
.hero-copy h1 i {
    font-family: Georgia, serif;
    color: #37678e;
    font-weight: 400;
}
.hero-copy > p {
    font-size: 14px;
    line-height: 1.8;
    color: #788493;
    max-width: 410px;
    margin-bottom: 24px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}
.hero-primary,
.hero-secondary {
    font-size: 11.9px;
    text-decoration: none;
}
.hero-primary {
    background: #193c60;
    color: white;
    padding: 17px 30px;
    font-size: 16.2px;
    font-weight: 600;
    letter-spacing: 0.1px;
    border-radius: 6px;
    box-shadow: 0 5px 14px #193c6025;
}
.hero-primary span {
    padding-left: 18px;
}
.hero-secondary {
    color: #667789;
}
.hero-secondary span {
    margin-left: 7px;
}
.hero-since {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 44px;
}
.since-cross {
    height: 32px;
    width: 32px;
    display: grid;
    place-items: center;
    background: #f1ede4;
    border-radius: 50%;
    color: #a9814d;
}
.hero-since strong,
.hero-since small {
    display: block;
}
.hero-since strong {
    font-size: 10.8px;
    color: #344c64;
}
.hero-since small {
    font-size: 9.7px;
    color: #8d99a6;
    margin-top: 3px;
}
.hero-art {
    height: 390px;
    position: relative;
    display: grid;
    place-items: center;
    transform: translateX(30px);
}
.hero-orbit {
    position: absolute;
    border: 1px solid #d8e1e9;
    border-radius: 50%;
    transform: rotate(-18deg);
}
.orbit-one {
    width: 440px;
    height: 340px;
}
.orbit-two {
    width: 360px;
    height: 430px;
    transform: rotate(26deg);
    border-color: #e4dfd3;
}
.hero-logo-frame {
    position: relative;
    width: 295px;
    height: 295px;
    border-radius: 50%;
    padding: 8px;
    background: #fff;
    box-shadow:
        0 22px 55px #1b38541c,
        0 0 0 1px #ebedf0;
    transform: rotate(2deg);
}
.hero-logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.hero-caption {
    position: absolute;
    bottom: 6px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 8.6px;
    letter-spacing: 1.8px;
    color: #8491a0;
}
.caption-line {
    width: 22px;
    height: 1px;
    background: #bd9a68;
}
.hero-float {
    position: absolute;
    right: 6px;
    top: 63px;
    background: #fff;
    padding: 11px 13px;
    border: 1px solid #ecebe7;
    box-shadow: 0 5px 17px #283b4a10;
    border-radius: 4px;
    color: #687889;
    font:
        italic 13px Georgia,
        serif;
    transform: rotate(3deg);
}
.hero-float span {
    color: #b6925f;
    padding-left: 6px;
}
.public-about {
    max-width: 1120px;
    margin: 10px auto 0;
    padding: 34px 50px 36px;
    border-top: 1px solid #e8e5df;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 25px 75px;
    align-items: start;
}
.public-about .eyebrow,
.public-connect .eyebrow {
    color: #a38154;
}
.public-about h2,
.public-connect h2 {
    font:
        500 27px/1.3 Manrope,
        sans-serif;
    letter-spacing: -0.9px;
    color: #203b56;
    margin: 9px 0 0;
    max-width: 370px;
}
.public-about > p {
    color: #778493;
    font-size: 11.9px;
    line-height: 1.9;
    margin: 10px 0 0;
    max-width: 500px;
}
.about-link {
    grid-column: 2;
    color: #40678c;
    font-size: 10.8px;
    text-decoration: none;
}
.about-link span {
    margin-left: 6px;
}
.public-connect {
    background: #f0f3f5;
    padding: 35px max(calc((100% - 1020px) / 2), 35px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.public-connect h2 {
    font-size: 22.7px;
}
.public-connect p {
    font-size: 10.8px;
    color: #84909d;
    margin: 7px 0 0;
}
.connect-links {
    display: flex;
    gap: 10px;
}
.connect-links > a {
    width: 210px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e6e9eb;
    padding: 11px;
    border-radius: 5px;
    text-decoration: none;
    color: #405166;
}
.social-icon {
    height: 27px;
    width: 27px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    font-weight: 700;
}
.youtube {
    background: #fff0ed;
    color: #cf453c;
    font-size: 11.9px;
}
.facebook {
    background: #edf2fc;
    color: #4569a0;
    font: 700 19.4px Arial;
}
.connect-links > a > span:nth-child(2) {
    flex: 1;
}
.connect-links strong,
.connect-links small {
    display: block;
}
.connect-links strong {
    font-size: 10.8px;
}
.connect-links small {
    font-size: 8.6px;
    color: #94a0ac;
    margin-top: 3px;
}
.connect-links b {
    color: #91a0ad;
    font-weight: 400;
    font-size: 13px;
}
.public-footer {
    max-width: 1200px;
    margin: auto;
    padding: 18px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.public-footer .public-brand img {
    width: 34px;
    height: 34px;
}
.public-footer .public-brand strong {
    font-size: 10.8px;
}
.public-footer > span,
.public-footer > a:last-child {
    font-size: 9.7px;
    color: #8b96a1;
    text-decoration: none;
}
.public-footer > a:last-child {
    color: #476a8d;
}
.back-public {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #69809a;
    font-size: 10.8px;
    margin-top: 17px;
}
.portal-credentials {
    padding: 14px;
    margin: 2px 0 13px;
    border: 1px solid #e7edf3;
    border-radius: 7px;
    background: #f8fafc;
}
.portal-credentials .eyebrow {
    margin-bottom: 10px;
}
.portal-credentials label {
    margin-bottom: 5px;
}
.portal-credentials small {
    font-size: 9.7px;
    color: #8693a1;
    line-height: 1.5;
}
.member-portal {
    min-height: 100vh;
    background: #f7f8fa;
}
.portal-header {
    height: 64px;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 0 max(calc((100% - 1120px) / 2), 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.portal-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 43px 25px;
}
.portal-main h1 {
    margin-top: 9px;
}
.portal-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin: 26px 0 17px;
}
.portal-records {
    padding: 18px 0 0;
    overflow: hidden;
}
.portal-records .panel-head {
    padding: 0 18px;
}
.portal-records table {
    margin-top: 8px;
}
.portal-help {
    font-size: 10.8px;
    color: #939daa;
    margin: 14px 2px;
}
.public-about,
.public-connect {
    scroll-margin-top: 25px;
}
@media (max-width: 760px) {
    .public-nav {
        height: auto;
        min-height: 68px;
        padding: 10px 17px;
    }
    .public-nav nav {
        gap: 12px;
    }
    .public-nav nav a {
        font-size: 9.7px;
    }
    .public-brand img {
        width: 38px;
        height: 38px;
    }
    .public-brand strong {
        font-size: 10.8px;
    }
    .public-hero {
        padding: 30px 24px 20px;
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .hero-copy h1 {
        font-size: 51.8px;
    }
    .hero-copy > p {
        font-size: 13px;
    }
    .hero-since {
        margin-top: 27px;
    }
    .hero-art {
        height: 310px;
        margin-top: 15px;
        transform: none;
    }
    .hero-logo-frame {
        width: 220px;
        height: 220px;
    }
    .orbit-one {
        width: 330px;
        height: 250px;
    }
    .orbit-two {
        width: 270px;
        height: 330px;
    }
    .hero-float {
        right: 4%;
        top: 35px;
    }
    .hero-caption {
        bottom: 4px;
    }
    .public-about {
        margin-top: 16px;
        padding: 27px 24px;
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .public-about h2 {
        font-size: 23.8px;
    }
    .public-about > p {
        margin: 0;
    }
    .about-link {
        grid-column: 1;
    }
    .public-connect {
        padding: 27px 24px;
        display: block;
    }
    .connect-links {
        margin-top: 17px;
    }
    .connect-links > a {
        width: 50%;
        padding: 8px;
        gap: 7px;
    }
    .connect-links small {
        font-size: 7.6px;
    }
    .public-footer {
        padding: 15px 17px;
    }
    .public-footer > span {
        display: none;
    }
    .portal-main {
        padding: 30px 16px;
    }
    .portal-summary {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .portal-summary .stat-card {
        min-height: 80px;
    }
    .portal-header {
        padding: 0 15px;
    }
}
.table-link {
    border: 0;
    background: #eef3f8;
    color: #456a8f;
    padding: 6px 8px;
    border-radius: 5px;
    font-size: 9.7px;
}
.table-link:hover {
    background: #e3edf7;
}
.public-login-link {
    white-space: nowrap;
}
.portal-account-actions {
    display: flex;
    gap: 8px;
}
.portal-account-actions .button {
    font-size: 10.8px;
    padding: 8px 11px;
}
@media (max-width: 500px) {
    .portal-account-actions {
        gap: 5px;
    }
    .portal-account-actions .button {
        font-size: 9.7px;
        padding: 7px 8px;
    }
    .portal-header .public-brand strong {
        font-size: 9.7px;
    }
}
.public-footer {
    position: relative;
    min-height: 42px;
    height: 42px;
    padding: 6px 35px;
    justify-content: center;
}
.public-footer > span {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.public-footer > a:last-child {
    position: absolute;
    right: 35px;
}
@media (max-width: 760px) {
    .public-footer {
        height: 38px;
        min-height: 38px;
        padding: 5px 17px;
    }
    .public-footer > span {
        display: block;
    }
    .public-footer > a:last-child {
        right: 17px;
    }
}
.public-footer .public-credit {
    position: absolute;
    right: 35px;
    color: #476a8d;
    font-size: 9.7px;
    white-space: nowrap;
}
@media (max-width: 760px) {
    .public-footer .public-credit {
        right: 17px;
    }
}
.public-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: initial;
    height: auto;
    min-height: 42px;
    padding: 8px 35px;
}
.public-footer > span {
    position: static;
    left: auto;
    transform: none;
    white-space: nowrap;
    display: block;
}
.public-footer .footer-legal,
.public-footer .footer-partner {
    position: static;
    right: auto;
    transform: none;
    color: #84909c;
    font-size: 8.6px;
    white-space: nowrap;
}
.public-footer .footer-partner {
    text-align: right;
}
.public-footer .footer-partner a {
    color: #476a8d;
    text-decoration: none;
}
.public-footer .footer-partner a:hover {
    text-decoration: underline;
}
@media (max-width: 760px) {
    .public-footer {
        height: auto;
        min-height: 52px;
        padding: 7px 13px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 3px;
    }
    .public-footer > span {
        grid-row: 1;
    }
    .public-footer .footer-legal {
        grid-row: 2;
    }
    .public-footer .footer-partner {
        grid-row: 3;
        text-align: center;
    }
}
.public-nav nav .public-login-link {
    color: #183a5f;
    background: #e8eef4;
    border: 1px solid #dce5ed;
    transition:
        background-color 0.18s,
        transform 0.18s;
}
.public-nav nav .public-login-link:hover {
    color: #183a5f;
    background: #dce7f0;
    transform: translateY(-1px);
}
.hero-primary {
    display: inline-block;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.hero-primary:hover {
    transform: scale(1.045);
    box-shadow: 0 8px 20px #193c6030;
}
.hero-primary:active {
    transform: scale(0.97);
}
#member-login:not(.hidden) .login-card {
    animation: memberLoginZoom 0.42s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
@keyframes memberLoginZoom {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-primary,
    .public-nav nav .public-login-link {
        transition: none;
    }
    #member-login:not(.hidden) .login-card {
        animation: none;
    }
}
.sidebar .sidebar-foot {
    display: block;
    padding: 8px 10px 0;
    line-height: 1.4;
}
.sidebar .logout {
    color: #e58b8b;
}
.sidebar .logout:hover {
    color: #ffb0aa;
}
#member-logout {
    background: #fae9e8;
    color: #a94141;
}
#member-logout:hover {
    background: #f6dedd;
    color: #913535;
}
.nav-icon svg,
.stat-icon svg,
.quick-icon svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-icon svg {
    width: 17px;
    height: 17px;
}
.stat-icon svg {
    width: 16px;
    height: 16px;
}
.quick-icon svg {
    width: 16px;
    height: 16px;
}
.hero-kicker {
    gap: 8px;
}
.hero-kicker > span {
    flex: none;
}
.public-footer .footer-legal,
.public-footer .footer-partner {
    font-size: 10.8px;
}
@media (max-width: 760px) {
    .public-footer .footer-legal,
    .public-footer .footer-partner {
        font-size: 9.7px;
    }
}
.since-cross svg,
.banner-mark svg,
.banner-spark svg,
.wave svg,
.hero-float svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.banner-mark svg {
    width: 18px;
    height: 18px;
}
.banner-spark svg,
.wave svg {
    width: 20px;
    height: 20px;
}
.hero-float svg {
    width: 15px;
    height: 15px;
}
.search > span svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.arrow-icon,
.external-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
    flex: none;
}
.hero-primary .arrow-icon {
    margin-left: 16px;
}
.full .arrow-icon {
    width: 16px;
    height: 16px;
}
.back-public .arrow-icon {
    margin-right: 4px;
}
.back-public .left-arrow {
    width: 14px;
    height: 14px;
}
.text-button .arrow-icon {
    margin-left: 4px;
    width: 14px;
    height: 14px;
}
.quick-action > .arrow-icon {
    margin-left: auto;
    color: #98a3b0;
}
.connect-links .external-icon {
    width: 13px;
    height: 13px;
    color: #91a0ad;
    margin-left: auto;
}
.back-public {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.4;
}
.back-public .arrow-icon {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0;
    vertical-align: initial;
}
.hero-primary,
.text-button,
.connect-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.hero-primary .arrow-icon,
.text-button .arrow-icon,
.connect-links .external-icon {
    display: block;
    margin: 0;
}
.hero-primary .arrow-icon {
    width: 19px;
    height: 19px;
}
.quick-action {
    align-items: center;
}
.quick-action > .arrow-icon {
    align-self: center;
}
@media (max-width: 760px) {
    .public-nav nav .public-login-link {
        display: inline-flex;
    }
}
.mobile-signout{display:none;border:0;background:transparent;color:#d36b6b;font:inherit}
.mobile-signout svg{width:18.4px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:650px){.mobile-signout{min-width:58px;width:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;padding:4px 5px;font-size:8.6px;text-align:center}.mobile-signout:hover{color:#ffaaa5}}
.logout-confirm-dialog{max-width:390px}.logout-confirm-dialog>p{margin:14px 0 3px}.signout-confirm{background:#fae9e8;color:#a94141;border:0;border-radius:7px;padding:10px 15px;font-size:13px;font-weight:650}.signout-confirm:hover{background:#f6dedd;color:#913535}
