/* BNY beneficiary area: sign-in pages (au-*), portal shell (pt-*), dashboard (hm-*).
   Palette given by the client: navy primary, emerald secondary, gold accent. */
:root {
    --navy: #102B50;
    --navy-deep: #0B203E;
    --navy-tint: #E9EEF5;
    --emerald: #087B59;
    --emerald-tint: #E5F3EE;
    --gold: #C9A34E;
    --gold-tint: #F7F0E0;
    --bg: #F5F7FA;
    --card: #FFFFFF;
    --text: #263445;
    --muted: #68778A;
    --line: #DDE3EA;
    --danger: #B42318;
    --danger-tint: #FDECEA;
    --font: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
    --shadow: 0 1px 2px rgba(16, 43, 80, .06), 0 8px 24px rgba(16, 43, 80, .07);
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font); }

h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }

a { color: var(--emerald); font-weight: 600; text-underline-offset: .2em; }

button { font-family: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

[hidden] { display: none !important; }

.au-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ═════════════ Sign-in pages ═════════════ */
.au-page { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: 100vh; min-height: 100dvh; }

.au-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem clamp(2rem, 4vw, 3.5rem);
    background: var(--navy);
    color: #fff;
}
.au-panel::after {   /* gold rule along the panel's inner edge */
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 4px;
    background: var(--gold);
}

.au-jaali { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .09; }

