:root {
    --blue: #0c4a84;
    --blue-dark: #083b6a;
    --blue-soft: #edf4fb;
    --red: #ef5b5b;
    --red-dark: #d94d4d;
    --text: #17324d;
    --muted: #6f859c;
    --line: #d9e4ef;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(10, 44, 79, 0.14);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #f7f9fc;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

.topbar__inner,
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar__link,
.topbar__button {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.94);
}

.topbar__button {
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 3px;
    padding: 6px 10px;
    font: inherit;
    cursor: pointer;
}

.topbar__language {
    display: inline-flex;
    align-items: center;
}

.topbar__language-select {
    min-width: 116px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 3px;
    padding: 6px 26px 6px 10px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    font: inherit;
    cursor: pointer;
}

.topbar__language-select option {
    color: var(--text);
    background: var(--white);
}

.google-translate-widget {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

body > .skiptranslate,
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.password-field {
    position: relative;
    display: block;
}

.password-field > input {
    width: 100%;
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--blue);
    background: var(--blue-soft);
}

.password-toggle svg {
    width: 18px;
    height: 18px;
}

.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand__mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: url('/assets/images/logo.png') center center / contain no-repeat;
}

.brand__text strong,
.brand__text small {
    display: block;
    line-height: 1;
}

.brand__text {
    height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 144px;
}

.brand__text strong {
    letter-spacing: 0.03em;
    font-size: 12px;
    line-height: 0.92;
    color: var(--blue);
    white-space: normal;
}

.brand__text strong span {
    display: block;
    line-height: 0.92;
}

.brand__text strong .brand__text--primary {
    font-size: 13px;
    line-height: 0.88;
    letter-spacing: 0.04em;
    font-weight: 800;
}

.brand__text small {
    font-size: 9px;
    color: var(--muted);
    font-weight: 700;
    margin-top: 1px;
}

.navbar__links {
    display: flex;
    align-items: stretch;
    gap: 34px;
    flex: 1;
    justify-content: center;
}

.navbar__links > a,
.nav-dropdown__trigger {
    appearance: none;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 20px 0;
    text-align: center;
    color: var(--blue);
    min-width: 120px;
    cursor: pointer;
}

.navbar__links span,
.nav-dropdown__trigger span {
    font-weight: 700;
    font-size: 15px;
}

.navbar__links small,
.nav-dropdown__trigger small {
    color: var(--muted);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.nav-dropdown__trigger small svg {
    width: 12px;
    height: 12px;
}

.navbar__links > div {
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 20px 0;
    text-align: center;
    color: var(--blue);
    min-width: 120px;
}

.navbar__links > div span {
    font-weight: 700;
    font-size: 15px;
}

.navbar__links > div small {
    color: var(--muted);
    font-size: 12px;
}

.nav-dropdown {
    position: static;
}

.nav-dropdown__panel {
    position: absolute;
    left: 50%;
    top: calc(100% - 1px);
    transform: translateX(-50%);
    width: min(980px, calc(100vw - 32px));
    background: var(--white);
    border-top: 4px solid var(--blue);
    box-shadow: 0 18px 40px rgba(10, 44, 79, 0.18);
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 22px 24px 26px;
    z-index: 30;
}

.nav-dropdown__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
    display: grid;
}

.nav-dropdown__col h3 {
    margin: 0 0 14px;
    font-size: 16px;
    color: var(--blue);
}

.nav-dropdown__col h3 a {
    color: inherit;
}

.nav-dropdown__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.nav-dropdown__col a {
    color: #333;
    font-size: 15px;
}

.nav-dropdown__group + .nav-dropdown__group {
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 3px;
    padding: 13px 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
}

.btn--ghost {
    background: #edf3f8;
    color: var(--blue);
}

.btn--accent {
    background: var(--red);
    color: var(--white);
}

.btn--full {
    width: 100%;
}

.hero {
    position: relative;
    background: linear-gradient(180deg, rgba(8, 59, 106, 0.1), rgba(8, 59, 106, 0.2));
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 59, 106, 0.24), rgba(8, 59, 106, 0.12)),
        linear-gradient(90deg, rgba(10, 44, 79, 0.32), rgba(10, 44, 79, 0.05)),
        url('/assets/images/hero-investment-banking.jpg') center center / cover no-repeat,
        radial-gradient(circle at 20% 80%, rgba(239, 91, 91, 0.45), transparent 24%),
        radial-gradient(circle at 90% 20%, rgba(12, 74, 132, 0.18), transparent 22%),
        linear-gradient(120deg, #dfe6ef 0%, #b7c5d4 35%, #8ea0b3 100%);
    filter: saturate(0.9);
}

.hero__inner {
    position: relative;
    min-height: 740px;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    align-items: center;
    gap: 24px;
    padding: 92px 0;
}

.hero__panel {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow);
}

.hero__panel--left {
    width: min(460px, 100%);
    padding: 34px 34px 30px;
    border-radius: 2px;
    margin-top: 46px;
}

.hero__panel--left h1 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: clamp(30px, 3vw, 38px);
}

.hero__panel-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 144px;
    gap: 18px;
    align-items: start;
}

.hero__copy {
    min-width: 0;
}

.hero__panel--left p {
    margin: 0 0 18px;
    color: #4d647c;
    line-height: 1.5;
}

.hero__bank-card {
    width: 144px;
    height: 92px;
    display: block;
    margin-top: 2px;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(10, 44, 79, 0.18);
    background: url('/assets/images/card.png') center center / contain no-repeat;
}

.hero__panel--right {
    justify-self: end;
    width: min(330px, 100%);
    padding: 22px 18px 18px;
    border-radius: 2px;
    margin-top: 6px;
}

.hero__panel--right h2 {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: 22px;
}

.form {
    display: grid;
    gap: 10px;
}

.form input[type="text"],
.form input[type="password"] {
    width: 100%;
    border: 1px solid #d1dbe6;
    background: #fff7c7;
    padding: 10px 12px;
    font: inherit;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #425d76;
}

.hero__links {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
}

.hero__links a {
    color: var(--blue);
}

.account-page .account-hero,
.account-hero,
.page--savings .savings-hero,
.isas-hero,
.current-accounts-hero,
.page--student-account .student-hero,
.advance-hero,
.page--online-bonus-saver .bonus-saver-hero,
.page--flexible-saver .bonus-saver-hero,
.page--balance-transfer .balance-transfer-hero,
.page--mortgage .bonus-saver-hero,
.page--service .service-hero {
    min-height: 540px;
}

.account-page .account-hero__inner,
.account-hero__inner,
.page--savings .savings-hero__inner,
.isas-hero__inner,
.current-accounts-hero__inner,
.page--student-account .student-hero__inner,
.advance-hero__inner,
.page--online-bonus-saver .bonus-saver-hero__inner,
.page--flexible-saver .bonus-saver-hero__inner,
.page--balance-transfer .bonus-saver-hero__inner,
.page--mortgage .bonus-saver-hero__inner,
.page--service .service-hero__inner {
    min-height: 540px;
    align-items: center;
}

.section {
    padding: 56px 0;
}

.section--white {
    background: var(--white);
}

.section--choice .container {
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.section--choice .section__title {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.section--choice .choice-layout {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.section--choice .choice-dots {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.section__title {
    margin: 0 0 28px;
    text-align: center;
    font-size: 28px;
    color: var(--blue);
}

.choice-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    align-items: start;
}

.choice-main {
    display: grid;
    justify-items: center;
}

.choice-stage {
    min-height: 210px;
    display: grid;
    align-items: center;
    justify-items: center;
}

.choice-stage__card {
    min-height: 200px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 12px;
    color: var(--blue);
}

.choice-stage__icon {
    width: 56px;
    height: 56px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.choice-stage__icon-wrap {
    display: inline-flex;
}

.choice-stage__label {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 180px;
}

.choice-promo {
    min-height: 200px;
    display: block;
    padding: 34px 30px;
    background:
        linear-gradient(135deg, rgba(12, 74, 132, 0.9), rgba(12, 74, 132, 0.95)),
        url('/assets/images/card-bank-account.jpg') center right / cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
    justify-self: end;
    width: 420px;
    margin-right: 0;
}

.choice-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent 50%);
    pointer-events: none;
}

.choice-promo h3 {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 800;
}

.choice-promo p {
    margin: 0;
    max-width: 260px;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
}

.choice-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 22px auto 0;
    width: fit-content;
}

.choice-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #7d94ab;
    background: transparent;
    padding: 0;
}

.choice-dot.is-active {
    background: var(--blue);
    border-color: var(--blue);
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-strip__item {
    min-height: 208px;
    padding: 24px 22px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-strip__item h3 {
    margin: 0 0 12px;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.1;
}

.feature-strip__item p {
    margin: 0;
    opacity: 0.92;
    font-size: 16px;
    line-height: 1.5;
    max-width: 310px;
}

.feature-strip__item h3 svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.25;
}

.section--resources {
    background: linear-gradient(180deg, rgba(12, 74, 132, 0.96), rgba(12, 74, 132, 0.96));
    padding: 34px 0 0;
}

.resources-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.resource-card {
    min-height: 230px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
}

.resource-card--text-only {
    min-height: 230px;
    background: rgba(255, 255, 255, 0.03);
}

.resource-card__image {
    height: 150px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.resource-card__body {
    padding: 0 0 18px;
}

.resource-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.15;
    color: var(--white);
}

.resource-card h3 svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.25;
}

.resource-card p {
    margin: 0;
    color: rgba(255,255,255,0.92);
    line-height: 1.45;
    font-size: 15px;
    max-width: 280px;
}

.feature-strip__item--coral {
    background: linear-gradient(135deg, #f25a5a, #ef5b5b);
}

.feature-strip__item--blue {
    background: linear-gradient(135deg, #165a94, #0c4a84);
}

.feature-strip__item--tile-mortgages {
    background:
        linear-gradient(135deg, rgba(242, 90, 90, 0.86), rgba(239, 91, 91, 0.9)),
        url('/assets/images/tile-mortgages.jpg') center center / cover no-repeat;
}

.feature-strip__item--tile-travel-money {
    background:
        linear-gradient(135deg, rgba(22, 90, 148, 0.84), rgba(12, 74, 132, 0.9)),
        url('/assets/images/tile-travel-money.jpg') center center / cover no-repeat;
}

.feature-strip__item--tile-savings {
    background:
        linear-gradient(135deg, rgba(242, 90, 90, 0.84), rgba(239, 91, 91, 0.9)),
        url('/assets/images/tile-savings.jpg') center center / cover no-repeat;
}

.feature-strip__item--tile-insurance {
    background:
        linear-gradient(135deg, rgba(22, 90, 148, 0.84), rgba(12, 74, 132, 0.9)),
        url('/assets/images/tile-insurance.jpg') center center / cover no-repeat;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--white);
    padding-bottom: 8px;
}

.info-card__image {
    height: 180px;
    border-radius: 2px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.2), rgba(0,0,0,0.08)),
        linear-gradient(120deg, #d7e2ec, #a6b8c9 55%, #dfe8f0);
    box-shadow: var(--shadow);
}

.info-card__image--feature-isa-tax-year {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)),
        url('/assets/images/feature-isa-tax-year.jpg') center center / cover no-repeat;
}

.info-card__image--feature-appointment {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)),
        url('/assets/images/feature-appointment.jpg') center center / cover no-repeat;
}

.info-card__image--feature-ring-fencing {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)),
        url('/assets/images/feature-ring-fencing.jpg') center center / cover no-repeat;
}

.info-card h3 {
    margin: 14px 0 8px;
    color: var(--blue);
    font-size: 18px;
}

.info-card p {
    margin: 0;
    color: #5d7288;
    line-height: 1.5;
}

.section--news {
    padding-top: 72px;
}

.news-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: center;
    justify-content: center;
    max-width: 760px;
    margin: 0 auto;
}

.news-grid__art {
    min-height: 260px;
    display: grid;
    place-items: center;
    font-size: 180px;
    color: #d62a2a;
    text-shadow: 0 16px 30px rgba(0,0,0,0.15);
}

.news-grid__art img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    display: block;
}

.news-grid__panel {
    background: #e6edf4;
    padding: 30px;
}

.news-grid__panel h3 {
    margin-top: 0;
    color: var(--red);
    font-size: 24px;
}

.cta {
    background: #f8fafc;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta h2,
.connect h2 {
    margin: 0 0 8px;
    color: var(--blue);
}

.cta p,
.connect p {
    margin: 0;
    color: var(--muted);
}

.connect {
    text-align: left;
}

.footer {
    background: var(--blue);
    color: rgba(255,255,255,0.92);
    padding: 38px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer__grid h3 {
    margin: 0 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer__grid p,
.footer__bottom p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.footer__bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.16);
    font-size: 13px;
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.placeholder-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(12, 74, 132, 0.14), transparent 35%),
        linear-gradient(180deg, #f7f9fc 0%, #eef4fa 100%);
}

.placeholder-card {
    max-width: 760px;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 42px;
}

.placeholder-card__eyebrow {
    margin: 0 0 10px;
    color: var(--red);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12px;
}

.placeholder-card h1 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: clamp(28px, 4vw, 42px);
}

.placeholder-card p {
    margin: 0 0 22px;
    color: #546b82;
    line-height: 1.6;
}

.error-page .container {
    text-align: center;
}

.section--cta {
    background: var(--white);
}

.section--cta .cta {
    background: var(--white);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 28px 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section--cta .cta h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.section--cta .cta p {
    font-size: 18px;
    margin-bottom: 10px;
}

.section--cta-banner {
    padding: 0;
    background: #0c4a84;
}

.cta-banner {
    position: relative;
    min-height: 340px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(12, 74, 132, 0.82), rgba(12, 74, 132, 0.82)),
        url('/assets/images/feature-appointment.jpg') center center / cover no-repeat;
}

.cta-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 74, 132, 0.1), rgba(12, 74, 132, 0.1));
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    width: min(980px, calc(100% - 32px));
    padding: 48px 24px;
}

.cta-banner__content h2 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 800;
}

.cta-banner__content p {
    margin: 0 0 28px;
    color: rgba(255,255,255,0.95);
    font-size: clamp(18px, 2vw, 24px);
}

.cta-banner .btn {
    min-width: 140px;
}

@media (max-width: 1080px) {
    .navbar__links {
        display: none;
    }

    .hero__inner,
    .cards,
    .feature-strip,
    .footer__grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .choice-layout {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__panel--right {
        justify-self: stretch;
    }

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

@media (max-width: 720px) {
    .topbar__inner,
    .navbar__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__inner {
        min-height: auto;
        padding: 24px 0 38px;
    }

    .hero__panel--left,
    .hero__panel--right {
        width: 100%;
    }

    .section {
        padding: 40px 0;
    }

    .news-grid__art {
        min-height: 160px;
        font-size: 120px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}
.resource-card--resource-insurance .resource-card__image {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), url('/assets/images/resource-insurance.jpg');
}

.resource-card--resource-activate-your-card .resource-card__image {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), url('/assets/images/resource-activate-your-card.jpg');
}

.resource-card--resource-security-centre .resource-card__image {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), url('/assets/images/resource-security-centre.jpg');
}

.resource-card--resource-helpful-guides .resource-card__image {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), url('/assets/images/resource-helpful-guides.jpg');
}

.resource-card--resource-secure-key .resource-card__image {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), url('/assets/images/resource-secure-key.jpg');
}

.resource-card--resource-voice-id .resource-card__image {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), url('/assets/images/resource-voice-id.jpg');
}

.resource-card--resource-card-support .resource-card__image {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), url('/assets/images/resource-card-support.jpg');
}

.resource-card--resource-ppi .resource-card__image {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), url('/assets/images/resource-ppi.jpg');
}

.account-page .account-hero {
    background:
        linear-gradient(90deg, rgba(244, 243, 247, 0.94) 0%, rgba(244, 243, 247, 0.78) 44%, rgba(244, 243, 247, 0.18) 72%, rgba(244, 243, 247, 0.06) 100%),
        url('/assets/images/nxpb-account-hero.png') center right / cover no-repeat;
    padding: 0;
}

.account-page .account-hero__inner {
    min-height: 600px;
    align-items: center;
}

.account-page .account-hero__card {
    align-self: center;
    margin: 36px 0;
}

.account-page {
    background: #fff;
}

.account-hero {
    background: #f4f3f7;
    padding: 36px 0 18px;
}

.account-hero__inner {
    min-height: 600px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    align-items: center;
}

.account-hero__card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    padding: 28px 24px;
    width: min(420px, 100%);
}

.account-hero__card h1 {
    margin: 0 0 10px;
    font-size: 32px;
    color: var(--blue);
    line-height: 1.05;
    text-transform: uppercase;
}

.account-hero__card p {
    margin: 0 0 18px;
    color: #555;
    font-size: 18px;
    line-height: 1.35;
}

.account-hero__art {
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.account-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-hero__art::before,
.account-hero__art::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(12, 74, 132, 0.18);
    border-radius: 50%;
}

.account-hero__art::before {
    width: 340px;
    height: 340px;
    right: 140px;
    top: 14px;
}

.account-hero__art::after {
    width: 220px;
    height: 220px;
    right: 40px;
    top: 50px;
}

.account-hero__script {
    position: absolute;
    right: 90px;
    top: 52px;
    max-width: 280px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 58px;
    line-height: 0.9;
    color: rgba(12, 74, 132, 0.9);
    font-style: italic;
    text-align: center;
}

.account-intro {
    padding: 26px 0 12px;
}

.account-intro h2 {
    margin: 0 0 16px;
    padding-left: 18px;
    border-left: 4px solid var(--red);
    color: var(--blue);
    font-size: 28px;
    line-height: 1.15;
}

.account-intro p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    max-width: 940px;
}

.account-links {
    padding: 8px 0 38px;
}

.account-links__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.account-link-card {
    min-height: 220px;
    padding: 22px 20px 18px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.account-link-card--blue {
    background: linear-gradient(135deg, rgba(12, 74, 132, 0.95), rgba(12, 74, 132, 0.9));
}

.account-link-card--coral {
    background: linear-gradient(135deg, rgba(239, 91, 91, 0.95), rgba(242, 90, 90, 0.9));
}

.account-link-card h3 {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
}

.account-link-card p {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    line-height: 1.45;
}

.account-link-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
}

.account-link-card a {
    color: rgba(255,255,255,0.97);
    text-decoration: underline;
}

.account-criteria,
.account-apply {
    padding: 18px 0 24px;
}

.account-criteria h2,
.account-apply h2 {
    margin: 0 0 14px;
    padding-left: 18px;
    border-left: 4px solid var(--red);
    color: var(--blue);
    font-size: 28px;
    line-height: 1.15;
}

.account-criteria p,
.account-apply > p {
    color: #666;
    line-height: 1.6;
}

.account-criteria ul {
    margin: 14px 0 16px;
    padding-left: 24px;
    color: #333;
    line-height: 1.55;
}

.account-criteria li + li {
    margin-top: 10px;
}

.account-criteria__accordion {
    margin-top: 26px;
    padding: 14px 0;
    border-top: 1px solid #cfd8e3;
    border-bottom: 1px solid #cfd8e3;
    background: transparent;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    font-weight: 700;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    cursor: pointer;
}

.account-criteria__details {
    padding: 22px 0 6px;
}

.account-criteria__accordion svg {
    transition: transform 0.2s ease;
}

.account-criteria.is-open .account-criteria__accordion svg {
    transform: rotate(180deg);
}

.account-criteria__details ul {
    margin: 0 0 16px;
    padding-left: 24px;
    color: #333;
    line-height: 1.55;
}

.account-criteria__details li + li {
    margin-top: 10px;
}

.account-criteria__details p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.account-apply__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 26px;
}

.account-apply__grid article h3,
.account-apply__non h3 {
    margin: 0 0 14px;
    color: var(--red);
    font-size: 24px;
    line-height: 1.1;
}

.account-apply__grid article p,
.account-apply__non p {
    margin: 0 0 12px;
    color: #666;
    line-height: 1.55;
}

.account-apply__non {
    margin-top: 28px;
    max-width: 360px;
}

.current-accounts-page {
    background: #fff;
}

.page--savings {
    background: #fff;
}

.page--savings .savings-hero {
    min-height: 265px;
    background:
        linear-gradient(90deg, rgba(12, 74, 132, 0.08), rgba(12, 74, 132, 0.03)),
        url('/assets/images/current-accounts-hero.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.page--savings .savings-hero__inner {
    min-height: 265px;
    display: grid;
    align-items: center;
}

.page--savings .savings-hero__card {
    width: min(325px, 100%);
    margin-left: 14px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    padding: 22px 18px 18px;
}

.page--savings .savings-hero__card h1 {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 26px;
    line-height: 1.05;
}

.page--savings .savings-hero__card p {
    margin: 0;
    color: #4b5969;
}

.page--savings .savings-products {
    padding: 20px 0 12px;
}

.page--savings .savings-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 235px;
    border: 1px solid #d4dce7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 0 auto 22px;
    max-width: 1180px;
    background: #fff;
}

.page--savings .savings-row__main {
    padding: 18px 20px 16px;
}

.page--savings .savings-row__main h2 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 19px;
    line-height: 1.15;
    text-transform: uppercase;
}

.page--savings .savings-row__main > p {
    margin: 0 0 12px;
    color: #56697d;
    font-size: 15px;
}

.page--savings .savings-row__main ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.page--savings .savings-row__main li {
    display: flex;
    gap: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #3c4e61;
}

.page--savings .savings-row__main li i {
    flex: 0 0 auto;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    color: var(--blue);
}

.page--savings .savings-row__small {
    margin-top: 12px;
    color: #3c4e61;
}

.page--savings .savings-row .btn {
    margin-top: 12px;
    padding: 8px 14px;
}

.page--savings .savings-row__aside {
    background: var(--blue);
    color: #fff;
    padding: 18px 16px 20px;
}

.page--savings .savings-row__aside h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
}

.page--savings .savings-row__aside p {
    margin: 0 0 14px;
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    line-height: 1.45;
}

.page--savings .savings-row__aside strong {
    display: block;
    margin-bottom: 2px;
    font-size: 16px;
}

.page--savings .savings-info {
    padding: 8px 0 12px;
}

.page--savings .savings-definitions {
    padding: 18px 0 8px;
}

