@font-face {
  font-family: Inter;
  src: url(inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Portal Icons;
  src: url(icons.woff2) format("woff2");
  font-display: block;
}
:root {
  color-scheme: light;
  --ink: #14233b;
  --muted: #475972;
  --subtle: #637089;
  --blue: #154bc9;
  --blue-dark: #103a9a;
  --sky: #e9f0ff;
  --white: #fff;
  --line: #dce4ef;
  --ground: #f3f6fb;
  --navy: #0f203b;
  --soft-shadow: 0 14px 42px #1933620d;
  font-family: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); line-height: 1.56; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 .8rem; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h2 { font-size: 1.3rem; font-weight: 730; }
h3 { font-size: 1.05rem; font-weight: 720; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
input, select, textarea {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #aab9cd;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 15px center, right 10px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
textarea { display: block; resize: vertical; }
:focus-visible { outline: 3px solid #226af3; outline-offset: 4px; }
.icon { font-family: Portal Icons, sans-serif; font-weight: normal; text-align: center; display: inline-block; width: 1.15em; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 20; top: .65rem; left: .65rem; padding: .7rem 1rem; background: var(--white); color: var(--blue); border-radius: 8px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  padding: .65rem .95rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.34;
  text-align: center;
  text-decoration: none;
}
.button.primary { background: var(--blue); color: var(--white); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { background: var(--white); border-color: #c4d0e0; color: var(--ink); }
.button.secondary:hover { border-color: var(--blue); color: var(--blue-dark); }
.button.small { padding: .42rem .7rem; font-size: .875rem; }
button:disabled, button:disabled:hover { cursor: not-allowed; background: #e6ebf2 !important; color: #4d5d75 !important; border-color: #cbd5e2; }
.text-link, .link-button { color: var(--blue-dark); text-decoration: underline; text-underline-offset: .21em; font-weight: 650; font-size: .875rem; }
.text-link:hover, .link-button:hover { color: var(--blue); }
.link-button { border: 0; background: none; padding: .45rem .12rem; white-space: nowrap; }
.eyebrow { color: var(--blue-dark); font-size: .875rem; font-weight: 760; letter-spacing: .085em; text-transform: uppercase; }
.field { display: grid; font-size: .875rem; gap: .35rem; margin: 0 0 .9rem; }
.field > span { font-weight: 650; }
.field input, .field select, .field textarea { font-size: 1rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.under-form { margin: 1.15rem 0 0; }
.helper, .empty { color: var(--muted); }
.helper { margin: .7rem 0; font-size: .875rem; }
.wrap { width: min(1260px, 100% - 7rem); margin: auto; }
.brand { display: inline-flex; width: max-content; max-width: 100%; flex: 0 0 auto; align-items: center; gap: .6rem; text-decoration: none; line-height: 1.15; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; padding: 3px; border-radius: 11px; background: #fff; border: 1px solid #e4eafa; }
.brand-mark img { border-radius: 6px; }
.brand strong { display: block; font-size: .95rem; font-weight: 840; letter-spacing: .025em; }
.brand small { display: block; font-size: .79rem; margin-top: .3rem; font-weight: 570; color: var(--muted); }
.public-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner, .header-tools { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.header-inner { min-height: 76px; }
.website-return { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; margin-inline-start: auto; white-space: nowrap; }
.header-tools { flex-wrap: wrap; justify-content: flex-end; }
.welcome-hero { background: #102245; border-bottom: 1px solid #243758; color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(1.4rem, 4.2vw, 4rem); min-height: 420px; align-items: center; padding-block: 2.6rem; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: .45rem; margin-bottom: .9rem; color: #a9c6ff; }
.hero-copy h1 { font-size: clamp(2.15rem, 4.4vw, 3.75rem); letter-spacing: -.05em; font-weight: 770; }
.hero-description { margin: 1.05rem 0 0; max-width: 32rem; font-size: 1.0625rem; color: #d4e1f9; }
.hero-login {
  justify-self: end;
  width: min(100%, 28rem);
  padding: clamp(1.1rem, 2.55vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--soft-shadow);
}
.hero-login h2 { font-size: clamp(1.5rem, 2.25vw, 1.9rem); }
.hero-login > p { margin: .55rem 0 1.15rem; color: var(--muted); }
.hero-login form > .button { width: 100%; }
.hero-login .google-sign-in { display: flex; justify-content: center; gap: .65rem; margin-top: 1rem; width: 100%; }
.hero-login .google-sign-in svg { flex: none; }
.hero-login .login-divider { display: flex; align-items: center; gap: .75rem; margin: .8rem 0; color: var(--muted); font-size: .8rem; }
.hero-login .login-divider::before, .hero-login .login-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.hero-login-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.section-header { margin-bottom: 1.35rem; }
.section-header .eyebrow { margin-bottom: .38rem; }
.section-header h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.public-products { padding-top: 2.6rem; padding-bottom: 3.7rem; }
.public-product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.product-tile { display: flex; flex-direction: column; overflow: hidden; background: white; border-radius: 13px; border: 1px solid var(--line); }
.product-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #eaf0fd; border-bottom: 1px solid var(--line); }
.ict-image { display: grid; place-items: center; color: #3c68c2; font-size: 2.5rem; background: linear-gradient(145deg, #dfeaff, #f5f8ff); }
.product-copy { padding: .9rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.product-copy p { font-size: .875rem; color: var(--muted); }
.product-copy a { margin-top: auto; }
.public-footer { background: #fff; border-top: 1px solid var(--line); }
.public-footer .wrap { min-height: 104px; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; padding-block: 1rem; }
.public-footer p { color: var(--muted); font-size: .875rem; margin: 0; }
.auth-wrap { width: min(970px, 100% - 3rem); margin: 3.8rem auto; display: grid; grid-template-columns: 1fr 1fr; background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--soft-shadow); }
.auth-card { padding: clamp(1.6rem, 4vw, 3.1rem); }
.auth-card h1 { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-bottom: 1rem; }
.auth-card > p:not(.eyebrow) { color: var(--muted); }
.auth-card form { margin-top: 1.5rem; }
.auth-art { background: #e8f0ff url(hero.webp) center / contain no-repeat; background-blend-mode: multiply; }
.error-wrap { max-width: 46rem; padding: 3rem 1.5rem; margin: auto; }
.portal-shell {
  display: grid;
  grid-template: auto 1fr / 248px minmax(0, 1fr);
  grid-template-areas: "header header" "sidebar main";
  min-height: 100vh;
}
.portal-body { grid-area: main; min-width: 0; display: flex; flex-direction: column; }
.portal-nav { grid-area: sidebar; display: flex; flex-direction: column; padding: 1.15rem .85rem; background: var(--navy); color: white; }
.portal-nav nav, .nav-group { display: grid; gap: .22rem; }
.nav-group + .nav-group { margin-top: .85rem; }
.nav-group h2 { margin: 0 .7rem .15rem; color: #afc2e4; font-size: .75rem; font-weight: 670; letter-spacing: .085em; text-transform: uppercase; }
.portal-nav nav a { display: flex; align-items: center; gap: .6rem; min-height: 42px; padding: .6rem .7rem; font-size: .875rem; font-weight: 560; border-radius: 8px; line-height: 1.26; color: #d9e3f4; text-decoration: none; }
.portal-nav nav a .icon { flex: 0 0 1.1rem; color: #9ab3e4; }
.portal-nav nav a:hover, .portal-nav nav a[aria-current] { background: #253e6c; color: white; }
.portal-nav nav a[aria-current] .icon { color: #c2d8ff; }
.sidebar-foot { margin-top: auto; padding: 2rem .7rem 0; font-size: .79rem; color: #afc2e4; }
.utility { grid-area: header; display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .6rem clamp(.9rem, 2.6vw, 2.2rem); min-height: 68px; background: var(--white); border-bottom: 1px solid var(--line); }
.utility-brand, .account { display: flex; align-items: center; gap: .7rem; }
.account { min-width: 0; flex-wrap: wrap; justify-content: flex-end; font-size: .875rem; text-align: left; line-height: 1.2; }
.account-details { min-width: 0; }
.account strong, .account small { display: block; overflow-wrap: anywhere; }
.account small { margin-top: .25rem; color: var(--muted); }
.avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center; background: #e4edff; color: #1f4dad; font-weight: 740; }
.utility-menu { display: none; min-width: 44px; min-height: 44px; padding: .45rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.portal-main { width: min(100%, 1320px); margin: 0 auto; padding: 1.6rem clamp(1rem, 3vw, 2.5rem) 3rem; flex: 1; }
.dashboard-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.1rem; }
.dashboard-shortcuts.staff-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-shortcut { display: flex; align-items: flex-start; gap: .65rem; min-width: 0; padding: .9rem; border: 1px solid var(--line); border-radius: 10px; background: white; text-decoration: none; }
.dashboard-shortcut:hover { border-color: var(--blue); }
.dashboard-shortcut strong, .dashboard-shortcut small { display: block; }
.dashboard-shortcut strong { line-height: 1.25; }
.dashboard-shortcut small { margin-top: .25rem; font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.briefing-hero { margin-bottom: 1rem; border-radius: 12px; border: 1px solid #cddcf7; background: #e6efff; color: #11274d; }
.briefing-inner { display: flex; justify-content: space-between; gap: 1rem; padding: clamp(1.1rem, 2vw, 1.5rem); }
.briefing-copy { align-self: center; }
.briefing-copy h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 750; }
.briefing-copy .eyebrow { color: #143b8f; margin-bottom: .5rem; }
.briefing-copy > p:last-child { color: #304b75; margin: .55rem 0 0; }
.hero-divider { display: inline-block; height: .85em; margin: 0 .3rem; border-left: 1px solid #7f9aca; vertical-align: -.1em; }
.metadata-dot { margin: 0 .14em; }
.briefing-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .55rem; }
.sample-chip { background: #e9f0ff; border: 1px solid #bfcef0; color: #153e93; border-radius: 100px; padding: .35rem .65rem; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.period-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.period-picker select { font-weight: 660; font-size: .875rem; min-height: 44px; }
.report-period { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.financial-caption { margin: 1.15rem 0 .75rem; }
.report-link { margin: .9rem 0 0; }
.empty { color: var(--muted); margin: 0; }
.report-context { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; font-size: .875rem; font-weight: 570; color: var(--muted); margin: 1.05rem 0; }
.report-context .icon { color: var(--blue); margin-right: .28rem; }
.badge { display: inline-flex; width: max-content; max-width: 100%; border-radius: 100px; padding: .25rem .6rem; color: #475973; background: #e9eef6; font-size: .8125rem; line-height: 1.4; font-weight: 680; }
.badge.blue { background: #e5efff; color: #174999; }
.badge.green { background: #dff4e9; color: #12583a; }
.badge.amber { background: #fff0d3; color: #694409; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: .4rem 0 1.35rem; }
.page-title .eyebrow { margin: 0 0 .45rem; }
.page-title h1 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 750; letter-spacing: -.04em; }
.page-description { margin: .65rem 0 0; max-width: 52rem; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.stat-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { min-width: 0; display: flex; gap: .7rem; background: white; padding: clamp(.85rem, 1.5vw, 1.2rem); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--soft-shadow); }
.stat-icon { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 9px; background: #e9f0ff; color: var(--blue); }
.stat p { font-size: .875rem; font-weight: 610; color: var(--muted); margin: 0 0 .16rem; }
.stat strong { display: block; line-height: 1.15; font-size: clamp(1.17rem, 2.65vw, 2rem); letter-spacing: -.052em; overflow-wrap: anywhere; }
.stat small { display: block; color: var(--muted); font-size: .8125rem; margin-top: .3rem; }
.panel { min-width: 0; margin: 0 0 1rem; padding: clamp(.95rem, 2vw, 1.35rem); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--soft-shadow); }
.panel-title { margin-bottom: .95rem; }
.panel-title p { color: var(--muted); margin: .36rem 0 0; font-size: .875rem; }
.dashboard-grid, .split-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.trend { margin: 1.2rem 0; }
.trend figcaption { color: var(--muted); font-size: .875rem; font-weight: 700; }
.trend-row { display: grid; grid-template-columns: minmax(7rem, 10rem) minmax(40px, 1fr) minmax(6.6rem, max-content); align-items: center; gap: .6rem; margin: .7rem 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.trend-row b { text-align: right; }
meter { appearance: none; display: block; width: 100%; height: .8rem; border: 0; background: #eaf0fb; border-radius: 3px; }
meter::-webkit-meter-bar { background: #eaf0fb; height: .8rem; border: 0; border-radius: 3px; }
meter::-webkit-meter-optimum-value { background: #82a7f6; border-radius: 3px; }
meter::-moz-meter-bar { background: #82a7f6; border-radius: 3px; }
.latest meter::-webkit-meter-optimum-value { background: #235ed7; }
.latest meter::-moz-meter-bar { background: #235ed7; }
.negative meter::-webkit-meter-optimum-value { background: #ad4841; }
.negative meter::-moz-meter-bar { background: #ad4841; }
.panel-tail { padding-top: .6rem; border-top: 1px solid var(--line); }
.decision-list { list-style: none; padding: 0; margin: 0; }
.decision-list li { display: flex; gap: .7rem; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .875rem; }
.decision-list li:first-child { border: none; padding-top: 0; }
.decision-icon { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: #e6efff; color: var(--blue); font-size: .7rem; }
.decision-list p { color: var(--muted); margin: .2rem 0 0; }
.table-scroll { position: relative; overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .875rem; }
table thead { background: #f0f4fa; color: #3a4c67; }
table th, table td { padding: .65rem .72rem; border-bottom: 1px solid #e5ebf4; vertical-align: top; }
table tbody th { font-weight: 620; }
table th:first-child { min-width: 6rem; }
table a { white-space: nowrap; }
[aria-label="Product results and milestones"] td:last-child { min-width: 12rem; }
[aria-label="Product results and milestones"] td:last-child a { white-space: normal; }
.holdings-details > h2 { margin: 1.15rem 0 .6rem; }
.holdings-details > h2:first-child { margin-top: 0; }
.holdings-details { overflow: auto; }
table small { font-size: .8125rem; }
table form { min-width: 9rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.tabs a { padding: .55rem .75rem; border-bottom: 3px solid transparent; text-decoration: none; font-size: .875rem; font-weight: 650; color: var(--muted); }
.tabs a[aria-current], .tabs a:hover { color: var(--blue-dark); border-color: var(--blue); }
.portfolio-grid, .scenario-grid, .shared-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.scenario, .shared-card { padding: 1rem; background: #f6f8fd; border: 1px solid var(--line); border-radius: 10px; }
.scenario h3 { margin: .5rem 0; }
.scenario p:not(.eyebrow) { color: var(--muted); font-size: .875rem; }
.shared-card { display: flex; align-items: center; gap: .65rem; background: white; color: var(--blue-dark); text-decoration: none; }
.shared-card:hover { border-color: var(--blue); }
.summary-list { margin: .5rem 0 1rem; font-size: .9rem; }
.summary-list > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .7rem; border-bottom: 1px solid var(--line); padding: .5rem 0; }
.summary-list dt { color: var(--muted); }
.summary-list dd { overflow-wrap: anywhere; font-weight: 680; margin: 0; }
.record { padding: .95rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.record h3 { margin-bottom: .45rem; }
.record p { margin-bottom: .5rem; }
.response { margin-top: .65rem; padding: .65rem .8rem; background: #eef4ff; border-radius: 8px; font-size: .875rem; }
.response p { margin: .3rem 0 0; }
.notice { padding: .65rem .85rem; border-radius: 8px; font-weight: 620; font-size: .875rem; display: block; margin: 0 0 1rem; }
.notice.warning { background: #fff2db; color: #664108; }
.notice.success { background: #e1f5eb; color: #135238; }
.quantity-form { max-width: 39rem; }
.quantity-form .field { max-width: 14rem; }
.amount { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding: .75rem; margin-bottom: 1rem; background: #edf3ff; border-radius: 8px; color: #163979; }
.amount > div { flex: 1 1 10rem; }
.amount output { display: block; font-weight: 760; font-size: 1.17rem; }
.phone-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.phone-fields .field { min-width: 0; margin-bottom: 0; }
.field input[type="file"] { min-width: 0; }
.field small { color: var(--muted); }
.document-modal { width: min(58rem, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); padding: 0; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); box-shadow: 0 20px 70px #1022454a; }
.document-modal::backdrop { background: #0f203b91; }
.document-modal .document-toolbar { justify-content: space-between; }
.document-modal iframe { display: block; width: 100%; height: min(70dvh, 47rem); border: 0; }
.document-toolbar, .document-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.document-toolbar { padding: .85rem 1rem; background: white; border-bottom: 1px solid var(--line); }
.document-toolbar h2 { font-size: 1.15rem; }
.document-paper { width: min(100% - 1.5rem, 46rem); min-width: 0; margin: 1rem auto; padding: clamp(1rem, 4vw, 2.25rem); background: white; border: 1px solid var(--line); border-radius: 9px; overflow-wrap: anywhere; }
.document-brand { color: var(--navy); font-weight: 760; }
.document-paper h1 { margin-bottom: 1rem; font-size: clamp(1.35rem, 3.2vw, 1.85rem); }
.document-content h2 { margin: 1rem 0 .55rem; font-size: 1.15rem; }
.document-content { overflow-x: auto; }
.document-content th { background: var(--sky); }
.document-content th:first-child { min-width: 0; }
@media print {
  .document-page { background: white; }
  .document-page .document-toolbar { display: none; }
  .document-paper { width: auto; margin: 0; padding: 0; border: 0; }
  .document-content { overflow: visible; }
}
summary { cursor: pointer; font-size: .875rem; font-weight: 650; color: var(--blue-dark); padding: .45rem 0; }
.portal-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding: .95rem clamp(1rem, 3.5vw, 3rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
@media (max-width: 1100px) {
  .public-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-shell { grid-template-columns: 212px minmax(0, 1fr); }
  .dashboard-shortcuts, .dashboard-shortcuts.staff-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { flex-direction: column; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.25rem); }
  .header-inner { padding-block: .75rem; }
  .header-tools .button { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; min-height: 0; padding-block: 1.85rem 2rem; }
  .hero-copy h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-description { margin: 1rem 0 0; }
  .hero-login { justify-self: start; }
  .public-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-wrap { width: calc(100% - 2rem); margin: 2rem auto; grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .portal-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: "header" "sidebar" "main"; }
  .portal-nav { padding: .85rem; }
  .sidebar-foot { display: none; }
  .has-js .utility-menu { display: inline-block; }
  .has-js .portal-nav { display: none; }
  .has-js .menu-open .portal-nav { display: flex; }
  .utility { align-items: center; flex-wrap: wrap; gap: .55rem 1rem; padding-inline: .8rem; }
  .account { gap: .5rem; }
  .account-email, .account .avatar { display: none; }
  .account-signout { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
  .signout-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .portal-main { padding: 1rem .8rem 1.75rem; }
  .briefing-inner { flex-direction: column; }
  .briefing-copy { align-self: auto; }
  .briefing-side { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
  .briefing-copy .eyebrow { font-size: .8125rem; }
  .stat-grid, .stat-grid.two, .dashboard-grid, .split-grid, .portfolio-grid, .scenario-grid, .shared-grid { grid-template-columns: minmax(0, 1fr); }
  .stat { flex-direction: row; }
  .dashboard-grid, .split-grid { gap: 0; }
  .trend-row { grid-template-columns: minmax(5.4rem, 7rem) minmax(32px, 1fr) minmax(5.9rem, max-content); gap: .36rem; }
}
@media (max-width: 375px) {
  .header-inner { flex-wrap: wrap; gap: .5rem; }
  .brand { gap: .35rem; }
  .dashboard-shortcuts, .dashboard-shortcuts.staff-shortcuts, .phone-fields { grid-template-columns: minmax(0, 1fr); }
}

.verification-page main { max-width: 31rem; padding-top: clamp(1rem, 6vw, 2rem); }
.verification-page h1 { font-size: 1.65rem; }
.verification-page form + form { margin-top: 1.1rem; }
.verification-actions { display: flex; flex-wrap: wrap; gap: .55rem; }

.business-roles { padding-top: 2rem; }
.business-roles article p { margin: .55rem 0 0; color: var(--muted); }
.investment-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.investment-toolbar .period-picker { max-width: 100%; }
.investment-toolbar label { display: flex; flex-direction: column; gap: .25rem; min-width: 0; max-width: 100%; }
.investment-toolbar select { max-width: 100%; }
.investment-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }

.hero-explainer { color: #d7e5f9; max-width: 43ch; margin-top: .75rem; line-height: 1.65; }
.hero-login-links { display: flex; gap: .6rem 1rem; align-items: baseline; flex-wrap: wrap; }