.au-brand { position: relative; display: inline-flex; align-items: center; gap: .85rem; color: #fff; text-decoration: none; }
.au-brand__logo {
    display: grid;
    place-items: center;
    width: 60px; height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: #fff;
}
.au-brand__logo img { border-radius: 50%; }
.au-brand__text { display: grid; line-height: 1.25; }
.au-brand__text strong { font-size: 1.15rem; font-weight: 800; }
.au-brand__text span { color: var(--gold); font-size: .9rem; font-weight: 600; }

.au-panel__body { position: relative; margin-block: auto; max-width: 30rem; }
.au-panel__body h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.au-panel__note { margin-top: .85rem; color: #C9D3E0; font-size: 1.05rem; }

.au-points { margin-top: 2rem; list-style: none; display: grid; gap: 1rem; }
.au-points li { display: flex; align-items: flex-start; gap: .85rem; color: #E6ECF3; }
.au-points i {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid rgba(201, 163, 78, .55);
    border-radius: 10px;
    background: rgba(201, 163, 78, .12);
    color: var(--gold);
    font-size: 1.1rem;
}
.au-points span { padding-top: .45rem; }

.au-panel__legal { position: relative; max-width: 30rem; color: #9FB0C6; font-size: .85rem; }

.au-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2.5rem 1.5rem;
}

.au-card {
    position: relative;
    z-index: 1;   /* on phones it overlaps the navy panel */
    width: 100%;
    max-width: 30rem;
    padding: 2.25rem 2.25rem 2rem;
    border-top: 4px solid var(--gold);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.au-card__head { margin-bottom: 1.5rem; }
.au-card__head h2 { color: var(--navy); font-size: 1.75rem; font-weight: 800; letter-spacing: -.01em; }
.au-card__head h2:focus { outline: none; }
.au-card__head p { margin-top: .3rem; color: var(--muted); }
.au-card__head strong { color: var(--text); }

.au-card__alt { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }

.au-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; font-size: .9rem; }
.au-foot a { color: var(--muted); text-decoration: none; }
.au-foot a:hover { color: var(--navy); }

.au-field { margin-bottom: 1.15rem; }
.au-field label { display: block; margin-bottom: .4rem; color: var(--text); font-weight: 600; font-size: .9rem; }
.au-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.au-field__row a { font-size: .875rem; }

.au-input { position: relative; display: flex; align-items: center; }
.au-input > .bi {
    position: absolute;
    left: .95rem;
    color: var(--muted);
    font-size: 1.1rem;
    pointer-events: none;
}
.au-input input {
    width: 100%;
    height: 52px;
    padding: 0 1rem 0 2.75rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #FBFCFD;
    color: var(--text);
    font: 500 1rem var(--font);
    transition: border-color .15s, box-shadow .15s;
}
.au-input input::placeholder { color: #9AA6B5; font-weight: 400; }
.au-input input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(16, 43, 80, .12); }
.au-input__prefix {
    position: absolute;
    left: 2.6rem;
    padding-right: .5rem;
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
    pointer-events: none;
}
.au-input__prefix + input { padding-left: 5.4rem; }
.au-input:has(.au-eye) input { padding-right: 3.25rem; }

.au-eye {
    position: absolute;
    right: .4rem;
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 1.15rem;
    cursor: pointer;
}
.au-eye:hover { background: var(--navy-tint); color: var(--navy); }

.au-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    height: 54px;
    margin-top: .5rem;
    border: 0;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font: 700 1.05rem var(--font);
    cursor: pointer;
    transition: background-color .15s;
}
.au-btn:hover { background: var(--navy-deep); }
.au-btn i { color: var(--gold); font-size: 1.15rem; }
.au-btn[disabled] { opacity: .75; cursor: progress; }

.au-alert {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding: .8rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: .925rem;
}
.au-alert i { flex: none; margin-top: .1rem; }
.au-alert--ok { background: var(--emerald-tint); color: #065A41; }
.au-alert--bad { background: var(--danger-tint); color: #8A1C12; }

.au-link {
    padding: .25rem 0;
    border: 0;
    background: none;
    color: var(--emerald);
    font: 700 .9rem var(--font);
    cursor: pointer;
}
.au-link[disabled] { color: var(--muted); cursor: default; }

/* Reset steps: a real sequence, so they're numbered. */
.au-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 1.75rem; list-style: none; }
.au-steps li { position: relative; display: grid; justify-items: center; gap: .4rem; text-align: center; }
.au-steps li + li::before {   /* line back to the previous step */
    content: "";
    position: absolute;
    top: 17px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--line);
}
.au-steps li.is-on::before, .au-steps li.is-done::before { background: var(--emerald); }
.au-steps__dot {
    position: relative;
    z-index: 1;   /* above the connecting line */
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    font-weight: 700;
}
.au-steps__label { color: var(--muted); font-size: .8rem; font-weight: 600; }
.au-steps li.is-on .au-steps__dot { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 0 0 4px var(--navy-tint); }
.au-steps li.is-on .au-steps__label { color: var(--navy); }
.au-steps li.is-done .au-steps__dot { border-color: var(--emerald); background: var(--emerald); color: transparent; }
.au-steps li.is-done .au-steps__dot::after { content: "\F26E"; position: absolute; color: #fff; font: 1.25rem/1 "bootstrap-icons"; }
.au-steps li.is-done .au-steps__label { color: var(--emerald); }

.au-otp { border: 0; }
.au-otp__boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.au-otp__boxes input {
    width: 100%;
    height: 56px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #FBFCFD;
    color: var(--navy);
    text-align: center;
    font: 800 1.5rem var(--font);
}
.au-otp__boxes input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(16, 43, 80, .12); }
.au-otp__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    margin: .85rem 0 .5rem;
    color: var(--muted);
    font-size: .9rem;
}
.au-otp__meta strong { color: var(--text); font-variant-numeric: tabular-nums; }

.au-rules { margin-top: .65rem; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1rem; color: var(--muted); font-size: .85rem; }
.au-rules li::before { content: "\F28A"; margin-right: .4rem; font-family: "bootstrap-icons"; }
.au-rules li.is-met { color: var(--emerald); font-weight: 600; }
.au-rules li.is-met::before { content: "\F26B"; }

@media (max-width: 960px) {
    .au-page { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .au-panel { gap: 1rem; padding: 1.25rem 1.25rem 4.5rem; }
    .au-panel::after { top: auto; left: 0; width: auto; height: 4px; }
    .au-panel__body { margin: 0; }
    .au-panel__body h1 { font-size: 1.6rem; }
    .au-panel__note { margin-top: .35rem; font-size: .95rem; }
    .au-points, .au-panel__legal { display: none; }
    .au-brand__logo { width: 48px; height: 48px; }
    .au-brand__logo img { width: 40px; height: 40px; }
    .au-main { justify-content: flex-start; padding: 0 1rem 2rem; }
    .au-card { margin-top: -3.25rem; padding: 1.75rem 1.25rem 1.5rem; }
}

@media (max-width: 380px) {
    .au-otp__boxes { gap: .3rem; }
    .au-otp__boxes input { height: 50px; font-size: 1.3rem; }
    .au-rules { grid-template-columns: 1fr; }
}

/* ═════════════ Portal shell ═════════════ */
.pt-body { --side: 272px; }

.pt-skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; border-radius: 8px; background: var(--gold); color: var(--navy); }
.pt-skip:focus { top: 1rem; }

.pt-side {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    width: var(--side);
    background: var(--navy);
    color: #fff;
}

.pt-side__top { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.25rem 1rem; }
.pt-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.pt-brand__logo { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--gold); border-radius: 50%; background: #fff; }
.pt-brand__logo img { border-radius: 50%; }
.pt-brand__text { display: grid; line-height: 1.2; }
.pt-brand__text strong { font-size: 1rem; font-weight: 800; }
.pt-brand__text span { color: var(--gold); font-size: .78rem; font-weight: 600; }
.pt-side__close { color: #fff; }

.pt-me {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 1rem 1rem;
    padding: .85rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
}
.pt-me__text { display: grid; min-width: 0; line-height: 1.3; }
.pt-me__text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.pt-me__text span { color: #B5C3D6; font-size: .8rem; }

.pt-avatar {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--emerald);
    color: #fff;
    font-weight: 700;
}
.pt-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-avatar--gold { box-shadow: 0 0 0 2px var(--gold); }
.pt-avatar--lg { width: 76px; height: 76px; font-size: 1.6rem; }

.pt-nav { flex: 1; overflow-y: auto; padding: 0 .75rem; }
.pt-nav ul { list-style: none; }
.pt-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
    width: 100%;
    min-height: 46px;
    margin-bottom: 2px;
    padding: 0 .85rem;
    border: 0;
    border-radius: 10px;
    background: none;
    color: #D3DCE8;
    font: 500 .925rem var(--font);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.pt-nav__link > .bi:first-child { width: 1.25rem; font-size: 1.1rem; text-align: center; }
.pt-nav__link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.pt-nav__link.is-active { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; }
.pt-nav__link.is-active::before {
    content: "";
    position: absolute;
    left: -.75rem;
    top: 10px; bottom: 10px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--gold);
}
.pt-nav__link.is-active > .bi { color: var(--gold); }
.pt-nav__link.is-soon { color: #8E9EB4; cursor: default; }
.pt-nav__link.is-soon:hover { background: none; color: #8E9EB4; }
.pt-nav__link em {
    margin-left: auto;
    padding: .05rem .5rem;
    border: 1px solid rgba(201, 163, 78, .45);
    border-radius: 999px;
    color: var(--gold);
    font-size: .7rem;
    font-style: normal;
    font-weight: 600;
}
.pt-nav__caret { margin-left: auto; font-size: .8rem; transition: transform .2s; }
.pt-nav__link[aria-expanded="true"] .pt-nav__caret { transform: rotate(180deg); }
.pt-nav__sub { margin: 0 0 .35rem 1.4rem; padding-left: .5rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.pt-nav__sub .pt-nav__link { min-height: 40px; font-size: .875rem; }

.pt-side__out { padding: .75rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.pt-side__out .pt-nav__link { color: #F2C6C1; }

.pt-main { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin-left: var(--side); }

.pt-top {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem clamp(1rem, 3vw, 2rem);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
}
.pt-top__menu { display: none; }
.pt-top__title { flex: 1; min-width: 0; }
.pt-top__title h1 { color: var(--navy); font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.pt-top__title span { color: var(--muted); font-size: .8rem; }
.pt-top__me { display: flex; align-items: center; gap: .75rem; }
.pt-top__name { display: grid; text-align: right; line-height: 1.25; }
.pt-top__name strong { color: var(--navy); font-size: .925rem; }
.pt-top__name span { color: var(--muted); font-size: .78rem; }

.pt-iconbtn {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--navy-tint);
    color: var(--navy);
    font-size: 1.35rem;
    cursor: pointer;
}
.pt-iconbtn.pt-top__menu, .pt-iconbtn.pt-side__close { display: none; }   /* phone and tablet only */

.pt-content { flex: 1; width: 100%; max-width: 76rem; padding: clamp(1rem, 3vw, 2rem); }

.pt-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 2rem;
    padding: 1rem clamp(1rem, 3vw, 2rem) 1.25rem;
    color: var(--muted);
    font-size: .8rem;
}
.pt-foot a { color: var(--muted); white-space: nowrap; }

.pt-shade { position: fixed; inset: 0; z-index: 35; background: rgba(11, 32, 62, .5); }
.pt-tabs { display: none; }

@media (max-width: 1024px) {
    .pt-side { transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility .25s; box-shadow: 8px 0 32px rgba(11, 32, 62, .3); }
    .pt-side.is-open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }   /* visible at once, so it can take focus */
    .pt-iconbtn.pt-side__close { display: grid; background: rgba(255, 255, 255, .1); }
    .pt-main { margin-left: 0; padding-bottom: 72px; }
    .pt-iconbtn.pt-top__menu { display: grid; }
    .pt-top__name { display: none; }

    .pt-tabs {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--line);
        background: #fff;
    }
    .pt-tab {
        display: grid;
        justify-items: center;
        align-content: center;
        gap: .1rem;
        height: 64px;
        border: 0;
        background: none;
        color: var(--muted);
        font: 600 .75rem var(--font);
        text-decoration: none;
        cursor: pointer;
    }
    .pt-tab i { font-size: 1.3rem; }
    .pt-tab.is-active { color: var(--navy); box-shadow: inset 0 3px 0 var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
    .pt-side, .pt-nav__caret { transition: none; }
}

/* ═════════════ Dashboard ═════════════ */
.hm-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    border-radius: 16px;
    background: var(--navy);
    color: #fff;
}
.hm-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.hm-hero__text { flex: 1 1 18rem; min-width: 0; }
.hm-hero__hello { color: var(--gold); font-weight: 600; }
.hm-hero h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.hm-hero__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: .6rem; color: #C9D3E0; font-size: .875rem; }
.hm-hero__meta i { margin-right: .35rem; color: var(--gold); }
.hm-hero__meta strong { color: #fff; }
.hm-hero__side { display: grid; justify-items: end; gap: .5rem; }
.hm-hero__last { color: #B5C3D6; font-size: .8rem; }

.hm-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}
.hm-chip--ok { background: var(--emerald-tint); color: var(--emerald); }
.hm-chip--wait { background: var(--gold-tint); color: #8A6A1F; }

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

.hm-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.hm-card__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.hm-card__head h3 { display: flex; align-items: center; gap: .6rem; color: var(--navy); font-size: 1.05rem; font-weight: 700; }
.hm-card__head h3 i { color: var(--emerald); font-size: 1.15rem; }
.hm-card__note { margin-top: 1rem; color: var(--muted); font-size: .85rem; }

.hm-meter { height: 8px; margin-bottom: 1rem; border-radius: 999px; background: var(--navy-tint); overflow: hidden; }
.hm-meter span { display: block; height: 100%; border-radius: inherit; background: var(--emerald); }

.hm-kyc { list-style: none; display: grid; gap: .15rem; }
.hm-kyc li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.hm-kyc li:last-child { border-bottom: 0; }
.hm-kyc i { font-size: 1.05rem; }
.hm-kyc strong { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hm-kyc .is-done i { color: var(--emerald); }
.hm-kyc .is-missing i, .hm-kyc .is-missing strong { color: var(--muted); }
.hm-kyc .is-missing strong { font-weight: 500; }

.hm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.hm-facts--one { grid-template-columns: minmax(0, 1fr); }
.hm-facts dt { color: var(--muted); font-size: .8rem; }
.hm-facts dd { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.hm-accno { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hm-accno__btn { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border: 1px solid var(--line, #d9dee7); border-radius: 999px; background: transparent; color: var(--navy); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.hm-accno__btn:hover, .hm-accno__btn:focus-visible { border-color: var(--emerald); color: var(--emerald); }
.pf-bankcard__no { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.hm-accno__btn--light { position: relative; border-color: rgba(255,255,255,.55); color: #fff; letter-spacing: normal; }
.hm-accno__btn--light:hover, .hm-accno__btn--light:focus-visible { border-color: #fff; color: #fff; background: rgba(255,255,255,.14); }

.hm-soon { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.hm-soon li { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 10px; background: var(--bg); font-size: .9rem; font-weight: 500; }
.hm-soon i { color: var(--gold); }

@media (max-width: 760px) {
    .hm-grid, .hm-facts, .hm-soon { grid-template-columns: minmax(0, 1fr); }
    .hm-hero { padding: 1.25rem; }
    .hm-hero__side { justify-items: start; }
    .pt-avatar--lg { width: 64px; height: 64px; font-size: 1.35rem; }
}

/* ═════════════ My Profile ═════════════ */
.pt-avatar--xl { width: 96px; height: 96px; font-size: 2rem; }

.pf-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 1.75rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    background: var(--navy);
    color: #fff;
    box-shadow: inset 0 -4px 0 var(--gold);
}
.pf-photo { display: grid; justify-items: center; gap: .6rem; }
.pf-photo__btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 36px;
    padding: 0 .85rem;
    border: 1px solid rgba(201, 163, 78, .6);
    border-radius: 999px;
    color: var(--gold);
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}
.pf-photo__btn:hover { background: rgba(201, 163, 78, .12); }
.pf-photo__btn:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.pf-head__text { flex: 1 1 18rem; min-width: 0; }
.pf-head__text h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; overflow-wrap: anywhere; }
.pf-head__note { margin-top: .5rem; color: #9FB0C6; font-size: .8rem; }

.pf-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.pf-side { display: grid; gap: 1.25rem; }

.pf-locked {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--bg);
}
.pf-locked span { display: block; color: var(--muted); font-size: .78rem; }
.pf-locked strong { color: var(--text); font-variant-numeric: tabular-nums; }
.pf-locked p { grid-column: 1 / -1; display: flex; gap: .5rem; color: var(--muted); font-size: .82rem; }
.pf-locked p i { color: var(--gold); }

.pf-form__sub { margin: .25rem 0 .85rem; color: var(--navy); font-size: .9rem; font-weight: 700; }
.pf-form__sub ~ .pf-form__sub { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.pf-span-2 { grid-column: 1 / -1; }
.pf-opt { color: var(--muted); font-weight: 400; font-size: .8rem; }
.pf-err { display: block; margin-top: .3rem; color: var(--danger); font-size: .8rem; font-weight: 600; }
.pf-err:empty { display: none; }
.pf-hint { margin-top: .35rem; color: var(--muted); font-size: .8rem; }
.pf-upper { text-transform: uppercase; }
.pf-save { max-width: 16rem; }

.au-input select {
    width: 100%;
    height: 52px;
    padding: 0 1rem 0 2.75rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #FBFCFD;
    color: var(--text);
    font: 500 1rem var(--font);
}
.au-input select:focus, .pf-details textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(16, 43, 80, .12); }
.pf-details textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #FBFCFD;
    color: var(--text);
    font: 500 1rem var(--font);
    resize: vertical;
}
.au-input input[readonly] { background: var(--bg); color: var(--muted); }

.pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: 0 1rem;
    border: 1.5px solid var(--navy);
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font: 700 .9rem var(--font);
    cursor: pointer;
}
.pf-btn:hover { background: var(--navy-deep); }
a.pf-btn { text-decoration: none; }
.pf-btn--line { background: #fff; color: var(--navy); border-color: var(--line); }
.pf-btn--line:hover { background: var(--navy-tint); border-color: var(--navy-tint); }
.pf-btn--sm { min-height: 38px; padding: 0 .8rem; font-size: .82rem; }
.pf-btn:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
label.is-busy { opacity: .7; pointer-events: none; }

.pf-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.pf-actions .pf-btn { flex: 1 1 11rem; }

.pf-empty { display: grid; justify-items: center; gap: .5rem; padding: 1.25rem; border-radius: 12px; background: var(--bg); color: var(--muted); text-align: center; }
.pf-empty i { color: var(--gold); font-size: 1.75rem; }

/* The active bank, drawn like a passbook cover. */
.pf-bankcard {
    position: relative;
    overflow: hidden;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald), #06604A);
    color: #fff;
}
.pf-bankcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border: 18px solid rgba(201, 163, 78, .35); border-radius: 50%; }
.pf-bankcard__name { position: relative; font-weight: 800; font-size: 1.05rem; }
.pf-bankcard__no { position: relative; margin: .35rem 0 .85rem; font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pf-bankcard dl { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .25rem 1.5rem; }
.pf-bankcard dt { color: #BFE5D8; font-size: .72rem; }
.pf-bankcard dd { font-size: .875rem; font-weight: 600; overflow-wrap: break-word; }
.pf-bankcard__status { position: relative; display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .85rem; font-size: .82rem; font-weight: 600; }
.pf-bankcard__status span { display: inline-flex; gap: .35rem; color: #fff; }
.pf-bankcard__status i { color: var(--gold); }
.pf-bankcard__status .is-wait i { color: #FFE3A3; }
.pf-bankcard__status a { display: inline-flex; gap: .35rem; color: #fff; }

.pf-doc { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.pf-doc:last-of-type { border-bottom: 0; }
.pf-doc__icon { font-size: 1.6rem; color: var(--muted); }
.pf-doc__icon.is-done { color: var(--emerald); }
.pf-doc__text { display: grid; line-height: 1.35; }
.pf-doc__text span { color: var(--muted); font-size: .85rem; }
.pf-doc__text a { font-size: .85rem; }

.pf-dialog {
    width: min(34rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 1.5rem;
    border: 0;
    border-top: 4px solid var(--gold);
    border-radius: 16px;
    color: var(--text);
    box-shadow: 0 24px 64px rgba(11, 32, 62, .35);
}
.pf-dialog::backdrop { background: rgba(11, 32, 62, .55); }
.pf-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.pf-dialog__head h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; }
.pf-dialog__note { margin-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.pf-dialog .pf-row { gap: 0 .75rem; }
.pf-steps { margin: .75rem 0 1.25rem; grid-template-columns: repeat(2, 1fr); }
.pf-file { width: 100%; padding: .65rem; border: 1.5px dashed var(--line); border-radius: 10px; background: #FBFCFD; font: 500 .9rem var(--font); }
.pf-back { display: inline-flex; gap: .35rem; margin-top: .85rem; }

.pf-banklist { list-style: none; display: grid; gap: .75rem; }
.pf-banklist li { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.pf-banklist li.is-active { border-color: var(--emerald); background: var(--emerald-tint); }
.pf-banklist__top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.pf-banklist__top strong { color: var(--navy); }
.pf-banklist dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; }
.pf-banklist dt { color: var(--muted); font-size: .75rem; }
.pf-banklist dd { font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.pf-chip--old { background: var(--bg); color: var(--muted); }

@media (max-width: 1100px) {
    .pf-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .pf-row, .pf-locked { grid-template-columns: minmax(0, 1fr); }
    .pf-head { padding: 1.25rem; }
    .pf-save { max-width: none; }
    .pf-bankcard dl { grid-template-columns: repeat(2, auto); }
    .pf-doc { grid-template-columns: auto 1fr; }
    .pf-doc form { grid-column: 1 / -1; }
}

/* Details: read view first, one section opens for editing. */
.pf-sec { padding: 1rem 0 1.15rem; border-top: 1px solid var(--line); }
.pf-sec__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .85rem; }
.pf-sec__head h4 { display: flex; align-items: center; gap: .5rem; color: var(--navy); font-size: .95rem; font-weight: 700; }
.pf-sec__head h4 i { color: var(--emerald); }
.pf-sec.is-editing { margin: 0 -1.5rem; padding: 1rem 1.5rem 1.25rem; border-top-color: var(--gold); background: #FCFBF7; }
.pf-view { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.5rem; }
.pf-view dt { color: var(--muted); font-size: .78rem; }
.pf-view dd { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.pf-sec__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.pf-sec__actions .pf-save { flex: 1 1 12rem; max-width: 16rem; margin-top: 0; }
.pf-sec__actions .pf-btn { min-height: 54px; }

/* IFSC lookup result */
.pf-ifsc { display: flex; gap: .65rem; align-items: flex-start; margin-top: .6rem; padding: .75rem .9rem; border-radius: 10px; font-size: .875rem; }
.pf-ifsc > i { flex: none; margin-top: .1rem; font-size: 1.05rem; }
.pf-ifsc div { display: grid; gap: .1rem; }
.pf-ifsc strong { color: var(--navy); font-size: .95rem; }
.pf-ifsc__addr { color: var(--muted); font-size: .8rem; }
.pf-ifsc__tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.pf-ifsc__tags em { padding: .05rem .45rem; border-radius: 999px; background: #fff; color: var(--emerald); font-size: .7rem; font-style: normal; font-weight: 700; }
.pf-ifsc--ok { background: var(--emerald-tint); }
.pf-ifsc--ok > i { color: var(--emerald); }
.pf-ifsc--bad { background: var(--danger-tint); color: #8A1C12; }
.pf-ifsc--warn { background: var(--gold-tint); color: #6E531A; }
.pf-ifsc--wait { background: var(--bg); color: var(--muted); align-items: center; }
.pf-spin { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--navy); border-radius: 50%; animation: pf-spin .8s linear infinite; }
@keyframes pf-spin { to { transform: rotate(360deg); } }

.pf-bankcard__branch { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0 .4rem; margin: -.35rem 0 .85rem; font-size: .82rem; font-weight: 600; }
.pf-bankcard__branch i { grid-row: span 2; color: var(--gold); }
.pf-bankcard__branch span { color: #BFE5D8; font-size: .75rem; font-weight: 500; }
.pf-banklist .pf-span-2 { grid-column: 1 / -1; }

@media (max-width: 560px) {
    .pf-view { grid-template-columns: minmax(0, 1fr); }
    .pf-sec.is-editing { margin: 0 -1rem; padding-inline: 1rem; }
    .pf-sec__actions .pf-save { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .pf-spin { animation-duration: 2s; }
}

/* Profile changes confirmed by OTP */
.pf-otpnote { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: 1rem; padding: .7rem .9rem; border-radius: 10px; background: var(--gold-tint); color: #6E531A; font-size: .85rem; }
.pf-otpnote i { flex: none; margin-top: .1rem; color: var(--gold); }
.pf-changes { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.4rem 0 1rem; list-style: none; }
.pf-changes li { padding: .25rem .7rem; border-radius: 999px; background: var(--navy-tint); color: var(--navy); font-size: .8rem; font-weight: 700; }

/* ═════════════ Health claim ═════════════ */
.hc-back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; color: var(--muted); font-size: .9rem; text-decoration: none; }
.hc-back:hover { color: var(--navy); }

.hc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    border-radius: 16px;
    background: var(--navy);
    color: #fff;
    box-shadow: inset 0 -4px 0 var(--gold);
}
.hc-hero h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; line-height: 1.2; }
.hc-hero__text p { margin-top: .5rem; color: #C9D3E0; }
.hc-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.hc-btn-gold { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.hc-btn-gold:hover { background: #D8B566; }
.hc-btn-ghost { border-color: rgba(255, 255, 255, .35); background: transparent; color: #fff; }
.hc-btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.hc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.hc-facts div { padding: .85rem 1rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .05); }
.hc-facts dt { color: #B5C3D6; font-size: .78rem; }
.hc-facts dd { color: var(--gold); font-size: 1.05rem; font-weight: 800; }

.hc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; align-items: start; }
.hc-more { font-size: .875rem; }

.hc-checks { list-style: none; display: grid; gap: .75rem; }
.hc-checks li { display: flex; gap: .75rem; align-items: flex-start; }
.hc-checks i { font-size: 1.2rem; margin-top: .05rem; }
.hc-checks .is-ok i { color: var(--emerald); }
.hc-checks .is-no i { color: var(--danger); }
.hc-checks div { display: grid; }
.hc-checks span { color: var(--muted); font-size: .85rem; }

.hc-list { list-style: none; display: grid; gap: .6rem; }
.hc-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-weight: 400; text-decoration: none; }
.hc-row:hover { border-color: var(--navy); background: var(--bg); }
.hc-row__main { display: grid; min-width: 0; }
.hc-row__main strong { overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; }
.hc-row__main span { color: var(--muted); font-size: .8rem; }
.hc-row__side { display: grid; justify-items: end; gap: .25rem; flex: none; }
.hc-row__side strong { font-variant-numeric: tabular-nums; }

.hc-status { padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.hc-status--ok { background: var(--emerald-tint); color: var(--emerald); }
.hc-status--bad { background: var(--danger-tint); color: var(--danger); }
.hc-status--wait { background: var(--gold-tint); color: #8A6A1F; }
.hc-status--lg { padding: .4rem 1rem; font-size: .9rem; }

.hc-terms { margin-bottom: 1.25rem; }
.hc-term { border-top: 1px solid var(--line); }
.hc-term summary { padding: .85rem 0; color: var(--navy); font-weight: 600; cursor: pointer; }
.hc-term p { padding: 0 0 .9rem; color: var(--muted); font-size: .9rem; }

/* Apply */
.hc-form { display: grid; gap: 1.25rem; max-width: 52rem; }
.hc-step__title { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; color: var(--navy); font-size: 1.1rem; font-weight: 800; }
.hc-step__title span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: .9rem; }
.hc-step__note { margin: -.5rem 0 1rem; }
.hc-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.hc-type { position: relative; cursor: pointer; }
.hc-type input { position: absolute; opacity: 0; }
.hc-type__body { display: grid; gap: .3rem; height: 100%; padding: 1.1rem; border: 2px solid var(--line); border-radius: 14px; }
.hc-type__body i { color: var(--emerald); font-size: 1.5rem; }
.hc-type__body strong { color: var(--navy); }
.hc-type__body span { color: var(--muted); font-size: .875rem; }
.hc-type__body em { color: #8A6A1F; font-size: .78rem; font-style: normal; font-weight: 700; }
.hc-type input:checked + .hc-type__body { border-color: var(--navy); background: var(--navy-tint); box-shadow: inset 0 0 0 1px var(--navy); }
.hc-type input:focus-visible + .hc-type__body { outline: 3px solid var(--gold); outline-offset: 2px; }
.hc-form textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: #FBFCFD; color: var(--text); font: 500 1rem var(--font); resize: vertical; }
.hc-form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(16, 43, 80, .12); }
.hc-window { display: flex; gap: .4rem; }

.hc-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.hc-file { display: flex; gap: .75rem; align-items: center; padding: .9rem 1rem; border: 1.5px dashed var(--line); border-radius: 12px; background: #FBFCFD; cursor: pointer; }
.hc-file:hover, .hc-file:focus-within { border-color: var(--navy); }
.hc-file:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.hc-file > i { color: var(--muted); font-size: 1.5rem; }
.hc-file__text { display: grid; min-width: 0; }
.hc-file__text strong { color: var(--navy); font-size: .9rem; }
.hc-file__text em { margin-left: .3rem; color: var(--muted); font-size: .72rem; font-style: normal; font-weight: 600; }
.hc-file__text em.is-req { color: var(--danger); }
.hc-file__text span { overflow: hidden; color: var(--muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.hc-file.has-file { border-style: solid; border-color: var(--emerald); background: var(--emerald-tint); }
.hc-file.has-file > i { color: var(--emerald); }
.hc-file.has-file .hc-file__text span { color: var(--emerald); font-weight: 600; }

.hc-agree { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.1rem; font-size: .9rem; cursor: pointer; }
.hc-agree input { width: 20px; height: 20px; margin-top: .1rem; flex: none; accent-color: var(--navy); }
.hc-submit { max-width: 22rem; }

/* History */
.hc-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.hc-totals div { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.hc-totals dt { color: var(--muted); font-size: .8rem; }
.hc-totals dd { color: var(--navy); font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hc-totals .is-ok dd { color: var(--emerald); }
.hc-tabs { display: flex; gap: .4rem; overflow-x: auto; margin-bottom: 1rem; padding-bottom: .25rem; }
.hc-tabs a { flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: .875rem; font-weight: 600; text-decoration: none; }
.hc-tabs a span { padding: 0 .45rem; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .75rem; }
.hc-tabs a.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.hc-tabs a.is-on span { background: rgba(255, 255, 255, .15); color: #fff; }
.hc-filter { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto; gap: 0 .75rem; align-items: end; margin-bottom: 1rem; }
.hc-filter__go { display: flex; gap: .5rem; margin-bottom: 1.15rem; }
.hc-filter__go .pf-btn { min-height: 52px; }
.hc-pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.25rem; color: var(--muted); font-size: .875rem; }

/* Details */
.hc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; padding: 1.5rem 1.75rem; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: inset 0 -4px 0 var(--gold); }
.hc-head__no { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.hc-head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.hc-head p:last-child { color: #C9D3E0; }
.hc-track { list-style: none; display: grid; gap: 0; }
.hc-track li { position: relative; display: grid; padding: 0 0 1.25rem 2rem; }
.hc-track li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 16px; height: 16px; border: 2px solid var(--line); border-radius: 50%; background: #fff; }
.hc-track li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 1.3rem; bottom: .1rem; width: 2px; background: var(--line); }
.hc-track li.is-done::before { border-color: var(--emerald); background: var(--emerald); }
.hc-track li.is-done::after { background: var(--emerald); }
.hc-track li.is-now::before { border-color: var(--gold); background: var(--gold-tint); }
.hc-track li.is-bad::before { border-color: var(--danger); background: var(--danger); }
.hc-track strong { color: var(--navy); }
.hc-track span { color: var(--muted); font-size: .85rem; }
.hc-approved { padding: .75rem 1rem; border-radius: 10px; background: var(--emerald-tint); color: var(--emerald); }
.hc-remark { display: flex; gap: .6rem; margin-top: .85rem; padding: .75rem 1rem; border-radius: 10px; background: var(--bg); font-size: .9rem; }
.hc-remark i { color: var(--gold); }
.hc-docs__h { margin: 1.25rem 0 .6rem; color: var(--navy); font-size: .9rem; font-weight: 700; }
.hc-docs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.hc-docs a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; text-decoration: none; }
.hc-docs a:hover { border-color: var(--emerald); background: var(--emerald-tint); }

@media (max-width: 900px) {
    .hc-hero, .hc-grid { grid-template-columns: minmax(0, 1fr); }
    .hc-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-filter .au-field:first-child, .hc-filter__go { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .hc-hero { padding: 1.25rem; }
    .hc-types, .hc-files, .hc-totals { grid-template-columns: minmax(0, 1fr); }
    .hc-row { flex-wrap: wrap; }
    .hc-row__side { grid-auto-flow: column; justify-items: start; align-items: center; }
    .hc-head { flex-direction: column; padding: 1.25rem; }
    .hc-submit { max-width: none; }
}

/* ═════════════ Crypto Bonus ═════════════ */
.cw-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 1.75rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), #173A6A);
    color: #fff;
    box-shadow: inset 0 -4px 0 var(--gold);
}
.cw-hero__label { color: #B5C3D6; font-size: .85rem; }
.cw-hero__coins { color: #fff; font-size: 1.1rem; font-weight: 700; }
.cw-hero__coins span { color: var(--gold); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cw-hero__inr { color: #C9D3E0; font-size: .95rem; }
.cw-hero__inr strong { color: #fff; }
.cw-addr { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .9rem; padding: .4rem .5rem .4rem .8rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; font-size: .85rem; font-variant-numeric: tabular-nums; }
.cw-addr > i { color: var(--gold); }
.cw-copy { display: inline-flex; align-items: center; gap: .3rem; min-height: 30px; padding: 0 .7rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font: 600 .78rem var(--font); cursor: pointer; }
.cw-copy:hover { background: rgba(255, 255, 255, .2); }
.cw-actions { display: grid; gap: .6rem; }
.cw-actions .pf-btn { min-height: 50px; }
.cw-actions .pf-btn[disabled] { opacity: .55; cursor: not-allowed; }
.cw-soon { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1rem; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 10px; color: #B5C3D6; font-size: .88rem; }
.cw-soon em { margin-left: auto; padding: .05rem .5rem; border: 1px solid rgba(201, 163, 78, .45); border-radius: 999px; color: var(--gold); font-size: .7rem; font-style: normal; font-weight: 600; }

.cw-ledger { list-style: none; display: grid; gap: .5rem; }
.cw-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; }
.cw-row > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; }
.cw-row.is-in > i { background: var(--emerald-tint); color: var(--emerald); }
.cw-row.is-out > i { background: var(--danger-tint); color: var(--danger); }
.cw-row__main { display: grid; min-width: 0; }
.cw-row__main strong { overflow: hidden; color: var(--text); font-size: .9rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.cw-row__main span { overflow: hidden; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.cw-row__side { display: grid; justify-items: end; }
.cw-row__side strong { font-variant-numeric: tabular-nums; }
.cw-row.is-in .cw-row__side strong { color: var(--emerald); }
.cw-row.is-out .cw-row__side strong { color: var(--danger); }
.cw-row__side span { color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; }

.cw-kyc__text { color: var(--text); font-size: .92rem; }
.cw-rules { display: grid; gap: .5rem; padding-left: 1.1rem; color: var(--text); font-size: .9rem; }
.cw-rules li::marker { color: var(--gold); }

.cw-find { display: flex; gap: .5rem; }
.cw-find .au-input { flex: 1; }
.cw-find .pf-btn { min-height: 52px; }
.cw-people { list-style: none; display: grid; gap: .5rem; margin-bottom: .5rem; }
.cw-person { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.cw-person:hover:not([disabled]) { border-color: var(--navy); background: var(--navy-tint); }
.cw-person[disabled] { opacity: .6; cursor: not-allowed; }
.cw-person .pt-avatar { width: 38px; height: 38px; }
.cw-person__text { display: grid; flex: 1; min-width: 0; }
.cw-person__text span { color: var(--muted); font-size: .8rem; }
.cw-calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: -.25rem 0 1rem; padding: .75rem; border-radius: 10px; background: var(--bg); }
.cw-calc dt { color: var(--muted); font-size: .72rem; }
.cw-calc dd { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cw-filter { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }

@media (max-width: 900px) {
    .cw-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .cw-hero { padding: 1.25rem; }
    .cw-row { grid-template-columns: auto minmax(0, 1fr); }
    .cw-row__side { grid-column: 2; justify-items: start; grid-auto-flow: column; gap: .75rem; align-items: baseline; }
    .cw-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cw-filter .hc-filter__go { grid-column: 1 / -1; }
}

/* ═════════════ Equipment Subsidy ═════════════ */
.eq-calc { margin: 1rem 0 0; }


/* ═════════════ Marketplace ═════════════ */
.mk-pending { background: var(--gold-tint); color: #6B5216; }
.mk-pending a { color: inherit; font-weight: 700; }
.mk-filter { display: flex; gap: .5rem; margin: 0 0 .75rem; }
.mk-filter .au-input { flex: 1; }
.mk-filter .pf-btn { min-height: 52px; }
.mk-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.mk-chips a { padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: .85rem; font-weight: 600; text-decoration: none; }
.mk-chips a:hover { border-color: var(--navy); }
.mk-chips a.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.mk-empty { margin-bottom: 1.25rem; }
.mk-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.mk-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.mk-card__img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.mk-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: .75rem; object-fit: contain; }
.mk-card__img > i { color: var(--muted); font-size: 2.5rem; }
.mk-card__img img + i { display: none; }
.mk-card.is-off .mk-card__img img { opacity: .6; }
.mk-tag { position: absolute; top: .6rem; left: .6rem; padding: .15rem .55rem; border-radius: 999px; background: var(--emerald); color: #fff; font-size: .72rem; font-weight: 700; }
.mk-tag--soon { background: var(--gold); color: var(--navy); }
.mk-tag--out { background: var(--muted); }
.mk-card__body { display: flex; flex: 1; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1rem; }
.mk-card__cat { color: var(--muted); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.mk-card__body h3 { color: var(--text); font-size: .98rem; font-weight: 700; line-height: 1.35; }
.mk-card__desc { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .82rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mk-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; margin-top: auto; padding-top: .35rem; }
.mk-price strong { color: var(--navy); font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.mk-price s { color: var(--muted); font-size: .85rem; }
.mk-price span { color: var(--muted); font-size: .75rem; }
.mk-card .pf-btn { width: 100%; justify-content: center; margin-top: .4rem; }
.mk-card .pf-btn[disabled] { opacity: .6; cursor: not-allowed; }
.mk-sum { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; padding: .75rem; border-radius: 12px; background: var(--bg); }
.mk-sum > div { display: grid; min-width: 0; }
.mk-sum strong { color: var(--text); font-size: .95rem; }
.mk-sum span { color: var(--muted); font-size: .85rem; }
.mk-sum__img { position: relative; display: grid; flex: none; place-items: center; overflow: hidden; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mk-sum__img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.mk-sum__img > i { color: var(--muted); font-size: 1.4rem; }
.mk-sum__img img:not([hidden]) + i { display: none; }
.mk-pay { display: grid; gap: .6rem; margin: 0 0 1rem; padding: 0; border: 0; }
.mk-pay legend { margin-bottom: .5rem; color: var(--text); font-size: .9rem; font-weight: 700; }
.mk-opt { display: flex; gap: .75rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.mk-opt:has(input:checked) { border-color: var(--navy); background: var(--navy-tint); }
.mk-opt.is-off { opacity: .6; cursor: not-allowed; }
.mk-opt input { margin-top: .2rem; accent-color: var(--navy); }
.mk-opt > span { display: grid; gap: .15rem; }
.mk-opt strong { color: var(--text); font-size: .92rem; }
.mk-opt em { color: var(--muted); font-size: .82rem; font-style: normal; }
.mk-opt em b { color: var(--navy); font-variant-numeric: tabular-nums; }
.mk-opt small { color: var(--danger); font-size: .78rem; }
.mk-orders { list-style: none; display: grid; gap: .6rem; }
.mk-order { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; }
.mk-order:hover { border-color: var(--navy); }
.mk-order__main { display: grid; gap: .15rem; min-width: 0; }
.mk-order__main strong { overflow: hidden; color: var(--text); font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.mk-order__main > span { color: var(--muted); font-size: .78rem; }
.mk-steps { display: flex; gap: 4px; margin-top: .3rem; }
.mk-steps i { width: 34px; height: 4px; border-radius: 4px; background: var(--line); }
.mk-steps i.is-on { background: var(--emerald); }
.mk-steps i.is-bad { background: var(--danger-tint); }
@media (max-width: 560px) {
    .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .mk-card__body { padding: .7rem; }
    .mk-card__body h3 { font-size: .88rem; }
    .mk-price strong { font-size: 1.05rem; }
    .mk-card__desc { display: none; }
    .mk-order { grid-template-columns: auto minmax(0, 1fr); }
    .mk-order .hc-row__side { grid-column: 2; justify-items: start; grid-auto-flow: column; gap: .75rem; align-items: center; }
}

/* ═════════════ B2B Services (launching soon) ═════════════ */
.b2b-hero { grid-template-columns: minmax(0, 1fr) auto; }
.b2b-soon { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; margin-bottom: .6rem; padding: .25rem .75rem; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.b2b-badge { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.b2b-badge > i { color: var(--gold); font-size: 3.5rem; }
.b2b-badge span { position: absolute; bottom: -.4rem; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .7rem; border-radius: 999px; background: var(--emerald); color: #fff; font-size: .78rem; font-weight: 700; }
.b2b-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.b2b-list li { display: flex; gap: .7rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; }
.b2b-list li > i { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy-tint); color: var(--navy); font-size: 1.1rem; }
.b2b-list li > span { display: grid; gap: .1rem; min-width: 0; }
.b2b-list strong { color: var(--text); font-size: .9rem; }
.b2b-list span span { color: var(--muted); font-size: .8rem; }
.b2b-wallet { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: 10px; background: var(--bg); color: var(--text); font-size: .9rem; }
.b2b-wallet strong { color: var(--navy); }
.hm-card .hc-track + .pf-btn { margin-top: 1rem; }
.b2b-more { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.b2b-more a { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-weight: 600; text-decoration: none; }
.b2b-more a:hover { border-color: var(--navy); }
.b2b-more a.is-on { border-color: var(--navy); background: var(--navy-tint); }
.b2b-more a i { color: var(--emerald); font-size: 1.15rem; }
.b2b-more em { margin-left: auto; padding: .05rem .5rem; border-radius: 999px; background: var(--gold-tint); color: #8A6A1F; font-size: .7rem; font-style: normal; font-weight: 700; }
@media (max-width: 760px) {
    .b2b-hero { grid-template-columns: minmax(0, 1fr); }
    .b2b-badge { display: none; }
    .b2b-list, .b2b-more { grid-template-columns: minmax(0, 1fr); }
}

/* ═════════════ Transactions ═════════════ */
.tx-count { color: var(--muted); font-size: .85rem; }
.tx-filter { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)) auto; gap: 0 .75rem; align-items: end; margin-bottom: 1rem; }
.tx-row .cw-row__side { gap: .25rem; }
.tx-row .tx-ids { color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
    .tx-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tx-filter__q { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .tx-filter .hc-filter__go { grid-column: 1 / -1; }
}

/* ═════════════ Profit Share ═════════════ */
.ps-dots { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.ps-dots li { display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #B5C3D6; font-size: .75rem; font-weight: 700; }
.ps-dots li.is-on { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.ps-dots li.is-next { border-color: var(--gold); color: var(--gold); }
.ps-next { display: grid; gap: .35rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--bg); }
.ps-next strong { color: var(--navy); font-size: 1.8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ps-next span { color: var(--text); font-size: .92rem; }
.ps-next em { color: var(--muted); font-size: .82rem; font-style: normal; }
.ps-list { list-style: none; display: grid; gap: .5rem; }
.ps-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; }
.ps-row__no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--muted); font-weight: 800; }
.ps-row--ok .ps-row__no { background: var(--emerald-tint); color: var(--emerald); }
.ps-row--wait .ps-row__no { background: var(--gold-tint); color: #8A6A1F; }
.ps-row__main { display: grid; min-width: 0; }
.ps-row__main strong { color: var(--text); font-size: .92rem; }
.ps-row__main span { color: var(--muted); font-size: .78rem; }
.ps-row--soon { border-style: dashed; }
.hc-status--soon { background: var(--bg); color: var(--muted); }
@media (max-width: 560px) {
    .ps-row { grid-template-columns: auto minmax(0, 1fr); }
    .ps-row .hc-row__side { grid-column: 2; justify-items: start; grid-auto-flow: column; gap: .75rem; align-items: center; }
}

/* ═════════════ Cashback ═════════════ */
.cb-hero { grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 1.25rem; }
.cb-amount { display: grid; justify-items: center; gap: .35rem; min-width: 200px; padding: 1.25rem 1.5rem; border-radius: 16px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); text-align: center; }
.cb-amount span { color: #B5C3D6; font-size: .85rem; }
.cb-amount strong { color: var(--gold); font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.hc-checks li.is-no .bi-hourglass-split { color: #8A6A1F; }
@media (max-width: 760px) {
    .cb-hero { grid-template-columns: minmax(0, 1fr); }
    .cb-amount { justify-items: start; text-align: left; }
}

/* ═════════════ Financial Aid ═════════════ */
.fa-cats { margin-bottom: 1.25rem; }
.fa-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.fa-cat { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.fa-cat__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-tint); color: var(--navy); font-size: 1.15rem; }
.fa-cat strong { color: var(--text); font-size: .95rem; }
.fa-cat__max { color: var(--emerald); font-size: .85rem; font-weight: 700; }
.fa-cat p { color: var(--muted); font-size: .82rem; }
.fa-cat .fa-cat__docs { display: flex; gap: .35rem; color: var(--text); }
.fa-cat .fa-cat__docs i { color: var(--gold); }
.fa-cat .pf-btn { align-self: flex-start; margin-top: auto; }
.fa-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.fa-urgency { margin: 0; padding: 0; border: 0; }
.fa-urgency legend { margin-bottom: .4rem; color: var(--text); font-size: .875rem; font-weight: 600; }
.fa-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.fa-pills label { cursor: pointer; }
.fa-pills input { position: absolute; opacity: 0; pointer-events: none; }
.fa-pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--text); font-size: .875rem; font-weight: 600; }
.fa-pills input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.fa-pills input:focus-visible + span { outline: 3px solid rgba(16, 43, 80, .3); outline-offset: 2px; }
.fa-needs { display: flex; gap: .5rem; margin-bottom: .75rem; padding: .75rem 1rem; border-radius: 10px; background: var(--gold-tint); color: #5C4612; font-size: .88rem; }
.fa-needs i { color: #8A6A1F; }
.fa-docs { display: grid; gap: .75rem; }
.fa-doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; align-items: end; }
.fa-doc .au-field { margin-bottom: 0; }
.fa-reason { white-space: pre-line; }
.fa-doclist { list-style: none; display: grid; gap: .5rem; margin-bottom: 1rem; }
.fa-doclist a { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; }
.fa-doclist a:hover { border-color: var(--navy); }
.fa-doclist a > i { color: var(--emerald); font-size: 1.2rem; }
.fa-doclist a > span { display: grid; }
.fa-doclist strong { color: var(--text); font-size: .9rem; }
.fa-doclist span span { color: var(--muted); font-size: .78rem; }
.fa-add { padding-top: 1rem; border-top: 1px dashed var(--line); }
.fa-add h4 { margin-bottom: .35rem; color: var(--navy); font-size: .95rem; font-weight: 700; }
.fa-add__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: .75rem; align-items: end; margin-top: .6rem; }
.fa-add__row .au-field { margin-bottom: 0; }
.fa-add__row .pf-btn { min-height: 52px; }
@media (max-width: 700px) {
    .fa-doc, .fa-add__row { grid-template-columns: minmax(0, 1fr); }
}

/* ═════════════ Accident Claim ═════════════ */
.ac-paper li i { color: var(--navy); }
.ac-upper { text-transform: uppercase; }
.ac-stop { display: flex; gap: .9rem; margin-bottom: 1.25rem; padding: 1.1rem 1.25rem; border: 1.5px solid #E3A49B; border-radius: 14px; background: var(--danger-tint); color: #5E1710; }
.ac-stop > i { flex: none; color: var(--danger); font-size: 1.6rem; }
.ac-stop h2 { margin-bottom: .4rem; color: #7A1B11; font-size: 1.05rem; font-weight: 800; }
.ac-stop ul { display: grid; gap: .35rem; padding-left: 1.1rem; font-size: .9rem; }
.ac-agree-stop { margin-bottom: .75rem; padding: .75rem; border-radius: 10px; background: var(--danger-tint); }
.ac-confirm { display: grid; gap: .3rem; margin: 0 0 1rem; padding-left: 1.1rem; color: var(--text); font-size: .9rem; }
.ac-confirm li:last-child { color: var(--danger); font-weight: 700; }
.ac-confirm__buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.ac-danger { background: var(--danger); border-color: var(--danger); }
.ac-danger:hover { background: #8A1C12; border-color: #8A1C12; }
.pt-lock { margin-bottom: 1.25rem; }

/* ───────── Crop loss (cl-) ───────── */
.cl-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0 0 1.25rem; }
.cl-steps li { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.cl-steps li > span { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); font-weight: 800; }
.cl-steps li div { display: grid; }
.cl-steps em { color: var(--muted); font-size: .8125rem; font-style: normal; }
.cl-steps li.is-now { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.cl-steps li.is-now > span { background: var(--gold); color: var(--navy-deep); }
.cl-steps li.is-done > span { background: var(--emerald); color: #fff; }
.cl-cover { display: grid; gap: 1rem; align-content: start; }
.cl-cover__top { display: flex; gap: .85rem; align-items: center; }
.cl-cover__top div { display: grid; }
.cl-cover__top span:not(.cl-cover__icon) { color: var(--muted); font-size: .8125rem; }
.cl-cover__icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--emerald-tint); color: var(--emerald); font-size: 1.4rem; }
.cl-meter__bar { height: 10px; border-radius: 999px; background: var(--navy-tint); overflow: hidden; }
.cl-meter__bar span { display: block; height: 100%; background: var(--gold); }
.cl-meter p { margin-top: .4rem; font-size: .875rem; color: var(--muted); }
.cl-meter strong { color: var(--text); }
.cl-split { display: flex; height: 34px; border-radius: 10px; overflow: hidden; margin-bottom: .75rem; font-size: .8125rem; font-weight: 700; }
.cl-split span { display: grid; place-items: center; }
.cl-split__co { background: var(--emerald); color: #fff; }
.cl-split__me { background: var(--gold); color: var(--navy-deep); min-width: 44px; }
.cl-table-wrap { overflow-x: auto; }
.cl-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.cl-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; padding: .5rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cl-table td { padding: .65rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cl-table td small { display: block; color: var(--muted); font-size: .75rem; }
.cl-table .num { text-align: right; white-space: nowrap; }
.cl-quote { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0 .6rem; }
.cl-quote div { display: grid; gap: .15rem; padding: .75rem .85rem; border-radius: 12px; background: var(--navy-tint); }
.cl-quote span { color: var(--muted); font-size: .75rem; }
.cl-quote strong { font-size: 1.05rem; color: var(--navy); }
.cl-quote__pay { background: var(--gold-tint) !important; box-shadow: inset 0 0 0 1px var(--gold); }
.cl-quote em { font-style: normal; font-size: .75rem; color: var(--muted); }
.cl-low { color: var(--danger); font-weight: 700; }
.cl-causes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .65rem; }
.cl-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .65rem; }
.cl-label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .35rem; }
#clGps.has-file { border-color: var(--emerald); color: var(--emerald); }
@media (max-width: 720px) {
    .cl-steps { grid-template-columns: 1fr; }
    .cl-quote { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────── Wallet KYC (ky-) ───────── */
.ky-state { display: grid; justify-items: center; gap: .6rem; text-align: center; padding: 2rem 1.25rem; margin-bottom: 1.25rem; }
.ky-state > i { font-size: 2.4rem; color: var(--gold); }
.ky-state--ok > i { color: var(--emerald); }
.ky-state--bad > i { color: var(--danger); }
.ky-state p { max-width: 560px; color: var(--muted); }
.ky-state .hm-facts, .ky-state .cl-meter { width: 100%; max-width: 520px; text-align: left; }
.ky-track { display: flex; gap: 1.5rem; list-style: none; margin-top: .5rem; }
.ky-track li { display: grid; justify-items: center; gap: .3rem; font-size: .8125rem; color: var(--muted); }
.ky-track i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); }
.ky-track .is-done i { border-color: var(--emerald); background: var(--emerald-tint); color: var(--emerald); }
.ky-track .is-now i { border-color: var(--gold); color: var(--navy); }
.ky-steps { scroll-margin-top: 90px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; list-style: none; margin: 0 0 1rem; }
.ky-steps li { display: grid; justify-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; color: var(--muted); text-align: center; }
.ky-steps i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); font-size: 1rem; }
.ky-steps .is-now { color: var(--navy); }
.ky-steps .is-now i { border-color: var(--gold); background: var(--gold-tint); color: var(--navy); }
.ky-steps .is-done i { border-color: var(--emerald); background: var(--emerald); color: #fff; }
.ky-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.ky-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .65rem; margin-top: .75rem; }
.ky-shot img { width: 56px; height: 40px; object-fit: cover; border-radius: 6px; }
.ky-upper { text-transform: uppercase; letter-spacing: .08em; }
.ky-cam { display: grid; gap: .75rem; }
.ky-stage { position: relative; aspect-ratio: 4 / 3; max-width: 480px; width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--navy-deep); display: grid; place-items: center; }
.ky-stage video, .ky-stage img { width: 100%; height: 100%; object-fit: cover; }
.ky-stage--face video { transform: scaleX(-1); }
.ky-idle { display: grid; justify-items: center; gap: .4rem; color: #C9D4E3; }
.ky-idle i { font-size: 2rem; }
.ky-guide { position: absolute; inset: 12% 26%; border: 3px dashed rgba(201, 163, 78, .9); border-radius: 50%; pointer-events: none; }
.ky-rec { position: absolute; top: .6rem; left: .6rem; display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .75rem; font-weight: 700; }
.ky-rec > span { width: 9px; height: 9px; border-radius: 50%; background: #E5484D; animation: ky-blink 1s infinite; }
@keyframes ky-blink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .ky-rec > span { animation: none; } }
.ky-bar { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.ky-script { border: 1px solid var(--gold); background: var(--gold-tint); border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1rem; }
.ky-script p { font-size: 1rem; line-height: 1.7; color: var(--navy-deep); }
.ky-script__tabs { display: flex; gap: .35rem; margin-bottom: .6rem; }
.ky-script__tabs button { min-height: 36px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; cursor: pointer; }
.ky-script__tabs .is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.ky-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 1rem 0; }
.ky-thumbs figure { margin: 0; display: grid; gap: .25rem; justify-items: center; font-size: .75rem; color: var(--muted); }
.ky-thumbs img, .ky-thumbs i { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--navy-tint); display: grid; place-items: center; font-size: 1.6rem; color: var(--navy); }
.ky-row { cursor: default; }
.ky-remark { color: var(--danger); font-size: .8125rem; }
.ky-links { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .8125rem; }
@media (max-width: 720px) {
    .ky-steps span { display: none; }
    .ky-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Coin transfer KYC rule */
.cw-person[data-blocked] { cursor: default; opacity: .85; }
.cw-person__kyc { display: block; margin-top: .2rem; color: var(--danger); font-size: .8125rem; }
.cw-kyc-badge { color: var(--emerald); font-size: .85em; }
.ds-gap { margin-top: 1rem; }
.cw-actions .cw-seller { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.cw-actions .cw-seller:hover { background: rgba(255, 255, 255, .12); }

/* ───────── Transfer to bank (bt-) and Buy DigiSeed (by-) ───────── */
.cw-link { text-decoration: none; border-style: solid; color: #fff; font-weight: 600; }
.cw-link > i:last-child { margin-left: auto; opacity: .7; }
.cw-link:hover { background: rgba(255, 255, 255, .12); }
.bt-all { border: 0; background: none; padding: 0; color: var(--emerald); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.bt-all[disabled] { color: var(--muted); cursor: default; }
.bt-bill { display: grid; gap: .1rem; margin: 1rem 0; padding: .75rem 1rem; border-radius: 12px; background: var(--navy-tint); max-width: 520px; }
.bt-bill div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .9rem; }
.bt-bill dt { color: var(--muted); }
.bt-bill dd { font-weight: 600; color: var(--text); white-space: nowrap; }
.bt-bill__sub { border-top: 1px dashed var(--line); }
.bt-bill__sub dd { color: var(--danger); }
.bt-bill__net { border-top: 1px solid var(--line); }
.bt-bill__net dt, .bt-bill__net dd { color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.bt-soon { display: grid; place-items: center; margin: .25rem 0 .75rem; }
.bt-soon i { font-size: 2.6rem; color: var(--gold); }
.bt-sum li:last-child { color: var(--text); font-weight: 400; }
.by-filter { display: grid; grid-template-columns: 2fr 1fr auto; gap: .75rem; align-items: end; margin-bottom: 1.25rem; }
.by-filter__go { display: flex; gap: .5rem; }
.by-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; list-style: none; margin: 0 0 1.25rem; }
.by-card { display: grid; gap: .6rem; align-content: start; }
.by-card__top { display: flex; gap: .75rem; align-items: center; }
.by-card__top div { display: grid; }
.by-card__top span:not(.cl-cover__icon) { color: var(--muted); font-size: .8125rem; }
.by-card__sell { font-size: .9rem; }
.by-card__addr { color: var(--muted); font-size: .8125rem; }
.by-card__badges { display: flex; flex-wrap: wrap; gap: .35rem; }
@media (max-width: 720px) { .by-filter { grid-template-columns: 1fr; } }

/* Seller price */
.ds-price { margin-bottom: 1.25rem; }
.ds-price__form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.ds-price__form .au-field { flex: 1 1 220px; max-width: 320px; }
.by-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; padding: .5rem .75rem; border-radius: 10px; background: var(--gold-tint); }
.by-card__price strong { font-size: 1.25rem; color: var(--navy); }
.by-card__price span { color: var(--muted); font-size: .85rem; }
.by-card__price em { flex-basis: 100%; font-style: normal; font-size: .78rem; color: var(--emerald); font-weight: 600; }

/* ───────── Phantom (ph-) ───────── */
.ph-addr { display: flex; gap: .9rem; align-items: center; margin-bottom: .75rem; }
.ph-addr__qr img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.ph-addr div { display: grid; gap: .3rem; min-width: 0; justify-items: start; }
.ph-addr code { font-size: .8rem; word-break: break-all; color: var(--navy); background: var(--navy-tint); padding: .3rem .5rem; border-radius: 6px; }
.ph-addr .cw-copy { color: var(--navy); border-color: var(--line); }
.ph-change summary { cursor: pointer; font-weight: 600; color: var(--emerald); margin-bottom: .75rem; }
.ph-wallet-form { display: grid; gap: .75rem; }
.ph-sig { font-size: .8125rem; }

/* ───────── DigiSeed market (sell / buy coins) ───────── */
.ds-offer__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; align-items: end; }
.ds-offer__form button { grid-column: 1 / -1; justify-self: start; }
.ds-pause { margin-top: .6rem; }
.by-filter--2 { grid-template-columns: 1fr auto; }
.by-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; font-size: .8125rem; }
.by-card__facts dt { color: var(--muted); }
.by-card__facts dd { font-weight: 700; color: var(--text); }
.co-timer { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 10px; background: var(--gold-tint); color: var(--navy); margin-top: .75rem; }
.co-timer.is-over { background: var(--danger-tint); color: var(--danger); }
.co-proof img { max-width: 260px; max-height: 360px; border-radius: 10px; border: 1px solid var(--line); }
.co-actions { display: grid; gap: .75rem; margin-bottom: 1.25rem; }
.co-dispute summary { cursor: pointer; font-weight: 600; color: var(--danger); }
.co-dispute form { display: grid; gap: .6rem; margin-top: .6rem; }
.co-cancel { margin-bottom: 1.25rem; }
@media (max-width: 720px) {
    .ds-offer__form, .by-card__facts { grid-template-columns: 1fr; }
    .by-filter--2 { grid-template-columns: 1fr; }
}

/* First sign in after the move: new password */
.np-card { max-width: 560px; margin: 0 auto 1.25rem; }
.np-form { display: grid; gap: .75rem; width: 100%; text-align: left; }