.page--savings .savings-definitions p {
    margin: 0 0 8px;
    color: #43576a;
    line-height: 1.5;
    max-width: 1060px;
}

.page--isas {
    background: #fff;
}

.isas-hero {
    min-height: 330px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(10, 44, 79, 0.18), rgba(10, 44, 79, 0.04)),
        url('/assets/images/isas-hero.jpg') center center / cover no-repeat;
}

.isas-hero__inner {
    min-height: 330px;
    display: grid;
    align-items: center;
}

.isas-hero__card {
    width: min(420px, 100%);
    margin-left: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    padding: 24px 22px 20px;
}

.isas-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 30px;
    line-height: 1.05;
    text-transform: uppercase;
}

.isas-hero__card p {
    margin: 0;
    color: #4d647c;
    font-size: 15px;
}

.isas-section {
    padding-top: 26px;
    padding-bottom: 26px;
}

.isas-heading {
    margin: 0 0 14px;
    padding-left: 18px;
    border-left: 4px solid var(--red);
    color: var(--blue);
    font-size: 28px;
    line-height: 1.2;
}

.isas-checklist {
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
    display: grid;
    gap: 10px;
}

.isas-checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #17324d;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.45;
}

.isas-checklist li i {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    color: var(--blue);
}

.isas-copy {
    margin: 0 0 18px;
    color: #4c6177;
    line-height: 1.6;
    max-width: 1040px;
}

.isas-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 14px;
}

.isas-feature {
    padding-bottom: 10px;
}

.isas-feature__image {
    height: 210px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 12px;
}

.isas-feature h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
    color: var(--blue);
}

.isas-feature h3 a {
    color: inherit;
}

.isas-feature ul {
    margin: 0;
    padding-left: 18px;
    color: #3a4e62;
    line-height: 1.5;
}

.isas-feature li {
    margin-bottom: 5px;
}

.isas-warning {
    margin: 0 0 10px;
    font-weight: 700;
    color: #24384e;
    line-height: 1.5;
}

.isas-portfolio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #cfd8e3;
}

.isas-portfolio__card {
    border: 1px solid #d4dde8;
    padding: 0 0 16px;
}

.isas-portfolio__image {
    height: 128px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.isas-portfolio__card h3 {
    margin: 0 16px 8px;
    color: var(--blue);
    font-size: 17px;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.isas-portfolio__subtitle {
    margin: 0 16px 10px;
    color: #1f4064;
    font-weight: 700;
    font-size: 14px;
}

.isas-portfolio__card p {
    margin: 0 16px 10px;
    color: #42586e;
    line-height: 1.5;
    font-size: 13px;
}

.isas-portfolio__meta {
    font-size: 12px;
}

.isas-advice,
.isas-terms {
    border-top: 1px solid #cfd8e3;
}

.isas-advice .isas-section,
.isas-terms .isas-section {
    padding-top: 18px;
    padding-bottom: 18px;
}

.isas-advice p,
.isas-terms p {
    margin: 0 0 12px;
    color: #43576a;
    line-height: 1.55;
    max-width: 1080px;
}

.isas-terms p strong {
    color: #17324d;
}

.current-accounts-hero {
    min-height: 265px;
    background:
        linear-gradient(90deg, rgba(12, 74, 132, 0.08), rgba(12, 74, 132, 0.03)),
        url('/assets/images/current-accounts-hero.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.current-accounts-hero__inner {
    min-height: 265px;
    display: grid;
    align-items: center;
}

.current-accounts-hero__card {
    width: min(315px, 100%);
    margin-left: 14px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 3px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    padding: 18px 18px 16px;
}

.current-accounts-hero__card h1 {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 25px;
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.current-accounts-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.25;
}

.current-accounts-section-title {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 500;
}

.current-accounts-section-title::before {
    content: "";
    width: 3px;
    height: 22px;
    background: var(--red);
    display: inline-block;
}

.current-accounts-section-title span {
    position: relative;
    top: 1px;
}

.current-accounts-features {
    padding: 18px 0 30px;
}

.current-accounts-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #c5d1de;
    margin-left: 14px;
    margin-right: 14px;
}

.current-accounts-feature-card {
    background: #fff;
    border-right: 1px solid #c5d1de;
    min-height: 405px;
    display: flex;
    flex-direction: column;
}

.current-accounts-feature-card:last-child {
    border-right: 0;
}

.current-accounts-feature-card__head {
    background: var(--blue);
    color: #fff;
    padding: 9px 12px 8px;
    min-height: 35px;
    display: flex;
    align-items: center;
}

.current-accounts-feature-card h3 {
    margin: 0;
    font-size: 12px;
    line-height: 1.15;
    color: inherit;
    text-align: center;
    width: 100%;
}

.current-accounts-feature-card ul {
    margin: 0;
    padding: 16px 14px 0;
    list-style: none;
    display: grid;
    gap: 14px;
    color: #30465b;
    line-height: 1.35;
    flex: 1;
}

.current-accounts-feature-card li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 11px;
}

.current-accounts-feature-card li i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--blue);
    width: 12px;
    height: 12px;
}

.current-accounts-feature-card__small {
    margin: 10px 12px 10px;
    color: #5d7288;
    font-size: 9px;
    line-height: 1.35;
}

.current-accounts-feature-card .btn {
    margin: 0 12px 12px;
    padding: 10px 14px;
    font-size: 11px;
    min-height: 30px;
}

.current-accounts-products {
    padding: 18px 0 0;
}

.current-accounts-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 235px;
    margin: 0 auto 26px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    border: 1px solid #d4dde8;
    max-width: 760px;
    background: #fff;
}

.current-accounts-row__main {
    padding: 18px 20px 16px;
}

.current-accounts-row__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.current-accounts-row__card {
    width: 102px;
    height: auto;
    object-fit: contain;
    display: block;
}

.current-accounts-row__top h3 {
    margin: 0;
    color: var(--blue);
    font-size: 17px;
    line-height: 1.1;
    text-transform: uppercase;
}

.current-accounts-row ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: #30465b;
}

.current-accounts-row li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.35;
}

.current-accounts-row li i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--blue);
    width: 13px;
    height: 13px;
}

.current-accounts-row .btn {
    margin-top: 12px;
    padding: 8px 14px;
    font-size: 11px;
}

.current-accounts-row__aside {
    background: var(--blue);
    color: #fff;
    padding: 14px 14px 18px;
    display: flex;
    align-items: flex-start;
}

.current-accounts-row__aside p {
    margin: 0;
    color: rgba(255,255,255,0.96);
    font-size: 12px;
    line-height: 1.6;
}

.current-accounts-row:nth-of-type(2n) .current-accounts-row__aside {
    background: #0d4f8d;
}

.current-accounts-notes {
    max-width: 760px;
    margin: 22px auto 0;
    padding: 18px 0 24px;
    border-top: 1px solid #c5d1de;
    border-bottom: 1px solid #c5d1de;
}

.current-accounts-notes ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    color: #55697c;
    font-size: 11px;
    line-height: 1.45;
}

.current-accounts-notes li {
    display: flex;
    gap: 8px;
}

.current-accounts-notes li i {
    color: var(--blue);
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-top: 2px;
}

.current-accounts-related {
    padding: 16px 0 28px;
}

.section__title--left {
    text-align: left;
    margin-bottom: 14px;
}

.current-accounts-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.current-accounts-related__card {
    max-width: 100%;
}

.current-accounts-related__image {
    height: 120px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 8px;
    border: 1px solid #d9e4ef;
}

.current-accounts-related__card h3 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.current-accounts-related__card h3 svg {
    width: 14px;
    height: 14px;
}

.current-accounts-related__card p {
    margin: 0;
    color: #5d7288;
    line-height: 1.45;
    font-size: 12px;
}

.page--student-account {
    background: #fff;
}

.page--student-account .student-hero {
    min-height: 550px;
    background:
        linear-gradient(90deg, rgba(12, 74, 132, 0.05), rgba(12, 74, 132, 0.02)),
        url('/assets/images/mimi-thian-vdXMSiX-n6M-unsplash.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.page--student-account .student-hero__card {
    width: min(300px, 100%);
    margin-left: 14px;
    margin-top: 108px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    padding: 20px 18px 16px;
}

.page--student-account .student-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 22px;
    line-height: 1.06;
    text-transform: uppercase;
}

.page--student-account .student-hero__card p {
    margin: 0 0 14px;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--student-account .student-support .current-accounts-related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.page--student-account .current-accounts-intro {
    padding-top: 22px;
}

.page--student-account .account-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 235px;
    border: 1px solid #d4dde8;
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
    margin-top: 14px;
}

.page--student-account .account-summary__main {
    background: #fff;
    padding: 18px 20px 18px;
}

.page--student-account .account-summary__main h3 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 17px;
    line-height: 1.1;
    text-transform: uppercase;
}

.page--student-account .account-summary__card {
    width: 88px;
    display: block;
    margin: 10px 0 14px;
}

.page--student-account .account-summary__main > p {
    margin-bottom: 12px;
    color: #56697d;
    line-height: 1.45;
}

.page--student-account .account-summary__aside {
    background: var(--blue);
    color: #fff;
    padding: 18px 16px;
}

.page--student-account .account-summary__aside p {
    margin: 0 0 12px;
    color: rgba(255,255,255,0.96);
    line-height: 1.55;
}

.page--student-account .student-help {
    padding: 12px 0 28px;
}

.page--student-account .student-help__panel {
    border: 1px solid #d4dde8;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    background: #fff;
    position: relative;
}

.page--student-account .student-help__tabs {
    display: flex;
    background: var(--blue);
    overflow-x: auto;
    min-height: 32px;
}

.page--student-account .student-help__tab {
    padding: 11px 16px;
    color: rgba(255,255,255,0.94);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.page--student-account .student-help__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#student-help-tab-0:checked ~ .student-help__tabs .student-help__tab[for="student-help-tab-0"],
#student-help-tab-1:checked ~ .student-help__tabs .student-help__tab[for="student-help-tab-1"] {
    background: var(--red);
    color: #fff;
}

.page--student-account .student-help__body {
    padding: 16px 16px 18px;
}

.page--student-account .student-help__lead {
    margin: 0 0 18px;
    color: #56697d;
    line-height: 1.55;
}

.page--student-account .student-help__copy h3 {
    margin: 18px 0 10px;
    color: var(--blue);
    font-size: 18px;
}

.page--student-account .student-help__copy--1 {
    display: none;
}

#student-help-tab-1:checked ~ .student-help__body .student-help__copy--0 {
    display: none;
}

#student-help-tab-1:checked ~ .student-help__body .student-help__copy--1 {
    display: block;
}

.page--student-account .student-help__note {
    margin-top: 16px;
}

.page--student-account .student-apply__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 24px;
}

.page--student-account .student-apply__grid article:first-child {
    background: #f7fbff;
    border: 1px solid #d4dde8;
    padding: 18px;
}

.page--student-account .student-apply__grid article:last-child {
    background: #fff;
    border: 1px solid #d4dde8;
    padding: 18px;
}

.page--student-account .student-apply__grid article h3 {
    margin: 0 0 14px;
    color: var(--red);
    font-size: 22px;
    line-height: 1.1;
}

.page--student-account .student-apply__grid article p {
    margin: 0 0 12px;
    color: #56697d;
    line-height: 1.55;
}

.page--student-account .student-apply__branch {
    margin-top: 22px;
}

.page--student-account .current-accounts-notes {
    max-width: 1180px;
    padding-left: 0;
    padding-right: 0;
}

.page--student-account .current-accounts-related {
    padding-top: 18px;
}

.advance-page {
    background: #fff;
}

.advance-hero {
    min-height: 340px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.06)),
        url('/assets/images/315.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.advance-hero__inner {
    min-height: 340px;
    display: grid;
    align-items: center;
}

.advance-hero__card {
    width: min(310px, 100%);
    margin-left: 14px;
    padding: 18px 18px 14px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.advance-hero__card h1 {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 24px;
    line-height: 1.08;
}

.advance-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.3;
}

.advance-join,
.advance-help,
.advance-apply,
.advance-notes,
.advance-terms {
    padding: 26px 0;
}

.advance-join__eyebrow {
    margin: 0 0 12px;
    color: #5b6c80;
    font-size: 14px;
}

.advance-join__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
    border: 1px solid #d4dde8;
}

.advance-join__main {
    padding: 22px 22px 18px;
    background: #fff;
}

.advance-join__main h2 {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: 20px;
}

.advance-join__card-art img {
    width: 110px;
    display: block;
    margin-bottom: 14px;
}

.advance-join__main p,
.advance-join__aside p,
.advance-tabs__text,
.advance-accordion__body p,
.advance-terms p {
    margin: 0 0 12px;
    color: #56697d;
    line-height: 1.55;
}

.advance-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.advance-checklist li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #30465b;
    line-height: 1.4;
}

.advance-checklist li i {
    flex: 0 0 auto;
    color: var(--blue);
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.advance-checklist--compact li {
    font-size: 13px;
}

.advance-join__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 14px;
    font-size: 13px;
    color: #3e4c5b;
}

.advance-join__note i {
    flex: 0 0 auto;
    color: #5d7288;
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.advance-join__aside {
    background: var(--blue);
    color: #fff;
    padding: 20px 18px;
    display: grid;
    align-content: start;
    gap: 12px;
}

.advance-join__aside p {
    color: rgba(255,255,255,0.96);
    margin: 0;
}

.advance-join__badges {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.advance-join__badge {
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.18);
}

.advance-join__badge--alt {
    background: rgba(255,255,255,0.08);
}

.advance-tabs {
    border: 1px solid #d4dde8;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    position: relative;
}

.advance-tabs__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.advance-tabs__nav {
    display: flex;
    background: var(--blue);
    overflow-x: auto;
}

.advance-tabs__trigger {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font: inherit;
    font-weight: 700;
    padding: 11px 16px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

#advance-tab-0:checked ~ .advance-tabs__nav .advance-tabs__trigger[for="advance-tab-0"],
#advance-tab-1:checked ~ .advance-tabs__nav .advance-tabs__trigger[for="advance-tab-1"],
#advance-tab-2:checked ~ .advance-tabs__nav .advance-tabs__trigger[for="advance-tab-2"],
#advance-tab-3:checked ~ .advance-tabs__nav .advance-tabs__trigger[for="advance-tab-3"] {
    background: var(--red);
    color: #fff;
}

.advance-tabs__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 18px;
    padding: 18px;
    background: #fff;
    align-items: start;
}

.advance-tabs__panel {
    display: none;
}

#advance-tab-0:checked ~ .advance-tabs__panel--0,
#advance-tab-1:checked ~ .advance-tabs__panel--1,
#advance-tab-2:checked ~ .advance-tabs__panel--2,
#advance-tab-3:checked ~ .advance-tabs__panel--3 {
    display: grid;
}

.advance-tabs__kicker {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 17px;
    font-weight: 700;
}

.advance-tabs__image {
    min-height: 150px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 1px solid #d4dde8;
}

.advance-accordion {
    border-top: 1px solid #cfd8e3;
    border-bottom: 1px solid #cfd8e3;
    padding: 12px 0;
    margin-bottom: 20px;
}

.advance-accordion summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #3c3c3c;
    font-weight: 700;
}

.advance-accordion summary::-webkit-details-marker {
    display: none;
}

.advance-accordion summary svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.advance-accordion[open] summary svg {
    transform: rotate(180deg);
}

.advance-accordion__body {
    padding-top: 14px;
}

.advance-apply__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    margin-top: 18px;
}

.advance-apply__grid h3 {
    margin: 0 0 14px;
    color: var(--red);
    font-size: 22px;
}

.advance-apply__grid p {
    margin: 0 0 12px;
    color: #56697d;
    line-height: 1.55;
}

.advance-apply__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.advance-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.advance-links li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.advance-links a {
    color: var(--blue);
    text-decoration: none;
}

.advance-links i {
    width: 15px;
    height: 15px;
    color: var(--blue);
    flex: 0 0 auto;
}

.advance-terms p {
    max-width: 1020px;
}

@media (max-width: 1080px) {
    .account-hero__inner,
    .account-links__grid,
    .account-apply__grid {
        grid-template-columns: 1fr 1fr;
    }

    .account-hero__inner {
        min-height: auto;
    }

    .current-accounts-features__grid,
    .current-accounts-related__grid {
        grid-template-columns: 1fr 1fr;
    }

    .page--savings .savings-row {
        grid-template-columns: 1fr 210px;
    }

    .page--student-account .student-support .current-accounts-related__grid {
        grid-template-columns: 1fr 1fr;
    }

    .page--student-account .student-apply__grid {
        grid-template-columns: 1fr;
    }

    .current-accounts-row {
        grid-template-columns: 1fr 210px;
        max-width: none;
    }

    .advance-join__panel,
    .advance-tabs__panel,
    .advance-apply__grid {
        grid-template-columns: 1fr;
    }

    .isas-cards,
    .isas-portfolio {
        grid-template-columns: 1fr 1fr;
    }

    .isas-hero__card {
        width: min(380px, 100%);
    }
}

@media (max-width: 720px) {
    .account-hero__inner,
    .account-links__grid,
    .account-apply__grid {
        grid-template-columns: 1fr;
    }

    .account-hero__script {
        right: 20px;
        top: 80px;
        font-size: 36px;
        max-width: 180px;
    }

    .account-hero__card h1 {
        font-size: 26px;
    }

    .current-accounts-hero,
    .current-accounts-hero__inner {
        min-height: auto;
    }

    .current-accounts-features__grid,
    .current-accounts-related__grid,
    .current-accounts-row {
        grid-template-columns: 1fr;
    }

    .page--savings .savings-row {
        grid-template-columns: 1fr;
    }

    .page--student-account .student-support .current-accounts-related__grid,
    .page--student-account .student-apply__grid {
        grid-template-columns: 1fr;
    }

    .current-accounts-hero__card {
        margin: 16px 0;
    }

    .page--savings .savings-hero__card {
        margin: 16px 0;
    }

    .isas-hero,
    .isas-hero__inner {
        min-height: auto;
    }

    .isas-hero__card {
        margin: 18px 0;
        width: 100%;
    }

    .isas-heading {
        font-size: 24px;
    }

    .isas-cards,
    .isas-portfolio {
        grid-template-columns: 1fr;
    }

    .isas-feature__image {
        height: 180px;
    }

    .current-accounts-features__grid {
        margin-left: 0;
        margin-right: 0;
    }

    .current-accounts-feature-card {
        border-right: 0;
        border-bottom: 1px solid #c5d1de;
        min-height: 0;
    }

    .current-accounts-feature-card:last-child {
        border-bottom: 0;
    }

    .current-accounts-row {
        margin-bottom: 18px;
    }

    .advance-hero,
    .advance-hero__inner {
        min-height: auto;
    }

    .advance-hero__card {
        margin: 18px 0;
    }

    .advance-tabs__panel {
        padding: 14px;
    }

    .advance-apply__actions {
        flex-direction: column;
    }
}

.page--online-bonus-saver {
    background: #fff;
}

.page--online-bonus-saver .bonus-saver-hero {
    min-height: 470px;
    background:
        linear-gradient(90deg, rgba(12, 74, 132, 0.06), rgba(12, 74, 132, 0.01)),
        url('/assets/images/brooke-cagle-g1Kr4Ozfoac-unsplash.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.page--online-bonus-saver .bonus-saver-hero__inner {
    min-height: 470px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 18px;
    align-items: center;
    padding-bottom: 28px;
}

.page--online-bonus-saver .bonus-saver-hero__card {
    width: min(320px, 100%);
    margin: 0 0 0 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    padding: 20px 18px 16px;
}

.page--online-bonus-saver .bonus-saver-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 22px;
    line-height: 1.06;
    text-transform: uppercase;
}

.page--online-bonus-saver .bonus-saver-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--online-bonus-saver .bonus-saver-hero__aside {
    justify-self: end;
    margin-right: 14px;
    background: var(--blue);
    color: #fff;
    padding: 22px 18px 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.page--online-bonus-saver .bonus-saver-hero__aside h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.15;
}

.page--online-bonus-saver .bonus-saver-hero__aside p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
}

.page--online-bonus-saver .bonus-saver-hero__aside ul {
    margin: 0;
    padding-left: 18px;
}

.page--online-bonus-saver .bonus-saver-hero__aside li {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
}

.page--online-bonus-saver .bonus-saver-summary,
.page--online-bonus-saver .bonus-saver-content,
.page--online-bonus-saver .bonus-saver-summary-box,
.page--online-bonus-saver .bonus-saver-apply,
.page--online-bonus-saver .bonus-saver-additional,
.page--online-bonus-saver .bonus-saver-faq {
    padding-top: 28px;
}

.page--online-bonus-saver .bonus-saver-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    border: 1px solid #d4dde8;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.page--online-bonus-saver .bonus-saver-panel__main {
    background: #fff;
    padding: 18px 20px 18px;
}

.page--online-bonus-saver .bonus-saver-panel__main h2 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 17px;
    line-height: 1.1;
    text-transform: uppercase;
}

.page--online-bonus-saver .bonus-saver-panel__art {
    width: 118px;
    margin: 8px 0 14px;
}

.page--online-bonus-saver .bonus-saver-panel__art img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #d9e4ef;
}

.page--online-bonus-saver .bonus-saver-panel__main > p {
    margin: 0 0 12px;
    color: #56697d;
    line-height: 1.5;
}

.page--online-bonus-saver .bonus-saver-panel__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #445669;
}

.page--online-bonus-saver .bonus-saver-panel__note svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.page--online-bonus-saver .bonus-saver-panel__aside {
    background: var(--blue);
    color: #fff;
    padding: 18px 16px;
}

.page--online-bonus-saver .bonus-saver-panel__aside h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.2;
}

.page--online-bonus-saver .bonus-saver-panel__aside p,
.page--online-bonus-saver .bonus-saver-panel__aside li {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
    font-size: 14px;
}

.page--online-bonus-saver .bonus-saver-panel__aside ul {
    margin: 16px 0 0;
    padding-left: 18px;
}

.page--online-bonus-saver .bonus-saver-copy {
    max-width: 820px;
}

.page--online-bonus-saver .bonus-saver-copy h3 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 22px;
}

.page--online-bonus-saver .bonus-saver-copy p {
    margin: 0 0 10px;
    color: #506377;
    line-height: 1.55;
}

