html { color-scheme: light; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--paper-100); color: var(--slate-900); font-family: var(--font-ui); }
body, button, input, select, textarea { font-size: 15px; }
button, a, input, select, textarea { transition: color var(--duration-fast), background-color var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast); }
button, select, input, textarea { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
img { display: block; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); padding: 11px 14px; border-radius: 8px; background: var(--paper-50); color: var(--navy-900); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.environment-banner { position: sticky; z-index: 80; top: var(--suite-product-bar-height); min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 5px 18px; border-bottom: 1px solid #273f52; background: var(--navy-950); color: #b8c7cf; font-size: 12px; line-height: 1.35; text-align: center; }
.environment-banner img { width: 15px; height: 15px; filter: invert(75%); }
.environment-banner strong { color: var(--brass-300); }
.customer-app { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 272px minmax(0, 1fr); }
.customer-rail { position: sticky; z-index: 40; top: 82px; height: calc(100vh - 82px); display: flex; flex-direction: column; padding: 16px 13px 13px; overflow-y: auto; border-right: 1px solid var(--line-dark); background: linear-gradient(180deg, #09263d 0%, #061c2e 100%); color: #f6f2e8; }
.rail-brand { min-height: 62px; display: flex; align-items: center; gap: 11px; padding: 5px 9px 15px; border-bottom: 1px solid var(--line-dark); color: inherit; text-decoration: none; }
.crest-plate { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: var(--paper-50); }
.crest-plate img { width: 39px; height: 34px; object-fit: contain; }
.rail-brand strong, .rail-brand small { display: block; }
.rail-brand strong { font-size: 15px; letter-spacing: .01em; }
.rail-brand small { margin-top: 2px; color: #aab9c2; font-size: 12px; }
.rail-section-label { display: block; margin: 14px 11px 0; color: #7f98a7; font-size: 9px; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.rail-navigation { display: grid; gap: 2px; padding: 15px 0; }
.rail-link { min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border-left: 2px solid transparent; border-radius: 6px; color: #bdc9d0; font-size: 13px; font-weight: 650; text-decoration: none; }
.rail-link img { width: 17px; height: 17px; opacity: .82; filter: invert(84%) sepia(8%) saturate(241%) hue-rotate(155deg); }
.rail-link:hover { background: #102d44; color: #fff; }
.rail-link.is-active { border-left-color: var(--brass-500); background: #143550; color: #fff; }
.rail-link.is-active img { opacity: 1; filter: invert(79%) sepia(31%) saturate(665%) hue-rotate(359deg) brightness(91%); }
.rail-market-status { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding: 13px 10px; border-top: 1px solid var(--line-dark); color: #d9e0e4; }
.market-dot { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: #4fa886; box-shadow: 0 0 0 3px rgba(79, 168, 134, .14); }
.rail-market-status strong, .rail-market-status small { display: block; }
.rail-market-status strong { font-size: 11px; }
.rail-market-status small { margin-top: 3px; color: #8297a5; font-size: 11px; line-height: 1.35; }
.bank-link { min-height: 45px; display: grid; grid-template-columns: 17px 1fr 14px; align-items: center; gap: 9px; margin-top: 7px; padding: 0 10px; border: 1px solid #29475e; border-radius: 7px; color: #c6d1d7; font-size: 11px; text-decoration: none; }
.bank-link img { width: 15px; filter: invert(80%); }
.rail-scrim { position: fixed; z-index: 35; inset: 82px 0 0; background: rgba(4, 14, 23, .58); }
.customer-workspace { min-width: 0; min-height: calc(100vh - 82px); display: flex; flex-direction: column; }
.customer-command-bar { position: sticky; z-index: 30; top: 82px; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 8px clamp(14px, 2.2vw, 30px); border-bottom: 1px solid var(--line-light); background: rgba(251, 250, 246, .96); backdrop-filter: blur(16px); }
.mobile-menu { display: none !important; }
.account-context { min-width: 200px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; color: var(--slate-500); font-size: 12px; font-weight: 700; }
.account-context select, .language-control, .compact-select select { min-height: 42px; border: 1px solid var(--line-light); border-radius: 8px; background: var(--white); }
.account-context select { padding: 0 35px 0 11px; color: var(--slate-900); font-size: 13px; font-weight: 800; }
.command-search { min-height: 42px; min-width: 240px; max-width: 540px; flex: 1; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid var(--line-light); border-radius: 8px; background: #fff; color: var(--slate-500); text-align: left; }
.command-search img { width: 17px; }
.command-search kbd { margin-left: auto; padding: 2px 6px; border: 1px solid var(--line-light); border-radius: 4px; background: var(--paper-100); font-size: 11px; }
.command-actions { display: flex; align-items: center; gap: 7px; }
.icon-button { position: relative; width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-light); border-radius: 8px; background: #fff; }
.icon-button img { width: 18px; height: 18px; }
.notification-button > span { position: absolute; top: 3px; right: 3px; min-width: 15px; height: 15px; display: grid; place-items: center; padding: 0 3px; border-radius: 8px; background: var(--risk); color: #fff; font-size: 9px; font-weight: 800; }
.language-control { min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 8px; }
.language-control img { width: 16px; }
.language-control select { max-width: 94px; border: 0; background: transparent; font-size: 12px; font-weight: 700; }
.customer-avatar { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.connection-note { align-items: center; gap: 9px; padding: 9px clamp(16px, 3vw, 40px); border-bottom: 1px solid #e7d4a8; background: var(--warning-soft); color: #6e4810; font-size: 12px; }
.connection-note.visible { display: flex; }
.connection-note > img { width: 17px; }
.connection-note span { flex: 1; }
.connection-note button { min-height: 36px; padding: 0 12px; border: 1px solid #c39245; border-radius: 7px; background: #fff8ea; color: #6e4810; font-weight: 800; }
#customer-main { flex: 1; min-width: 0; outline: none; }
.page-shell { width: 100%; max-width: 1560px; margin: 0 auto; padding: 34px clamp(18px, 3.2vw, 50px) 58px; }
.loading-state { min-height: 55vh; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--slate-700); }
.loading-state strong, .loading-state small { display: block; }
.loading-state small { margin-top: 4px; }
.loading-mark { width: 30px; height: 30px; border: 3px solid var(--paper-200); border-top-color: var(--brass-500); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.eyebrow { margin: 0 0 8px; color: #75582e; font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow.light { color: var(--brass-300); }
.page-heading h1 { max-width: 900px; margin: 0; font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.page-heading p:last-child { max-width: 780px; margin: 8px 0 0; color: var(--slate-700); font-size: 15px; line-height: 1.55; }
.primary-button, .secondary-button, .light-button, .ghost-light-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid var(--navy-900); border-radius: 8px; background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 820; text-decoration: none; }
.primary-button img, .light-button img { width: 16px; filter: brightness(0) invert(1); }
.secondary-button { border-color: var(--line-light); background: #fff; color: var(--navy-900); }
.secondary-button img { width: 16px; }
.secondary-button.compact { min-height: 38px; padding-inline: 11px; }
.primary-button.block { width: 100%; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 0; border: 0; background: transparent; color: var(--navy-700); font-size: 12px; font-weight: 800; }
.text-button img { width: 14px; }
.paper-panel { min-width: 0; padding: 24px; border: 1px solid var(--line-light); border-radius: 11px; background: #fff; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.section-heading h2, .section-heading h3 { margin: 0; }
.section-heading h2 { font-size: 20px; line-height: 1.2; }
.section-heading h3 { font-size: 14px; }
.section-heading.compact { align-items: center; }
.section-heading.compact > span, .quiet-label { color: var(--slate-500); font-size: 12px; }
.gain { color: var(--positive) !important; }
.loss { color: var(--risk) !important; }
.position-sheet { display: grid; grid-template-columns: minmax(230px, .9fr) minmax(330px, 1.35fr) minmax(190px, .75fr); gap: clamp(18px, 2.2vw, 28px); align-items: center; padding: 28px 30px; border-radius: 12px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-paper); }
.position-primary > span { color: #b7c6cf; font-size: 13px; }
.position-primary > strong { display: block; margin: 7px 0 9px; font-size: clamp(30px, 2.7vw, 43px); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.position-sheet--business .position-primary > strong { font-size: clamp(27px, 2.15vw, 34px); }
.position-primary p { margin: 0; color: #90d1b6; font-size: 13px; font-weight: 750; }
.position-stats { display: grid; grid-template-columns: repeat(2, minmax(108px, 1fr)); gap: 20px clamp(14px, 1.8vw, 25px); margin: 0; padding: 0 clamp(18px, 2.2vw, 28px); border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.position-stats dt { color: #9fb0bc; font-size: 12px; }
.position-stats dd { margin: 5px 0 0; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.goal-progress > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: #b8c6cf; font-size: 12px; }
.goal-progress > div b { color: #fff; }
.progress-track { overflow: hidden; height: 6px; margin: 10px 0 8px; border-radius: 3px; background: #203e54; }
.progress-track span { height: 100%; display: block; background: var(--brass-500); }
.goal-progress small { color: #9eafb8; font-size: 11px; }
.market-strip { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)) auto; margin: 14px 0 26px; overflow: hidden; border: 1px solid var(--line-light); border-radius: 9px; background: #fff; }
.market-strip button { min-width: 0; min-height: 70px; display: grid; gap: 3px; align-content: center; padding: 11px 16px; border: 0; border-right: 1px solid var(--line-light); background: transparent; text-align: left; }
.market-strip button:hover { background: var(--paper-50); }
.market-strip button span { color: var(--slate-700); font-size: 12px; }
.market-strip button b { font-size: 17px; font-variant-numeric: tabular-nums; }
.market-strip button small { color: var(--positive); font-size: 11px; }
.market-strip .market-more { display: flex; align-items: center; justify-content: center; gap: 7px; border-right: 0; color: var(--navy-700); font-size: 12px; font-weight: 850; text-align: center; }
.market-more img { width: 14px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr); gap: 22px; }
.holdings-summary { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px 0; }
.allocation-visual { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--navy-700) 0 64%, var(--brass-500) 64% 82%, #718897 82% 92%, var(--paper-200) 92%); }
.allocation-visual::before { content: ""; width: 100px; height: 100px; grid-area: 1 / 1; border-radius: 50%; background: #fff; }
.allocation-visual span { z-index: 1; grid-area: 1 / 1; text-align: center; }
.allocation-visual strong, .allocation-visual small { display: block; }
.allocation-visual strong { font-size: 28px; }
.allocation-visual small { max-width: 80px; margin-top: 3px; color: var(--slate-500); font-size: 10px; line-height: 1.25; }
.holding-lines { display: grid; }
.holding-lines button { min-height: 57px; display: grid; grid-template-columns: minmax(0, 1fr) auto 15px; align-items: center; gap: 12px; padding: 7px 0; border: 0; border-bottom: 1px solid #eee9df; background: transparent; text-align: left; }
.holding-lines b, .holding-lines small { display: block; }
.holding-lines b { font-size: 13px; }
.holding-lines small { margin-top: 4px; color: var(--slate-500); font-size: 11px; }
.holding-lines strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.holding-lines img { width: 14px; opacity: .55; }
.maturity-section { padding-top: 19px; border-top: 1px solid var(--line-light); }
.maturity-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 21px; }
.maturity-track::before { content: ""; position: absolute; z-index: 0; top: 7px; left: 3%; right: 3%; height: 2px; background: var(--paper-200); }
.maturity-track > div { position: relative; z-index: 1; display: grid; gap: 4px; padding-top: 21px; }
.maturity-track i { position: absolute; top: 2px; left: 0; width: 11px; height: 11px; border: 3px solid #fff; border-radius: 50%; background: var(--brass-500); box-shadow: 0 0 0 1px var(--brass-500); }
.maturity-track b { font-size: 12px; }
.maturity-track small { color: var(--slate-500); font-size: 10px; line-height: 1.35; }
.attention-list { display: grid; margin-top: 13px; }
.attention-list > button { min-height: 68px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 15px; align-items: center; gap: 11px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; text-align: left; }
.attention-list b, .attention-list small { display: block; }
.attention-list b { font-size: 13px; }
.attention-list small { margin-top: 4px; color: var(--slate-500); font-size: 11px; line-height: 1.35; }
.attention-list > button > img { width: 14px; opacity: .55; }
.item-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: var(--paper-100); }
.item-icon img { width: 17px; }
.tone-1 { background: var(--warning-soft); }.tone-2 { background: #dfe9f0; }.tone-3 { background: var(--positive-soft); }.tone-ai { background: #eee4d1; }
.ask-brief { margin-top: 16px; padding: 17px; border-left: 3px solid var(--brass-500); border-radius: 5px 9px 9px 5px; background: #f8f4ec; }
.ask-brief header, .assistant-identity { display: flex; align-items: center; gap: 10px; }
.ask-brief b, .ask-brief small { display: block; }
.ask-brief header small { max-width: 230px; margin-top: 3px; color: var(--slate-500); font-size: 10px; }
.ask-brief p { margin: 13px 0; color: var(--slate-700); font-size: 12px; line-height: 1.55; }
.ask-brief button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--navy-700); font-size: 12px; font-weight: 800; }
.ask-brief button img { width: 14px; }
.ask-brief > small { margin-top: 10px; color: var(--slate-500); font-size: 10px; }
.filter-bar { display: flex; align-items: end; gap: 10px; margin-bottom: 18px; }
.filter-bar.compact { margin-bottom: 12px; }
.filter-bar label { min-width: 180px; display: grid; gap: 5px; color: var(--slate-500); font-size: 12px; }
.filter-bar label:first-child { position: relative; min-width: 260px; flex: 1; }
.filter-bar label:first-child > img { position: absolute; left: 12px; bottom: 13px; width: 17px; z-index: 1; }
.filter-bar input, .filter-bar select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-light); border-radius: 8px; background: #fff; }
.filter-bar label:first-child input { padding-left: 40px; }
.filter-bar > button { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid var(--line-light); border-radius: 8px; background: #fff; color: var(--navy-700); font-weight: 800; }
.filter-bar > button img { width: 16px; }
.data-table { margin-top: 16px; border-top: 1px solid var(--line-light); }
.table-head, .table-row { display: grid; align-items: center; gap: 15px; }
.instrument-table .table-head, .instrument-table .table-row { grid-template-columns: minmax(220px, 1.35fr) minmax(160px, 1fr) .6fr .6fr .85fr .55fr; }
.table-head { min-height: 36px; color: var(--slate-500); font-size: 11px; }
.table-row { width: 100%; min-height: 65px; padding: 9px 0; border: 0; border-top: 1px solid #eee9df; background: transparent; color: var(--slate-700); text-align: left; }
.table-row:hover { background: #faf8f3; }
.instrument-identity b, .instrument-identity small { display: block; }
.instrument-identity b { color: var(--slate-900); font-size: 13px; }
.instrument-identity small { margin-top: 4px; color: var(--slate-500); font-size: 11px; line-height: 1.35; }
.table-row strong { color: var(--slate-900); font-variant-numeric: tabular-nums; }
.row-action, .row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--navy-700); font-size: 13px; font-weight: 800; }
.row-action img { width: 14px; }
.status-tag { width: fit-content; min-height: 24px; display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 800; line-height: 1.2; }
.status-tag.positive { background: var(--positive-soft); color: #1e634d; }
.status-tag.warning { background: var(--warning-soft); color: #83530e; }
.status-tag.risk { background: var(--risk-soft); color: #923638; }
.status-tag.neutral { background: var(--paper-100); color: var(--slate-700); }
.tenor-comparison { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.tenor-option { min-height: 116px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 14px; padding: 16px; border: 1px solid var(--line-light); border-radius: 9px; background: #fff; text-align: left; }
.tenor-option.is-active { border-color: var(--navy-700); box-shadow: inset 3px 0 var(--brass-500); background: #faf8f2; }
.tenor-option > span { color: var(--slate-700); font-weight: 800; }
.tenor-option strong { grid-row: 1 / 3; grid-column: 2; font-size: 26px; font-variant-numeric: tabular-nums; }
.tenor-option small, .tenor-option em { color: var(--slate-500); font-size: 11px; font-style: normal; }
.tenor-option em { grid-column: 1 / 3; padding-top: 8px; border-top: 1px solid var(--line-light); }
.fixed-income-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .75fr); gap: 20px; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 20px 0 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.fact-grid > div { min-height: 72px; display: grid; align-content: center; gap: 5px; padding: 12px 14px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.fact-grid dt, .fact-list dt { color: var(--slate-500); font-size: 11px; }
.fact-grid dd, .fact-list dd { margin: 0; font-size: 13px; font-weight: 750; line-height: 1.35; }
.risk-explainer { display: flex; gap: 10px; margin-top: 18px; padding: 14px; border-left: 3px solid var(--brass-500); background: #f8f4ec; }
.risk-explainer > img { width: 18px; height: 18px; }
.risk-explainer b { font-size: 13px; }
.risk-explainer p { margin: 5px 0 0; color: var(--slate-700); font-size: 12px; line-height: 1.5; }
.document-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.document-links button { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line-light); border-radius: 7px; background: #fff; color: var(--navy-700); font-size: 12px; font-weight: 750; }
.document-links img { width: 15px; }
.calculator-sheet { padding: 24px; border: 1px solid #264962; border-radius: 11px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-paper); }
.calculator-sheet .eyebrow { color: var(--brass-300); }
.calculator-sheet .section-heading > img { width: 23px; filter: invert(80%) sepia(32%) saturate(670%) hue-rotate(359deg); }
.amount-field { display: grid; gap: 7px; margin-top: 21px; color: #bdc9d0; font-size: 12px; }
.currency-input { min-height: 50px; display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid #34546b; border-radius: 8px; background: #0b293f; }
.currency-input b { padding: 0 12px; border-right: 1px solid #34546b; color: #d9e1e5; }
.currency-input input { min-width: 0; height: 48px; padding: 0 12px; border: 0; background: transparent; color: inherit; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.amount-field small { color: #8ca0ac; }
.amount-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.amount-shortcuts button { min-height: 40px; padding: 0 5px; border: 1px solid #34546b; border-radius: 6px; background: #102f45; color: #d7e0e5; font-size: 11px; font-weight: 750; }
.calculation-results { display: grid; gap: 10px; margin: 20px 0; padding: 17px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.calculation-results div { display: flex; justify-content: space-between; gap: 14px; }
.calculation-results dt { color: #9db0bb; font-size: 12px; }
.calculation-results dd { margin: 0; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calculation-note { min-height: 54px; color: #b7c5cd; font-size: 12px; line-height: 1.5; }
.calculator-sheet .primary-button { border-color: var(--brass-500); background: var(--brass-500); color: var(--ink-950); }
.calculator-sheet .primary-button img { filter: none; }
.legal-note { display: block; margin: 13px 0 0; color: var(--slate-500); font-size: 11px; line-height: 1.45; }
.calculator-sheet .legal-note { color: #8fa2ad; }
.maturity-ladder { margin-top: 20px; }
.ladder-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 25px; }
.ladder-track::before { content: ""; position: absolute; top: 7px; left: 3%; right: 3%; height: 2px; background: var(--paper-200); }
.ladder-track > div { position: relative; z-index: 1; display: grid; gap: 5px; padding-top: 22px; }
.ladder-track > div > span { position: absolute; top: 2px; width: 11px; height: 11px; border: 3px solid #fff; border-radius: 50%; background: var(--brass-500); box-shadow: 0 0 0 1px var(--brass-500); }
.ladder-track b { font-size: 12px; }.ladder-track small { color: var(--slate-500); font-size: 11px; }.ladder-track strong { font-size: 13px; }
.trade-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .78fr); gap: 20px; }
.instrument-title { display: flex; justify-content: space-between; gap: 16px; }
.instrument-title h2 { margin: 0; font-size: 26px; }
.instrument-title > div > span { display: block; margin-top: 4px; color: var(--slate-500); font-size: 12px; }
.quote-band { display: grid; grid-template-columns: repeat(3, 1fr); margin: 19px 0 12px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.quote-band > div { display: grid; gap: 5px; padding: 14px; border-right: 1px solid var(--line-light); }
.quote-band > div:last-child { border-right: 0; }
.quote-band span, .quote-band small { color: var(--slate-500); font-size: 11px; }
.quote-band strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.movement-summary { min-height: 132px; display: flex; align-items: flex-start; gap: 13px; margin-bottom: 17px; padding: 22px; border-left: 3px solid var(--navy-700); border-radius: 5px 8px 8px 5px; background: #f4f7f8; }
.movement-summary > img { width: 22px; height: 22px; }
.movement-summary b { font-size: 15px; }
.movement-summary p { margin: 8px 0 0; color: var(--slate-700); font-size: 12px; line-height: 1.55; }
.instrument-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line-light); }
.instrument-detail-grid > div { padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.instrument-detail-grid dt { color: var(--slate-500); font-size: 11px; }.instrument-detail-grid dd { margin: 4px 0 0; font-size: 13px; font-weight: 750; }
.buying-power { color: var(--slate-500); font-size: 11px; text-align: right; }
.buying-power b { display: block; margin-top: 3px; color: var(--slate-900); font-size: 12px; }
.trade-ticket form { margin-top: 15px; }
.selection-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-light); }
.selection-tabs button { min-height: 43px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--slate-500); font-weight: 800; }
.selection-tabs button.is-active { border-bottom-color: var(--navy-700); color: var(--navy-900); background: #f5f7f8; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 17px; }
.form-grid label, .funding-form label { display: grid; gap: 6px; color: var(--slate-700); font-size: 12px; font-weight: 700; }
.form-grid input, .form-grid select, .funding-form select { width: 100%; min-height: 44px; padding: 0 11px; border: 1px solid var(--line-light); border-radius: 8px; background: #fff; font-variant-numeric: tabular-nums; }
.cash-shortcuts { display: flex; align-items: center; gap: 7px; margin-top: 13px; }
.cash-shortcuts > span { margin-right: auto; color: var(--slate-500); font-size: 11px; }
.cash-shortcuts button { min-height: 38px; padding: 0 10px; border: 1px solid var(--line-light); border-radius: 7px; background: #fff; color: var(--navy-700); font-size: 11px; font-weight: 750; }
.trade-estimate { display: grid; gap: 9px; margin: 18px 0; padding: 15px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.trade-estimate > div { display: flex; justify-content: space-between; gap: 15px; }
.trade-estimate dt { color: var(--slate-500); font-size: 12px; }
.trade-estimate dd { margin: 0; font-size: 12px; font-weight: 800; text-align: right; }
.validation-message { min-height: 50px; display: flex; align-items: flex-start; gap: 9px; padding: 11px; border-left: 3px solid var(--positive); background: var(--positive-soft); color: #205f4b; font-size: 12px; line-height: 1.45; }
.validation-message.is-risk { border-left-color: var(--risk); background: var(--risk-soft); color: #843436; }
.validation-message img { width: 17px; }
.trade-ticket .primary-button { margin-top: 15px; }
.order-types-note { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.order-types-note > div { display: flex; align-items: flex-start; gap: 10px; }
.order-types-note > div > img { width: 18px; }
.order-types-note b, .order-types-note small { display: block; }.order-types-note small { margin-top: 4px; color: var(--slate-500); font-size: 11px; line-height: 1.4; }
.portfolio-summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); background: rgba(255, 255, 255, .55); }
.portfolio-summary-strip > div { display: grid; gap: 5px; padding: 18px 20px; border-right: 1px solid var(--line-light); }
.portfolio-summary-strip > div:last-child { border-right: 0; }
.portfolio-summary-strip span { color: var(--slate-500); font-size: 11px; }.portfolio-summary-strip strong { font-size: 22px; font-variant-numeric: tabular-nums; }.portfolio-summary-strip small { color: var(--slate-700); font-size: 11px; }
.portfolio-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .6fr); gap: 20px; }
.compact-select { display: flex; align-items: center; gap: 7px; color: var(--slate-500); font-size: 11px; }
.compact-select select { min-height: 38px; padding: 0 30px 0 9px; }
.portfolio-head, .portfolio-row { grid-template-columns: minmax(210px, 1.3fr) .7fr .7fr .9fr .7fr .45fr; }
.currency-list { display: grid; margin-top: 15px; }
.currency-list > div { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 15px 0; border-bottom: 1px solid var(--line-light); }
.currency-list b, .currency-list small { display: block; }.currency-list small { margin-top: 3px; color: var(--slate-500); font-size: 11px; }.currency-list strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.currency-list i { grid-column: 1 / 3; height: 5px; overflow: hidden; border-radius: 3px; background: var(--paper-200); }.currency-list i span { height: 100%; display: block; background: var(--navy-700); }
.concentration-note { display: flex; gap: 9px; margin-top: 18px; padding: 13px; border-left: 3px solid var(--warning); background: var(--warning-soft); }
.concentration-note > img { width: 17px; }.concentration-note b, .concentration-note small { display: block; }.concentration-note small { margin-top: 4px; color: #785015; font-size: 11px; line-height: 1.45; }
.performance-panel { margin-top: 20px; }
.time-tabs { display: flex; border-bottom: 1px solid var(--line-light); }
.time-tabs button { min-height: 38px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--slate-500); font-size: 11px; font-weight: 750; }.time-tabs button.is-active { border-bottom-color: var(--brass-500); color: var(--navy-900); }
.performance-bars { display: grid; gap: 15px; margin: 25px 0 14px; }
.performance-bars > div { display: grid; grid-template-columns: 170px 1fr 60px; align-items: center; gap: 14px; }.performance-bars span { font-size: 12px; }.performance-bars i { height: 12px; overflow: hidden; background: var(--paper-200); }.performance-bars i b { height: 100%; display: block; background: var(--navy-700); }.performance-bars > div:nth-child(2) i b { background: var(--brass-500); }.performance-bars strong { font-size: 12px; text-align: right; }
.performance-panel > p { margin: 0; color: var(--slate-500); font-size: 11px; }
.order-state-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 16px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.order-state-strip button { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border: 0; border-right: 1px solid var(--line-light); border-bottom: 3px solid transparent; background: rgba(255, 255, 255, .55); }.order-state-strip button:last-child { border-right: 0; }.order-state-strip button.is-active { border-bottom-color: var(--brass-500); background: #fff; }.order-state-strip b { font-size: 19px; }
.order-head, .order-row { grid-template-columns: 1.05fr .6fr .8fr .75fr .7fr .9fr .8fr; }
.order-row { cursor: default; }
.row-actions button,
.row-actions .row-link { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line-light); border-radius: 6px; background: #fff; color: var(--navy-700); font-size: 13px; font-weight: 750; text-decoration: none; }
.row-actions .row-link img { width: 15px; }
.lifecycle-panel { margin-top: 20px; }
.lifecycle-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 25px 0 0; padding: 0; list-style: none; }
.lifecycle-timeline li { position: relative; display: grid; gap: 5px; padding: 25px 14px 0 0; }.lifecycle-timeline li::before { content: ""; position: absolute; top: 7px; left: 0; width: 12px; height: 12px; border: 2px solid var(--line-light); border-radius: 50%; background: #fff; }.lifecycle-timeline li::after { content: ""; position: absolute; top: 13px; left: 14px; right: 0; height: 2px; background: var(--paper-200); }.lifecycle-timeline li:last-child::after { display: none; }.lifecycle-timeline li.complete::before { border-color: var(--positive); background: var(--positive); }.lifecycle-timeline li.active::before { border-color: var(--brass-500); box-shadow: 0 0 0 3px rgba(181, 138, 71, .18); }.lifecycle-timeline b { font-size: 14px; }.lifecycle-timeline small { color: var(--slate-500); font-size: 13px; line-height: 1.45; }
.lifecycle-handoff { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-light); }.lifecycle-handoff > span { display: flex; align-items: center; gap: 10px; }.lifecycle-handoff > span > img { width: 20px; }.lifecycle-handoff b, .lifecycle-handoff small { display: block; }.lifecycle-handoff b { font-size: 14px; }.lifecycle-handoff small { margin-top: 3px; color: var(--slate-500); font-size: 13px; line-height: 1.45; }.lifecycle-handoff .secondary-button { flex: 0 0 auto; text-decoration: none; }
.briefing-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .55fr); gap: 40px; padding: 30px; border-radius: 12px; background: var(--navy-900); color: #fff; }
.briefing-lead h2 { max-width: 760px; margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3vw, 44px); font-weight: 500; line-height: 1.07; }.briefing-lead p:not(.eyebrow) { max-width: 700px; color: #bdc9d0; line-height: 1.6; }.briefing-lead > div > div { display: flex; gap: 9px; margin-top: 22px; }.light-button { border-color: #fff; background: #fff; color: var(--navy-900); }.light-button img { filter: none; }.ghost-light-button { border-color: #3b566b; background: transparent; color: #fff; }.ghost-light-button img { width: 16px; filter: brightness(0) invert(1); }
.briefing-lead aside { display: flex; flex-direction: column; padding: 18px; border: 1px solid #294961; background: #0d2a40; }.briefing-lead aside > span { color: #9fb0bb; font-size: 11px; }.yield-bars { min-height: 180px; flex: 1; display: flex; align-items: end; gap: 12px; margin-top: 16px; border-bottom: 1px solid #466076; }.yield-bars i { position: relative; width: 20%; height: var(--height); background: linear-gradient(to top, var(--brass-500), var(--brass-300)); }.yield-bars b { position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); color: #aab9c2; font-size: 10px; font-style: normal; }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }.research-card { min-width: 0; padding: 22px; border: 1px solid var(--line-light); border-radius: 10px; background: #fff; }.research-card > span { color: #795b2e; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.research-card h2 { margin: 13px 0 9px; font-size: 19px; line-height: 1.25; }.research-card p { color: var(--slate-700); font-size: 13px; line-height: 1.55; }.research-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 13px; border-top: 1px solid var(--line-light); }.research-card footer small { color: var(--slate-500); font-size: 10px; }.research-card footer button { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--navy-700); font-size: 11px; font-weight: 800; }.research-card footer img { width: 13px; }
.glossary-panel dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 20px 0 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }.glossary-panel dl > div { padding: 16px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }.glossary-panel dt { font-weight: 850; }.glossary-panel dd { margin: 6px 0 0; color: var(--slate-700); font-size: 12px; line-height: 1.5; }
.funding-position { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }.funding-position article { display: grid; gap: 5px; padding: 18px; border-right: 1px solid var(--line-light); background: rgba(255, 255, 255, .55); }.funding-position article:last-child { border-right: 0; }.funding-position span, .funding-position small { color: var(--slate-500); font-size: 11px; }.funding-position strong { font-size: 23px; font-variant-numeric: tabular-nums; }
.funding-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .62fr); gap: 20px; }.funding-form { display: grid; gap: 14px; margin-top: 20px; }.funding-form .currency-input { border-color: var(--line-light); background: #fff; color: var(--slate-900); }.funding-form .currency-input b { border-right-color: var(--line-light); }.fact-list { display: grid; margin: 18px 0 0; border-top: 1px solid var(--line-light); }.fact-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-light); }
.activity-panel { padding-top: 14px; }.activity-list { display: grid; border-top: 1px solid var(--line-light); }.activity-list article { min-height: 76px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto 36px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-light); }.activity-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: var(--paper-100); }.activity-icon img { width: 17px; }.activity-list time, .activity-list b, .activity-list small { display: block; }.activity-list time { color: var(--slate-500); font-size: 10px; }.activity-list b { margin-top: 3px; font-size: 13px; }.activity-list small { margin-top: 3px; color: var(--slate-500); font-size: 11px; }.activity-list > article > strong { font-variant-numeric: tabular-nums; }.activity-list > article > button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; }.activity-list > article > button img { width: 15px; }
.live-system-strip { display: grid; grid-template-columns: 1.1fr 1fr 1fr; margin: -12px 0 26px; overflow: hidden; border: 1px solid #d9d4c9; border-radius: 10px; background: #fff; box-shadow: 0 8px 26px rgba(10, 33, 54, .05); }
.live-system-strip button { min-width: 0; min-height: 76px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px 16px; border: 0; border-right: 1px solid var(--line-light); background: transparent; color: var(--navy-900); text-align: left; }
.live-system-strip button:last-child { border-right: 0; }
.live-system-strip button:hover { background: #faf8f3; }
.live-signal-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: #eee4d1; }
.live-signal-icon img { width: 17px; }
.live-system-strip small, .live-system-strip b { display: block; }
.live-system-strip small { margin-bottom: 4px; color: var(--slate-500); font-size: 13px; }
.live-system-strip b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.live-system-strip em { padding: 4px 7px; border-radius: 5px; background: var(--positive-soft); color: #245f4a; font-size: 13px; font-style: normal; font-weight: 800; }
.live-system-strip button > img { width: 16px; opacity: .6; }
.activity-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line-light); border-radius: 10px; background: var(--navy-900); color: #fff; }
.activity-summary > div { min-width: 0; padding: 16px 18px; border-right: 1px solid var(--line-dark); }
.activity-summary > div:last-child { border-right: 0; }
.activity-summary span, .activity-summary strong, .activity-summary small { display: block; }
.activity-summary span, .activity-summary small { color: #aebdc6; font-size: 13px; }
.activity-summary strong { margin: 6px 0; overflow: hidden; font-size: 16px; text-overflow: ellipsis; text-transform: capitalize; white-space: nowrap; }
.info-dialog-content { display: grid; gap: 16px; }
.info-lead { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 13px; padding: 16px; border-left: 3px solid var(--brass-500); background: #faf8f3; }
.info-lead > img { width: 21px; margin: 2px auto 0; }
.info-lead p { margin: 0; color: var(--slate-700); font-size: 15px; line-height: 1.55; }
.info-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.info-facts > div { padding: 14px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.info-facts dt { color: var(--slate-500); font-size: 13px; }
.info-facts dd { margin: 6px 0 0; font-size: 14px; font-weight: 750; line-height: 1.4; }
.assistant-layout { display: grid; grid-template-columns: minmax(250px, .52fr) minmax(0, 1.45fr); gap: 20px; }.assistant-context { align-self: start; padding: 22px; border: 1px solid var(--line-dark); border-radius: 10px; background: var(--navy-900); color: #fff; }.assistant-identity > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: #efe4d1; }.assistant-identity img { width: 20px; }.assistant-identity b, .assistant-identity small { display: block; }.assistant-identity small { margin-top: 3px; color: #aab8c1; font-size: 11px; }.assistant-context dl { display: grid; margin: 18px 0; border-top: 1px solid var(--line-dark); }.assistant-context dl > div { padding: 13px 0; border-bottom: 1px solid var(--line-dark); }.assistant-context dt { color: #93a6b1; font-size: 11px; }.assistant-context dd { margin: 5px 0 0; font-size: 12px; font-weight: 750; line-height: 1.4; }.assistant-safety { display: flex; gap: 9px; padding: 12px; border-left: 3px solid var(--brass-500); background: #0d2c42; color: #bac7cf; font-size: 11px; line-height: 1.5; }.assistant-safety img { width: 17px; filter: invert(80%); }
.assistant-conversation { min-width: 0; padding: 20px; border: 1px solid var(--line-light); border-radius: 10px; background: #fff; }.prompt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }.prompt-grid button { min-height: 58px; padding: 10px 13px; border: 1px solid var(--line-light); border-radius: 8px; background: #fff; color: var(--navy-900); font-size: 12px; font-weight: 750; line-height: 1.4; text-align: left; }.prompt-grid button:hover { border-color: var(--brass-500); background: #faf7f1; }.message-thread { min-height: 290px; display: grid; align-content: start; gap: 14px; margin-top: 16px; }.assistant-welcome { min-height: 250px; display: flex; align-items: center; justify-content: center; gap: 13px; color: var(--slate-700); text-align: left; }.assistant-welcome > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: #efe4d1; }.assistant-welcome img { width: 23px; }.assistant-welcome h2 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 500; }.assistant-welcome p { margin: 7px 0 0; }
.assistant-answer { padding: 20px; border-left: 3px solid var(--brass-500); border-radius: 6px 10px 10px 6px; background: #faf8f3; }.assistant-answer > header { display: flex; gap: 9px; align-items: center; }.assistant-answer > header > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: #eee4d1; }.assistant-answer header img { width: 17px; }.assistant-answer header b, .assistant-answer header small { display: block; }.assistant-answer header small { margin-top: 3px; color: var(--slate-500); font-size: 10px; }.assistant-answer > p { color: var(--slate-700); line-height: 1.6; }.citation-list { display: grid; gap: 5px; margin: 15px 0; padding: 14px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }.citation-list > strong { margin-bottom: 3px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }.citation-list button { min-height: 43px; display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #e2dcd1; border-radius: 6px; background: #fff; color: var(--navy-700); text-align: left; }.citation-list img { width: 15px; }.citation-list b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-100); font-size: 10px; }.answer-boundary b { font-size: 12px; }.answer-boundary p { margin: 5px 0 14px; color: var(--slate-500); font-size: 11px; line-height: 1.5; }
.assistant-composer { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line-light); background: #fff; }.assistant-composer textarea { width: 100%; min-height: 52px; resize: vertical; padding: 11px; border: 1px solid var(--line-light); border-radius: 8px; line-height: 1.4; }
.more-page { max-width: 900px; }.more-group { margin-bottom: 25px; }.more-group > h2 { margin: 0 0 9px; font-size: 16px; }.more-group > div { overflow: hidden; border: 1px solid var(--line-light); border-radius: 10px; background: #fff; }.more-group button { width: 100%; min-height: 70px; display: grid; grid-template-columns: 40px 1fr 16px; align-items: center; gap: 11px; padding: 10px 15px; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; text-align: left; }.more-group button:last-child { border-bottom: 0; }.more-group b, .more-group small { display: block; }.more-group b { font-size: 13px; }.more-group small { margin-top: 4px; color: var(--slate-500); font-size: 11px; }.more-group button > img { width: 15px; opacity: .55; }.centered { text-align: center; }
.mobile-bottom-navigation { display: none; }
dialog { max-width: min(620px, calc(100vw - 28px)); width: 100%; max-height: calc(100vh - 28px); padding: 0; overflow: auto; border: 1px solid var(--line-light); border-radius: 12px; background: var(--paper-50); color: var(--slate-900); box-shadow: 0 30px 90px rgba(3, 14, 23, .38); }
dialog::backdrop { background: rgba(3, 14, 23, .66); backdrop-filter: blur(4px); }
.dialog-frame { margin: 0; }
.dialog-header { min-height: 78px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 11px; padding: 14px 18px; border-bottom: 1px solid var(--line-light); background: #fff; }.dialog-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: #eee4d1; }.dialog-icon img { width: 20px; }.dialog-header p { margin: 0 0 3px; color: #74582f; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.dialog-header h2 { margin: 0; font-size: 20px; }.dialog-content { padding: 22px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 14px 18px; border-top: 1px solid var(--line-light); background: #fff; }
.review-amount { padding: 20px; border-radius: 10px; background: var(--navy-900); color: #fff; text-align: center; }.review-amount span, .review-amount strong, .review-amount small { display: block; }.review-amount span, .review-amount small { color: #b7c4cc; }.review-amount strong { margin: 8px 0; font-size: 28px; font-variant-numeric: tabular-nums; }.review-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 17px 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }.review-facts > div { padding: 12px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }.review-facts dt { color: var(--slate-500); font-size: 11px; }.review-facts dd { margin: 5px 0 0; font-size: 12px; font-weight: 750; line-height: 1.35; }.review-boundary { display: flex; gap: 10px; padding: 14px; border-left: 3px solid var(--brass-500); background: #f8f4ec; }.review-boundary > img { width: 18px; }.review-boundary b { font-size: 13px; }.review-boundary p { margin: 5px 0 0; color: var(--slate-700); font-size: 12px; line-height: 1.5; }
.verification-step, .receipt-state { text-align: center; }.dialog-large-icon, .receipt-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 14px; background: #eee4d1; }.dialog-large-icon img, .receipt-icon img { width: 28px; }.verification-step h3, .receipt-state h3 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 500; }.verification-step > p, .receipt-state > p { max-width: 470px; margin: 8px auto 18px; color: var(--slate-700); line-height: 1.55; }.verification-step label { max-width: 320px; display: grid; gap: 7px; margin: 0 auto; text-align: left; font-size: 12px; font-weight: 750; }.verification-step input { min-height: 48px; padding: 0 12px; border: 1px solid var(--line-light); border-radius: 8px; font-size: 20px; letter-spacing: .25em; text-align: center; }.verification-step label small { color: var(--slate-500); font-weight: 500; }.inline-error { max-width: 320px; margin: 9px auto 0; padding: 9px; border-left: 3px solid var(--risk); background: var(--risk-soft); color: #843436; font-size: 12px; text-align: left; }.receipt-icon { background: var(--positive-soft); }.receipt-reference { max-width: 380px; margin: 0 auto; padding: 14px; border: 1px solid var(--line-light); background: #fff; }.receipt-reference span, .receipt-reference strong { display: block; }.receipt-reference span { color: var(--slate-500); font-size: 11px; }.receipt-reference strong { margin-top: 5px; font-size: 16px; letter-spacing: .03em; }
.search-frame { background: var(--paper-50); }.search-input { position: relative; display: block; margin: 18px; }.search-input > img { position: absolute; left: 13px; top: 15px; width: 18px; }.search-input input { width: 100%; min-height: 48px; padding: 0 13px 0 42px; border: 1px solid var(--line-light); border-radius: 8px; background: #fff; }.search-results { display: grid; padding: 0 18px 18px; }.search-results button { min-height: 60px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 15px; align-items: center; gap: 10px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; text-align: left; }.search-results button > span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--paper-100); }.search-results img { width: 15px; }.search-results b, .search-results small { display: block; }.search-results small { margin-top: 4px; color: var(--slate-500); font-size: 11px; }.empty-search { padding: 20px; color: var(--slate-500); text-align: center; }
.toast-region { position: fixed; z-index: 100; right: 18px; bottom: 18px; display: grid; gap: 8px; pointer-events: none; }.toast { max-width: 390px; min-height: 52px; display: flex; align-items: flex-start; gap: 9px; padding: 13px 15px; border: 1px solid var(--line-light); border-left: 3px solid var(--navy-700); border-radius: 8px; background: #fff; box-shadow: var(--shadow-paper); color: var(--slate-700); font-size: 12px; line-height: 1.45; }.toast.success { border-left-color: var(--positive); }.toast.risk { border-left-color: var(--risk); }.toast img { width: 18px; }

@media (max-width: 1260px) {
  .customer-app { grid-template-columns: 272px minmax(0, 1fr); }
  .position-sheet { grid-template-columns: minmax(250px, .8fr) 1.2fr; }.goal-progress { grid-column: 1 / 3; }.position-stats { border-right: 0; }
  .overview-grid, .portfolio-grid { grid-template-columns: 1fr; }.attention-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 22px; }.attention-panel > .section-heading { grid-column: 1 / 3; }.ask-brief { margin-top: 0; }
  .instrument-table .table-head, .instrument-table .table-row { grid-template-columns: minmax(200px, 1.2fr) 1fr .6fr .6fr .85fr; }.instrument-table .table-head span:nth-child(6), .instrument-table .table-row .row-action { display: none; }
  .trade-layout { grid-template-columns: 1fr; }.instrument-context { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }.instrument-title, .quote-band { grid-column: 1 / 3; }.movement-summary { min-height: 140px; }.instrument-detail-grid { align-self: end; }
}

@media (max-width: 960px) {
  .customer-app { grid-template-columns: 1fr; }
  .customer-rail { position: fixed; z-index: 50; top: 82px; left: 0; width: min(290px, 84vw); height: calc(100vh - 82px); transform: translateX(-105%); box-shadow: 20px 0 60px rgba(3, 14, 23, .3); transition: transform var(--duration-ui); }.customer-rail.is-open { transform: translateX(0); }
  .rail-brand { justify-content: flex-start; padding-inline: 9px; }.rail-brand > span:last-child, .rail-link span, .rail-market-status > span:last-child, .bank-link span, .bank-link img:last-child { display: block; }.rail-link { justify-content: flex-start; padding: 0 11px; }.rail-market-status { justify-content: flex-start; }.bank-link { display: grid; }
  .mobile-menu { display: grid !important; }
  .command-search { min-width: 0; max-width: none; }.command-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.command-search kbd { display: none; }
  .page-shell { padding-top: 27px; }
  .fixed-income-grid, .funding-grid { grid-template-columns: 1fr; }.calculator-sheet { order: -1; }
  .assistant-layout { grid-template-columns: 1fr; }.assistant-context { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.assistant-context dl { margin: 0; }.assistant-safety { grid-column: 1 / 3; }
  .portfolio-summary-strip { grid-template-columns: repeat(2, 1fr); }.portfolio-summary-strip > div:nth-child(2) { border-right: 0; }.portfolio-summary-strip > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line-light); }
  .portfolio-head, .portfolio-row { grid-template-columns: minmax(190px, 1.2fr) .7fr .8fr .75fr; }.portfolio-head span:nth-child(3), .portfolio-row > span:nth-child(3), .portfolio-head span:nth-child(6), .portfolio-row .row-action { display: none; }
  .order-head, .order-row { grid-template-columns: 1.05fr .6fr .8fr .9fr .8fr; }.order-head span:nth-child(4), .order-row > span:nth-child(4), .order-head span:nth-child(5), .order-row > span:nth-child(5) { display: none; }
  .research-grid { grid-template-columns: 1fr 1fr; }.research-card:last-child { grid-column: 1 / 3; }
  .live-system-strip { grid-template-columns: 1fr; }
  .live-system-strip button { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .live-system-strip button:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .environment-banner { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .customer-rail { top: 88px; height: calc(100vh - 88px); }
  .customer-workspace { min-height: calc(100vh - 88px); padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .customer-command-bar { top: 88px; min-height: 61px; padding: 8px 12px; }.mobile-menu { width: 44px; height: 44px; }
  .account-context { min-width: 0; margin-right: auto; }.account-context > span { display: none; }.account-context select { max-width: 118px; }
  .command-search, .language-control { display: none; }.command-actions { gap: 5px; }.customer-avatar { width: 38px; height: 38px; }
  .page-shell { padding: 22px 15px 32px; }.page-heading { align-items: flex-start; margin-bottom: 21px; }.page-heading h1 { font-size: clamp(31px, 9vw, 39px); }.page-heading p:last-child { font-size: 14px; }.page-heading > button, .desktop-primary { display: none; }
  .position-sheet { grid-template-columns: 1fr; gap: 17px; padding: 22px 19px; }.position-primary > strong { font-size: clamp(27px, 8vw, 35px); white-space: normal; }.position-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 17px 0; border: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }.position-stats dd { font-size: 14px; }.goal-progress { grid-column: auto; }
  .market-strip { grid-template-columns: repeat(2, 1fr); }.market-strip button { min-height: 74px; }.market-strip button:nth-child(2) { border-right: 0; }.market-strip button:nth-child(-n + 2) { border-bottom: 1px solid var(--line-light); }.market-strip .market-more { border-top: 1px solid var(--line-light); }
  .overview-grid { grid-template-columns: 1fr; }.paper-panel { padding: 18px; }.holdings-summary { grid-template-columns: 125px 1fr; gap: 15px; }.allocation-visual { width: 116px; height: 116px; }.allocation-visual::before { width: 78px; height: 78px; }.allocation-visual strong { font-size: 23px; }.holding-lines button:nth-child(n + 4) { display: none; }.attention-panel { display: block; }.ask-brief { margin-top: 15px; }
  .maturity-track, .ladder-track { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }.maturity-track::before, .ladder-track::before { display: none; }.maturity-track > div, .ladder-track > div { padding: 0 0 0 17px; }.maturity-track i, .ladder-track > div > span { top: 3px; }
  .mobile-bottom-navigation { position: fixed; z-index: 32; left: 0; right: 0; bottom: 0; min-height: 67px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 5px env(safe-area-inset-bottom); border-top: 1px solid var(--line-light); background: rgba(251, 250, 246, .98); backdrop-filter: blur(15px); }.mobile-bottom-navigation a { min-width: 0; min-height: 64px; display: grid; place-items: center; align-content: center; gap: 4px; border-top: 2px solid transparent; color: var(--slate-500); font-size: 11px; font-weight: 700; text-decoration: none; }.mobile-bottom-navigation a.is-active { border-top-color: var(--brass-500); color: var(--navy-900); }.mobile-bottom-navigation img { width: 18px; height: 18px; }
  .filter-bar { flex-wrap: wrap; }.filter-bar label, .filter-bar label:first-child { min-width: 100%; }.filter-bar > button { width: 100%; justify-content: center; }
  .market-table-panel, .order-table-panel, .holdings-table { padding-inline: 15px; }.table-head { display: none; }.instrument-table .table-row, .portfolio-row, .order-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; padding: 15px 0; }.instrument-table .table-row > *, .portfolio-row > *, .order-row > * { display: block !important; }.table-row [data-label]::before, .order-row [data-label]::before { content: attr(data-label) ": "; color: var(--slate-500); font-weight: 500; }.instrument-table .table-row > span:nth-child(2) { grid-column: 1; }.instrument-table .table-row > strong { grid-column: 2; grid-row: 1; }.instrument-table .table-row > .gain, .instrument-table .table-row > .loss { grid-column: 2; grid-row: 2; text-align: right; }.instrument-table .table-row > span:nth-child(5) { grid-column: 1; }.instrument-table .row-action { grid-column: 2; grid-row: 3; }.portfolio-row .instrument-identity, .order-row .instrument-identity { grid-column: 1 / 3; }.portfolio-row .row-action, .order-row .row-actions { grid-column: 1 / 3; justify-content: flex-start; }.portfolio-row > span:nth-child(3), .order-row > span:nth-child(4), .order-row > span:nth-child(5) { display: none !important; }
  .tenor-comparison { grid-template-columns: 1fr; }.tenor-option { min-height: 96px; }
  .calculator-sheet { padding: 19px; }.amount-shortcuts { grid-template-columns: 1fr; }.amount-shortcuts button { min-height: 44px; }.fact-grid { grid-template-columns: 1fr; }
  .trade-layout, .instrument-context { display: block; }.quote-band { grid-template-columns: 1fr 1fr; }.quote-band > div:first-child { grid-column: 1 / 3; border-right: 0; border-bottom: 1px solid var(--line-light); }.movement-summary { min-height: 0; }.form-grid { grid-template-columns: 1fr; }.cash-shortcuts { flex-wrap: wrap; }.cash-shortcuts > span { width: 100%; }.trade-estimate > div { align-items: flex-start; }.order-types-note { display: block; }.order-types-note > button { margin-top: 12px; }
  .portfolio-summary-strip { grid-template-columns: 1fr 1fr; }.portfolio-summary-strip > div { padding: 14px; }.portfolio-summary-strip strong { font-size: 17px; }.portfolio-grid { grid-template-columns: 1fr; }.performance-bars > div { grid-template-columns: 100px 1fr 50px; }
  .order-state-strip { grid-template-columns: repeat(2, 1fr); }.order-state-strip button:nth-child(2) { border-right: 0; }.order-state-strip button:nth-child(-n + 2) { border-bottom: 1px solid var(--line-light); }.lifecycle-timeline { grid-template-columns: 1fr; gap: 0; }.lifecycle-timeline li { min-height: 76px; padding: 0 0 14px 30px; }.lifecycle-timeline li::before { top: 1px; }.lifecycle-timeline li::after { top: 14px; left: 6px; width: 2px; height: calc(100% - 6px); }.lifecycle-timeline li:last-child { min-height: 20px; }
  .lifecycle-handoff { align-items: stretch; flex-direction: column; }.lifecycle-handoff .secondary-button { justify-content: center; }
  .briefing-lead { grid-template-columns: 1fr; padding: 22px; }.briefing-lead > div > div { flex-direction: column; }.briefing-lead aside { min-height: 230px; }.research-grid { grid-template-columns: 1fr; }.research-card:last-child { grid-column: auto; }.glossary-panel dl { grid-template-columns: 1fr; }
  .funding-position { grid-template-columns: 1fr; }.funding-position article { border-right: 0; border-bottom: 1px solid var(--line-light); }.funding-position article:last-child { border-bottom: 0; }.funding-grid { grid-template-columns: 1fr; }
  .activity-list article { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 9px; padding: 13px 0; }.activity-list article > strong { grid-column: 2; }.activity-list article > .status-tag { grid-column: 2; }.activity-list article > button { grid-column: 3; grid-row: 1; }.activity-list article > .status-tag + button { grid-row: 1 / 3; }
  .activity-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-summary > div:nth-child(2) { border-right: 0; }
  .activity-summary > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
  .live-system-strip { margin-top: -8px; }
  .info-facts { grid-template-columns: 1fr; border-top: 0; }
  .info-facts > div { border-top: 1px solid var(--line-light); }
  .assistant-context { display: block; }.assistant-context dl { margin: 18px 0; }.assistant-safety { grid-column: auto; }.assistant-conversation { padding: 14px; }.prompt-grid { grid-template-columns: 1fr; }.assistant-welcome { min-height: 190px; }.assistant-composer { grid-template-columns: 1fr; padding-bottom: 2px; }.assistant-composer .primary-button { min-height: 48px; }
  dialog { max-width: 100vw; width: 100vw; max-height: calc(100vh - 8px); margin: auto 0 0; border-radius: 14px 14px 0 0; }.dialog-header { position: sticky; z-index: 2; top: 0; }.dialog-actions { position: sticky; z-index: 2; bottom: 0; display: grid; grid-template-columns: 1fr; padding-bottom: max(14px, env(safe-area-inset-bottom)); }.review-facts { grid-template-columns: 1fr; }.search-dialog { margin: 0; max-height: 100vh; border-radius: 0; }
  .toast-region { left: 10px; right: 10px; bottom: calc(78px + env(safe-area-inset-bottom)); }.toast { max-width: none; }
}

@media (max-width: 430px) {
  .environment-banner span { max-width: 340px; }
  .customer-command-bar { gap: 7px; }.command-actions .icon-button:first-of-type { display: none; }
  .position-stats { grid-template-columns: 1fr; gap: 13px; }.position-stats > div { display: flex; justify-content: space-between; gap: 10px; }.position-stats dd { margin: 0; text-align: right; }
  .market-strip { grid-template-columns: 1fr; }.market-strip button, .market-strip button:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line-light); }.market-strip .market-more { border-bottom: 0; }
  .holdings-summary { grid-template-columns: 1fr; }.allocation-visual { margin: 0 auto; }
  .section-heading { align-items: flex-start; }.section-heading > .quiet-label { display: none; }
  .quote-band { grid-template-columns: 1fr; }.quote-band > div:first-child { grid-column: auto; }.quote-band > div { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .portfolio-summary-strip { grid-template-columns: 1fr; }.portfolio-summary-strip > div { border-right: 0; border-bottom: 1px solid var(--line-light); }.portfolio-summary-strip > div:last-child { border-bottom: 0; }
  .performance-bars > div { grid-template-columns: 1fr auto; }.performance-bars i { grid-column: 1 / 3; }
  .order-state-strip { grid-template-columns: 1fr 1fr; }.order-state-strip button { padding-inline: 12px; }
  .funding-position strong { font-size: 19px; }
  .activity-panel { padding-inline: 14px; }
  .assistant-welcome { display: block; padding: 25px 5px; text-align: center; }.assistant-welcome > span { margin: 0 auto 12px; }
  .mobile-bottom-navigation a { font-size: 10px; }
}

@media (max-width: 760px) {
  :root { --suite-product-bar-height: 56px; }
  .suite-product-control select { min-height: 44px; font-size: 14px; }
  .environment-banner { min-height: 40px; font-size: 13px; }
  .customer-app { min-height: calc(100dvh - var(--suite-product-bar-height) - 40px); }
  .customer-rail { top: calc(var(--suite-product-bar-height) + 40px); height: calc(100dvh - var(--suite-product-bar-height) - 40px); }
  .rail-scrim { inset: calc(var(--suite-product-bar-height) + 40px) 0 0; }
  .customer-workspace { min-height: calc(100dvh - var(--suite-product-bar-height) - 40px); }
  .customer-command-bar { top: calc(var(--suite-product-bar-height) + 40px); }
  .rail-link { min-height: 50px; font-size: 14px; }
  .rail-brand small,
  .rail-market-status strong,
  .rail-market-status small,
  .bank-link { font-size: 13px; }
  .rail-section-label { font-size: 12px; }
  .account-context select { min-height: 44px; font-size: 14px; }
  .icon-button,
  .mobile-menu { width: 44px; height: 44px; }
  .customer-avatar { width: 44px; height: 44px; font-size: 13px; }
  .connection-note { font-size: 13px; }
  .connection-note button { min-height: 44px; }
  .page-heading p:last-child { font-size: 15px; }
  .primary-button,
  .secondary-button,
  .light-button,
  .ghost-light-button { min-height: 48px; font-size: 14px; }
  .secondary-button.compact,
  .text-button { min-height: 44px; font-size: 14px; }
  .ask-brief button { min-height: 44px; font-size: 14px; }
  small,
  .eyebrow,
  .quiet-label,
  .filter-bar label,
  .table-head,
  .status-tag { font-size: 13px; }
  .row-actions button,
  .row-actions .row-link { min-height: 44px; font-size: 14px; }
  .activity-list > article > button { width: 44px; height: 44px; }
  .mobile-bottom-navigation a { min-height: 68px; font-size: 13px; }
  .dialog-header p,
  .review-facts dt,
  .review-facts dd,
  .review-boundary p,
  .verification-step label,
  .inline-error,
  .receipt-reference span,
  .search-results small,
  .toast { font-size: 13px; }
  .dialog-header .icon-button { min-width: 44px; }
}

@media (min-width: 961px) {
  .customer-app { grid-template-columns: 272px minmax(0, 1fr); }
  .customer-rail { width: 272px; overflow-x: hidden; transform: none; box-shadow: none; }
  .customer-rail.is-open { transform: none; }
  .mobile-menu { display: none !important; }
  .rail-brand { justify-content: flex-start; padding-inline: 9px; }
  .rail-brand > span:last-child,
  .rail-link span,
  .rail-market-status > span:last-child,
  .bank-link span,
  .bank-link img:last-child { display: block; width: auto; max-width: 196px; overflow: visible; opacity: 1; visibility: visible; white-space: normal; overflow-wrap: anywhere; transform: none; }
  .rail-link { justify-content: flex-start; gap: 11px; padding-inline: 11px; }
  .rail-link img { width: 19px; height: 19px; flex: 0 0 auto; }
  .rail-market-status { justify-content: flex-start; gap: 9px; padding-inline: 10px; }
  .bank-link { display: grid; grid-template-columns: 17px minmax(0, 1fr) 14px; justify-content: stretch; gap: 9px; padding-inline: 10px; }
}

@media (min-width: 761px) and (max-height: 760px) {
  .customer-rail { height: calc(100vh - 82px); }
  .rail-link { min-height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loading-mark { animation: none; border-top-color: var(--paper-200); }
  .customer-app, .customer-rail, .customer-rail *, .rail-section-label { transition: none !important; }
}
