/* Copyright (c) VisualPerf Labs LLC. All rights reserved. */
.holdings-title{white-space:nowrap}.holdings-tools .section-export{margin-left:-4px}.portfolio-check{display:inline-flex;align-items:center;gap:5px;min-height:24px;color:var(--text-2);font-size:12px;cursor:pointer;white-space:nowrap}.portfolio-check input{margin:6px 0 6px 6px;accent-color:var(--s1)}.refresh-quotes{height:26px;padding:0 9px!important;font-size:12px!important}.demo-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 10px;padding:9px 10px;border:1px solid var(--border);border-radius:3px;background:var(--plane);color:var(--text-2);font-size:12.5px}.demo-notice[hidden]{display:none}.demo-notice button.ghost{flex:none;padding:5px 9px;font-size:12px}.heading-search{display:grid;grid-template-columns:minmax(160px,207px) auto auto auto;align-items:stretch;justify-content:start;gap:5px;text-transform:none}.heading-search input{min-width:0;width:100%;padding:7px 10px;border:1px solid var(--border);border-radius:3px;background:var(--field);color:var(--text-1);font:inherit;min-height:26px;padding-block:3px;font-size:12px}.heading-search button.ghost{height:26px;padding:0 8px;justify-content:center;white-space:nowrap;font-size:12px}.heading-search input:focus{outline:2px solid var(--s1);outline-offset:-1px}.manual-entry-panel{max-width:920px;margin:9px 0 7px;padding:12px;border:1px solid var(--border);border-radius:3px;background:var(--plane)}.manual-entry-panel[hidden]{display:none}.broker-import-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:color-mix(in srgb,var(--text-1) 42%,transparent)}.broker-import-backdrop[hidden]{display:none}.broker-import-dialog{width:min(780px,100%);max-height:min(88vh,820px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:3px;background:var(--surface-1);color:var(--text-1);box-shadow:0 18px 60px color-mix(in srgb,var(--text-1) 28%,transparent)}.broker-import-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 12px;border-bottom:1px solid var(--grid)}.broker-import-head h2{margin:0 0 4px;font-size:19px}.broker-import-head p,.broker-import-private{margin:0;color:var(--muted);font-size:12.5px}.broker-import-close{flex:0 0 auto;min-width:34px;font-size:19px;line-height:1}.broker-import-private{padding:9px 20px;background:var(--band)}.broker-import-body{padding:16px 20px;overflow-y:auto}.broker-import-body fieldset,.broker-import-review,.broker-import-updates{margin:0 0 14px;padding:12px;border:1px solid var(--grid);border-radius:3px}.broker-import-body h3,.broker-import-body legend{margin:0;padding:0 4px;font-size:13px;font-weight:700}.broker-import-body h3{padding:0;margin-bottom:7px}.broker-import-account,.broker-import-mode label,.broker-import-updates label{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.35}.broker-import-account+.broker-import-account,.broker-import-mode label+label{margin-top:8px}.broker-import-account input,.broker-import-mode input,.broker-import-updates input{margin:2px 0 0;accent-color:var(--s1)}.broker-import-account small,.broker-import-account span{display:block}.broker-import-account small{margin-top:1px;color:var(--muted)}.broker-import-account.disabled{color:var(--muted)}.broker-import-review>p,.broker-import-updates p{margin:0 0 9px;color:var(--muted);font-size:12.5px}.broker-import-unresolved-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:8px 0}.broker-import-unresolved-actions span{color:var(--muted);font-size:12px}.broker-import-equity-groups{display:grid;gap:8px;margin-top:8px}.broker-import-equity-group{overflow:hidden;border:1px solid var(--grid);border-radius:3px}.broker-import-equity-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;cursor:pointer;background:var(--band);color:var(--text-1);font-size:12.5px;font-weight:650}.broker-import-equity-group>summary small{color:var(--muted);font-size:11px;font-weight:400;white-space:nowrap}.broker-import-equity-list{display:grid;gap:4px;padding:6px}.broker-import-equity-row{display:grid;grid-template-columns:minmax(70px,100px) minmax(150px,1fr) minmax(110px,145px);gap:9px;align-items:center;padding:6px 8px;border-radius:3px;font-size:12.5px}.broker-import-equity-row.unresolved{background:color-mix(in srgb,var(--critical) 9%,var(--surface-1))}.broker-import-equity-row span,.broker-import-equity-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.broker-import-equity-row span{color:var(--muted)}.broker-import-equity-row select{min-height:28px;width:100%}.broker-import-review details{margin-top:10px;font-size:12px}.broker-import-review details ul,.broker-import-updates ul{margin:7px 0 0;padding-left:20px}.broker-import-error{min-height:18px;margin:0;color:var(--critical-text);font-size:12.5px}.broker-import-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid var(--grid);background:var(--band)}.broker-import-actions button{display:inline-flex;align-items:center;justify-content:center;text-align:center}#brokerImportCancel{min-width:72px}#brokerImportApply{min-width:132px}.manual-status{min-height:18px;margin:7px 0 2px;color:var(--muted);font-size:12px}.manual-status.error{color:var(--critical-text)}.search-results{display:grid;max-width:760px;margin:7px 0;border:1px solid var(--border);border-radius:3px;overflow:hidden}.search-results[hidden]{display:none}.search-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px;background:var(--surface-1)}.search-result+.search-result{border-top:1px solid var(--grid)}.search-result>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-result strong{margin-right:5px}.search-result small{display:block;color:var(--muted);font-size:11px}.search-result button.ghost{padding:4px 9px;font-size:12px}.search-empty{margin:0;padding:9px 10px;color:var(--muted)}.market-status{min-height:18px;margin:3px 0 7px;color:var(--muted);font-size:12px}.market-status:empty{min-height:0;margin:0}.market-status.error{color:var(--critical-text)}.portfolio-table{min-width:1150px}.portfolio-page #formRegion{overflow-x:clip}.portfolio-table [data-column]{text-align:right}.portfolio-table [data-column=holding]{width:205px;min-width:205px;max-width:205px;text-align:left}.portfolio-table [data-column=shares]{min-width:118px}.portfolio-table [data-column=averageCost]{min-width:128px}.portfolio-table [data-column=allocation]{min-width:96px}.portfolio-table [data-column=sevenDay]{min-width:104px}.portfolio-table td[data-column=averageCost] .holding-control,.portfolio-table td[data-column=shares] .holding-control{margin-left:auto}.equity-history-table thead button,.portfolio-table thead button,.transaction-table thead button{min-height:24px;padding:0;border:0;background:0 0;color:inherit;font:inherit;cursor:pointer;white-space:nowrap}.equity-history-table thead th[draggable=true],.equity-history-table thead th[draggable=true] button,.portfolio-table thead th[draggable=true],.portfolio-table thead th[draggable=true] button,.transaction-table thead th[draggable=true],.transaction-table thead th[draggable=true] button{cursor:grab}.equity-history-table thead th.column-dragging,.equity-history-table thead th.column-dragging button,.portfolio-table thead th.column-dragging,.portfolio-table thead th.column-dragging button,.transaction-table thead th.column-dragging,.transaction-table thead th.column-dragging button{cursor:grabbing}.equity-history-table thead th.column-dragging,.portfolio-table thead th.column-dragging,.transaction-table thead th.column-dragging{opacity:.52}.equity-history-table thead th.column-drop-after,.equity-history-table thead th.column-drop-before,.portfolio-table thead th.column-drop-after,.portfolio-table thead th.column-drop-before,.transaction-table thead th.column-drop-after,.transaction-table thead th.column-drop-before{position:relative}.equity-history-table thead th.column-drop-after::after,.equity-history-table thead th.column-drop-before::before,.portfolio-table thead th.column-drop-after::after,.portfolio-table thead th.column-drop-before::before,.transaction-table thead th.column-drop-after::after,.transaction-table thead th.column-drop-before::before{position:absolute;top:2px;bottom:2px;width:3px;border-radius:2px;background:var(--s1);content:""}.equity-history-table thead th.column-drop-before::before,.portfolio-table thead th.column-drop-before::before,.transaction-table thead th.column-drop-before::before{left:0}.equity-history-table thead th.column-drop-after::after,.portfolio-table thead th.column-drop-after::after,.transaction-table thead th.column-drop-after::after{right:0}.equity-history-table thead button::after,.portfolio-table thead button::after,.transaction-table thead button::after{content:"";display:inline-block;width:10px;margin-left:3px;color:var(--text-1)}.equity-history-table thead th[aria-sort=ascending] button::after,.portfolio-table thead th[aria-sort=ascending] button::after,.transaction-table thead th[aria-sort=ascending] button::after{content:"\25B2"}.equity-history-table thead th[aria-sort=descending] button::after,.portfolio-table thead th[aria-sort=descending] button::after,.transaction-table thead th[aria-sort=descending] button::after{content:"\25BC"}.equity-history-table thead button:focus-visible,.portfolio-table thead button:focus-visible,.transaction-table thead button:focus-visible{outline:2px solid var(--s1);outline-offset:2px;border-radius:3px}.portfolio-table tbody th{border-bottom:1px solid var(--grid);font-size:13px;font-weight:400}.portfolio-table tbody td,.portfolio-table tbody th{padding-block:0}.portfolio-table tbody tr:hover th{background:var(--hover)}.holding-symbol{display:block;color:var(--text-1);font-weight:650;line-height:1.3}.holding-symbol[data-tip],.holding-ticker[data-tip]{cursor:help}#allocationTable tbody th[data-tip]{cursor:help}.cellsub,.holding-name{display:block;max-width:185px;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:10.5px;line-height:1.3}.holding-source{display:block;max-width:185px;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:9.5px;line-height:1.25;white-space:nowrap}.portfolio-page .colset.labels span{overflow:hidden;text-overflow:ellipsis}#valueChart .colset.labels span,.holding-name-line{display:flex;align-items:center;min-width:0;gap:2px}.holding-name-line .holding-name{min-width:0}.holding-color{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;margin:0;padding:0;border:0;border-radius:3px;background:0 0;cursor:pointer}.holding-color:hover{background:var(--hover)}.holding-color:focus-visible{outline:2px solid var(--s1);outline-offset:1px}.holding-color .dot{width:8px;height:8px}.holding-colors{position:fixed;inset:auto;z-index:96;max-width:calc(100vw - 16px);flex-wrap:wrap}.holding-colors .dot.automatic{background:conic-gradient(var(--s1),var(--s4),var(--s7),var(--s11),var(--s14),var(--s1));box-shadow:inset 0 0 0 2px var(--surface-1),0 0 0 1px var(--axis)}.holding-control{width:112px}.holding-control input{min-width:0;width:100%;padding-block:3px}.holding-control:has(.affix.pre) input{padding-left:21px}.holding-actions{display:inline-flex;align-items:center;gap:4px}.holding-edit,.holding-remove{display:inline-grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid var(--border);border-radius:3px;background:var(--surface-1);color:var(--muted);font:600 16px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}.holding-edit{font-size:12px}.holding-remove:hover{color:var(--critical-text);background:var(--hover)}.holding-edit:hover{color:var(--accent-text);background:var(--hover)}.holding-edit:focus-visible,.holding-remove:focus-visible{outline:2px solid var(--s1);outline-offset:2px}.portfolio-empty td{padding:18px 8px;text-align:center!important;color:var(--muted)}.spark{display:grid;grid-template-columns:64px auto;align-items:center;gap:4px;color:var(--s1)}.spark.good{color:var(--good)}.spark.bad{color:var(--critical-text);font-weight:400}.spark.bad svg{color:var(--critical)}.spark svg{display:block;width:64px;height:24px;overflow:visible}.spark polyline{fill:none;stroke:currentColor;stroke-width:2;vector-effect:non-scaling-stroke}.spark .sparkpoint{fill:currentColor}.spark .sparkhit{fill:transparent;cursor:help;pointer-events:all}.spark .sparkhit:focus-visible{outline:0;stroke:var(--s1);stroke-width:1.5}.sparkline.s1{color:var(--s1)}.sparkline.s2{color:var(--s2)}.sparkline.s3{color:var(--s3)}.sparkline.s4{color:var(--s4)}.sparkline.s5{color:var(--s5)}.sparkline.s6{color:var(--s6)}.sparkline.s7{color:var(--s7)}.sparkline.s8{color:var(--s8)}.sparkline.s9{color:var(--s9)}.sparkline.s10{color:var(--s10)}.sparkline.s11{color:var(--s11)}.sparkline.s12{color:var(--s12)}.sparkline.s13{color:var(--s13)}.sparkline.s14{color:var(--s14)}.sparkline.s15{color:var(--s15)}.sparkdelta{color:currentColor;font-size:13px}.spark:focus-visible{outline:2px solid var(--s1);outline-offset:2px;border-radius:3px}.spark.unavailable{display:block;color:var(--muted);font-size:11px}.holding-disclosure{display:inline-grid;place-items:center;width:20px;height:20px;margin:0 3px 0 0;padding:0;border:0;border-radius:3px;background:0 0;color:var(--muted);font:700 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}.holding-disclosure::before{content:"\25B6";transition:transform .25s ease}.holding-disclosure[aria-expanded=true]::before{transform:rotate(90deg)}.holding-disclosure:focus-visible{outline:2px solid var(--s1);outline-offset:1px}.holding-row-title{display:flex;align-items:center;min-width:0}.portfolio-table tbody th[data-column=holding]{cursor:pointer}.holding-transactions>td{padding:0!important;background:var(--band)}.holding-transaction-panel{position:sticky;left:0;box-sizing:border-box;width:min(100%,calc(100vw - 64px));max-width:calc(100vw - 64px);padding:8px 12px 11px 31px;min-width:0}.holding-transaction-panel .transaction-table{min-width:760px;font-size:11.5px}.holding-detail-toolbar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px 12px;margin-bottom:7px;min-width:0}.holding-detail-tabs{display:inline-flex;align-items:center;gap:2px}.holding-detail-tabs [role=tab]{min-height:30px;padding:3px 9px;border:0;border-bottom:2px solid transparent;background:0 0;color:var(--text-2);font:650 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}.holding-detail-tabs [role=tab][aria-selected=true]{border-bottom-color:var(--s1);color:var(--text-1)}.holding-detail-tabs [role=tab]:focus-visible{outline:2px solid var(--s1);outline-offset:1px;border-radius:3px}.holding-overview-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px 10px;margin-left:auto}.holding-overview-tools .cf{display:inline-flex;align-items:center;gap:5px}.holding-overview-tools select{min-height:30px}.holding-transaction-tools{display:flex;align-items:center;min-height:30px;margin-left:auto}.holding-transaction-tools .table-columns-button{margin:0}.holding-detail-toolbar>[hidden]{display:none}.holding-overview-panel,.holding-transactions-content{min-width:0}.holding-overview-chart{min-height:310px}.holding-overview-chart .portfolio-history-svg{height:310px}.holding-profile{margin-top:7px;padding-top:7px;border-top:1px solid var(--grid);text-align:left;white-space:normal}.holding-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:baseline;gap:4px 16px;margin:0}.holding-profile-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;margin:7px 0 0;color:var(--text-2);font-size:12px;line-height:1.4}.holding-profile-description.expanded{display:block;overflow:visible}button.holding-profile-more{margin:4px 0 0;padding:1px 7px;font-size:11.5px;line-height:1.45}.holding-profile-more[hidden]{display:none}.holding-profile-field{display:inline-grid;grid-template-columns:max-content minmax(0,1fr);gap:4px;min-width:0}.holding-profile-field dt{color:var(--muted);font-size:11px;font-weight:650}.holding-profile-field dd{margin:0;overflow-wrap:anywhere;color:var(--text-1);font-size:11.5px}.holding-profile-status{margin:7px 0 0;color:var(--muted);font-size:11.5px}.holding-profile-retry{margin-left:4px;min-height:24px;padding:2px 7px;font-size:11.5px}.holding-transaction-panel .tablewrap,.portfolio-tablewrap,.transaction-tablewrap{width:100%;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}#historySection,#historySection .foldbody,#holdingsSection,#holdingsSection .foldbody,#transactionsSection,#transactionsSection .foldbody{min-width:0;max-width:100%}#optionsSection{min-width:0;max-width:100%;overflow-x:hidden}[data-layout-section=historySection]{min-width:0;max-width:100%;overflow-x:hidden}[data-layout-section=transactionsSection]{min-width:0;max-width:100%;overflow:visible}#transactionsSection{overflow:visible}.history-range{gap:4px}.range-button{box-sizing:border-box;min-width:38px;min-height:26px;height:26px;padding:0 8px;border:1px solid var(--border);border-radius:3px;background:var(--surface-1);color:var(--text-2);font:600 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}.range-button[aria-pressed=true]{border-color:var(--portfolio-range-active);background:var(--portfolio-range-active);color:#fff}.range-button:focus-visible{outline:2px solid var(--s1);outline-offset:2px}.transaction-form label{display:grid;gap:3px;color:var(--text-2);font-size:11px;font-weight:600}.transaction-form input,.transaction-form select{min-height:30px}.transaction-form-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px}.history-status{min-height:18px;margin:3px 0;color:var(--muted);font-size:12px}.history-status:empty{display:none}#historySection .foldbody{margin-top:0}.history-warning{margin:7px 0;padding:8px 10px;border-left:3px solid var(--portfolio-adjustment);background:color-mix(in srgb,var(--portfolio-adjustment) 11%,var(--surface-1));color:var(--text-2);font-size:12px}.history-event-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin:6px 0 8px}.history-event-legend:empty{display:none}.history-event-legend .item{position:relative;display:inline-flex;align-items:center;gap:5px;color:var(--text-2);font-size:11px}.equity-history-remove{position:absolute;left:calc(100% + 1px);top:50%;transform:translateY(-50%);z-index:2;width:17px;height:17px;padding:0;border:1px solid transparent;border-radius:3px;background:0 0;color:var(--muted);font:600 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;opacity:0;pointer-events:none}#equityHistoryLegend .item:focus-within .equity-history-remove,#equityHistoryLegend .item:hover .equity-history-remove,#equityPerformanceLegend .item:focus-within .equity-history-remove,#equityPerformanceLegend .item:hover .equity-history-remove,#portfolioPerformanceLegend .item:focus-within .equity-history-remove,#portfolioPerformanceLegend .item:hover .equity-history-remove{opacity:1;pointer-events:auto;border-color:var(--border);background:var(--surface-1)}.equity-history-remove:hover{background:var(--hover);color:var(--critical-text)}.equity-history-remove:focus-visible{outline:2px solid var(--s1);outline-offset:1px}.history-event-legend .dot{width:8px;height:8px;border-radius:50%}.portfolio-event-buy{--portfolio-event:var(--portfolio-buy)}.portfolio-event-sell{--portfolio-event:var(--portfolio-sell)}.portfolio-event-income{--portfolio-event:var(--portfolio-income)}.portfolio-event-cash{--portfolio-event:var(--portfolio-cash)}.portfolio-event-adjustment{--portfolio-event:var(--portfolio-adjustment)}.portfolio-event-fee{--portfolio-event:var(--portfolio-fee)}.history-event-legend .portfolio-event-adjustment,.history-event-legend .portfolio-event-buy,.history-event-legend .portfolio-event-cash,.history-event-legend .portfolio-event-fee,.history-event-legend .portfolio-event-income,.history-event-legend .portfolio-event-sell{background:var(--portfolio-event,var(--portfolio-fee))}.portfolio-history-chart{position:relative;width:100%;min-height:310px;overflow:hidden;border:1px solid var(--border);border-radius:3px;background:var(--surface-1)}.portfolio-history-chart:empty::before{display:grid;min-height:310px;place-items:center;color:var(--muted);font-size:12px;content:"Add or import transactions to build a portfolio-value line."}.portfolio-history-svg{display:block;width:100%;height:310px;overflow:visible}.portfolio-history-grid line{stroke:var(--grid);stroke-width:1;vector-effect:non-scaling-stroke}.portfolio-history-axis text,.portfolio-history-grid text{fill:var(--muted);font:11px system-ui,-apple-system,"Segoe UI",sans-serif}.portfolio-history-years line{stroke:var(--axis);stroke-width:1;stroke-dasharray:3 5;opacity:.48;vector-effect:non-scaling-stroke}.portfolio-history-area{fill:color-mix(in srgb,var(--s1) 12%,transparent)}.portfolio-history-line{fill:none;stroke:var(--s1);stroke-width:2.25;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.portfolio-history-event{position:absolute;z-index:4;width:24px;height:24px;margin:-12px 0 0 -12px;padding:0;border:0;border-radius:50%;background:0 0;cursor:help}.portfolio-history-event::before{content:"";position:absolute;top:50%;left:50%;width:8px;height:8px;transform:translate(-50%,-50%);border:1.5px solid var(--surface-1);border-radius:50%;background:var(--portfolio-event);box-shadow:0 0 0 1px color-mix(in srgb,var(--portfolio-event) 72%,var(--text-1))}.portfolio-history-event:focus-visible{outline:2px solid var(--s1);outline-offset:3px}.portfolio-history-hit{position:absolute;z-index:2;padding:0;border:0;background:0 0;cursor:crosshair}.portfolio-history-hit:focus-visible{outline:2px solid var(--s1);outline-offset:-2px}.portfolio-history-crosshair{position:absolute;z-index:3;width:0;border-left:1px solid var(--text-2);pointer-events:none}.portfolio-history-selection{position:absolute;z-index:1;pointer-events:none;border-inline:1px solid color-mix(in srgb,var(--s1) 70%,var(--text-1));background:color-mix(in srgb,var(--s1) 13%,transparent)}.portfolio-history-selection[hidden]{display:none}.portfolio-equity-history-chart:not(.history-chart-enabled){display:none}.history-event-legend:has(~ .portfolio-equity-history-chart:not(.history-chart-enabled)){display:none}.portfolio-equity-history-area{fill:color-mix(in srgb,var(--equity-history-color) 8%,transparent)}.portfolio-equity-history-line{fill:none;stroke:var(--equity-history-color);stroke-width:2.1;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;transition:opacity .25s ease}.portfolio-equity-history-area{transition:opacity .25s ease}.portfolio-equity-history-area.equity-history-series-muted,.portfolio-equity-history-line.equity-history-series-muted{opacity:.2}.portfolio-equity-performance-line{fill:none;stroke:var(--equity-history-color);stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:opacity .25s ease}.portfolio-performance-end-label{--equity-history-color:var(--s1);cursor:help}.portfolio-performance-end-label[hidden]{display:none}.portfolio-performance-end-label rect{fill:color-mix(in srgb,var(--equity-history-color) 55%,#0b1017)}.portfolio-performance-end-label text{fill:#fff;font:700 10px system-ui,-apple-system,"Segoe UI",sans-serif}.portfolio-equity-performance-line.equity-history-series-muted,.portfolio-performance-bar.equity-history-series-muted,.portfolio-performance-end-label.equity-history-series-muted{opacity:.2}.portfolio-equity-history-area.s1,.portfolio-equity-history-line.s1,.portfolio-equity-performance-line.s1,.portfolio-performance-bar.s1,.portfolio-performance-end-label.s1{--equity-history-color:var(--s1)}.portfolio-equity-history-area.s2,.portfolio-equity-history-line.s2,.portfolio-equity-performance-line.s2,.portfolio-performance-bar.s2,.portfolio-performance-end-label.s2{--equity-history-color:var(--s2)}.portfolio-equity-history-area.s3,.portfolio-equity-history-line.s3,.portfolio-equity-performance-line.s3,.portfolio-performance-bar.s3,.portfolio-performance-end-label.s3{--equity-history-color:var(--s3)}.portfolio-equity-history-area.s4,.portfolio-equity-history-line.s4,.portfolio-equity-performance-line.s4,.portfolio-performance-bar.s4,.portfolio-performance-end-label.s4{--equity-history-color:var(--s4)}.portfolio-equity-history-area.s5,.portfolio-equity-history-line.s5,.portfolio-equity-performance-line.s5,.portfolio-performance-bar.s5,.portfolio-performance-end-label.s5{--equity-history-color:var(--s5)}.portfolio-equity-history-area.s6,.portfolio-equity-history-line.s6,.portfolio-equity-performance-line.s6,.portfolio-performance-bar.s6,.portfolio-performance-end-label.s6{--equity-history-color:var(--s6)}.portfolio-equity-history-area.s7,.portfolio-equity-history-line.s7,.portfolio-equity-performance-line.s7,.portfolio-performance-bar.s7,.portfolio-performance-end-label.s7{--equity-history-color:var(--s7)}.portfolio-equity-history-area.s8,.portfolio-equity-history-line.s8,.portfolio-equity-performance-line.s8,.portfolio-performance-bar.s8,.portfolio-performance-end-label.s8{--equity-history-color:var(--s8)}.portfolio-equity-history-area.s9,.portfolio-equity-history-line.s9,.portfolio-equity-performance-line.s9,.portfolio-performance-bar.s9,.portfolio-performance-end-label.s9{--equity-history-color:var(--s9)}.portfolio-equity-history-area.s10,.portfolio-equity-history-line.s10,.portfolio-equity-performance-line.s10,.portfolio-performance-bar.s10,.portfolio-performance-end-label.s10{--equity-history-color:var(--s10)}.portfolio-equity-history-area.s11,.portfolio-equity-history-line.s11,.portfolio-equity-performance-line.s11,.portfolio-performance-bar.s11,.portfolio-performance-end-label.s11{--equity-history-color:var(--s11)}.portfolio-equity-history-area.s12,.portfolio-equity-history-line.s12,.portfolio-equity-performance-line.s12,.portfolio-performance-bar.s12,.portfolio-performance-end-label.s12{--equity-history-color:var(--s12)}.portfolio-equity-history-area.s13,.portfolio-equity-history-line.s13,.portfolio-equity-performance-line.s13,.portfolio-performance-bar.s13,.portfolio-performance-end-label.s13{--equity-history-color:var(--s13)}.portfolio-equity-history-area.s14,.portfolio-equity-history-line.s14,.portfolio-equity-performance-line.s14,.portfolio-performance-bar.s14,.portfolio-performance-end-label.s14{--equity-history-color:var(--s14)}.portfolio-equity-history-area.s15,.portfolio-equity-history-line.s15,.portfolio-equity-performance-line.s15,.portfolio-performance-bar.s15,.portfolio-performance-end-label.s15{--equity-history-color:var(--s15)}.portfolio-equity-history-area.remainder,.portfolio-equity-history-line.remainder{--equity-history-color:var(--muted)}.portfolio-performance-bar{fill:var(--equity-history-color);transition:opacity .25s ease}.portfolio-performance-bar.positive{fill:var(--good)}.portfolio-performance-bar.negative{fill:var(--critical)}.portfolio-performance-zero{stroke:color-mix(in srgb,var(--muted) 82%,transparent);stroke-width:2;vector-effect:non-scaling-stroke}.portfolio-performance-value{fill:var(--text-2);font:600 10px system-ui,-apple-system,"Segoe UI",sans-serif}.portfolio-performance-balance-line{fill:none;stroke:var(--text-1);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.performance-return-key{display:inline-flex;gap:2px;width:17px;align-items:end}.performance-return-key i{width:7px;height:10px;border-radius:2px 2px 0 0}.performance-return-key .positive{background:var(--good)}.performance-return-key .negative{height:7px;background:var(--critical)}.performance-balance-key{width:17px;border-top:2px solid var(--text-1)}.portfolio-performance-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:9px;font-variant-numeric:tabular-nums}.portfolio-performance-summary>div{display:grid;gap:2px;padding:8px 10px;border:1px solid var(--border);border-radius:3px;background:var(--plane)}.portfolio-performance-summary span{color:var(--text-2);font-size:15px}.portfolio-performance-summary strong{color:var(--text-1);font-size:17px}.portfolio-performance-summary strong.good{color:var(--good)}.portfolio-performance-summary strong.bad{color:var(--critical-text)}.portfolio-performance-summary>p{grid-column:1/-1;margin:0;padding:5px 10px;border:1px solid var(--border);border-radius:3px;background:var(--band);color:var(--muted);font-size:11px}.performance-tabs{display:inline-flex;gap:2px;margin-top:10px;padding:2px;border:1px solid var(--border);border-radius:3px;background:var(--band)}.performance-tabs button{min-height:27px;padding:3px 11px;border:0;border-radius:2px;background:0 0;color:var(--text-2);font:inherit;font-size:12px;cursor:pointer}.performance-tabs button[aria-selected=true]{background:var(--surface-1);color:var(--text-1);font-weight:700;box-shadow:0 1px 2px color-mix(in srgb,var(--text-1) 12%,transparent)}.performance-tabs button:focus-visible{outline:2px solid var(--s1);outline-offset:1px}.portfolio-performance-table{min-width:880px}.equity-history-table.portfolio-performance-table thead{position:static}.portfolio-performance-table thead button{min-height:24px}.chart-empty.history-empty{min-height:308px;display:grid;place-items:center;margin:0}.transaction-tools{gap:7px}.transaction-tools .cf{gap:4px}.transaction-tools select{min-width:108px;max-width:180px}.section-header-action{box-sizing:border-box;flex:none;min-height:26px;height:26px;padding:0 9px!important;font-size:12px!important;font-weight:400!important;text-transform:none!important}.section-header-action+.section-export,.section-header-action+.section-header-action{margin-left:-4px}.transaction-kind-filter{position:relative;display:inline-flex;align-items:center;gap:4px}.transaction-kind-filter-button{position:relative;box-sizing:border-box;min-width:108px;min-height:26px;height:26px;padding:0 24px 0 9px!important;text-align:left;font-size:12px!important;font-weight:400!important;text-transform:none!important}.transaction-kind-filter-button::after{content:"";position:absolute;right:9px;width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg) translateY(-2px)}.cf-label{color:var(--text-2);font-size:12px;font-weight:400;text-transform:none}.transaction-kind-filter-menu{position:absolute;z-index:20;top:calc(100% + 5px);left:0;display:grid;min-width:190px;max-height:300px;overflow-y:auto;padding:6px;border:1px solid var(--border);border-radius:3px;background:var(--surface-1);box-shadow:0 7px 24px color-mix(in srgb,var(--text-1) 18%,transparent);color:var(--text-1);text-transform:none}.transaction-kind-filter-menu[hidden]{display:none}.transaction-kind-filter-menu label{display:flex;align-items:center;gap:7px;min-height:30px;padding:3px 7px;border-radius:3px;font-size:12px;font-weight:400;cursor:pointer;white-space:nowrap}.transaction-kind-filter-menu label:hover{background:var(--hover)}.transaction-kind-filter-menu input{margin:0;accent-color:var(--s1)}.transaction-kind-filter-menu>span{display:contents}.transaction-kind-filter-menu label[hidden]{display:none}.transaction-kind-filter-menu .dot{width:8px;height:8px}.transaction-kind-filter-menu>.filter-search{position:sticky;z-index:1;top:-6px;display:flex;align-items:center;gap:7px;margin:-6px -6px 5px;padding:8px 9px;border-bottom:1px solid var(--border);background:var(--surface-1)}.transaction-kind-filter-menu>.filter-search:focus-within{outline:2px solid var(--s1);outline-offset:-2px}.filter-search .action-icon{width:13px;height:13px;color:var(--muted)}.filter-search input{min-width:0;width:100%;padding:0;border:0;border-radius:0;background:0 0;color:var(--text-1);font:inherit;font-size:12px}.filter-search input:focus{outline:0}.transaction-kind-filter-menu>.filter-empty{display:block;padding:5px 7px;color:var(--muted);font-size:12px}.transaction-kind-filter-menu>.filter-empty[hidden]{display:none}.equity-history-tools{flex-wrap:wrap}.equity-history-filter .transaction-kind-filter-menu{min-width:150px}#equityHistoryTopControl[hidden]{display:none}.transaction-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px;margin-bottom:10px;padding:10px;border:1px solid var(--border);border-radius:3px;background:var(--band)}.transaction-form[hidden]{display:none}.transaction-form .transaction-description{grid-column:span 2}.transaction-form-error{grid-column:1/-1;min-height:17px;margin:0;color:var(--critical-text);font-size:12px}.transaction-form-actions{grid-column:1/-1}.transaction-import-dialog{width:min(960px,100%)}.transaction-import-body fieldset{margin-bottom:12px}.transaction-import-issues ul{max-height:150px;margin:7px 0 0;overflow:auto}.transaction-import-kinds #transactionImportKindChoices{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:6px 12px}.transaction-import-kinds label{display:flex;align-items:center;gap:7px;font-size:12.5px}.transaction-import-kinds input{margin:0;accent-color:var(--s1)}.transaction-import-preview .tablewrap{overflow:auto}.transaction-import-preview-table{width:100%;min-width:720px}.transaction-import-preview-table td,.transaction-import-preview-table th{padding:5px 7px}.transaction-import-preview-table td:nth-child(4){max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-import-account{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:7px 0;border-bottom:1px solid var(--grid)}.transaction-import-positions{display:grid;gap:6px;width:100%}.transaction-import-position{display:grid;grid-template-columns:minmax(54px,auto) minmax(150px,1fr) minmax(150px,1fr);align-items:end;gap:8px}.transaction-import-position label{display:grid;gap:3px;color:var(--muted);font-size:11px}.transaction-import-account>.history-check{display:inline-flex;align-items:center;gap:5px;margin:0 12px 6px 0}.transaction-table{min-width:1100px;width:100%}.transaction-table td,.transaction-table th{padding:6px 7px;white-space:nowrap}.transaction-description-cell{width:32%;max-width:360px}.transaction-description-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-tablewrap{overflow-y:auto}.holding-transaction-panel .transaction-table thead,.transaction-tablewrap .transaction-table thead{position:sticky;z-index:1;top:0;background:var(--surface-1)}.holding-transaction-panel .tablewrap{overflow-y:auto}.holding-transaction-panel .transaction-table td,.holding-transaction-panel .transaction-table th{padding-top:4px;padding-bottom:4px}.transaction-table .transaction-type{color:var(--portfolio-event,var(--text-2));font-weight:650}.transaction-table .transaction-positive{color:var(--good)}.transaction-table .transaction-negative{color:var(--critical-text)}.transaction-row-actions{display:inline-flex;gap:4px}.transaction-row-actions button{min-width:25px;min-height:25px;padding:2px 6px;border:1px solid var(--border);border-radius:3px;background:var(--surface-1);color:var(--text-2);cursor:pointer}.transaction-row-actions button:focus-visible{outline:2px solid var(--s1);outline-offset:1px}.transaction-empty td{padding:18px 8px;text-align:center;color:var(--muted)}.equity-history-tablewrap{margin-top:10px;overflow:auto}.equity-history-table{width:100%;min-width:930px}.equity-history-table[data-equity-history-value-mode=price]{min-width:620px}.equity-history-table thead{position:sticky;z-index:1;top:0;background:var(--surface-1)}.equity-history-table td,.equity-history-table th{padding:5px 7px;white-space:nowrap}.equity-history-table.portfolio-performance-table th{padding-inline:12px}.equity-history-table td:nth-last-child(-n+5),.equity-history-table th:nth-last-child(-n+5){text-align:right}.equity-history-table td[data-column=period],.equity-history-table th[data-column=period]{text-align:left}.equity-history-table .holding-symbol{display:inline-flex;align-items:center;gap:6px}.equity-history-table .holding-symbol .dot{width:8px;height:8px;border-radius:50%}.equity-history-name{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#tip .history-selection-delta.good,#tip .tip-percent.good,.equity-history-table .good{color:var(--good);font-weight:650}#tip .history-selection-delta.bad,#tip .tip-percent.bad,.equity-history-table .bad{color:var(--critical-text);font-weight:650}#tip .history-account-row .k,#tip .history-account-row .v{color:var(--text-1);font-weight:700}#tip .history-cash-row .k,#tip .history-event-row .k{justify-content:flex-start;text-align:left}#tip .history-cash-row .transaction-positive{color:var(--good);font-weight:650}#tip .history-cash-row .transaction-negative{color:var(--critical-text);font-weight:650}#tip .history-account-row .v,#tip .history-selection-equity .v{display:flex;flex-direction:column;align-items:flex-start;white-space:nowrap}#tip .history-selection-delta{font-size:11px;font-weight:600}@media (max-width:760px){.transaction-form{grid-template-columns:1fr 1fr}.transaction-form .transaction-description{grid-column:1/-1}.transaction-import-account{align-items:stretch;flex-direction:column}.transaction-import-kinds #transactionImportKindChoices{grid-template-columns:repeat(2,minmax(120px,1fr))}.portfolio-history-chart,.portfolio-history-chart:empty::before{min-height:260px}.portfolio-history-svg{height:260px}.holding-transaction-panel{width:min(100%,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:8px 8px 10px}.holding-detail-toolbar{align-items:flex-start}.holding-overview-tools{flex:1 1 100%;justify-content:flex-start;margin-left:0}.holding-overview-chart{min-height:260px}.holding-overview-chart .portfolio-history-svg{height:260px}}@media (max-width:480px){.portfolio-performance-summary{grid-template-columns:1fr}.portfolio-performance-summary>p{grid-column:auto}.transaction-form{grid-template-columns:1fr}.transaction-form .transaction-description{grid-column:auto}.transaction-import-position{grid-template-columns:1fr}.transaction-import-kinds #transactionImportKindChoices{grid-template-columns:1fr}.holding-profile-grid{grid-template-columns:minmax(0,1fr);gap:4px 12px}}@media (prefers-reduced-motion:reduce){.holding-disclosure::before{transition:none}}#allocationTable{width:min(100%,720px);min-width:500px}#allocationTable td:nth-child(3),#allocationTable th:nth-child(3){padding-right:3px}#allocationTable td:nth-child(4),#allocationTable th:nth-child(4){padding-left:3px}#allocationTable thead button{padding:0;border:0;background:0 0;color:inherit;font:inherit;cursor:pointer;white-space:nowrap}#allocationTable thead button::after{content:"";display:inline-block;width:10px;margin-left:3px;color:var(--text-1);font-size:10px;line-height:1}#allocationTable thead th[aria-sort=ascending] button::after{content:"\25B2"}#allocationTable thead th[aria-sort=descending] button::after{content:"\25BC"}#allocationTable thead button:focus-visible{outline:2px solid var(--s1);outline-offset:2px;border-radius:3px}#allocationTable tbody th{border-bottom:1px solid var(--grid)}#typeSummaryTable{width:min(100%,850px);min-width:650px}#typeSummaryTable td,#typeSummaryTable th{padding-inline:4px}#typeSummaryTable td:last-child .cellsub{margin-left:auto;text-align:right}#allocationTable tfoot tr+tr td,#typeSummaryTable tfoot tr+tr td{border-top:1px solid var(--grid)}#allocationTable tfoot td,#typeSummaryTable tfoot td{font-weight:600}#allocationTable .summary-note,#typeSummaryTable .summary-note{display:block;color:var(--muted);font-size:10.5px;font-weight:400}.concentration-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0 10px}.concentration-summary:empty{display:none}.concentration-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;align-items:baseline;min-width:0;padding:8px 10px;border:1px solid var(--border);border-radius:3px;background:var(--plane);font-variant-numeric:tabular-nums}.concentration-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-2);font-size:15px}.concentration-label .summary-note{margin-left:4px;color:var(--muted);font-size:11px}.concentration-percent{color:var(--text-1);font-size:16px}.concentration-value{grid-column:1/-1;color:var(--muted);font-size:14px}.treemap{position:relative;min-height:clamp(260px,34vw,360px);overflow:hidden;border:1px solid var(--border);border-radius:3px;background:var(--band)}.treemap-tile{--treemap-color:var(--context);position:absolute;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;min-width:0;min-height:0;overflow:hidden;padding:clamp(4px,1.1cqi,10px);border:2px solid var(--surface-1);background:color-mix(in srgb,var(--treemap-color) 20%,var(--surface-1));box-shadow:inset 0 3px 0 var(--treemap-color);color:var(--text-1);container-type:size;cursor:help}.treemap-tile:hover,.treemap-tile[data-touch-hover]{background:color-mix(in srgb,var(--treemap-color) 27%,var(--surface-1))}.treemap-tile:focus-visible{z-index:1;outline:2px solid var(--text-1);outline-offset:-3px}.treemap-tile.s1{--treemap-color:var(--s1)}.treemap-tile.s2{--treemap-color:var(--s2)}.treemap-tile.s3{--treemap-color:var(--s3)}.treemap-tile.s4{--treemap-color:var(--s4)}.treemap-tile.s5{--treemap-color:var(--s5)}.treemap-tile.s6{--treemap-color:var(--s6)}.treemap-tile.s7{--treemap-color:var(--s7)}.treemap-tile.s8{--treemap-color:var(--s8)}.treemap-tile.s9{--treemap-color:var(--s9)}.treemap-tile.s10{--treemap-color:var(--s10)}.treemap-tile.s11{--treemap-color:var(--s11)}.treemap-tile.s12{--treemap-color:var(--s12)}.treemap-tile.s13{--treemap-color:var(--s13)}.treemap-tile.s14{--treemap-color:var(--s14)}.treemap-tile.s15{--treemap-color:var(--s15)}.treemap-tile.remainder{--treemap-color:var(--context);background:repeating-linear-gradient(135deg,var(--band) 0 6px,var(--plane) 6px 12px)}.treemap-name,.treemap-primary,.treemap-secondary{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treemap-primary{font-size:clamp(11px, 2.4cqi, 16px);font-weight:700}.treemap-name{margin-top:2px;color:var(--text-2);font-size:clamp(9px, 1.8cqi, 12px)}.treemap-secondary{margin-top:3px;color:var(--text-2);font-size:var(--chart-data-label-size);font-variant-numeric:tabular-nums}.value-treemap-view{display:none}#valueChart.treemapmode .value-column-view{display:none}#valueChart.treemapmode .value-treemap-view{display:block}.value-treemap-grid{display:grid;gap:10px}.value-treemap-grid.multiple{grid-template-columns:repeat(2,minmax(0,1fr))}.value-treemap-panel{min-width:0}.value-treemap-panel h3{margin:0 0 5px;color:var(--text-2);font-size:12px}.value-treemap-grid.multiple .treemap{min-height:250px}@container (max-width:110px){.treemap-name{display:none}}@container (max-width:78px){.treemap-secondary{display:none}}@container (max-height:54px){.treemap-name{display:none}}@container (max-height:38px){.treemap-secondary{display:none}}@media (max-width:760px){.demo-notice{align-items:flex-start;flex-direction:column}.concentration-summary{grid-template-columns:minmax(0,1fr)}.value-treemap-grid.multiple{grid-template-columns:minmax(0,1fr)}}@media (max-width:420px){.heading-search{grid-template-columns:auto auto auto;flex:1 1 100%;width:100%}.heading-search input{grid-column:1/-1}.broker-import-backdrop{padding:0;place-items:stretch}.broker-import-dialog{width:100%;max-height:100vh;border-radius:0}.broker-import-actions,.broker-import-body,.broker-import-head{padding-inline:14px}.broker-import-equity-row{grid-template-columns:78px minmax(0,1fr)}.broker-import-equity-row select{grid-column:1/-1}}