.page--online-bonus-saver .bonus-saver-table-wrap {
    border: 1px solid #d7e0ea;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page--online-bonus-saver .bonus-saver-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.page--online-bonus-saver .bonus-saver-table th,
.page--online-bonus-saver .bonus-saver-table td {
    padding: 14px 16px;
    vertical-align: top;
    border-bottom: 1px solid #e1e7ef;
    border-right: 1px solid #e1e7ef;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
}

.page--online-bonus-saver .bonus-saver-table th:last-child,
.page--online-bonus-saver .bonus-saver-table td:last-child {
    border-right: 0;
}

.page--online-bonus-saver .bonus-saver-table thead th {
    background: #f4f7fb;
    color: #3f5873;
    font-weight: 700;
}

.page--online-bonus-saver .bonus-saver-table tbody td:first-child {
    width: 240px;
    color: #30455b;
    font-weight: 600;
}

.page--online-bonus-saver .bonus-saver-apply__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.page--online-bonus-saver .bonus-saver-apply__grid article {
    border: 1px solid #d7e0ea;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    background: #fff;
    padding: 18px 18px 20px;
}

.page--online-bonus-saver .bonus-saver-apply__grid h3 {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 18px;
    line-height: 1.2;
}

.page--online-bonus-saver .bonus-saver-apply__grid p {
    margin: 0 0 16px;
    color: #52677b;
    line-height: 1.5;
}

.page--online-bonus-saver .bonus-saver-docs {
    border-top: 1px solid #d7e0ea;
    padding-top: 18px;
}

.page--online-bonus-saver .bonus-saver-docs p {
    margin: 0 0 14px;
    color: #52677b;
    line-height: 1.5;
}

.page--online-bonus-saver .bonus-saver-docs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.page--online-bonus-saver .bonus-saver-docs__list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #36506a;
    line-height: 1.45;
}

.page--online-bonus-saver .bonus-saver-docs__list svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.page--online-bonus-saver .bonus-saver-smallprint {
    margin: 16px 0 0;
    color: #6a7b8d;
    font-size: 12px;
    line-height: 1.5;
}

.page--online-bonus-saver .bonus-saver-faq__list {
    display: grid;
    gap: 10px;
}

.page--online-bonus-saver .bonus-saver-faq__item {
    border: 1px solid #d7e0ea;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.page--online-bonus-saver .bonus-saver-faq__item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    cursor: pointer;
    color: var(--blue);
    font-weight: 700;
}

.page--online-bonus-saver .bonus-saver-faq__item summary::-webkit-details-marker {
    display: none;
}

.page--online-bonus-saver .bonus-saver-faq__item summary svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.page--online-bonus-saver .bonus-saver-faq__body {
    padding: 0 16px 16px;
    color: #52677b;
    line-height: 1.55;
}

.page--online-bonus-saver .bonus-saver-related {
    padding-bottom: 10px;
}

.page--flexible-saver .bonus-saver-hero {
    min-height: 470px;
    background:
        linear-gradient(90deg, rgba(12, 74, 132, 0.06), rgba(12, 74, 132, 0.01)),
        url('/assets/images/brooke-cagle-g1Kr4Ozfoac-unsplash.jpg') center center / cover no-repeat;
}

.page--flexible-saver .bonus-saver-hero__inner {
    min-height: 470px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding-bottom: 28px;
}

.page--flexible-saver .bonus-saver-hero__card {
    margin-left: 0;
    margin-bottom: 0;
    width: min(320px, 100%);
    padding: 20px 18px 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 221, 232, 0.95);
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.page--flexible-saver .bonus-saver-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 22px;
    line-height: 1.06;
    text-transform: uppercase;
}

.page--flexible-saver .bonus-saver-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--flexible-saver .bonus-saver-summary,
.page--flexible-saver .bonus-saver-content,
.page--flexible-saver .bonus-saver-summary-box,
.page--flexible-saver .bonus-saver-apply,
.page--flexible-saver .bonus-saver-additional,
.page--flexible-saver .bonus-saver-faq {
    padding-top: 28px;
}

.page--flexible-saver .bonus-saver-panel {
    grid-template-columns: minmax(0, 1fr) 260px;
}

.page--flexible-saver .bonus-saver-panel__main {
    padding: 18px 20px 20px;
}

.page--flexible-saver .bonus-saver-panel__main h2 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 17px;
    line-height: 1.1;
    text-transform: uppercase;
}

.page--flexible-saver .bonus-saver-panel__main > p {
    max-width: 640px;
    margin: 0 0 12px;
    color: #56697d;
    line-height: 1.5;
}

.page--flexible-saver .bonus-saver-panel__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #445669;
}

.page--flexible-saver .bonus-saver-panel__note svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.page--flexible-saver .bonus-saver-panel__aside {
    background: var(--blue);
    color: #fff;
    padding: 18px 16px 20px;
}

.page--flexible-saver .bonus-saver-panel__aside h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.2;
}

.page--flexible-saver .bonus-saver-panel__aside p,
.page--flexible-saver .bonus-saver-panel__aside li {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
    font-size: 14px;
}

.page--flexible-saver .bonus-saver-panel__aside ul {
    margin: 16px 0 0;
    padding-left: 18px;
}

.page--flexible-saver .section__title--left {
    text-align: left;
    border-left: 3px solid var(--red);
    padding-left: 10px;
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.15;
}

.page--flexible-saver .bonus-saver-copy {
    max-width: 840px;
}

.page--flexible-saver .bonus-saver-copy h3 {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 20px;
}

.page--flexible-saver .bonus-saver-copy p {
    margin: 0 0 10px;
    color: #52677b;
    line-height: 1.55;
}

.page--flexible-saver .bonus-saver-copy__link {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
}

.page--flexible-saver .bonus-saver-copy__link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.page--flexible-saver .bonus-saver-table-wrap {
    border: 1px solid #d7e0ea;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page--flexible-saver .bonus-saver-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.page--flexible-saver .bonus-saver-table th,
.page--flexible-saver .bonus-saver-table td {
    padding: 14px 16px;
    vertical-align: top;
    border-bottom: 1px solid #e1e7ef;
    border-right: 1px solid #e1e7ef;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
}

.page--flexible-saver .bonus-saver-table th:last-child,
.page--flexible-saver .bonus-saver-table td:last-child {
    border-right: 0;
}

.page--flexible-saver .bonus-saver-table thead th {
    background: #f4f7fb;
    color: #3f5873;
    font-weight: 700;
}

.page--flexible-saver .bonus-saver-table tbody td:first-child {
    width: 240px;
    color: #30455b;
    font-weight: 600;
}

.page--flexible-saver .bonus-saver-apply__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.page--flexible-saver .bonus-saver-apply__grid article {
    border: 0;
    box-shadow: none;
    background: #fff;
    padding: 0;
}

.page--flexible-saver .bonus-saver-apply__grid article:last-child {
    grid-column: 1 / -1;
}

.page--flexible-saver .bonus-saver-apply__grid h3 {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 22px;
    line-height: 1.2;
}

.page--flexible-saver .bonus-saver-apply__grid p {
    margin: 0 0 14px;
    color: #52677b;
    line-height: 1.5;
}

.page--flexible-saver .bonus-saver-docs {
    border-top: 1px solid #d7e0ea;
    padding-top: 18px;
}

.page--flexible-saver .bonus-saver-docs p {
    margin: 0 0 14px;
    color: #52677b;
    line-height: 1.5;
}

.page--flexible-saver .bonus-saver-docs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.page--flexible-saver .bonus-saver-docs__list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #36506a;
    line-height: 1.45;
}

.page--flexible-saver .bonus-saver-docs__list svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.page--flexible-saver .bonus-saver-smallprint {
    margin: 16px 0 0;
    color: #6a7b8d;
    font-size: 12px;
    line-height: 1.5;
}

.page--flexible-saver .current-accounts-related {
    padding-top: 18px;
}

.page--flexible-saver .current-accounts-related__card {
    max-width: 100%;
}

.page--flexible-saver .current-accounts-related__image {
    height: 120px;
}

.page--flexible-saver .bonus-saver-faq__list {
    display: grid;
    gap: 8px;
}

.page--flexible-saver .bonus-saver-faq__item {
    border: 1px solid var(--blue);
    background: var(--blue);
    box-shadow: none;
}

.page--flexible-saver .bonus-saver-faq__item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.page--flexible-saver .bonus-saver-faq__item summary::-webkit-details-marker {
    display: none;
}

.page--flexible-saver .bonus-saver-faq__item summary svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.page--flexible-saver .bonus-saver-faq__body {
    padding: 12px 14px 14px;
    background: #fff;
    color: #52677b;
    line-height: 1.55;
}

.page--flexible-saver .bonus-saver-related {
    padding-bottom: 10px;
}

.page--flexible-saver .bonus-saver-panel__art {
    display: none;
}

@media (max-width: 1000px) {
    .page--online-bonus-saver .bonus-saver-hero__inner {
        grid-template-columns: 1fr 240px;
    }

    .page--online-bonus-saver .bonus-saver-panel {
        grid-template-columns: 1fr 220px;
    }

    .page--online-bonus-saver .bonus-saver-apply__grid {
        grid-template-columns: 1fr 1fr;
    }

    .page--online-bonus-saver .bonus-saver-docs__list {
        grid-template-columns: 1fr 1fr;
    }

    .page--flexible-saver .bonus-saver-panel {
        grid-template-columns: 1fr 220px;
    }

    .page--flexible-saver .bonus-saver-apply__grid,
    .page--flexible-saver .bonus-saver-docs__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .page--online-bonus-saver .bonus-saver-hero,
    .page--online-bonus-saver .bonus-saver-hero__inner {
        min-height: auto;
    }

    .page--online-bonus-saver .bonus-saver-hero__card {
        margin: 18px 0 0;
        width: 100%;
    }

    .page--online-bonus-saver .bonus-saver-hero__aside {
        justify-self: stretch;
        margin: 0;
    }

    .page--online-bonus-saver .bonus-saver-panel,
    .page--online-bonus-saver .bonus-saver-apply__grid,
    .page--online-bonus-saver .bonus-saver-docs__list {
        grid-template-columns: 1fr;
    }

    .page--online-bonus-saver .bonus-saver-table,
    .page--online-bonus-saver .bonus-saver-table tbody,
    .page--online-bonus-saver .bonus-saver-table tr,
    .page--online-bonus-saver .bonus-saver-table td,
    .page--online-bonus-saver .bonus-saver-table th {
        display: block;
        width: 100%;
    }

    .page--online-bonus-saver .bonus-saver-table thead {
        display: none;
    }

    .page--online-bonus-saver .bonus-saver-table tbody td:first-child {
        background: #f4f7fb;
        font-weight: 700;
    }

    .page--flexible-saver .bonus-saver-hero,
    .page--flexible-saver .bonus-saver-hero__inner {
        min-height: auto;
    }

    .page--flexible-saver .bonus-saver-hero__card {
        margin: 18px 0 0;
        width: 100%;
    }

    .page--flexible-saver .bonus-saver-panel,
    .page--flexible-saver .bonus-saver-apply__grid,
    .page--flexible-saver .bonus-saver-docs__list {
        grid-template-columns: 1fr;
    }

    .page--flexible-saver .bonus-saver-table,
    .page--flexible-saver .bonus-saver-table tbody,
    .page--flexible-saver .bonus-saver-table tr,
    .page--flexible-saver .bonus-saver-table td,
    .page--flexible-saver .bonus-saver-table th {
        display: block;
        width: 100%;
    }

    .page--flexible-saver .bonus-saver-table thead {
        display: none;
    }

    .page--flexible-saver .bonus-saver-table tbody td:first-child {
        background: #f4f7fb;
        font-weight: 700;
    }

    .page--flexible-saver .bonus-saver-apply__grid article:last-child {
        grid-column: auto;
    }

.page--flexible-saver .section__title--left {
        font-size: 20px;
    }
}

.page--balance-transfer {
    background: #fff;
}

.page--balance-transfer .balance-transfer-hero {
    min-height: 470px;
    background:
        linear-gradient(90deg, rgba(12, 74, 132, 0.10), rgba(12, 74, 132, 0.02)),
        url('/assets/images/resource-activate-your-card.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.page--balance-transfer .bonus-saver-hero__inner {
    min-height: 470px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.page--balance-transfer .bonus-saver-hero__card {
    display: block;
    width: min(320px, 100%);
    margin: 0 0 0 14px;
    padding: 20px 18px 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 221, 232, 0.95);
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.page--balance-transfer .bonus-saver-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 22px;
    line-height: 1.06;
    text-transform: uppercase;
}

.page--balance-transfer .bonus-saver-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--mortgage .bonus-saver-hero {
    min-height: 540px;
}

.page--mortgage .bonus-saver-hero__inner {
    min-height: 540px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 0;
    padding-bottom: 28px;
}

.page--mortgage .bonus-saver-hero__card {
    display: block;
    width: min(360px, calc(100% - 28px));
    margin: 0 0 0 14px;
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 221, 232, 0.95);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    border-radius: 2px;
}

.page--mortgage .bonus-saver-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 24px;
    line-height: 1.05;
    text-transform: uppercase;
}

.page--mortgage .bonus-saver-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--loan .loan-hero {
    min-height: 540px;
}

.page--loan .loan-hero__inner {
    min-height: 540px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 0;
    padding-bottom: 28px;
}

.page--loan .loan-hero__card {
    display: block;
    width: min(360px, calc(100% - 28px));
    margin: 0 0 0 14px;
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 221, 232, 0.95);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    border-radius: 2px;
}

.page--loan .loan-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 24px;
    line-height: 1.05;
    text-transform: uppercase;
}

.page--loan .loan-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--loan .bonus-saver-hero__inner {
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.page--loan-personal .bonus-saver-hero__inner,
.page--loan-car .bonus-saver-hero__inner,
.page--loan-flexiloan .bonus-saver-hero__inner,
.page--loan-nxpb-personal .bonus-saver-hero__inner,
.page--loan-graduate .bonus-saver-hero__inner {
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.page--loan-personal .bonus-saver-hero__card,
.page--loan-car .bonus-saver-hero__card,
.page--loan-flexiloan .bonus-saver-hero__card,
.page--loan-nxpb-personal .bonus-saver-hero__card,
.page--loan-graduate .bonus-saver-hero__card {
    width: min(325px, calc(100% - 28px));
    margin: 0 0 0 14px;
    padding: 20px 18px 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 221, 232, 0.95);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    border-radius: 2px;
}

.page--loan-personal .bonus-saver-hero__card h1,
.page--loan-car .bonus-saver-hero__card h1,
.page--loan-flexiloan .bonus-saver-hero__card h1,
.page--loan-nxpb-personal .bonus-saver-hero__card h1,
.page--loan-graduate .bonus-saver-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 22px;
    line-height: 1.05;
    text-transform: uppercase;
}

.page--loan-personal .bonus-saver-hero__card p,
.page--loan-car .bonus-saver-hero__card p,
.page--loan-flexiloan .bonus-saver-hero__card p,
.page--loan-nxpb-personal .bonus-saver-hero__card p,
.page--loan-graduate .bonus-saver-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--loan .bonus-saver-hero__card {
    width: min(325px, calc(100% - 28px));
    margin: 0 0 0 14px;
    padding: 20px 18px 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 221, 232, 0.95);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    border-radius: 2px;
}

.page--loan .bonus-saver-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 22px;
    line-height: 1.05;
    text-transform: uppercase;
}

.page--loan .bonus-saver-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--service .service-hero {
    background:
        linear-gradient(90deg, rgba(12, 74, 132, 0.06), rgba(12, 74, 132, 0.01)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
}

.page--service .service-hero__inner {
    min-height: 540px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 0;
    padding-bottom: 28px;
}

.page--service .service-hero__card {
    display: block;
    width: min(360px, calc(100% - 28px));
    margin: 0 0 0 14px;
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 221, 232, 0.95);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    border-radius: 2px;
}

.page--service .service-hero__card h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 24px;
    line-height: 1.05;
    text-transform: uppercase;
}

.page--service .service-hero__card p {
    margin: 0;
    color: #4b5969;
    font-size: 14px;
    line-height: 1.35;
}

.page--service-financial-health-check .service-hero__card {
    max-width: 390px;
}

.page--service .service-copy {
    max-width: 860px;
    color: #52677b;
    line-height: 1.6;
}

.page--service .feature-strip {
    margin-top: 18px;
}

.page--oldpage .oldpage-section {
    padding-top: 28px;
    padding-bottom: 28px;
}

.page--oldpage .oldpage-section__card {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 26px 28px;
}

.page--oldpage .oldpage-section__body {
    display: grid;
    gap: 12px;
}

.page--oldpage .oldpage-section__body .service-copy {
    margin: 0;
}

.page--oldpage .oldpage-lead,
.page--service .oldpage-lead {
    display: grid;
    gap: 14px;
    max-width: 920px;
}

.page--oldpage .oldpage-grid,
.page--service .oldpage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.page--oldpage .oldpage-card,
.page--service .oldpage-card {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 22px 20px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.page--oldpage .oldpage-card--step,
.page--service .oldpage-card--step {
    position: relative;
}

.page--oldpage .oldpage-card__step,
.page--service .oldpage-card__step {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(12, 74, 132, 0.1);
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.page--oldpage .oldpage-card h3,
.page--service .oldpage-card h3 {
    margin: 0;
    color: var(--blue);
    font-size: 20px;
    line-height: 1.15;
}

.page--oldpage .oldpage-card p,
.page--service .oldpage-card p {
    margin: 0;
    color: #52677b;
    line-height: 1.6;
}

.page--oldpage .oldpage-accordion-group,
.page--service .oldpage-accordion-group {
    display: grid;
    gap: 12px;
}

.page--mortgage .bonus-saver-hero,
.page--mortgage .bonus-saver-hero__inner {
    background-position: center center;
    background-size: cover;
}

@media (max-width: 720px) {
    .page--mortgage .bonus-saver-hero {
        min-height: auto;
    }

    .page--mortgage .bonus-saver-hero__inner {
        min-height: auto;
        align-items: center;
        padding-top: 18px;
    }

    .page--mortgage .bonus-saver-hero__card {
        width: 100%;
        margin: 18px 0 0;
    }

    .page--loan .loan-hero {
        min-height: auto;
    }

    .page--loan .loan-hero__inner {
        min-height: auto;
        align-items: center;
        padding-top: 18px;
    }

    .page--loan .loan-hero__card {
        width: 100%;
        margin: 18px 0 0;
    }

    .page--service .service-hero {
        min-height: auto;
    }

    .page--service .service-hero__inner {
        min-height: auto;
        align-items: center;
        padding-top: 18px;
    }

    .page--service .service-hero__card {
        width: 100%;
        margin: 18px 0 0;
    }
}

.page--balance-transfer .bonus-saver-hero__aside {
    display: none;
}

.page--balance-transfer .bonus-saver-summary {
    padding-top: 28px;
}

.page--balance-transfer .bonus-saver-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    border: 1px solid #d4dde8;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.page--balance-transfer .bonus-saver-panel__main {
    padding: 18px 20px 18px;
}

.page--balance-transfer .bonus-saver-panel__main h2 {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 18px;
    line-height: 1.1;
    text-transform: uppercase;
}

.page--balance-transfer .balance-transfer-kicker {
    color: #7a8592;
    font-size: 14px;
    margin-bottom: 10px;
}

.page--balance-transfer .balance-transfer-panel__art {
    width: 132px;
    margin: 10px 0 12px;
}

.page--balance-transfer .balance-transfer-panel__art img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #d9e4ef;
}

.page--balance-transfer .bonus-saver-panel__main > p {
    margin: 0 0 12px;
    color: #56697d;
    line-height: 1.5;
}

.page--balance-transfer .bonus-saver-panel__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #445669;
}

.page--balance-transfer .bonus-saver-panel__note svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.page--balance-transfer .bonus-saver-panel__aside {
    background: var(--blue);
    color: #fff;
    padding: 18px 16px;
}

.page--balance-transfer .bonus-saver-panel__aside h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.15;
}

.page--balance-transfer .balance-transfer-rate {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.page--balance-transfer .balance-transfer-limit {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.45;
}

.page--balance-transfer .bonus-saver-content,
.page--balance-transfer .bonus-saver-apply,
.page--balance-transfer .balance-transfer-related {
    padding-top: 28px;
}

.page--balance-transfer .section__title--left {
    text-align: left;
    border-left: 3px solid var(--red);
    padding-left: 10px;
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.15;
}

.page--balance-transfer .balance-transfer-copy {
    max-width: 900px;
}

.page--balance-transfer .balance-transfer-copy h3 {
    margin: 16px 0 10px;
    color: var(--red);
    font-size: 20px;
}

.page--balance-transfer .balance-transfer-smallprint {
    margin: 8px 0 0;
    color: #6a7b8d;
    font-size: 12px;
    line-height: 1.5;
}

.page--balance-transfer .bonus-saver-apply__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.page--balance-transfer .bonus-saver-apply__grid article {
    border: 0;
    box-shadow: none;
    background: #fff;
    padding: 0;
}

.page--balance-transfer .bonus-saver-apply__grid h3 {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 22px;
    line-height: 1.2;
}

.page--balance-transfer .bonus-saver-apply__grid p {
    margin: 0 0 14px;
    color: #52677b;
    line-height: 1.5;
}

.page--balance-transfer .balance-transfer-docs {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.page--balance-transfer .balance-transfer-docs li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--blue);
    font-size: 14px;
}

.page--balance-transfer .balance-transfer-docs svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.page--balance-transfer .balance-transfer-related__grid {
    grid-template-columns: 1fr 1fr 1fr;
}

.page--balance-transfer .balance-transfer-related__card--text {
    display: grid;
    align-content: start;
    gap: 4px;
    padding-top: 16px;
}

.page--balance-transfer .balance-transfer-related__card--text .balance-transfer-related__eyebrow {
    color: #8a95a3;
    font-size: 13px;
}

.page--balance-transfer .balance-transfer-related__card--text h3 {
    margin-top: 0;
}

.page--balance-transfer .balance-transfer-related__card--text p {
    margin: 0;
    color: #58697d;
    line-height: 1.45;
}

