.capitalUnifiedHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 8px 0 16px;
}
body[data-view="capitalAccounting"] .brokerSummaryBanner,
body[data-view="capitalAccounting"] .quickActions,
body[data-view="startingCapital"] .brokerSummaryBanner,
body[data-view="startingCapital"] .quickActions,
body[data-view="financialPlan"] .brokerSummaryBanner,
body[data-view="financialPlan"] .quickActions,
body[data-view="notifications"] .brokerSummaryBanner,
body[data-view="notifications"] .quickActions { display: none; }
body[data-view="capitalAccounting"] .heroCard { margin-bottom: 12px; }
body[data-view="startingCapital"] .brokerWork { grid-template-columns: minmax(0, 1fr); }
body[data-view="startingCapital"] .brokerSidebar { display: none; }
body[data-view="startingCapital"] .heroCard { margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body[data-view="startingCapital"] .heroCenter > h1,
body[data-view="startingCapital"] .heroCenter > p,
body[data-view="startingCapital"] .debankSearch,
body[data-view="startingCapital"] .heroActions { display: none !important; }
body[data-view="financialPlan"] .brokerWork { grid-template-columns: minmax(0, 1fr); }
body[data-view="financialPlan"] .brokerSidebar { display: none; }
body[data-view="financialPlan"] .heroCard { margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body[data-view="financialPlan"] .heroCenter > h1,
body[data-view="financialPlan"] .heroCenter > p,
body[data-view="financialPlan"] .debankSearch,
body[data-view="financialPlan"] .heroActions { display: none !important; }
body[data-view="notifications"] .brokerWork { grid-template-columns: minmax(0, 1fr); }
body[data-view="notifications"] .brokerSidebar { display: none; }
body[data-view="notifications"] .heroCard { display: none !important; }
.capitalUnifiedHead h2 { margin: 0; font-size: 26px; }
.capitalUnifiedHead p { margin: 6px 0 0; color: var(--muted); }
.capitalUnifiedActions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.capitalQuality {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 13px 16px;
  border: 1px solid #ebc900;
  border-left-width: 5px;
  border-radius: 7px;
  background: #fffbea;
}
.capitalQuality span { color: var(--muted); font-size: 12px; }
.capitalQuality.good { border-color: #55bf83; background: #effbf4; }
.capitalQuality.warn { border-color: #ef8d92; background: #fff3f3; }
.capitalEquation {
  display: grid;
  grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1.1fr;
  align-items: stretch;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.capitalEquation > div { min-width: 0; padding: 14px 16px; }
.capitalEquation > i { display: grid; place-items: center; color: var(--dim); font-size: 17px; font-style: normal; }
.capitalEquation span, .capitalEquation b { display: block; }
.capitalEquation span { color: var(--muted); font-size: 10px; font-weight: 700; }
.capitalEquation b { margin-top: 7px; font-size: 18px; }
.capitalEquation .result { color: #fff; background: #151922; }
.capitalEquation .result span { color: #b7c0ce; }
.capitalKpis {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.capitalKpi { min-height: 108px; padding: 17px; border-right: 1px solid var(--line); }
.capitalKpi:last-child { border-right: 0; }
.capitalKpi span, .capitalKpi b, .capitalKpi em { display: block; }
.capitalKpi span { color: var(--muted); font-size: 11px; font-weight: 700; }
.capitalKpi b { margin-top: 11px; font-size: 23px; }
.capitalKpi em { margin-top: 8px; color: var(--dim); font-size: 10px; font-style: normal; }
.capitalKpi.main { color: #fff; background: #151922; }
.capitalKpi.main span, .capitalKpi.main em { color: #b7c0ce; }
.capitalKpi.important { box-shadow: inset 0 4px 0 #ffdd2d; background: #fffdf0; }
.capitalChartPanel { padding: 18px 20px; }
.capitalUnifiedChart { min-height: 270px; }
.capitalUnifiedChart svg { display: block; width: 100%; height: 270px; }
.capitalUnifiedChart line { stroke: #e5eaf0; stroke-width: 1; }
.capitalUnifiedChart text { fill: #7b8797; font-size: 10px; }
.capitalValueLine, .capitalInvestedLine { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.capitalValueLine { stroke: #1769e0; stroke-width: 3; }
.capitalInvestedLine { stroke: #e6bd00; stroke-width: 2; stroke-dasharray: 7 5; }
.capitalChartEmpty { display: grid; min-height: 220px; place-items: center; align-content: center; gap: 7px; color: var(--muted); text-align: center; }
.capitalChartEmpty b { color: var(--text); }
.capitalLegend { display: flex; gap: 18px; color: var(--muted); font-size: 11px; }
.capitalLegend span { display: flex; align-items: center; gap: 7px; }
.capitalLegend i { width: 25px; height: 3px; background: #1769e0; }
.capitalLegend i.invested { height: 0; border-top: 2px dashed #e6bd00; background: transparent; }
.capitalUnifiedGrid { align-items: stretch; }
.capitalMethods, .capitalMonth { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.capitalMethods > div, .capitalMonth > div { min-height: 84px; padding: 14px 12px 8px 0; border-bottom: 1px solid var(--line); }
.capitalMethods > div:nth-child(odd), .capitalMonth > div:nth-child(odd) { border-right: 1px solid var(--line); }
.capitalMethods > div:nth-child(even), .capitalMonth > div:nth-child(even) { padding-left: 12px; }
.capitalMethods span, .capitalMethods b, .capitalMethods em, .capitalMonth span, .capitalMonth b { display: block; }
.capitalMethods span, .capitalMonth span { color: var(--muted); font-size: 10px; }
.capitalMethods b, .capitalMonth b { margin-top: 7px; font-size: 17px; }
.capitalMethods em { margin-top: 5px; color: var(--dim); font-size: 9px; font-style: normal; }
.capitalDrivers { display: grid; border-top: 1px solid var(--line); }
.capitalDriver { display: grid; grid-template-columns: minmax(160px, 1fr) auto; align-items: center; min-height: 68px; column-gap: 16px; border-bottom: 1px solid var(--line); }
.capitalDriver span { font-size: 12px; font-weight: 700; }
.capitalDriver b { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; }
.capitalDriver em { margin-top: 4px; color: var(--muted); font-size: 10px; font-style: normal; }
.capitalDriver.residual { background: #fffdf0; box-shadow: inset 3px 0 0 #ffdd2d; padding-left: 12px; }
.capitalWallets, .capitalFlowList { display: grid; border-top: 1px solid var(--line); }
.capitalWallets > div, .capitalFlowList > div { display: grid; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); }
.capitalWallets > div { grid-template-columns: 32px 1fr auto; gap: 10px; }
.capitalFlowList > div { grid-template-columns: 1fr auto; }
.capitalWalletMark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #edf4ff; color: #1769e0; font-size: 10px; font-weight: 800; }
.capitalWallets p, .capitalFlowList p { margin: 0; }
.capitalWallets b, .capitalWallets em, .capitalFlowList b, .capitalFlowList em { display: block; }
.capitalWallets em, .capitalFlowList em { margin-top: 3px; color: var(--muted); font-size: 10px; font-style: normal; }
.capitalWallets strong, .capitalFlowList strong { text-align: right; }
.capitalWallets small { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }
.capitalMonthTable { min-width: 900px; }
.capitalMonthHead, .capitalMonthRow { display: grid; grid-template-columns: 1.2fr repeat(5, 1fr); align-items: center; gap: 14px; min-height: 48px; padding: 0 18px; }
.capitalMonthHead { color: var(--muted); background: #f8fafc; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.capitalMonthRow { border-top: 1px solid var(--line); font-size: 12px; }
.capitalPositionsPanel { margin-top: 16px; }
.capitalPositionTable { min-width: 980px; }
.capitalPositionHead, .capitalPositionRow { display: grid; grid-template-columns: minmax(250px, 1.7fr) repeat(5, minmax(100px, .75fr)); align-items: center; gap: 14px; min-height: 54px; padding: 0 18px; }
.capitalPositionHead { color: var(--muted); background: #f8fafc; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.capitalPositionRow { border-top: 1px solid var(--line); font-size: 12px; }
.capitalPositionRow div b, .capitalPositionRow div em { display: block; }
.capitalPositionRow div em { margin-top: 3px; color: var(--muted); font-size: 10px; font-style: normal; }

.checkpointHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin: 8px 0 16px; }
.checkpointHead h2 { margin: 0; font-size: 26px; }
.checkpointHead p { max-width: 720px; margin: 6px 0 0; color: var(--muted); }
.checkpointCapture { display: grid; justify-items: end; gap: 10px; }
.checkpointCapture label { display: flex; align-items: center; gap: 8px; color: #465367; font-size: 11px; font-weight: 700; cursor: pointer; }
.checkpointCapture input { width: 17px; height: 17px; accent-color: #111827; }
.checkpointCapture .primary:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.checkpointKpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.checkpointKpis > div { min-height: 104px; padding: 17px; border-right: 1px solid var(--line); }
.checkpointKpis > div:last-child { border-right: 0; }
.checkpointKpis span, .checkpointKpis b, .checkpointKpis em { display: block; }
.checkpointKpis span { color: var(--muted); font-size: 10px; font-weight: 700; }
.checkpointKpis b { margin-top: 10px; font-size: 22px; }
.checkpointKpis em { margin-top: 7px; color: var(--dim); font-size: 9px; font-style: normal; }
.checkpointKpis .important { background: #fffdf0; box-shadow: inset 0 4px 0 #ffdd2d; }
.checkpointPanel { padding: 18px 0 0; overflow: hidden; }
.checkpointPanel .panelHead { padding: 0 18px; }
.checkpointTableWrap { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.checkpointMatrix { min-width: 1870px; --checkpoint-columns: 230px repeat(12, 136px); }
.checkpointHeader, .checkpointRow { display: grid; grid-template-columns: var(--checkpoint-columns); align-items: stretch; }
.checkpointHeader { position: sticky; top: 0; z-index: 3; min-height: 66px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8fafc; }
.checkpointHeader > div, .checkpointRow > div { min-width: 0; padding: 13px 12px; border-right: 1px solid var(--line); }
.checkpointHeader > div:last-child, .checkpointRow > div:last-child { border-right: 0; }
.checkpointRow { min-height: 64px; border-bottom: 1px solid var(--line); background: #fff; }
.checkpointRow:hover { background: #fbfdff; }
.checkpointWallet { position: sticky; left: 0; z-index: 2; display: flex; align-items: center; gap: 10px; background: inherit; box-shadow: 1px 0 0 var(--line); }
.checkpointHeader .checkpointWallet { z-index: 4; background: #f8fafc; }
.checkpointWallet > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; background: #edf4ff; color: #1769e0; font-size: 10px; font-weight: 800; }
.checkpointWallet p { min-width: 0; margin: 0; }
.checkpointWallet b, .checkpointWallet em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkpointWallet em { margin-top: 4px; color: var(--muted); font-size: 10px; font-style: normal; }
.checkpointMonth { display: grid; place-content: center; text-align: center; }
.checkpointMonth b { font-size: 11px; text-transform: capitalize; }
.checkpointMonth em { margin-top: 5px; color: #9a7b00; font-size: 9px; font-style: normal; text-transform: uppercase; }
.checkpointMonth.current { background: #fff9d9; box-shadow: inset 0 3px 0 #ffdd2d; }
.checkpointValue { display: grid; place-content: center; text-align: center; }
.checkpointValue b { font-size: 12px; }
.checkpointValue span { color: #b0bac7; }
.checkpointValue em { margin-top: 5px; color: var(--muted); font-size: 8px; font-style: normal; }
.checkpointValue.preview { background: #fffdf0; box-shadow: inset 0 0 0 1px #f2d650; }
.checkpointTotal { min-height: 62px; background: #151922; color: #fff; }
.checkpointTotal .checkpointWallet { background: #151922; }
.checkpointTotal .checkpointValue.preview { color: #111827; }
.checkpointChangeRow { min-height: 56px; background: #f8fafc; }
.checkpointDateRow { min-height: 64px; background: #fffdf0; }
.checkpointDateRow .checkpointWallet { background: #fffdf0; }
.checkpointDateRow .checkpointValue b { font-size: 10px; }
.checkpointEmpty { padding: 34px; color: var(--muted); }

.planHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 8px 0 16px; }
.planHead > div > span { display: inline-block; margin-bottom: 8px; padding: 5px 8px; border-radius: 4px; background: #fff1a6; color: #665200; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.planHead h2 { margin: 0; font-size: 27px; }
.planHead p { max-width: 760px; margin: 6px 0 0; color: var(--muted); }
.planSettingsPanel { padding: 18px; }
.planInputsGrid { display: grid; grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.planCapitalAnchor { min-height: 98px; padding: 15px; border-radius: 6px; color: #fff; background: #151922; }
.planCapitalAnchor span, .planCapitalAnchor b, .planCapitalAnchor em { display: block; }
.planCapitalAnchor span { color: #bec7d4; font-size: 10px; font-weight: 700; }
.planCapitalAnchor b { margin-top: 10px; font-size: 25px; }
.planCapitalAnchor em { margin-top: 8px; color: #bec7d4; font-size: 9px; font-style: normal; }
.planInputsGrid .inputBox small { display: block; min-height: 28px; margin-top: 7px; color: var(--dim); font-size: 9px; line-height: 1.4; }
.planScenarioSettings { margin-top: 14px; padding: 18px; }
.planSettingsGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.planSettingsGrid .scenario { padding: 12px; border: 1px solid var(--line); border-top-width: 3px; border-radius: 6px; background: #fbfcfe; }
.planSettingsGrid .scenario.conservative { border-top-color: #8995a5; }
.planSettingsGrid .scenario.base { border-top-color: #e6bd00; }
.planSettingsGrid .scenario.optimistic { border-top-color: #16a36a; }
.planHorizonBar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 14px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.planHorizonBar > div:first-child b, .planHorizonBar > div:first-child span { display: block; }
.planHorizonBar > div:first-child b { font-size: 12px; }
.planHorizonBar > div:first-child span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.planHorizon { display: grid; grid-template-columns: repeat(3, minmax(76px, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.planHorizon button { min-height: 38px; padding: 0 14px; border: 0; border-right: 1px solid var(--line); background: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.planHorizon button:last-child { border-right: 0; }
.planHorizon button.active { color: #151515; background: #ffdd2d; }
.planScenarioResults { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.planScenarioResult { min-height: 150px; padding: 17px; border-right: 1px solid var(--line); box-shadow: inset 0 3px 0 #8995a5; }
.planScenarioResult:last-child { border-right: 0; }
.planScenarioResult.base { background: #fffdf0; box-shadow: inset 0 4px 0 #e6bd00; }
.planScenarioResult.optimistic { box-shadow: inset 0 3px 0 #16a36a; }
.planScenarioResult > span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; }
.planScenarioResult > b { display: block; margin: 10px 0 13px; font-size: 24px; }
.planScenarioResult > div { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 9px; }
.planScenarioResult em { color: var(--muted); font-style: normal; }
.planScenarioResult strong { text-align: right; }
.planKpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.planKpis > div { min-height: 108px; padding: 17px; border-right: 1px solid var(--line); }
.planKpis > div:last-child { border-right: 0; }
.planKpis span, .planKpis b, .planKpis em { display: block; }
.planKpis span { color: var(--muted); font-size: 10px; font-weight: 700; }
.planKpis b { margin-top: 10px; font-size: 22px; }
.planKpis em { margin-top: 7px; color: var(--dim); font-size: 9px; font-style: normal; }
.planKpis .main { color: #fff; background: #151922; }
.planKpis .main span, .planKpis .main em { color: #bec7d4; }
.planKpis .important { background: #fffdf0; box-shadow: inset 0 4px 0 #ffdd2d; }
.planProgress { margin-bottom: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.planProgress > div:first-child { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; font-size: 11px; font-weight: 700; }
.planProgressTrack { height: 10px; overflow: hidden; border-radius: 2px; background: #edf0f4; }
.planProgressTrack i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,#e6bd00,#16a36a); transition: width .25s ease; }
.planScenarioChart { min-height: 250px; }
.planScenarioChart svg { display: block; width: 100%; height: 250px; }
.planScenarioChart line { stroke: #e5eaf0; stroke-width: 1; }
.planScenarioChart text { fill: #7b8797; font-size: 10px; }
.planScenarioChart .planGoalLine { stroke: #e5484d; stroke-width: 1.5; stroke-dasharray: 5 4; }
.planScenarioChart .planGoalText { fill: #c8373d; font-weight: 700; }
.planLine { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.planLine.conservative { stroke: #8995a5; }
.planLine.base { stroke: #d3aa00; stroke-width: 3.5; }
.planLine.optimistic { stroke: #16a36a; }
.planLegend { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 10px; }
.planLegend span { display: flex; align-items: center; gap: 7px; }
.planLegend i { width: 22px; height: 3px; background: #8995a5; }
.planLegend i.base { height: 4px; background: #d3aa00; }
.planLegend i.optimistic { background: #16a36a; }
.planFactTable { min-width: 1380px; }
.planFactHead, .planFactRow { display: grid; grid-template-columns: 105px repeat(3, minmax(135px, .9fr)) repeat(4, minmax(155px, 1.1fr)); align-items: center; gap: 12px; min-height: 60px; padding: 0 16px; }
.planFactHead { color: var(--muted); background: #f8fafc; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.planFactRow { border-top: 1px solid var(--line); font-size: 11px; }
.planFactRow.milestone { border-top-color: #e6bd00; background: #fffdf4; }
.planFactRow.milestone > b { color: #8a6b00; font-size: 13px; }
.planFactRow > span b, .planFactRow > span em { display: block; }
.planFactRow > span em { margin-top: 3px; color: var(--muted); font-size: 8px; font-style: normal; }
.planFactRow .baseScenarioCell { margin: 0 -8px; padding: 12px 8px; border-left: 2px solid #e6bd00; background: #fffdf0; }
.planFactStatus { display: inline-block; padding: 5px 7px; border-radius: 4px; color: #6b7685; background: #f0f3f6; font-size: 8px; }
.planFactRow > span b.planFactStatus { display: inline-block; width: max-content; }
.planFactStatus.future { padding-inline: 0; background: transparent; }
.planFactStatus.frozen { color: #087643; background: #eaf8f0; }
.planFactStatus.frozen_estimate { color: #6b5b00; background: #fff6c7; }
.planFactStatus.in_progress { color: #805e00; background: #ffed8a; }

.notificationHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 8px 0 16px; }
.notificationHead > div:first-child > span { display: inline-block; margin-bottom: 8px; padding: 5px 8px; border-radius: 4px; color: #665200; background: #fff1a6; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.notificationHead h2 { margin: 0; font-size: 27px; }
.notificationHead p { max-width: 760px; margin: 6px 0 0; color: var(--muted); }
.notificationConnection { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); font-size: 10px; font-weight: 700; }
.notificationConnection i { width: 8px; height: 8px; border-radius: 50%; background: #aab3bf; }
.notificationConnection.linked { color: #087643; border-color: #bce8d2; background: #eefaf4; }
.notificationConnection.linked i { background: #16a36a; }
.notificationGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 14px 0; }
.notificationCard { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 16px; min-height: 130px; padding: 18px; }
.notificationCard.important { box-shadow: inset 0 4px 0 #ffdd2d, var(--shadow); }
.notificationIcon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #111827; background: #f2f4f7; font-size: 22px; font-weight: 800; }
.notificationCard.important .notificationIcon { background: #ffed8a; }
.notificationCard span,.notificationCard h3,.notificationCard p { display: block; }
.notificationCard span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.notificationCard h3 { margin: 6px 0; font-size: 17px; }
.notificationCard p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.notificationBadge { padding: 6px 8px; border-radius: 4px; font-size: 9px; white-space: nowrap; }
.notificationBadge.active { color: #087643; background: #eaf8f0; }
.notificationToggle { display: grid; grid-template-columns: 38px; justify-items: center; gap: 6px; cursor: pointer; }
.notificationToggle input { position: absolute; opacity: 0; pointer-events: none; }
.notificationToggle span { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #cfd6df; transition: .2s; }
.notificationToggle span:after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.notificationToggle input:checked + span { background: #151922; }
.notificationToggle input:checked + span:after { transform: translateX(16px); }
.notificationToggle input:disabled + span { opacity: .45; }
.notificationToggle b { font-size: 9px; }
.notificationConnectPanel,.notificationAccuracy { margin-top: 14px; padding: 18px; }
.notificationConnectBody { min-height: 74px; }
.notificationConnectIntro,.notificationLinked,.notificationPair { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.notificationConnectIntro b,.notificationConnectIntro span,.notificationLinked b,.notificationLinked span { display: block; }
.notificationConnectIntro span,.notificationLinked span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.notificationPair > div:first-child span,.notificationPair code,.notificationPair small { display: block; }
.notificationPair code { margin: 7px 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 4px; background: #f7f9fb; font-size: 11px; word-break: break-all; }
.notificationPair small,.notificationHelp { color: var(--muted); font-size: 9px; }
.notificationPairActions { display: flex; gap: 8px; }
.notificationPairActions a { display: grid; place-items: center; text-decoration: none; }
.notificationSteps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--line); }
.notificationSteps > div { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 9px; min-height: 80px; padding: 16px; border-right: 1px solid var(--line); }
.notificationSteps > div:last-child { border-right: 0; }
.notificationSteps b { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #ffed8a; }
.notificationSteps span { color: var(--muted); font-size: 10px; line-height: 1.5; }

@media (max-width: 1050px) {
  .capitalEquation { grid-template-columns: 1fr 24px 1fr; }
  .capitalEquation > div { border-bottom: 1px solid var(--line); }
  .capitalEquation .result { grid-column: 1 / -1; }
  .capitalEquation > i:nth-of-type(3) { display: none; }
  .capitalKpis { grid-template-columns: repeat(2, 1fr); }
  .capitalKpi { border-bottom: 1px solid var(--line); }
  .capitalKpi:nth-child(even) { border-right: 0; }
  .capitalKpi:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .checkpointKpis { grid-template-columns: repeat(2, 1fr); }
  .checkpointKpis > div:nth-child(even) { border-right: 0; }
  .checkpointKpis > div { border-bottom: 1px solid var(--line); }
  .planInputsGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planSettingsGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .planKpis { grid-template-columns: repeat(2, 1fr); }
  .planKpis > div:nth-child(even) { border-right: 0; }
  .planKpis > div { border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  body[data-view="capitalAccounting"] .brokerSidebar,
  body[data-view="notifications"] .brokerSidebar { display: none; }
  .capitalUnifiedHead { align-items: flex-start; flex-direction: column; }
  .capitalUnifiedActions { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .capitalUnifiedActions .primary { grid-column: 1 / -1; }
  .capitalQuality { align-items: flex-start; flex-direction: column; }
  .capitalEquation { grid-template-columns: 1fr; }
  .capitalEquation > i { min-height: 24px; }
  .capitalEquation > i:nth-of-type(3) { display: grid; }
  .capitalKpi { min-height: 96px; padding: 14px; }
  .capitalKpi b { font-size: 19px; }
  .capitalMethods, .capitalMonth { grid-template-columns: 1fr; }
  .capitalMethods > div:nth-child(odd), .capitalMonth > div:nth-child(odd) { border-right: 0; }
  .capitalMethods > div:nth-child(even), .capitalMonth > div:nth-child(even) { padding-left: 0; }
  .checkpointHead { align-items: stretch; flex-direction: column; }
  .checkpointCapture { justify-items: stretch; }
  .checkpointCapture label { align-items: flex-start; line-height: 1.4; }
  .checkpointCapture .primary { width: 100%; }
  .checkpointKpis > div { min-height: 92px; padding: 14px; }
  .checkpointKpis b { font-size: 18px; }
  .checkpointPanel .panelHead { align-items: flex-start; flex-direction: column; }
  .planHead { align-items: stretch; flex-direction: column; }
  .planHead .primary { width: 100%; }
  .planInputsGrid { grid-template-columns: 1fr; }
  .planSettingsGrid { grid-template-columns: 1fr; }
  .planHorizonBar { align-items: stretch; flex-direction: column; }
  .planHorizon { width: 100%; }
  .planScenarioResults { grid-template-columns: 1fr; }
  .planScenarioResult { min-height: 132px; border-right: 0; border-bottom: 1px solid var(--line); }
  .planScenarioResult:last-child { border-bottom: 0; }
  .planKpis > div { min-height: 94px; padding: 14px; }
  .planKpis b { font-size: 18px; }
  .notificationHead { align-items: stretch; flex-direction: column; }
  .notificationConnection { width: fit-content; }
  .notificationGrid { grid-template-columns: 1fr; }
  .notificationCard { grid-template-columns: 44px 1fr; }
  .notificationCard > :last-child { grid-column: 2; justify-self: start; }
  .notificationConnectIntro,.notificationLinked,.notificationPair { align-items: stretch; flex-direction: column; }
  .notificationPairActions { display: grid; grid-template-columns: 1fr; }
  .notificationSteps { grid-template-columns: 1fr; }
  .notificationSteps > div { border-right: 0; border-bottom: 1px solid var(--line); }
}
