:root {
  --ink: #17243a;
  --muted: #6f7c91;
  --canvas: #f4f6fb;
  --surface: #ffffff;
  --navy: #101b2d;
  --navy-soft: #1c2c45;
  --blue: #3568f6;
  --blue-dark: #2855d5;
  --aqua: #ddf8f2;
  --aqua-ink: #087867;
  --orange: #ffecce;
  --orange-ink: #9a590b;
  --red: #ffe4e7;
  --red-ink: #bd2840;
  --line: #e6eaf1;
  --shadow: 0 12px 30px rgba(27, 43, 70, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--canvas); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(53, 104, 246, .3); outline-offset: 2px; }

.app-shell { min-height: 100dvh; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.topbar { background: var(--navy); color: white; padding: calc(18px + env(safe-area-inset-top)) 20px 18px; }
.topbar-inner, .content { width: min(100%, 1120px); margin: 0 auto; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.player-heading { min-width: 0; }
.brand { display: flex; gap: 10px; align-items: center; min-width: 0; font-size: clamp(1.18rem, 4.5vw, 1.4rem); font-weight: 900; letter-spacing: -.03em; }
.brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #4ad8bf; color: var(--navy); font-size: 1.2rem; }
.game-label { margin: 5px 0 0 42px; color: #d4dfef; font-size: .89rem; }
.game-name { font-weight: 800; }
.game-code { color: #aebbd0; font-weight: 500; }
.header-action { color: white; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); padding: 9px 12px; border-radius: 10px; font-size: .89rem; font-weight: 700; }
.header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }

.content { padding: 22px 16px 0; }
.screen-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; margin: 5px 0 20px; gap: 10px; }
.screen-heading h1, .hero h1 { margin: 0; font-size: clamp(1.45rem, 5vw, 2rem); letter-spacing: -.045em; }
.screen-heading p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.screen-heading-actions { display: flex; flex: 0 0 auto; gap: 12px; align-items: center; }
.section-title { margin: 0; font-size: 1rem; letter-spacing: -.02em; }

.hero { padding: 16px; border-radius: 20px; color: white; background: linear-gradient(125deg, #183e70, #244e9b); box-shadow: var(--shadow); }
.hero h1 { max-width: 15ch; line-height: 1.07; }
.hero p { max-width: 39ch; margin: 10px 0 18px; color: #dbe9ff; line-height: 1.45; font-size: .9rem; }
.hero-coin { float: right; width: 56px; height: 56px; display: grid; place-items: center; background: #f6cb5c; color: #133160; border-radius: 18px; font-size: 1.7rem; }

.primary-button, .secondary-button, .danger-button, .icon-button { border: 0; min-height: 44px; border-radius: 12px; font-weight: 800; }
.primary-button { padding: 0 16px; color: white; background: var(--blue); box-shadow: 0 8px 16px rgba(53, 104, 246, .24); }
.primary-button:hover { background: var(--blue-dark); }
.secondary-button { padding: 0 14px; color: var(--blue); background: #eaf0ff; }
.danger-button { padding: 0 14px; color: var(--red-ink); background: var(--red); }
.icon-button { min-width: 44px; color: var(--muted); background: #f0f3f8; font-size: 1.1rem; }

.stack { display: grid; gap: 14px; }
.top-gap { margin-top: 22px; }
.game-card, .player-card, .empty-state, .operation-card, .stat-card, .sheet { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.game-card { padding: 16px; border-radius: 16px; display: flex; gap: 13px; align-items: center; }
.game-card-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: var(--aqua); font-size: 1.25rem; }
.game-card h2 { margin: 0; font-size: 1rem; }
.game-card p { margin: 4px 0 0; color: var(--muted); font-size: .89rem; }
.chevron { margin-left: auto; color: var(--muted); font-size: 1.3rem; }
.card-button { width: 100%; text-align: left; color: inherit; border: 0; }

.player-picker { display: flex; gap: 9px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 5px; scrollbar-width: none; }
.player-picker::-webkit-scrollbar { display: none; }
.player-chip { min-width: 104px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); text-align: left; }
.player-chip.active { color: white; border-color: var(--navy-soft); background: var(--navy-soft); }
.player-chip strong { display: block; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .89rem; }
.player-chip span { display: block; margin-top: 3px; opacity: .72; font-size: .89rem; }

.summary-card { overflow: hidden; margin-top: 18px; border-radius: 20px; color: white; background: var(--navy); box-shadow: var(--shadow); }
.summary-main { padding: 19px 18px 16px; background: linear-gradient(128deg, #172d4a, #101b2d); }
.fast-track-summary { border: 1px solid #8995a3; background: #505b68; box-shadow: 0 16px 32px rgba(45, 55, 67, .22); }
.fast-track-summary .summary-main { background: linear-gradient(132deg, #9ca7b3 0%, #65717e 48%, #3e4956 100%); }
.eyebrow { margin: 0 0 6px; color: #a9b9d0; font-size: .89rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.fast-track-summary .eyebrow { color: #edf2f7; }
.summary-value { margin: 0; font-size: clamp(2rem, 9vw, 2.7rem); font-weight: 800; letter-spacing: -.06em; }
.summary-caption { margin: 6px 0 0; color: #c4d1e4; font-size: .89rem; }
.progress-track { height: 7px; margin-top: 17px; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.15); }
.progress-track span { display: block; height: 100%; min-width: 4%; border-radius: inherit; background: #4bd9c0; }
.fast-track-summary .summary-caption { color: #f1f4f7; }
.fast-track-summary .progress-track { background: rgba(255,255,255,.28); }
.fast-track-summary .progress-track span { background: linear-gradient(90deg, #fff1a9, #d7aa42); }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.summary-detail { padding: 13px 12px; border-right: 1px solid rgba(255,255,255,.09); }
.summary-detail:nth-child(3n) { border-right: 0; }
.summary-detail span { display: block; color: #aab9d0; font-size: .89rem; }
.summary-detail strong { display: block; margin-top: 4px; font-size: 1rem; }
.cashflow-detail { grid-column: 1 / -1; padding: 16px 14px; background: rgba(255,255,255,.08); }
.cashflow-detail span { color: #d6e1f0; font-size: .89rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cashflow-detail strong { margin-top: 5px; color: #fff; font-size: clamp(1.28rem, 6vw, 1.65rem); letter-spacing: -.04em; }
.cash-detail strong { color: #fff3bb; }
.financial-totals { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.05); }
.financial-totals div { padding: 10px 12px; }
.financial-totals div + div { border-left: 1px solid rgba(255,255,255,.09); }
.financial-totals span { display: block; color: #aab9d0; font-size: .89rem; }
.financial-totals strong { display: block; margin-top: 3px; color: #d8e2f0; font-size: .89rem; font-weight: 500; }
.snapshot-summary { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #f7f9fc; }
.snapshot-summary div { padding: 12px; }
.snapshot-summary div:nth-child(odd) { border-right: 1px solid var(--line); }
.snapshot-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.snapshot-summary span, .snapshot-summary strong { display: block; }
.snapshot-summary span { color: var(--muted); font-size: .89rem; }
.snapshot-summary strong { margin-top: 4px; font-size: .89rem; }

.quick-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.quick-action { min-height: 84px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--surface); text-align: left; box-shadow: 0 5px 14px rgba(27,43,70,.04); }
.quick-action-icon { display: block; margin-bottom: 7px; font-size: 1.15rem; }
.quick-action strong { display: block; font-size: .89rem; }
.quick-action small { display: block; margin-top: 2px; color: var(--muted); font-size: .89rem; }

.section-row { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 11px; }
.section-row .text-button { color: var(--blue); }
.text-button { padding: 0; border: 0; color: var(--muted); background: none; font-size: .89rem; font-weight: 800; }
.operation-list { display: grid; gap: 10px; }
.operation-card { display: flex; width: 100%; min-width: 0; max-width: 100%; gap: 11px; align-items: flex-start; box-sizing: border-box; padding: 12px; border-radius: 15px; }
.operation-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; font-size: 1rem; }
.type-income .operation-icon, .type-asset .operation-icon { background: var(--aqua); }
.type-expense .operation-icon, .type-debt-payment .operation-icon { background: var(--red); }
.type-liability .operation-icon, .type-opportunity .operation-icon, .type-transfer .operation-icon { background: var(--orange); }
.operation-content { min-width: 0; flex: 1; }
.operation-title-row { display: flex; min-width: 0; gap: 6px; align-items: center; }
.operation-title-row strong { flex: 1 1 auto; }
.operation-content strong { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .89rem; }
.operation-content span { display: block; margin-top: 3px; color: var(--muted); font-size: .89rem; }
.operation-content .operation-breakdown { overflow: hidden; color: #506078; text-overflow: ellipsis; white-space: nowrap; font-size: .89rem; }
.operation-trailing { display: grid; flex: 0 0 auto; gap: 5px; justify-items: end; }
.operation-amount { text-align: right; font-size: .89rem; font-weight: 800; white-space: nowrap; }
.operation-undo { min-height: 25px; padding: 3px 7px; border: 1px solid #e8c2c8; border-radius: 7px; color: var(--red-ink); background: #fff8f8; font-size: .89rem; font-weight: 800; }
.positive { color: var(--aqua-ink); }
.negative { color: var(--red-ink); }
.neutral { color: var(--muted); }
.operation-status { flex: 0 0 auto; margin: 0; padding: 3px 6px; border-radius: 99px; color: var(--muted); background: #eef2f7; font-size: .89rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.operation-status.pending { color: var(--orange-ink); background: #fff3dc; }
.operation-status.rejected { color: var(--red-ink); background: #fff0f1; }
.operation-status.approved { color: var(--aqua-ink); background: #e8f8f3; }

.turn-banner, .review-queue { margin-top: 18px; }
.turn-banner { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.turn-banner > span { color: var(--blue); font-size: 1.1rem; }
.turn-banner.waiting > span { color: var(--muted); }
.turn-banner strong, .turn-banner small { display: block; }
.turn-banner strong { font-size: .89rem; }
.turn-banner small { margin-top: 3px; color: var(--muted); font-size: .89rem; }
.review-queue .section-row { margin-top: 0; }
.review-count { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--blue); background: #eaf0ff; font-size: .89rem; font-weight: 800; }
.review-card { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 13px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 5px 14px rgba(27,43,70,.04); }
.review-card strong, .review-card span { display: block; }
.review-card strong { font-size: .89rem; }
.review-card span { margin-top: 3px; color: var(--muted); font-size: .89rem; }
.review-actions { display: flex; gap: 7px; flex: 0 0 auto; }
.review-actions button { min-height: 38px; padding-inline: 10px; font-size: .89rem; }

.empty-state { padding: 28px 20px; border-radius: 18px; text-align: center; }
.empty-illustration { margin-bottom: 9px; font-size: 2rem; }
.empty-state h2 { margin: 0; font-size: 1rem; }
.empty-state p { max-width: 29ch; margin: 7px auto 15px; color: var(--muted); font-size: .89rem; line-height: 1.45; }

.player-card { padding: 15px; border-radius: 17px; }
.player-card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #124c70; background: #dceef9; font-weight: 900; }
.player-card-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.player-card h2 { max-width: 16ch; overflow: hidden; margin: 0; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.player-card p { margin: 3px 0 0; color: var(--muted); font-size: .89rem; }
.player-finance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 15px; }
.player-finance div { padding: 9px; border-radius: 10px; background: #f6f8fc; }
.player-finance span { display: block; color: var(--muted); font-size: .89rem; }
.player-finance strong { display: block; margin-top: 4px; font-size: .89rem; }

.bottom-bar { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
.bottom-bar-inner { width: min(100%, 500px); display: flex; justify-content: center; align-items: center; }
.nav-button { min-height: 45px; padding: 6px 8px; border: 0; border-radius: 12px; color: var(--muted); background: transparent; font-size: .89rem; font-weight: 800; }
.nav-button.active { color: var(--blue); background: #edf2ff; }
.add-button { width: 54px; height: 54px; margin-top: -25px; border: 5px solid var(--canvas); border-radius: 50%; color: white; background: var(--blue); box-shadow: 0 7px 16px rgba(53,104,246,.36); font-size: 1.8rem; line-height: 1; }

.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: flex; align-items: end; background: rgba(13, 26, 45, .46); }
.sheet { width: 100%; max-height: min(90dvh, 800px); overflow-y: auto; border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 30px rgba(18,32,55,.14); }
.sheet-head { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.sheet-head h2 { margin: 0; font-size: 1.08rem; letter-spacing: -.025em; }
.sheet-body { padding: 17px 18px calc(24px + env(safe-area-inset-bottom)); }
.form-grid { display: grid; gap: 13px; }
.field label { display: block; margin-bottom: 6px; font-size: .89rem; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #dce3ee; border-radius: 11px; color: var(--ink); background: #fff; }
.password-input { position: relative; display: block; }
.password-input input { padding-right: 48px; }
.password-toggle { position: absolute; top: 50%; right: 5px; width: 38px; height: 38px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 9px; color: var(--muted); background: transparent; }
.password-toggle:hover { color: var(--blue); background: #f1f5ff; }
.password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.field input[type="number"]::-webkit-inner-spin-button, .field input[type="number"]::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: .89rem; line-height: 1.35; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.form-actions > * { flex: 1; }
.form-actions .danger-button { flex: 0; }
.profile-session-actions .danger-button { flex: 1; }
.form-note { margin: -2px 0 2px; padding: 10px; border-radius: 10px; color: var(--aqua-ink); background: #effaf8; font-size: .89rem; line-height: 1.4; }
.card-selector { min-width: 0; margin: 0; padding: 0; border: 0; }
.card-selector legend { margin: 0 0 8px; padding: 0; font-size: .89rem; font-weight: 800; }
.choice-card-details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.choice-card-details summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; padding: 9px 11px; cursor: pointer; list-style: none; }
.choice-card-details summary::-webkit-details-marker { display: none; }
.choice-card-summary { display: flex; min-width: 0; align-items: center; gap: 10px; }
.choice-card-summary > span:last-child { min-width: 0; }
.choice-card-summary strong, .choice-card-summary small { display: block; }
.choice-card-summary strong { overflow: hidden; font-size: .89rem; text-overflow: ellipsis; white-space: nowrap; }
.choice-card-summary small { margin-top: 3px; color: var(--muted); font-size: .89rem; line-height: 1.25; }
.choice-card-change { flex: 0 0 auto; color: var(--blue); font-size: .89rem; font-weight: 800; }
.choice-card-details .choice-card-grid { padding: 0 9px 9px; }
.security-price-grid .choice-card-details .choice-card-grid { padding: 2px 9px 9px; }
.choice-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.security-choice-grid .choice-card-grid, .owned-asset-choice-grid .choice-card-grid, .fast-company-choice-grid .choice-card-grid { grid-template-columns: 1fr; }
.choice-card { display: flex; min-width: 0; min-height: 78px; gap: 10px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--surface); text-align: left; box-shadow: 0 4px 11px rgba(27,43,70,.04); }
.choice-card[hidden] { display: none; }
.choice-card:hover { border-color: #b9c7e7; background: #f9fbff; }
.choice-card.active { border-color: var(--blue); background: #f0f4ff; box-shadow: inset 0 0 0 1px var(--blue); }
.choice-card > span:last-child { min-width: 0; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { overflow: hidden; font-size: .89rem; text-overflow: ellipsis; white-space: nowrap; }
.choice-card small { margin-top: 4px; color: var(--muted); font-size: .89rem; line-height: 1.25; }
.choice-card-icon, .choice-card-symbol { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; color: #0c7162; background: var(--aqua); font-size: 1rem; font-weight: 900; }
.choice-card-symbol { color: var(--blue); background: #eaf0ff; font-size: .89rem; letter-spacing: -.03em; }
.choice-card.active .choice-card-icon, .choice-card.active .choice-card-symbol { color: white; background: var(--blue); }
.security-symbol-grid .choice-card { min-height: 88px; }
.security-symbol-grid .choice-card-symbol { width: 70px; height: 46px; flex-basis: 70px; padding: 0 7px; border-radius: 12px; font-size: .89rem; letter-spacing: 0; overflow-wrap: anywhere; text-align: center; }
.security-symbol-grid .choice-card strong { overflow: visible; text-overflow: clip; white-space: normal; font-size: .92rem; }
.security-symbol-grid .choice-card small { font-size: .89rem; line-height: 1.35; }
.security-price-grid .choice-card-grid { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 7px; scroll-snap-type: x proximity; }
.security-price-grid .choice-card { min-width: 104px; min-height: 66px; flex: 0 0 104px; justify-content: center; padding: 10px; scroll-snap-align: start; text-align: center; }
.security-price-grid .choice-card strong { overflow: visible; color: var(--blue); font-size: .92rem; text-overflow: clip; white-space: normal; }
.security-price-grid .choice-card small { margin-top: 3px; font-size: .89rem; }
.security-price-grid .choice-card.active { border-color: var(--blue); background: #eef3ff; }
.deal-origin-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.deal-origin-option { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--surface); font-size: .89rem; font-weight: 800; }
.deal-origin-option span { margin-right: 5px; font-size: .9rem; }
.deal-origin-option.small.active { color: #087867; border-color: #67cdbb; background: #effaf8; }
.deal-origin-option.big.active { color: #9a590b; border-color: #efbf75; background: #fff5e4; }
.deal-card-filters { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; }
.card-result-count { margin: -4px 0 0; color: var(--muted); font-size: .89rem; font-weight: 700; }
.opportunity-choice-grid .choice-card-grid { grid-template-columns: 1fr; }
.opportunity-choice-grid .choice-card { min-height: 112px; align-items: flex-start; padding: 15px; }
.opportunity-choice-grid .choice-card strong { overflow: visible; font-size: 1.02rem; line-height: 1.3; text-overflow: clip; white-space: normal; }
.opportunity-choice-grid .choice-card small { font-size: .89rem; line-height: 1.5; }
.deal-card-detail { padding: 15px; border: 1px solid #9dd7cc; border-radius: 16px; background: #effaf8; color: #075d50; }
.deal-card-detail.big { border-color: #e7bf7a; background: #fff6e7; color: #815012; }
.deal-card-detail-head { display: flex; align-items: flex-start; gap: 11px; }
.deal-card-detail.big .choice-card-icon { color: #9a590b; background: #fde9c6; }
.deal-card-detail-head p { margin: 1px 0 3px; font-size: .89rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.deal-card-detail-head h3 { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.25; }
.deal-card-detail-head small { display: block; margin-top: 4px; color: var(--muted); font-size: .89rem; line-height: 1.35; }
.deal-card-detail h4 { margin: 16px 0 8px; color: var(--ink); font-size: .89rem; }
.deal-card-detail dl { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; margin: 0; }
.deal-card-detail dl div { display: contents; }
.deal-card-detail dt { color: var(--muted); font-size: .89rem; }
.deal-card-detail dd { margin: 0; color: var(--ink); font-size: .89rem; font-weight: 900; text-align: right; }
.property-choice-grid[data-card-origin="small"] .choice-card-icon { color: #087867; background: var(--aqua); }
.property-choice-grid[data-card-origin="big"] .choice-card-icon { color: #9a590b; background: var(--orange); }
.property-choice-grid[data-card-origin="small"] .choice-card.active { border-color: #45b9a4; box-shadow: inset 0 0 0 1px #45b9a4; }
.property-choice-grid[data-card-origin="big"] .choice-card.active { border-color: #e4a74f; box-shadow: inset 0 0 0 1px #e4a74f; }
.property-choice-grid[data-card-origin="small"] .choice-card.active .choice-card-icon { background: #087867; }
.property-choice-grid[data-card-origin="big"] .choice-card.active .choice-card-icon { background: #9a590b; }
.multi-asset-selector .choice-card { position: relative; cursor: pointer; }
.multi-asset-selector .choice-card input { width: 18px; height: 18px; margin: 2px 2px 0 0; accent-color: var(--blue); }
.multi-asset-selector .choice-card:has(input:checked) { border-color: var(--blue); background: #eef3ff; box-shadow: inset 0 0 0 1px var(--blue); }
.bank-task-container { display: grid; gap: 12px; margin-top: 16px; padding: 15px; border: 1px solid #b9d8d1; border-radius: 17px; background: linear-gradient(145deg, #f3fcfa, #e7f6f2); }
.bank-task-container .review-queue { margin: 0; }
.bank-task > div:first-child > span { display: block; margin-top: 4px; }
.button-spinner { width: 15px; height: 15px; display: inline-block; margin-right: 7px; border: 2px solid rgba(255,255,255,.5); border-top-color: currentColor; border-radius: 50%; vertical-align: -2px; animation: button-spin .75s linear infinite; }
.secondary-button .button-spinner, .icon-button .button-spinner { border-color: rgba(53,104,246,.3); border-top-color: currentColor; }
.is-processing { opacity: .78; cursor: wait; }
.toggle-field { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .89rem; font-weight: 700; }
.toggle-field input { width: auto; accent-color: var(--blue); }
@keyframes button-spin { to { transform: rotate(360deg); } }
.type-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.type-option { min-height: 65px; padding: 7px 5px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; text-align: center; font-size: .89rem; font-weight: 800; }
.type-option span { display: block; margin-bottom: 4px; font-size: 1rem; }
.type-option.active { color: var(--blue); border-color: var(--blue); background: #f0f4ff; }
.asset-kind-selector { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.asset-kind-option { min-height: 54px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; text-align: left; font-size: .89rem; font-weight: 800; }
.asset-kind-option span { display: inline-block; width: 20px; margin-right: 4px; font-size: 1rem; text-align: center; }
.asset-kind-option.active, .segment.active { color: var(--blue); border-color: var(--blue); background: #f0f4ff; }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: #eef2f7; }
.segment { min-height: 38px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: transparent; font-size: .89rem; font-weight: 800; }
.deemphasized { color: var(--muted); font-size: .89rem; }

.toast { position: fixed; z-index: 40; bottom: calc(89px + env(safe-area-inset-bottom)); left: 50%; max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 12px; color: white; background: #193152; box-shadow: var(--shadow); font-size: .89rem; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.dashboard-grid { display: grid; gap: 18px; }
.side-panel { display: grid; gap: 0; }
.section-card, .notice-card, .win-card { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.section-card .section-row { margin: 0 0 11px; }
.section-card .section-row > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: var(--blue); background: #edf2ff; font-size: .89rem; font-weight: 800; }
.section-card > strong { display: block; margin-top: 4px; color: var(--blue); font-size: 1.05rem; }
.section-total { margin: -7px 0 12px; color: var(--muted); font-size: .89rem; font-weight: 700; }
.section-card > small { display: block; margin-top: 5px; color: var(--muted); font-size: .89rem; }
.notice-card, .win-card { display: grid; gap: 4px; margin-top: 16px; font-size: .89rem; }
.notice-card span, .win-card span { color: var(--muted); line-height: 1.4; }
.win-card { color: #075e50; border-color: #bcebdc; background: #effaf7; }
.winner-notice { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 12px; border: 1px solid #f0c368; border-radius: 14px; color: #79510d; background: #fff8e9; box-shadow: 0 5px 14px rgba(135,95,25,.08); }
.winner-notice > span { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #8c5a03; background: #ffe5a8; }
.winner-notice strong, .winner-notice small { display: block; }
.winner-notice strong { font-size: .89rem; }
.winner-notice small { margin-top: 3px; color: #8f7442; font-size: .89rem; }
.winner-celebration { position: relative; overflow: hidden; padding: 16px 6px 8px; text-align: center; }
.winner-celebration h3 { margin: 12px 0 6px; font-size: 1.25rem; }
.winner-celebration p { max-width: 30ch; margin: 0 auto 20px; color: var(--muted); font-size: .89rem; line-height: 1.45; }
.fast-track-prompt { padding: 16px 6px 8px; text-align: center; }
.fast-track-prompt h3 { margin: 13px 0 7px; font-size: 1.2rem; }
.fast-track-prompt > p { max-width: 31ch; margin: 0 auto 14px; color: var(--muted); font-size: .89rem; line-height: 1.45; }
.fast-track-prompt .form-note { margin-bottom: 20px; }
.fast-track-prompt-icon { display: grid; width: 76px; height: 76px; margin: 0 auto; place-items: center; border-radius: 50%; color: #7a5411; background: radial-gradient(circle at 35% 30%, #fff9ce, #f3bd38); box-shadow: 0 11px 25px rgba(230,166,25,.3); font-size: 2.1rem; animation: fast-track-pulse 1.2s ease-in-out infinite alternate; }
.winner-trophy { display: grid; width: 74px; height: 74px; margin: 0 auto; place-items: center; border-radius: 50%; color: #845305; background: radial-gradient(circle at 35% 30%, #fff6bd, #f5ba32); box-shadow: 0 10px 25px rgba(230,166,25,.28); font-size: 2rem; animation: winner-bounce 1.1s ease-in-out infinite alternate; }
.confetti { position: absolute; inset: 0 0 auto; height: 96px; pointer-events: none; }
.confetti i { position: absolute; width: 7px; height: 13px; border-radius: 2px; background: #3568f6; animation: confetti-fall 1.7s ease-in infinite; }
.confetti i:nth-child(2n) { background: #f5ba32; animation-delay: .2s; }
.confetti i:nth-child(3n) { background: #47c4ac; animation-delay: .5s; }
.confetti i:nth-child(1) { left: 8%; }.confetti i:nth-child(2) { left: 22%; }.confetti i:nth-child(3) { left: 37%; }.confetti i:nth-child(4) { left: 52%; }.confetti i:nth-child(5) { left: 67%; }.confetti i:nth-child(6) { left: 78%; }.confetti i:nth-child(7) { left: 88%; }.confetti i:nth-child(8) { left: 45%; }
@keyframes winner-bounce { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-7px) rotate(5deg); } }
@keyframes fast-track-pulse { from { transform: scale(.94); box-shadow: 0 7px 15px rgba(230,166,25,.2); } to { transform: scale(1.05); box-shadow: 0 14px 31px rgba(230,166,25,.42); } }
@keyframes confetti-fall { from { opacity: 0; transform: translateY(-10px) rotate(0deg); } 20% { opacity: 1; } to { opacity: 0; transform: translateY(84px) rotate(250deg); } }
.dream-name { margin: 9px 0 0; color: var(--muted); font-size: .89rem; }
.mini-list { display: grid; gap: 10px; }
.mini-list > div { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mini-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.mini-list .asset-row { padding: 8px 9px 10px; border-left: 3px solid #c8d4e2; border-radius: 8px; background: #f8fafc; }
.mini-list .asset-row.opportunity-origin-small { border-left-color: #47c4ac; background: #f0fbf8; }
.mini-list .asset-row.opportunity-origin-big { border-left-color: #e4a74f; background: #fff7ea; }
.mini-list strong, .mini-list span { display: block; }
.mini-list strong { font-size: .89rem; }
.mini-list span { margin-top: 3px; color: var(--muted); font-size: .89rem; }
.asset-row summary { position: relative; padding-right: 72px; cursor: pointer; list-style: none; }
.asset-row summary::-webkit-details-marker { display: none; }
.asset-row summary small { position: absolute; top: 50%; right: 0; color: var(--blue); font-size: .89rem; font-weight: 800; transform: translateY(-50%); }
.asset-detail-list { display: grid; gap: 5px; margin: 10px 0 0; padding-top: 9px; border-top: 1px solid rgba(102, 126, 153, .2); }
.asset-detail-list div { display: flex; justify-content: space-between; gap: 12px; }
.asset-detail-list dt, .asset-detail-list dd { margin: 0; font-size: .89rem; }
.asset-detail-list dt { color: var(--muted); }
.asset-detail-list dd { min-width: 0; color: var(--ink); overflow-wrap: anywhere; font-weight: 800; text-align: right; }
.empty-inline { margin: 0; color: var(--muted); font-size: .89rem; line-height: 1.4; }
.auditor-label { margin: 13px 0 0; padding-top: 11px; border-top: 1px solid var(--line); color: var(--blue) !important; font-weight: 800; }
.turn-banner.success { border-color: #bcebdc; background: #effaf7; }
.turn-banner.success > span { color: #087867; }
.quick-action.emphasis { border-color: #aee8da; background: #effaf7; }
.quick-action:disabled { cursor: not-allowed; opacity: .45; }
.operation-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 15px; }
.picker-option { min-height: 112px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--surface); text-align: left; box-shadow: 0 5px 14px rgba(27,43,70,.04); }
.picker-option > span, .picker-option strong, .picker-option small { display: block; }
.picker-option > span { margin-bottom: 8px; font-size: 1.2rem; }
.picker-option strong { font-size: .89rem; }
.picker-option small { margin-top: 3px; color: var(--muted); font-size: .89rem; line-height: 1.3; }
.dashboard-operations { margin-top: 20px; }
.dashboard-operation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-operation-grid .picker-option strong { font-size: .96rem; line-height: 1.3; }
.dashboard-operation-grid .picker-option small { font-size: .89rem; line-height: 1.4; }
.dashboard-operation-grid .picker-option:disabled { opacity: .55; cursor: default; }
.card-transcription { white-space: pre-line; }
.metric-preview { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 13px; border-radius: 12px; background: #effaf7; color: #087867; font-size: .89rem; }
.metric-preview strong { text-align: right; }
.cash-availability { display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid #bcebdc; border-radius: 11px; color: #087867; background: #effaf7; font-size: .89rem; }
.cash-availability strong { color: var(--ink); }
.choice-card-icon.opportunity-origin-small { color: #087867; background: var(--aqua); }
.choice-card-icon.opportunity-origin-big { color: #9a590b; background: var(--orange); }
.ranking-card { display: grid; gap: 11px; margin-top: 18px; padding: 15px; border: 1px solid #c8d9ee; border-radius: 16px; background: linear-gradient(145deg, #f7fbff, #edf5fc); box-shadow: var(--shadow); }
.ranking-card .section-row { margin: 0; }
.ranking-card .section-row p { margin: 3px 0 0; color: var(--muted); font-size: .89rem; }
.ranking-card .section-row > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--blue); background: #e4effe; font-size: .89rem; font-weight: 800; }
.ranking-list { display: grid; gap: 11px; }
.ranking-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 9px; align-items: center; }
.ranking-position { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #41536e; background: #e7edf4; font-size: .89rem; font-weight: 900; }
.ranking-row:first-child .ranking-position { color: #79510d; background: #ffe6a8; }
.ranking-row strong, .ranking-row small { display: block; }
.ranking-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .89rem; }
.ranking-row small { margin-top: 2px; color: var(--muted); font-size: .89rem; }
.ranking-row b { color: var(--blue); font-size: .89rem; }
.ranking-progress { height: 5px; margin-top: 6px; overflow: hidden; border-radius: 99px; background: #dce7f3; }
.ranking-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #43c4ac, #3568f6); }
.catalog-note { margin-bottom: 14px; padding: 11px; border-radius: 11px; color: var(--aqua-ink); background: #effaf8; font-size: .89rem; line-height: 1.4; }
.sheet details { margin-top: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; }
.sheet details summary { cursor: pointer; color: var(--ink); font-size: .89rem; font-weight: 800; }
.catalog-list { display: grid; gap: 5px; margin: 10px 0; padding-left: 18px; color: var(--muted); font-size: .89rem; line-height: 1.4; }
.catalog-entry { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.catalog-entry > span:first-child { min-width: 0; }
.catalog-entry-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.catalog-entry-actions .text-button { font-size: .89rem; }
.danger-text { color: var(--red-ink); }
.compact-form { margin-top: 13px; }
.review-card-expanded { align-items: start; flex-wrap: wrap; }
.review-card-expanded > div:first-child { min-width: 0; flex: 1 1 100%; }
.review-card-expanded .review-actions { width: 100%; }
.review-detail { margin-top: 9px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; }
.review-card-expanded .review-detail, .review-card-expanded .review-detail dl { width: 100%; box-sizing: border-box; }
.review-detail summary { cursor: pointer; color: var(--blue); font-size: .89rem; font-weight: 800; }
.review-detail dl { display: grid; gap: 4px; margin: 8px 0 0; }
.review-detail dl div { display: flex; justify-content: space-between; gap: 12px; }
.review-detail dt, .review-detail dd { margin: 0; font-size: .89rem; }
.review-detail dt { color: var(--muted); }
.review-detail dd { min-width: 0; color: var(--ink); overflow-wrap: anywhere; font-weight: 800; text-align: right; }
.compact-section { display: grid; gap: 10px; }
.compact-section .section-title { margin: 0; }
.bankruptcy-asset-list { display: grid; gap: 8px; }
.bankruptcy-asset { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.bankruptcy-asset input { width: auto; margin-top: 3px; accent-color: #d34545; }
.bankruptcy-asset strong, .bankruptcy-asset small { display: block; }
.bankruptcy-asset small { margin-top: 3px; color: var(--muted); font-size: .89rem; line-height: 1.35; }

.rat-race-summary { background: var(--player-dark); }
.rat-race-summary .summary-main { background: linear-gradient(132deg, var(--player-color), var(--player-dark)); }
.rat-race-summary .progress-track span { background: linear-gradient(90deg, #fff4c8, var(--player-light)); }
.fast-track-summary { border-color: color-mix(in srgb, var(--player-light) 72%, #fff); background: var(--player-dark); box-shadow: 0 17px 34px color-mix(in srgb, var(--player-dark) 38%, transparent); }
.fast-track-summary .summary-main { position: relative; overflow: hidden; background: linear-gradient(132deg, var(--player-color), var(--player-dark)); }
.fast-track-summary .summary-main::before { position: absolute; inset: 0; content: ""; background: repeating-linear-gradient(120deg, rgba(255,255,255,.2) 0 1px, transparent 1px 10px), linear-gradient(105deg, transparent 18%, rgba(255,255,255,.27) 50%, transparent 78%); mix-blend-mode: screen; }
.fast-track-summary .summary-main > * { position: relative; }
.fast-track-summary .progress-track span { background: linear-gradient(90deg, #fff5be, var(--player-light)); }
.dream-card { position: relative; overflow: hidden; border-color: var(--player-light); background: linear-gradient(145deg, color-mix(in srgb, var(--player-light) 35%, white), color-mix(in srgb, var(--player-color) 12%, white)); }
.dream-card::before, .dream-card::after { position: absolute; z-index: 0; border-radius: 50%; content: ""; background: rgba(255,255,255,.55); filter: blur(1px); }
.dream-card::before { width: 120px; height: 36px; top: 17px; right: -26px; box-shadow: -26px 13px 0 4px rgba(255,255,255,.5), -61px 8px 0 -2px rgba(255,255,255,.44); }
.dream-card::after { width: 96px; height: 27px; bottom: 14px; left: -26px; box-shadow: 25px -9px 0 4px rgba(255,255,255,.45), 57px -4px 0 -2px rgba(255,255,255,.4); }
.dream-card > * { position: relative; z-index: 1; }
.dream-card > strong { color: var(--player-ink); }
.choice-card.active .choice-card-icon.opportunity-origin-small { color: white; background: #087867; }
.choice-card.active .choice-card-icon.opportunity-origin-big { color: white; background: #9a590b; }

@media (min-width: 720px) {
  .app-shell { padding-bottom: 24px; }
  .topbar { padding-inline: 32px; }
  .content { padding: 32px; }
  .player-picker { margin: 0; padding: 0 0 5px; }
  .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 22px; align-items: start; }
  .quick-actions { grid-template-columns: repeat(4, 1fr); }
  .players-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bottom-bar { display: none; }
  .sheet { width: min(560px, 100%); margin: auto; border-radius: 22px; }
  .modal-backdrop { align-items: center; padding: 24px; }
  .property-choice-grid .choice-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opportunity-choice-grid .choice-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 390px) {
  .summary-detail { padding: 11px 8px; }
  .summary-detail span { font-size: .89rem; }
  .summary-detail strong { font-size: .89rem; }
}

@media (max-width: 499px) {
  .profile-session-actions { display: grid; grid-template-columns: 1fr; }
}

/* CF-UI-20261019: comfortable reading and the approved navy / blue / teal interface. */
:root { font-size: 18px; --ink: #152238; --muted: #526179; --canvas: #f3f6fa; --navy: #11243a; --blue: #2451d2; --blue-dark: #1c42b1; --line: #d7e0ec; --aqua: #e6f6f0; --aqua-ink: #006c55; }
body { line-height: 1.5; }
button, input, select { line-height: 1.4; }
button { font-weight: 500; }
button:disabled { cursor: default; opacity: .55; }
button, summary, input, select { touch-action: manipulation; }
.topbar-inner, .content { max-width: 1220px; }
.topbar-inner { flex-wrap: wrap; }
.topbar .player-heading { flex: 1 1 220px; }
.brand { font-weight: 600; letter-spacing: -.025em; }
.brand span:last-child { white-space: normal; overflow-wrap: anywhere; }
.brand-mark { color: var(--player-dark, var(--navy)); background: var(--player-light, #9ee2cf); }
.game-label { line-height: 1.4; }
.header-action { min-height: 46px; font-weight: 500; padding: 10px 12px; }
.header-actions { justify-content: flex-start; }
.content > p.section-title { color: var(--muted); font-weight: 400; }
h1, h2, h3, h4 { font-weight: 500; }
.screen-heading { margin-top: 12px; margin-bottom: 24px; }
.screen-heading h1 { font-size: clamp(1.6rem, 5vw, 2rem); font-weight: 500; }
.section-title { font-size: 1.15rem; font-weight: 500; }
.section-row { gap: 12px; flex-wrap: wrap; }
.section-row p { margin: 6px 0 0; color: var(--muted); }
.primary-button, .secondary-button, .danger-button { min-height: 54px; padding: 12px 18px; border-radius: 14px; box-shadow: none; font-size: 1rem; font-weight: 500; overflow-wrap: anywhere; }
.primary-button { background: var(--blue); }
.secondary-button { color: #254cc6; background: #edf1ff; }
.text-button { min-height: 44px; font-size: .89rem; font-weight: 500; }
.summary-card { margin-top: 0; border-radius: 20px; }
.rat-race-summary .summary-main { padding: 24px; background: linear-gradient(125deg, color-mix(in srgb, var(--player-color) 55%, #11243a), var(--player-dark)); }
.focus-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.focus-metrics > div { min-width: 0; }
.summary-value { margin-top: 6px; font-size: clamp(1.8rem, 3.2vw, 2.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.summary-main .eyebrow { color: #f5f9ff; font-size: .94rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.4; }
.summary-caption { margin-top: 22px; color: #f5f9ff; font-size: .89rem; line-height: 1.5; }
.progress-track { height: 8px; background: rgba(255,255,255,.2); margin-top: 12px; }
.progress-track span { min-width: 0; }
.rat-race-summary .progress-track span { background: var(--player-light); }
.secondary-finances { display: grid; gap: 8px; border-top: 1px solid rgba(255,255,255,.25); margin: 20px 0 0; padding-top: 16px; }
.secondary-finances > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; }
.secondary-finances dt { color: #f5f9ff; font-size: .89rem; }
.secondary-finances dd { margin: 0; font-size: .94rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.summary-card .negative { color: #ffd4da; }
.fast-track-summary { border: 0; box-shadow: var(--shadow); }
.fast-track-summary .summary-main::before { display: none; }
.dashboard-operations { margin-top: 24px; }
.register-operation { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 64px; padding: 16px 20px; }
.register-operation > span { font-size: 1.4rem; }
.quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quick-action { min-width: 0; min-height: 112px; padding: 18px; box-shadow: none; }
.quick-action strong { font-size: 1rem; font-weight: 500; }
.quick-action small { font-size: .89rem; line-height: 1.5; }
.turn-banner { align-items: flex-start; padding: 18px; gap: 12px; flex-wrap: wrap; }
.turn-banner > div { min-width: 0; flex: 1 1 180px; }
.turn-banner strong { font-size: 1rem; font-weight: 500; }
.turn-banner small { font-size: .89rem; line-height: 1.5; }
.turn-banner > button { flex: 1 0 140px; }
.payday-receipt-value { display: block; margin: 10px 0; font-size: 1.5rem; font-weight: 500; }
.notice-card, .win-card, .winner-notice { font-size: .94rem; line-height: 1.5; }
.review-card { padding: 22px; border-radius: 18px; box-shadow: none; }
.review-card strong { font-size: 1.08rem; font-weight: 500; overflow-wrap: anywhere; }
.review-card span { font-size: .94rem; line-height: 1.5; }
.review-actions { flex-wrap: wrap; }
.review-actions button { flex: 1 1 120px; min-height: 54px; padding: 12px 16px; font-size: 1rem; }
.review-count { min-width: 30px; width: auto; height: 30px; padding: 0 8px; font-weight: 500; }
.settlement-panel { padding: 18px 20px; margin: 20px 0; border-radius: 16px; color: #254cc6; background: #edf1ff; }
.settlement-panel.outgoing { color: #006c55; background: #e6f6f0; }
.settlement-panel span { color: inherit; font-weight: 500; }
.settlement-panel strong { margin: 5px 0; font-size: 2rem; line-height: 1.25; font-weight: 500; font-variant-numeric: tabular-nums; }
.settlement-panel small { display: block; color: var(--muted); font-size: .94rem; }
.no-settlement { padding: 14px 16px; border-radius: 12px; background: #f3f6fa; font-size: .94rem; }
.review-detail { border: 0; border-radius: 0; padding: 0; margin-top: 18px; }
.review-detail summary { min-height: 44px; font-size: 1rem; font-weight: 500; }
.review-detail dl { gap: 0; margin-top: 12px; }
.review-detail dl div { align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.review-detail dt, .review-detail dd { font-size: .94rem; line-height: 1.5; }
.review-detail dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.bank-task-container { padding: 20px; background: #eef8f5; }
.bank-task-container > .section-row { margin-top: 0; }
.bank-payday { background: white; }
.bank-payday-value { margin: 8px 0 0; font-size: 2rem; font-weight: 500; line-height: 1.25; font-variant-numeric: tabular-nums; }
.bank-task .settlement-panel { margin-bottom: 0; }
.section-card { min-width: 0; padding: 22px; box-shadow: none; }
.section-card > .section-row { margin-top: 0; }
.section-total { margin: 10px 0 20px; color: var(--muted); font-size: .94rem; }
.inventory-grid { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .89rem; }
.inventory-grid + .inventory-grid { margin-top: 24px; }
.inventory-grid caption { text-align: left; padding-bottom: 14px; font-size: 1rem; font-weight: 500; }
.inventory-grid th, .inventory-grid td { padding: 12px 8px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; font-weight: 400; font-variant-numeric: tabular-nums; }
.inventory-grid th:first-child { width: 44%; text-align: left; padding-left: 0; }
.inventory-grid tbody th { font-weight: 500; }
.inventory-grid thead { color: var(--muted); }
.inventory-grid th small { display: block; color: var(--muted); font-size: .89rem; font-weight: 400; margin-top: 6px; }
.inventory-detail { margin-top: 8px; }
.inventory-detail summary { color: var(--blue); font-size: .89rem; font-weight: 400; cursor: pointer; }
.asset-detail-list { grid-template-columns: 1fr; }
.asset-detail-list div { flex-direction: column; gap: 3px; }
.asset-detail-list dd { text-align: left; font-weight: 400; }
.mini-list strong { font-size: .94rem; font-weight: 500; }
.mini-list span { font-size: .89rem; }
.dream-card { position: relative; isolation: isolate; min-height: 220px; overflow: hidden; padding: 24px; border: 0; color: #f5f9ff; background: linear-gradient(135deg, #11243a, var(--player-dark)); }
.dream-card::before { position: absolute; z-index: 1; inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(90deg, rgba(10,27,46,.92), rgba(10,27,46,.67) 50%, rgba(10,27,46,.15)); box-shadow: none; filter: none; }
.dream-card::after { display: none; }
.dream-card > * { position: relative; z-index: 2; }
.dream-card .dream-background { position: absolute; z-index: 0; inset: 0; background-image: url("assets/dreams/atlas.jpg"); background-size: 500% 400%; background-repeat: no-repeat; }
.dream-card .section-title { font-size: 1rem; color: #f5f9ff; }
.dream-name { max-width: 26ch; margin: 16px 0 8px; color: #f5f9ff; font-size: 1.12rem; line-height: 1.4; }
.dream-card > strong { display: block; color: #f5f9ff; font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.dream-card > small { display: block; font-size: .89rem; margin-top: 10px; }
.operation-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.picker-option { min-width: 0; min-height: 122px; padding: 16px 12px; box-shadow: none; overflow-wrap: anywhere; }
.picker-option > span { color: var(--blue); }
.picker-option strong { font-size: 1rem; font-weight: 500; }
.picker-option small { font-size: .89rem; line-height: 1.4; }
.menu-back { text-align: left; margin-bottom: 8px; color: var(--blue); }
.sheet { max-height: 92dvh; }
.sheet-head { padding: 20px 24px; }
.sheet-head h2 { font-size: 1.35rem; font-weight: 500; }
.sheet-body { padding: 24px; }
.form-grid { gap: 18px; }
.field label, .card-selector legend { font-size: 1rem; font-weight: 500; margin-bottom: 10px; }
.field input, .field select { min-width: 0; min-height: 54px; font-size: 1rem; padding: 12px; }
.field-row, .deal-card-filters { min-width: 0; }
.field { min-width: 0; }
.form-note, .deemphasized { font-size: .94rem; line-height: 1.55; }
.form-note { padding: 16px; }
.form-actions { flex-wrap: wrap; }
.form-actions > * { min-width: 0; flex-basis: 150px; }
.card-selector .choice-card-grid { grid-template-columns: 1fr; gap: 12px; }
.choice-card { min-height: 90px; padding: 18px; box-shadow: none; align-items: flex-start; }
.choice-card > span:last-child { flex: 1; }
.choice-card strong, .choice-card-summary strong { font-size: 1.08rem; line-height: 1.4; font-weight: 500; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.choice-card small, .choice-card-summary small { font-size: .94rem; line-height: 1.55; margin-top: 6px; }
.choice-card-details summary { padding: 16px; min-width: 0; }
.choice-card-summary { align-items: flex-start; flex: 1; }
.choice-card-change { font-size: .89rem; font-weight: 500; max-width: 10ch; white-space: normal; }
.choice-card-icon { width: 38px; height: 38px; flex-basis: 38px; }
.security-symbol-grid .choice-card strong { font-size: 1.04rem; }
.security-symbol-grid .choice-card-symbol { width: 64px; flex-basis: 64px; font-weight: 500; }
.security-symbol-grid .choice-card small { font-size: .89rem; }
.security-price-grid .choice-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
.security-price-grid .choice-card { min-width: 0; min-height: 86px; }
.security-price-grid .choice-card strong { font-size: 1.1rem; font-weight: 500; }
.security-price-grid .choice-card small { font-size: .89rem; }
.deal-origin-option { font-weight: 500; min-height: 54px; }
.deal-card-detail { padding: 22px; color: var(--ink); }
.deal-card-detail-head h3 { font-size: 1.15rem; font-weight: 500; }
.deal-card-detail h4 { font-size: 1rem; font-weight: 500; }
.deal-card-detail dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.deal-card-detail dl div { display: block; min-width: 0; }
.deal-card-detail dt { font-size: .89rem; }
.deal-card-detail dd { font-size: 1.15rem; text-align: left; font-weight: 500; margin-top: 5px; overflow-wrap: anywhere; }
.metric-preview { font-size: .94rem; gap: 12px; padding: 18px; }
.metric-preview strong { font-weight: 500; }
.doodad-finance { padding: 18px; background: #edf1ff; border-radius: 14px; }
.doodad-finance dl { margin: 0; }
.doodad-finance dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.doodad-finance dt { color: var(--muted); }
.doodad-finance dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.doodad-finance p { font-size: .94rem; }
.card-transcription { font-size: 1rem; padding: 18px; color: var(--ink); background: #f3f6fa; }
.operation-content strong, .operation-content .operation-breakdown { white-space: normal; overflow: visible; text-overflow: clip; }
.operation-status { white-space: normal; line-height: 1.4; }
.operation-title-row { flex-wrap: wrap; }
.operation-trailing { max-width: 100%; }
.operation-amount { white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .content { padding: 32px 24px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; }
  .sheet { width: min(760px, 100%); }
  .quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) and (max-width: 1050px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .side-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 24px; }
  .side-panel .top-gap { margin-top: 0; }
  .side-panel .dream-card { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .focus-metrics { grid-template-columns: 1fr; gap: 20px; }
  .summary-main { padding: 22px; }
  .summary-value { font-size: 2rem; }
  .inventory-grid, .inventory-grid tbody { display: block; }
  .inventory-grid caption { display: block; }
  .inventory-grid thead { display: none; }
  .inventory-grid tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .inventory-grid th:first-child { grid-column: 1 / -1; width: 100%; padding: 0; border: 0; }
  .inventory-grid tbody td { text-align: left; padding: 0; border: 0; }
  .inventory-grid td::before { content: attr(data-label); display: block; color: var(--muted); margin-bottom: 5px; font-size: .89rem; }
  .section-card { padding: 20px; }
  .review-card { padding: 18px; }
  .review-detail dl div { flex-direction: column; gap: 3px; }
  .review-detail dd { text-align: left; }
  .sheet-body { padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); }
  .sheet-head { padding: 18px 16px; }
  .sheet details { padding: 10px; }
  .choice-card-details summary { flex-wrap: wrap; }
  .choice-card-summary { flex-basis: 100%; }
  .choice-card-change { max-width: none; }
  .card-selector .choice-card-grid { padding-inline: 0; }
  .choice-card { padding: 16px 12px; }
  .deal-card-filters { grid-template-columns: 1fr; }
  .deal-card-detail { padding: 18px; }
  .metric-preview, .doodad-finance dl > div { grid-template-columns: 1fr; }
  .metric-preview strong { text-align: left; }
  .doodad-finance dl > div { flex-direction: column; gap: 4px; }
  .settlement-panel { padding: 18px 14px; }
  .settlement-panel strong { font-size: 1.7rem; }
  .quick-action { padding: 16px 12px; }
  .secondary-finances > div { flex-wrap: wrap; }
  .operation-card { flex-wrap: wrap; }
  .operation-content { flex-basis: calc(100% - 54px); }
  .operation-trailing { width: 100%; justify-items: start; padding-left: 50px; }
}
@media (max-width: 380px) {
  .content { padding-inline: 14px; }
  .topbar { padding-inline: 16px; }
  .rat-race-summary .summary-main { padding: 20px; }
  .deal-card-detail dl, .field-row { grid-template-columns: 1fr; }
  .picker-option { padding: 14px 10px; }
  .picker-option small { font-size: .89rem; }
  .brand { font-size: 1.2rem; }
  .screen-heading-actions { flex-wrap: wrap; }
  .security-symbol-grid .choice-card-symbol { width: 54px; flex-basis: 54px; }
  .deal-origin-option span { display: block; margin: 0; }
}

/* CF-UI-20261020: shared mobile financial cards and contextual navigation. */
:root {
  --audit-surface: #f0edff;
  --audit-border: #d6cef5;
  --audit-ink: #433080;
  --small-surface: #eff9f5;
  --small-border: #b9dfce;
  --big-surface: #fff7e9;
  --big-border: #e9cf9d;
  --asset-neutral-surface: #f6f8fc;
  --asset-neutral-border: #e0e6ef;
  --premium-surface: #18202a;
  --premium-border: #9f884d;
  --premium-ink: #f8f4e9;
  --premium-gold: #e1c780;
}
.topbar-inner { flex-wrap: nowrap; align-items: flex-start; }
.topbar .player-heading { min-width: 0; flex: 1 1 auto; }
.player-menu { position: relative; flex: 0 0 auto; padding: 0; border: 0; margin: 0; }
.player-menu > summary { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #526078; border-radius: 14px; color: white; background: #26364d; cursor: pointer; list-style: none; }
.player-menu > summary::-webkit-details-marker { display: none; }
.player-menu > summary span { font-size: 1.4rem; line-height: 1; }
.player-menu[open] > summary { color: #17243a; background: #fff; }
.player-menu > nav { position: absolute; z-index: 30; top: calc(100% + 10px); right: 0; display: grid; width: min(238px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 14px 36px #101b2d33; }
.player-menu .header-action { width: 100%; min-height: 48px; text-align: left; color: var(--ink); background: transparent; border: 0; border-radius: 10px; }
.player-menu .header-action:hover, .player-menu .header-action:focus-visible { background: #edf1ff; }
button:focus-visible, summary:focus-visible { outline: 3px solid #4f75e4; outline-offset: 3px; }
.dashboard-operations.quick-actions { display: grid; grid-auto-rows: 1fr; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.dashboard-operations .quick-action { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; width: auto; min-height: 104px; padding: 16px; border-radius: 16px; }
.dashboard-operations .quick-action-icon { font-size: 1.25rem; color: #4059bc; }
.dashboard-operations .quick-action strong { font-size: 1rem; line-height: 1.3; font-weight: 600; }
.dashboard-operations .quick-action small { margin-top: 6px; font-size: .89rem; line-height: 1.35; }
.fast-track-summary { border: 1px solid var(--premium-border); box-shadow: 0 16px 32px #1a20272b; background: var(--premium-surface); }
.fast-track-summary .summary-main { padding: 24px; background: radial-gradient(ellipse at top right, #c6a45a24, transparent 65%), linear-gradient(135deg, #26303c, #141b25); box-shadow: inset 4px 0 var(--player-color); }
.fast-track-summary .summary-main::before { display: block; position: absolute; top: 0; left: 24px; right: 24px; bottom: auto; height: 1px; background: linear-gradient(90deg, transparent, #efd892, transparent); mix-blend-mode: normal; }
.fast-track-summary .eyebrow { color: #e9d59e; }
.fast-track-summary .summary-value { color: var(--premium-ink); font-weight: 600; }
.fast-track-summary .summary-caption, .fast-track-summary .secondary-finances dt { color: #e2e5eb; }
.fast-track-summary .progress-track { background: #ffffff24; }
.fast-track-summary .progress-track span { background: linear-gradient(90deg, #a98b45, #f4df9b); }
.fast-track-summary .secondary-finances { border-color: #e4cd9038; }
.fast-track-summary .secondary-finances dd { color: var(--premium-ink); }
.financial-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #f8fafc; }
.financial-card h3, .deal-card-detail > h3, .audit-title { margin: 0; color: var(--ink); font-size: clamp(1.12rem, 3.6vw, 1.3rem); line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
.financial-caption { margin: 6px 0 0; color: #59677b; font-size: .8rem; line-height: 1.4; font-weight: 400; }
.financial-grid, .deal-card-detail .financial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin: 18px 0 0; }
.financial-grid > div, .deal-card-detail .financial-grid > div { display: block; min-width: 0; padding: 0; border: 0; }
.financial-grid dt, .deal-card-detail .financial-grid dt { color: #56647a; font-size: .89rem; line-height: 1.35; font-weight: 400; }
.financial-grid dd, .deal-card-detail .financial-grid dd { margin: 5px 0 0; color: var(--ink); font-size: 1.14rem; line-height: 1.3; font-weight: 600; text-align: left; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.inventory-cards { display: grid; gap: 14px; }
.asset-small { border-color: var(--small-border); background: var(--small-surface); }
.asset-big { border-color: var(--big-border); background: var(--big-surface); }
.asset-standard, .asset-stock { background: var(--asset-neutral-surface); border-color: var(--asset-neutral-border); }
.asset-premium { border-color: #d8c896; background: #fcf9f0; }
.deal-card-detail { padding: 20px; }
.deal-card-detail > h3 { font-size: 1.3rem; }
.choice-card-summary strong { font-size: 1.15rem; font-weight: 650; }
.audit-queue { padding: 20px; border: 1px solid var(--audit-border); border-radius: 22px; background: var(--audit-surface); }
.audit-queue > .section-row .section-title { color: var(--audit-ink); }
.audit-queue .review-count { background: #ddd5f6; color: #433080; }
.audit-queue .review-card { padding: 18px; border-color: #dfdaf0; background: #fff; }
.audit-queue .audit-title { margin: 0; }
.audit-participant { margin: 6px 0 0; color: #5d6077; font-size: .89rem; line-height: 1.4; }
.audit-queue .settlement-panel { margin: 16px 0; padding: 16px; background: #f0edff; color: #49328b; }
.audit-queue .settlement-panel.outgoing { background: #e9f5f0; color: #136349; }
.audit-queue .financial-grid { padding-top: 2px; margin-top: 16px; }
.audit-queue .review-actions { margin-top: 18px; }
.audit-queue .financial-grid dt { font-size: .89rem; }
.audit-queue .financial-grid dd { font-size: 1.14rem; }
.audit-queue .no-settlement { margin: 16px 0; }
.sale-preview { margin-top: 0; }
@media (max-width: 600px) {
  .topbar { padding-top: calc(16px + env(safe-area-inset-top)); padding-bottom: 16px; }
  .topbar-inner { gap: 12px; }
  .game-label { margin-top: 7px; font-size: .89rem; }
  .dashboard-operations.quick-actions { gap: 10px; }
  .dashboard-operations .quick-action { min-height: 104px; padding: 14px; }
  .audit-queue { padding: 14px; border-radius: 20px; }
  .audit-queue .review-card { padding: 15px; }
  .financial-card, .deal-card-detail { padding: 16px; }
  .financial-grid, .deal-card-detail .financial-grid { gap: 14px 10px; }
  .audit-queue .financial-grid dd { font-size: 1.08rem; }
  .audit-queue .settlement-panel { padding: 14px; }
}

.audit-settlement-route { margin: 5px 0 0; color: var(--audit-ink); font-size: .89rem; line-height: 1.35; }
.audit-queue .financial-grid > .settlement-metric { margin: -6px; padding: 6px; border-radius: 10px; background: #eee8ff; }
.audit-queue .settlement-metric dt { color: #49328b; }
.audit-queue .settlement-metric dd { color: #37215f; font-weight: 700; font-size: 1.34rem; }

.choice-card-details .compact-card-selection { min-height: 48px; padding: 12px 16px; }
.compact-card-selection .choice-card-change { max-width: none; font-size: .94rem; }
.market-preview > p { margin: 14px 0 0; color: #56647a; font-size: .94rem; line-height: 1.5; }
@media (max-width: 360px) {
  .financial-grid, .deal-card-detail .financial-grid { grid-template-columns: 1fr; }
}

/* CF-UI-20261022: shared review content and closed inventory disclosures. */
:root { --big-surface: #fff3ad; --big-border: #d9ba35; }
.asset-big, .deal-card-detail.big, .deal-origin-option.big.active {
  background: var(--big-surface);
  border-color: var(--big-border);
}
.inventory-section > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  column-gap: 10px;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
}
.inventory-section > summary h2 { margin: 0; min-width: 0; }
.inventory-section > summary .section-total { grid-column: 1 / -1; margin: 8px 0 0; font-size: .94rem; }
.inventory-count { padding: 3px 8px; border-radius: 20px; color: #354fb6; background: #edf1ff; font-size: .89rem; }
.inventory-section > summary::after, .inventory-asset > summary::after { content: "+"; color: #465873; font-size: 1.2rem; line-height: 1; }
.inventory-section > summary::after { grid-column: 3; grid-row: 1; }
.inventory-section[open] > summary::after, .inventory-asset[open] > summary::after { content: "−"; }
.inventory-section > summary::-webkit-details-marker, .inventory-asset > summary::-webkit-details-marker { display: none; }
.inventory-section-body { padding-top: 18px; }
.inventory-asset > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; list-style: none; }
.inventory-asset > summary h3 { flex: 1; min-width: 0; }
.inventory-asset > summary::after { flex: 0 0 16px; }
.inventory-asset-body { padding-top: 8px; }
.pending-operation-detail { padding: 0; margin: 12px 0 0; border: 0; }
.pending-operation-detail > summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: #354fb6; font-size: 1rem; }
.pending-operation-detail .operation-review-summary { margin-top: 12px; }
.pending-operation-detail .settlement-metric { padding: 6px; border-radius: 10px; background: #eee8ff; }
.pending-operation-detail .settlement-metric dd { color: #37215f; font-size: 1.34rem; }
.focus-metrics > .passive-income { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.passive-income .eyebrow, .passive-income .summary-value { color: #fff; }
/* Restore the player-color background from CF-UI-20261020/baseline/styles.css. */
.fast-track-summary { background: var(--player-dark); border-color: var(--player-light); }
.fast-track-summary .summary-main { background: linear-gradient(125deg, color-mix(in srgb, var(--player-color) 55%, #11243a), var(--player-dark)); box-shadow: none; }
.fast-track-summary .summary-main::before { display: none; }
.fast-track-summary .eyebrow, .fast-track-summary .summary-value, .fast-track-summary .summary-caption, .fast-track-summary .secondary-finances dt, .fast-track-summary .secondary-finances dd { color: #f5f9ff; }
.fast-track-summary .progress-track { background: rgba(255,255,255,.2); }
.fast-track-summary .progress-track span { background: var(--player-light); }
.fast-track-summary .secondary-finances { border-color: rgba(255,255,255,.25); }

/* CF-UI-20261022-FAST: premium finish and consistent secondary metrics. */
.focus-metrics > .summary-target {
  align-self: stretch;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: rgba(255,255,255,.12);
}
.summary-target .eyebrow { font-weight: 500; letter-spacing: .015em; }
.summary-target .summary-value {
  font-family: inherit;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -.015em;
}
.fast-track-summary { border: 1px solid #d9b968; box-shadow: 0 16px 32px #122b2840; }
.fast-track-summary .summary-main {
  background: linear-gradient(125deg, color-mix(in srgb, var(--player-color) 45%, #101b2d), color-mix(in srgb, var(--player-dark) 85%, #101b2d));
}
.fast-track-summary .summary-main::before {
  display: block;
  position: absolute;
  inset: 0;
  height: auto;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(125deg, rgba(255,235,177,.06) 0 1px, transparent 1px 14px);
  mix-blend-mode: normal;
}
.fast-track-summary .day-income-target { border-color: #d9b96899; box-shadow: inset 0 1px #fff0b530; }
.fast-track-summary .day-income-target .summary-value { color: #ffe7a8; }
.fast-track-summary .progress-track span { background: linear-gradient(90deg, #c5a34f, #ffe7a8); }

/* CF-UI-20261022-PASSIVE: match the player's progress color. */
.focus-metrics > .passive-income { background: rgba(0,0,0,.12); }
.rat-race-summary .passive-income .eyebrow,
.rat-race-summary .passive-income .summary-value:not(.negative) { color: var(--player-light); }