@media (max-width: 1000px) {
    .page--balance-transfer .bonus-saver-panel {
        grid-template-columns: 1fr 220px;
    }

    .page--balance-transfer .bonus-saver-apply__grid,
    .page--balance-transfer .balance-transfer-related__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .page--balance-transfer .bonus-saver-hero,
    .page--balance-transfer .bonus-saver-hero__inner {
        min-height: auto;
    }

    .page--balance-transfer .bonus-saver-hero__card {
        margin: 18px 0 0;
        width: 100%;
    }

    .page--balance-transfer .bonus-saver-panel,
    .page--balance-transfer .bonus-saver-apply__grid,
    .page--balance-transfer .balance-transfer-related__grid {
        grid-template-columns: 1fr;
    }

    .page--balance-transfer .balance-transfer-related__card--text {
        padding-top: 0;
    }
}

.page--dashboard {
    background: #fff;
    color: #3f4f64;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 100vh;
    background: #fff;
    min-width: 0;
}

.dashboard-sidebar {
    background: #f7f9fc;
    border-right: 1px solid #e2e8f3;
    padding: 12px 0 24px;
    min-width: 0;
}

.dashboard-brand {
    padding: 10px 20px 16px;
    border-bottom: 3px solid var(--red);
}

.dashboard-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dashboard-brand__logo {
    display: block;
    width: 40px;
    height: auto;
}

.dashboard-brand__name {
    display: grid;
    gap: 0;
    color: #2f3f58;
    line-height: 1;
}

.dashboard-brand__name strong {
    font-size: 12px;
    letter-spacing: .03em;
    line-height: .92;
    white-space: normal;
}

.dashboard-brand__name strong span {
    display: block;
    line-height: 0.92;
}

.dashboard-brand__name strong .dashboard-brand__name--primary {
    font-size: 13px;
    line-height: 0.88;
    letter-spacing: 0.04em;
    font-weight: 800;
}

.dashboard-brand__name small {
    color: #7f8da4;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dashboard-balance {
    padding: 14px 22px 20px;
    border-bottom: 1px solid #e3e9f4;
}

.dashboard-kicker,
.dashboard-nav__label {
    display: block;
    margin-bottom: 10px;
    color: #92a0b6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dashboard-balance__value {
    display: block;
    color: #1c6ef2;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
}

.dashboard-balance__value small {
    font-size: 11px;
    font-weight: 600;
}

.dashboard-balance__secondary {
    margin-top: 8px;
    color: #677892;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-trend {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.dashboard-trend div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #93a0b6;
    font-size: 13px;
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
}

.trend--up {
    color: #12d6a4;
}

.trend--down {
    color: #ff5b5b;
}

.dashboard-actions--stacked {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.dashboard-btn {
    justify-content: center;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 13px;
}

.dashboard-btn i {
    width: 16px;
    height: 16px;
}

.dashboard-nav {
    padding: 14px 10px 0;
}

.dashboard-nav__item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: #7b8ba8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-nav__item i {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.dashboard-nav__item--active {
    background: #fff;
    color: #1f63e0;
    box-shadow: 0 0 0 1px rgba(34, 96, 228, .08);
}

.dashboard-main {
    background: #fff;
    min-width: 0;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 22px 14px;
    border-bottom: 1px solid #eef2f8;
    background: #fff;
}

.dashboard-topbar__notice {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #667892;
    font-size: 13px;
}

.dashboard-topbar__notice i:first-child {
    color: #1c6ef2;
    width: 18px;
    height: 18px;
}

.dashboard-topbar__notice i:last-child {
    width: 16px;
    height: 16px;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.dashboard-user__avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #5c95f2;
    color: #fff;
}

.dashboard-user__avatar i {
    width: 20px;
    height: 20px;
}

.dashboard-user__meta {
    display: grid;
    gap: 2px;
}

.dashboard-user__status {
    color: #2ecf82;
    font-size: 11px;
    font-weight: 700;
}

.dashboard-user__meta strong {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #68788f;
    font-size: 12px;
}

.dashboard-user__meta strong i {
    width: 15px;
    height: 15px;
}

.dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 28px 22px 0;
    padding: 18px 18px 18px 18px;
    border: 1px solid #dfe5f0;
    background: #fff;
}

.dashboard-hero h1 {
    margin: 0 0 10px;
    color: #394b66;
    font-size: 24px;
    font-weight: 500;
}

.dashboard-hero p {
    margin: 0;
    color: #67788f;
    font-size: 13px;
}

.dashboard-hero__buttons {
    display: flex;
    gap: 14px;
    flex: 0 0 auto;
}

.dashboard-hero__btn {
    min-width: 118px;
    height: 44px;
    padding-inline: 18px;
    font-size: 13px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 496px;
    gap: 18px;
    padding: 28px 22px 0;
}

.dashboard-grid--lower {
    grid-template-columns: minmax(0, 1fr) 496px;
    align-items: start;
}

.dashboard-grid__right {
    display: grid;
    align-content: start;
    gap: 12px;
}

.dashboard-grid__left,
.dashboard-grid__right,
.dashboard-panel {
    min-width: 0;
}

.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.dashboard-section-heading h2 {
    margin: 0;
    color: #31425d;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}

.dashboard-section-heading a {
    color: #1f63e0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-overview {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    min-height: 294px;
    padding: 34px 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, #18478f, #143d82);
    color: #fff;
    box-shadow: 0 18px 34px rgba(16, 54, 113, .16);
}

.dashboard-overview__avatar {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: #f1f6ff;
    color: #1c6ef2;
    font-size: 29px;
    font-weight: 800;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .9),
        0 14px 24px rgba(5, 22, 55, .14);
}

.dashboard-overview__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.dashboard-overview__content div {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background: rgba(255, 255, 255, .055);
}

.dashboard-overview__content div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 8px;
}

.dashboard-overview__content span,
.dashboard-mini-card__eyebrow {
    color: #c9d7ef;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

.dashboard-overview__content strong {
    color: #fff;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.dashboard-overview__content div:first-child strong {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.05;
}

.dashboard-overview__content div:last-child strong {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    word-break: break-word;
}

.dashboard-overview__content small {
    color: #dbe6f7;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.dashboard-mini-card {
    position: relative;
    overflow: hidden;
    padding: 18px 20px 16px;
    border: 1px solid #d8e0ed;
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .2)),
        #eef3fb;
    min-height: 88px;
    box-shadow: 0 10px 24px rgba(18, 49, 89, .06);
}

.dashboard-mini-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: #2f73ff;
}

.dashboard-mini-card--investment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 96px;
}

.dashboard-mini-card strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #33445f;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
}

.dashboard-mini-card small {
    color: #60718a;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-overview-grid {
    align-items: start;
    gap: 18px;
}

.admin-overview-grid .dashboard-grid__right {
    display: block;
}

.admin-overview-grid .dashboard-section-heading {
    min-height: 24px;
    margin-bottom: 12px;
}

.admin-overview-grid .dashboard-mini-grid {
    gap: 14px;
}

.admin-overview-grid .dashboard-mini-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 102px;
    padding: 20px 22px 18px;
}

.admin-overview-grid .dashboard-mini-card strong {
    margin-top: 14px;
    font-size: 20px;
}

.admin-overview-grid .dashboard-mini-card small {
    font-size: 13px;
}

.dashboard-mini-card--small {
    min-height: 88px;
}

.dashboard-mini-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #61748f;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.dashboard-mini-card__eyebrow span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-mini-card__eyebrow i {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #7f93b1;
}

.dashboard-pulse {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #58e1bd;
}

.dashboard-panel {
    background: #fff;
}

.dashboard-activity-box {
    display: grid;
    gap: 12px;
    min-height: 356px;
    padding: 14px 0 0;
    border-top: 2px solid #d9dfe9;
    background: #fff;
}

.dashboard-transaction {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    padding: 14px 16px;
    border: 1px solid #e2e8f3;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.dashboard-transaction__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2f73ff;
}

.dashboard-transaction__icon i {
    width: 19px;
    height: 19px;
}

.dashboard-transaction--credit .dashboard-transaction__icon {
    background: rgba(18, 214, 164, .12);
    color: #0fab82;
}

.dashboard-transaction--debit .dashboard-transaction__icon {
    background: rgba(255, 91, 91, .12);
    color: #e04747;
}

.dashboard-transaction--pending .dashboard-transaction__icon {
    background: rgba(47, 115, 255, .12);
    color: #2f73ff;
}

.dashboard-transaction__details,
.dashboard-transaction__meta {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.dashboard-transaction__details strong,
.dashboard-transaction__meta strong {
    color: #3e4f68;
    font-size: 14px;
    line-height: 1.2;
}

.dashboard-transaction__details span,
.dashboard-transaction__meta span {
    color: #7b8ba2;
    font-size: 12px;
    line-height: 1.3;
}

.dashboard-transaction__meta {
    justify-items: end;
    text-align: right;
}

.dashboard-chart {
    min-height: 356px;
    padding: 16px 16px 12px;
    border: 1px solid #dbe2f0;
    background: #fff;
}

.dashboard-chart svg {
    display: block;
    width: 100%;
    height: 250px;
}

.dashboard-chart__graph {
    display: block;
    width: 100%;
    height: 250px;
    border: 1px solid #dbe2f0;
}

.dashboard-chart__legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 10px;
    color: #7a899f;
    font-size: 13px;
}

.dashboard-chart__legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend--credit {
    background: #33d9a3;
}

.legend--debit {
    background: #f0b2ab;
}

.dashboard-forex {
    display: grid;
    justify-content: start;
    gap: 8px;
    margin-top: 14px;
}

.dashboard-forex__card {
    width: min(320px, 100%);
    padding: 12px 14px 10px;
    background: #222;
    color: #fff;
}

.dashboard-forex__top,
.dashboard-forex__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-forex__top span, 
.dashboard-forex__sub,
.dashboard-forex__foot {
    color: #adbacf;
    font-size: 10px;
    letter-spacing: .02em;
}

.dashboard-forex__rate {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 8px 0 6px;
    font-size: 24px;
    font-weight: 600;
}

.dashboard-forex__rate small {
    color: #ff5961;
    font-size: 13px;
    font-weight: 500;
}

.dashboard-forex svg {
    width: 100%;
    height: 90px;
}

.dashboard-forex__sparkline {
    display: block;
    width: 100%;
    height: 90px;
}

.dashboard-forex__sparkline polyline {
    fill: none;
}

.dashboard-forex__link {
    width: fit-content;
    margin: 0 auto;
    color: #2e73ff;
    font-size: 14px;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dashboard-page {
    min-height: calc(100vh - 146px);
    padding: 38px 22px 0;
}

.dashboard-page__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.dashboard-page__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #8a9ab4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dashboard-page__head h1 {
    margin: 0;
    color: #33445f;
    font-size: 24px;
    line-height: 1.15;
}

.dashboard-page__action {
    min-height: 44px;
    gap: 8px;
    flex: 0 0 auto;
}

.dashboard-page__action i {
    width: 17px;
    height: 17px;
}

.dashboard-market-strip {
    position: relative;
    min-height: 32px;
    padding: 0;
    border: 1px solid #cfd9ea;
    border-left: 3px solid #1f63e0;
    background: #f8fbff;
    color: #1c2f4e;
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    white-space: nowrap;
}

.dashboard-market-track {
    display: flex;
    width: max-content;
    animation: dashboardTicker 28s linear infinite;
}

.dashboard-market-strip[data-ticker-ready="true"] .dashboard-market-track {
    animation: none;
    will-change: transform;
}

.dashboard-market-strip:hover .dashboard-market-track {
    animation-play-state: paused;
}

.dashboard-market-list {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 32px;
    padding: 7px 20px 7px 12px;
}

.dashboard-market-strip strong {
    color: #172b4d;
    flex: 0 0 auto;
}

.dashboard-market-strip b {
    font-weight: 800;
}

@keyframes dashboardTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-market-track {
        animation: none;
    }
}

.rate-up {
    color: #0a9f70;
}

.rate-up::after {
    content: " ▲";
}

.rate-down {
    color: #e02f2f;
}

.rate-down::after {
    content: " ▼";
}

.rate-live {
    color: #1f63e0;
}

.dashboard-summary-panel {
    margin-top: 12px;
    border: 1px solid #dbe3f0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(18, 49, 89, .06);
}

.dashboard-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid #e4ebf5;
}

.dashboard-search {
    position: relative;
    display: block;
    width: min(280px, 100%);
}

.dashboard-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: #8ea0bb;
    pointer-events: none;
}

.dashboard-search input,
.dashboard-show-count select {
    min-height: 40px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
    color: #3e506a;
    font: inherit;
    font-size: 13px;
}

.dashboard-search input {
    width: 100%;
    padding: 0 12px 0 38px;
}

.dashboard-search input::placeholder {
    color: #9aaac0;
}

.dashboard-show-count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4a5d79;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-show-count select {
    min-width: 72px;
    padding: 0 34px 0 12px;
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-summary-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.dashboard-summary-table th,
.dashboard-summary-table td {
    border-bottom: 1px solid #e4ebf5;
    padding: 13px 16px;
    color: #415371;
    font-size: 13px;
    text-align: left;
}

.dashboard-summary-table th {
    background: #f7faff;
    color: #4b5d78;
    font-weight: 800;
}

.dashboard-summary-table th span {
    float: right;
    color: #a7b4c8;
    font-weight: 600;
}

.dashboard-summary-table__empty td {
    height: 148px;
    text-align: center;
    color: #5b6d86;
}

.dashboard-summary-table__empty i {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 10px;
    color: #8ea0bb;
}

.dashboard-summary-table__empty strong,
.dashboard-summary-table__empty span {
    display: block;
}

.dashboard-summary-table__empty strong {
    margin-bottom: 5px;
    color: #3e506a;
    font-size: 14px;
}

.dashboard-summary-table__empty span {
    color: #71849e;
    font-size: 12px;
}

.admin-approval-message {
    margin-bottom: 16px;
}

.admin-gen-history-intro {
    max-width: 62rem;
}

.admin-gen-history-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem .75rem;
    margin: 0 0 1rem;
    padding: .9rem 1rem;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    background: #f8fbff;
}

.admin-gen-history-toolbar p {
    flex: 1 1 18rem;
    margin: 0;
    color: #5b6d86;
    font-size: .875rem;
    line-height: 1.45;
}

.admin-gen-history-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0 .75rem;
    border-radius: 999px;
    background: #eaf2fb;
    color: #124a7d;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-gen-history-badge--danger {
    background: #fff1f1;
    color: #b42318;
}

.admin-gen-history-shell {
    display: grid;
    gap: 1rem;
}

.admin-gen-history-form,
.admin-gen-history-clear-form {
    display: grid;
    gap: .9rem;
    padding: 1.1rem 1.1rem 1rem;
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
    box-shadow: 0 14px 34px rgba(25, 41, 66, 0.08);
}

.admin-gen-history-form {
    border: 1px solid #dbe4f1;
}

.admin-gen-history-clear-form {
    border: 1px solid #dbe4f1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 34px rgba(25, 41, 66, 0.08);
}

.admin-gen-history-form__head,
.admin-gen-history-clear-head {
    display: grid;
    gap: .3rem;
    padding-bottom: .2rem;
    border-bottom: 1px solid #e4ebf5;
}

.admin-gen-history-form__head h3,
.admin-gen-history-clear-head h3 {
    margin: 0;
    color: #203248;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
}

.admin-gen-history-form__head p,
.admin-gen-history-clear-head p {
    margin: 0;
    color: #5b6d86;
    font-size: .875rem;
    line-height: 1.5;
    max-width: 54rem;
}

.admin-gen-history-grid {
    display: grid;
    gap: .8rem;
}

.admin-gen-history-field,
.admin-gen-history-clear-select {
    display: grid;
    gap: .375rem;
}

.admin-gen-history-field--wide {
    grid-column: 1 / -1;
}

.admin-gen-history-switch {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    align-items: start;
    padding: .95rem 1rem .95rem .95rem;
    border: 1px solid #d8e4f3;
    border-radius: 12px;
    background: #f5f9ff;
    cursor: pointer;
}

.admin-gen-history-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.admin-gen-history-switch__track {
    position: relative;
    display: inline-flex;
    width: 50px;
    height: 26px;
    margin-top: 2px;
    border-radius: 999px;
    background: #d6deeb;
    flex: 0 0 auto;
}

.admin-gen-history-switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(16, 30, 54, 0.18);
    transition: transform 160ms ease, background-color 160ms ease;
}

.admin-gen-history-switch input:checked + .admin-gen-history-switch__track {
    background: #0c4a84;
}

.admin-gen-history-switch input:checked + .admin-gen-history-switch__track::after {
    transform: translateX(24px);
}

.admin-gen-history-switch__copy {
    display: grid;
    gap: .25rem;
}

.admin-gen-history-switch__copy strong {
    color: #24384f;
    font-size: .9375rem;
    line-height: 1.2;
}

.admin-gen-history-switch__copy span {
    color: #5b6d86;
    font-size: .875rem;
    line-height: 1.45;
}

.admin-gen-history-actions {
    display: grid;
    gap: .65rem;
    align-items: start;
}

.admin-gen-history-hint,
.admin-gen-history-clear-copy {
    margin: 0;
    color: #5b6d86;
    font-size: .875rem;
    line-height: 1.5;
}

.admin-gen-history-clear-copy strong {
    color: #24384f;
}

.admin-gen-history-trigger,
.admin-gen-history-clear-btn {
    justify-self: start;
    box-shadow: 0 12px 24px rgba(239, 91, 91, .18);
}

.admin-gen-history-clear-select {
    max-width: 28rem;
}

.admin-gen-confirm-list {
    display: grid;
    gap: .55rem;
    margin: .25rem 0 0;
}

.admin-gen-confirm-list > div {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
    gap: .8rem;
    padding: .8rem .9rem;
    border: 1px solid #e4ebf5;
    border-radius: 10px;
    background: #f8fbff;
}

.admin-gen-confirm-list > div:first-child {
    background: linear-gradient(180deg, #f2f7fe 0%, #f8fbff 100%);
}

.admin-gen-confirm-list dt {
    color: #6b7f97;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.admin-gen-confirm-list dd {
    margin: 0;
    color: #24384f;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.admin-gen-confirm-warning {
    margin: 0;
    padding: .8rem .95rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff1f1, #ffe9e9);
    color: #b42318;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.5;
}

.admin-gen-history-dialog .admin-customer-create-dialog__surface {
    gap: .8rem;
}

.admin-gen-history-dialog .admin-customer-create-dialog__head {
    padding-bottom: .15rem;
}

.admin-gen-history-dialog .admin-customer-create-dialog__head h2 {
    font-size: 1.05rem;
}

.admin-gen-history-dialog .admin-customer-create-dialog__head p {
    color: #4f637d;
    font-size: .9rem;
}

.admin-gen-history-clear-head strong {
    color: #7f1d1d;
}

.admin-gen-history-clear-btn:hover,
.admin-gen-history-clear-btn:focus-visible {
    box-shadow: 0 16px 30px rgba(239, 91, 91, .24);
}

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

    .admin-gen-history-trigger,
    .admin-gen-history-clear-btn {
        width: fit-content;
    }
}

@media (min-width: 1100px) {
    .admin-gen-history-shell {
        grid-template-columns: minmax(0, 1.65fr) minmax(21rem, .9fr);
        align-items: start;
    }

    .admin-gen-history-clear-form {
        position: sticky;
        top: 1rem;
    }
}

.admin-settings-panel {
    display: grid;
    gap: 1.5rem;
}

.admin-settings-heading {
    display: grid;
    gap: .2rem;
    max-width: 52rem;
}

.admin-settings-heading h2 {
    margin: 0;
}

.admin-settings-heading p {
    margin: 0;
    color: #5b6d86;
    font-size: .95rem;
    line-height: 1.5;
}

.admin-settings-block {
    display: grid;
    gap: .875rem;
}

.admin-settings-block__head {
    display: grid;
    gap: .5rem;
}

.admin-settings-block__head h3 {
    margin: 0;
    color: #31425d;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.admin-settings-block__head p {
    margin: .35rem 0 0;
    color: #5b6d86;
    font-size: .875rem;
    line-height: 1.5;
}

.admin-settings-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 .75rem;
    border-radius: 999px;
    background: #edf4ff;
    color: #0d4ea8;
    font-size: .8125rem;
    font-weight: 800;
    width: fit-content;
}

.admin-settings-form {
    display: grid;
    gap: 1rem;
    margin-top: 0;
}

.admin-settings-form select,
.admin-settings-form textarea,
.admin-settings-form input {
    width: 100%;
}

.admin-settings-tac-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.admin-settings-tac-card {
    display: grid;
    gap: .875rem;
    padding: 1rem;
    border: 1px solid #e4ebf5;
    border-radius: 8px;
    background: #fbfdff;
}

.admin-settings-tac-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: #31425d;
    font-size: .8125rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-settings-tac-card__help {
    margin: 0;
    color: #64748b;
    font-size: .875rem;
    line-height: 1.45;
}

.admin-settings-tac-card .dashboard-cross-control {
    gap: .375rem;
}

.admin-settings-table-wrap {
    margin-top: .25rem;
}

.admin-settings-table th,
.admin-settings-table td {
    vertical-align: top;
}

.admin-approval-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 270px;
}

.admin-approval-actions form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.admin-approval-btn {
    min-height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    font-size: 12px;
}

.admin-approval-note {
    width: 92px;
    min-height: 32px;
    border: 1px solid #d7e0ed;
    border-radius: 4px;
    padding: 0 8px;
    color: #415371;
    font: inherit;
    font-size: 12px;
}

.admin-approval-muted {
    color: #71849e;
    font-size: 12px;
    font-weight: 700;
}

.admin-approval-link {
    color: #1453a8;
    font-weight: 800;
    text-decoration: none;
}

.admin-approval-link:hover {
    text-decoration: underline;
}

.admin-approval-detail {
    margin-bottom: 18px;
    padding: 18px;
}

.admin-approval-detail__grid,
.admin-approval-detail__body {
    display: grid;
    gap: 14px;
}

.admin-approval-detail__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.admin-approval-detail__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
}

.admin-approval-detail__grid div,
.admin-approval-detail__body > div {
    border: 1px solid #e4ebf5;
    border-radius: 8px;
    padding: 14px;
}

.admin-approval-detail span,
.admin-approval-detail dt {
    color: #71849e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-approval-detail strong,
.admin-approval-detail dd {
    color: #263952;
    font-weight: 800;
}

.admin-approval-detail small {
    display: block;
    margin-top: 4px;
    color: #64748b;
}

.admin-approval-detail h3 {
    margin: 0 0 12px;
    color: #263952;
    font-size: 16px;
}

.admin-approval-detail__list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.admin-approval-detail__list div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
}

