.portal-shell {
    --ink: #15201d;
    --muted: #65736e;
    --line: #dde6e1;
    --paper: #f7faf8;
    --panel: #ffffff;
    --teal: #006c67;
    --teal-dark: #053f3b;
    --teal-soft: #e1f0ed;
    --gold: #b8872d;
    --wine: #7d2935;
    --blue: #244d70;
    --shadow: 0 24px 70px rgba(18, 32, 29, .14);
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.portal-shell * { box-sizing: border-box; }
.portal-shell a { color: inherit; text-decoration: none; }
.portal-shell img { display: block; width: 100%; height: auto; }
.portal-shell a:focus-visible,
.portal-shell button:focus-visible,
.portal-shell input:focus-visible,
.portal-shell select:focus-visible,
.portal-shell textarea:focus-visible { outline: 3px solid #f1c96f; outline-offset: 3px; }

.topbar { background: #101816; color: #dce7e2; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar-inner,
.nav-inner { max-width: 1500px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lang { display: inline-flex; gap: 8px; align-items: center; }
.lang a { color: #fff; opacity: .78; }
.lang a.active { color: #f4cf82; opacity: 1; font-weight: 800; }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(247,250,248,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 360px; min-width: 0; display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); }
.mark { width: 46px; height: 46px; min-width: 46px; border-radius: 8px; display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 22px rgba(5, 63, 59, .18); }
.mark img { width: 46px; height: 46px; object-fit: contain; }
.brand strong { display: block; white-space: nowrap; font-size: 20px; line-height: 1.1; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.25; }
.nav-links { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.35vw, 22px); font-size: 14px; color: #2d3e39; }
.nav-links a,
.nav-links span { white-space: nowrap; }
.nav-links a.active,
.nav-links span.active { color: var(--teal); font-weight: 800; }
.nav-links span.active { cursor: default; opacity: .68; }
.actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.public-mobile-nav-toggle { display: none; min-height: 38px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--teal-dark); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.public-mobile-nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.public-mobile-nav-actions { display: none; }

.hero.hero-personal-banking .hero-content { grid-template-columns: minmax(0, .82fr) minmax(420px, .7fr); }
.hero.hero-business-banking .hero-content { grid-template-columns: minmax(460px, .72fr) minmax(0, .9fr); }
.hero.hero-wealth-investments .hero-content { grid-template-columns: minmax(0, .72fr) minmax(420px, .82fr); }
.hero.hero-loans-mortgages .hero-content { grid-template-columns: minmax(0, .95fr) minmax(360px, .62fr); }
.hero.hero-cards-payments .hero-content { grid-template-columns: minmax(360px, .64fr) minmax(0, .96fr); }
.hero.hero-digital-banking .hero-content { grid-template-columns: minmax(0, .78fr) minmax(430px, .78fr); }
.hero.hero-security .hero-content { grid-template-columns: minmax(0, .72fr) minmax(430px, .82fr); }
.hero.hero-about-slovenia .hero-content { grid-template-columns: minmax(0, .86fr) minmax(380px, .68fr); }
.hero.hero-contact .hero-content,
.hero.hero-login .hero-content { grid-template-columns: minmax(0, .78fr) minmax(420px, .78fr); }

.hero.hero-business-banking .hero-bg::after,
.hero.hero-security .hero-bg::after { background: linear-gradient(90deg, rgba(6, 14, 15, .9), rgba(6, 14, 15, .58) 52%, rgba(6, 14, 15, .18)); }
.hero.hero-wealth-investments .hero-bg::after { background: linear-gradient(90deg, rgba(24, 15, 16, .86), rgba(24, 15, 16, .52) 48%, rgba(24, 15, 16, .16)); }
.hero.hero-cards-payments .hero-bg::after { background: linear-gradient(90deg, rgba(13, 25, 35, .88), rgba(13, 25, 35, .58) 48%, rgba(13, 25, 35, .16)); }
.hero.hero-contact .hero-bg::after { background: linear-gradient(90deg, rgba(16, 28, 23, .82), rgba(16, 28, 23, .46), rgba(16, 28, 23, .18)); }

.hero-art { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: rgba(255, 255, 255, .95); color: var(--ink); }
.hero-art img { height: 360px; object-fit: cover; }
.hero-art-body { padding: 24px; }
.hero-art-body h3 { margin: 0 0 10px; font-size: 24px; }
.hero-art-body p { margin: 0; color: var(--muted); line-height: 1.65; }
.hero-photo-pair { display: grid; grid-template-columns: .82fr 1.18fr; gap: 14px; align-items: end; }
.hero-photo-pair img { border-radius: 8px; height: 420px; object-fit: cover; box-shadow: var(--shadow); }
.hero-photo-pair img:first-child { height: 280px; }
.hero-panel-dark { border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(8, 17, 15, .72); padding: 24px; backdrop-filter: blur(12px); }
.hero-panel-dark .panel-line { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-panel-dark .panel-line strong { color: #fff; }
.hero-panel-dark .panel-line span { color: #bfd0ca; }
.hero-card-stack { display: grid; gap: 14px; }
.hero-mini-card { border-radius: 8px; background: rgba(255,255,255,.96); color: var(--ink); padding: 20px; box-shadow: var(--shadow); }
.hero-mini-card strong { display: block; margin-bottom: 8px; }
.hero-mini-card span { color: var(--muted); line-height: 1.55; }
.page-signals .metric { background: rgba(255,255,255,.12); }
.page-contact .metrics,
.page-login .metrics,
.page-privacy-policy .metrics,
.page-terms .metrics,
.page-cookie-notice .metrics,
.page-accessibility .metrics,
.page-regulatory-info .metrics { display: none; }

.page-band { padding: 92px 0; border-bottom: 1px solid var(--line); }
.page-band[id] { scroll-margin-top: 92px; }
.page-band.soft { background: #edf4f1; }
.page-band.white { background: #fff; }
.page-band.dark-green { background: #111b18; color: #eef8f3; }
.page-band.wine { background: #26191b; color: #fbf5f0; }
.page-band.blue { background: #132432; color: #eef7fb; }
.page-band.dark-green p,
.page-band.wine p,
.page-band.blue p { color: #c8d4cf; }
.editorial-grid { display: grid; grid-template-columns: .72fr 1fr; gap: 42px; align-items: start; }
.editorial-grid.reverse { grid-template-columns: 1fr .72fr; }
.editorial-grid.reverse .editorial-media { order: 2; }
.editorial-media img { height: 560px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.editorial-copy h2 { margin-bottom: 18px; }
.editorial-copy p { color: var(--muted); line-height: 1.75; font-size: 16px; }
.story-rail { display: grid; gap: 14px; margin-top: 26px; }
.story-rail div { border-left: 4px solid var(--gold); padding: 4px 0 4px 18px; }
.story-rail strong { display: block; margin-bottom: 5px; }
.story-rail span { color: var(--muted); line-height: 1.55; }
.masonry-services { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 18px; align-items: stretch; }
.masonry-services article { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.masonry-services article:nth-child(2) { transform: translateY(34px); }
.masonry-services img { height: 250px; object-fit: cover; }
.masonry-services article:first-child img { height: 360px; }
.masonry-services div { padding: 22px; }
.timeline-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); background: var(--line); }
.timeline-panel div { background: #fff; padding: 24px; min-height: 190px; }
.timeline-panel strong { display: block; font-size: 18px; margin-bottom: 10px; }
.timeline-panel span { color: var(--muted); line-height: 1.55; }
.security-matrix { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: stretch; }
.security-matrix img { height: 100%; min-height: 520px; object-fit: cover; border-radius: 8px; }
.security-controls { display: grid; gap: 14px; }
.security-controls div { border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 22px; background: rgba(255,255,255,.05); }
.contact-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-channel { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 20px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; min-height: 180px; }
.contact-channel.urgent { border-color: #e2c3c8; background: #fff7f8; }
.channel-icon { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: var(--teal-dark); color: #fff; font-weight: 900; font-size: 13px; }
.contact-channel.urgent .channel-icon { background: var(--wine); }
.contact-channel span { color: var(--gold); font-size: 12px; font-weight: 900; text-transform: uppercase; display: block; margin-bottom: 8px; }
.contact-channel strong { display: block; font-size: 18px; margin-bottom: 8px; }
.contact-channel p { margin: 0; color: var(--muted); line-height: 1.6; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: stretch; }
.contact-card { border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow); }
.contact-card .field-line { height: 52px; }
.contact-form { display: grid; gap: 16px; margin-top: 22px; }
.contact-form label { display: grid; gap: 8px; font-weight: 800; color: var(--ink); }
.contact-form label span { font-size: 13px; color: #42514c; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f8faf9;
    color: var(--ink);
    font: inherit;
    padding: 0 14px;
    outline: none;
}
.contact-form input,
.contact-form select { height: 52px; }
.contact-form textarea { min-height: 118px; padding-top: 14px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,108,103,.12); background: #fff; }
.contact-note { border-left: 4px solid var(--gold); background: #fff8e8; color: #6b4b19; padding: 12px 14px; line-height: 1.55; font-size: 13px; }
.branch-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; }
.branch-copy p { color: var(--muted); line-height: 1.7; }
.branch-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.branch-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 24px; box-shadow: var(--shadow); }
.branch-card.muted { background: #f8faf9; box-shadow: none; border-style: dashed; }
.branch-card strong { display: block; font-size: 20px; margin-bottom: 10px; }
.branch-card span { display: block; color: var(--teal-dark); font-weight: 800; margin-bottom: 12px; }
.branch-card p { color: var(--muted); line-height: 1.6; margin: 0; }
.login-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.login-steps { display: grid; gap: 14px; }
.login-steps div { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: #fff; }
.login-steps strong { display: block; margin-bottom: 8px; color: var(--teal-dark); }
.login-steps span { display: block; color: var(--muted); line-height: 1.58; }
.login-alert { border-left: 4px solid var(--gold); background: #fff8e8; color: #6b4b19; padding: 12px 14px; line-height: 1.5; font-size: 13px; margin: 14px 0 4px; }
.onboarding-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 32px; align-items: start; }
.onboarding-intro { position: sticky; top: 104px; }
.trust-list { display: grid; gap: 14px; margin-top: 24px; }
.trust-list div { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 18px; }
.trust-list strong { display: block; margin-bottom: 7px; }
.trust-list span { color: var(--muted); line-height: 1.55; }
.questionnaire-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 26px; display: grid; gap: 22px; }
.questionnaire-card fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: grid; gap: 14px; margin: 0; }
.questionnaire-card legend { padding: 0 8px; font-weight: 900; color: var(--teal-dark); }
.questionnaire-card label { display: grid; gap: 8px; font-weight: 800; }
.questionnaire-card label span { color: #42514c; font-size: 13px; }
.questionnaire-card input,
.questionnaire-card select,
.questionnaire-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: #f8faf9; color: var(--ink); font: inherit; padding: 0 14px; }
.questionnaire-card input,
.questionnaire-card select { height: 50px; }
.questionnaire-card textarea { min-height: 110px; padding-top: 14px; resize: vertical; }
.questionnaire-card .choice-line { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-weight: 700; color: var(--muted); line-height: 1.55; }
.questionnaire-card .choice-line input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--teal); }
.questionnaire-card .choice-line span { font-size: 13px; color: var(--muted); }
.questionnaire-card .has-error input,
.questionnaire-card .has-error select,
.questionnaire-card .has-error textarea { border-color: #a8323b; background: #fff7f8; }
.field-error { color: #8d2630; font-size: 12px; line-height: 1.35; font-weight: 800; }
.form-status { border: 1px solid #bddbd4; border-left: 5px solid var(--teal); border-radius: 8px; background: #eef8f5; padding: 16px; display: grid; gap: 6px; }
.form-status strong { color: var(--teal-dark); }
.form-status span { color: var(--muted); line-height: 1.55; }
.application-success-layout { max-width: 860px; }
.application-success-card {
    border: 1px solid var(--line);
    border-top: 5px solid var(--gold);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 36px;
}
.application-success-card h2 { margin-bottom: 16px; }
.application-success-card p { color: var(--muted); line-height: 1.7; }
.application-reference-box {
    margin: 24px 0;
    border: 1px solid #bddbd4;
    border-left: 5px solid var(--teal);
    border-radius: 8px;
    background: #eef8f5;
    padding: 16px 18px;
    display: grid;
    gap: 7px;
}
.application-reference-box span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.application-reference-box strong {
    color: var(--teal-dark);
    font-size: 26px;
    overflow-wrap: anywhere;
}
.application-countdown {
    border-left: 4px solid var(--gold);
    background: #fff8e8;
    color: #684816;
    padding: 12px 14px;
}
.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.legal-nav { position: sticky; top: 104px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 18px; display: grid; gap: 8px; }
.legal-nav strong { margin-bottom: 8px; color: var(--teal-dark); }
.legal-nav a { padding: 10px 12px; border-radius: 7px; background: #f3f7f5; color: #273630; font-weight: 800; }
.legal-copy { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 34px; box-shadow: var(--shadow); }
.legal-copy > p { color: var(--muted); line-height: 1.75; font-size: 16px; }
.legal-blocks { display: grid; gap: 18px; margin-top: 28px; }
.legal-blocks div { border-top: 1px solid var(--line); padding-top: 18px; }
.legal-blocks h3 { margin: 0 0 8px; }
.legal-blocks p { margin: 0; color: var(--muted); line-height: 1.7; }
.portal-shell { background: #f4f8f6; color: var(--ink); min-height: 100vh; }
.portal-shell.console { background: #f7f5f1; }
.portal-public-top { min-height: 30px; background: #101816; color: #dce7e2; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 24px; font-size: 11px; }
.portal-top { min-height: 70px; padding: 12px 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(180%) blur(12px); }
.portal-top.login-only { grid-template-columns: auto auto; justify-content: space-between; }
.portal-top .brand { min-width: 220px; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; }
.portal-top .brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 700; }
.portal-top .mark { width: 42px; height: 42px; min-width: 42px; border-radius: 8px; display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 22px rgba(5, 63, 59, .18); }
.portal-top .mark img { width: 42px; height: 42px; object-fit: contain; display: block; }
.portal-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.portal-nav a,
.language-switch a { color: var(--ink); text-decoration: none; border: 1px solid transparent; border-radius: 8px; padding: 10px 12px; font-weight: 800; font-size: 13px; }
.portal-public-top .language-switch a { color: #fff; opacity: .78; padding: 4px 6px; }
.portal-nav a.active,
.portal-nav a:hover,
.language-switch a.active { border-color: var(--line); background: #f5faf8; color: var(--teal-dark); }
.portal-public-top .language-switch a.active { color: #f4cf82; opacity: 1; background: transparent; border-color: transparent; }
.language-switch { display: flex; gap: 6px; justify-content: flex-end; }
.portal-login-status { color: var(--teal-dark); font-weight: 900; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; background: #f8fbfa; }
.auth-entry main { background: linear-gradient(90deg, rgba(9,25,21,.88), rgba(9,25,21,.62) 48%, rgba(9,25,21,.28)), url("https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&w=1800&q=85"); background-size: cover; background-position: center; }
.auth-entry.console main { background-image: linear-gradient(90deg, rgba(9,25,21,.88), rgba(9,25,21,.66) 48%, rgba(9,25,21,.32)), url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=85"); }
.portal-hero { max-width: 1180px; margin: 42px auto 0; padding: 38px; display: grid; grid-template-columns: 1fr 420px; gap: 34px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.portal-hero.compact { display: block; }
.portal-hero.console-panel { border-top: 5px solid var(--gold); }
.portal-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: .98; margin: 0 0 18px; }
.portal-hero p { color: var(--muted); line-height: 1.75; max-width: 760px; }
.portal-form { display: grid; gap: 16px; padding: 24px; background: #f8fbfa; border: 1px solid var(--line); border-radius: 8px; }
.portal-form label { display: grid; gap: 8px; font-weight: 900; color: var(--teal-dark); }
.portal-form input { height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; }
.portal-form p { font-size: 13px; margin: 0; }
.portal-login-hero { max-width: 1220px; min-height: calc(100vh - 226px); margin: 0 auto; padding: 58px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 42px; align-items: center; }
.portal-login-copy h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin: 0 0 18px; max-width: 720px; }

.portal-login-copy h1 { color: #fff; }
.portal-login-copy > p { color: #dbe8e3; line-height: 1.75; font-size: 18px; max-width: 680px; }
.portal-login-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.portal-login-points article { border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.94); padding: 18px; min-height: 150px; box-shadow: 0 14px 38px rgba(18,32,29,.16); }
.portal-login-points strong { display: block; color: var(--teal-dark); margin-bottom: 8px; }
.portal-login-points span { color: var(--muted); line-height: 1.55; font-size: 13px; }
.portal-login-card { background: #fff; box-shadow: var(--shadow); padding: 30px; }
.portal-login-card h2 { font-size: 28px; margin: 0 0 4px; }
.secured-login-form {
    display: grid;
    gap: 14px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--gold);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.secured-login-form svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.secured-open-account {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--teal);
    border-radius: 7px;
    background: #fff;
    color: var(--teal);
    font-size: 14px;
    font-weight: 900;
}
.secured-ssl-banner {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid var(--gold);
    border-radius: 7px;
    background: #fff8e8;
    color: #684816;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 800;
}
.secured-field {
    display: grid;
    gap: 8px;
    color: var(--teal-dark);
    font-size: 14px;
}
.secured-field > span {
    font-size: 13px;
    font-weight: 900;
}
.secured-field em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    line-height: 1.3;
}
.secured-input-wrap {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfa;
    overflow: hidden;
}
.secured-password-wrap { grid-template-columns: 40px minmax(0, 1fr) auto; }
.secured-input-wrap svg {
    justify-self: center;
    color: var(--teal-dark);
}
.secured-input-wrap input,
.secured-captcha-input {
    width: 100%;
    height: 48px;
    border: 0;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 0 16px;
    outline: none;
}
.secured-input-wrap input {
    border-left: 1px solid #e4e7ee;
}
.secured-password-toggle {
    align-self: stretch;
    min-width: 88px;
    border: 0;
    border-left: 1px solid #e4e7ee;
    background: #fff;
    color: var(--teal-dark);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    padding: 0 10px;
    cursor: pointer;
    white-space: nowrap;
}
.secured-password-toggle:hover { background: #eef8f5; }
.secured-password-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.secured-input-wrap:focus-within,
.secured-captcha-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 108, 103, .12);
}
.secured-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.secured-captcha-code {
    width: 150px;
    min-height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(18, 32, 29, .1);
    color: var(--teal-dark);
    font: 900 24px/1 Georgia, "Times New Roman", serif;
    letter-spacing: .18em;
}
.secured-refresh {
    width: 36px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--teal-dark);
}
.secured-captcha-input {
    border: 1px solid var(--line);
    border-radius: 8px;
}
.secured-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 14px;
}
.secured-remember input {
    width: 13px;
    height: 13px;
    accent-color: var(--teal);
}
.secured-submit {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 7px;
    background: var(--teal);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}
.secured-login-links {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding-top: 8px;
    font-size: 12px;
}
.secured-login-links a,
.secured-login-links span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.secured-login-links a {
    color: var(--teal);
    font-weight: 800;
}
.secured-login-links span {
    color: var(--muted);
}
.secured-login-links svg {
    width: 14px;
    height: 14px;
}
.auth-message { border-radius: 8px; padding: 12px 14px; line-height: 1.45; font-size: 13px; font-weight: 800; }
.auth-message.error { border: 1px solid #e1b7bd; background: #fff7f8; color: #842832; }
.auth-message.success { border: 1px solid #bddbd4; background: #eef8f5; color: var(--teal-dark); }
.portal-footer { background: #0f1715; color: #aebdb7; padding: 36px 0; font-size: 13px; }
.portal-footer-inner { max-width: 1500px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.portal-footer strong { color: #fff; display: block; margin-bottom: 6px; }
.portal-copyright { margin-top: 24px; color: #d6e6df; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.footer-links a { color: #e4eee9; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-action { border: 0; padding: 0; background: transparent; color: #e4eee9; font: inherit; font-weight: 800; cursor: pointer; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 7px; font-weight: 800; font-size: 14px; white-space: nowrap; background: #fff; color: var(--ink); text-decoration: none; }
.button.primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.button.compact { min-height: 34px; padding: 0 11px; font-size: 12px; }
.consent-banner { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 80; display: none; }
.consent-banner.active { display: block; }
.consent-panel { max-width: 980px; margin: 0 auto; border: 1px solid #cbd9d4; border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 22px; color: var(--ink); }
.consent-panel h2 { font-size: 22px; margin: 0 0 8px; }
.consent-panel p { color: var(--muted); line-height: 1.6; margin: 0; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.portal-grid { max-width: 1180px; margin: 22px auto 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.portal-grid article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; min-height: 220px; }
.portal-grid h2 { margin: 0 0 12px; font-size: 22px; }
.portal-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.secure-hero { border-top: 5px solid var(--teal); }
.secured-workspace { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; padding: 12px 22px 18px; }
.secured-sidebar { position: sticky; top: 98px; align-self: start; display: grid; gap: 5px; background: #14362f; color: #fff; border-radius: 8px; padding: 10px; box-shadow: var(--shadow); }
.secured-sidebar div { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 8px; margin-bottom: 2px; }
.secured-sidebar .secured-sidebar-identity { display: grid; justify-items: center; text-align: center; max-width: 76px; margin: 0 auto 2px; }
.secured-sidebar-avatar { width: 54px; height: 54px; border-radius: 999px; object-fit: cover; border: 2px solid rgba(217,177,93,.72); background: rgba(255,255,255,.12); box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.secured-sidebar span { color: #d9b15d; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.secured-sidebar strong { display: block; margin: 5px 0; font-size: 17px; overflow-wrap: anywhere; }
.secured-sidebar p { color: rgba(255,255,255,.72); margin: 0; line-height: 1.4; font-size: 12px; overflow-wrap: anywhere; }
.secured-sidebar a { color: rgba(255,255,255,.78); text-decoration: none; border-radius: 7px; padding: 8px 9px; font-size: 13px; font-weight: 800; }
.secured-sidebar a { min-width: 0; overflow-wrap: anywhere; }
.secured-sidebar a.active,
.secured-sidebar a:hover { background: rgba(255,255,255,.1); color: #fff; }
.secured-sidebar a:focus-visible { outline: 2px solid #d9b15d; outline-offset: 2px; }
.secured-sidebar-logout { margin: 4px 0 0; }
.secured-sidebar-logout button { width: 100%; min-height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.secured-sidebar-logout button:hover { background: rgba(255,255,255,.14); }
.secured-sidebar-logout button:focus-visible { outline: 2px solid #d9b15d; outline-offset: 2px; }
.secured-main { min-width: 0; display: grid; gap: 10px; }
.secured-main .portal-hero { max-width: none; width: 100%; margin: 0; }
.secured-main .portal-hero.secure-hero { padding: 18px 20px; }
.secured-main .portal-hero.secure-hero h1 { font-size: clamp(24px, 3vw, 38px); line-height: 1.05; margin-bottom: 6px; }
.secured-main .portal-hero.secure-hero p { margin: 0; line-height: 1.45; font-size: 14px; }
.secured-mobile-nav-widget { display: none; }
.portal-shell.secured .portal-public-top { min-height: 28px; padding: 6px 18px; }
.portal-shell.secured .portal-top { min-height: 64px; padding: 10px 16px; }
.portal-shell.secured .portal-top .brand small { font-size: 10px; }
.portal-shell.secured .portal-top .mark,
.portal-shell.secured .portal-top .mark img { width: 36px; height: 36px; min-width: 36px; }
.portal-shell.secured .secure-hero { padding: 12px 14px; border-top-width: 3px; }
.portal-shell.secured .secure-hero h1 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.05; }
.portal-shell.secured .secure-hero p { max-width: 760px; margin: 7px 0 0; color: var(--muted); line-height: 1.45; font-size: 13px; }
.secured-section-shell { display: grid; gap: 12px; }
.secured-section:not(.active),
.secured-section-companion:not(.active) { display: none; }
.secured-section { scroll-margin-top: 120px; }
.secured-section-preview { scroll-margin-top: 120px; }
.secure-dashboard { max-width: none; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.customer-dashboard { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: stretch; overflow-wrap: anywhere; }
.balance-panel,
.status-stack article,
.secure-table-shell,
.workflow-card,
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.balance-panel { padding: 16px; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.balance-panel span,
.account-card span,
.profile-card span { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.balance-panel strong { display: block; font-size: clamp(28px, 3.6vw, 40px); margin: 6px 0; color: var(--teal-dark); }
.balance-panel p,
.account-card p,
.profile-card p,
.workflow-card p { color: var(--muted); line-height: 1.65; }
.secure-summary-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.secure-summary-strip div { border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; padding: 8px; }
.secure-summary-strip span { color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.secure-summary-strip strong { margin: 4px 0 0; font-size: 18px; }
.secure-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.customer-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.customer-panel-heading h2 { margin: 0; font-size: 20px; color: var(--ink); }
.balance-visibility-toggle { min-height: 32px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--teal-dark); font-size: 12px; font-weight: 900; padding: 0 11px; cursor: pointer; }
.customer-ledger-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin-top: 6px; }
.customer-ledger-line span { color: var(--muted); letter-spacing: 0; font-size: 12px; font-weight: 800; }
.customer-ledger-line strong { margin: 0; font-size: 14px; color: var(--ink); font-weight: 700; }
.customer-account-mini { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; border-radius: 8px; background: #f8fbfa; border: 1px solid var(--line); padding: 12px; }
.customer-account-mini span { color: var(--muted); letter-spacing: 0; }
.customer-account-mini strong { margin: 4px 0 0; font-size: clamp(12px, 2.5vw, 14px); line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; word-break: break-word; }
.customer-account-mini em { flex: 0 0 auto; font-style: normal; color: var(--teal-dark); font-size: 12px; font-weight: 900; }
.customer-identity-card { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 14px 16px; min-width: 0; }
.customer-identity-avatar { width: 56px !important; height: 56px !important; min-width: 56px; max-width: 56px; border-radius: 999px; object-fit: cover; border: 2px solid rgba(217,177,93,.72); background: #f3f7f5; box-shadow: 0 8px 18px rgba(18,32,29,.1); }
.customer-identity-card div { min-width: 0; }
.customer-identity-card span { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.customer-identity-card strong { display: block; margin: 3px 0; color: var(--ink); font-size: 20px; line-height: 1.15; overflow-wrap: anywhere; }
.customer-identity-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.customer-identity-card em { justify-self: end; max-width: 220px; color: var(--teal-dark); font-style: normal; font-size: 12px; font-weight: 900; text-align: right; overflow-wrap: anywhere; }
.customer-quick-panel,
.customer-activity-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 15px; }
.customer-quick-panel h2 { margin: 0 0 10px; font-size: 18px; }
.customer-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.customer-shortcuts a,
.customer-shortcuts span[aria-disabled="true"] { min-height: 64px; display: grid; align-content: center; gap: 4px; border: 1px solid rgba(0,108,103,.28); border-radius: 8px; padding: 10px; color: var(--teal-dark); background: #fbfdfc; text-align: center; }
.customer-shortcuts a:hover { background: #eef8f5; }
.customer-shortcuts a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.customer-shortcuts-transfer-action { position: relative; }
.customer-shortcuts-transfer-action .shortcut-action-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0 auto; color: var(--teal-dark); background: rgba(0,108,103,.08); border-radius: 999px; }
.customer-shortcuts strong { font-size: 15px; }
.customer-shortcuts span span,
.customer-shortcuts a span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.customer-action-alerts { position: relative; margin-top: 12px; }
.customer-action-alerts-toggle { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(0,108,103,.28); border-radius: 8px; background: #f8fbfa; color: var(--teal-dark); padding: 10px 12px; cursor: pointer; text-align: left; }
.customer-action-alerts-toggle span { color: var(--ink); font-size: 13px; font-weight: 900; }
.customer-action-alerts-toggle strong { flex: 0 0 auto; border-radius: 999px; background: var(--teal-dark); color: #fff; font-size: 12px; font-weight: 900; padding: 6px 10px; }
.customer-action-alerts-toggle[aria-expanded="true"] { background: #eef8f5; box-shadow: 0 0 0 3px rgba(0,108,103,.08); }
.customer-action-alerts-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; border: 1px solid rgba(0,108,103,.22); border-radius: 8px; background: #fff; box-shadow: 0 18px 40px rgba(15,36,41,.16); padding: 12px; }
.customer-action-alerts-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.customer-action-alerts-head span { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.customer-action-alerts-head button { border: 0; background: transparent; color: var(--teal-dark); font-size: 12px; font-weight: 900; cursor: pointer; padding: 4px 0; }
.customer-action-alerts-list { display: grid; gap: 8px; margin-top: 10px; }
.customer-action-alerts-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdfc; padding: 9px 10px; }
.customer-action-alerts-list span { color: var(--muted); font-size: 12px; font-weight: 800; }
.customer-action-alerts-list strong { flex: 0 0 auto; min-width: 28px; min-height: 28px; display: inline-grid; place-items: center; border-radius: 999px; background: #fff8e8; color: #7a4e0e; font-size: 13px; font-weight: 900; }
.customer-bank-notice { margin-top: 12px; border-left: 4px solid var(--gold); border-radius: 8px; background: #fff8e8; padding: 12px; }
.customer-bank-notice span { color: #7a4e0e; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.customer-bank-notice strong { display: block; margin: 5px 0; color: var(--ink); }
.customer-bank-notice p { margin: 0; color: var(--muted); line-height: 1.45; font-size: 13px; }
.customer-activity-panel { display: grid; gap: 12px; }
.customer-activity-list { display: grid; }
.customer-activity-list div { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.customer-activity-list div:last-child { border-bottom: 0; }
.customer-activity-list span,
.customer-activity-list small { color: var(--muted); font-size: 12px; font-weight: 800; }
.customer-activity-list strong { color: var(--ink); overflow-wrap: anywhere; }
.customer-activity-list em { color: var(--teal-dark); font-style: normal; font-weight: 900; }
.customer-activity-list .transaction-context-wrap { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.customer-activity-list .transaction-context { display: block; color: var(--ink); font-size: 13px; font-weight: 600; min-width: 0; overflow-wrap: break-word; }
.customer-activity-list .transaction-reference { display: block; color: var(--muted); font-size: 12px; font-weight: 400; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.customer-activity-list .transaction-date { color: var(--muted); font-size: 12px; }
.customer-activity-list .transaction-amount { color: var(--teal-dark); font-size: 16px; font-weight: 900; }
.customer-activity-list .transaction-status-badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.account-portfolio-card .transaction-reference { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 5px; overflow-wrap: anywhere; }
.transaction-description-label { display: block; color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.secure-table td.transaction-amount { color: var(--teal-dark); font-weight: 900; }
.secure-table td.transaction-status-cell .transaction-status-badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-stack { display: grid; gap: 10px; }
.status-stack article { padding: 16px; min-height: 0; }
.status-stack span { display: block; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.status-stack strong { display: block; color: var(--teal-dark); font-size: 20px; margin: 5px 0; }
.secure-grid { margin-top: 0; margin-bottom: 0; gap: 12px; }
.portal-grid.secure-grid article { min-height: 0; padding: 16px; }
.portal-grid.secure-grid h2 { font-size: 17px; margin-bottom: 8px; }
.secure-grid article strong { display: block; color: var(--teal-dark); font-size: 20px; margin-top: 10px; }
.secure-grid article .button { margin-top: 10px; }
.secure-table-shell { max-width: none; margin: 0; padding: 16px; }
.account-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.account-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #f8fbfa; }
.account-card h2 { font-size: 18px; margin: 8px 0 12px; overflow-wrap: anywhere; }
.account-card div { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.account-card strong { color: var(--teal-dark); font-size: 20px; }
.account-card em { font-style: normal; font-weight: 900; color: var(--teal); }
.account-card .button { margin-top: 8px; justify-self: start; }
.account-card .account-balance-line { margin: -4px 0 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.account-card .account-balance-line span { color: var(--muted); letter-spacing: 0; text-transform: none; }
.account-card .account-balance-line strong { font-size: 15px; color: var(--ink); }
.account-summary-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.account-summary-panel h2 { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 20px; }
.account-summary-panel > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.account-summary-panel section { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.account-summary-panel section:last-child { border-right: 0; }
.account-summary-panel span,
.account-portfolio-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.account-summary-panel strong,
.account-portfolio-card strong { display: block; margin-top: 5px; color: var(--teal-dark); font-size: 18px; overflow-wrap: anywhere; }
.account-summary-panel.compact > div { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.account-summary-panel.compact strong { font-size: 24px; }
.account-portfolio-list { display: grid; gap: 10px; margin-bottom: 12px; }
.account-portfolio-card { display: grid; grid-template-columns: 1.35fr 1fr 1.15fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; padding: 14px; }
.account-portfolio-card small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.account-inline-action { margin-top: 8px; }
.account-portfolio-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; min-width: 190px; }
.account-portfolio-actions span { width: 100%; text-align: right; }
.transaction-filter-panel { display: grid; grid-template-columns: 1fr 1fr 1.1fr 1.1fr .7fr auto; gap: 10px; align-items: end; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; }
.transaction-filter-panel label { color: var(--ink); font-weight: 700; }
.transaction-filter-panel input,
.transaction-filter-panel select { margin-top: 7px; min-height: 40px; }
.transaction-filter-actions { display: flex; gap: 8px; align-items: center; padding-bottom: 1px; }
.secure-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.secure-preview-grid article { min-height: 0; display: grid; align-content: start; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; padding: 14px; }
.secure-preview-grid span { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.secure-preview-grid strong { color: var(--teal-dark); font-size: 21px; overflow-wrap: anywhere; }
.secure-preview-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.card-ops-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; align-items: start; }
.card-primary-stack,
.card-secondary-stack { display: grid; gap: 10px; align-items: start; }
.card-visual-panel,
.card-info-panel,
.card-controls-panel,
.card-secondary-stack article,
.card-services-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.card-visual-panel { display: grid; place-items: center; min-height: 205px; background: #eef8f5; }
.bank-card-preview { width: min(330px, 88%); aspect-ratio: 1.62; border-radius: 16px; padding: 22px; color: var(--teal-dark); background: #d8f0ec; border: 1px solid #bddbd4; box-shadow: 0 18px 32px rgba(13,34,30,.16); display: grid; align-content: space-between; }
.bank-card-top,
.bank-card-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.bank-card-top span,
.bank-card-bottom span { font-size: 11px; font-weight: 900; letter-spacing: .03em; }
.bank-card-top em { border-radius: 999px; background: #fff; color: var(--teal-dark); padding: 4px 9px; font-size: 11px; font-style: normal; font-weight: 900; }
.bank-card-chip { width: 38px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #f8d575, #b88920); }
.bank-card-preview strong { font-size: 19px; letter-spacing: .08em; }
.bank-card-bottom b { display: block; margin-top: 5px; font-size: 12px; letter-spacing: 0; overflow-wrap: anywhere; }
.card-info-panel,
.card-controls-panel,
.card-services-panel,
.card-secondary-stack article,
.card-side-stack article { padding: 14px; }
.card-info-panel h3,
.card-controls-panel h3,
.card-controls-panel h4,
.card-side-stack h3,
.card-services-panel h3 { margin: 0 0 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
.card-info-grid,
.card-limit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.card-info-grid span,
.card-limit-grid label { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.card-info-grid strong,
.card-limit-grid span { display: block; margin-top: 3px; color: var(--ink); font-size: 14px; font-weight: 600; }
.card-request-form { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(220px, 1.25fr) auto; gap: 10px; align-items: end; margin: 0 0 14px; }
.card-request-form label { min-width: 0; display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.card-request-form label span { color: var(--muted); font-size: 12px; font-weight: 600; }
.card-request-form select,
.card-request-form input,
.card-request-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: #f8fbfa; color: var(--ink); font: inherit; font-size: 13px; }
.card-request-form select,
.card-request-form input { height: 38px; padding: 0 10px; }
.card-request-form textarea { min-height: 72px; padding: 9px 10px; resize: vertical; }
.card-request-form .button { min-height: 38px; align-self: end; white-space: normal; }
.card-action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.card-action-row form { max-width: 100%; min-width: 0; }
.card-action-row .button { max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; word-break: break-word; text-align: center; line-height: 1.25; }
.card-action { border: 0; border-radius: 7px; padding: 8px 12px; color: #fff; font-size: 12px; font-weight: 600; cursor: not-allowed; opacity: .82; }
.card-action.activate { background: #0f8f55; }
.card-action.block { background: #c39212; }
.card-action.cancel { background: #b83542; }
.card-limit-grid label { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fbfdfc; }
.card-limit-grid small { display: block; margin-top: 4px; color: var(--muted); }
.card-toggle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.card-toggle-grid span { color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.25; }
.card-toggle-grid i { display: inline-block; width: 24px; height: 13px; border-radius: 999px; margin-right: 6px; vertical-align: -2px; background: #dbe5e2; }
.usage-row { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 5px; column-gap: 10px; row-gap: 5px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.usage-row:last-child { border-bottom: 0; }
.usage-row span { color: var(--muted); font-size: 12px; font-weight: 500; }
.usage-row strong { text-align: right; color: var(--ink); font-size: 13px; font-weight: 600; }
.usage-row em { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: #e8eeee; display: block; }
.card-security-panel { border-top: 4px solid var(--teal); padding: 0; }
.card-security-panel > h3 { padding: 14px 18px 0; margin-bottom: 0; }
.card-security-panel div { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 12px 14px; }
.card-security-panel div:last-of-type { border-bottom: 0; }
.card-security-panel div > div { flex: 1; min-width: 0; }
.card-security-panel strong { display: block; color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.card-security-panel span { flex-shrink: 0; border-radius: 999px; background: #0f8f55; color: #fff; padding: 2px 9px; font-size: 11px; font-weight: 600; white-space: nowrap; align-self: center; }
.card-security-panel p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.card-emergency { border-radius: 8px; background: #eef8f5; border: 1px solid #bddbd4; padding: 12px; color: var(--teal-dark) !important; margin-top: 4px; }
.card-secondary-stack article > p { color: var(--muted); font-size: 13px; margin: 0; padding: 4px 0 2px; line-height: 1.6; }
.card-services-panel { margin-top: 0; }
.card-services-panel div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card-services-panel .card-request-status-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; border-radius: 8px; background: #fbfdfc; border: 1px solid var(--line); padding: 10px 12px; margin-bottom: 8px; }
.card-request-status-row strong { border-radius: 999px; background: #fff8e8; color: #7a4e0e; padding: 4px 9px; font-size: 12px; }
.card-request-status-row em { height: auto; background: transparent; color: var(--muted); font-size: 12px; }
.card-safe-note { border-left: 3px solid var(--teal); border-radius: 8px; background: #eef8f5; padding: 10px 12px; color: var(--teal-dark) !important; }
.card-safe-note span { display: block; margin-bottom: 3px; color: var(--teal-dark); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.secure-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 8px; }
.secure-table th,
.secure-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.secure-table th { color: var(--teal-dark); font-size: 12px; text-transform: uppercase; background: #f3f7f5; }
.table-sort-button { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 900; text-transform: inherit; padding: 0; cursor: pointer; }
.secure-table td:last-child { font-weight: 900; color: var(--teal-dark); }
.secure-table td.action-cell { white-space: normal; }
.secure-table tbody tr td.transaction-amount { font-size: 16px; font-weight: 900; color: var(--teal-dark); }
.secure-table tbody tr td.transaction-status-cell { padding-top: 0; }
.secure-table tbody tr td.transaction-status-cell .transaction-status-badge { min-width: auto; }
.transfer-layout,
.support-layout,
.profile-layout { max-width: none; margin: 0; display: grid; gap: 12px; }
.transfer-layout,
.support-layout { grid-template-columns: 1.1fr .9fr; align-items: start; }
.transfer-form textarea { min-height: 88px; }

/* ── Transfer section ────────────────────────────────────────────── */
.tf-layout { max-width: none; margin: 0; display: grid; gap: 14px; }

/* ── Type cards ─────────────────────────────────────────────────── */
.tf-type-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tf-type-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 16px 14px; text-align: center; cursor: pointer; transition: border-color .15s; display: flex; flex-direction: column; align-items: center; gap: 7px; min-height: 90px; justify-content: center; }
.tf-type-card:hover { border-color: var(--teal); }
.tf-type-card.active { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(0,108,103,.1); }
.tf-type-card .tf-type-icon { font-size: 22px; line-height: 1; }
.tf-type-card strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.tf-type-card > span:last-child { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* ── Body: form + sidebar ────────────────────────────────────────── */
.tf-body { display: grid; grid-template-columns: 1fr 280px; gap: 14px; align-items: start; }

.tf-form-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(9,29,24,.04); }
.tf-form-header { background: var(--teal); color: #fff; padding: 9px 16px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.tf-form-header span { font-size: 14px; }
.tf-form { padding: 16px; display: grid; gap: 12px; }
.tf-field { display: grid; gap: 4px; }
.tf-field-full { grid-column: 1 / -1; }
.tf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf-field label { font-size: 12px; font-weight: 600; color: var(--ink); }
.tf-field small { font-size: 11px; color: var(--muted); }
.tf-input, .tf-select { height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; background: #f8fbfa; font: inherit; font-size: 13px; color: var(--ink); width: 100%; }
.tf-input:focus, .tf-select:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(0,108,103,.1); outline: none; background: #fff; }
.tf-input:disabled, .tf-select:disabled { opacity: .6; cursor: not-allowed; background: #f0f0f0; }
.tf-amount-wrap { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: #f8fbfa; overflow: hidden; }
.tf-amount-wrap:focus-within { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(0,108,103,.1); background: #fff; }
.tf-currency { padding: 0 9px; font-size: 12px; font-weight: 600; color: var(--muted); border-right: 1px solid var(--line); height: 36px; display: flex; align-items: center; background: #f0f4f2; flex-shrink: 0; }
.tf-amount-input { border: 0; background: transparent; height: 36px; padding: 0 10px; font: inherit; font-size: 13px; flex: 1; outline: none; }
.tf-summary { border: 1px solid #d7e7e0; border-radius: 10px; background: linear-gradient(180deg, #fbfdfc 0%, #f5faf8 100%); padding: 13px 14px; display: grid; gap: 8px; box-shadow: inset 3px 0 0 rgba(217,177,93,.28); }
.tf-summary-title { font-size: 12px; font-weight: 800; color: var(--teal-dark); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; }
.tf-summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tf-summary-row span { font-size: 13px; color: var(--muted); }
.tf-summary-row strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.tf-summary-row.tf-summary-fee strong { color: #c0392b; }
.tf-summary-row.tf-summary-total { border-top: 1px solid var(--line); padding-top: 7px; margin-top: 2px; }
.tf-summary-row.tf-summary-total strong { font-size: 14px; font-weight: 700; color: var(--teal-dark); }
.tf-summary-row.tf-summary-after strong { color: var(--teal-dark); font-weight: 800; }
.tf-summary-balance-shift { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #e3ede8; border-radius: 8px; background: #fff; padding: 9px 10px; margin-top: 2px; }
.tf-summary-balance-shift > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.tf-summary-balance-shift strong { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 800; text-align: right; }
.tf-summary-balance-shift em { color: var(--gold); font-style: normal; font-weight: 900; }
.tf-balance-warning { border: 1px solid #e1b7bd; border-radius: 7px; background: #fff7f8; color: #842832; font-size: 13px; font-weight: 800; line-height: 1.45; padding: 10px 12px; }
.tf-balance-warning[hidden] { display: none; }
.tf-submit-btn { width: 100%; height: 40px; font-size: 13px; font-weight: 700; border-radius: 7px; }

.tf-side-col { display: grid; gap: 12px; }
.tf-side-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; box-shadow: 0 2px 8px rgba(9,29,24,.04); }
.tf-side-heading { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.tf-side-heading span { font-size: 14px; }
.tf-side-heading h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.tf-limits-grid { display: grid; gap: 10px; }
.tf-limits-grid > div { display: grid; gap: 2px; }
.tf-limits-grid label { font-size: 11px; font-weight: 600; color: var(--muted); }
.tf-limits-grid strong { font-size: 15px; font-weight: 700; color: var(--teal-dark); }
.tf-limits-grid small { font-size: 11px; color: var(--muted); }
.tf-empty { color: var(--muted); font-size: 13px; margin: 0; text-align: center; padding: 6px 0; }
.tf-bene-list { display: grid; gap: 7px; }
.tf-bene-btn { display: flex; align-items: center; gap: 9px; width: 100%; border: 1px solid var(--line); border-radius: 7px; background: #f8fbfa; padding: 7px 10px; cursor: pointer; text-align: left; transition: background .12s; }
.tf-bene-btn:hover { background: var(--teal-soft); border-color: var(--teal); }
.tf-bene-initial { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; flex-shrink: 0; }
.tf-bene-btn strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.tf-bene-btn small { display: block; font-size: 11px; color: var(--muted); }
.tf-security-notice { border-left: 3px solid var(--gold); background: #fffdf5; }
.tf-notice-list { margin: 0; padding: 0 0 0 14px; display: grid; gap: 4px; }
.tf-notice-list li { font-size: 12px; color: var(--muted); line-height: 1.5; }
.tf-bene-btn small { display: block; font-size: 11px; color: var(--muted); }
.tf-security-notice { border-left: 4px solid var(--gold); background: #fffdf5; }
.tf-notice-list { margin: 0; padding: 0 0 0 16px; display: grid; gap: 5px; }
.tf-notice-list li { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── Transfer review modal ───────────────────────────────────────── */
.tf-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 16px; }
.tf-review-grid > div { display: grid; gap: 2px; }
.tf-review-grid span { font-size: 11px; font-weight: 600; color: var(--muted); }
.tf-review-grid strong { font-size: 13px; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.tf-review-summary { border: 1px solid var(--line); border-radius: 7px; background: #f8fbfa; padding: 12px 14px; display: grid; gap: 7px; margin-bottom: 14px; }
.tf-review-summary > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tf-review-summary span { font-size: 12px; color: var(--muted); }
.tf-review-summary strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.tf-review-fee { color: #c0392b !important; }
.tf-review-total-row { border-top: 1px solid var(--line); padding-top: 7px; margin-top: 2px; }
.tf-review-total-row strong { font-size: 15px; font-weight: 700; color: var(--teal-dark) !important; }
.tf-review-notice { font-size: 12px; color: #7a5200; margin: 0 0 14px; line-height: 1.5; border-left: 3px solid var(--gold); padding: 8px 10px; border-radius: 0 6px 6px 0; background: #fffdf5; }

/* ── Transfer workflow modal ─────────────────────────────────────── */
.tf-wf-overlay { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(10,22,18,.6); backdrop-filter: blur(3px); align-items: center; justify-content: center; padding: 24px; }
.tf-wf-overlay.open { display: flex; }
.tf-wf-shell { background: #fff; border-radius: 12px; box-shadow: 0 24px 64px rgba(10,22,18,.22); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; }
.tf-wf-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.tf-wf-label { display: block; font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.tf-wf-title { margin: 0; font-size: 18px; color: var(--ink); font-weight: 700; }
.tf-wf-close { border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--muted); padding: 2px 6px; border-radius: 6px; line-height: 1; }
.tf-wf-close:hover { background: #f3f7f5; color: var(--ink); }
.tf-wf-body { padding: 20px; flex: 1; }
.tf-wf-progress-box { display: grid; gap: 22px; justify-items: center; text-align: center; padding: 32px 0; }
.tf-wf-spinner { width: 64px; height: 64px; border: 6px solid rgba(0,108,103,.16); border-top-color: var(--teal); border-radius: 50%; animation: tf-spinner 1s linear infinite; }
.tf-wf-progress-copy strong { display: block; margin-bottom: 10px; font-size: 18px; color: var(--ink); font-weight: 700; }
.tf-wf-progress-copy p { margin: 0; color: var(--muted); line-height: 1.7; max-width: 320px; }
.tf-wf-token-box { display: grid; gap: 18px; padding: 12px 0; }
.tf-wf-token-copy { margin: 0; color: var(--muted); line-height: 1.75; }
.tf-wf-token-reason { justify-self: center; max-width: 420px; margin: -8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; text-align: center; }
.tf-wf-token-grid { display: grid; grid-template-columns: minmax(64px, 80px) 12px minmax(64px, 80px) 12px minmax(64px, 80px) 12px minmax(64px, 80px); align-items: center; justify-content: center; gap: 0 8px; }
.tf-wf-token-sep { display: inline-flex; align-items: center; justify-content: center; min-width: 12px; font-weight: 700; color: var(--muted); }
.tf-wf-token-part { width: 100%; min-width: 0; border-radius: 12px; letter-spacing: .25em; font-size: 16px; padding: 0; }
.tf-wf-token-part::placeholder { color: rgba(0, 0, 0, 0.12); }
@media (max-width: 520px) {
    .tf-wf-token-grid { grid-template-columns: minmax(48px, 1fr) 8px minmax(48px, 1fr) 8px minmax(48px, 1fr) 8px minmax(48px, 1fr); gap: 6px; }
    .tf-wf-token-sep { min-width: 8px; }
    .tf-wf-token-part { font-size: 14px; letter-spacing: .18em; }
}
@keyframes tf-spinner { to { transform: rotate(360deg); } }
.tf-wf-security-msg { font-size: 13px; color: var(--muted); margin: 0 0 16px; line-height: 1.6; padding: 10px 12px; background: #f3f7f5; border-radius: 7px; border-left: 3px solid var(--teal); }
.tf-wf-pin-field { display: grid; gap: 6px; align-items: center; justify-items: center; text-align: center; }
.tf-wf-pin-field label { font-size: 12px; font-weight: 600; color: var(--ink); }
.tf-wf-pin-row { display: grid; grid-template-columns: repeat(4, minmax(42px, 1fr)); gap: 10px; margin: 10px auto 0; max-width: 220px; width: 100%; }
.tf-wf-pin-digit { width: 100%; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 12px; text-align: center; font: inherit; font-size: 20px; font-weight: 700; background: #f8fbfa; color: var(--ink); }
.tf-wf-pin-digit:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,108,103,.1); outline: none; background: #fff; }
.tf-wf-pin-digit::-ms-reveal,
.tf-wf-pin-digit::-ms-clear { display: none; }
.tf-wf-input { height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; font: inherit; font-size: 18px; letter-spacing: .2em; text-align: center; background: #f8fbfa; width: 100%; }
.tf-wf-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,108,103,.1); outline: none; background: #fff; }
.tf-wf-pin-field small { font-size: 11px; color: var(--muted); }
.tf-wf-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 14px; }
.tf-wf-review-grid > div { display: grid; gap: 2px; }
.tf-wf-review-grid span { font-size: 11px; font-weight: 600; color: var(--muted); }
.tf-wf-review-grid strong { font-size: 13px; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.tf-wf-review-summary { border: 1px solid var(--line); border-radius: 7px; background: #f8fbfa; padding: 12px 14px; display: grid; gap: 7px; margin-bottom: 12px; }
.tf-wf-review-summary > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tf-wf-review-summary span { font-size: 12px; color: var(--muted); }
.tf-wf-review-summary strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.tf-wf-total-row { border-top: 1px solid var(--line); padding-top: 7px; margin-top: 2px; }
.tf-wf-total-row strong { font-size: 15px; font-weight: 700; color: var(--teal-dark) !important; }
.tf-wf-cancel-confirm { padding: 4px 0; }
.tf-wf-cancel-confirm p { font-size: 14px; color: var(--ink); margin: 0 0 14px; font-weight: 600; }
.tf-wf-cancel-actions { display: flex; gap: 10px; }
.tf-wf-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); background: #f8fbfa; border-radius: 0 0 12px 12px; }
.workflow-card { padding: 16px; }
.workflow-card h2 { margin-top: 0; }
.workflow-card div { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 900; }
.workflow-card div:last-child { border-bottom: 0; }
.workflow-card div span { width: 12px; height: 12px; border-radius: 999px; background: var(--gold); box-shadow: 0 0 0 5px rgba(217,177,93,.15); }
.profile-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 12px; }
.profile-left-col,
.profile-right-col { display: grid; gap: 10px; }
.profile-right-col { display: grid; gap: 10px; }
.profile-card { padding: 16px; min-height: 0; }
.profile-card strong { display: block; margin: 5px 0; color: var(--teal-dark); font-size: 16px; overflow-wrap: anywhere; }

/* Main personal info card */
.profile-main-card { padding: 18px; }
.profile-main-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.profile-main-heading > div { display: flex; align-items: center; gap: 10px; }
.profile-main-heading h3 { margin: 0; font-size: 16px; color: var(--ink); }
.profile-section-icon { font-size: 16px; color: var(--teal-dark); }
.profile-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.profile-form-full { grid-column: 1 / -1; }
.profile-form-field label { display: block; font-size: 12px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.profile-lock-icon { font-size: 11px; color: var(--muted); margin-left: 4px; }
.profile-field-value { border: 1px solid var(--line); border-radius: 7px; background: #f8fbfa; padding: 8px 10px; font-size: 14px; color: var(--ink); min-height: 34px; overflow-wrap: anywhere; }
.profile-field-area { min-height: 58px; }
.profile-form-field small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.profile-actions-row { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* Right column cards */
.profile-status-card,
.profile-notice-card,
.profile-security-mini { padding: 14px; }
.profile-status-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.profile-status-heading h3 { margin: 0; font-size: 14px; font-weight: 900; color: var(--ink); }
.profile-status-grid { display: grid; gap: 8px; }
.profile-status-grid > div { display: grid; gap: 4px; }
.profile-status-grid label { font-size: 11px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.profile-status-grid strong { font-size: 14px; color: var(--ink); font-weight: 700; }
.profile-status-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.profile-status-active, .profile-kyc-approved { background: #e2f5ee; color: #1a6644; }
.profile-status-onboarding, .profile-kyc-in_review, .profile-kyc-pending { background: #fff3cd; color: #7a5200; }
.profile-status-prospect, .profile-kyc-not_started { background: #f0f0f0; color: #555; }
.profile-status-restricted, .profile-kyc-rejected, .profile-kyc-expired { background: #fde8ea; color: #8d2630; }
.profile-notice-card { border-left: 4px solid var(--gold); background: #fffdf5; }
.profile-notice-list { margin: 0; padding: 0 0 0 16px; display: grid; gap: 4px; }
.profile-notice-list li { color: var(--muted); font-size: 13px; line-height: 1.5; }
.profile-security-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.profile-security-summary div { border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; padding: 8px 9px; }
.profile-security-summary span { display: block; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.profile-security-summary strong { margin: 4px 0 0; color: var(--teal-dark); font-size: 12px; font-weight: 900; }
.profile-security-mini-list { display: grid; gap: 6px; }
.profile-sec-btn { width: 100%; text-align: left; justify-content: flex-start; }

/* ── Avatar button & display ─────────────────────────────────────── */
.profile-avatar-btn { position: relative; border: 0; background: transparent; padding: 0; cursor: pointer; flex-shrink: 0; border-radius: 50%; width: 52px; height: 52px; min-width: 52px; max-width: 52px; display: block; overflow: hidden; }
.profile-avatar-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.profile-avatar-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 17px; font-weight: 900; display: grid; place-items: center; }
.profile-avatar-img { width: 52px !important; height: 52px !important; min-width: 52px; max-width: 52px; border-radius: 50%; object-fit: cover; display: block; }
.profile-avatar-edit-badge { position: absolute; bottom: 0; right: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 9px; display: grid; place-items: center; border: 2px solid #fff; pointer-events: none; }

/* ── Avatar modal content ────────────────────────────────────────── */
.avatar-modal-body { display: grid; gap: 14px; }
.avatar-current-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #f3f7f5; border: 1px solid var(--line); border-radius: 10px; }
.avatar-current-label { font-size: 12px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.avatar-current-img { width: 52px !important; height: 52px !important; min-width: 52px; max-width: 52px; min-height: 52px; max-height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--teal); display: block; flex-shrink: 0; }
.avatar-modal-body h4 { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.avatar-modal-body p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.avatar-drop-zone { border: 2px dashed var(--line); border-radius: 10px; min-height: 104px; display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background .15s; text-align: center; padding: 14px; position: relative; overflow: hidden; }
.avatar-drop-zone:hover, .avatar-drop-zone.drag-over { border-color: var(--teal); background: var(--teal-soft); }
.avatar-drop-zone #avatar-drop-placeholder span { font-size: 28px; display: block; margin-bottom: 6px; }
.avatar-drop-zone #avatar-drop-placeholder p { margin: 0 0 4px; font-weight: 800; color: var(--ink); }
.avatar-drop-zone #avatar-drop-placeholder small { color: var(--muted); font-size: 12px; }
.avatar-crop-workspace { display: grid; gap: 9px; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfb; padding: 10px; }
.avatar-crop-header { display: flex; justify-content: space-between; gap: 10px; align-items: center; color: var(--teal-dark); font-size: 12px; font-weight: 900; }
.avatar-crop-header label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.avatar-crop-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.avatar-crop-stage { width: min(100%, 240px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #dfe9e5; border: 1px solid var(--line); justify-self: center; touch-action: none; cursor: move; }
.avatar-preview-canvas { width: 100%; height: 100%; display: block; }
.avatar-crop-preview-wrap { width: 104px; height: 104px; border-radius: 999px; overflow: hidden; border: 3px solid var(--gold); background: #eef5f2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.avatar-circle-preview { width: 104px; height: 104px; display: block; }
.avatar-zoom-range { width: 100%; accent-color: var(--teal); }
.avatar-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.avatar-upload-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.avatar-size-warning { color: #8d2630; font-size: 13px; font-weight: 800; margin-top: 8px; background: #fde8ea; border-radius: 6px; padding: 8px 12px; }
.avatar-preset-section { border-top: 1px solid var(--line); padding-top: 16px; }
.avatar-preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(54px, 1fr)); gap: 10px; margin-top: 10px; max-height: 274px; overflow-y: auto; padding: 2px 6px 2px 2px; }
.avatar-preset-btn { width: 100%; max-width: 68px; justify-self: center; aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; color: #fff; font-size: 16px; font-weight: 900; cursor: pointer; transition: transform .15s, border-color .15s; background: transparent; padding: 0; }
.avatar-preset-btn:hover { transform: scale(1.08); }
.avatar-preset-btn.selected { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,108,103,.25); }
.alert-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.alert-list article { border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: #f8fbfa; }
.alert-list strong,
.alert-list span { display: block; }
.alert-list span { margin: 12px 0; color: var(--teal); font-weight: 900; }
.alert-list p { color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.secured-modal-overlay { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: min(20px, 5vh) 16px; background: rgba(9, 18, 16, .52); }
.secured-modal-overlay.open { display: flex; }
.secured-modal { width: min(520px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 24px; }
.secured-modal-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 16px; }
.secured-modal-header span { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.secured-modal-header h2 { margin: 4px 0 0; color: var(--teal-dark); font-size: 24px; line-height: 1.15; }
.secured-modal p { color: var(--muted); line-height: 1.65; margin: 0; }
.secured-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.secured-modal-grid div { border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; padding: 12px; }
.secured-modal-grid span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.secured-modal-grid strong { display: block; color: var(--ink); font-size: 15px; margin-top: 5px; overflow-wrap: anywhere; font-weight: 600; }
.secured-modal-grid .modal-amount strong { color: var(--teal-dark); font-size: 16px; font-weight: 900; }
.secured-modal-grid .modal-status strong { color: var(--teal-dark); font-size: 15px; font-weight: 700; }
.secured-modal-grid .modal-reference strong { color: var(--muted); font-size: 13px; font-weight: 400; }
.secured-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.secured-security-modal { width: min(560px, calc(100vw - 32px)); padding: 28px 30px 30px; }
.secured-security-copy { margin: -4px 0 18px !important; color: var(--muted); font-size: 14px; max-width: 440px; }
.secured-security-form { display: grid; gap: 16px; }
.secured-security-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, #fbfdfc, #f6faf8); }
.secured-security-field { display: grid; gap: 7px; min-width: 0; }
.secured-security-field-full { grid-column: 1 / -1; }
.secured-security-field label { display: block; color: var(--teal-dark); font-size: 11px; font-weight: 900; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; }
.secured-security-field input,
.secured-security-field textarea { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; padding: 11px 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.secured-security-field textarea { min-height: 82px; resize: vertical; }
.secured-security-form input:focus,
.secured-security-form textarea:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(0,108,103,.1); outline: none; }
.secured-security-errors { display: grid; gap: 4px; margin-bottom: 12px; }
.secured-security-modal .secured-modal-actions { position: sticky; bottom: 0; z-index: 1; margin-top: 0; padding-top: 10px; background: #fff; }
.secured-security-note { margin: -6px 0 14px; border: 1px solid #ead8ad; border-left: 4px solid var(--gold); border-radius: 8px; background: #fffaf0; color: #775718; font-size: 13px; font-weight: 800; line-height: 1.45; padding: 10px 12px; }
.secured-security-static { display: grid; gap: 14px; }
.secured-preference-list { display: grid; gap: 8px; margin: 14px 0; }
.secured-preference-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; padding: 10px 12px; color: var(--ink); font-size: 13px; font-weight: 800; }
.secured-preference-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--teal); flex: 0 0 auto; }
.secured-limit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px; }
.secured-limit-grid div { border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; padding: 10px 12px; }
.secured-limit-grid span { display: block; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.secured-limit-grid strong { display: block; margin-top: 5px; color: var(--teal-dark); font-size: 14px; overflow-wrap: anywhere; }
.secured-limit-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.secured-pin-fields { align-items: start; }
.secured-pin-box-row { display: grid; grid-template-columns: repeat(4, 44px); gap: 8px; }
.secured-pin-box-row input { width: 44px; height: 46px; min-height: 46px; padding: 0; text-align: center; font-size: 20px; font-weight: 900; line-height: 1; }
.secured-pin-box-row input::-ms-reveal,
.secured-pin-box-row input::-ms-clear { display: none; }
@media (max-width: 620px) {
    .secured-modal-overlay { align-items: flex-start; padding: 12px; }
    .secured-modal { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .secured-security-modal { padding: 24px 20px; }
    .secured-security-fields,
    .secured-limit-grid,
    .secured-limit-fields { grid-template-columns: 1fr; }
    .profile-security-summary { grid-template-columns: 1fr; }
    .secured-pin-box-row { grid-template-columns: repeat(4, minmax(42px, 1fr)); }
    .secured-pin-box-row input { width: 100%; }
}
.compact-records th,
.compact-records td { padding: 10px 12px; }
.modal-activity-list div { grid-template-columns: 96px minmax(0, 1fr) 110px 100px; }
.secured-modal-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--teal-dark); font-size: 22px; line-height: 1; cursor: pointer; }
.secured-modal-footer { display: flex; justify-content: flex-end; margin-top: 22px; }
.console-workspace { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 24px; }
.console-sidebar { position: sticky; top: 110px; align-self: start; display: grid; gap: 8px; background: #14362f; color: #fff; border-radius: 8px; padding: 18px; box-shadow: var(--shadow); }
.console-sidebar div { border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 16px; margin-bottom: 6px; }
.console-sidebar span { color: #d9b15d; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.console-sidebar strong { display: block; margin: 7px 0; font-size: 20px; }
.console-sidebar p { color: rgba(255,255,255,.72); margin: 0; line-height: 1.5; font-size: 13px; }
.console-sidebar a { color: rgba(255,255,255,.78); text-decoration: none; border-radius: 7px; padding: 11px 12px; font-weight: 800; }
.console-sidebar a.active,
.console-sidebar a:hover { background: rgba(255,255,255,.1); color: #fff; }
.console-logout-form { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); }
.console-logout-form button { width: 100%; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; background: rgba(255,255,255,.08); color: #fff; font-weight: 900; padding: 11px 12px; cursor: pointer; }
.console-logout-form button:hover { background: rgba(255,255,255,.14); }
.console-main { min-width: 0; display: grid; gap: 20px; }
.console-titlebar { display: grid; grid-template-columns: 1fr 220px; gap: 18px; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.console-titlebar h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1; margin: 0 0 12px; }
.console-titlebar p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.console-session { border: 1px solid var(--line); background: #f8fbfa; border-radius: 8px; padding: 18px; display: grid; align-content: center; }
.console-session span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.console-session strong { color: var(--teal-dark); font-size: 26px; margin-top: 8px; }
.console-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.console-metrics article,
.console-panel,
.console-cards article,
.console-kanban article { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.console-metrics article { padding: 22px; min-height: 172px; }
.console-metrics span,
.console-cards span { color: var(--gold); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.console-metrics strong { display: block; color: var(--teal-dark); font-size: 38px; margin: 8px 0; }
.console-metrics p,
.console-panel p,
.console-cards p { color: var(--muted); line-height: 1.6; margin: 0; }
.console-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.console-panel { padding: 24px; overflow: hidden; }
.console-panel.dark { background: #14362f; color: #fff; }
.console-panel.dark p { color: rgba(255,255,255,.74); }
.console-panel h2 { margin-top: 0; }
.queue-row { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.queue-row:last-child { border-bottom: 0; }
.queue-row span { width: 10px; height: 10px; border-radius: 999px; background: var(--gold); }
.queue-row strong { color: var(--teal-dark); }
.queue-row em { font-style: normal; font-size: 12px; font-weight: 900; color: var(--teal); }
.risk-score { width: 118px; height: 118px; border-radius: 999px; display: grid; place-items: center; margin-top: 24px; color: #fff; font-size: 42px; font-weight: 900; background: radial-gradient(circle at 35% 30%, #d9b15d, #8b601e); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.panel-heading h2 { margin: 0; }
.panel-heading button,
.console-cards button { border: 0; border-radius: 8px; background: var(--teal-dark); color: #fff; font-weight: 900; padding: 10px 14px; }
.console-table { width: 100%; border-collapse: collapse; }
.console-table th,
.console-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.console-table th { color: var(--teal-dark); background: #f3f7f5; font-size: 12px; text-transform: uppercase; }
.console-table small { color: var(--muted); font-weight: 700; }
.console-table td:last-child { color: var(--teal-dark); font-weight: 900; }
.metadata-preview { display: inline-block; max-width: 360px; overflow-wrap: anywhere; white-space: normal; color: var(--muted); font-size: 12px; line-height: 1.45; }
.console-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.console-kanban article { padding: 18px; min-height: 360px; background: #f8fbfa; }
.console-kanban h2 { display: flex; justify-content: space-between; gap: 12px; margin-top: 0; font-size: 20px; }
.console-kanban h2 span { color: var(--gold); }
.console-kanban div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 12px; font-weight: 900; }
.console-kanban em { display: block; margin-top: 10px; color: var(--teal); font-style: normal; font-size: 12px; }
.console-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.console-cards.branches { grid-template-columns: repeat(2, 1fr); }
.console-cards article { padding: 22px; min-height: 230px; display: grid; align-content: start; gap: 10px; }
.console-cards strong { color: var(--teal-dark); font-size: 23px; overflow-wrap: anywhere; }
.audit-timeline { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; box-shadow: var(--shadow); }
.audit-timeline article { display: grid; grid-template-columns: 18px 1fr; gap: 16px; padding: 0 0 22px; position: relative; }
.audit-timeline article:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.audit-timeline article > span { width: 12px; height: 12px; border-radius: 999px; background: var(--gold); margin-top: 4px; z-index: 1; }
.audit-timeline strong { color: var(--teal-dark); }
.audit-timeline p { color: var(--muted); margin: 6px 0 0; }
.application-review-panel .panel-heading { align-items: flex-start; }
.application-review-panel .panel-heading p { margin-top: 8px; }
.application-list { display: grid; gap: 16px; }
.application-card { border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 8px; background: #fbfdfc; padding: 20px; display: grid; gap: 18px; }
.application-card.risk-possible { border-left-color: #b67a13; background: #fffaf0; }
.application-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.application-reference { display: inline-flex; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.application-main h3 { margin: 0 0 6px; font-size: 24px; color: var(--teal-dark); }
.application-main p,
.application-context { margin: 0; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.application-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.badge { border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.badge.status { background: #e9f4f1; color: var(--teal-dark); }
.badge.risk { background: #fff3d6; color: #7a4e0e; }
.risk-none .badge.risk { background: #eef8f5; color: var(--teal-dark); }
.application-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.application-details div { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px; min-width: 0; }
.application-details dt { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.application-details dd { margin: 0; color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.duplicate-note { border: 1px solid #ead8b7; border-left: 4px solid #b67a13; border-radius: 8px; background: #fff8e8; color: #60400c; padding: 12px 14px; display: grid; gap: 5px; }
.duplicate-note span { line-height: 1.5; }
.application-profile-link { border: 1px solid #bddbd4; border-left: 4px solid var(--teal); border-radius: 8px; background: #eef8f5; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: var(--teal-dark); }
.application-profile-link strong { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.application-profile-link span { font-weight: 900; }
.application-profile-link em { font-style: normal; color: var(--muted); font-size: 13px; font-weight: 800; }
.application-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.application-actions form { margin: 0; }
.application-actions button { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--teal-dark); font-weight: 900; padding: 10px 13px; cursor: pointer; }
.application-actions button:hover { border-color: var(--teal); background: #eef8f5; }
.application-actions button:disabled { opacity: .54; cursor: not-allowed; background: #f3f7f5; }
.empty-state { border: 1px dashed #c9d7d2; border-radius: 8px; background: #f8fbfa; padding: 30px; }
.empty-state strong { display: block; color: var(--teal-dark); font-size: 22px; margin-bottom: 8px; }
.account-console-line { display: grid; gap: 4px; min-width: 220px; }
.account-console-line strong { color: var(--teal-dark); }
.account-console-line span,
.account-console-line em { color: var(--muted); font-style: normal; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.account-status-action { display: grid; gap: 8px; justify-items: start; margin-bottom: 10px; }
.account-status-action form { margin: 0; }
.account-status-action button { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--teal-dark); font-weight: 900; padding: 8px 11px; cursor: pointer; }
.account-status-action button:hover { border-color: var(--teal); background: #eef8f5; }
.account-status-action button:disabled { opacity: .54; cursor: not-allowed; background: #f3f7f5; }
.transaction-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.transaction-actions form { margin: 0; }
.transaction-actions button { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--teal-dark); font-weight: 900; padding: 8px 11px; cursor: pointer; }
.transaction-actions button:hover { border-color: var(--teal); background: #eef8f5; }
.transaction-actions button:disabled { opacity: .54; cursor: not-allowed; background: #f3f7f5; }
.kyc-review-list { display: grid; gap: 16px; }
.kyc-review-card { border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 8px; background: #fbfdfc; padding: 20px; display: grid; gap: 16px; }
.kyc-review-card h2 { margin: 0 0 6px; color: var(--teal-dark); }
.kyc-review-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.kyc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.kyc-actions form { margin: 0; }
.kyc-actions button { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--teal-dark); font-weight: 900; padding: 8px 11px; cursor: pointer; }
.kyc-actions button:hover { border-color: var(--teal); background: #eef8f5; }
.kyc-actions button:disabled { opacity: .54; cursor: not-allowed; background: #f3f7f5; }
.staff-create-panel .panel-heading { align-items: flex-start; }
.staff-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.staff-form label,
.staff-inline-form { display: grid; gap: 7px; }
.staff-form span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.staff-form input,
.staff-form select,
.staff-inline-form input,
.staff-inline-form select {
    width: 100%;
    min-width: 150px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 0 11px;
}
.staff-form button,
.staff-inline-form button { height: 42px; border: 1px solid var(--teal-dark); border-radius: 7px; background: var(--teal-dark); color: #fff; font-weight: 900; padding: 0 12px; cursor: pointer; }
.staff-inline-form { grid-template-columns: minmax(150px, 1fr) auto; align-items: center; margin-bottom: 7px; }
.staff-inline-form.password { grid-template-columns: minmax(190px, 1fr) auto; }
.staff-inline-form button:disabled,
.staff-inline-form select:disabled { opacity: .55; cursor: not-allowed; }

@media (max-width: 980px) {
    .nav-inner { flex-wrap: wrap; gap: 10px; }
    .nav-links { order: 4; width: 100%; display: none; }
    .nav .public-mobile-nav-toggle,
    .portal-top:not(.login-only) .public-mobile-nav-toggle { display: inline-flex; }
    .nav .nav-links,
    [data-public-nav-shell] [data-mobile-nav-panel],
    .portal-top:not(.login-only) .portal-nav { display: none; order: 4; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.98); box-shadow: 0 16px 38px rgba(18, 32, 29, .12); }
    .nav.mobile-menu-open .nav-links,
    [data-public-nav-shell].mobile-menu-open [data-mobile-nav-panel],
    .portal-top.mobile-menu-open:not(.login-only) .portal-nav { display: grid; }
    .nav .nav-links a,
    .nav .nav-links span,
    .portal-top:not(.login-only) .portal-nav a { min-height: 38px; display: flex; align-items: center; justify-content: flex-start; padding: 0 10px; border-radius: 7px; background: #f3f7f5; white-space: normal; }
    .nav .nav-links span.active { background: #e6eeeb; color: #64736e; }
    .public-mobile-nav-actions { display: none; }
    .hero.hero-personal-banking .hero-content,
    .hero.hero-business-banking .hero-content,
    .hero.hero-wealth-investments .hero-content,
    .hero.hero-loans-mortgages .hero-content,
    .hero.hero-cards-payments .hero-content,
    .hero.hero-digital-banking .hero-content,
    .hero.hero-security .hero-content,
    .hero.hero-about-slovenia .hero-content,
    .hero.hero-contact .hero-content,
    .hero.hero-login .hero-content,
    .editorial-grid,
    .editorial-grid.reverse,
    .masonry-services,
    .timeline-panel,
    .security-matrix,
    .contact-directory,
    .contact-layout,
    .branch-section,
    .branch-list,
    .login-layout,
    .onboarding-layout,
    .legal-layout,
    .portal-top,
    .portal-hero,
    .portal-login-hero,
    .portal-login-points,
    .secure-dashboard,
    .customer-dashboard,
    .customer-shortcuts,
    .customer-activity-list div,
    .card-ops-layout,
    .card-info-grid,
    .card-limit-grid,
    .card-toggle-grid,
    .card-services-panel div,
    .transaction-filter-panel,
    .account-summary-panel > div,
    .account-summary-panel.compact > div,
    .account-portfolio-card,
    .secure-summary-strip,
    .transfer-layout,
    .support-layout,
    .tf-body,
    .tf-field-row,
    .account-cards,
    .profile-layout,
    .profile-left-col,
    .profile-right-col { grid-template-columns: 1fr; }
    .card-request-form { grid-template-columns: 1fr; }
    .card-request-form .button { width: fit-content; }
    .card-action-row { display: grid; grid-template-columns: 1fr; }
    .card-action-row form { width: 100%; }
    .card-action-row .button { width: 100%; }
    .alert-list,
    .secure-preview-grid,
    .secured-workspace,
    .console-workspace,
    .console-titlebar,
    .console-metrics,
    .console-split,
    .console-kanban,
    .console-cards,
    .console-cards.branches { grid-template-columns: 1fr; }
    .account-summary-panel section { border-right: 0; border-bottom: 1px solid var(--line); }
    .account-summary-panel section:last-child { border-bottom: 0; }
    .account-portfolio-actions { justify-content: flex-start; min-width: 0; }
    .account-portfolio-actions span { text-align: left; }
    .customer-activity-list div { grid-template-columns: 1fr; }
    .customer-activity-list .transaction-amount { order: -2; }
    .customer-activity-list .transaction-status-badge { order: -1; }
    .customer-activity-list .transaction-context-wrap { order: 1; }
    .customer-activity-list .transaction-date { order: 2; }
    .onboarding-intro,
    .legal-nav { position: static; }
    .editorial-grid.reverse .editorial-media { order: 0; }
    .masonry-services article:nth-child(2) { transform: none; }
    .hero-photo-pair { grid-template-columns: 1fr; }
    .portal-top { padding: 16px 20px; }
    .portal-public-top { padding-left: 20px; padding-right: 20px; }
    .portal-footer-inner { padding-left: 20px; padding-right: 20px; }
    .portal-nav,
    .language-switch { justify-content: flex-start; }
    .portal-hero,
    .portal-grid { margin-left: 18px; margin-right: 18px; }
    .portal-hero { padding: 26px; }
    .portal-login-hero { padding: 38px 18px; min-height: auto; }
    .portal-grid { grid-template-columns: repeat(2, 1fr); }
    .secure-dashboard,
    .transfer-layout,
    .support-layout,
    .profile-layout,
    .secure-table-shell { margin-left: 18px; margin-right: 18px; }
    .portal-shell.secured { overflow-x: hidden; }
    .portal-shell.secured .portal-public-top { min-height: 28px; padding: 6px 12px; }
    .portal-shell.secured .portal-public-top > div:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .portal-shell.secured .portal-top { min-height: 52px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 7px 10px; }
    .portal-shell.secured .portal-top .brand { min-width: 0; overflow: hidden; }
    .portal-shell.secured .portal-top .brand strong { max-width: 100%; font-size: clamp(15px, 4vw, 19px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .portal-shell.secured .portal-top .brand small { display: none; }
    .portal-shell.secured .portal-secured-actions { gap: 6px; flex-wrap: nowrap; }
    .portal-shell.secured .portal-secured-actions a,
    .portal-shell.secured .portal-secured-actions button { min-height: 32px; padding: 0 9px; font-size: 11px; white-space: nowrap; }
    .secured-workspace { padding: 6px 10px 12px; gap: 7px; max-width: 100%; overflow-x: hidden; }
    .secured-mobile-nav-widget { display: flex; align-items: center; gap: 9px; width: 100%; background: #14362f; color: #fff; border-radius: 8px; padding: 7px 8px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
    .secured-mobile-nav-avatar { width: 36px !important; height: 36px !important; max-width: 36px; min-width: 36px; border-radius: 999px; object-fit: cover; border: 2px solid rgba(217,177,93,.72); background: rgba(255,255,255,.12); flex-shrink: 0; }
    .secured-mobile-nav-copy { min-width: 0; flex: 1; display: grid; gap: 1px; }
    .secured-mobile-nav-copy span { color: #d9b15d; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
    .secured-mobile-nav-copy strong { color: #fff; font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .secured-mobile-menu-toggle { border: 1px solid rgba(255,255,255,.22); border-radius: 7px; background: rgba(255,255,255,.1); color: #fff; font-size: 12px; font-weight: 900; padding: 7px 9px; cursor: pointer; flex-shrink: 0; }
    .secured-mobile-menu-toggle:focus-visible { outline: 2px solid #d9b15d; outline-offset: 2px; }
    .secured-sidebar { display: none; position: static; padding: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; width: 100%; border-radius: 8px; box-shadow: 0 16px 38px rgba(18, 32, 29, .12); }
    .secured-workspace.mobile-menu-open .secured-sidebar { display: grid; }
    .secured-sidebar .secured-sidebar-identity { display: none; }
    .secured-sidebar-avatar { width: 48px !important; height: 48px !important; max-width: 48px; }
    .secured-sidebar a { padding: 8px; text-align: center; }
    .secured-sidebar-logout { grid-column: 1 / -1; margin: 2px 0 0; }
    .secured-main { gap: 8px; min-width: 0; }
    .secured-main .portal-hero.secure-hero { padding: 12px 14px; }
    .secured-main .portal-hero.secure-hero h1 { font-size: 20px; line-height: 1.12; }
    .secured-main .portal-hero.secure-hero p { font-size: 12px; line-height: 1.35; margin-top: 4px; }
    .avatar-crop-grid { grid-template-columns: 1fr; }
    .avatar-crop-preview-wrap { justify-self: center; width: 96px; height: 96px; }
    .avatar-circle-preview { width: 96px; height: 96px; }
    #cards-section.secure-table-shell { max-height: none; overflow-x: hidden; overflow-y: visible; }
    #cards-section .card-primary-stack,
    #cards-section .card-secondary-stack,
    #cards-section .card-controls-panel { min-width: 0; }
    .secure-table,
    .console-table { display: block; overflow-x: auto; white-space: nowrap; }
    .secure-table-shell { overflow-x: auto; }
    .console-panel,
    .secure-table-shell,
    .secured-modal,
    .crm-modal,
    .tf-wf-shell,
    .console-password-modal,
    .fund-modal { max-height: calc(100vh - 90px); }
    .tf-wf-shell,
    .console-password-modal,
    .fund-modal { overflow-y: auto; }
    .console-workspace { padding: 18px; }
    .console-sidebar { position: static; }
    .staff-form,
    .application-main,
    .application-details { grid-template-columns: 1fr; }
    .application-badges { justify-content: flex-start; }
}

@media (max-width: 620px) {
    .topbar-inner { display: block; padding-top: 8px; padding-bottom: 8px; }
    .topbar-inner div:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .topbar-inner .lang { margin-top: 4px; }
    .portal-public-top { min-height: 28px; padding: 6px 12px; }
    .portal-public-top > div:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nav-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 58px; padding-top: 8px; padding-bottom: 8px; gap: 8px; }
    .brand { flex-basis: auto; min-width: 0; gap: 9px; }
    .brand strong { white-space: nowrap; font-size: 16px; }
    .brand small { display: none; }
    .mark { width: 36px; height: 36px; min-width: 36px; }
    .mark img { width: 36px; height: 36px; }
    .brand { grid-column: 1 / -1; grid-row: 1; }
    .actions { grid-column: 2 / 4; grid-row: 2; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .actions .button,
    .actions a { min-height: 36px; padding: 0 10px; font-size: 12px; }
    .public-mobile-nav-toggle { grid-column: 1; grid-row: 2; min-height: 36px; padding: 0 10px; }
    .nav .nav-links { grid-column: 1 / -1; grid-row: 3; font-size: 13px; margin-top: 2px; padding: 8px; }
    .public-mobile-nav-actions .button { min-height: 36px; padding: 0 10px; font-size: 12px; }
    .hero { min-height: auto; }
    .hero-content { padding-top: 28px; padding-bottom: 36px; }
    .portal-top:not(.login-only) { min-height: 58px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 8px 12px; }
    .portal-top:not(.login-only) .brand { min-width: 0; }
    .portal-top:not(.login-only) .brand strong { font-size: 16px; }
    .portal-top:not(.login-only) .brand small { display: none; }
    .portal-top:not(.login-only) .mark,
    .portal-top:not(.login-only) .mark img { width: 36px; height: 36px; min-width: 36px; }
    .portal-top:not(.login-only) .portal-nav { grid-column: 1 / -1; }
    .portal-hero { margin-top: 16px; padding: 22px; }
    .hero-art img,
    .hero-photo-pair img,
    .hero-photo-pair img:first-child,
    .editorial-media img,
    .security-matrix img { height: 280px; min-height: 0; }
    .page-band { padding: 58px 0; }
    .portal-grid { grid-template-columns: 1fr; }
    .portal-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
    .portal-top.login-only { grid-template-columns: 1fr; }
    .portal-login-points { grid-template-columns: 1fr; }
    .secured-password-toggle { min-width: 72px; padding: 0 8px; font-size: 11px; }
    .portal-nav a,
    .language-switch a { text-align: center; }
    .portal-footer-inner,
    .footer-links { flex-direction: column; align-items: flex-start; }
    .consent-banner { left: 12px; right: 12px; bottom: 12px; }
    .consent-actions .button { width: 100%; }
    .tf-type-row { grid-template-columns: 1fr; }
    .tf-summary-balance-shift { align-items: flex-start; flex-direction: column; }
    .tf-summary-balance-shift strong { justify-content: flex-start; text-align: left; }
    .card-request-form .button { width: 100%; }
    .secure-table { display: table; width: 100%; white-space: normal; }
    .secure-table thead { display: none; }
    .secure-table tbody tr { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
    .secure-table tbody tr td { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 8px 0; border: 0; }
    .secure-table tbody tr td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
    .secure-table tbody tr td.action-cell::before { display: none; }
    .secure-table tbody tr td.transaction-amount { font-size: 16px; font-weight: 900; }
    .secure-table tbody tr td.transaction-status-cell .transaction-status-badge { width: fit-content; }
    .portal-shell.secured .portal-secured-actions a { display: none; }
    .portal-shell.secured .portal-secured-actions button { min-width: 76px; }
    .portal-shell.secured .portal-top { min-height: 50px; }
    .portal-shell.secured .portal-top .brand { gap: 8px; }
    .portal-shell.secured .portal-top .brand strong { font-size: clamp(14px, 4.1vw, 16px); }
    .portal-shell.secured .portal-top .mark,
    .portal-shell.secured .portal-top .mark img { width: 32px; height: 32px; min-width: 32px; }
    .secured-workspace { padding-left: 8px; padding-right: 8px; }
    .secure-dashboard,
    .customer-dashboard,
    .customer-activity-panel,
    .secure-table-shell,
    .profile-layout,
    .tf-layout { margin-left: 0; margin-right: 0; width: 100%; min-width: 0; overflow-x: hidden; }
    .customer-dashboard { gap: 7px; grid-template-columns: 1fr !important; }
    .balance-panel,
    .customer-identity-card,
    .customer-quick-panel,
    .customer-activity-panel,
    .secure-table-shell,
    .profile-card { border-radius: 10px; box-shadow: 0 14px 34px rgba(18, 32, 29, .1); }
    .customer-identity-card { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 10px; }
    .customer-identity-avatar { width: 44px !important; height: 44px !important; min-width: 44px; max-width: 44px; }
    .customer-identity-card strong { font-size: 18px; }
    .customer-identity-card p { font-size: 12px; line-height: 1.35; }
    .customer-identity-card em { grid-column: 2; justify-self: start; max-width: 100%; text-align: left; font-size: 11px; }
    .balance-panel { padding: 12px; justify-content: flex-start; min-width: 0; }
    .balance-panel strong { font-size: clamp(26px, 9vw, 36px); line-height: 1.05; overflow-wrap: anywhere; }
    .customer-panel-heading { align-items: center; gap: 8px; min-width: 0; }
    .customer-panel-heading > div { min-width: 0; overflow: hidden; }
    .balance-visibility-toggle { min-height: 34px; flex: 0 0 auto; white-space: nowrap; }
    .customer-ledger-line,
    .customer-account-mini { align-items: flex-start; flex-direction: column; gap: 5px; min-width: 0; }
    .customer-account-mini em { align-self: flex-start; }
    .customer-account-mini strong { min-width: 0; font-size: clamp(12px, 3vw, 14px); line-height: 1.35; overflow-wrap: anywhere; word-break: break-word; }
    .customer-ledger-line span { font-size: 11px; }
    .customer-ledger-line strong { font-size: clamp(12px, 3vw, 14px); }
    .secure-summary-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
    .secure-summary-strip div { padding: 7px 6px; }
    .secure-summary-strip span { font-size: 9px; overflow-wrap: anywhere; }
    .secure-summary-strip strong { font-size: 16px; }
    .customer-quick-panel { padding: 11px; min-width: 0; }
    .customer-quick-panel h2 { overflow-wrap: anywhere; }
    .customer-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .customer-shortcuts a,
    .customer-shortcuts span[aria-disabled="true"] { min-height: 58px; padding: 9px 7px; min-width: 0; }
    .customer-shortcuts strong { font-size: 13px; overflow-wrap: anywhere; }
    .customer-shortcuts span span,
    .customer-shortcuts a span { font-size: 11px; overflow-wrap: anywhere; }
    .customer-bank-notice { padding: 10px; }
    .customer-activity-panel { padding: 11px; min-width: 0; }
    .customer-activity-list { min-width: 0; }
    .customer-activity-list div { grid-template-columns: 1fr; gap: 8px; padding: 10px 0; min-width: 0; align-items: start; }
    .customer-activity-list span,
    .customer-activity-list strong { overflow-wrap: anywhere; min-width: 0; }
    .customer-activity-list .transaction-context-wrap { gap: 2px; }
    .customer-activity-list .transaction-context { font-size: 13px; }
    .customer-activity-list .transaction-reference { font-size: 12px; }
    .customer-activity-list .transaction-date { order: -1; }
    .customer-activity-list .transaction-amount { order: -2; font-size: 15px; }
    .customer-activity-list .transaction-status-badge { width: fit-content; order: 1; margin-top: 2px; }
    .profile-avatar-btn,
    .profile-avatar-img,
    .avatar-current-img { width: 56px !important; height: 56px !important; max-width: 56px; min-width: 56px; object-fit: cover; flex-shrink: 0; }
    .secured-main .portal-hero.secure-hero { display: none; }
}

/* Homepage card showcase */
.card-showcase-band { padding: 38px 0 46px; }
.card-showcase { display: grid; grid-template-columns: minmax(240px, 470px) minmax(260px, 460px); justify-content: center; gap: 22px; align-items: center; }
.card-showcase-copy { max-width: 440px; }
.card-showcase-copy p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.card-showcase-visual { width: min(100%, 460px); justify-self: start; overflow: hidden; border-radius: 8px; background: #f5f7f6; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card-showcase-visual img { width: 100%; height: auto; display: block; object-fit: cover; object-position: center; }
@media (max-width: 980px) {
    .card-showcase { grid-template-columns: 1fr; justify-content: stretch; gap: 18px; }
    .card-showcase-copy { max-width: 620px; }
    .card-showcase-visual { justify-self: start; max-width: 480px; }
}
@media (max-width: 620px) {
    .card-showcase-band { padding: 30px 0 36px; }
    .card-showcase { gap: 14px; }
    .card-showcase-visual { width: 100%; max-width: 100%; }
}

@media (min-width: 700px) and (max-width: 1024px) {
    .customer-dashboard { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: stretch; }
    .customer-identity-card { grid-template-columns: 52px minmax(0, 1fr) auto; }
    .customer-identity-avatar { width: 52px !important; height: 52px !important; min-width: 52px; max-width: 52px; }
    .customer-ledger-line { flex-direction: column; align-items: flex-start; gap: 5px; }
    .customer-ledger-line span { font-size: 11px; font-weight: 800; }
    .customer-ledger-line strong { font-size: clamp(12px, 2.5vw, 14px); color: var(--ink); font-weight: 700; }
    .customer-activity-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
    .customer-activity-list .transaction-context-wrap { display: flex; flex-direction: column; gap: 3px; min-width: 0; grid-column: 1; }
    .customer-activity-list .transaction-date { display: block; color: var(--muted); font-size: 12px; order: 1; }
    .customer-activity-list .transaction-context { display: block; color: var(--ink); font-size: 13px; font-weight: 600; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
    .customer-activity-list .transaction-reference { display: block; color: var(--muted); font-size: 12px; font-weight: 400; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
    .customer-activity-list .transaction-amount { display: block; color: var(--teal-dark); font-size: 16px; font-weight: 900; grid-column: 2; grid-row: 1; text-align: right; }
    .customer-activity-list .transaction-status-badge { display: inline-flex; align-items: center; justify-content: flex-start; padding: 6px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; grid-column: 2; grid-row: 2; justify-self: end; margin-top: 5px; }
    .secured-sidebar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .secured-sidebar-logout { grid-column: auto; }
    .secured-main .portal-hero.secure-hero { display: none; }
}
