/* Private lists and portfolios share the Terminal's quiet monochrome system. */
html:root body.terminal-v2-page .ap-launcher{position:fixed;left:14px;bottom:18px;width:56px;min-height:58px;z-index:145;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#f6f5f0!important;border:1px solid #d7d5ca!important;border-radius:10px;color:#393c36!important;box-shadow:0 4px 16px #00000005;font-size:10px;cursor:pointer}
.ap-launcher .ap-star{font-size:23px;line-height:1}
html:root body.terminal-v2-page .terminal-workspace-tabs{padding-bottom:18px}
html:root body.terminal-v2-page :is(.atlas-personal,.atlas-personal-form){color:#292d29!important;background:#fff!important;border:1px solid #deddd6!important;box-shadow:0 28px 100px #0002;border-radius:14px;padding:0;font-family:'Space Grotesk','Noto Sans SC',system-ui,sans-serif;overflow:hidden}
html:root body.terminal-v2-page .atlas-personal{position:fixed;width:min(1180px,calc(100vw - 48px));max-width:none;height:min(820px,calc(100dvh - 88px));max-height:none;margin:auto;inset:0}
.atlas-personal::backdrop,.atlas-personal-form::backdrop{background:#17191538;backdrop-filter:blur(3px)}
html:root body.terminal-v2-page .atlas-personal-form{width:min(570px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 60px);overflow:auto}
html:root body.terminal-v2-page :is(.atlas-personal,.atlas-personal-form) :is(h2,h3,p){margin:0;color:inherit!important}
html:root body.terminal-v2-page :is(.atlas-personal,.atlas-personal-form) :is(button,input,select){font-family:inherit;box-sizing:border-box}
.ap-top{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #e7e6df;box-sizing:border-box}
.ap-top h2{font-size:20px;font-weight:500;letter-spacing:-.04em}
.ap-eyebrow{display:block;color:#9a9487;font:9px 'IBM Plex Mono',monospace;letter-spacing:.17em;margin-bottom:7px}
html:root body.terminal-v2-page .ap-close{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;min-height:0;padding:0!important;background:transparent!important;border:1px solid #e6e4dd!important;border-radius:50%;font-size:23px;font-weight:300;line-height:1;color:#777568!important;cursor:pointer}
.ap-shell{height:calc(100% - 92px);display:grid;grid-template-columns:220px minmax(0,1fr)}
.ap-sidebar{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f7f7f3;border-right:1px solid #e8e7df;padding:23px 16px 18px;box-sizing:border-box}
.ap-tabs{display:flex;gap:0;padding:3px;background:#eeeee8;border-radius:7px;margin-bottom:24px}
html:root body.terminal-v2-page .ap-tabs button{padding:9px 2px!important;border:0!important;background:transparent!important;flex:1;font-size:11px;color:#969489!important;border-radius:4px;cursor:pointer}
html:root body.terminal-v2-page .ap-tabs button.is-selected{color:#32362f!important;background:#fff!important;box-shadow:0 2px 5px #00000005}
.ap-menu{min-height:0;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:4px;scrollbar-width:thin}
.ap-menu-label{font-size:9px;color:#a6a195;letter-spacing:.1em;margin:22px 10px 8px}
html:root body.terminal-v2-page .ap-menu-item{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;min-height:39px;flex-shrink:0;padding:10px 11px!important;border:0!important;border-radius:6px;background:transparent!important;color:#777a6f!important;font-size:11px;cursor:pointer}
.ap-menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ap-menu-item>small{font:9px 'IBM Plex Mono',monospace;color:#a29f92}
html:root body.terminal-v2-page .ap-menu-item.is-selected{background:#e9e9e0!important;color:#363b30!important}
html:root body.terminal-v2-page .ap-menu-add{background:transparent!important;border:1px dashed #d5d4c8!important;padding:10px!important;margin:15px 0 4px;border-radius:6px;color:#8b8778!important;font-size:10px;text-align:left;cursor:pointer}
.ap-sidebar-footer{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:19px 9px 0;border-top:1px solid #e5e4d9;margin-top:18px;color:#aaa597;font-size:9px}
.ap-main{padding:30px 28px 20px;overflow-y:auto;min-width:0;scrollbar-width:thin}
.ap-content-heading{display:flex;gap:18px;justify-content:space-between;align-items:flex-start;margin-bottom:26px}
.ap-content-heading h2{font-size:27px;font-weight:500;letter-spacing:-.05em;overflow-wrap:anywhere}
html:root body.terminal-v2-page .ap-description{font-size:11px;line-height:1.75;color:#929184!important;margin-top:10px}
.ap-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;padding-top:22px;flex-shrink:0;max-width:48%}
html:root body.terminal-v2-page .ap-button{border:1px solid #d9d7cc!important;background:#f8f7f2!important;color:#53564b!important;padding:9px 12px!important;border-radius:6px;font-size:10px;line-height:1.4;white-space:nowrap;cursor:pointer;min-height:34px}
html:root body.terminal-v2-page .ap-button:hover{border-color:#a59c85!important;background:#f1efe5!important}
html:root body.terminal-v2-page :is(.atlas-personal,.atlas-personal-form) button:disabled{opacity:.45;cursor:default}
html:root body.terminal-v2-page .ap-text-button{padding:3px 0!important;border:0!important;background:transparent!important;color:#8d8876!important;font-size:10px;line-height:1.4;white-space:nowrap;text-decoration:none;cursor:pointer;min-height:20px}
html:root body.terminal-v2-page .ap-text-button:hover{color:#35392e!important}
.ap-filterbar{display:flex;gap:9px;margin-bottom:13px}
html:root body.terminal-v2-page :is(.ap-input,.ap-select){min-width:0;background:#fff!important;color:#56584e!important;border:1px solid #e4e2d8!important;border-radius:6px;padding:10px 11px!important;font-size:11px;outline-offset:2px;line-height:1.4;height:37px}
.ap-filterbar .ap-input{flex:1;width:150px}
.ap-filterbar .ap-select{max-width:150px}
.ap-table-scroll{overflow-x:auto;scrollbar-width:thin}
.ap-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:10px}
.ap-table th{font-weight:400;color:#a6a191;font-size:9px;padding:12px 9px;border-bottom:1px solid #dfded4}
.ap-table td{padding:15px 9px;border-bottom:1px solid #efeee8;height:37px}
.ap-table th:first-child,.ap-table td:first-child{padding-left:0}
.ap-table th:last-child,.ap-table td:last-child{padding-right:0}
html:root body.terminal-v2-page .ap-instrument{text-decoration:none!important;color:#4d5347!important;display:flex;flex-direction:column;gap:6px;max-width:190px}
.ap-instrument strong{font-size:11px;font-weight:500!important;overflow:hidden;text-overflow:ellipsis}
.ap-instrument small{color:#a5a191;font:9px 'IBM Plex Mono',monospace}
.ap-type>span{display:block;font-size:10px;color:#898c80}
.ap-type>small{display:block;color:#b0ad9e;font-size:9px;margin-top:5px}
.ap-number{font-family:'IBM Plex Mono',monospace;font-size:10px;color:#777b6b;text-align:right}
html:root body.terminal-v2-page .ap-up{color:#537561!important}
html:root body.terminal-v2-page .ap-down{color:#9c5c52!important}
.ap-row-actions{display:flex;justify-content:flex-end;gap:11px;align-items:center}
html:root body.terminal-v2-page .ap-holding-input{width:78px;height:32px;padding:6px 8px!important;font:10px 'IBM Plex Mono',monospace;text-align:right}
.ap-pager{display:flex;align-items:center;justify-content:flex-end;gap:13px;padding-top:17px;color:#aaa593;font:9px 'IBM Plex Mono',monospace}
.ap-empty{text-align:center;padding:65px 20px;display:flex;flex-direction:column;align-items:center;gap:10px}
.ap-empty-star{font-size:44px;color:#c3bfae;line-height:1;margin-bottom:10px}
.ap-empty h3{font-size:20px;font-weight:400}
.ap-empty .ap-description{max-width:340px;margin-top:0!important}
.ap-empty .ap-button{margin-top:15px}
.ap-form-head{padding:22px 24px 18px;border-bottom:1px solid #eeeae1;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ap-form-head h3{font-weight:500;font-size:19px;letter-spacing:-.03em}
.ap-form-body{padding:24px;display:flex;flex-direction:column;gap:14px}
.ap-form{display:flex;flex-direction:column;gap:18px}
.ap-field{display:flex;flex-direction:column;gap:9px;font-size:11px;color:#99907a}
.ap-field .ap-input,.ap-field .ap-select{width:100%}
.ap-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}
.ap-checkbox{display:flex;align-items:center;gap:12px;font-size:12px;color:#777c6b;padding:8px 0}
html:root body.terminal-v2-page .ap-checkbox input{width:16px;height:16px;accent-color:#838472;padding:0!important}
.ap-search-controls{display:flex;gap:9px}
.ap-search-controls .ap-input{flex:1}
.ap-search-controls .ap-select{max-width:125px}
.ap-search-list{max-height:400px;overflow-y:auto;scrollbar-width:thin}
.ap-search-result{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #efede5}
.ap-search-result>div{min-width:0;display:flex;flex-direction:column;gap:6px}
.ap-search-result strong{font-weight:400;font-size:12px;overflow-wrap:anywhere}
.ap-search-result small{font-size:9px;color:#a29a88}
.ap-portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html:root body.terminal-v2-page .ap-portfolio-card{position:relative;padding:25px!important;border:1px solid #e1dfd3!important;border-radius:9px;background:linear-gradient(145deg,#f7f7f1,#fff)!important;min-height:210px;display:flex;flex-direction:column;text-align:left;align-items:flex-start;gap:10px;cursor:pointer;color:#5c6553!important}
.ap-portfolio-card h3{font-size:20px;font-weight:400;overflow-wrap:anywhere}
.ap-portfolio-card p{font-size:10px;color:#999884!important}
.ap-portfolio-card strong{font:32px 'IBM Plex Mono',monospace!important;font-weight:300!important;margin-top:18px;color:#65705b!important}
.ap-portfolio-card>small:last-of-type{font-size:9px;color:#aaa38e}
.ap-card-arrow{position:absolute;right:24px;bottom:28px;font-size:21px;color:#a4a18c}
.ap-allocation{display:flex;align-items:center;gap:22px;padding:21px 25px;background:#f7f7f2;border:1px solid #eae8de;border-radius:8px;margin-bottom:19px;flex-wrap:wrap}
.ap-ring{width:66px;height:66px;flex:0 0 66px;position:relative;border-radius:50%}
.ap-ring:after{content:'';position:absolute;inset:9px;border-radius:50%;background:#f7f7f2}
.ap-allocation-metrics{display:flex;gap:38px;flex:1}
.ap-allocation-metrics>div{display:flex;flex-direction:column;gap:9px}
.ap-allocation-metrics small{font-size:9px;color:#a29b86}
html:root body.terminal-v2-page .ap-allocation-metrics b{font:24px 'IBM Plex Mono',monospace!important;font-weight:400!important;color:#737a66!important}
html:root body.terminal-v2-page .ap-allocation-note{font-size:9px;color:#99907a!important;max-width:160px;line-height:1.7}
.ap-holdings-hint{margin-bottom:18px!important}
.ap-security-actions{display:flex;gap:8px;margin-top:17px}
html:root body.terminal-v2-page .ap-security-actions .ap-button{font-size:10px}
.ap-toast{position:fixed;left:50%;bottom:30px;top:auto;right:auto;margin:0;transform:translateX(-50%);z-index:2147483600;padding:12px 22px;background:#35372e;color:#f4f2e7;border:1px solid #595a4e;border-radius:8px;box-shadow:0 6px 24px #0002;font-size:11px;max-width:calc(100vw - 48px);pointer-events:none}
.ap-toast[hidden]{display:none}
@media(min-width:601px){html:root body.terminal-v2-page .terminal-workspace-tabs{bottom:85px}}
@media(max-width:850px){.ap-shell{grid-template-columns:180px minmax(0,1fr)}.ap-sidebar{padding:18px 10px}.ap-main{padding:24px 18px}.ap-content-heading{display:block}.ap-actions{padding-top:14px;justify-content:flex-start;max-width:none}.ap-content-heading h2{font-size:25px}.ap-allocation{padding:18px;gap:15px}.ap-allocation-metrics{gap:20px}.ap-allocation-metrics b{font-size:20px}.ap-portfolio-grid{grid-template-columns:1fr}.ap-filterbar{flex-wrap:wrap}.ap-filterbar .ap-input{flex-basis:100%}}
@media(max-width:600px){html:root body.terminal-v2-page .ap-launcher{left:14px;bottom:calc(15px + env(safe-area-inset-bottom));min-height:42px;width:auto;padding:8px 15px!important;flex-direction:row;gap:8px;box-shadow:0 5px 22px #0001}.ap-launcher .ap-star{font-size:20px}html:root body.terminal-v2-page .terminal-workspace-tabs{padding-bottom:4px}html:root body.terminal-v2-page .atlas-personal{width:calc(100vw - 16px);height:calc(100dvh - 30px);border-radius:11px}.ap-top{height:76px;padding:0 18px}.ap-top h2{font-size:17px}.ap-shell{height:calc(100% - 76px);display:flex;flex-direction:column}.ap-sidebar{padding:12px 14px 9px;border-right:0;border-bottom:1px solid #e8e7df;flex:0 0 auto}.ap-tabs{margin-bottom:10px;max-width:245px}.ap-menu{flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:5px;align-items:center}.ap-menu-label{display:none}.ap-menu-item{min-width:max-content}.ap-menu-add{margin:0!important;min-width:max-content;height:37px}.ap-sidebar-footer{padding:7px 0 0;border:0;margin:0;flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap;font-size:8px}.ap-sidebar-footer .ap-text-button{font-size:8px}.ap-main{padding:21px 15px;flex:1;min-height:0}.ap-content-heading{margin-bottom:19px}.ap-content-heading h2{font-size:25px}.ap-allocation{gap:12px;padding:16px}.ap-ring{width:48px;height:48px;flex-basis:48px}.ap-ring:after{inset:7px}.ap-allocation-metrics{gap:18px}.ap-allocation-metrics small{font-size:8px}html:root body.terminal-v2-page .ap-allocation-metrics b{font-size:18px!important}.ap-allocation-note{max-width:none}.ap-form-head{padding:18px}.ap-form-body{padding:18px}.ap-form-head h3{font-size:17px}.ap-search-controls{flex-wrap:wrap}.ap-search-controls .ap-input{flex-basis:100%}.ap-search-controls .ap-select{max-width:none;flex:1}.ap-toast{bottom:75px}.ap-empty{padding:35px 10px}.ap-security-actions{flex-wrap:wrap}.ap-table{min-width:580px}}
@media(prefers-reduced-motion:reduce){.atlas-personal::backdrop,.atlas-personal-form::backdrop{backdrop-filter:none}}

html:root body.terminal-v2-page .atlas-personal .ap-top{background:#fff!important;color:#292d29!important;position:static!important}
html:root body.terminal-v2-page .atlas-personal-form .ap-form-head{background:#fff!important;color:#292d29!important}

@media(max-width:600px){.ap-table th:first-child,.ap-table td:first-child{position:sticky;left:0;background:#fff;z-index:1;padding-right:12px;box-shadow:6px 0 8px -8px #0003}}