.admin-approval-detail__list dd {
    margin: 0;
}

.admin-approval-detail__metadata {
    max-height: 260px;
    overflow: auto;
    margin: 0;
    padding: 12px;
    border-radius: 8px;
    background: #f7faff;
    color: #334155;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.admin-customer-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1rem;
    min-width: 0;
}

.admin-customer-hero {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe5f1;
    border-radius: .9rem;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.admin-customer-hero__copy {
    display: grid;
    gap: .65rem;
    min-width: 0;
}

.admin-customer-hero__eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 1.8rem;
    padding: 0 .7rem;
    border-radius: 999px;
    background: #edf4ff;
    color: #0c4a84;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.admin-customer-hero__copy h3 {
    margin: 0;
    color: #1f3350;
    font-size: clamp(1.4rem, 3vw, 1.95rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.admin-customer-hero__summary {
    margin: 0;
    color: #5b6d86;
    font-size: .9375rem;
    line-height: 1.5;
    max-width: 60ch;
}

.admin-customer-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.admin-customer-hero__chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 .75rem;
    border-radius: 999px;
    background: #f1f5fb;
    color: #405570;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.admin-customer-hero__chip--status {
    background: #0c4a84;
    color: #fff;
}

.admin-customer-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    min-width: 0;
}

.admin-customer-hero__stat {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    border: 1px solid #d7e4f1;
    border-radius: .95rem;
    background: #ffffff;
    min-width: 0;
    overflow: hidden;
}

.admin-customer-hero__stat span {
    color: #71849e;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-customer-hero__stat strong {
    color: #1f3350;
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.admin-customer-content {
    display: grid;
    gap: 1.25rem;
}

.admin-customer-advanced {
    display: grid;
    gap: .75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.admin-customer-advanced__header {
    display: grid;
    gap: .35rem;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.admin-customer-advanced__header span {
    display: grid;
    gap: .2rem;
}

.admin-customer-advanced__header strong {
    color: #1f3350;
    font-size: .95rem;
    line-height: 1.2;
    font-weight: 800;
}

.admin-customer-advanced__header small {
    color: #5b6d86;
    font-size: .875rem;
    line-height: 1.45;
}

.admin-customer-advanced__body {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    align-items: start;
}

.admin-customer-advanced__body > * {
    min-width: 0;
}

.admin-customer-section--ledger,
.admin-customer-section--generated {
    grid-column: 1 / -1;
    width: 100%;
}

.admin-customer-detail > .dashboard-section-heading,
.admin-customer-detail .dashboard-section-heading {
    margin-bottom: 0;
}

.admin-customers-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: .5rem 0 1.25rem;
    width: 100%;
}

.admin-customers-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
}

.admin-customers-heading h2 {
    margin: 0;
    line-height: 1.1;
}

.admin-customer-profile-grid {
    grid-template-columns: 1fr;
    gap: .875rem;
    margin-bottom: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.admin-customer-profile-grid div {
    display: grid;
    align-content: center;
    gap: .375rem;
    min-height: 4.5rem;
    padding: 1rem;
    background: #fbfdff;
    min-width: 0;
}

.admin-customer-detail .dashboard-panel {
    border: 1px solid #dbe5f1;
    border-radius: .9rem;
    background: #fff;
    box-shadow: none;
}

.admin-customer-detail .dashboard-panel--balance {
    background: #fff;
}

.admin-customer-detail .admin-customer-section--tac .dashboard-panel {
    background: #fff;
}

.admin-customer-detail .admin-customer-section--notifications .dashboard-panel {
    background: #fff;
}

.admin-customer-detail .admin-customer-section--ledger {
    background: #fff;
    border: 1px solid #dbe5f1;
    box-shadow: none;
}

.admin-customer-detail .admin-customer-section--generated {
    background: #fff;
    border: 1px solid #dbe5f1;
    box-shadow: none;
}

.admin-customer-detail .admin-customer-section--ledger .dashboard-table-wrap,
.admin-customer-detail .admin-customer-section--ledger .dashboard-summary-table {
    width: 100%;
    min-width: 0;
}

.admin-customer-detail .admin-customer-section--ledger .dashboard-summary-table {
    display: table;
    table-layout: auto;
}

.admin-customer-detail .admin-customer-section--cards .dashboard-panel {
    background: #fff;
}

.admin-customer-section--cards {
    grid-column: 1 / -1;
    width: 100%;
}

.admin-customer-detail .admin-customer-section--cards .dashboard-table-wrap,
.admin-customer-detail .admin-customer-section--cards .dashboard-summary-table {
    width: 100%;
    min-width: 0;
}

.admin-customer-detail .admin-customer-section--cards .admin-support-reply-form {
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: .5rem;
}

.admin-customer-detail .admin-customer-section--cards .admin-support-reply-input,
.admin-customer-detail .admin-customer-section--cards .admin-approval-note {
    width: min(100%, 8.75rem);
    flex: 0 0 auto;
}

.admin-customer-detail .admin-customer-section--cards .admin-approval-btn {
    margin-left: auto;
    flex: 0 0 auto;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-shell {
    gap: .75rem;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-form,
.admin-customer-detail .admin-customer-section--generated .admin-gen-history-clear-form {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: .75rem;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-form__head,
.admin-customer-detail .admin-customer-section--generated .admin-gen-history-clear-head {
    padding-bottom: .35rem;
    border-bottom: 1px solid #e7edf6;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-grid {
    gap: .65rem;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-actions {
    gap: .5rem;
}

.admin-customer-detail .dashboard-panel,
.admin-customer-detail .admin-gen-history-form,
.admin-customer-detail .admin-gen-history-clear-form,
.admin-customer-detail .admin-approval-btn,
.admin-customer-detail .dashboard-support-submit,
.admin-customer-detail .admin-gen-history-trigger,
.admin-customer-detail .admin-gen-history-clear-btn {
    box-shadow: none !important;
}

.admin-customer-detail .admin-customer-section--status > .dashboard-panel {
    background: #f8fbff;
}

.admin-customer-detail .admin-customer-section--tac > .dashboard-panel {
    background: #f7fbf7;
}

.admin-customer-detail .admin-customer-section--notifications > .dashboard-panel {
    background: #f6fbf8;
}

.admin-customer-detail .admin-customer-section--ledger {
    background: #fffaf1;
}

.admin-customer-detail .admin-customer-section--generated {
    background: #fdf8f2;
}

.admin-customer-detail .admin-customer-section--cards > .dashboard-panel {
    background: #f8f9ff;
}

.admin-customer-detail .admin-customer-section--requests > .dashboard-panel {
    background: #f8fbff;
}

.admin-customer-detail .admin-customer-section--ledger .dashboard-summary-table th {
    background: #fff3d8;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-form__head,
.admin-customer-detail .admin-customer-section--generated .admin-gen-history-clear-head {
    border-bottom-color: #ece4d8;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-form {
    background: #fffdf9;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-clear-form {
    background: #fff9f5;
}

.admin-customer-detail .admin-customer-section--requests .dashboard-panel {
    background: #fff;
}

.admin-customer-profile-grid span {
    display: block;
    line-height: 1.2;
}

.admin-customer-profile-grid strong {
    display: block;
    line-height: 1.25;
}

.admin-customer-profile-grid strong,
.admin-customer-tac-meta {
    overflow-wrap: anywhere;
}

.admin-customer-detail .dashboard-ticket-reply-form {
    gap: .875rem;
    margin-top: 0;
}

.admin-customer-status-panel {
    background: #fff;
    border-left: 0;
}

.admin-customer-status-stack {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.admin-customer-status-account-form {
    padding-top: 1rem;
    border-top: 1px solid #dbe5f1;
}

.admin-customer-status-form,
.admin-customer-status-account-form {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.admin-customer-status-form__copy {
    display: grid;
    gap: .3rem;
}

.admin-customer-status-form__copy p {
    margin: 0;
    color: #5b6d86;
    font-size: .875rem;
    line-height: 1.45;
    max-width: 60ch;
}

.admin-customer-status-form__controls {
    display: grid;
    gap: .75rem;
}

.admin-customer-status-form__controls .dashboard-support-submit {
    justify-self: start;
}

.admin-customer-status-panel .dashboard-ticket-reply-form h3 {
    margin: 0;
    color: #1f3350;
    font-size: .9375rem;
    line-height: 1.25;
    font-weight: 800;
}

.admin-customer-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: end;
    grid-column: 1 / -1;
    width: 100%;
}

.admin-customer-form-actions__field {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-customer-form-actions__field input {
    width: 100%;
}

.admin-customer-form-actions .dashboard-support-submit {
    justify-self: end;
    min-width: 10rem;
}

.admin-customer-account-tools h3 {
    margin: 0;
    color: #263952;
    font-size: .9375rem;
    line-height: 1.25;
    font-weight: 800;
}

.admin-customer-account-tools {
    display: grid;
    gap: 1rem;
}

.admin-customer-account-tools > h3 {
    margin: 0 0 .2rem;
}

.admin-customer-account-tools .dashboard-ticket-reply-form {
    gap: .8rem;
    margin-top: 0;
}

.admin-customer-account-tools .dashboard-ticket-reply-form h3 {
    margin: 0 0 .15rem;
    line-height: 1.15;
}

.admin-customer-account-tools .dashboard-cross-control {
    gap: .3rem;
}

.admin-customer-create-trigger {
    min-height: 2.5rem;
    gap: .5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.admin-customer-create-trigger i {
    width: 1rem;
    height: 1rem;
}

.admin-customer-create-dialog {
    width: min(100%, 40rem);
    max-width: calc(100vw - 2rem);
    border: 1px solid #d8e4f3;
    border-radius: 12px;
    padding: 0;
    background: #fff;
    color: #1f2f45;
    box-shadow: 0 1.5rem 3rem rgba(25, 41, 66, .18);
}

.admin-customer-create-dialog::backdrop {
    background: rgba(20, 35, 58, .52);
}

.admin-customer-create-dialog__surface {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.admin-customer-create-dialog__head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .25rem 1rem;
    padding-right: 3rem;
}

.admin-customer-create-dialog__head h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}

.admin-customer-create-dialog__head p {
    grid-column: 1 / -1;
    margin: 0;
    color: #66758f;
    font-size: .875rem;
    line-height: 1.45;
}

.admin-customer-create-dialog__close {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid #d8e4f3;
    border-radius: 8px;
    background: #fff;
    color: #5a6b82;
    cursor: pointer;
}

.admin-customer-create-dialog__close i {
    width: 1rem;
    height: 1rem;
}

.admin-customer-create-dialog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .625rem;
}

.admin-gen-confirm-detail {
    padding: .75rem 1.5rem;
}

.admin-gen-clear-check {
    display: flex;
    align-items: center;
}

.admin-customer-create-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: .25rem;
}

.admin-customer-detail .dashboard-cross-control {
    gap: .375rem;
}

.admin-customer-detail .dashboard-cross-control input,
.admin-customer-detail .dashboard-cross-control select,
.admin-customer-detail .dashboard-cross-control textarea {
    min-height: 2.75rem;
    font-size: .875rem;
}

.admin-customer-section-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
}

.admin-customer-content .dashboard-panel {
    border-radius: 1rem;
}

.admin-customer-section-grid .dashboard-panel {
    padding: 1rem;
    min-width: 0;
    overflow: hidden;
}

.admin-customer-section-grid .dashboard-panel > .dashboard-section-heading,
.admin-customer-detail > .admin-approval-history > .dashboard-section-heading {
    margin-bottom: .6rem;
}

.admin-customer-detail .admin-customers-heading {
    margin-bottom: .75rem;
}

.admin-customer-section-grid .admin-customer-notifications > .dashboard-section-heading {
    margin-bottom: 0;
}

.admin-customer-advanced__body {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    align-items: start;
}

.admin-customer-advanced__body > * {
    min-width: 0;
}

.admin-customer-detail .admin-approval-detail__list {
    gap: .625rem;
}

.admin-customer-detail .admin-approval-detail__list div {
    grid-template-columns: minmax(7.5rem, .45fr) minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
}

.admin-customer-detail .admin-approval-detail__list dt,
.admin-customer-detail .admin-approval-detail__list dd {
    min-width: 0;
    font-size: .8125rem;
    line-height: 1.3;
}

.admin-customer-detail .admin-approval-detail__list .admin-approval-link {
    font-size: .75rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.admin-customer-detail .admin-approval-detail__list dd {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.admin-customer-notifications {
    display: grid;
    gap: 1rem;
}

.admin-customer-notification-form {
    gap: .75rem;
}

.admin-customer-notification-form .dashboard-support-submit {
    justify-self: start;
    margin-top: .125rem;
}

.admin-customer-notification-list {
    padding-top: .875rem;
    border-top: 1px solid #e4ebf5;
}

.admin-customer-notification-list div {
    padding: .625rem 0;
    border-bottom: 1px solid #eef3fb;
}

.admin-customer-notification-list div:first-child {
    padding-top: 0;
}

.admin-customer-notification-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.admin-customer-section-grid--single {
    display: block;
}

.admin-customer-tac-form {
    gap: .875rem;
    grid-template-columns: 1fr;
}

.admin-customer-tac-row {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: .875rem;
    padding: 1rem;
    border: 1px solid #e4ebf5;
    border-radius: 8px;
    background: #fbfdff;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.admin-customer-tac-row .dashboard-cross-control input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 800;
    letter-spacing: 0;
}

.admin-customer-tac-meta {
    margin: 0;
    align-self: start;
    line-height: 1.45;
}

.admin-customer-detail .dashboard-summary-table th,
.admin-customer-detail .dashboard-summary-table td {
    padding: .875rem 1rem;
    vertical-align: middle;
}

.admin-customer-detail .dashboard-table-wrap {
    max-width: 100%;
    width: 100%;
}

.admin-customer-detail .dashboard-summary-table {
    width: 100%;
    min-width: 0;
}

.admin-customer-detail .admin-support-reply-form {
    flex-wrap: wrap;
    align-items: stretch;
}

.admin-customer-detail .admin-support-reply-form .admin-approval-note,
.admin-customer-detail .admin-support-reply-form .admin-support-reply-input {
    width: min(100%, 10rem);
    min-height: 2.5rem;
}

.admin-customer-detail .admin-approval-btn,
.admin-customer-detail .dashboard-support-submit {
    min-height: 2.75rem;
    padding-inline: 1rem;
}

@media (min-width: 720px) {
    .admin-customer-hero {
        grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr);
        align-items: start;
    }

    .admin-customer-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-self: stretch;
    }

    .admin-customer-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-customer-adjustment-form {
        grid-template-columns: minmax(13rem, 1.15fr) minmax(8rem, .65fr) minmax(8rem, .65fr);
        align-items: end;
    }

    .admin-customer-balance-form {
        grid-template-columns: minmax(13rem, 1fr) minmax(9rem, .6fr);
        align-items: end;
    }

    .admin-customer-status-form,
    .admin-customer-status-account-form {
        grid-template-columns: minmax(12rem, .8fr) minmax(0, 1.2fr);
        align-items: start;
    }

    .admin-customer-status-form__controls {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .admin-customer-account-tools h3,
    .admin-customer-adjustment-form .dashboard-cross-control--full {
        grid-column: 1 / -1;
    }

    .admin-customer-balance-form .dashboard-cross-control--full {
        grid-column: 1 / -1;
    }

    .admin-customer-create-dialog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-customer-create-dialog__actions {
        justify-content: flex-end;
    }

    .admin-customer-tac-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }

    .admin-customer-tac-row {
        min-height: 100%;
    }

    .admin-customer-tac-form .dashboard-support-submit {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (min-width: 1100px) {
    .admin-customer-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-customer-profile-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-customer-detail .dashboard-panel {
        padding: 1rem;
    }
}

@media (max-width: 719px) {
    .admin-customer-form-actions {
        grid-template-columns: 1fr;
    }

    .admin-customer-form-actions .dashboard-support-submit {
        width: 100%;
        min-width: 0;
    }
}

@media (min-width: 1600px) {
    .admin-customer-account-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 1100px) {
    .dashboard-sidebar,
    .dashboard-main,
    .dashboard-page {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .admin-customer-detail {
        padding: 1rem;
    }

    .admin-customer-hero {
        padding: 1rem;
    }

    .admin-customer-hero__stats {
        grid-template-columns: 1fr;
    }

    .admin-customer-advanced__header {
        padding: .8rem .85rem;
    }

    .admin-customer-advanced__body {
        gap: .85rem;
    }

    .admin-customer-section-grid .dashboard-panel {
        padding: 1rem;
    }

    .admin-customer-detail > .admin-approval-history {
        margin-inline: 14px;
    }

    .admin-customer-detail .dashboard-summary-table {
        min-width: 38rem;
    }

    .admin-customer-create-dialog {
        max-width: calc(100vw - 1rem);
    }

    .admin-customer-create-dialog__surface {
        padding: .875rem;
    }
}

/* Final visual consistency pass. */
:where(.btn, button, input, select, textarea) {
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, opacity .18s ease;
}

:where(.btn, button):focus-visible,
:where(input, select, textarea):focus-visible {
    outline: 3px solid rgba(239, 91, 91, .28);
    outline-offset: 2px;
}

:where(.btn) {
    min-height: 44px;
}

:where(input, select, textarea):user-invalid:not(:focus) {
    border-color: var(--red);
}

.hero__panel--left,
.hero__panel--right {
    box-shadow: 0 18px 42px rgba(10, 44, 79, .16);
}

.hero__panel--right {
    align-self: center;
}

.hero__panel--right .form {
    gap: 12px;
}

.dashboard-form-error,
.dashboard-form-success,
.auth-alert {
    border-radius: 6px;
    line-height: 1.5;
}

.dashboard-form-error,
.auth-alert--error {
    border-left: 4px solid var(--red);
}

.dashboard-form-success,
.auth-alert--success {
    border-left: 4px solid #1d9b72;
}

.dashboard-notification-empty,
.dashboard-request-empty,
.empty-state {
    min-height: 150px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 28px;
    border: 1px dashed #cbdbea;
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
    background: #fbfdff;
}

.dashboard-summary-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.auth-page {
    min-height: 100svh;
    padding: clamp(24px, 6vw, 72px) 16px;
}

.auth-panel {
    width: min(100%, 520px);
    margin: 0 auto;
}

.auth-form {
    gap: 18px;
}

.auth-form label > span:first-child {
    margin-bottom: 7px;
    font-weight: 700;
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .topbar__inner,
    .navbar__inner {
        min-height: 48px;
    }

    .topbar__right {
        width: 100%;
        justify-content: space-between;
    }

    .brand {
        min-width: 0;
    }

    .brand__mark {
        width: 44px;
        height: 44px;
    }

    .brand__text {
        height: 44px;
    }

    .hero__panel--left,
    .hero__panel--right {
        padding: 20px;
    }

    .hero__panel--left h1 {
        font-size: clamp(30px, 9vw, 46px);
    }

    .dashboard-main,
    .dashboard-page {
        padding: 16px;
    }

    .dashboard-panel,
    .dashboard-summary-panel,
    .dashboard-transfer-card {
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    :where(.btn, button, input, select, textarea) {
        transition: none;
    }
}

.admin-approval-actions--detail {
    justify-content: flex-start;
    margin-top: 14px;
}

.admin-approval-note--wide {
    width: 160px;
}

.dashboard-notification-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.dashboard-notification-list--full {
    margin-bottom: 0;
}

.dashboard-notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #dbe8f6;
    border-left: 4px solid #1453a8;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fbff;
}

.dashboard-notification-item--unread {
    border-color: #b9d5f5;
    background: #eef7ff;
}

.dashboard-notification-item strong,
.dashboard-notification-item span,
.dashboard-notification-item small {
    display: block;
}

.dashboard-notification-item strong {
    color: #24364f;
    font-size: 14px;
}

.dashboard-notification-item span,
.dashboard-notification-item time,
.dashboard-notification-item small {
    color: #64748b;
    font-size: 12px;
}

.dashboard-notification-action {
    min-height: 32px;
    padding: 0 12px;
    white-space: nowrap;
}

.dashboard-notification-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 52px 20px;
    color: #64748b;
    text-align: center;
}

.dashboard-notification-empty i {
    width: 30px;
    height: 30px;
}

.dashboard-notification-empty strong {
    color: #263952;
}

.dashboard-export-btn {
    min-height: 36px;
    padding: 0 14px;
    white-space: nowrap;
}

.dashboard-request-list,
.dashboard-ticket-thread-list,
.dashboard-ticket-messages {
    display: grid;
    gap: 12px;
}

.dashboard-request-item,
.dashboard-ticket-thread {
    border: 1px solid #e4ebf5;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.dashboard-request-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.dashboard-request-item__type {
    color: #1453a8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-request-item strong,
.dashboard-request-item span,
.dashboard-request-item small {
    display: block;
}

.dashboard-request-item strong {
    color: #263952;
}

.dashboard-request-item span,
.dashboard-request-item small {
    color: #64748b;
    font-size: 12px;
}

.dashboard-request-item mark,
.dashboard-ticket-thread mark {
    border-radius: 999px;
    padding: 5px 9px;
    background: #eef7ff;
    color: #1453a8;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-ticket-thread {
    margin-top: 16px;
}

.dashboard-ticket-thread header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.dashboard-ticket-thread header strong,
.dashboard-ticket-thread header span {
    display: block;
}

.dashboard-ticket-thread header span {
    color: #64748b;
    font-size: 12px;
}

.dashboard-ticket-message {
    border-radius: 8px;
    padding: 10px 12px;
    background: #f7faff;
}

.dashboard-ticket-message--admin {
    border-left: 4px solid #1453a8;
}

.dashboard-ticket-message--customer {
    border-left: 4px solid #26d6a1;
}

.dashboard-ticket-message strong,
.dashboard-ticket-message span,
.dashboard-ticket-message small {
    display: block;
}

.dashboard-ticket-message strong {
    color: #263952;
    font-size: 13px;
}

.dashboard-ticket-message span,
.dashboard-ticket-message small {
    color: #64748b;
    font-size: 12px;
}

.dashboard-ticket-reply-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.admin-settings-form .dashboard-support-submit {
    justify-self: start;
}

.admin-support-reply-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-support-reply-input {
    width: 140px;
}

.admin-support-status {
    min-height: 32px;
    border: 1px solid #d7e0ed;
    border-radius: 6px;
    color: #40516a;
    font-size: 12px;
}

.admin-approval-history {
    margin-top: 18px;
}

.admin-history-filters {
    justify-content: flex-start;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.admin-customers-toolbar .dashboard-search {
    flex: 1 1 18rem;
    max-width: 28rem;
}

.admin-customers-toolbar .admin-approval-btn {
    min-height: 2.75rem;
}

.admin-customers-toolbar .admin-history-filters {
    gap: .75rem;
}

.dashboard-amount-positive {
    color: #0f8a55 !important;
    font-weight: 800;
}

.dashboard-amount-negative {
    color: #b42318 !important;
    font-weight: 800;
}

@media (max-width: 900px) {
    .admin-approval-detail__grid,
    .admin-approval-detail__body {
        grid-template-columns: 1fr;
    }

    .admin-customer-detail .admin-customer-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-approval-detail__list div,
    .dashboard-request-item,
    .dashboard-notification-item {
        display: block;
    }

    .dashboard-request-item mark {
        display: inline-block;
        margin-top: 10px;
    }

    .dashboard-notification-action {
        margin-top: 10px;
    }

    .dashboard-notification-item time {
        display: block;
        margin-top: 8px;
    }
}

@media (max-width: 560px) {
    .admin-customer-detail .admin-customer-profile-grid,
    .admin-customer-status-form,
    .admin-customer-adjustment-form,
    .admin-customer-tac-row {
        grid-template-columns: 1fr;
    }

    .admin-customer-tac-meta {
        grid-column: auto;
    }
}

.dashboard-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    color: #4c5f7a;
    font-size: 13px;
}

.dashboard-pagination {
    display: inline-flex;
}

.dashboard-pagination button {
    min-width: 48px;
    min-height: 36px;
    border: 1px solid #d5deec;
    background: #fff;
    color: #1f63e0;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.dashboard-pagination button:first-child {
    border-radius: 4px 0 0 4px;
}

.dashboard-pagination button:last-child {
    margin-left: -1px;
    border-radius: 0 4px 4px 0;
}

.dashboard-pagination button:disabled {
    color: #b8c4d5;
    background: #f8fafd;
    cursor: not-allowed;
}

.dashboard-cross-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 12px 14px;
    border: 1px solid #d5deec;
    background: #fff;
}

.dashboard-cross-hero h1 {
    margin: 0 0 8px;
    color: #31425d;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
}

.dashboard-cross-hero p {
    margin: 0;
    max-width: 780px;
    color: #405572;
    font-size: 14px;
    line-height: 1.65;
}

.dashboard-cross-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-cross-hero__actions .btn {
    min-height: 36px;
    gap: 8px;
    border-radius: 3px;
    font-size: 13px;
    white-space: nowrap;
}

.dashboard-cross-hero__actions .btn i,
.dashboard-cross-settings i {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.dashboard-cross-settings {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
    color: #2f4059;
    cursor: pointer;
}

.dashboard-cross-panel {
    margin-top: 28px;
    border: 1px solid #d5deec;
    background: #fff;
}

.dashboard-cross-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 64px;
    padding: 0 24px;
    background: #06477f;
    border-bottom: 12px solid #fff;
}

.dashboard-cross-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 34px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.dashboard-cross-tab i {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    stroke-width: 2;
}

.dashboard-cross-tab--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 24px;
    bottom: 0;
    height: 3px;
    background: #0d7cff;
}

.dashboard-cross-form {
    display: grid;
    gap: 20px;
    padding: 28px 24px 24px;
}

.dashboard-cross-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.dashboard-cross-control {
    position: relative;
    display: block;
}

.dashboard-cross-control input,
.dashboard-cross-control select,
.dashboard-cross-control textarea,
.dashboard-cross-amount {
    width: 100%;
    min-height: 38px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
    color: #31425d;
    font: inherit;
    font-size: 13px;
}

.dashboard-cross-control select {
    cursor: pointer;
}

.dashboard-cross-control input,
.dashboard-cross-control select,
.dashboard-cross-control textarea {
    padding: 0 16px;
}

.dashboard-cross-control textarea {
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}

.dashboard-cross-control i {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    color: #7d8fad;
    pointer-events: none;
}

.dashboard-cross-control select + i,
.dashboard-cross-control input + i {
    display: none;
}

.dashboard-cross-amount {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 74px;
    padding: 0 20px;
}

.dashboard-cross-amount input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #31425d;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
}

.dashboard-cross-amount small {
    color: #74859f;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-cross-fee {
    justify-self: end;
    margin: -10px 0 10px;
    color: #6d7f9a;
    font-size: 12px;
}

.dashboard-cross-submit {
    min-height: 36px;
    border-radius: 4px;
    font-size: 14px;
}

.dashboard-recipient-form {
    display: grid;
    gap: 20px;
    padding: 28px 24px 18px;
}

.dashboard-recipient-form h2 {
    margin: 0;
    color: #405572;
    font-size: 14px;
    font-weight: 800;
}

.dashboard-form-error,
.dashboard-form-success {
    margin: 0;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.45;
}

.dashboard-form-error {
    border: 1px solid rgba(239, 63, 63, .25);
    background: rgba(239, 63, 63, .08);
    color: #d53333;
}

.dashboard-form-success {
    border: 1px solid rgba(18, 214, 164, .25);
    background: rgba(18, 214, 164, .1);
    color: #0b8c68;
    text-align: center;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fff4d9;
    color: #936500;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-status--complete {
    background: rgba(18, 214, 164, .12);
    color: #0b8c68;
}

.dashboard-recipient-grid {
    display: grid;
    gap: 28px;
}

.dashboard-recipient-grid--thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-recipient-grid--halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-recipient-help {
    margin: -14px 0 6px;
    color: #405572;
    font-size: 12px;
    line-height: 1.5;
}

.dashboard-cross-history {
    padding: 38px 24px 26px;
}

.dashboard-cross-history .dashboard-table-toolbar {
    padding: 0 0 16px;
    border-bottom: 0;
}

.dashboard-history-table {
    min-width: 760px;
}

.dashboard-cross-control--legend {
    display: grid;
    gap: 0;
}

.dashboard-cross-control--legend > span:not(.sr-only) {
    width: fit-content;
    margin: 0 0 -7px 14px;
    padding: 0 6px;
    background: #fff;
    color: #405572;
    font-size: 12px;
    line-height: 1;
    z-index: 1;
}

.dashboard-transfer-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 0;
    padding: 16px 16px 16px 14px;
    border: 1px solid #d5deec;
    border-top: 0;
    background: #fff;
}

.dashboard-transfer-banner h1 {
    margin: 0;
    color: #20d6a2;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;
    font-weight: 400;
    text-transform: uppercase;
}

.dashboard-transfer-banner .btn {
    min-height: 44px;
    gap: 8px;
    padding-inline: 20px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
}

.dashboard-transfer-banner .btn i {
    width: 17px;
    height: 17px;
}

.dashboard-transfer-card {
    width: min(560px, 100%);
    margin: 60px auto 0;
}

.dashboard-transfer-card h2 {
    margin: 0 0 28px;
    color: #31425d;
    font-size: clamp(32px, 3.4vw, 42px);
    line-height: 1.06;
    font-weight: 400;
    text-align: center;
}

.dashboard-transfer-form {
    display: grid;
    gap: 22px;
}

.dashboard-transfer-step {
    display: grid;
    gap: 22px;
}

.dashboard-transfer-step[hidden] {
    display: none;
}

.dashboard-field {
    display: grid;
    gap: 11px;
    color: #2f4059;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-account-select {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 14px 18px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
    color: #31425d;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dashboard-account-select > i:first-child {
    width: 28px;
    height: 28px;
    color: #ff8400;
}

.dashboard-account-select > i:last-child {
    width: 18px;
    height: 18px;
    color: #a1aec0;
}

.dashboard-account-select span {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.dashboard-account-select strong {
    color: #31425d;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.dashboard-account-select small {
    color: #7284a0;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
}

.dashboard-amount-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 76px;
    padding: 0 18px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-amount-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #31425d;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
}

.dashboard-amount-input input::placeholder {
    color: #b7c5dc;
}

.dashboard-amount-input small {
    color: #74859f;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-transfer-meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: -10px;
    color: #6d7f9a;
    font-size: 12px;
    line-height: 1.4;
}

.dashboard-transfer-submit {
    min-height: 46px;
    margin-top: 14px;
    border-radius: 4px;
    font-size: 15px;
}

.dashboard-transfer-step--details {
    gap: 24px;
}

.dashboard-transfer-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-bank-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    align-items: center;
    min-height: 54px;
    padding: 0 12px 0 20px;
    border: 1px solid #d5deec;
    border-radius: 5px;
    background: #fff;
}

.dashboard-bank-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #31425d;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
}

.dashboard-bank-input input::placeholder {
    color: #31425d;
    opacity: 1;
}

.dashboard-bank-input i {
    width: 16px;
    height: 16px;
    color: #7188a8;
}

.dashboard-transfer-edit {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: #e8edf6;
    color: #1d2e45;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.dashboard-transfer-edit i {
    width: 15px;
    height: 15px;
}

.dashboard-review-modal[hidden] {
    display: none;
}

body.has-dashboard-modal {
    overflow: hidden;
}

.dashboard-review-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: start center;
    padding: 22px 18px;
}

.dashboard-review-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(32, 48, 69, .46);
}

.dashboard-review-dialog {
    position: relative;
    z-index: 1;
    width: min(600px, 100%);
    min-height: min(768px, calc(100vh - 44px));
    padding: 56px 60px 42px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(13, 31, 56, .24);
}

.dashboard-review-dialog__close {
    position: absolute;
    top: 22px;
    right: 22px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #9aa8ba;
    cursor: pointer;
}

.dashboard-review-dialog__close i {
    width: 20px;
    height: 20px;
}

.dashboard-review-dialog h2 {
    margin: 0 0 24px;
    color: #31425d;
    font-size: 21px;
    line-height: 1.2;
    text-align: center;
}

.dashboard-review-dialog__lead {
    margin: 0 0 28px;
    color: #006dff;
    font-size: 16px;
    text-align: center;
}

.dashboard-review-list {
    border: 1px solid #d5deec;
    border-radius: 4px;
    overflow: hidden;
}

.dashboard-review-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 56px;
    padding: 14px 16px;
    border-bottom: 1px solid #dfe6f1;
}

