.bank-investment-module{min-width:0;max-width:100%}#portal-main:has(.investment-list-page.bank-investment-module,.investment-detail-page){padding-block-start:0}:is(.investment-list-page.bank-investment-module,.investment-detail-page){padding-block-start:.75rem}@media (width>=640px){:is(.investment-list-page.bank-investment-module,.investment-detail-page){padding-block-start:1rem}}@media (width>=768px){:is(.investment-list-page.bank-investment-module,.investment-detail-page){padding-block-start:1.5rem}}.bank-investment-module .finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem;display:grid}.bank-investment-module .finance-metrics .summary-card{border-radius:.875rem}.bank-investment-module .finance-metrics .summary-card [data-slot=card-content]{padding:.875rem;display:block}.bank-investment-module .finance-metrics .summary-card [data-slot=card-content]>:last-child{display:none}.bank-investment-module .finance-metrics .summary-card [data-slot=card-content]>div>:first-child{min-height:0;padding:0;font-size:.875rem;line-height:1.45}.bank-investment-module .finance-metrics .summary-card .money{letter-spacing:-.02em;margin-top:.375rem;font-size:clamp(1rem,3.5vw,1.5rem);font-weight:600;line-height:1.35}.bank-investment-module .finance-metrics .summary-card p:last-child{margin-top:.375rem;font-size:.75rem;line-height:1.45}.bank-list-page .finance-metrics{padding-block-start:.75rem}.bank-list-page .finance-metrics>.summary-card{border-color:color-mix(in oklab,var(--finance-metric-accent,var(--primary)) 32%,var(--border))}.bank-list-page .finance-metrics>.summary-card:first-child{--finance-metric-accent:var(--chart-1)}.bank-list-page .finance-metrics>.summary-card:nth-child(2){--finance-metric-accent:var(--chart-3)}.bank-list-page .finance-metrics>.summary-card:nth-child(3){--finance-metric-accent:var(--chart-2)}.bank-list-page .finance-metrics>.summary-card:nth-child(4){--finance-metric-accent:var(--chart-5)}.bank-investment-module .finance-table-card,.bank-module-page .bank-transactions-panel{min-width:0;box-shadow:none;border-radius:.875rem;gap:0;padding:0;overflow:clip}.bank-investment-module .finance-table-card>[data-slot=card-content],.bank-module-page .bank-transactions-panel>[data-slot=card-content]{min-width:0;padding:0}.bank-investment-module .finance-table-card>[data-slot=card-header]{gap:.375rem;padding:1rem 1rem .25rem}.bank-investment-module .finance-table-card [data-slot=card-title]{font-size:1rem;line-height:1.5}.bank-investment-module .finance-table-card [data-slot=card-description]{font-size:.875rem}.bank-investment-module .finance-module-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;padding:1rem 1rem 0;display:flex}.bank-investment-module .finance-module-actions button{white-space:normal;max-width:100%;height:auto;min-height:44px}.bank-investment-module .finance-module-actions+p{margin:0;padding:.75rem 1rem 0;font-size:.875rem}.bank-investment-module .finance-accounting-note{border:1px solid var(--border);background:var(--card);border-radius:.875rem}.bank-investment-module .finance-accounting-note summary{cursor:pointer;padding:.875rem 1rem;font-size:.875rem;font-weight:500}.finance-record-list,.finance-local-table{min-width:0;max-width:100%}.finance-record-toolbar{border:0;border-bottom:1px solid var(--border);background:var(--card);min-width:0;padding:0}.finance-record-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.finance-record-heading h2{margin:0;margin-inline-end:auto;font-size:1rem;font-weight:600;line-height:1.5}.finance-record-heading>[data-slot=button]{min-width:44px;min-height:44px}.bank-investment-module .finance-table-card>.finance-history-content{padding:1rem}.finance-record-count{color:var(--muted-foreground);font-variant-numeric:tabular-nums;align-items:center;gap:.375rem;font-size:.875rem;display:flex}.finance-record-tools{flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0;display:flex}.finance-record-search{flex:18rem;align-items:center;min-width:0;display:flex;position:relative}.finance-record-search>svg{color:var(--muted-foreground);pointer-events:none;position:absolute;left:.75rem}.finance-record-search input{width:100%;min-width:0;min-height:44px;box-shadow:none;border-radius:.625rem;padding-inline-start:2.25rem;font-size:1rem}.finance-record-buttons{flex-wrap:wrap;align-items:center;gap:.375rem;min-width:0;display:flex}.finance-record-buttons [data-slot=button]{height:auto;min-height:44px;box-shadow:none;border-radius:.625rem;gap:.375rem;padding:.5rem .75rem;font-size:.875rem}.finance-record-buttons [data-size=icon]{width:44px;min-width:44px;padding:.5rem}.finance-record-active{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:.375rem;margin-top:.5rem;font-size:.875rem;display:flex}.finance-record-active [data-slot=button]{min-height:44px;color:var(--primary)}.finance-filter-dot{background:currentColor;border-radius:50%;width:.375rem;height:.375rem}.finance-filter-chips{flex-wrap:wrap;gap:.375rem;margin-top:.375rem;display:flex}.finance-filter-chips>span{background:var(--accent);color:var(--accent-foreground);overflow-wrap:anywhere;border-radius:.375rem;padding:.25rem .5rem;font-size:.875rem}.finance-record-list>.record-pagination{border-top:1px solid var(--border);background:var(--card);margin:0;padding:.75rem 1rem;font-size:.875rem}.finance-record-list>.record-pagination [data-slot=button]{min-height:44px;box-shadow:none}:is(.finance-record-list,.finance-local-table) .record-table-frame{border:0;border-radius:0;width:100%;max-width:100%;margin:0}:is(.finance-record-list,.finance-local-table) .record-table-mode th{font-size:.875rem;font-weight:500}:is(.finance-record-list,.finance-local-table) .record-table-mode td{font-size:.875rem}:is(.finance-record-list,.finance-local-table) .record-table-mode td.money{white-space:nowrap}.finance-record-list .record-card-mode{padding:.75rem}.finance-summary-row{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem;margin:0;padding:1rem;display:grid}.finance-summary-row:last-child{border-bottom:0}.finance-summary-row>div{min-width:0}.finance-summary-row dt{color:var(--muted-foreground);font-size:.75rem}.finance-summary-row dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:.25rem 0 0;font-size:.875rem}.finance-local-table .record-card-mode{padding:.5rem}.finance-local-table .record-card-mode td[colspan]{display:block}.finance-local-table .record-card-mode td.money>div{text-align:end}@media (width>=1024px){.bank-investment-module .finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=639px){.finance-record-search{flex-basis:100%}.finance-record-buttons{flex-wrap:wrap;width:100%}.finance-record-buttons [data-slot=button]:not([data-size=icon]){flex:auto;padding:.5rem}.finance-record-list>.record-pagination{padding:.5rem .75rem}.finance-record-list>.record-pagination [data-slot=button]{padding-inline:.625rem}.bank-investment-module .finance-table-card>[data-slot=card-header]{padding:.875rem .75rem .125rem}.bank-investment-module .finance-module-actions{padding:.75rem .75rem 0}.finance-local-table .record-card-mode td{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:.5rem}}@media print{.finance-record-toolbar,.finance-module-actions{display:none!important}}.bank-investment-module .finance-table-card{overflow:visible}.investment-workspace .investment-table-card{min-width:0;box-shadow:none;border-radius:.875rem;gap:0;padding:0;overflow:visible}.investment-workspace .investment-table-card>[data-slot=card-content]{min-width:0;padding:0}.investment-record-table .finance-record-heading{grid-template-columns:minmax(0,1fr) auto auto;display:grid}.investment-record-table .finance-record-heading h2{overflow-wrap:anywhere}.investment-table-description{border-bottom:1px solid var(--border);color:var(--muted-foreground);overflow-wrap:anywhere;padding:.75rem 1rem;font-size:.875rem;line-height:1.6}@media (width<=479px){.investment-record-table .finance-record-heading{grid-template-columns:minmax(0,1fr) auto;row-gap:0}.investment-record-table .finance-record-heading h2{grid-area:1/1;margin:0}.investment-record-table .finance-record-heading .finance-record-count{grid-area:2/1;justify-content:flex-start;font-size:.75rem}.investment-record-table .finance-record-heading-actions{grid-area:1/2/span 2}.investment-table-description{padding:.75rem}}.finance-record-toolbar{z-index:20;min-inline-size:0;box-shadow:0 1px 0 var(--border);border-radius:.875rem .875rem 0 0;position:sticky;top:0}.finance-record-heading{background:var(--muted);color:var(--foreground);border-radius:.875rem .875rem 0 0;flex-wrap:nowrap;gap:.5rem;margin-bottom:0;padding:.625rem 1rem}.finance-record-toolbar[data-state=open] .finance-record-heading{border-bottom:1px solid var(--border)}.finance-record-heading h2{min-width:0;font-size:.9375rem}.finance-record-heading .finance-record-count{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end}.finance-record-heading-actions{flex-shrink:0;align-items:center;gap:.375rem;margin-inline-start:auto;display:flex}.finance-heading-create{border:0;min-inline-size:0;margin:0;padding:0;display:flex}.finance-heading-create [data-slot=button]{min-height:44px;box-shadow:none}.finance-tools-toggle{flex-shrink:0;width:44px;height:44px}.finance-tools-content{border:0;min-inline-size:0;margin:0;padding:.75rem 1rem 1rem}.finance-record-tools .finance-record-buttons{width:auto}.finance-record-buttons>button{position:relative}.finance-record-buttons .finance-filter-dot{position:absolute;top:.375rem;right:.375rem}.finance-record-active:empty{display:none}.finance-bank-avatar{background:color-mix(in oklab,var(--primary) 10%,var(--card));width:4rem;height:4rem;color:var(--primary);border-radius:1.125rem;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative}.finance-bank-avatar>img{border-radius:inherit;object-fit:cover;width:100%;height:100%}.finance-bank-avatar .finance-bank-photo-edit[data-slot=button][data-size=icon]{background:var(--card);border-radius:50%;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;position:absolute;bottom:-.125rem;right:-.125rem;box-shadow:0 1px 4px #0001}.finance-bank-avatar .finance-bank-photo-edit:after{content:"";border-radius:50%;position:absolute;inset:-7px}.finance-bank-avatar .finance-bank-photo-edit>svg{width:14px;height:14px}.finance-bank-card{flex-direction:column;gap:1rem;min-width:0;height:100%;display:flex}.finance-bank-card-top{justify-content:space-between;align-items:center;gap:1rem;padding-bottom:.25rem;display:flex}.finance-bank-active{background:color-mix(in oklab,#059669 12%,var(--card));color:var(--foreground)}.finance-bank-card-identity{min-height:1.5rem}.finance-bank-card-identity h3{overflow-wrap:anywhere;margin:0;font-size:1.125rem;font-weight:600;line-height:1.5}.finance-bank-card-identity p{color:var(--muted-foreground);overflow-wrap:anywhere;margin:.25rem 0 0;font-size:.875rem;line-height:1.5}.finance-bank-card-balance p{color:var(--muted-foreground);margin:0;font-size:.875rem}.finance-bank-card-balance strong{overflow-wrap:anywhere;margin-top:.25rem;font-size:1.5rem;font-weight:600;display:block}.finance-bank-card-metrics{background:var(--muted);border-radius:.75rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.875rem;margin:0;padding:.875rem;font-size:.875rem;display:grid}.finance-bank-card-metrics dt{color:var(--muted-foreground)}.finance-bank-card-metrics dd{overflow-wrap:anywhere;margin:.25rem 0 0;font-weight:500}.finance-bank-card-metrics>div:last-child{border-top:1px solid var(--border);grid-column:1/-1;justify-content:space-between;gap:.5rem;padding-top:.75rem;display:flex}.finance-bank-card-meta{min-height:1.25rem;color:var(--muted-foreground);font-size:.875rem}.finance-bank-card-actions,.finance-bank-detail-actions{flex-wrap:nowrap;gap:.5rem;display:flex}.finance-bank-card-actions{border-top:1px solid var(--border);margin-top:auto;padding-top:.75rem}.finance-bank-card-actions>button,.finance-bank-detail-actions>button{white-space:nowrap;flex:1 1 0;gap:.375rem;min-width:0;min-height:44px;padding:.5rem;font-size:.875rem}.finance-bank-detail{gap:0;padding:0}.finance-bank-detail>[data-slot=card-content]{gap:1rem;padding:1rem;display:grid}.finance-bank-detail-heading{align-items:flex-start;gap:.875rem;min-width:0;display:flex}.finance-bank-detail-identity{flex:1;min-width:0;padding-top:.125rem}.finance-bank-detail-identity h2{overflow-wrap:anywhere;margin:0 0 .25rem;font-size:1.125rem;font-weight:600;line-height:1.45}.finance-bank-detail-identity>div{color:var(--muted-foreground);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:.375rem;font-size:.875rem;line-height:1.5;display:flex}.finance-bank-refresh{flex-shrink:0;width:44px;height:44px;margin-top:-.25rem;margin-right:-.375rem}.finance-bank-detail-balances{grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem;display:grid}.finance-bank-detail-balances>div{border:1px solid var(--border);background:var(--muted);border-radius:.875rem;min-width:0;padding:.75rem}.finance-bank-detail-balances>div:last-child{background:color-mix(in oklab,var(--primary) 8%,var(--card))}.finance-bank-detail-balances p{color:var(--muted-foreground);margin:0 0 .25rem;font-size:.875rem;line-height:1.4}.finance-bank-detail-balances strong{overflow-wrap:anywhere;font-size:clamp(1.125rem,4vw,1.5rem);font-weight:600;line-height:1.4}.finance-bank-detail-actions:empty{display:none}@media (width<=639px){.finance-record-heading{padding:.625rem .75rem}.finance-tools-content{padding:.75rem}}@media (width<=639px) and (orientation:portrait){.finance-record-buttons .finance-tool-label,.finance-heading-create .finance-tool-label{display:none}.finance-heading-create [data-slot=button]{width:44px;min-width:44px;height:44px;padding:0}.finance-record-tools .finance-record-buttons{flex-wrap:nowrap;justify-content:flex-start;width:100%}.finance-record-buttons [data-slot=button]:not([data-size=icon]){flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0}.finance-record-buttons>button>span:not(.finance-tool-label):not(.finance-filter-dot){font-size:.75rem;position:absolute;top:0;right:0}.finance-bank-detail>[data-slot=card-content]{padding:.875rem}}@media (width<=359px){.finance-record-heading h2{font-size:.875rem}.finance-record-heading .finance-record-count{font-size:.75rem}.finance-bank-detail-heading{gap:.625rem}.finance-bank-detail-heading .finance-bank-avatar{width:3.25rem;height:3.25rem}}.finance-bank-summary .finance-bank-avatar{border-radius:.75rem;width:2.5rem;height:2.5rem}.finance-bank-summary .contact-name-cell,.finance-bank-summary th:first-child{min-width:13.5rem}.finance-bank-summary .contact-open{gap:.625rem}.bank-module-page .finance-record-heading{background:color-mix(in oklab,var(--card) 85%,var(--muted))}.bank-module-page :is(.finance-record-toolbar,.record-toolbar-grid){position:static;top:auto}.finance-heading-create button.finance-bank-add{border:1px solid var(--input);background:var(--action-background);width:auto;min-width:4.5rem;height:36px;min-height:36px;color:var(--primary);box-shadow:none;border-radius:.625rem;gap:.375rem;padding:.25rem .625rem}.finance-heading-create button.finance-bank-add:hover{background:var(--accent)}.finance-heading-create .finance-bank-add-label{font-size:.875rem;display:inline}.bank-transactions-panel .record-toolbar-grid>.mobile-list-search-toggle,.bank-transactions-panel .member-list-tool-icons>.record-header-search{display:none}.bank-transactions-panel .member-search-row[data-mobile-open]{display:flex}.bank-transactions-panel .contact-view-table :is(th,td)[data-type=text]:not(:first-child){white-space:normal;overflow-wrap:break-word;word-break:normal;min-width:8rem}@media (width<=379px){.bank-list-page .finance-record-heading{grid-template-columns:minmax(0,1fr) auto;row-gap:0;display:grid}.bank-list-page .finance-record-heading h2{grid-area:1/1;margin:0}.bank-list-page .finance-record-heading .finance-record-count{grid-area:2/1;justify-content:flex-start;font-size:.75rem}.bank-list-page .finance-record-heading-actions{grid-area:1/2/span 2}}.dashboard-bank-identity{align-items:center;gap:.625rem;min-width:0;display:flex}.dashboard-bank-identity>[aria-hidden=true]{flex-shrink:0;display:flex}.dashboard-bank-balance-row .finance-bank-avatar{border-radius:.75rem;width:2.5rem;height:2.5rem}.dashboard-bank-amount{overflow-wrap:anywhere;min-width:0;max-width:12rem}@media (width<=479px){.dashboard-bank-balance-row{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:.5rem;padding-inline:.75rem}.dashboard-bank-identity{gap:.5rem}.dashboard-bank-balance-row .finance-bank-avatar{border-radius:.625rem;width:2rem;height:2rem}.dashboard-bank-balance-row .finance-bank-avatar>svg{width:1.25rem;height:1.25rem}}.investment-workspace .finance-record-heading{background:color-mix(in oklab,var(--card) 85%,var(--muted))}.investment-workspace .finance-record-toolbar{isolation:isolate;top:0}.investment-workspace .finance-metrics>.summary-card{border-color:color-mix(in oklab,var(--finance-metric-accent,var(--primary)) 32%,var(--border))}.investment-workspace .finance-metrics>.summary-card:first-child{--finance-metric-accent:var(--chart-1)}.investment-workspace .finance-metrics>.summary-card:nth-child(2){--finance-metric-accent:var(--chart-3)}.investment-workspace .finance-metrics>.summary-card:nth-child(3){--finance-metric-accent:var(--chart-2)}.investment-workspace .finance-metrics>.summary-card:nth-child(4){--finance-metric-accent:var(--chart-5)}.investment-detail-header{border-radius:.875rem;gap:0;padding:0}.investment-view-icon{width:2.5rem;height:2.5rem;color:var(--primary);background:color-mix(in oklab,var(--primary) 10%,var(--card));border-radius:.75rem;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.investment-profile-icon{border-radius:1rem;width:3.5rem;height:3.5rem}.investment-workspace :is(.finance-record-list,.finance-local-table) .record-table-mode :is(th,td){word-break:normal;overflow-wrap:break-word}.investment-workspace .finance-record-list .contact-view-table :is(th,td)[data-type=text]:not(:first-child){word-break:normal;overflow-wrap:break-word;min-width:8rem}.investment-workspace .finance-record-list .contact-open{gap:.625rem}.investment-workspace .finance-record-list>label{padding:.5rem .875rem}.record-card-mode:has(.finance-investment-card-band){background:color-mix(in oklab,var(--muted) 45%,var(--card));padding:.875rem}.record-card-mode:has(.finance-investment-card-band) tbody{grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));align-items:start;gap:1rem}.record-card-mode:has(.finance-investment-card-band) tbody tr{box-shadow:0 3px 8px -5px color-mix(in oklab,var(--foreground) 35%,transparent);border-radius:.875rem;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;overflow:hidden}.record-card-mode:has(.finance-investment-card-band) td.record-value{flex-direction:column;grid-column:auto;align-items:stretch;gap:.25rem;padding:.75rem 1rem;display:flex}.record-card-mode:has(.finance-investment-card-band) td.record-value:before{font-size:.75rem;line-height:1.4}.record-card-mode:has(.finance-investment-card-band) td[data-field-key=name]{border-bottom:1px solid var(--border);grid-column:1/-1;font-size:1.0625rem;font-weight:600}.record-card-mode:has(.finance-investment-card-band) td[data-field-key=name]:before{display:none}.record-card-mode:has(.finance-investment-card-band) td.finance-investment-card-band{border-bottom:1px solid var(--border);background:color-mix(in oklab,var(--primary) 8%,var(--card));flex-direction:row;grid-column:1/-1;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .875rem;display:flex}.finance-investment-brand{min-width:0;color:var(--primary);align-items:center;gap:.5rem;font-size:.8125rem;font-weight:600;display:flex}.finance-investment-controls{flex-shrink:0;align-items:center;gap:.25rem;display:flex}.record-card-mode:has(.finance-investment-card-band) td.finance-investment-card-footer{border-top:1px solid var(--border);background:color-mix(in oklab,var(--muted) 30%,var(--card));flex-direction:row;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:.5rem;padding:.625rem .875rem;display:flex}.finance-investment-card-footer>button{min-height:40px;color:var(--primary);box-shadow:none;border-radius:.625rem}.investment-view-cards{background:color-mix(in oklab,var(--muted) 45%,var(--card));border-radius:0 0 .875rem .875rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:1rem;padding:.875rem;display:grid}.investment-view-card{border:1px solid var(--border);background:var(--card);min-width:0;box-shadow:0 3px 8px -5px color-mix(in oklab,var(--foreground) 35%,transparent);border-radius:.875rem;overflow:hidden}.investment-view-card>header{border-bottom:1px solid var(--border);background:color-mix(in oklab,var(--primary) 6%,var(--card));align-items:center;gap:.75rem;padding:.875rem;display:flex}.investment-view-card>header>div{min-width:0}.investment-view-card>header p{color:var(--muted-foreground);margin:0 0 .25rem;font-size:.75rem}.investment-view-name{overflow-wrap:anywhere;font-size:1rem;font-weight:600}.investment-view-name .text-xs{margin-top:.125rem;font-weight:400;display:block}.investment-view-card>dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0;padding:1rem;display:grid}.investment-view-card>dl>div{min-width:0}.investment-view-card dt,.investment-summary-fields dt{color:var(--muted-foreground);font-size:.75rem;line-height:1.4}.investment-view-card dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:start;margin:.25rem 0 0;font-size:.875rem}.investment-view-card>footer{border-top:1px solid var(--border);background:color-mix(in oklab,var(--muted) 30%,var(--card));justify-content:flex-end;padding:.625rem .875rem;display:flex}.investment-view-card>footer button{min-height:40px;box-shadow:none;color:var(--primary);border-radius:.625rem}.investment-summary-view{min-width:0;container-type:inline-size}.investment-summary-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;font-size:.875rem}.investment-summary-key-column{width:34%}.investment-summary-table :is(th,td){border-bottom:1px solid var(--border);text-align:start;vertical-align:top;word-break:normal;overflow-wrap:break-word;padding:.875rem .75rem}.investment-summary-table th{background:var(--secondary);color:var(--foreground);font-weight:600}.investment-summary-table tbody tr:nth-child(2n){background:color-mix(in oklab,var(--muted) 45%,var(--card))}.investment-summary-table tbody tr:last-child td{border-bottom:0}.investment-summary-identity>div:first-child{font-weight:600}.investment-summary-action{margin-top:.625rem}.investment-summary-action .text-right{text-align:start}.investment-summary-fields{gap:.75rem;margin:0;display:grid}.investment-summary-fields>div{grid-template-columns:minmax(0,1fr);gap:.25rem;min-width:0;display:grid}.investment-summary-fields dd{white-space:normal;overflow-wrap:break-word;text-align:start;min-width:0;max-width:100%;margin:0;font-size:.875rem}.investment-view-card dd{min-width:0;max-width:100%}@container (width>=42rem){.investment-summary-fields>div{grid-template-columns:minmax(7rem,1fr) minmax(0,2fr);align-items:baseline;gap:.75rem}}.investment-allocation-trigger{min-width:0;display:grid}.investment-allocation-item{overflow-wrap:break-word;min-width:0;font-size:.875rem;line-height:1.5}.investment-allocation-item p{margin:0}.investment-allocation-item .allocation-secondary{color:var(--muted-foreground)}.investment-allocation-trigger>button{white-space:nowrap;min-height:40px;color:var(--primary);font-variant-numeric:tabular-nums;justify-self:start}.investment-allocation-dialog{flex-direction:column;max-width:38rem;display:flex;overflow:hidden}.investment-allocation-dialog [data-slot=dialog-header]{text-align:start;padding-inline-end:1.5rem}.investment-allocation-dialog-body{flex-direction:column;flex:1;gap:.75rem;min-width:0;min-height:0;display:flex}.investment-allocation-list{overscroll-behavior:contain;border-block:1px solid var(--border);min-height:0;max-height:55dvh;overflow-y:auto}.investment-allocation-list .investment-allocation-item{border-bottom:1px solid var(--border);padding:.75rem .25rem}.investment-allocation-list .investment-allocation-item:last-child{border-bottom:0}.investment-allocation-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;font-size:.875rem;display:flex}.investment-allocation-pagination>div{gap:.5rem;display:flex}.investment-allocation-pagination button{min-height:40px}@media (width<=639px){:is(.record-card-mode:has(.finance-investment-card-band),.investment-view-cards){gap:.75rem;padding:.625rem}.record-card-mode:has(.finance-investment-card-band) td.record-value{padding:.625rem .75rem}.investment-view-card>dl{gap:.875rem;padding:.875rem}.investment-workspace .finance-record-list .finance-record-heading{grid-template-columns:minmax(0,1fr) auto;row-gap:0;display:grid}.investment-workspace .finance-record-list .finance-record-heading h2{grid-area:1/1;margin:0}.investment-workspace .finance-record-list .finance-record-count{grid-area:2/1;justify-content:flex-start;font-size:.75rem}.investment-workspace .finance-record-list .finance-record-heading-actions{grid-area:1/2/span 2}}@media print{.investment-view-cards{background:0 0;padding:0;display:block}.investment-view-card{break-inside:avoid;box-shadow:none;margin-bottom:1rem}.investment-view-card>footer,.investment-summary-action,.finance-investment-controls,.finance-investment-card-footer{display:none!important}.investment-summary-view{overflow:visible}.investment-summary-table{min-width:0}}