.dashboard-review-list div:last-child {
    border-bottom: 0;
}

.dashboard-review-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #405572;
    font-size: 14px;
}

.dashboard-review-list span i {
    width: 14px;
    height: 14px;
    color: #617797;
}

.dashboard-review-list strong {
    color: #3f5473;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.dashboard-review-source {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.dashboard-review-source > span {
    color: #2f4059;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-review-account {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 12px 18px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
    color: #31425d;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dashboard-review-account > i:first-child {
    width: 28px;
    height: 28px;
    color: #ff8400;
}

.dashboard-review-account > i:last-child {
    width: 18px;
    height: 18px;
    color: #a1aec0;
}

.dashboard-review-account span {
    display: grid;
    gap: 5px;
}

.dashboard-review-account strong {
    color: #31425d;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-review-account small,
.dashboard-review-fee {
    color: #006dff;
    font-size: 12px;
}

.dashboard-review-fee {
    margin: 3px 0 38px;
}

.dashboard-review-submit {
    width: 100%;
    min-height: 46px;
    border-radius: 4px;
    font-size: 15px;
}

.dashboard-review-cancel {
    display: block;
    width: fit-content;
    margin: 18px auto 0;
    border: 0;
    background: transparent;
    color: #ef3f3f;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.dashboard-processing-modal[hidden],
.dashboard-auth-panel[hidden] {
    display: none;
}

.dashboard-processing-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 18px;
}

.dashboard-processing-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(32, 48, 69, .46);
}

.dashboard-processing-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    width: min(380px, 100%);
    padding: 34px 30px 30px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(13, 31, 56, .24);
    text-align: center;
}

.dashboard-processing-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #dbe6f7;
    border-top-color: #00529b;
    border-radius: 999px;
    animation: dashboardSpin .85s linear infinite;
}

.dashboard-processing-dialog h2 {
    margin: 18px 0 8px;
    color: #31425d;
    font-size: 20px;
}

.dashboard-processing-dialog p {
    margin: 0;
    color: #6b7d96;
    font-size: 13px;
    line-height: 1.5;
}

@keyframes dashboardSpin {
    to {
        transform: rotate(360deg);
    }
}

.dashboard-auth-panel {
    width: min(560px, 100%);
    margin: 34px auto 0;
    text-align: center;
}

.dashboard-auth-lock {
    position: relative;
    width: 72px;
    height: 82px;
    margin: 0 auto 28px;
}

.dashboard-auth-lock::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    width: 36px;
    height: 42px;
    border: 7px solid #ef5147;
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
}

.dashboard-auth-lock::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 48px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 50%, #fff 0 8px, transparent 9px),
        #ef5147;
}

.dashboard-auth-panel h2 {
    margin: 0 0 26px;
    color: #31425d;
    font-size: clamp(34px, 3.4vw, 42px);
    line-height: 1.1;
    font-weight: 400;
}

.dashboard-auth-warning {
    margin: 0 auto 30px;
    max-width: 520px;
    color: #ff332d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
    text-align: left;
}

.dashboard-auth-form {
    display: grid;
    gap: 26px;
    text-align: left;
}

.dashboard-auth-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 74px;
    padding: 0 20px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-auth-input input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #31425d;
    font: inherit;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-auth-input input::placeholder {
    color: #b7c5dc;
    opacity: 1;
}

.dashboard-auth-input small {
    color: #74859f;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-auth-note {
    margin: 2px 0 -18px;
    padding: 14px 14px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    color: #6b7d96;
    font-size: 13px;
    line-height: 1.7;
}

.dashboard-auth-submit {
    min-height: 44px;
    border-radius: 4px;
    font-size: 15px;
}

.dashboard-page--virtual-cards {
    display: grid;
    align-content: start;
    justify-items: center;
    text-align: center;
}

.dashboard-virtual-head {
    margin-top: 0;
    margin-bottom: 42px;
}

.dashboard-virtual-head h1 {
    margin: 0 0 16px;
    color: #31425d;
    font-size: clamp(36px, 3.4vw, 44px);
    line-height: 1.1;
    font-weight: 400;
}

.dashboard-virtual-head p {
    margin: 0;
    color: #405572;
    font-size: 14px;
}

.dashboard-virtual-card-panel {
    display: grid;
    justify-items: center;
    width: min(720px, 100%);
    min-height: 420px;
    padding: 52px 54px 46px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-virtual-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin-bottom: 34px;
    border: 2px solid #d9e1f0;
    border-radius: 999px;
    color: #0877ff;
}

.dashboard-virtual-icon i {
    width: 34px;
    height: 34px;
}

.dashboard-virtual-card-panel p {
    margin: 0;
    max-width: 610px;
    color: #405572;
    font-size: 18px;
    line-height: 1.55;
}

.dashboard-virtual-request {
    min-height: 44px;
    margin-top: 34px;
    gap: 4px;
    border-radius: 4px;
    padding-inline: 26px;
    font-size: 15px;
}

.dashboard-virtual-request i {
    width: 18px;
    height: 18px;
}

.dashboard-virtual-support {
    margin: 28px 0 0;
    color: #405572;
    font-size: 13px;
}

.dashboard-virtual-support a {
    color: #003f7f;
    font-weight: 800;
}

.dashboard-virtual-application[hidden] {
    display: none;
}

.dashboard-virtual-application {
    width: min(720px, 100%);
    text-align: left;
}

.dashboard-virtual-application__head {
    margin-bottom: 42px;
    text-align: center;
}

.dashboard-virtual-application__head h1 {
    margin: 0 0 18px;
    color: #31425d;
    font-size: clamp(36px, 3.4vw, 44px);
    line-height: 1.1;
    font-weight: 400;
}

.dashboard-virtual-application__head p {
    margin: 0;
    color: #405572;
    font-size: 14px;
    line-height: 1.6;
}

.dashboard-virtual-form {
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-virtual-form__section + .dashboard-virtual-form__section,
.dashboard-virtual-form__footer {
    border-top: 1px solid #dfe6f1;
}

.dashboard-virtual-section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 36px;
}

.dashboard-virtual-section-title > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid #d9e1f0;
    border-radius: 999px;
    color: #31425d;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-virtual-section-title h2 {
    margin: 0;
    color: #31425d;
    font-size: 20px;
}

.dashboard-virtual-form__body {
    display: grid;
    gap: 24px;
    padding: 28px 36px 30px;
}

.dashboard-virtual-help {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #7085a4;
    font-size: 13px;
    line-height: 1.6;
}

.dashboard-virtual-help i {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin-top: 3px;
}

.dashboard-virtual-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-virtual-field {
    display: grid;
    gap: 10px;
    color: #31425d;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-virtual-field input,
.dashboard-virtual-field select {
    min-height: 46px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
    color: #31425d;
    font: inherit;
    padding: 0 16px;
}

.dashboard-virtual-field sup {
    color: #ef3f3f;
}

.dashboard-card-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-card-option {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    cursor: pointer;
}

.dashboard-card-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dashboard-card-option--active {
    border-color: #0074ff;
    box-shadow: inset 0 0 0 1px #0074ff;
}

.dashboard-card-brand {
    display: grid;
    place-items: center;
    min-height: 22px;
    border-radius: 2px;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.dashboard-card-brand--visa,
.dashboard-card-brand--discover {
    background: #1477ff;
}

.dashboard-card-brand--mastercard {
    background: #ef5147;
}

.dashboard-card-option strong {
    color: #405572;
    font-size: 12px;
}

.dashboard-card-option i {
    width: 20px;
    height: 20px;
    color: #0877ff;
}

.dashboard-virtual-form h3 {
    margin: -4px 0 0;
    color: #31425d;
    font-size: 16px;
}

.dashboard-virtual-benefits {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #405572;
    font-size: 13px;
    line-height: 1.55;
}

.dashboard-virtual-benefits li {
    display: flex;
    gap: 8px;
}

.dashboard-virtual-benefits i {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    margin-top: 3px;
    color: #0877ff;
}

.dashboard-virtual-form__footer {
    display: grid;
    gap: 18px;
    padding: 36px;
}

.dashboard-virtual-check {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #405572;
    font-size: 13px;
}

.dashboard-virtual-check input {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    accent-color: #00529b;
}

.dashboard-virtual-check a {
    color: #003f7f;
}

.dashboard-virtual-apply {
    width: fit-content;
    min-width: 92px;
    min-height: 44px;
    border-radius: 4px;
    font-size: 16px;
}

.dashboard-virtual-form__success {
    margin: 2px 0 0;
    color: #008f72;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-page--kyc {
    display: grid;
    align-content: start;
    justify-items: center;
    text-align: center;
}

.dashboard-kyc-head {
    margin-bottom: 42px;
}

.dashboard-kyc-head h1 {
    margin: 0 0 18px;
    color: #31425d;
    font-size: clamp(36px, 3.4vw, 44px);
    line-height: 1.1;
    font-weight: 400;
}

.dashboard-kyc-head p {
    max-width: 640px;
    margin: 0 auto;
    color: #405572;
    font-size: 14px;
    line-height: 1.6;
}

.dashboard-kyc-panel {
    display: grid;
    justify-items: center;
    width: min(720px, 100%);
    min-height: 380px;
    padding: 52px 54px 46px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-kyc-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin-bottom: 34px;
    border: 2px solid #d9e1f0;
    border-radius: 999px;
    color: #7f92ad;
}

.dashboard-kyc-icon i {
    width: 34px;
    height: 34px;
}

.dashboard-kyc-panel p {
    margin: 0;
    max-width: 610px;
    color: #405572;
    font-size: 18px;
    line-height: 1.55;
}

.dashboard-kyc-request {
    min-height: 44px;
    margin-top: 34px;
    border-radius: 4px;
    padding-inline: 26px;
    font-size: 15px;
}

.dashboard-kyc-support {
    margin: 28px 0 0;
    color: #405572;
    font-size: 13px;
}

.dashboard-kyc-support a {
    color: #003f7f;
    font-weight: 800;
}

.dashboard-page--account-setting {
    padding: 28px 22px 0;
}

.dashboard-page--account {
    padding: 28px 22px 0;
}

.dashboard-account-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.dashboard-account-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.dashboard-account-avatar {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #eff4fb;
    color: #1e6cff;
    font-size: 30px;
    font-weight: 800;
}

.dashboard-account-identity p {
    margin: 0 0 8px;
    color: #7b8ca6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-account-identity h1 {
    margin: 0 0 8px;
    color: #31425d;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.1;
    font-weight: 400;
}

.dashboard-account-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 3px;
    background: #28d79a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-account-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.dashboard-account-actions--stack {
    display: grid;
    justify-content: stretch;
}

.dashboard-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-account-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-account-card--wide {
    grid-column: 1 / -1;
}

.dashboard-account-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-account-card__head h2 {
    margin: 0;
    color: #31425d;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.dashboard-account-card__head i {
    width: 20px;
    height: 20px;
    color: #1e6cff;
}

.dashboard-account-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.dashboard-account-list div {
    display: grid;
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    gap: 16px;
}

.dashboard-account-list dt {
    color: #8091aa;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-account-list dd {
    margin: 0;
    color: #40516b;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-account-cards {
    display: grid;
    gap: 12px;
}

.dashboard-account-card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid #e2e8f3;
    border-radius: 4px;
    background: #f8fbff;
}

.dashboard-account-card-item strong {
    color: #31425d;
    font-size: 14px;
    line-height: 1.2;
}

.dashboard-account-card-item span {
    color: #7387a1;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.dashboard-account-security {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-account-security div {
    padding: 16px 18px;
    border: 1px solid #e2e8f3;
    border-radius: 4px;
    background: #f8fbff;
}

.dashboard-account-security strong {
    display: block;
    margin-bottom: 8px;
    color: #31425d;
    font-size: 14px;
}

.dashboard-account-security span,
.dashboard-account-support-copy {
    color: #7184a0;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.dashboard-settings-panel {
    display: grid;
    gap: 28px;
}

.dashboard-settings-card,
.dashboard-settings-activity {
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.dashboard-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 24px 22px;
}

.dashboard-settings-row + .dashboard-settings-row {
    border-top: 1px solid #e3e9f4;
}

.dashboard-settings-row h1,
.dashboard-settings-row h2 {
    margin: 0 0 10px;
    color: #31425d;
    line-height: 1.2;
    font-size: 18px;
    font-weight: 700;
}

.dashboard-settings-row h1 {
    font-size: 18px;
}

.dashboard-settings-row p {
    max-width: 850px;
    margin: 0;
    color: #4f6580;
    font-size: 14px;
    line-height: 1.6;
}

.dashboard-settings-row--split > div {
    flex: 1;
}

.dashboard-settings-row--status {
    align-items: flex-start;
}

.dashboard-settings-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #31425d;
    font-size: 16px;
    font-weight: 700;
}

.dashboard-settings-badge span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 3px;
    background: #2ed89b;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-settings-toggle,
.dashboard-settings-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.dashboard-settings-toggle {
    gap: 18px;
    color: #0d7cff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-settings-toggle input,
.dashboard-settings-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.dashboard-settings-toggle__track,
.dashboard-settings-switch__track {
    position: relative;
    display: inline-flex;
    width: 50px;
    height: 26px;
    border-radius: 999px;
    background: #d6deeb;
    transition: background-color .18s ease;
}

.dashboard-settings-toggle__track::after,
.dashboard-settings-switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(46, 60, 90, .16);
    transition: transform .18s ease;
}

.dashboard-settings-toggle input:checked + .dashboard-settings-toggle__track,
.dashboard-settings-switch input:checked + .dashboard-settings-switch__track {
    background: #0d7cff;
}

.dashboard-settings-toggle input:checked + .dashboard-settings-toggle__track::after,
.dashboard-settings-switch input:checked + .dashboard-settings-switch__track::after {
    transform: translateX(24px);
}

.dashboard-settings-switch {
    width: 50px;
    height: 26px;
}

.dashboard-settings-switch__track {
    width: 100%;
    height: 100%;
}

.dashboard-settings-activity__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 14px;
}

.dashboard-settings-activity__head h2 {
    margin: 0 0 10px;
    color: #31425d;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.dashboard-settings-activity__head p {
    margin: 0;
    color: #4f6580;
    font-size: 14px;
    line-height: 1.5;
}

.dashboard-settings-activity__head a {
    color: #0d7cff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-settings-table-wrap {
    border-top: 0;
}

.dashboard-settings-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-settings-table thead th {
    padding: 12px 22px;
    background: #eff3fb;
    color: #8e9cb4;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: left;
}

.dashboard-settings-table tbody td {
    padding: 14px 22px;
    border-top: 1px solid #e4eaf4;
    color: #5d6f89;
    font-size: 14px;
    line-height: 1.55;
    vertical-align: top;
}

.dashboard-page--loan-financing {
    padding: 32px 22px 0;
}

.dashboard-loan-tabs {
    display: inline-flex;
    gap: 34px;
    margin: 0 0 26px;
    padding-left: 20px;
}

.dashboard-loan-tab {
    position: relative;
    color: #1f63e0;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-loan-tab--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 3px;
    background: #1f63e0;
}

.dashboard-loan-card {
    padding-top: 6px;
}

.dashboard-loan-card > h1 {
    margin: 0 0 24px;
    color: #3e506a;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.1;
    font-weight: 400;
    text-align: center;
}

.dashboard-loan-form {
    display: grid;
    gap: 24px;
}

.dashboard-loan-account > i:first-child {
    color: #ff8a1e;
}

.dashboard-loan-account .dashboard-account-select small {
    color: #7e91b3;
}

.dashboard-loan-amount {
    min-height: 74px;
}

.dashboard-loan-amount input {
    font-size: 18px;
    font-weight: 700;
}

.dashboard-loan-range {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: -10px;
    color: #8293af;
    font-size: 12px;
    font-weight: 500;
}

.dashboard-loan-purpose {
    width: 100%;
    min-height: 124px;
    padding: 14px 16px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    color: #3f506b;
    font: inherit;
    font-size: 14px;
    resize: vertical;
}

.dashboard-loan-purpose::placeholder {
    color: #c0cce0;
}

.dashboard-loan-note {
    margin: 0;
    padding-top: 2px;
    color: #43576f;
    font-size: 15px;
    line-height: 1.6;
}

.dashboard-loan-terms {
    display: grid;
    gap: 10px;
}

.dashboard-loan-terms h2 {
    margin: 0 0 2px;
    color: #43576f;
    font-size: 16px;
    line-height: 1.3;
}

.dashboard-loan-terms label {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    color: #43576f;
    font-size: 13px;
    line-height: 1.55;
}

.dashboard-loan-terms input {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    accent-color: #1f63e0;
}

.dashboard-loan-submit {
    min-height: 46px;
    border-radius: 4px;
    font-size: 15px;
}

.dashboard-loan-history {
    display: grid;
    gap: 24px;
}

.dashboard-loan-history__head h1 {
    margin: 0 0 10px;
    color: #3e506a;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
    font-weight: 400;
}

.dashboard-loan-history__head p {
    margin: 0;
    color: #52667f;
    font-size: 14px;
    line-height: 1.55;
}

.dashboard-loan-empty {
    display: grid;
    align-items: start;
    min-height: 44px;
    padding: 0;
    border: 1px solid #d5deec;
    border-radius: 4px;
    color: #3e506a;
}

.dashboard-loan-empty strong {
    display: block;
    padding: 0 16px;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.05;
    font-weight: 800;
}

.dashboard-page--kyc-verify {
    display: grid;
    justify-items: center;
    padding-top: 24px;
}

.dashboard-kyc-verify-head {
    margin-bottom: 38px;
    text-align: center;
}

.dashboard-kyc-verify-head h1 {
    margin: 0 0 18px;
    color: #31425d;
    font-size: clamp(36px, 3.6vw, 44px);
    line-height: 1.1;
    font-weight: 400;
}

.dashboard-kyc-verify-head p {
    max-width: 640px;
    margin: 0 auto;
    color: #7485a0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
}

.dashboard-kyc-form {
    width: min(650px, 100%);
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-kyc-step + .dashboard-kyc-step {
    border-top: 1px solid #e3e9f4;
}

.dashboard-kyc-step__head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
}

.dashboard-kyc-step__head > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid #d9e1f0;
    border-radius: 999px;
    color: #8090a8;
    font-size: 14px;
    font-weight: 700;
}

.dashboard-kyc-step__head h2 {
    margin: 0 0 6px;
    color: #40516b;
    font-size: 20px;
    line-height: 1.1;
}

.dashboard-kyc-step__head p {
    margin: 0;
    color: #7588a5;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-kyc-step__body {
    display: grid;
    gap: 22px;
    padding: 24px 32px 28px;
    border-top: 1px solid #e3e9f4;
}

.dashboard-kyc-info {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    color: #93a4bd;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.dashboard-kyc-info i {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    color: #8ea0bb;
}

.dashboard-kyc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.dashboard-kyc-field {
    display: grid;
    gap: 10px;
    color: #40516b;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-kyc-field b {
    color: #ef5147;
}

.dashboard-kyc-field input {
    width: 100%;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
    color: #586a84;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-kyc-field input[type="email"] {
    background: #f3f6fb;
}

.dashboard-kyc-docs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
}

.dashboard-kyc-doc {
    position: relative;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    color: #61728d;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.dashboard-kyc-doc input {
    position: absolute;
    opacity: 0;
}

.dashboard-kyc-doc > i {
    width: 26px;
    height: 26px;
    color: #7b91ff;
}

.dashboard-kyc-doc b {
    display: none;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #0d7cff;
    color: #fff;
}

.dashboard-kyc-doc b i {
    width: 13px;
    height: 13px;
}

.dashboard-kyc-doc--active {
    border-color: #0d7cff;
    box-shadow: 0 0 0 1px #0d7cff;
}

/* Customer detail visual bands: stronger color separation, no shadows. */
.admin-customer-detail .dashboard-panel,
.admin-customer-detail .admin-gen-history-form,
.admin-customer-detail .admin-gen-history-clear-form,
.admin-customer-detail .btn,
.admin-customer-detail .dashboard-support-submit,
.admin-customer-detail .admin-approval-btn,
.admin-customer-detail .admin-gen-history-trigger,
.admin-customer-detail .admin-gen-history-clear-btn {
    box-shadow: none !important;
}

.admin-customer-detail .admin-customer-section--status > .dashboard-panel {
    background: #dceeff !important;
}

.admin-customer-detail .admin-customer-section--tac > .dashboard-panel {
    background: #ddf7e7 !important;
}

.admin-customer-detail .admin-customer-section--notifications > .dashboard-panel {
    background: #d8f7ef !important;
}

.admin-customer-detail .admin-customer-section--ledger {
    background: #ffe3a8 !important;
}

.admin-customer-detail .admin-customer-section--generated {
    background: #ffd7b8 !important;
}

.admin-customer-detail .admin-customer-section--cards > .dashboard-panel {
    background: #e4e8ff !important;
}

.admin-customer-detail .admin-customer-section--requests > .dashboard-panel {
    background: #dff2ff !important;
}

.admin-customer-detail .admin-customer-section--ledger .dashboard-summary-table th {
    background: #ffd769 !important;
}

.admin-customer-detail .admin-customer-section--ledger .dashboard-table-wrap,
.admin-customer-detail .admin-customer-section--ledger .dashboard-summary-table,
.admin-customer-detail .admin-customer-section--generated .dashboard-table-wrap,
.admin-customer-detail .admin-customer-section--generated .dashboard-summary-table {
    background: transparent !important;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-form,
.admin-customer-detail .admin-customer-section--generated .admin-gen-history-clear-form {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.dashboard-kyc-doc--active b {
    display: grid;
}

.dashboard-kyc-checklist {
    display: grid;
    gap: 10px;
}

.dashboard-kyc-checklist h3,
.dashboard-kyc-upload-title {
    margin: 0;
    color: #40516b;
    font-size: 16px;
    line-height: 1.3;
}

.dashboard-kyc-checklist p {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    color: #7588a5;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-kyc-checklist i {
    width: 12px;
    height: 12px;
    margin-top: 2px;
    color: #0d7cff;
}

.dashboard-kyc-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-kyc-upload {
    display: grid;
    gap: 10px;
    color: #40516b;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-kyc-preview {
    display: block;
    min-height: 118px;
    border: 1px solid #9da8b8;
    background: #fff;
}

.dashboard-kyc-preview i {
    width: 14px;
    height: 14px;
    margin: 6px;
    color: #9aa8ba;
}

.dashboard-kyc-confirmations {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.dashboard-kyc-confirmations label {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: #61728d;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-kyc-confirmations input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #0d7cff;
}

.dashboard-kyc-submit {
    justify-self: start;
    min-width: 92px;
    min-height: 42px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.dashboard-transfer-note {
    margin: 8px 0 0;
    color: #32425b;
    font-size: 12px;
    font-style: italic;
    text-align: center;
}

.dashboard-page--support {
    padding: 28px 22px 0;
}

.dashboard-support-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 62px;
    padding: 12px;
    border: 1px solid #d5deec;
    background: #fff;
}

.dashboard-support-hero h1 {
    margin: 0;
    color: #31425d;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 400;
}

.dashboard-support-hero p {
    margin: 10px 0 0;
    color: #62738e;
    font-size: 13px;
    line-height: 1.55;
}

.dashboard-support-hero .btn {
    min-height: 36px;
    gap: 8px;
    border-radius: 3px;
    font-size: 13px;
    white-space: nowrap;
}

.dashboard-support-hero .btn i {
    width: 16px;
    height: 16px;
}

.dashboard-support-card {
    margin-top: 28px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-support-card__bar {
    padding: 16px 24px;
    border-radius: 4px 4px 0 0;
    background: #06477f;
    color: #fff;
}

.dashboard-support-card__bar h2 {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.dashboard-support-form {
    display: grid;
    gap: 22px;
    padding: 22px 24px 20px;
}

.dashboard-support-form .dashboard-cross-control--legend > span:not(.sr-only) {
    font-size: 14px;
    font-weight: 500;
}

/* Admin customer detail layout overrides */
.admin-customer-detail .admin-customer-section--ledger .dashboard-table-wrap,
.admin-customer-detail .admin-customer-section--ledger .dashboard-summary-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.admin-customer-detail .admin-customer-section--ledger .dashboard-summary-table {
    display: table !important;
    table-layout: auto !important;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-shell {
    gap: .75rem;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-form,
.admin-customer-detail .admin-customer-section--generated .admin-gen-history-clear-form {
    display: grid;
    gap: .75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-form__head,
.admin-customer-detail .admin-customer-section--generated .admin-gen-history-clear-head {
    padding-bottom: 0;
    border-bottom: 0;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-grid {
    gap: .65rem;
}

.admin-customer-detail .admin-customer-section--generated .admin-gen-history-actions {
    gap: .5rem;
}

.dashboard-support-submit {
    justify-self: start;
    min-height: 36px;
    padding-inline: 18px;
    border-radius: 4px;
    font-size: 14px;
}

.dashboard-support-history {
    padding: 16px 24px 22px;
}

.dashboard-support-table {
    min-width: 940px;
}

.dashboard-support-table__empty td {
    height: 40px;
    padding: 9px 16px;
    color: #405572;
    text-align: center;
}

.dashboard-page--link-card {
    padding: 28px 22px 0;
}

.dashboard-link-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 62px;
    padding: 12px;
    border: 1px solid #d5deec;
    background: #fff;
}

.dashboard-link-hero h1 {
    margin: 0;
    color: #31425d;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 400;
}

.dashboard-link-hero p {
    margin: 10px 0 0;
    color: #62738e;
    font-size: 13px;
    line-height: 1.55;
}

.dashboard-link-hero .btn {
    min-height: 36px;
    gap: 8px;
    border-radius: 3px;
    font-size: 13px;
    white-space: nowrap;
}

.dashboard-link-hero .btn i {
    width: 16px;
    height: 16px;
}

.dashboard-link-card {
    margin-top: 28px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-link-card__bar {
    padding: 16px 24px;
    border-radius: 4px 4px 0 0;
    background: #06477f;
    color: #fff;
}

.dashboard-link-card__bar h2 {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.dashboard-link-form {
    display: grid;
    gap: 22px;
    padding: 24px;
}

.dashboard-link-tips {
    display: grid;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #c8d3e4;
}

.dashboard-link-tips h2 {
    margin: 0;
    color: #31425d;
    font-size: 20px;
    line-height: 1.25;
}

.dashboard-link-tips p {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    color: #405572;
    font-size: 13px;
    line-height: 1.65;
}

.dashboard-link-tips i {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: #ff5148;
}

.dashboard-link-account {
    width: 100%;
}

.dashboard-link-submit {
    min-height: 46px;
    margin-top: 6px;
    border-radius: 4px;
    font-size: 15px;
}

.dashboard-page--pay-bills {
    padding: 28px 22px 0;
}

.dashboard-pay-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 62px;
    padding: 12px;
    border: 1px solid #d5deec;
    background: #fff;
}

.dashboard-pay-hero h1 {
    margin: 0;
    color: #31425d;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 400;
}

.dashboard-pay-hero .btn {
    min-height: 36px;
    gap: 8px;
    border-radius: 3px;
    font-size: 13px;
    white-space: nowrap;
}

.dashboard-pay-hero .btn i {
    width: 16px;
    height: 16px;
}

.dashboard-pay-panel {
    margin-top: 28px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-pay-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 64px;
    padding: 0 24px;
    border-bottom: 12px solid #fff;
    background: #06477f;
}

.dashboard-pay-tabs::after {
    content: "";
    align-self: flex-end;
    flex: 1 1 auto;
    height: 1px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, .78);
}

.dashboard-pay-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 34px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-pay-tab i {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.dashboard-pay-tab--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 24px;
    bottom: 0;
    height: 3px;
    background: #0d7cff;
}

.dashboard-pay-form {
    display: grid;
    gap: 20px;
    padding: 44px 24px 24px;
}

.dashboard-pay-form--payee {
    padding-top: 40px;
    gap: 18px;
}

.dashboard-pay-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.dashboard-pay-row--thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-pay-account > i:first-child {
    color: #ff6d18;
}

.dashboard-pay-date {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    align-items: center;
    min-height: 38px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-pay-date input {
    border: 0;
    min-height: 36px;
}

.dashboard-pay-date i {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    color: #7188a8;
}

.dashboard-pay-fee {
    justify-self: end;
    margin-top: -4px;
    color: #6d7f9a;
    font-size: 12px;
    font-weight: 500;
}

.dashboard-pay-submit {
    min-height: 38px;
    border-radius: 4px;
    font-size: 13px;
}

.dashboard-pay-submit--disabled {
    background: #6d94bd;
    border-color: #6d94bd;
}

.dashboard-pay-help {
    margin: -12px 0 8px;
    color: #314a70;
    font-size: 12px;
    line-height: 1.5;
}

.dashboard-pay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    min-height: 34px;
    color: #314a70;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.dashboard-pay-toggle input {
    position: absolute;
    opacity: 0;
}

.dashboard-pay-toggle span {
    position: relative;
    width: 32px;
    height: 18px;
    border-radius: 999px;
    background: #d8e0ee;
}

.dashboard-pay-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(39, 56, 84, .18);
    transition: transform .18s ease;
}

.dashboard-pay-toggle input:checked + span {
    background: #0d7cff;
}

.dashboard-pay-toggle input:checked + span::after {
    transform: translateX(14px);
}

.dashboard-pay-toggle strong {
    font-weight: 500;
}

.dashboard-pay-history {
    padding: 38px 24px 26px;
}

.dashboard-pay-history .dashboard-table-toolbar {
    padding: 0 0 16px;
    border-bottom: 0;
}

.dashboard-search--plain input {
    padding-left: 16px;
}

.dashboard-pay-history-table {
    min-width: 720px;
    border: 1px solid #dbe3f0;
    border-radius: 4px;
    overflow: hidden;
}

.dashboard-pay-table-empty td {
    height: 40px;
    padding: 9px 16px;
    color: #405572;
    text-align: center;
}

.dashboard-page--deposit {
    padding: 38px 22px 0;
}

.dashboard-deposit-card {
    border: 1px solid #d5deec;
    border-radius: 4px;
    background: #fff;
}

.dashboard-deposit-card__bar {
    padding: 16px 24px;
    border-radius: 4px 4px 0 0;
    background: #06477f;
    color: #fff;
}

.dashboard-deposit-card__bar h1 {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.dashboard-deposit-form {
    display: grid;
    gap: 26px;
    padding: 24px;
}

.dashboard-deposit-tips {
    display: grid;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid #c8d3e4;
}

.dashboard-deposit-tips h2 {
    margin: 0;
    color: #31425d;
    font-size: 20px;
    line-height: 1.25;
}

.dashboard-deposit-tips ul {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-deposit-tips li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    color: #405572;
    font-size: 13px;
    line-height: 1.65;
}

.dashboard-deposit-tips i {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: #ff5148;
}

.dashboard-deposit-alert {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 4px;
    background: #ef5147;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-deposit-help {
    justify-self: end;
    margin-top: -4px;
    color: #6d7f9a;
    font-size: 12px;
    font-weight: 500;
}

.dashboard-deposit-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.dashboard-deposit-upload {
    display: grid;
    gap: 12px;
    color: #2f4059;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-deposit-preview {
    display: grid;
    place-items: center;
    min-height: 132px;
    aspect-ratio: 640 / 174;
    background: #bcbcbc;
    color: #000;
    overflow: hidden;
}

.dashboard-deposit-preview strong {
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1;
    font-weight: 500;
}

.dashboard-deposit-file {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px;
    min-height: 38px;
    border: 1px solid #d5deec;
    border-radius: 4px;
    overflow: hidden;
    color: #31425d;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.dashboard-deposit-file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.dashboard-deposit-file span,
.dashboard-deposit-file strong {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0 16px;
}

.dashboard-deposit-file strong {
    justify-content: center;
    border-left: 1px solid #d5deec;
    background: #edf2f9;
    font-weight: 500;
}

.dashboard-deposit-submit {
    min-height: 46px;
    margin-top: 30px;
    border-radius: 4px;
    font-size: 15px;
}

.dashboard-deposit-note {
    margin: 0;
    color: #32425b;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

.dashboard-support {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin: 24px 22px 0;
    padding: 26px 28px;
    border: 1px solid #dfe5f0;
}

.dashboard-support__icon {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: #eef3ff;
    color: #7c95ff;
}

.dashboard-support__icon i {
    width: 44px;
    height: 44px;
}

.dashboard-support__copy h2 {
    margin: 0 0 10px;
    color: #3f4f64;
    font-size: 19px;
    font-weight: 700;
}

.dashboard-support__copy p {
    margin: 0;
    color: #6e8097;
    line-height: 1.6;
    font-size: 13px;
}

.btn--outline {
    border: 1px solid #2d71ff;
    background: #fff;
    color: #2d71ff;
}

.dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 22px 22px 0;
    padding: 20px 0 28px;
    border-top: 1px solid #e4eaf4;
    color: #7f8fa6;
    font-size: 12px;
}

.dashboard-footer__links {
    display: flex;
    gap: 26px;
}

.dashboard-footer__links a {
    color: #1f4f9a;
    text-decoration: none;
}

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

    .dashboard-sidebar {
        border-right: 0;
        border-bottom: 1px solid #e2e8f3;
    }

    .dashboard-grid,
    .dashboard-grid--lower {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .dashboard-topbar,
    .dashboard-hero,
    .dashboard-support,
    .dashboard-footer {
        margin-left: 14px;
        margin-right: 14px;
    }

    .dashboard-topbar,
    .dashboard-hero,
    .dashboard-support,
    .dashboard-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-page {
        padding: 24px 14px 0;
        min-height: auto;
    }

    .dashboard-page__head,
    .dashboard-table-toolbar,
    .dashboard-table-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-page__action,
    .dashboard-search,
    .dashboard-show-count,
    .dashboard-show-count select {
        width: 100%;
    }

    .dashboard-show-count {
        justify-content: space-between;
    }

    .dashboard-market-strip {
        gap: 14px;
        margin-inline: -2px;
    }

    .dashboard-cross-hero,
    .dashboard-cross-row {
        grid-template-columns: 1fr;
    }

    .dashboard-recipient-grid--thirds,
    .dashboard-recipient-grid--halves {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dashboard-cross-hero__actions {
        align-items: stretch;
    }

    .dashboard-cross-hero__actions .btn {
        flex: 1;
    }

    .dashboard-cross-tabs {
        overflow-x: auto;
        padding-inline: 16px;
    }

    .dashboard-cross-tab {
        flex: 0 0 auto;
    }

    .dashboard-cross-form {
        padding: 20px 16px;
    }

    .dashboard-cross-fee {
        justify-self: start;
    }

    .dashboard-transfer-banner {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .dashboard-transfer-banner h1 {
        font-size: 28px;
    }

    .dashboard-transfer-banner .btn {
        width: 100%;
    }

    .dashboard-transfer-card {
        margin-top: 34px;
    }

    .dashboard-transfer-card h2 {
        font-size: 30px;
        text-align: left;
    }

    .dashboard-account-select {
        grid-template-columns: 34px minmax(0, 1fr) 18px;
        padding-inline: 14px;
    }

    .dashboard-transfer-meta {
        flex-direction: column;
        gap: 4px;
    }

    .dashboard-transfer-field-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dashboard-review-modal {
        padding: 12px;
        align-items: start;
        overflow-y: auto;
    }

    .dashboard-review-dialog {
        min-height: auto;
        padding: 48px 22px 28px;
    }

    .dashboard-review-list div {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-review-list strong {
        text-align: left;
    }

    .dashboard-auth-panel {
        margin-top: 28px;
    }

    .dashboard-auth-panel h2 {
        font-size: 32px;
    }

    .dashboard-auth-warning {
        font-size: 12px;
        line-height: 1.65;
    }

    .dashboard-pay-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-pay-hero h1 {
        font-size: 22px;
    }

    .dashboard-pay-hero .btn {
        width: 100%;
    }

    .dashboard-link-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-link-hero h1 {
        font-size: 22px;
    }

    .dashboard-link-hero .btn {
        width: 100%;
    }

    .dashboard-support-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-support-hero h1 {
        font-size: 22px;
    }

    .dashboard-support-hero .btn {
        width: 100%;
    }

    .dashboard-page--support {
        padding-top: 24px;
    }

    .dashboard-support-form,
    .dashboard-support-history {
        padding: 20px 16px;
    }

    .dashboard-support-card {
        margin-top: 24px;
    }

    .dashboard-page--link-card {
        padding-top: 24px;
    }

    .dashboard-link-form {
        padding: 20px 16px;
    }

    .dashboard-link-card {
        margin-top: 24px;
    }

    .dashboard-link-tips h2 {
        font-size: 18px;
    }

    .dashboard-pay-tabs {
        overflow-x: auto;
        padding-inline: 16px;
    }

    .dashboard-pay-tabs::after {
        min-width: 24px;
    }

    .dashboard-pay-tab {
        flex: 0 0 auto;
    }

    .dashboard-pay-form,
    .dashboard-pay-form--payee,
    .dashboard-pay-history {
        padding: 24px 16px 20px;
    }

    .dashboard-pay-row,
    .dashboard-pay-row--thirds {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dashboard-pay-fee {
        justify-self: start;
    }

    .dashboard-kyc-verify-head {
        margin-bottom: 24px;
    }

    .dashboard-kyc-form {
        width: 100%;
    }

    .dashboard-kyc-step__head {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 22px 18px;
    }

    .dashboard-kyc-step__head > span {
        width: 38px;
        height: 38px;
    }

    .dashboard-kyc-step__body {
        padding: 20px 18px 24px;
    }

    .dashboard-kyc-grid,
    .dashboard-kyc-docs,
    .dashboard-kyc-upload-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dashboard-kyc-confirmations {
        margin-top: 14px;
    }

    .dashboard-page--account-setting {
        padding-top: 24px;
    }

    .dashboard-page--account {
        padding-top: 24px;
    }

    .dashboard-account-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-account-actions {
        width: 100%;
        justify-content: stretch;
    }

    .dashboard-account-actions .btn {
        width: 100%;
    }

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

    .dashboard-account-card--wide {
        grid-column: auto;
    }

    .dashboard-account-list div,
    .dashboard-account-security {
        grid-template-columns: 1fr;
    }

    .dashboard-account-card-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-account-card-item span {
        text-align: left;
    }

    .dashboard-settings-row,
    .dashboard-settings-activity__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-settings-row {
        padding: 20px 16px;
    }

    .dashboard-settings-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .dashboard-settings-table thead th,
    .dashboard-settings-table tbody td {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dashboard-page--loan-financing {
        padding-top: 24px;
    }

    .dashboard-loan-tabs {
        display: flex;
        gap: 24px;
        margin-bottom: 20px;
        padding-left: 0;
        overflow-x: auto;
    }

    .dashboard-loan-card > h1,
    .dashboard-loan-history__head h1 {
        text-align: left;
    }

    .dashboard-loan-range {
        flex-direction: column;
        gap: 4px;
        margin-top: -8px;
    }

    .dashboard-loan-note {
        font-size: 14px;
    }

    .dashboard-page--deposit {
        padding-top: 24px;
    }

    .dashboard-deposit-form {
        padding: 20px 16px;
    }

    .dashboard-deposit-upload-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-deposit-help {
        justify-self: start;
    }

    .dashboard-deposit-submit {
        margin-top: 12px;
    }

    .dashboard-overview {
        grid-template-columns: 1fr;
        padding: 22px;
        min-height: auto;
    }

    .dashboard-brand__link {
        flex-wrap: wrap;
    }

    .dashboard-brand__logo {
        width: 40px;
    }

    .dashboard-brand__name strong {
        font-size: 12px;
    }

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

    .dashboard-overview__content div:first-child {
        grid-row: auto;
    }

    .dashboard-mini-grid,
    .dashboard-actions--stacked {
        grid-template-columns: 1fr;
    }

    .dashboard-section-heading {
        align-items: flex-start;
    }

    .dashboard-section-heading h2 {
        font-size: 16px;
    }

    .dashboard-grid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dashboard-hero__buttons,
    .dashboard-footer__links {
        flex-wrap: wrap;
    }

    .dashboard-hero__btn {
        width: 100%;
    }

    .dashboard-transaction {
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
    }

    .dashboard-transaction__meta {
        grid-column: 2;
        justify-items: start;
        text-align: left;
    }

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

@media (max-width: 760px) {
    .dashboard-virtual-head,
    .dashboard-kyc-head {
        margin-bottom: 24px;
    }

    .dashboard-virtual-card-panel,
    .dashboard-kyc-panel {
        min-height: auto;
        padding: 34px 20px 30px;
    }

    .dashboard-virtual-card-panel p,
    .dashboard-kyc-panel p {
        font-size: 15px;
    }

    .dashboard-virtual-request,
    .dashboard-kyc-request {
        width: 100%;
        padding-inline: 14px;
    }

    .dashboard-virtual-application__head {
        margin-bottom: 24px;
    }

    .dashboard-virtual-section-title,
    .dashboard-virtual-form__body,
    .dashboard-virtual-form__footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .dashboard-virtual-form__grid,
    .dashboard-card-options {
        grid-template-columns: 1fr;
    }

    .dashboard-virtual-apply {
        width: 100%;
    }
}
.service-unavailable {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: #eef3f8;
}

.service-unavailable__panel {
    width: min(100%, 560px);
    padding: 40px;
    background: #ffffff;
    border-top: 5px solid #0c4a84;
    box-shadow: 0 18px 50px rgba(16, 42, 67, 0.14);
}

.service-unavailable__eyebrow {
    margin: 0 0 12px;
    color: #0c4a84;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.service-unavailable h1 {
    margin: 0 0 14px;
    color: #17212b;
    font-size: 2.5rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.service-unavailable p {
    color: #415466;
    font-size: 1rem;
    line-height: 1.65;
}

.service-unavailable .btn {
    margin-top: 14px;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: #eef3f8;
}

.auth-panel {
    width: min(100%, 440px);
    padding: 34px;
    border: 1px solid #d9e2ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 42, 67, .12);
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    color: #17212b;
    font-weight: 800;
    text-decoration: none;
}

.auth-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.auth-eyebrow {
    margin: 0 0 8px;
    color: #0c4a84;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-panel h1 {
    margin: 0 0 10px;
    color: #17212b;
    font-size: clamp(2rem, 6vw, 2.7rem);
    line-height: 1.05;
}

.auth-intro {
    margin: 0 0 22px;
    color: #4b5f72;
    line-height: 1.6;
}

.auth-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(209, 68, 68, .28);
    border-radius: 4px;
    background: rgba(209, 68, 68, .08);
    color: #8b2d2d;
    font-size: .92rem;
}

.auth-alert--success {
    border-color: rgba(0, 143, 114, .25);
    background: rgba(0, 143, 114, .08);
    color: #006f59;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    color: #31425d;
    font-weight: 700;
}

.auth-form input {
    min-height: 44px;
    border: 1px solid #cbd7e6;
    border-radius: 4px;
    padding: 10px 12px;
    font: inherit;
    color: #17212b;
}

.auth-form input:focus {
    outline: 2px solid rgba(12, 74, 132, .22);
    border-color: #0c4a84;
}

.auth-form .btn {
    justify-content: center;
    min-height: 46px;
    margin-top: 4px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    font-size: .92rem;
}

.auth-links a {
    color: #0c4a84;
    font-weight: 700;
}

.page--signup {
    background: #f7f9fc;
}

.signup-page {
    padding-bottom: 3rem;
}

.signup-hero {
    position: relative;
    overflow: hidden;
    min-height: 22rem;
    background:
        linear-gradient(90deg, rgba(8, 31, 54, 0.62), rgba(8, 31, 54, 0.22) 55%, rgba(8, 31, 54, 0.08)),
        url('/assets/images/current-accounts-hero.jpg') center center / cover no-repeat;
}

.signup-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.08), transparent 26%),
        radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.08), transparent 18%);
    pointer-events: none;
}

.signup-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 22rem;
    display: flex;
    align-items: center;
}

.signup-hero__card {
    width: min(26rem, 100%);
    margin-left: 1rem;
    margin-top: 1.75rem;
    padding: 1.75rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0.125rem;
    box-shadow: 0 18px 34px rgba(10, 44, 79, 0.18);
}

.signup-hero__card h1 {
    margin: 0 0 0.35rem;
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: 0;
}

.signup-hero__card p {
    margin: 0;
    color: #38495d;
    font-size: 1.1rem;
    line-height: 1.35;
}

.signup-flow {
    background: var(--white);
}

.signup-flow__shell {
    padding-top: 0;
    padding-bottom: 0.5rem;
}

.signup-divider {
    height: 1px;
    margin: 0 0 3rem;
    background: var(--blue);
    opacity: 0.9;
}

.signup-step-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.signup-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(68rem, 100%);
    margin: 0 auto;
}

.signup-tabs__tab {
    min-height: 3rem;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--blue);
    color: var(--white);
    font-size: 1rem;
    line-height: 1.15;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    user-select: none;
}

.signup-tabs__tab:last-child {
    border-right: 0;
}

#signup-step-1:checked ~ .signup-tabs .signup-tabs__tab:nth-child(1),
#signup-step-2:checked ~ .signup-tabs .signup-tabs__tab:nth-child(2),
#signup-step-3:checked ~ .signup-tabs .signup-tabs__tab:nth-child(3),
#signup-step-4:checked ~ .signup-tabs .signup-tabs__tab:nth-child(4) {
    background: var(--red);
}

.signup-panels {
    width: min(68rem, 100%);
    margin: 0 auto;
}

.signup-panel {
    display: none;
    border: 1px solid #d3dce6;
    border-top: 0;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(10, 44, 79, 0.05);
}

#signup-step-1:checked ~ .signup-panels .signup-panel--start,
#signup-step-2:checked ~ .signup-panels .signup-panel--terms,
#signup-step-3:checked ~ .signup-panels .signup-panel--info,
#signup-step-4:checked ~ .signup-panels .signup-panel--done {
    display: block;
}

.signup-panel__content {
    padding: 3.15rem 1rem 3rem;
    max-width: 40rem;
}

.signup-panel--terms .signup-panel__content {
    max-width: none;
    padding: 2.8rem 1rem 2.4rem;
}

.signup-panel__content--wide {
    max-width: none;
}

.signup-panel__content h2 {
    margin: 0 0 0.75rem;
    color: #3b4654;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 0;
}

.signup-panel__content p {
    margin: 0 0 1.5rem;
    color: #425367;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 34rem;
}

.signup-panel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    border-radius: 0.2rem;
    background: #7b8592;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.signup-panel__button--secondary {
    background: #7b8592;
}

.signup-panel__button:hover {
    background: #69727e;
}

.signup-terms__title {
    margin: 0 0 1rem;
    color: #7f0d88;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0;
}

.signup-terms__box {
    min-height: 19rem;
    max-height: 19rem;
    overflow: auto;
    padding: 0.8rem 0.8rem 0.8rem 0.8rem;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #2a2f35;
    font-size: 0.98rem;
    line-height: 1.56;
}

.signup-terms__box p {
    margin: 0 0 1rem;
}

.signup-terms__actions {
    display: flex;
    gap: 1.75rem;
    padding-top: 1.6rem;
}

.signup-info-content {
    max-width: none;
    padding: 2.8rem 1.15rem 2.4rem;
}

.signup-info-content > p {
    max-width: none;
    margin-bottom: 1.65rem;
}

.signup-info-form {
    padding: 0.85rem 0 0;
}

.signup-form-message {
    max-width: none;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.signup-form-message--error {
    border-color: #e5a8a8;
    background: #fff4f4;
    color: #8b1e1e;
}

.signup-form-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.signup-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.45rem;
}

.signup-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    color: #969696;
    font-size: 0.72rem;
    font-weight: 700;
}

.signup-field--full {
    grid-column: 1 / -1;
}

.signup-field input,
.signup-field select {
    width: 100%;
    min-height: 3.15rem;
    padding: 0.85rem 1rem;
    border: 1px solid #d6d6d6;
    border-radius: 0.2rem;
    background: #fff;
    color: #626b75;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.signup-field input::placeholder {
    color: #69727d;
    opacity: 1;
}

.signup-field input:focus,
.signup-field select:focus {
    border-color: #0b477f;
    box-shadow: 0 0 0 3px rgba(11, 71, 127, 0.12);
}

.signup-field select {
    appearance: auto;
}

.signup-info-form__continue {
    min-width: 15.65rem;
    min-height: 3.05rem;
    margin-top: 1.1rem;
    border: 1px solid #006d06;
    border-radius: 0;
    background: #008f08;
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
}

.signup-info-form__continue:hover {
    background: #007708;
}

.signup-info-form__login {
    margin: 0.8rem 0 0;
    color: #0b477f;
    font-size: 1rem;
}

.signup-info-form__login a {
    color: #0b477f;
    text-decoration: none;
}

.signup-info-form__login a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .signup-hero {
        min-height: 18rem;
    }

    .signup-hero__inner {
        min-height: 18rem;
    }

    .signup-hero__card {
        margin-left: 0;
        margin-top: 1rem;
        padding: 1.35rem 1.2rem 1.15rem;
    }

    .signup-hero__card h1 {
        font-size: 1.9rem;
    }

    .signup-hero__card p {
        font-size: 1rem;
    }

    .signup-divider {
        margin-bottom: 1.25rem;
    }

    .signup-tabs {
        grid-template-columns: 1fr;
    }

    .signup-tabs__tab {
        white-space: normal;
        min-height: 2.75rem;
    }

    .signup-panel--terms .signup-panel__content {
        padding: 2rem 1rem 2rem;
    }

    .signup-panel__content {
        padding: 2rem 1rem 2.25rem;
    }

    .signup-panel__content h2 {
        font-size: 1.95rem;
    }

    .signup-panel__content p {
        font-size: 1rem;
    }

    .signup-panel__button {
        width: 100%;
    }

    .signup-terms__box {
        max-height: 16rem;
        min-height: 16rem;
    }

    .signup-terms__actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .signup-info-content {
        padding: 2rem 1rem 2.25rem;
    }

    .signup-info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .signup-field--full {
        grid-column: auto;
    }

    .signup-info-form__continue {
        width: 100%;
    }

    .auth-panel {
        padding: 26px 20px;
    }

    .auth-links {
        display: grid;
    }

    .service-unavailable__panel {
        padding: 28px;
    }

    .service-unavailable h1 {
        font-size: 2rem;
    }
}
@media (min-width: 768px) {
    .admin-settings-block__head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .admin-settings-tac-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* Shared responsive navigation and submit feedback. */
.navbar__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: var(--blue);
    background: var(--white);
    cursor: pointer;
}

.navbar__menu-toggle svg {
    width: 20px;
    height: 20px;
}

form.is-submitting {
    opacity: .78;
    pointer-events: none;
}

form.is-submitting button[type="submit"] {
    cursor: wait;
}

@media (max-width: 1080px) {
    .navbar__menu-toggle {
        display: inline-flex;
    }

    .navbar__links.is-open {
        display: flex;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 16px;
    }

    .navbar__links.is-open > div,
    .navbar__links.is-open > a,
    .navbar__links.is-open .nav-dropdown__trigger {
        min-width: 0;
        padding: 12px 8px;
        text-align: left;
    }

    .navbar__links.is-open .nav-dropdown__trigger {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar__links.is-open .nav-dropdown__trigger small {
        justify-content: flex-end;
    }

    .navbar__links.is-open .nav-dropdown__panel {
        position: static;
        transform: none;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        padding: 16px;
        box-shadow: none;
        border: 1px solid var(--line);
    }
}

@media (max-width: 560px) {
    .navbar__links.is-open .nav-dropdown__panel {
        grid-template-columns: 1fr;
    }
}

/* Final customer-detail surface overrides: remove white blocks and make each zone clearly distinct. */
.admin-customer-detail.admin-approval-detail {
    background: #eaf2ff !important;
    border-color: #c8dcff !important;
    box-shadow: none !important;
}

.admin-customer-detail.admin-approval-detail > .admin-approval-detail__grid,
.admin-customer-detail.admin-approval-detail .admin-approval-detail__grid {
    background: linear-gradient(180deg, #f4f8ff 0%, #e9f1ff 100%) !important;
    border: 1px solid #c7dafc !important;
}

.admin-customer-detail .dashboard-panel {
    background: #f5f8ff !important;
    box-shadow: none !important;
}

.admin-customer-detail .admin-customer-section--accounts > .dashboard-panel {
    background: linear-gradient(180deg, #f1fbff 0%, #e3f5ff 100%) !important;
    border: 1px solid #bde5f6 !important;
}

.admin-customer-detail .admin-customer-section--cards > .dashboard-panel {
    background: linear-gradient(180deg, #f3f6ff 0%, #e7ecff 100%) !important;
    border: 1px solid #cbd5ff !important;
}

.admin-customer-detail .admin-customer-section--tac > .dashboard-panel {
    background: linear-gradient(180deg, #eef4ff 0%, #e0ebff 100%) !important;
    border: 1px solid #c7d8ff !important;
}

.admin-customer-detail .admin-customer-section--notifications > .dashboard-panel {
    background: linear-gradient(180deg, #eefcf5 0%, #dff7ea 100%) !important;
    border: 1px solid #c0ebcf !important;
}

.admin-customer-detail .admin-customer-section--ledger {
    background: linear-gradient(180deg, #fff8e5 0%, #fff2c9 100%) !important;
    border: 1px solid #f4d87a !important;
}

.admin-customer-detail .admin-customer-section--generated {
    background: linear-gradient(180deg, #fff2e8 0%, #ffe1cf 100%) !important;
    border: 1px solid #f3be98 !important;
}

.admin-customer-detail .admin-customer-profile-grid > div {
    border: 1px solid #c8d9f5 !important;
    box-shadow: none !important;
}

.admin-customer-detail .admin-customer-profile-grid > div:nth-child(8n + 1) {
    background: #eaf2ff !important;
}

.admin-customer-detail .admin-customer-profile-grid > div:nth-child(8n + 2) {
    background: #eefaf8 !important;
}

.admin-customer-detail .admin-customer-profile-grid > div:nth-child(8n + 3) {
    background: #f2f0ff !important;
}

.admin-customer-detail .admin-customer-profile-grid > div:nth-child(8n + 4) {
    background: #fff6e8 !important;
}

.admin-customer-detail .admin-customer-profile-grid > div:nth-child(8n + 5) {
    background: #e8f7ff !important;
}

.admin-customer-detail .admin-customer-profile-grid > div:nth-child(8n + 6) {
    background: #f4efff !important;
}

.admin-customer-detail .admin-customer-profile-grid > div:nth-child(8n + 7) {
    background: #eef9e9 !important;
}

.admin-customer-detail .admin-customer-profile-grid > div:nth-child(8n + 8) {
    background: #fff0f1 !important;
}

.admin-customer-detail .admin-customer-profile-grid span,
.admin-customer-detail .admin-customer-profile-grid strong {
    color: #29446f !important;
}

/* Customer list full-width override. */
.admin-customers-panel {
    width: 100%;
    grid-column: 1 / -1;
    justify-self: stretch;
}

.admin-customers-panel .dashboard-table-wrap {
    width: 100%;
    max-width: 100%;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table {
    display: table;
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table th,
.admin-customers-panel .dashboard-summary-table.dashboard-support-table td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table th:nth-child(1),
.admin-customers-panel .dashboard-summary-table.dashboard-support-table td:nth-child(1) {
    width: 22%;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table th:nth-child(2),
.admin-customers-panel .dashboard-summary-table.dashboard-support-table td:nth-child(2) {
    width: 24%;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table th:nth-child(3),
.admin-customers-panel .dashboard-summary-table.dashboard-support-table td:nth-child(3) {
    width: 14%;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table th:nth-child(4),
.admin-customers-panel .dashboard-summary-table.dashboard-support-table td:nth-child(4) {
    width: 14%;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table th:nth-child(5),
.admin-customers-panel .dashboard-summary-table.dashboard-support-table td:nth-child(5) {
    width: 9%;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table th:nth-child(6),
.admin-customers-panel .dashboard-summary-table.dashboard-support-table td:nth-child(6) {
    width: 9%;
}

.admin-customers-panel .dashboard-summary-table.dashboard-support-table th:nth-child(7),
.admin-customers-panel .dashboard-summary-table.dashboard-support-table td:nth-child(7) {
    width: 8%;
}
