.brand{padding:12px 20px!important;display:flex!important;align-items:center;min-height:82px}.brand img{display:block;width:158px;max-height:62px;object-fit:contain}.topbar .brand{min-height:64px}.topbar .brand img{width:127px;max-height:49px}.screen-content{min-height:340px}.live-error{color:#bd293a;font-size:13px}.live-success{color:#087c5a;font-size:13px}.live-switch{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.live-switch input{width:18px;height:18px;accent-color:#256fe8}.live-list-row{padding:15px 0;border-bottom:1px solid #dee8f4;display:flex;justify-content:space-between;gap:15px;align-items:center}.live-list-row strong,.live-list-row small{display:block}.live-list-row small{color:#647791}.live-list-row .actions{margin:0}.live-member-row{display:block;width:100%;background:#fff;color:#122d55;border:0;border-bottom:1px solid #dee8f4;text-align:left;padding:15px;cursor:pointer}.live-member-row:hover{background:#eaf3ff}.live-inline{display:flex;gap:8px;align-items:center;margin:14px 0}.live-inline input,.live-inline select{min-width:0;flex:1}.live-check{display:flex;gap:8px;align-items:center}.live-check input{width:17px;height:17px}.screen-content .state-empty{margin:20px 0}.screen-content form .btn.block{width:100%}@media(max-width:750px){.live-list-row{align-items:flex-start;flex-direction:column}.live-inline{flex-wrap:wrap}}

.admin-shortcuts{display:grid;gap:10px}.admin-shortcuts .btn{justify-content:center}.screen-content>.panel{margin-top:20px}
.admin-nav-group{margin:6px 8px;color:#526783}.admin-nav-group summary{cursor:pointer;padding:12px 16px;font-weight:700;list-style:none}.admin-nav-group summary::-webkit-details-marker{display:none}.admin-nav-group summary:before{content:'▸';display:inline-block;width:22px;color:#2869c7}.admin-nav-group[open] summary:before{content:'▾'}.admin-nav-group a{display:block;padding:10px 16px 10px 38px;border-radius:10px;color:inherit;text-decoration:none}.admin-nav-group a:hover,.admin-nav-group a.active{background:#eaf3ff;color:#1667d3}

.sensitivity-pagination{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;padding:18px 6px 4px}.sensitivity-pagination .page-button{display:inline-flex;min-width:31px;height:30px;align-items:center;justify-content:center;padding:0 6px;border:1px solid #dbe3ee;border-radius:5px;background:#fff;color:#25466d;text-decoration:none;font-size:13px;box-shadow:0 1px 3px #19355012}.sensitivity-pagination a.page-button:hover{background:#eaf3ff}.sensitivity-pagination [aria-current=page]{border-color:#86afe8;background:#eaf3ff;color:#1667d3;font-weight:700}.sensitivity-pagination .disabled{color:#a7b4c5;background:#f8fafc}

.sensitivity-symbols{display:flex;gap:8px;align-items:center;margin:0 0 14px}.sensitivity-symbols .btn{min-width:108px;justify-content:center}

@media(max-width:750px){[data-live-sensitivity]{min-width:0}[data-live-sensitivity] .panel{min-width:0}[data-live-sensitivity] .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}[data-live-sensitivity] .table-wrap table{min-width:720px;width:max-content}[data-live-sensitivity] .table-wrap th,[data-live-sensitivity] .table-wrap td{white-space:nowrap;word-break:normal}[data-live-sensitivity] .sensitivity-symbols{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}[data-live-sensitivity] .sensitivity-symbols .btn{flex:0 0 auto}}

[data-live-sensitivity] .sensitivity-download{margin:0 0 12px}[data-live-sensitivity] .sensitivity-gap td{background:#fff7e8;color:#86580a;font-weight:700;text-align:center;white-space:nowrap}


/* Keep shared navigation geometry and scroll position stable across pages. */
.sidebar>.brand,.sidebar>.nav-label{flex-shrink:0}
.sidebar nav{min-height:0;scrollbar-gutter:stable;overflow-anchor:none}
.sidebar nav a{height:45px;min-height:45px;box-sizing:border-box;white-space:nowrap;font-weight:500}
.sidebar nav a.active{font-weight:500}
.sidebar nav a .icon{flex-shrink:0}
.sidebar .admin-nav-group{margin:6px 0}
.sidebar .admin-nav-label{padding:12px 13px;font-size:12px;color:#526783;font-weight:700}
.sidebar .admin-nav-group a{padding-left:31px}

.trade-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.trade-table table{min-width:1350px;width:100%}.trade-table th,.trade-table td{white-space:nowrap}[data-run-events][hidden]{display:none}

.existing-position-dialog{width:min(520px,calc(100vw - 36px));max-height:80vh;overflow:auto;border:1px solid #dbe6f3;border-radius:16px;padding:24px;color:#183758;background:#fff;box-shadow:0 20px 70px #17375433}.existing-position-dialog::backdrop{background:#10274470}.existing-position-dialog h2{font-size:21px;margin:0 0 14px}.existing-position-dialog .actions{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}.existing-position-dialog .live-list-row{padding:14px 0;white-space:normal}
/* Member strategy master/detail uses the existing template navigation and palette. */
[data-strategy-board]{min-width:0}.board-filter{display:flex;gap:14px;align-items:flex-end;padding:16px;background:#fff;border:1px solid #e0e9f4;border-radius:12px;margin:18px 0}.board-filter label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#617693}.board-filter select{min-width:175px;padding:10px;border:1px solid #d9e5f3;border-radius:8px;background:white;color:#193859}.board-filter>small{margin-left:auto;color:#647b96}.board-layout{display:grid;grid-template-columns:250px minmax(0,1fr);border:1px solid #dce7f3;border-radius:14px;background:white;overflow:hidden}.board-list{border-right:1px solid #dce7f3;min-width:0}.board-list h2{font-size:15px;padding:20px;margin:0;border-bottom:1px solid #e3ebf4}.board-list h2 span{color:#748ba6;font-weight:400;margin-left:6px}.board-choice{display:flex;flex-direction:column;align-items:flex-start;gap:9px;width:100%;padding:20px;border:0;border-bottom:1px solid #e3ebf4;background:white;color:#183454;text-align:left;cursor:pointer;border-left:4px solid transparent}.board-choice strong{font-size:18px}.board-choice>span{font-size:12px}.board-choice[aria-pressed=true]{background:#ecf5ff;border-left-color:#2679ef}.board-choice:hover{background:#f2f7fe}.board-choice .badge{font-style:normal}.board-details{min-width:0}.board-detail{padding:24px;min-width:0}.board-detail-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.board-detail-head h2{display:inline;font-size:24px;margin-right:14px}.board-detail-head .actions{margin:0;display:flex;gap:8px;flex-wrap:wrap}.board-phase{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;background:#f0f6ff;border:1px solid #dce9fb;border-radius:12px;padding:20px;margin:20px 0}.board-phase small{display:block;color:#6781a2;font-size:12px}.board-phase p{font-size:16px;font-weight:650;color:#1764c6;margin:8px 0;line-height:1.7}.board-phase strong{display:block;font-size:24px;margin:8px 0;color:#173861}.board-position{border:1px solid #e0e9f3;border-radius:12px;padding:18px}.board-position h3{font-size:15px;margin:0 0 18px}.board-position dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0}.board-position dt{color:#6d829e;font-size:12px}.board-position dd{margin:8px 0 0;font-size:18px;font-weight:650;overflow-wrap:anywhere}.board-position .muted{font-size:12px;margin-top:16px}.board-tabs{margin-top:20px}.board-tabs .board-tab,.board-tab-label{padding:12px 18px;border:0;border-bottom:2px solid #dfe9f5;background:transparent;color:#607d9c;font-size:14px}.board-tab{cursor:pointer}.board-tab[aria-expanded=true]{color:#176be6;border-bottom-color:#176be6}.board-tabs [data-run-events]{margin-top:14px}.board-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:24px 0 12px;padding-top:16px;border-top:1px solid #e4ecf5}.board-footer small{color:#7286a1;font-size:12px}.board-no-selection{padding:40px;text-align:center;color:#7489a4}.board-list [data-board-empty]{padding:18px;color:#7489a4}.board-detail[hidden],.board-choice[hidden],[data-board-empty][hidden],.board-no-selection[hidden]{display:none!important}[data-position-metric=pnl].positive{color:#119465}[data-position-metric=pnl].negative{color:#d64355}
@media(max-width:1000px){.board-layout{grid-template-columns:205px minmax(0,1fr)}.board-detail{padding:18px}.board-filter{flex-wrap:wrap}.board-phase{grid-template-columns:1fr}.board-detail-head h2{display:block;margin:0 0 10px}.board-position dd{font-size:16px}}
@media(max-width:700px){.board-layout{display:block}.board-list{display:flex;flex-wrap:wrap;border-right:0;border-bottom:1px solid #dce7f3}.board-list h2{width:100%;padding:14px}.board-choice{width:50%;padding:14px;border-bottom:0}.board-filter select{min-width:130px}.board-filter>small{width:100%;margin:0}.board-phase{padding:16px;gap:14px}.board-position dl{grid-template-columns:repeat(2,minmax(0,1fr))}.board-detail-head .actions{width:100%}.board-detail .actions{display:flex;gap:8px;flex-wrap:wrap}.board-tabs [data-run-events]{overflow-x:auto}.board-detail .live-list-row{min-width:340px}.board-footer{align-items:flex-start}}

.board-tabs table{min-width:580px;width:100%}.board-tabs th,.board-tabs td{white-space:nowrap}.board-choice strong{overflow-wrap:anywhere}
/* Selected operations and assets: shared master/detail template. */
.operation-health{display:flex;align-items:center;flex-wrap:wrap;gap:18px;background:#fff;border:1px solid #dce7f3;border-radius:14px;padding:16px 20px;margin-bottom:18px}.operation-health span{font-weight:650}.operation-health small{color:#6d829e}.operation-health button{margin-left:auto}.positive{color:#119465}.negative{color:#d64355}.operation-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin-top:16px}.operation-summary>div,.asset-composition,.asset-chart{border:1px solid #e0e9f3;border-radius:12px;padding:18px;min-width:0}.operation-summary h3,.asset-composition h3,.asset-chart h3,.asset-alert h3{margin:0 0 14px;font-size:15px}.operation-summary h3 small{font-weight:400;font-size:11px;color:#7286a1}.operation-summary strong{font-size:14px;line-height:1.8}.operation-summary dl{display:flex;gap:20px;margin:0}.operation-summary dt{font-size:12px;color:#6d829e}.operation-summary dd{margin:8px 0 0;font-size:20px;font-weight:650}.operation-issues{background:#f3f7fc;padding:12px 16px;border-radius:10px;margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:13px}.operation-issues button{margin-left:auto}.operation-issues p{width:100%;line-height:1.7}.board-tabs [data-operation-logs]{margin-top:14px}.board-tabs [data-operation-logs][hidden]{display:none}.asset-composition{margin:20px 0}.asset-layout .table-wrap{overflow-x:auto}.asset-layout table{min-width:570px;width:100%}.asset-layout th,.asset-layout td{white-space:nowrap}.asset-tabs{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}.asset-alert{margin-top:20px;background:#f0f6ff;border-radius:12px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.asset-chart svg{display:block;width:100%;height:auto}.asset-chart svg text{fill:#6d829e;font-size:14px}.asset-chart [data-asset-chart]>p{font-size:12px}.asset-layout .board-list>a{margin:18px}.asset-layout [data-asset-pane][hidden]{display:none!important}.asset-layout .board-filter{margin-top:14px;gap:12px;padding:14px}.asset-layout .board-filter input{max-width:145px}.asset-layout .board-filter>label{min-width:0}.asset-layout select{max-width:100%}.asset-layout .board-choice{min-width:0}
@media(max-width:1000px){.operation-summary{grid-template-columns:1fr}.asset-alert{flex-wrap:wrap}.operation-health{gap:12px}.asset-layout .board-filter input{max-width:130px}}
@media(max-width:700px){.operation-health button{margin-left:0}.operation-health small{width:100%}.operation-summary dl{justify-content:space-between;gap:10px}.operation-summary dd{font-size:18px}.asset-layout .board-list>a{width:100%;margin:10px}.asset-layout .board-detail-head h2{font-size:20px}.asset-composition,.asset-chart{padding:14px}.asset-layout .board-filter{padding:12px}.asset-layout .board-filter label{width:calc(50% - 8px)}.asset-layout .board-filter input{width:100%;max-width:100%}.asset-layout .board-filter select{min-width:0;width:100%}.asset-alert{display:block}.asset-alert button{margin-top:10px}}
.operation-records{margin-top:14px}.operation-records table{min-width:580px;width:100%}.operation-records th,.operation-records td{white-space:nowrap}.operation-records [hidden]{display:none!important}.operation-records .table-wrap{overflow-x:auto}
.home-programs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-program{display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid #e3eaf4;border-radius:14px;background:#f7faff;text-decoration:none;color:inherit}.home-attention-row{padding:12px 14px;border-radius:10px;background:#f6f9fe;border-left:3px solid #73a4ed}.account-readiness .kv-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #edf1f7}.account-readiness strong{text-align:right;overflow-wrap:anywhere}.asset-chart svg{width:100%;height:auto}[data-home-board] .operation-summary strong{display:block;margin-top:8px}[data-home-board] .board-filter>div{margin-right:auto}@media(max-width:700px){.home-programs{grid-template-columns:1fr}.account-readiness .kv-row{font-size:13px}[data-home-board] .grid{grid-template-columns:1fr}}
.fund-top-tabs{margin-bottom:20px}.fund-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.fund-form{display:grid;gap:16px}.fund-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fund-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#607797}.fund-form input,.fund-form select{width:100%;min-width:0;border:1px solid #dce7f5;border-radius:9px;padding:12px;background:white;color:#233a5e;font:inherit}.fund-form [hidden]{display:none!important}.fund-preview{display:flex;flex-wrap:wrap;align-items:center;gap:22px;padding:18px;background:#f5f9ff;border-radius:12px}.fund-preview>div{flex:1;min-width:125px}.fund-preview small,.fund-preview strong{display:block;margin:5px 0}.fund-preview strong{font-size:13px}.fund-history{border:1px solid #e2eaf5;border-radius:14px;padding:20px;margin-top:24px}.fund-history table{min-width:620px}.fund-presets .btn{min-width:70px}.fund-history tbody tr{cursor:pointer}.fund-history tbody tr:hover{background:#f6f9ff}@media(max-width:700px){.fund-fields{grid-template-columns:1fr}.fund-history{padding:12px}.fund-preview{gap:12px}.fund-preview button{width:100%}.fund-balances{gap:10px}.fund-top-tabs{overflow-x:auto;white-space:nowrap;flex-wrap:nowrap}}

/* SODAM notification/report option 3: list + detail, shared bright template. */
.member-center{min-width:0}.center-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.center-toolbar .actions{display:flex;gap:8px;margin:0;flex-wrap:wrap}.center-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.center-counters>div{border:1px solid #e0e9f4;background:#f4f8fe;border-radius:12px;padding:18px}.center-counters span,.center-kpis span{display:block;font-size:12px;color:#657f9f}.center-counters strong{display:block;font-size:28px;margin-top:8px;color:#1b63be}.center-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:16px;border:1px solid #e0e9f4;border-radius:12px;background:#f8fbff;margin:16px 0}.center-filters label{display:flex;flex-direction:column;gap:6px;min-width:110px;font-size:12px;color:#607895}.center-filters input,.center-filters select{width:100%;box-sizing:border-box;max-width:100%;padding:10px 11px;border:1px solid #d9e5f3;border-radius:8px;background:#fff;color:#183b62;min-height:40px}.center-search{flex:1;min-width:180px!important}.center-basis{font-size:12px;line-height:1.7}.center-layout{display:grid;grid-template-columns:minmax(245px,30%) minmax(0,1fr);border:1px solid #dce7f3;border-radius:14px;background:#fff;overflow:hidden}.center-list{border-right:1px solid #dce7f3;min-width:0}.center-list>h2{font-size:15px;padding:20px;margin:0;border-bottom:1px solid #e4ecf6}.center-list>h2 small{font-size:12px;font-weight:400;color:#7186a0;margin-left:6px}.center-pad{padding:20px}.center-choice{display:flex;flex-direction:column;width:100%;text-align:left;gap:9px;padding:18px;border:0;border-bottom:1px solid #e5edf7;border-left:3px solid transparent;background:#fff;color:#193a61;cursor:pointer}.center-choice[aria-pressed=true]{background:#edf5ff;border-left-color:#2679ef}.center-choice:hover{background:#f4f8fe}.center-choice strong{font-size:15px;line-height:1.6;overflow-wrap:anywhere}.center-choice small{font-size:11px;color:#778ba5}.center-choice-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px}.center-kind{display:inline-block;font-size:11px;color:#2674d8;background:#eaf3ff;padding:4px 8px;border-radius:5px}.center-important{color:#b16b06}.center-unread{color:#277aed}.center-preview{font-size:12px;color:#798da8;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.center-detail{padding:26px;min-width:0}.center-detail-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:20px}.center-detail-head h2{font-size:22px;line-height:1.5;margin:10px 0;overflow-wrap:anywhere}.center-detail-head .actions{display:flex;gap:8px;flex-wrap:wrap;margin:0}.center-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:18px;margin:16px 0;background:#f7faff;border:1px solid #e3ecf7;border-radius:10px}.center-metadata dt{font-size:11px;color:#788ca5}.center-metadata dd{font-size:13px;color:#264565;margin:7px 0 0;line-height:1.6;overflow-wrap:anywhere}.center-message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;min-height:150px;padding:24px 0;color:#405b7a}.center-detail>.actions{display:flex;gap:8px;flex-wrap:wrap}.center-related{margin-top:28px;border-top:1px solid #e1eaf4;padding-top:20px}.center-related h3,.center-chart h3,.center-notes h3{font-size:14px}.center-related-choice{display:block;text-align:left;width:100%;padding:12px 0;border:0;border-bottom:1px solid #e6edf5;background:#fff;font-size:12px;color:#4074af;cursor:pointer}.center-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.center-kpis>div{border:1px solid #e0e9f4;border-radius:10px;padding:14px;background:#fff}.center-kpis strong{display:block;font-size:16px;line-height:1.6;overflow-wrap:anywhere;margin-top:10px}.center-tabs{display:flex;gap:4px;overflow-x:auto;white-space:nowrap;border-bottom:1px solid #dfe8f4;margin:24px 0 16px}.center-tab{border:0;background:#fff;color:#7187a3;padding:13px 12px;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap}.center-tab[aria-pressed=true]{color:#2375df;border-bottom-color:#2375df}.center-chart{border:1px solid #e2ebf6;border-radius:12px;padding:18px;margin:20px 0}.center-chart svg{display:block;width:100%;height:auto}.center-chart p,.center-notes p{font-size:12px;line-height:1.8;color:#7285a0}.center-notes{padding:18px;background:#f7faff;border-radius:12px}.center-tab-content .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.center-tab-content table{width:100%;min-width:680px}.center-tab-content th,.center-tab-content td{white-space:nowrap}.center-list .sensitivity-pagination{padding:14px;gap:5px;flex-wrap:wrap}.center-choice:focus-visible,.center-related-choice:focus-visible,.center-tab:focus-visible{outline:2px solid #2679ef;outline-offset:-2px}
@media(max-width:1100px){.center-layout{grid-template-columns:245px minmax(0,1fr)}.center-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.center-detail{padding:20px}}
@media(max-width:760px){.center-layout{grid-template-columns:minmax(0,1fr)}.center-list{border-right:0;border-bottom:1px solid #dce7f3}.center-list [data-center-rows]{max-height:350px;overflow-y:auto}.center-choice{padding:15px}.center-detail{padding:18px}.center-counters{gap:8px}.center-counters>div{padding:12px}.center-counters span{font-size:10px}.center-counters strong{font-size:24px}.center-filters{padding:12px;gap:10px}.center-filters label{flex:1 1 120px;min-width:0}.center-search{min-width:140px!important}.center-metadata{gap:12px;padding:14px}.center-detail-head h2{font-size:20px}.center-kpis strong{font-size:15px}.center-message{min-height:100px}.center-toolbar{gap:10px}.center-tab{padding:12px 10px}}
/* Admin order master/detail monitor */
.order-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.order-toolbar [data-order-updated]{margin-left:auto;font-size:12px;color:#6c819e}.order-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}.order-kpis>div{padding:18px;background:#f4f9ff;border:1px solid #dce8f7;border-radius:12px}.order-kpis span{font-size:12px;color:#6c819e}.order-kpis strong{display:block;font-size:28px;color:#1763d7;margin-top:8px}.order-kpis>div:last-child strong{color:#d84855}.order-filters{display:flex;flex-wrap:wrap;gap:12px;padding:18px;background:#f8fbff;border:1px solid #dce8f7;border-radius:12px;margin-bottom:20px}.order-filters label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#48627f;flex:1 1 145px;min-width:130px}.order-filters input,.order-filters select{min-width:0;width:100%;box-sizing:border-box;border:1px solid #dce7f4;border-radius:8px;padding:10px;background:#fff;color:#243d60}.order-filters .actions{align-self:flex-end;margin:0}.order-layout{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);border:1px solid #dce8f7;border-radius:14px;overflow:hidden;background:white}.order-list{padding:18px;border-right:1px solid #dce8f7;min-width:0}.order-list h2,.order-detail h2{font-size:18px;margin:0 0 15px}.order-list h2 small{font-size:12px;color:#6c819e}.order-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.order-tabs button{border:1px solid #dce7f4;background:white;padding:10px 13px;border-radius:8px;color:#48627f;cursor:pointer}.order-tabs button[aria-pressed=true]{background:#edf5ff;border-color:#82b4ff;color:#1763d7}.order-table{min-width:660px;width:100%;font-size:12px}.order-table th,.order-table td{white-space:nowrap;padding:12px 9px}.order-table td small{display:block;color:#7c8fa7;margin-top:5px}.order-table tr.order-selected{background:#e7f2ff}.order-table tr:focus-visible{outline:2px solid #2679ef;outline-offset:-2px}.order-table button{background:none;border:0;padding:0;color:#1763d7;font:inherit;cursor:pointer;text-decoration:underline}.order-list>.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.order-list>.sensitivity-pagination{gap:5px;flex-wrap:wrap;justify-content:center}.order-detail{padding:22px;min-width:0}.order-detail-head{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.order-detail-head p{margin:0;font-size:12px;color:#7085a2}.order-status{display:inline-block;white-space:nowrap;padding:5px 9px;border-radius:7px;background:#edf4fc;color:#426287;font-size:11px}.order-status.ok{background:#e8f8f0;color:#188357}.order-status.warn{background:#fff3dc;color:#ae6e12}.order-status.bad{background:#ffebee;color:#c83b4b}.order-status.partial{background:#fff1e4;color:#bf6718}.order-detail .order-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.order-detail .order-kpis strong{font-size:20px;overflow-wrap:anywhere}.order-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border:1px solid #dce8f7;border-radius:10px;margin-bottom:18px}.order-meta dt{font-size:12px;color:#6c819e}.order-meta dd{margin:6px 0 0;font-size:14px;overflow-wrap:anywhere}.order-detail-body{min-height:240px}.order-timeline{list-style:none;margin:0;padding:5px 0}.order-timeline li{border-left:2px solid #d4e5fb;padding:0 0 20px 18px;position:relative}.order-timeline li:before{content:'';width:9px;height:9px;border-radius:50%;background:#3682ee;position:absolute;left:-5px;top:3px}.order-timeline small{display:block;color:#7c8fa7;margin-top:6px}.order-detail .table-wrap{overflow-x:auto}.order-detail table{width:100%;min-width:380px;font-size:12px}.order-detail th,.order-detail td{white-space:nowrap;padding:10px}.order-notice{background:#fff7e7;border:1px solid #f0daaa;border-radius:10px;padding:13px;margin:18px 0;font-size:12px;line-height:1.8;color:#967127}.order-empty{padding:45px 15px;text-align:center;color:#8193aa}.order-footnote{font-size:12px;line-height:1.9;margin-top:18px}.order-list>p{font-size:12px}.order-detail button:disabled{opacity:.55;cursor:wait}
@media(max-width:1100px){.order-layout{grid-template-columns:minmax(0,1fr)}.order-list{border-right:0;border-bottom:1px solid #dce8f7}.order-kpis{gap:8px}.order-kpis>div{padding:12px}}
@media(max-width:760px){.order-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.order-detail .order-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.order-detail .order-kpis strong{font-size:16px}.order-filters{padding:12px}.order-list,.order-detail{padding:14px}.order-meta{grid-template-columns:minmax(0,1fr)}.order-detail-head{flex-wrap:wrap}.order-toolbar [data-order-updated]{margin-left:0}}

/* Policy previews and full, accessible reading dialogs. */
.policy-row > div:first-child{flex:1;min-width:0}.policy-row > .actions{flex-shrink:0;flex-wrap:wrap}
.policy-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;max-height:5.1em}
.policy-dialog{width:min(800px,calc(100vw - 32px));max-height:85vh;max-height:85dvh;box-sizing:border-box;border:1px solid #dbe5f0;border-radius:16px;padding:0;background:#fff;color:#203047;box-shadow:0 24px 80px #132f5533;overflow:hidden}
.policy-dialog::backdrop{background:rgba(15,31,55,.5)}
.policy-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #e4ebf3}
.policy-dialog-header h2{margin:0;font-size:20px;overflow-wrap:anywhere}.policy-dialog-header button{flex-shrink:0}
.policy-dialog-body{padding:8px 24px 24px;max-height:calc(85vh - 105px);max-height:calc(85dvh - 105px);overflow:auto;overscroll-behavior:contain}
.policy-dialog-body p{white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;line-height:1.85;margin:16px 0}
@media(max-width:600px){.policy-dialog-header{padding:16px}.policy-dialog-body{padding:4px 16px 20px}.policy-row > .actions{width:100%}}

.asset-metric-value{display:block;font-size:22px;line-height:1.6;overflow-wrap:anywhere}.asset-currency-chart{margin:16px 0}.asset-currency-chart h4{margin:0 0 8px}

.support-row{display:block}.support-row p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.support-answer{margin-top:16px;padding:16px;background:#f1f7ff;border-radius:10px}.support-reply-form{margin-top:16px;display:grid;gap:10px}.support-reply-form label{display:grid;gap:8px}.support-reply-form textarea{width:100%;box-sizing:border-box}.support-reply-form button{justify-self:start}

/* Slim colored line icons shared by the stable member and admin menus. */
.sidebar nav[data-stable-nav] a .icon{color:#637b9b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;fill:none;background:none;border:0;border-radius:0;padding:0;box-shadow:none}
.sidebar nav[data-stable-nav] a:is([href='/member/dashboard'],[href='/member/accounts'],[href='/member/guide'],[href='/admin'],[href='/admin/members'],[href='/admin/accounts'],[href='/admin/system']) .icon{color:#287ee7}
.sidebar nav[data-stable-nav] a:is([href^='/member/strategies'],[href^='/admin/strategies'],[href='/admin/strategy-tests'],[href='/admin/access']) .icon{color:#8562db}
.sidebar nav[data-stable-nav] a:is([href^='/member/trades'],[href='/member/rebalancing'],[href='/member/analytics'],[href='/admin/orders'],[href='/admin/rebalancing'],[href='/admin/statistics'],[href='/admin/data'],[href^='/admin/collected-data']) .icon{color:#148f9e}
.sidebar nav[data-stable-nav] a:is([href='/member/assets'],[href='/member/pricing'],[href='/admin/billing']) .icon{color:#2d9872}
.sidebar nav[data-stable-nav] a:is([href='/member/questions'],[href='/member/support'],[href='/member/notifications'],[href='/member/notices'],[href='/admin/support'],[href='/admin/notifications'],[href='/admin/notices'],[href='/admin/events']) .icon{color:#cf8520}
.sidebar nav[data-stable-nav] a:is([href='/member/risk'],[href='/admin/emergency']) .icon{color:#d1545d}

.support-management-form{display:grid;gap:16px}.support-management-fields{display:flex;flex-wrap:wrap;gap:12px}.support-management-form label{display:grid;gap:7px}.support-management-form textarea{width:100%;box-sizing:border-box;resize:vertical}.support-question-body{padding:16px;background:#f4f8fd;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.support-preview-body{padding:24px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;max-height:65vh;overflow:auto}.support-history{margin-top:24px;border-top:1px solid #e5edf6;padding-top:16px}.support-history p{font-size:12px;color:#647b95;overflow-wrap:anywhere}[data-support-pages]{display:flex;gap:8px;flex-wrap:wrap;padding:16px}
.support-management-form select,.support-management-form textarea{font:inherit;color:#264565;background:#fff;border:1px solid #d9e5f3;border-radius:8px;padding:10px 12px;max-width:100%;box-sizing:border-box}.support-management-form label:has([name=note]) textarea{background:#fffdf6}.support-management-form>select{justify-self:start}.support-management-fields label{font-size:12px;color:#607895;min-width:110px;max-width:100%}.support-management-fields select{width:100%}.support-management-form>.actions{flex-wrap:wrap}[data-support-list]{max-height:720px;overflow-y:auto}@media(max-width:760px){[data-support-list]{max-height:350px}.support-management-fields label{flex:1 1 120px;min-width:0}}

.pricing-editor-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,1fr);gap:28px;align-items:start}
.pricing-editor-layout .form-fields{display:grid;gap:16px;min-width:0}
.pricing-editor-layout .form-label{display:grid;gap:7px}
.pricing-editor-layout input,.pricing-editor-layout select,.pricing-editor-layout textarea{width:100%;min-width:0;padding:10px 12px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;color:#26364c;font:inherit;box-sizing:border-box}
.pricing-editor-layout textarea{resize:vertical}
.pricing-input-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pricing-preview{min-width:0;border:1px solid #dce7f5;background:#f8fbff;border-radius:12px;padding:22px}
.pricing-preview .center-detail-head{flex-wrap:wrap;gap:8px}
.pricing-plan{background:#fff;border:1px solid #dce7f5;border-radius:10px;padding:22px;overflow-wrap:anywhere}
.pricing-plan strong{color:#2466c5;font-size:28px}
.pricing-plan li{margin:8px 0}
.pricing-policy-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
@media(max-width:850px){.pricing-editor-layout{grid-template-columns:minmax(0,1fr)}.pricing-preview{padding:16px}}

.pricing-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch;padding-top:12px}
.pricing-card-grid .pricing-plan{display:flex;flex-direction:column;gap:8px;min-width:0;position:relative;background:#fff;padding:24px}
.pricing-card-grid .pricing-plan h2{font-size:21px;margin:8px 0}
.pricing-card-grid .pricing-plan p{margin:0}
.pricing-card-grid .pricing-plan ul{flex:1;padding-left:20px;line-height:1.6}
.pricing-card-grid .pricing-plan .btn{margin-top:auto}
.pricing-card-grid .pricing-plan.is-recommended{border:2px solid #3478df;background:#f5f9ff}
.pricing-recommended-label,.pricing-card-label{align-self:flex-start;font-size:12px;min-height:22px}
.pricing-recommended-label{background:#e8f1ff;color:#245fb1;border-radius:5px;padding:2px 9px}
.pricing-card-label{color:#65758c;padding:2px 0}
.pricing-plan-toolbar{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}
.pricing-plan-list{display:flex;gap:8px;flex-wrap:wrap;min-width:0}
.pricing-plan-list .btn{max-width:240px;white-space:normal;overflow-wrap:anywhere}
.pricing-checkboxes{display:flex;gap:18px;flex-wrap:wrap}
.pricing-checkboxes label{display:flex;gap:7px;align-items:center}
.pricing-editor-layout .pricing-checkboxes input{width:16px}
.pricing-preview .pricing-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pricing-preview .pricing-plan{padding:12px}
.pricing-preview .pricing-plan strong{font-size:18px}
.pricing-preview .pricing-plan h2{font-size:16px}
.pricing-dialog-body{padding:22px;overflow-wrap:anywhere}
@media(max-width:1250px){.pricing-preview .pricing-card-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.pricing-card-grid{grid-template-columns:minmax(0,1fr)}.pricing-card-grid .pricing-plan{padding:20px}}

.report-summary-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px}
.report-summary-panel{min-width:0;background:#fff;border:1px solid #dce6f1;border-radius:10px;padding:18px}
.report-summary-panel h3{margin-top:0;font-size:17px}
.report-summary-panel .center-metadata{grid-template-columns:minmax(0,1fr);gap:10px}
.report-summary-panel .center-metadata>div{padding:8px 0;border-bottom:1px solid #e5edf6}
.report-recent{margin:16px 0}
.report-summary-panel .table-wrap{margin-bottom:10px}
@media(max-width:1000px){.report-summary-grid{grid-template-columns:minmax(0,1fr)}}


.board-categories{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 14px;width:100%;box-sizing:border-box}.board-category{border:1px solid #dce7f3;background:#fff;color:#617693;border-radius:7px;padding:7px 9px;font:inherit;font-size:12px;cursor:pointer}.board-category[aria-pressed=true]{background:#176be6;border-color:#176be6;color:#fff}
.board-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 10px;border-top:1px solid #e0e9f4;width:100%;box-sizing:border-box}.board-pagination .btn{padding:7px 9px;font-size:12px}.board-pagination>span{font-size:12px;color:#193859;font-variant-numeric:tabular-nums}.board-pagination>small{width:100%;text-align:center;color:#617693;font-size:11px}.board-pagination button:disabled{opacity:.45;cursor:default}@media(pointer:coarse){.board-pagination .btn{min-height:44px}}
.home-operation-focus{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:#f0f7ff;border-radius:10px;padding:20px}.home-operation-focus h2{margin:10px 0 8px;font-size:24px}.home-operation-focus p{margin:0 0 12px;color:#315a86}.operation-rebalance{background:#fff;border:1px solid #e0e9f3;border-radius:12px;padding:18px;margin:18px 0}.operation-rebalance-head,.rebalance-ratio-labels{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.operation-rebalance h3{font-size:15px;margin:0}.rebalance-ratio{display:flex;height:18px;border-radius:6px;overflow:hidden;background:#dceafa;margin:18px 0 10px}.rebalance-ratio>span:first-child{background:#176be6;width:0}.rebalance-ratio>span:last-child{flex:1;background:#a8c9f5}.rebalance-leg-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.rebalance-leg-grid>div{background:#f5f9fe;border-radius:9px;padding:14px;min-width:0}.rebalance-leg-grid small{color:#617693}.rebalance-leg-grid strong{display:block;margin-top:8px;overflow-wrap:anywhere}.rebalance-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:20px 0}.rebalance-progress span{background:#f0f5fc;color:#617693;padding:10px 6px;border-radius:6px;text-align:center;font-size:12px}.rebalance-settings-details{border-top:1px solid #e0e9f3;padding-top:16px;margin-top:18px}.rebalance-settings-details summary{color:#617693}.rebalance-settings-details form{margin-top:18px}.board-choice[aria-pressed=true]{background:#eaf3ff}.board-filter{flex-wrap:wrap}.home-program{padding:14px!important}@media(max-width:700px){.home-operation-focus{padding:16px}.home-operation-focus h2{font-size:20px}.rebalance-progress{grid-template-columns:1fr 1fr}.rebalance-leg-grid{grid-template-columns:1fr}.board-filter label{min-width:0}.board-filter select{max-width:100%}.operation-rebalance{padding:14px}}
.operation-blocked{background:#f0f6ff;color:#315a86;padding:12px 16px;border-radius:9px;font-size:13px;line-height:1.7}.operation-blocked[hidden]{display:none!important}.rebalance-ratio[hidden]{display:none!important}.analysis-overview [data-analysis-movements] .table-wrap{margin:16px 0}.analysis-overview [data-analysis-movements] table{width:100%}.analysis-overview [data-analysis-movements] th,.analysis-overview [data-analysis-movements] td{padding:12px;border-bottom:1px solid #e0e9f3;text-align:left}.analysis-overview [data-analysis-movements] td:last-child{text-align:right;white-space:nowrap}
/* Member guide: topic index and detailed help, using the member shell palette. */
.member-help-center{width:100%;max-width:none;box-sizing:border-box;margin:0;color:#243b59;font-size:14px;line-height:1.65}
.member-help-center .guide-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#e9f3ff;border:1px solid #d7e8fb;border-radius:14px;padding:18px 23px;margin-bottom:24px}
.member-help-center .guide-hero h2{margin:10px 0 6px;font-size:20px}.member-help-center .guide-hero p{margin:8px 0;color:#6280a1;font-size:13px}
.member-help-center .guide-tag{font-size:12px;font-weight:600;color:#347dce}.member-help-center .guide-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:start}
.member-help-center .guide-index{background:#fff;border:1px solid #e0e9f4;border-radius:12px;box-shadow:none;padding:16px 10px;display:flex;flex-direction:column;gap:4px}.member-help-center .guide-index h2{font-size:15px;margin:0 8px 9px}
.member-help-center .guide-group{font-size:14px;font-weight:700;line-height:1.6;color:#26466e;margin:16px 9px 7px}.member-help-center .guide-index a{padding:9px 10px;border-radius:8px;text-decoration:none;color:#627992;font-size:12px;line-height:1.65}
.member-help-center .guide-index a[aria-current]{background:#eaf3ff;color:#2373d0;font-weight:600}.member-help-center .guide-detail{min-width:0}
.member-help-center .guide-article{background:#fff;border:1px solid #e0e9f4;border-radius:12px;box-shadow:none;padding:24px;min-width:0;min-height:580px;box-sizing:border-box}.member-help-center .guide-article[hidden]{display:none}.member-help-center .guide-article h2{font-size:22px;margin:18px 0 13px}.member-help-center .guide-article h3{font-size:15px;margin:20px 0 10px}
.member-help-center .guide-article p{color:#647c98;font-size:13px;line-height:1.65;margin:8px 0;overflow-wrap:anywhere}.member-help-center .guide-article ol{padding-left:21px;color:#506b8a;font-size:13px}.member-help-center .guide-article li{margin:11px 0;line-height:1.65}
.member-help-center .guide-note{background:#f0f6fe;border-radius:8px;padding:16px;margin:20px 0}.member-help-center .guide-note h3{margin:0 0 8px;color:#3c72b0;font-size:13px}.member-help-center .guide-note p{margin:0}
.member-help-center .guide-question{background:#fff;border:1px solid #e0e9f4;border-radius:10px;padding:15px 18px;margin-top:18px}.member-help-center .guide-question summary{font-size:13px;font-weight:500;line-height:1.65}.member-help-center .guide-question p{margin-top:13px}
.member-help-center .guide-related{border-top:1px solid #e1eaf5;margin-top:24px;padding-top:18px}.member-help-center .guide-related h3{font-size:12px;margin:0 0 10px}.member-help-center .guide-related .actions{flex-wrap:wrap;margin:0;gap:8px}.member-help-center .guide-related .btn{font-size:12px;padding:7px 10px;min-height:0;box-shadow:none;border-radius:8px}.member-help-center .guide-page-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.member-help-center .guide-page-links .btn{border:0;background:transparent;padding:4px 0;margin-right:10px;color:#627992}.member-help-center .guide-faq-content>.panel{border:0;padding:0;box-shadow:none}.member-help-center .guide-faq-content>.panel>.panel-head{display:none}
.member-help-center .guide-contact{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;padding-top:20px;margin-top:24px;border-top:1px solid #dce6f2;color:#7085a0;font-size:12px}
@media(max-width:850px){.member-help-center .guide-layout{grid-template-columns:170px minmax(0,1fr);gap:14px}.member-help-center .guide-article{padding:20px}}
@media(max-width:600px){.member-help-center .guide-layout{grid-template-columns:1fr}.member-help-center .guide-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.member-help-center .guide-index h2,.member-help-center .guide-group{grid-column:1/-1}.member-help-center .guide-index a{min-height:44px;box-sizing:border-box;display:flex;align-items:center}.member-help-center .guide-hero{padding:20px}.member-help-center .guide-article{padding:20px}.member-help-center .guide-related .btn{white-space:normal;overflow-wrap:anywhere}}
/* Selected risk workspace: match the program master/detail mockup. */
.member-risk-center{width:100%;max-width:none;box-sizing:border-box;margin:0;color:#243b59;font:14px/1.65 system-ui,sans-serif}.member-risk-center h2{font-size:18px;margin:0 0 16px}.member-risk-center h3{font-size:15px;margin:18px 0 12px}.member-risk-center p{margin:8px 0;overflow-wrap:anywhere}
.member-risk-center .sr-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:#e9f3ff;border:1px solid #d7e8fb;border-radius:14px;padding:22px 24px;margin-bottom:22px}.member-risk-center .sr-hero h2{font-size:21px;margin:10px 0 5px}.member-risk-center .sr-hero p{font-size:13px;color:#6280a1}.member-risk-center .sr-tag{color:#347dce;font-size:12px;font-weight:600}.member-risk-center .sr-risk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#7287a0;margin:0 0 16px}
.member-risk-center .sr-master{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0}.member-risk-center .sr-programs{border:1px solid #e0e9f4;border-radius:12px;background:#fff;padding:20px;min-width:0;box-sizing:border-box}.member-risk-center .sr-program-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.member-risk-center .sr-programs h2{font-size:15px;margin:0}.member-risk-center [data-risk-program-count]{font-size:12px;color:#607b9d}.member-risk-center .sr-program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.member-risk-center .sr-programs [data-risk-program]{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;box-sizing:border-box;border:1px solid #e0e9f4;border-radius:10px;padding:17px;gap:6px;background:#fff;color:#326cad;font:inherit}.member-risk-center .sr-programs [data-risk-program][aria-pressed=true]{background:#eaf3ff;border-color:#7eb0f3;color:#2373d0}.member-risk-center [data-risk-program][hidden],.member-risk-center [data-risk-empty][hidden],.member-risk-center .sr-program-detail[hidden]{display:none!important}.member-risk-center .sr-programs button small{font-size:11px;color:#7b92ad}.member-risk-center .sr-programs button strong{font-size:16px;overflow-wrap:anywhere}.member-risk-center .sr-programs button span{font-size:11px;color:#7b92ad;overflow-wrap:anywhere}.member-risk-center .sr-environments{display:flex;gap:8px}.member-risk-center .sr-programs .board-categories{margin:16px 0}.member-risk-center .sr-program-detail{background:#fff;border:1px solid #e0e9f4;border-radius:12px}.member-risk-center [data-risk-pages]:empty{display:none}
.member-risk-center .sr-program-detail{padding:24px;min-width:0;min-height:570px}.member-risk-center .sr-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.member-risk-center .sr-detail-head h2{font-size:22px;margin:6px 0 0;overflow-wrap:anywhere}.member-risk-center .sr-pill{background:#edf4fd;color:#5280b4;padding:5px 8px;font-size:11px;border-radius:6px}.member-risk-center .sr-source{font-size:11px;color:#7a8fa8;margin-top:14px}.member-risk-center .sr-legs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.member-risk-center .sr-legs>div{background:#f5f8fc;padding:15px;border-radius:8px;min-width:0}.member-risk-center .sr-legs small{color:#7790aa;font-size:11px;display:block}.member-risk-center .sr-legs strong{font-size:15px;display:block;margin:7px 0;overflow-wrap:anywhere;font-weight:500}
.member-risk-center .sr-notice{background:#fff7ea;color:#957343;border-radius:8px;padding:16px;display:flex;gap:10px;margin:20px 0}.member-risk-center .sr-notice strong{font-size:13px}.member-risk-center .sr-notice p{font-size:12px;margin:7px 0 0}.member-risk-center .sr-detail-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid #e2eaf5;padding-bottom:12px}.member-risk-center .sr-detail-tabs button{border:1px solid #dce7f5;border-radius:8px;background:#fff;color:#326cad;font:12px/1.65 system-ui,sans-serif;padding:8px 11px}.member-risk-center .sr-detail-tabs button[aria-pressed=true]{background:#eaf3ff;color:#2373d0;border-color:#bcd7f8}.member-risk-center .sr-detail-content{min-height:210px}.member-risk-center .sr-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e8eef6;font-size:12px}.member-risk-center .sr-row strong{font-size:13px;font-weight:500}.member-risk-center .sr-row span{overflow-wrap:anywhere;text-align:right}.member-risk-center .sr-note{background:#f0f6fe;padding:14px 16px;border-radius:8px;color:#5c7da3;font-size:12px;line-height:1.8;margin-top:18px}.member-risk-center .sr-muted,.member-risk-center .sr-empty{color:#7b8fa8;font-size:12px}.member-risk-center .sr-empty{padding:20px 15px}.member-risk-center .sr-detail-footer{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid #e2eaf5;padding-top:18px;margin-top:18px}.member-risk-center .sr-detail-footer .btn{font-size:12px;white-space:normal}.member-risk-center .sr-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;border-top:1px solid #dce6f2;margin-top:24px;padding-top:20px;color:#7085a0;font-size:12px}.member-risk-center [hidden]{display:none!important}
@media(max-width:850px){.member-risk-center .sr-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-risk-center .sr-hero{flex-wrap:wrap}}
@media(max-width:600px){.member-risk-center .sr-programs{padding:16px}.member-risk-center .sr-programs [data-risk-program]{padding:14px 12px}.member-risk-center .sr-program-detail{padding:20px}.member-risk-center .sr-row{flex-wrap:wrap}.member-risk-center .sr-hero{padding:20px}.member-risk-center .sr-risk-toolbar{flex-wrap:wrap}.member-risk-center .sr-programs .board-categories{flex-wrap:wrap}}
/* Admin controls follow the shared page width; urgent notices fit small screens. */
[data-strategy-description][hidden],[data-live-strategy-create][hidden],[data-emergency-control] [hidden]{display:none!important}
[data-emergency-control]{min-width:0}[data-emergency-control] .form-fields{margin:20px 0;max-width:900px}[data-emergency-control] label{display:flex;flex-direction:column;gap:7px}[data-emergency-control] .sr-note{margin:14px 0;overflow-wrap:anywhere}[data-emergency-control] select,[data-emergency-control] textarea{max-width:100%;min-width:0;width:100%}[data-emergency-control] p{overflow-wrap:anywhere}.urgent-announcement .center-message{max-height:55vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0}.urgent-announcement h2{overflow-wrap:anywhere}
.urgent-announcement{padding:24px;box-sizing:border-box}.urgent-announcement>p:first-child{margin-top:0}.urgent-announcement h2{font-size:22px;line-height:1.5}[data-live-content-form] select{width:100%;padding:12px 14px;border:1px solid #d8e5f5;border-radius:10px;background:#fbfdff;color:#183454;font:inherit}
@media(max-width:600px){.urgent-announcement{padding:20px}.urgent-announcement h2{font-size:20px}}
[data-emergency-control] select,[data-emergency-control] textarea{padding:12px 14px;border:1px solid #d8e5f5;border-radius:10px;background:#fbfdff;color:#183454;font:inherit}[data-emergency-control] .sr-note{padding:16px 18px;border:1px solid #dce9fb;border-radius:12px;background:#f1f7ff;line-height:1.7}[data-emergency-control] .sr-note p:last-child{margin-bottom:0}
[data-emergency-control] .emergency-block-list{padding:18px 20px;border:1px solid #d8e5f5;border-radius:14px;background:#fbfdff;margin:20px 0 28px}[data-emergency-control] .emergency-block-list h3{margin-top:0}[data-emergency-block-count]{display:inline-block;margin-left:8px;color:#1764c6;font-size:14px}[data-emergency-message]:empty{display:none}
@media(max-width:600px){[data-emergency-control] .emergency-block-list{padding:16px 12px}}
/* Member home, selected operations/checks layout: inherit the shared .main width. */
.member-home-center{width:100%;max-width:none;min-width:0;margin:0;box-sizing:border-box;color:#243b59}.member-home-center *{box-sizing:border-box}.member-home-center .board-filter{margin-top:0}.member-home-center .board-filter select{min-width:100px}.member-home-center .home-alert{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;background:#edf5ff;border:1px solid #dce9fb;border-radius:12px;margin-bottom:18px}.member-home-center .home-alert span{display:block;color:#607b9d;font-size:12px;margin-top:6px}.member-home-center .home-center-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:20px;align-items:start}.member-home-center .home-center-main,.member-home-center .home-center-side{display:grid;gap:20px;min-width:0}.member-home-center .panel{margin:0}.member-home-center .home-leg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.member-home-center .home-leg{padding:15px;background:#f5f9ff;border:1px solid #e0e9f4;border-radius:9px;min-width:0}.member-home-center .home-leg h3{margin:0 0 10px;font-size:15px}.member-home-center .home-leg p{margin:6px 0;font-size:13px}.member-home-center .muted,.member-home-center small{font-size:12px;line-height:1.7}.member-home-center p,.member-home-center strong,.member-home-center span,.member-home-center h2,.member-home-center h3{overflow-wrap:anywhere}.member-home-center .home-costs{display:flex;flex-wrap:wrap;gap:10px 18px;padding:14px 0;font-size:12px;color:#607b9d}.member-home-center .home-start-gate{padding:14px;background:#f0f6ff;border-radius:9px;margin:16px 0}.member-home-center .home-start-gate p{font-size:13px;margin:8px 0}.member-home-center .home-checks p{padding:10px 0;border-bottom:1px solid #edf1f7;font-size:13px;margin:0}.member-home-center .operation-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.member-home-center .operation-summary>div{padding:10px;font-size:12px}.member-home-center .home-program-details{margin:20px 0;padding:18px;background:#fff;border:1px solid #e0e9f4;border-radius:12px}.member-home-center .home-program-details summary{color:#426287}.member-home-center .home-programs{margin-top:16px}.member-home-center .live-list-row{align-items:flex-start}.member-home-center .live-list-row>div{min-width:0}.member-home-center .asset-chart{padding:14px}.member-home-center .asset-chart svg{display:block;max-width:100%}.member-home-center .actions{flex-wrap:wrap}.member-home-center .btn{white-space:normal;overflow-wrap:anywhere}.member-home-center .home-attention-row{font-size:13px;line-height:1.7}
@media(max-width:1000px){.member-home-center .home-center-layout{grid-template-columns:minmax(0,1fr)}.member-home-center .home-center-side{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.member-home-center .home-center-side,.member-home-center .home-leg-grid{grid-template-columns:minmax(0,1fr)}.member-home-center .board-filter{padding:14px;gap:12px}.member-home-center .board-filter>div{width:100%}.member-home-center .board-filter>small{margin:0;width:100%}.member-home-center .home-alert{padding:15px}.member-home-center .home-operation-focus{padding:16px}.member-home-center .kpi strong{font-size:22px;overflow-wrap:anywhere}.member-home-center .home-center-layout,.member-home-center .home-center-main,.member-home-center .home-center-side{gap:16px}.member-home-center .home-program-details{padding:16px}.member-home-center .operation-summary>div{padding:8px}.member-home-center .home-alert .btn{min-height:44px}}
.member-home-center .home-notice{display:block;color:inherit;text-decoration:none;padding:13px 0;border-bottom:1px solid #e0e9f4}.member-home-center .home-notice strong,.member-home-center .home-notice small{display:block}.member-home-center .home-notice small{color:#7187a1;margin-top:5px}.member-home-center .home-notice p{font-size:12px;line-height:1.7;color:#607b9d}.member-home-center .home-notice:hover strong{color:#176be6}
/* Shared mobile header: the sidebar brand padding must not widen the app bar. */
@media(max-width:600px){.appbar>.brand{padding:0!important;min-height:0;flex-shrink:1}.appbar>.brand img{max-width:100%;height:auto}.appbar-right{min-width:0}}

.program-badge{display:inline-block;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:700;background:#f3f4f6;color:#111;line-height:1.5;overflow-wrap:anywhere}.center-choice-meta{flex-wrap:wrap}
.member-risk-center .sr-programs button strong,.member-risk-center .sr-detail-head h2{color:#111}
.member-risk-center .sr-programs button span[data-risk-tone],.member-risk-center .sr-pill[data-risk-tone]{display:inline-block;width:fit-content;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:600;line-height:1.5;background:#f1f3f5;color:#5b6472}
.member-risk-center .sr-programs button span[data-risk-tone="running"],.member-risk-center .sr-pill[data-risk-tone="running"]{background:#e6f6ee;color:#21805c}
.member-risk-center .sr-programs button span[data-risk-tone="pending"],.member-risk-center .sr-pill[data-risk-tone="pending"]{background:#fff2e4;color:#a96716}
.member-risk-center .sr-programs button span[data-risk-tone="error"],.member-risk-center .sr-pill[data-risk-tone="error"]{background:#fff0f0;color:#c63e4b}
.member-risk-center .sr-programs button span[data-risk-tone="stopped"],.member-risk-center .sr-pill[data-risk-tone="stopped"]{background:#f1f3f5;color:#5b6472}

[data-fund-shell] [data-asset-board]{color:#172b45;background:#fff;border:1px solid #c3d1e2;border-radius:12px;padding:18px;min-width:0}
[data-fund-shell] [data-asset-board] .muted,[data-fund-shell] [data-asset-board] small,[data-fund-shell] [data-asset-board] dt{color:#4c5e73}
[data-fund-shell] .board-position dl>div,[data-fund-shell] .asset-chart,[data-fund-shell] .asset-composition,[data-fund-shell] [data-asset-pane]{background:#fff;border:1px solid #bdccdf;border-radius:10px;padding:16px;min-width:0}
[data-fund-shell] .board-position dl>div{background:#f0f4f9}[data-fund-shell] [data-asset-pane][hidden]{display:none!important}
[data-fund-shell] [data-asset-board] table{width:100%;border-collapse:collapse;color:#172b45;font-size:13px}
[data-fund-shell] [data-asset-board] th{background:#dce6f2;color:#172b45;font-weight:700;border-bottom:2px solid #9aaec7}
[data-fund-shell] [data-asset-board] td{background:#fff;color:#172b45;border-bottom:1px solid #c2cfdf}
[data-fund-shell] [data-asset-board] tbody tr:nth-child(even) td{background:#edf2f8}
[data-fund-shell] [data-asset-board] input,[data-fund-shell] [data-asset-board] select{color:#172b45;background:#fff;border-color:#a3b6ce}
[data-fund-shell] [data-asset-board] .board-tab{color:#45566d;border:1px solid #b9c9dd;background:#fff}
[data-fund-shell] [data-asset-board] .board-tab[aria-expanded=true]{background:#2567c5;color:#fff;border-color:#2567c5}
@media(max-width:600px){[data-fund-shell] [data-asset-board]{padding:12px}[data-fund-shell] [data-asset-pane]{padding:12px}}
[data-fund-shell] [data-asset-board] .kpi{background:#f3f6fa;border-color:#b9c9dc;box-shadow:none}
[data-fund-shell] [data-asset-board] .kpi-top span,[data-fund-shell] [data-asset-board] .board-filter label{color:#43536a;font-weight:600}
[data-fund-shell] .fund-top-tabs .board-tab{color:#45566d}[data-fund-shell] .fund-top-tabs .board-tab[aria-expanded=true]{color:#2567c5}

.member-message-dialog{height:fit-content;position:fixed;inset:0;margin:auto;box-sizing:border-box}.member-message-dialog p{white-space:pre-line;line-height:1.7;margin:18px 0}.member-message-dialog button{margin-top:8px}
.screen-content>:is(.panel,.grid,section,.board-layout)+:is(.panel,.grid,section,.board-layout){margin-top:20px}
/* Keep summary cards separated from the next section, including nested boards. */
.screen-content .kpis{margin-bottom:20px}
.screen-content .panel>:is(form,.table-wrap,.actions,.filterbar,.board-tabs)+:is(form,.table-wrap,.actions,.filterbar,.board-tabs){margin-top:16px}
.screen-content .panel>h3:not(:first-child){margin-top:20px}.screen-content .panel>h3{margin-bottom:12px}
.sidebar nav .admin-nav-footer{min-height:120px;box-sizing:border-box;padding:24px 16px 40px;color:#647791;border-top:1px solid #dbe5f1;margin-top:20px;display:flex;flex-direction:column;gap:6px;font-size:11px;flex-shrink:0}.admin-nav-footer strong{font-size:15px;color:#2874cf}
.arbitrage-market .board-detail-head{margin-bottom:16px}.arbitrage-market .actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.arbitrage-market .table-wrap{max-width:100%;overflow:auto}.arbitrage-market table{min-width:1350px;width:100%;border-collapse:collapse;font-size:12px}.arbitrage-market th,.arbitrage-market td{padding:12px;border-bottom:1px solid #bdccdf;text-align:right;white-space:nowrap}.arbitrage-market th{background:#e2eaf5;color:#172b45}.arbitrage-market td:first-child,.arbitrage-market th:first-child{text-align:left}.arbitrage-market tbody tr:nth-child(even){background:#f1f5fa}.arbitrage-notes{margin-top:20px;padding:16px;background:#f3f6fa;border:1px solid #c8d5e5;border-radius:10px;color:#43566f;font-size:12px}.arbitrage-notes p{margin:0 0 10px;line-height:1.7}.arbitrage-notes p:last-child{margin-bottom:0}

.arbitrage-market{box-sizing:border-box;width:100%}.arbitrage-market .board-detail-head>div{min-width:0;max-width:100%}.arbitrage-market .board-detail-head h2{display:block;white-space:normal;overflow-wrap:anywhere}.arbitrage-market .board-detail-head p,.arbitrage-market [data-arbitrage-updated],.arbitrage-notes p{white-space:normal;overflow-wrap:anywhere}.arbitrage-notes{box-sizing:border-box;max-width:100%}

/* Desktop menu starts below the page header; mobile drawer branding stays unchanged. */
@media(min-width:601px){.sidebar>.brand{display:none!important}.sidebar{padding-top:72px;box-sizing:border-box}.sidebar>.nav-label{padding-top:14px}}
.home-history-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}.home-history-filter label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#43566f}.home-history-filter input{box-sizing:border-box;min-width:0;padding:10px;border:1px solid #c8d5e5;border-radius:8px;background:#fff;color:#183758}.home-history-filter+.live-error:empty{display:none}[data-home-history-note]{display:block;margin-top:12px;line-height:1.6}
@media(max-width:600px){.home-history-filter label{width:calc(50% - 6px)}.home-history-filter input{width:100%;max-width:100%}.home-history-filter button{margin-left:0!important}}

.program-history-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.member-access-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#eaf3ff;border:1px solid #9dbce6;padding:14px 18px;border-radius:12px;margin-bottom:20px}.member-access-banner strong{overflow-wrap:anywhere;color:#173758;font-size:13px}

/* Desktop: one top logo, with navigation directly underneath it. */
@media(min-width:601px){.appbar>.brand{position:fixed;left:20px;top:0;z-index:51;padding:0!important;min-height:72px;max-width:200px}.sidebar{padding-top:82px}.sidebar>.nav-label{padding-top:0}}
.notice-kind-notice{background:#eaf2ff!important;color:#1855a0!important}.notice-kind-event{background:#f2eaff!important;color:#7141a2!important}.notice-kind-guide{background:#e7f6f1!important;color:#19694f!important}.notice-kind-news{background:#fff3df!important;color:#8a5713!important}.notice-kind-auto{background:#e7f3fc!important;color:#145c82!important}.support-state-OPEN{background:#fff3df!important;color:#885312!important}.support-state-CHECKING{background:#eaf2ff!important;color:#1855a0!important}.support-state-ANSWERED{background:#e7f6f1!important;color:#19694f!important}.support-row{padding:16px;border:1px solid #dde6ef;border-radius:10px;margin-bottom:12px}.support-row strong{color:#172d48}.signup-policies{border:1px solid #d7e3f1;border-radius:12px;padding:16px}.signup-policies button{margin:8px 0}.signup-policy-body{white-space:pre-wrap;overflow:auto;max-height:45vh;padding:20px;line-height:1.8}.fx-table{width:100%;min-width:650px}.fx-table th,.fx-table td{padding:12px;text-align:left;white-space:nowrap}.fx-table tbody tr:nth-child(even){background:#f3f7fc}
/* Admin data workspace: same shell width, independently scrolling tables. */
.data-management{display:grid;gap:20px;min-width:0}.dm-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dm-summary .panel{margin:0;padding:22px}.dm-summary strong{display:block;font-size:26px;margin:10px 0;color:#123052}.dm-summary small{color:#62758d}.dm-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;min-width:0}.dm-workspace>.panel{margin:0;min-width:0;padding:22px}.dm-types{align-self:start}.dm-types h2{margin:0 0 18px}.dm-types>button{display:block;width:100%;text-align:left;background:#fff;border:1px solid #dce6f1;border-radius:10px;padding:16px;margin:0 0 10px;color:#172b49;cursor:pointer}.dm-types>button[aria-pressed=true]{background:#edf6ff;border-color:#8abfff;box-shadow:inset 3px 0 #1670ef}.dm-types strong{display:block;font-size:15px}.dm-types small{display:block;color:#62758d;margin-top:7px;line-height:1.5}.dm-content{display:grid;gap:18px;align-content:start}.dm-content h2,.dm-content h3{margin:0}.dm-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #dce6f1;padding-bottom:12px}.dm-tabs [aria-pressed=true]{background:#edf6ff;color:#0861de;border-color:#90befe}.dm-content .center-filters{margin:0}.dm-content .table-wrap{max-width:100%;overflow-x:auto}.dm-content table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}.dm-content th{background:#eef5fd;text-align:left;color:#284363}.dm-content th,.dm-content td{padding:12px;border-bottom:1px solid #e4edf7}.dm-content tbody tr{cursor:pointer}.dm-content tbody tr:hover,.dm-content tbody tr[aria-selected=true]{background:#edf6ff}.dm-detail{background:#f4f8fd;border:1px solid #dce6f1;border-radius:10px;padding:18px}.dm-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.dm-detail dt{color:#62758d;font-size:12px}.dm-detail dd{margin:5px 0;overflow-wrap:anywhere}.dm-guide{margin:0!important}.dm-state-OK{color:#087943;background:#e8f8ef}.dm-state-DELAYED,.dm-state-EMPTY{color:#986100;background:#fff4df}.dm-state-ERROR{color:#b42318;background:#fff0ed}.dm-state{border-radius:20px;padding:4px 9px;display:inline-block;font-size:12px}.dm-export{justify-content:flex-end}.dm-guide p{line-height:1.7}.data-management [hidden]{display:none!important}.dm-original{max-width:850px;width:calc(100% - 40px);max-height:80vh;border:1px solid #cbd9ec;border-radius:14px;padding:24px}.dm-original pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:55vh;overflow:auto;background:#f4f8fd;padding:16px}.dm-original::backdrop{background:#13274166}
@media(max-width:1100px){.dm-workspace{grid-template-columns:210px minmax(0,1fr)}.dm-workspace>.panel{padding:16px}}
@media(max-width:700px){.dm-summary{grid-template-columns:1fr}.dm-summary .panel{padding:16px}.dm-workspace{grid-template-columns:1fr}.dm-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dm-types h2{grid-column:1/-1}.dm-types>button{margin:0;padding:12px}.dm-content .center-filters{display:flex;flex-wrap:wrap}.dm-detail dl{grid-template-columns:1fr}.dm-export{flex-wrap:wrap}.dm-content table{min-width:700px}}

.data-management>.live-error:empty{display:none}.data-management>.board-detail-head h2{margin:0;font-size:22px}.dm-content .pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.dm-content .page-button{border:1px solid #d4e2f3;background:#fff;color:#245286;border-radius:7px;padding:8px 12px;cursor:pointer}.dm-content .page-button[aria-current=page]{background:#176ced;color:#fff;border-color:#176ced}
/* Integrated system log workspace within the existing admin shell. */
.system-logs{display:grid;gap:20px;min-width:0}.system-logs>.live-error:empty{display:none}.system-logs>.board-detail-head h2{font-size:22px;margin:0}.system-logs .actions{display:flex;gap:10px;flex-wrap:wrap}.sl-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sl-summary>.panel{margin:0;padding:20px}.sl-summary strong{font-size:27px;display:block;margin-top:10px}.sl-summary .sl-error{color:#b42332}.sl-summary .sl-warn{color:#a66400}.system-logs>.center-filters{margin:0}.sl-repeats{margin:0!important;padding:20px!important}.sl-repeats h3{margin:0 0 14px}.sl-group{display:flex;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #dce6f2}.sl-group:last-child{border:0}.sl-group strong{font-size:13px;color:#233e60}.sl-group small{color:#637a97}.sl-workspace{display:grid;grid-template-columns:minmax(0,44%) minmax(0,1fr);gap:20px;min-width:0}.sl-workspace>.panel{margin:0;padding:22px;min-width:0}.sl-list h2,.sl-detail h2,.sl-detail h3{margin:0}.sl-levels,.sl-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.sl-levels [aria-pressed=true],.sl-tabs [aria-pressed=true]{background:#edf5ff;color:#0862df;border-color:#86b6f8}.sl-choice{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #dce6f2;background:#fff;color:#183653;padding:16px 12px;cursor:pointer}.sl-choice[aria-pressed=true]{background:#edf5ff;box-shadow:inset 3px 0 #1769e9}.sl-choice>strong{display:block;margin:10px 0;font-size:15px;overflow-wrap:anywhere}.sl-choice>small{display:block;color:#607793;margin-top:6px;overflow-wrap:anywhere;line-height:1.6}.sl-choice-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#667d99}.sl-level{padding:4px 9px;border-radius:20px;font-size:12px;display:inline-block}.sl-level-ERROR{background:#fff0f1;color:#b42332}.sl-level-WARN{background:#fff4df;color:#956000}.sl-level-INFO{background:#eaf3ff;color:#1861b5}.sl-detail{align-self:start}.sl-detail .center-metadata{margin-top:18px}.sl-detail .center-metadata dd{margin:6px 0 0;overflow-wrap:anywhere}.sl-message{padding:18px;background:#edf5fd;border:1px solid #d2e3f7;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.sl-raw{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#f3f7fc;border:1px solid #dce6f1;border-radius:10px;max-height:450px;overflow:auto;font-size:12px}.sl-related{display:block;background:#fff;border:0;border-bottom:1px solid #dce6f1;text-align:left;width:100%;padding:12px 0;color:#315987;cursor:pointer;overflow-wrap:anywhere}.sl-note-form{display:grid;gap:10px;margin-top:20px}.sl-note-form textarea{box-sizing:border-box;width:100%;min-height:90px;border:1px solid #cbdcf0;border-radius:9px;padding:12px;resize:vertical}.sl-note{padding:14px;background:#f6f9fe;border:1px solid #dce6f1;border-radius:9px;margin-top:12px}.sl-note p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.sl-note small{color:#627893}.sl-guide{margin:0!important}.sl-guide p{line-height:1.8}.system-logs .pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:18px}.system-logs .page-button{padding:8px 12px;background:#fff;border:1px solid #d4e2f3;color:#245286;border-radius:7px;cursor:pointer}.system-logs .page-button[aria-current=page]{background:#176ced;color:#fff}.system-logs [hidden]{display:none!important}.sl-detail .btn{max-width:100%;white-space:normal}.sl-related:hover{background:#f2f7fd}.sl-choice:focus-visible,.sl-related:focus-visible{outline:2px solid #2679ef;outline-offset:-2px}
@media(max-width:1000px){.sl-workspace{grid-template-columns:minmax(0,1fr)}.sl-summary{gap:10px}}
@media(max-width:600px){.sl-summary{grid-template-columns:1fr}.sl-workspace>.panel{padding:16px}.system-logs .center-filters label{max-width:100%;min-width:0;width:100%}.system-logs .center-metadata{grid-template-columns:1fr}.sl-choice{padding:14px 10px}}

.notice-prefix{font-weight:800}.notice-prefix-notice{color:#175cd3}.notice-prefix-news{color:#b54708}.notice-prefix-event{color:#6941c6}.notice-prefix-urgent{color:#b42318}.recipient-choices{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.recipient-choices .live-check{padding:8px;border:1px solid #d0d5dd;border-radius:8px}
.notice-kind-urgent{background:#fee4e2;color:#b42318;border-color:#fecdca}.account-layout{grid-template-columns:minmax(280px,34%) minmax(0,1fr)}.account-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.account-filter{padding:16px}.account-filter-selects{display:grid;grid-template-columns:1fr 1fr;gap:10px}.account-filter-selects label{min-width:0;display:grid;gap:6px}.account-filter select,.account-filter input{width:100%;min-width:0}.account-row{width:100%;border:0;border-bottom:1px solid #e3ecf7;background:white;text-align:left;padding:16px;display:grid;gap:8px;color:#18375c;cursor:pointer}.account-row[aria-pressed=true]{background:#eaf3ff;box-shadow:inset 3px 0 #246bea}.account-row small{overflow-wrap:anywhere}.account-row-meta{display:flex;gap:6px;flex-wrap:wrap}.account-status{border-radius:20px;padding:4px 9px;font-size:12px;background:#f2f4f7;color:#475467}.account-status-NORMAL{background:#dcfae6;color:#067647}.account-status-ATTENTION,.account-status-UNCHECKED{background:#fff1d6;color:#93370d}.account-status-FAILED{background:#fee4e2;color:#b42318}.account-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.account-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-info-grid>div{border:1px solid #e3ecf7;border-radius:10px;padding:12px;overflow-wrap:anywhere}.account-info-grid span{display:block;color:#687f9e;font-size:12px;margin-bottom:8px}.account-diagnostic{padding:14px;border-radius:10px;background:#f4f8ff;margin:16px 0}.account-diagnostic-FAILED{background:#fff1f0;color:#b42318}.account-diagnostic-ATTENTION{background:#fff7e8;color:#93370d}.account-history-row{padding:12px 0;border-bottom:1px solid #e3ecf7}.account-manager .center-detail{min-width:0}.account-manager .center-detail h2{overflow-wrap:anywhere}@media(max-width:1000px){.account-layout{grid-template-columns:1fr}.account-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.account-info-grid{grid-template-columns:1fr}.account-detail-actions .btn{flex:1 1 auto}.account-filter-selects{grid-template-columns:1fr}}

[data-account-pages]{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;flex-wrap:wrap}

.account-filter-selects select{padding:10px 11px;min-height:44px;border:1px solid #d9e5f3;border-radius:9px;background:#fff;color:#183b62;font:inherit}.account-layout{gap:18px;border:0;background:transparent;overflow:visible}.account-layout>.center-list,.account-layout>.center-detail{background:#fff;border:1px solid #dce7f3;border-radius:14px;overflow:hidden}[data-account-count="NORMAL"]{color:#067647!important}[data-account-count="attention"]{color:#b54708!important}[data-account-count="FAILED"]{color:#b42318!important}

/* Integrated settings editor. */
.settings-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;align-items:start}.settings-nav,.settings-detail{padding:22px!important;background:#fff;border:1px solid #dce8f7;border-radius:14px}.settings-nav h2{margin:0 0 20px}.settings-nav input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d6e3f3;border-radius:8px}.settings-nav nav{display:grid;gap:10px;margin-top:24px}.settings-group{display:flex;align-items:center;gap:12px;padding:16px 14px;border:1px solid #dce8f7;background:#fff;border-radius:9px;color:#243d64;text-align:left;cursor:pointer}.settings-group small{margin-left:auto}.settings-group[aria-pressed=true]{background:#1765ed;color:#fff;border-color:#1765ed}.settings-group-icon{font-size:21px}.settings-head{display:flex;justify-content:space-between;gap:15px}.settings-head h2{margin:0 0 10px}.settings-head small{display:block;color:#7186a8;margin-top:10px}.settings-tabs{display:flex;gap:16px;border-bottom:1px solid #e1ebf6;margin:22px 0}.settings-tabs button{border:0;background:none;padding:14px 18px;color:#7083a4;cursor:pointer;border-bottom:3px solid transparent}.settings-tabs button[aria-pressed=true]{color:#1765ed;border-bottom-color:#1765ed;font-weight:700}.settings-row{display:grid;grid-template-columns:minmax(190px,1fr) minmax(180px,1fr) auto;align-items:center;gap:12px;padding:19px 0;border-bottom:1px solid #e8eef7}.settings-row small{display:block;color:#7186a8;font-size:12px;margin-top:7px}.settings-row select,.settings-row input{width:100%;box-sizing:border-box;border:1px solid #d6e3f3;border-radius:8px;padding:11px;background:#fff;color:#223d65;font:inherit}.settings-row input{grid-column:span 2}.settings-readonly{padding:11px;background:#f2f6fb;border-radius:8px;color:#637c9c;font-size:13px}.settings-lock{font-size:11px;color:#7186a8;white-space:nowrap;background:#f0f4f9;border-radius:12px;padding:4px 8px}.settings-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:22px}.settings-lower{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.settings-card{border:1px solid #dce8f7;border-radius:10px;padding:16px;min-width:0}.settings-card h3{font-size:15px;margin:0 0 14px}.settings-card h3:not(:first-child){margin-top:22px}.settings-table-wrap{overflow:auto}.settings-table-wrap table{width:100%;font-size:12px;border-collapse:collapse}.settings-table-wrap th{background:#f1f6fd;text-align:left;padding:9px}.settings-table-wrap td{padding:10px 8px;border-bottom:1px solid #e4ecf6;vertical-align:top;overflow-wrap:anywhere}.settings-table-wrap td:last-child{color:#1765ed}.settings-example{background:#fff0f2;border:1px solid #ffd9df;border-radius:8px;padding:12px}.settings-history-row{padding:12px 0;border-bottom:1px solid #e5edf7}.settings-history-row strong,.settings-history-row small{display:block;margin-bottom:5px}.settings-history-row small{color:#7186a8;font-size:12px}.settings-impact{padding:12px;border-radius:8px;background:#fff8e8;color:#9c650c}.site-maintenance{border:1px solid #ffe0a3;background:#fff8e8;color:#825805;padding:14px 18px;border-radius:9px;margin-bottom:18px;overflow-wrap:anywhere}.settings-manager [data-settings-message]{color:#11844c}.settings-tabs button:focus-visible,.settings-group:focus-visible{outline:3px solid #78aeff;outline-offset:3px}@media(max-width:1150px){.settings-layout{grid-template-columns:220px minmax(0,1fr)}.settings-lower{grid-template-columns:1fr}.settings-row{grid-template-columns:1fr 1fr}.settings-lock{justify-self:start}}@media(max-width:800px){.settings-layout{grid-template-columns:1fr}.settings-nav nav{grid-template-columns:1fr 1fr;margin-top:14px}.settings-group{padding:12px 10px;font-size:12px}.settings-head{display:block}.settings-row{grid-template-columns:1fr}.settings-row input{grid-column:auto}.settings-tabs{gap:2px}.settings-tabs button{padding:12px 10px}.settings-nav,.settings-detail{padding:16px!important}.settings-head small{margin-bottom:10px}.settings-actions .btn{flex:1}.settings-lock{display:none}}

.status-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.status-kpis>.panel{padding:22px!important;border:1px solid #dce8f7;border-radius:13px}.status-kpis span,.status-kpis small{display:block;color:#6b82a2}.status-kpis strong{display:block;font-size:26px;color:#173760;margin:15px 0;overflow-wrap:anywhere}.status-kpis small{font-size:11px;line-height:1.6}.status-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.status-list,.status-detail{padding:22px!important;min-width:0;border:1px solid #dce8f7;border-radius:14px}.status-list input{padding:12px;border:1px solid #d6e3f3;border-radius:8px;width:100%;box-sizing:border-box}.status-list h2{margin:0 0 18px}.status-list [data-status-services]{display:grid;margin-top:18px}.status-service{display:flex;align-items:center;gap:12px;background:#fff;border:0;border-bottom:1px solid #e7eef8;padding:18px 5px;text-align:left;color:#284468;cursor:pointer;width:100%}.status-service div{flex:1;min-width:0}.status-service strong,.status-service small{display:block}.status-service small{color:#7289a8;font-size:11px;margin-top:6px}.status-service[aria-pressed=true]{background:#edf5ff;border-left:3px solid #1765ed;border-radius:8px;padding-left:10px}.status-service-icon{font-size:22px;color:#1765ed;min-width:28px;text-align:center}.status-badge{display:inline-block;padding:5px 9px;border-radius:7px;background:#f0f4fa;color:#6a7f9e;font-size:11px;white-space:nowrap}.status-NORMAL,.status-CONNECTED{color:#087944;background:#e8fbf1}.status-ATTENTION,.status-PERMISSION_REQUIRED{color:#985e04;background:#fff3d8}.status-ERROR{color:#b52c3d;background:#ffe9ed}.status-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.status-head h2{margin:0 0 8px}.status-head small{display:block;margin-bottom:12px;color:#7289a8;font-size:11px}.status-resource-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 24px}.status-metric{border:1px solid #dfebfa;border-radius:9px;padding:14px;min-width:0}.status-metric span,.status-metric small{display:block;font-size:11px;color:#7289a8}.status-metric strong{display:block;font-size:23px;color:#1c3b67;margin:13px 0;overflow-wrap:anywhere}.status-detail [data-status-pane]>h3{font-size:16px;margin:25px 0 12px}.status-detail svg{display:block;width:100%;background:#f8fbff;border-radius:9px}.status-lower{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.status-history{margin-top:14px}.status-history h3{margin:7px 0 18px}.status-alert{padding:10px;border:1px solid #ffe1b0;background:#fff9ed;border-radius:7px;font-size:12px;line-height:1.7}.status-alert .status-badge{margin-right:8px}.status-ok{color:#12825a;font-size:13px}.status-footnote{font-size:12px;margin-top:18px}.status-cost-head{display:flex;justify-content:space-between;align-items:center;border:1px solid #dce8f7;border-radius:10px;padding:22px;background:#f5f9ff}.status-cost-head strong{font-size:26px;overflow-wrap:anywhere}.status-link-form{display:grid;gap:12px;border:1px solid #d5e6fb;padding:18px;border-radius:9px;margin:18px 0}.status-link-form label{display:grid;gap:8px;font-size:13px}.status-link-form input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d6e3f3;border-radius:8px}.status-link-form p{line-height:1.6;margin:3px 0}.status-list .status-badge{font-size:10px;padding:4px 6px}.status-manager [data-status-message]{color:#12825a}@media(max-width:1200px){.status-layout{grid-template-columns:260px minmax(0,1fr)}.status-resource-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.status-lower{grid-template-columns:1fr}}@media(max-width:950px){.status-layout{grid-template-columns:1fr}.status-list [data-status-services]{grid-template-columns:1fr 1fr;gap:6px}.status-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.status-service{padding:14px 4px}.status-head{flex-wrap:wrap}}@media(max-width:500px){.status-list,.status-detail{padding:16px!important}.status-list [data-status-services]{grid-template-columns:1fr}.status-kpis>.panel{padding:15px!important}.status-kpis strong{font-size:21px}.status-resource-cards{grid-template-columns:1fr 1fr}.status-metric{padding:12px}.status-metric strong{font-size:20px}.status-cost-head strong{font-size:22px}.status-alert{overflow-wrap:anywhere}}
/* Administrator access: list + permission detail */
.access-toolbar,.access-detail-head,.access-review-head,.access-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.access-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.access-kpis article,.access-list,.access-detail,.access-pending{background:#fff;border:1px solid #dce8fa;border-radius:13px;padding:22px;box-shadow:0 5px 16px #17376904}.access-kpis span{display:block;color:#7185a4;font-size:13px}.access-kpis strong{display:block;font-size:27px;margin-top:10px;color:#17365d}.access-layout{display:grid;grid-template-columns:minmax(260px,30%) minmax(0,1fr);gap:18px}.access-list h2,.access-detail h2,.access-pending h2{font-size:19px;margin:0 0 18px}.access-list h2 small{font-size:12px;color:#8293ac}.access-list form{display:grid;gap:10px}.access-manager label,.access-accept label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#63799b}.access-manager input,.access-manager select,.access-manager textarea,.access-accept input{padding:10px 12px;border:1px solid #d7e3f5;border-radius:7px;font:inherit;background:#fff;min-width:0;width:100%;box-sizing:border-box}.access-manager textarea{min-height:80px;resize:vertical}.access-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #edf2fa;background:white;padding:17px 10px;cursor:pointer;color:#203d65;border-radius:7px;overflow-wrap:anywhere}.access-row[aria-pressed=true]{background:#edf5ff;box-shadow:inset 3px 0 #2873f7}.access-row strong{font-size:15px;display:block}.access-row small{display:block;margin:6px 0;color:#7a8eaa;font-size:12px}.access-row .badge{margin-right:5px}.access-manager nav{display:flex;gap:8px;justify-content:center;align-items:center;margin-top:18px;font-size:12px}.access-detail-head p{margin:6px 0;overflow-wrap:anywhere}.access-detail-head .access-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.access-tabs{display:flex;border-bottom:1px solid #e3ebf8;gap:4px;margin:20px 0}.access-tabs button{background:transparent;border:0;color:#7c8ba7;padding:12px 14px;border-bottom:3px solid transparent;font:inherit;cursor:pointer}.access-tabs button[aria-selected=true]{border-color:#2474f8;color:#2474f8}.access-table-wrap{overflow-x:auto}.access-permissions{border-collapse:collapse;width:100%;font-size:13px;min-width:460px}.access-permissions th,.access-permissions td{padding:10px 12px;border-bottom:1px solid #eaf0fa;text-align:center}.access-permissions th:first-child,.access-permissions td:first-child{text-align:left}.access-permissions thead{background:#f2f6fd;color:#6b84aa}.access-permissions input[type=checkbox],.access-temp input[type=checkbox]{width:17px;height:17px;accent-color:#2874f7}.access-permissions tbody tr:nth-child(even){background:#fcfdff}.access-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.access-subgrid section{border:1px solid #e0eafa;border-radius:10px;padding:16px}.access-subgrid h3{font-size:15px;margin:0 0 12px}.access-temp{display:flex!important;flex-direction:row!important;align-items:center;margin:12px 0}.access-diff{display:flex;gap:8px;flex-wrap:wrap}.access-footer{border-top:1px solid #e5edf9;margin-top:18px;padding-top:18px}.access-pending{margin-top:18px}.access-pending-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;align-items:center;border-bottom:1px solid #edf2fa;overflow-wrap:anywhere}.access-footnote{margin-top:16px;font-size:12px}.access-dialog{border:1px solid #dbe7f8;border-radius:14px;padding:25px;max-width:620px;width:calc(100% - 48px);box-sizing:border-box;color:#244369}.access-dialog::backdrop{background:#18325455}.access-dialog form{display:grid;gap:14px}.access-dialog h2{margin-top:0;font-size:21px}.access-dialog .actions{margin-top:18px}.access-review-list{max-height:230px;overflow:auto;background:#f5f9ff;border-radius:8px;padding:12px;font-size:13px}.access-review-list p{margin:8px 0;overflow-wrap:anywhere}.access-accept{max-width:600px;margin:40px auto;padding:28px;background:#fff;border:1px solid #dce8fa;border-radius:13px}.access-accept form{display:grid;gap:14px}.access-manager button:disabled{cursor:not-allowed;opacity:.5}.access-inline-note{font-size:12px;color:#8b661a;background:#fff5de;border-radius:7px;padding:9px;margin:10px 0}.access-editor-mode{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.access-basic{display:grid;gap:14px;max-width:540px}.access-data-table{width:100%;border-collapse:collapse;min-width:430px;font-size:12px}.access-data-table td,.access-data-table th{padding:12px;border-bottom:1px solid #e7eef9;text-align:left;overflow-wrap:anywhere}.access-data-table th{background:#f2f7ff;color:#7488a7}.access-danger{border-color:#f5b9bc!important;color:#d75059!important}.access-muted{font-size:12px;color:#8a9bb3}
@media(max-width:1150px){.access-layout{grid-template-columns:280px minmax(0,1fr)}.access-subgrid{grid-template-columns:1fr}.access-list,.access-detail{padding:17px}.access-tabs button{padding:12px 8px;font-size:13px}}
@media(max-width:850px){.access-layout{grid-template-columns:1fr}.access-list form{grid-template-columns:1fr 1fr}.access-list form label:first-child{grid-column:1/-1}.access-list form button{align-self:end}.access-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.access-dialog{padding:18px}.access-pending-row{align-items:flex-start;flex-wrap:wrap}.access-tabs button{flex:1}.access-table-wrap{max-width:100%}.access-toolbar .actions{width:100%}.access-kpis article{padding:18px}.access-detail-head{align-items:flex-start}.access-footer .actions{width:100%;justify-content:flex-end}}
.access-manager,.access-layout>*,.access-subgrid>section,.access-detail-head>div{min-width:0}
@media(max-width:850px){.access-layout{grid-template-columns:minmax(0,1fr)}.access-table-wrap{width:100%;min-width:0}.access-subgrid{grid-template-columns:minmax(0,1fr)}}
.access-detail-head h2{overflow-wrap:anywhere}
.access-layout{align-items:start}.access-table-wrap:has(.access-permissions){max-height:540px;overflow:auto;border:1px solid #e5edf9;border-radius:8px}.access-permissions thead th{position:sticky;top:0;background:#f2f6fd;z-index:2}.access-permissions th:first-child,.access-permissions td:first-child{position:sticky;left:0;background:#fff;z-index:1}.access-permissions thead th:first-child{z-index:3;background:#f2f6fd}

/* Rebalancing: integrated operations workspace. */
.rebalance-manager{min-width:0}.rb-toolbar,.rb-heading,.rb-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.rb-toolbar{justify-content:space-between}.rb-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.rb-kpis article,.rb-list,.rb-detail{background:#fff;border:1px solid #dce5ef;border-radius:14px;padding:20px;min-width:0}.rb-kpis span{display:block;color:#64748b;font-size:13px}.rb-kpis strong{display:block;font-size:28px;margin-top:8px;color:#1e3a5f}.rb-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.rb-list form{display:grid;gap:12px;margin:14px 0}.rb-list label{display:grid;gap:6px;font-size:13px}.rb-row{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;text-align:left;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:white;gap:6px;margin:10px 0;color:#334155}.rb-row.active{background:#eff6ff;border-color:#60a5fa}.rb-row small,.rb-row>span:not(.rb-badge){grid-column:1/-1}.rb-row small{color:#64748b}.rb-list nav,.rb-detail nav{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:16px;font-size:12px}.rb-detail *,.rb-list *{overflow-wrap:anywhere}.rb-heading h2{margin:0;flex:1}.rb-environment{font-size:12px;color:#64748b}.rb-badge{display:inline-block;align-self:start;padding:4px 9px;border-radius:20px;background:#edf2f7;color:#64748b;font-size:12px;white-space:nowrap}.rb-ACTIVE,.rb-OK,.rb-DONE{background:#e1f7ef;color:#087c57}.rb-WAITING,.rb-RESERVED{background:#fff3d5;color:#996400}.rb-ATTENTION,.rb-FAILED,.rb-ERROR,.rb-UNKNOWN{background:#ffe8e8;color:#bc3434}.rb-phase,.rb-note{background:#f0f6ff;padding:12px;border-radius:9px;color:#315984}.rb-tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid #e2e8f0;gap:5px;margin:20px 0}.rb-tabs button{border:none;border-radius:0}.rb-tabs [aria-selected=true]{color:#2563eb;border-bottom:3px solid #3b82f6}.rb-allocation,.rb-card{border:1px solid #e2e8f0;border-radius:12px;padding:18px;margin-bottom:16px;min-width:0}.rb-allocation{background:#f8fbff}.rb-allocation h3,.rb-card h3{margin:0 0 14px;font-size:16px}.rb-bar{display:flex;height:14px;background:#e2e8f0;border-radius:9px;overflow:hidden;margin-top:14px}.rb-bar span:first-child{background:#3b82f6}.rb-bar span:last-child{background:#26b9ad}.rb-subgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rb-card p{display:flex;gap:12px;justify-content:space-between;font-size:13px}.rb-card p span{color:#64748b}.rb-card p strong{text-align:right}.rb-actions{margin:18px 0}.rb-history{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-bottom:1px solid #e2e8f0;padding:14px 0}.rb-history small{grid-column:1/-1;color:#64748b}@media(max-width:1000px){.rb-layout{grid-template-columns:260px minmax(0,1fr)}.rb-card p{flex-wrap:wrap}.rb-card p strong{text-align:left}}@media(max-width:850px){.rb-layout{grid-template-columns:minmax(0,1fr)}.rb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-subgrid{grid-template-columns:minmax(0,1fr)}.rb-detail,.rb-list{padding:16px}.rb-tabs button{padding:8px}.rb-list nav{flex-wrap:wrap}}
.rb-list input,.rb-list select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dce5ef;border-radius:9px;padding:10px 12px;background:white;color:#334155;font:inherit}.rb-list input:focus,.rb-list select:focus{outline:2px solid #bfdbfe;outline-offset:1px}.rb-EXECUTING{background:#e6f0ff;color:#2563eb}

/* Strategy test workspace: isolated from production trading controls. */
.strategy-test-manager{min-width:0}.st-toolbar,.st-heading,.st-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.st-toolbar{justify-content:space-between}.st-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.st-kpis article,.st-list,.st-detail{background:white;border:1px solid #dce5ef;border-radius:14px;padding:20px;min-width:0}.st-kpis span{display:block;color:#64748b;font-size:13px}.st-kpis strong{display:block;font-size:28px;margin-top:8px;color:#1e3a5f}.st-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.st-list form{display:grid;gap:12px;margin:14px 0}.st-list label,.st-dialog label{display:grid;gap:6px;font-size:13px}.st-list input,.st-list select,.st-dialog input:not([type=checkbox]),.st-dialog select,.st-record-filter input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dce5ef;border-radius:9px;padding:10px 12px;background:white;color:#334155;font:inherit}.st-row{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;text-align:left;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:white;gap:6px;margin:10px 0;color:#334155}.st-row.active{background:#eff6ff;border-color:#60a5fa}.st-row small,.st-row>span:not(.st-badge){grid-column:1/-1}.st-row small{color:#64748b}.st-list nav,.st-detail nav{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:16px;font-size:12px;flex-wrap:wrap}.st-detail *,.st-list *,.st-dialog *{overflow-wrap:anywhere}.st-heading h2{margin:0;flex:1;min-width:0}.st-badge{display:inline-block;align-self:start;padding:4px 9px;border-radius:20px;background:#edf2f7;color:#64748b;font-size:12px;white-space:nowrap}.st-PASS,.st-DONE{background:#e1f7ef;color:#087c57}.st-ATTENTION,.st-REVIEW{background:#fff3d5;color:#996400}.st-FAILED,.st-FAIL,.st-INTERRUPTED{background:#ffe8e8;color:#bc3434}.st-QUEUED,.st-RUNNING{background:#e6f0ff;color:#2563eb}.st-tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid #e2e8f0;gap:5px;margin:20px 0}.st-tabs button{border:none;border-radius:0}.st-tabs [aria-selected=true]{color:#2563eb;border-bottom:3px solid #3b82f6}.st-card{border:1px solid #e2e8f0;border-radius:12px;padding:18px;margin-bottom:16px;min-width:0}.st-card h3{margin:0 0 14px;font-size:16px}.st-card p{display:flex;gap:12px;justify-content:space-between;font-size:13px}.st-card p span{color:#64748b}.st-card p strong{text-align:right;max-width:70%}.st-result-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.st-result-kpis>div{border:1px solid #dce5ef;border-radius:10px;padding:14px;background:#f6faff;min-width:0}.st-result-kpis small{display:block;color:#64748b}.st-result-kpis strong{display:block;margin-top:10px;color:#1e5fa1;font-size:19px}.st-card svg{display:block;width:100%;height:auto;background:#f5f9ff;border-radius:8px}.st-check{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px 0;border-bottom:1px solid #e2e8f0}.st-check small{grid-column:1/-1;color:#64748b}.st-note{color:#56708b;background:#f5f9ff;padding:12px;border-radius:9px;line-height:1.7;font-size:13px}.st-table-wrap{overflow-x:auto;max-width:100%;border:1px solid #e2e8f0;border-radius:10px}.st-table-wrap table{width:100%;border-collapse:collapse;min-width:580px;font-size:12px}.st-table-wrap td,.st-table-wrap th{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left}.st-table-wrap th{background:#f1f6ff;color:#3c5775}.st-record-filter{display:flex;gap:10px;margin-bottom:14px}.st-event{border-left:3px solid #74a9f8;padding:12px 16px;margin:12px 0;background:#f6faff;min-width:0}.st-event>small{display:block;margin-top:6px}.st-event p{font-size:13px;margin:8px 0}.st-actions{margin:18px 0}.st-actions .disabled{opacity:.5;cursor:default}.st-detail progress{width:100%;margin-top:14px;accent-color:#3b82f6}.st-dialog{width:min(740px,calc(100vw - 32px));max-height:90vh;box-sizing:border-box;overflow:auto;padding:24px;border:1px solid #dce5ef;border-radius:16px;color:#183758}.st-dialog::backdrop{background:rgba(24,55,88,.35)}.st-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.st-form-grid[hidden],.st-dialog [hidden]{display:none!important}.st-dialog input[type=checkbox]{width:20px;height:20px}.st-advanced{border:1px solid #e2e8f0;border-radius:10px;padding:14px;margin:14px 0}.st-advanced summary{cursor:pointer;font-size:13px}@media(max-width:1100px){.st-layout{grid-template-columns:260px minmax(0,1fr)}.st-result-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.st-layout{grid-template-columns:minmax(0,1fr)}.st-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.st-detail,.st-list{padding:16px}.st-tabs button{padding:8px}.st-card p{flex-wrap:wrap}.st-card p strong{text-align:left;max-width:100%}.st-dialog{padding:16px}.st-form-grid{grid-template-columns:minmax(0,1fr)}}

/* Member trade history: list and scoped stored-fill details. */
.th-center{color:#173354;min-width:0}.th-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.th-intro h2{margin:0;font-size:26px}.th-intro p{color:#71849e;margin:6px 0}.th-environment{background:#e9f2ff;color:#256fe8;padding:7px 12px;border-radius:20px;font-size:12px;white-space:nowrap}.th-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.th-metrics>div{background:white;border:1px solid #deebfa;border-radius:14px;padding:19px}.th-metrics small{display:block;color:#71849e}.th-metrics strong{display:block;font-size:27px;margin-top:9px}.th-metrics strong span{font-size:13px;margin-left:6px;color:#71849e}.th-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px;background:white;border:1px solid #deebfa;border-radius:14px}.th-filters .filter{flex:1 1 140px;min-width:0}.th-filters input,.th-filters select{width:100%;min-width:0;box-sizing:border-box}.th-filter-actions{display:flex;gap:8px}.th-group-note{font-size:12px;color:#71849e;line-height:1.7;margin:14px 2px}.th-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.th-list,.th-details{min-width:0;background:white;border:1px solid #deebfa;border-radius:16px;overflow:hidden}.th-list-heading,.th-list-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:18px}.th-list-heading h3,.th-details>h3{margin:0;font-size:17px}.th-list-heading span,.th-list-footer>span{font-size:12px;color:#71849e}.th-table-wrap{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.th-table-wrap table{width:100%;min-width:1080px;min-width:650px;border-collapse:collapse;font-size:12px}.th-table-wrap th{background:#f3f7fe;color:#71849e;text-align:left;font-weight:500;padding:13px 10px;white-space:nowrap}.th-table-wrap td{padding:14px 10px;border-bottom:1px solid #edf2f9;white-space:nowrap}.th-table-wrap td small{display:block;font-size:10px;color:#71849e;margin-top:5px}.th-table-wrap tr.is-selected td{background:#edf5ff}.th-table-wrap .th-number{text-align:right;font-variant-numeric:tabular-nums}.th-select{background:none;border:0;text-align:left;padding:0;color:inherit;cursor:pointer;font:inherit}.th-select:focus-visible{outline:2px solid #256fe8;outline-offset:5px;border-radius:3px}.th-select small{color:#256fe8!important}.th-side,.th-kind{display:inline-block;padding:4px 7px;border-radius:6px;font-size:11px}.th-buy,.th-kind{background:#eaf3ff;color:#256fe8}.th-sell{background:#fff0e0;color:#d8791a}.th-group-label{color:#256fe8!important}.th-profit{color:#089d73}.th-loss{color:#e55261}
.th-detail .th-profit{color:#15803d}.th-detail .th-loss{color:#dc2626}
html[data-theme="dark"] .th-detail .th-profit{color:#4ade80}html[data-theme="dark"] .th-detail .th-loss{color:#f87171}
.th-muted{color:#71849e;font-size:12px}.th-details{padding:20px;position:static;scroll-margin-top:88px;box-sizing:border-box}.th-detail[hidden]{display:none!important}.th-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.th-detail-heading h3{margin:4px 0;font-size:24px}.th-detail-heading p{font-size:12px;margin:0}.th-detail-heading>strong{font-size:24px}.th-detail-heading small{color:#71849e}.th-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e6eef8;border:1px solid #e6eef8;border-radius:12px;overflow:hidden;margin:20px 0 8px}.th-detail-grid>div{background:#f8fbff;padding:13px;min-width:0}.th-detail-grid dt,.th-fills dt{font-size:10px;color:#71849e;margin-bottom:6px}.th-detail-grid dd,.th-fills dd{margin:0;font-size:12px;font-weight:600;overflow-wrap:anywhere}.th-observed{font-size:10px;color:#71849e}.th-details h4{margin:24px 0 12px;font-size:14px}.th-fills{list-style:none;padding:0 0 0 14px;border-left:2px solid #dbeafe;margin:0 0 0 5px}.th-fills li{position:relative;border:1px solid #e2ebf8;border-radius:10px;padding:13px;margin:0 0 12px}.th-fills li:before{content:"";position:absolute;width:8px;height:8px;border:3px solid white;background:#256fe8;border-radius:50%;left:-23px;top:16px}.th-fills li>div{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}.th-fills small{font-size:10px;overflow-wrap:anywhere}.th-fills dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.th-help{font-size:12px;color:#71849e;line-height:1.8;margin:18px 0}.th-help summary{cursor:pointer;color:#42658e}.th-empty{padding:28px!important;color:#71849e;text-align:center}.th-center .sensitivity-pagination{margin:0;display:flex;gap:5px;flex-wrap:wrap}
@media(max-width:1200px){.th-workspace{grid-template-columns:minmax(0,1fr)}.th-details{position:static}.th-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.th-intro h2{font-size:22px}.th-intro p{font-size:12px}.th-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.th-metrics>div{padding:14px}.th-metrics strong{font-size:23px}.th-filters{padding:12px;gap:10px}.th-filters .filter{flex-basis:calc(50% - 10px)}.th-filter-actions{width:100%}.th-filter-actions .btn{flex:1}.th-details{padding:16px}.th-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-fills dl{grid-template-columns:repeat(2,minmax(0,1fr))}.th-list-heading,.th-list-footer{padding:14px}.th-detail-heading>strong{font-size:20px}}


.th-kind.th-futures-entry{background:#e8f1ff;color:#2157a5}.th-kind.th-futures-close{background:#fff0df;color:#9b4a0e}.th-kind.th-spot-entry{background:#e4f6ed;color:#126547}.th-kind.th-spot-close{background:#f1eafd;color:#7042a0}.th-kind.th-kind-pending{background:#eef1f5;color:#526174}

/* Horizontal strategy navigation; detail sits directly below the chosen program. */
[data-strategy-board] .board-layout{display:block}
[data-strategy-board] .board-list{display:block;border-right:0;border-bottom:1px solid #dce7f3}
.program-strip{display:flex;gap:12px;overflow-x:auto;padding:16px;scroll-snap-type:x proximity}
.program-strip>.board-choice{flex:0 0 190px;width:190px;border:1px solid #dce7f3;border-radius:12px;scroll-snap-align:start;padding:16px}
.program-strip>.board-choice[aria-pressed=true]{border-color:#438dec;background:#edf5ff;box-shadow:0 0 0 1px #438dec}
[data-live-program-list] .board-details{margin-top:16px}
[data-live-program-detail][hidden]{display:none!important}
.grade-access-dialog{width:min(440px,calc(100% - 32px));box-sizing:border-box;border:1px solid #dce7f3;border-radius:18px;padding:28px;color:#183454;text-align:center;box-shadow:0 20px 70px #122d5533}
.grade-access-dialog::backdrop{background:#10264266}
.grade-access-dialog h2{font-size:20px;margin:0 0 12px}.grade-access-dialog p{line-height:1.7;white-space:pre-line}
.grade-access-dialog dl{background:#f2f7ff;border-radius:12px;padding:16px;margin:20px 0;text-align:left}.grade-access-dialog dl div{display:flex;justify-content:space-between;gap:16px;padding:6px 0}.grade-access-dialog dd{margin:0;font-weight:700}.grade-access-dialog button{min-width:120px}
@media(max-width:700px){.program-strip>.board-choice{flex-basis:160px;width:160px}.program-strip{padding:12px;gap:10px}}

/* Mobile tables retain readable columns and scroll inside their own region. */
@media screen and (max-width:850px){
 .main,.content,.panel,.panel-body,.board-details,.board-detail{min-width:0;max-width:100%;box-sizing:border-box}
 .table-wrap,[class$="-table-wrap"],.mobile-table-scroll{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#9eb9d5 #edf3fa}
 .mobile-table-scroll{position:relative;border-radius:10px}
 .table-wrap>table,[class$="-table-wrap"]>table,.mobile-table-scroll>table{width:max-content;min-width:100%;max-width:none;table-layout:auto}
 .table-wrap>table th,.table-wrap>table td,[class$="-table-wrap"]>table th,[class$="-table-wrap"]>table td,.mobile-table-scroll>table th,.mobile-table-scroll>table td{white-space:nowrap;word-break:normal;overflow-wrap:normal;padding:12px 14px;line-height:1.55}
 .mobile-table-scroll>table td:has(p),.mobile-table-scroll>table td:has(.description){white-space:normal;min-width:12rem;max-width:26rem}
 .mobile-table-scroll>table .btn,.mobile-table-scroll>table button{white-space:nowrap;min-height:40px}
 .mobile-table-scroll[data-table-overflow="true"]::before{content:"좌우로 밀어서 표를 확인하세요";display:block;position:sticky;left:0;width:fit-content;max-width:100%;padding:8px 12px;color:#617b96;font-size:11px;background:#f5f9fe}
 .mobile-table-scroll:focus-visible{outline:2px solid #438dec;outline-offset:2px}
 .mobile-table-scroll::-webkit-scrollbar{height:7px}
 .mobile-table-scroll::-webkit-scrollbar-thumb{background:#9eb9d5;border-radius:8px}
}

.program-main-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}
.program-main-actions .program-history-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0}
@media(max-width:760px){
 .board-detail-head{flex-wrap:wrap;gap:16px}
 .board-detail-head .program-main-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
 .program-main-actions .program-history-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%}
 .program-main-actions .btn{white-space:normal;min-width:0;min-height:44px;text-align:center;line-height:1.5}
}


/* Selected blue sprout mascot, shared by member and administrator menus. */
.sidebar nav .sodam-nav-mascot{display:flex;flex-direction:column;align-items:center;gap:12px;box-sizing:border-box;flex-shrink:0;min-height:0;margin:20px 12px 0;padding:20px 0 28px;border-top:1px solid #dbe5f1;text-align:center;color:#122d55}
.sidebar nav .sodam-nav-mascot img{display:block;width:112px;max-width:100%;height:auto;object-fit:contain;filter:none}
.sidebar nav .sodam-nav-mascot p{margin:0;font-size:12px;font-weight:600;line-height:1.7;word-break:keep-all;overflow-wrap:break-word}
html[data-theme="dark"] .sidebar nav .sodam-nav-mascot{border-color:#31445e;color:#edf3fc}
@media(max-width:600px){.sidebar nav .sodam-nav-mascot img{width:96px}}

.strategy-management-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px;border-bottom:1px solid #dce6f1;padding-bottom:12px}.strategy-management-tabs button{min-height:44px;padding:10px 20px;border:1px solid #cbd9eb;border-radius:9px;background:transparent;color:inherit;font:inherit;cursor:pointer}.strategy-management-tabs button[aria-selected="true"]{background:#1765be;color:white;border-color:#1765be}.strategy-management-tabs button:focus-visible{outline:3px solid #68a4ee;outline-offset:3px}[data-strategy-management] [hidden]{display:none!important}[data-program-point-settings] h3{margin-top:24px}[data-program-point-settings] form{gap:12px;align-items:end}[data-program-point-settings] input{max-width:240px}

/* Keep wide mobile content reachable instead of clipping it at panel edges. */
@media screen and (max-width:850px){
 .layout,.screen-content,.screen-content>.grid,.screen-content>section{min-width:0;max-width:100%;box-sizing:border-box}
 .screen-content .panel{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .table-wrap,[class$="-table-wrap"],.table-scroll,.trade-table,.mobile-table-scroll{width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow-x:auto;touch-action:auto}
 .mobile-table-scroll :is(th,td).priority-low,.table-wrap :is(th,td).priority-low{display:table-cell}
 .tabs,.program-strip{max-width:100%;min-width:0;overflow-x:auto;touch-action:auto;-webkit-overflow-scrolling:touch}
 .tabs>*{flex-shrink:0}
}

/* Shared close-and-stop dialogs follow the SODAM member template. */
.stop-procedure-dialog .stop-procedure-program{padding:14px 16px;border-radius:10px;background:#f1f6ff;color:#183758;margin:18px 0}
.stop-procedure-dialog .stop-procedure-track{height:7px;border-radius:9px;background:#edf3fc;overflow:hidden;margin:22px 0}
.stop-procedure-dialog .stop-procedure-bar{height:100%;width:40%;border-radius:9px;background:#377cf6;animation:sodam-stop-progress 1.6s ease-in-out infinite}
.stop-procedure-dialog .stop-procedure-status{color:#3273da;margin-bottom:0}
@keyframes sodam-stop-progress{from{transform:translateX(-100%)}to{transform:translateX(350%)}}
@media(prefers-reduced-motion:reduce){.stop-procedure-dialog .stop-procedure-bar{animation:none;width:100%;opacity:.5}}


/* SODAM shared fund confirmation card. */
.fund-confirm-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid var(--border,#dfe8f3);border-radius:20px;background:var(--panel,#fff);color:var(--text,#173859);box-shadow:0 24px 90px #17385930}.fund-confirm-dialog::backdrop{background:#17385965;backdrop-filter:blur(3px)}.fund-confirm-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.fund-confirm-header h2{font-size:18px;margin:0}.fund-confirm-x{border:0;background:transparent;color:var(--muted,#6d829e);font-size:28px;width:40px;height:40px;cursor:pointer}.fund-confirm-hero{text-align:center;padding:22px 0}.fund-confirm-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 12px;border-radius:50%;background:#eaf3ff;color:#2679ef;font-size:30px;font-weight:700}.fund-confirm-hero h3{font-size:16px;margin:0 0 10px;color:#2679ef}.fund-confirm-amount{display:block;font-size:32px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.fund-confirm-route{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:10px;padding:16px;background:var(--surface,#f3f7fc);border-radius:12px;align-items:center}.fund-confirm-route div{display:grid;gap:6px;min-width:0}.fund-confirm-route small,.fund-confirm-route span{color:var(--muted,#6d829e);font-size:12px}.fund-confirm-route strong{font-size:14px;overflow-wrap:anywhere}.fund-confirm-route .fund-confirm-arrow{font-size:24px;text-align:center}.fund-confirm-details{margin:18px 0}.fund-confirm-details>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:12px 0;border-bottom:1px solid var(--border,#e6edf5);font-size:13px}.fund-confirm-details dt{color:var(--muted,#6d829e);flex-shrink:0}.fund-confirm-details dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}.fund-confirm-password{display:grid;gap:8px;font-size:13px;color:var(--muted,#6d829e)}.fund-confirm-password input{box-sizing:border-box;width:100%;padding:13px 14px;border:1px solid var(--border,#d6e3f2);border-radius:10px;font:inherit;background:var(--panel,#fff);color:var(--text,#173859)}.fund-confirm-password input:focus{outline:2px solid #2679ef;outline-offset:2px}.fund-confirm-note{font-size:12px;line-height:1.6;color:var(--muted,#6d829e);min-height:20px;margin:14px 0}.fund-confirm-actions{display:flex;flex-direction:column;gap:9px}.fund-confirm-actions .btn{box-sizing:border-box;justify-content:center;width:100%;min-height:44px;border-radius:10px}.fund-confirm-dialog [hidden]{display:none!important}.fund-confirm-dialog[data-state=complete] .fund-confirm-icon{background:#e2f7ec;color:#158669}.fund-confirm-dialog[data-state=complete] .fund-confirm-hero h3,.fund-confirm-dialog[data-state=complete] .fund-confirm-details>div:last-child dd{color:#158669}.fund-confirm-dialog[data-state=failed] .fund-confirm-icon{background:#ffedf0;color:#cc4e63}.fund-confirm-dialog[data-state=failed] .fund-confirm-hero h3{color:#cc4e63}html[data-theme=dark] .fund-confirm-dialog{background:#142238;color:#e5edf8;border-color:#33475f}html[data-theme=dark] .fund-confirm-route{background:#1c304a}html[data-theme=dark] .fund-confirm-details>div{border-color:#33475f}html[data-theme=dark] .fund-confirm-password input{background:#1c304a;color:#e5edf8;border-color:#33475f}html[data-theme=dark] .fund-confirm-hero h3{color:#78b6ff}html[data-theme=dark] .fund-confirm-dialog[data-state=complete] .fund-confirm-hero h3,html[data-theme=dark] .fund-confirm-dialog[data-state=complete] .fund-confirm-details>div:last-child dd{color:#69ddb0}@media(max-width:480px){.fund-confirm-dialog{padding:20px}.fund-confirm-amount{font-size:28px}.fund-confirm-route{padding:13px;gap:7px}.fund-confirm-details>div{gap:12px}}


[data-board-badge].badge.system-waiting{background:#fff0d9!important;color:#a65b00!important;border:1px solid #ffd39a}[data-board-badge].badge.system-waiting::before{background:#e88917}.balance-notice-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));padding:30px 26px;border:1px solid #e0e8f2;border-radius:18px;background:#fff;color:#173859;text-align:center;box-shadow:0 24px 80px #17385930}.balance-notice-dialog::backdrop{background:#17385965;backdrop-filter:blur(3px)}.balance-notice-icon{display:grid;place-items:center;margin:0 auto 16px;width:58px;height:58px;border-radius:50%;background:#fff0d9;color:#bc700a;font-size:30px;font-weight:700}.balance-notice-dialog h2{font-size:20px;margin:0 0 14px}.balance-notice-dialog p{font-size:15px;line-height:1.8;margin:0 0 24px;word-break:keep-all}.balance-notice-dialog .btn{width:100%;min-height:44px;border-radius:10px}html[data-theme=dark] .balance-notice-dialog{background:#142238;color:#e5edf8;border-color:#33475f}html[data-theme=dark] [data-board-badge].badge.system-waiting{background:#493019!important;color:#ffcb83!important;border-color:#815426}

/* SODAM wallet-card balance notice, design 2. */
.balance-notice-dialog{width:min(460px,calc(100vw - 32px));padding:28px;border-radius:18px;text-align:center}.balance-notice-icon{width:60px;height:60px;border-radius:16px;background:#fff2de;color:#d78619;margin-bottom:16px}.balance-notice-icon svg{width:34px;height:34px}.balance-notice-dialog h2{font-size:22px;font-weight:700;margin:0 0 12px}.balance-notice-dialog .balance-notice-message{font-size:14px;line-height:1.8;margin:0 0 20px}.balance-notice-card{padding:20px;border:1px solid #e3eaf3;border-radius:12px;background:#f5f8fc;margin-bottom:22px;text-align:left}.balance-notice-dialog .balance-notice-account{font-size:13px;font-weight:600;color:#47647d;margin:0 0 16px;line-height:1.5}.balance-notice-label{display:block;font-size:12px;color:#718096;margin-bottom:6px}.balance-notice-amount{display:block;font-size:26px;line-height:1.4;font-weight:700;overflow-wrap:anywhere;color:#173859;font-variant-numeric:tabular-nums}.balance-notice-requested{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #e0e8f2;margin-top:16px;padding-top:14px;font-size:13px;color:#607487}.balance-notice-requested strong{color:#173859;overflow-wrap:anywhere}.balance-notice-time{display:block;color:#718096;font-size:11px;line-height:1.5;margin-top:12px}.balance-notice-dialog .balance-notice-unavailable{margin:0;font-size:13px;color:#607487}.balance-notice-dialog .btn.primary{min-height:46px;font-size:15px;font-weight:600}html[data-theme=dark] .balance-notice-icon{background:#493019;color:#ffcb83}html[data-theme=dark] .balance-notice-card{background:#1b2c43;border-color:#33475f}html[data-theme=dark] .balance-notice-amount,html[data-theme=dark] .balance-notice-requested strong{color:#e5edf8}html[data-theme=dark] .balance-notice-requested{border-color:#33475f}html[data-theme=dark] .balance-notice-account,html[data-theme=dark] .balance-notice-time,html[data-theme=dark] .balance-notice-label,html[data-theme=dark] .balance-notice-unavailable{color:#a9bbcd}@media(max-width:480px){.balance-notice-dialog{padding:24px 20px}.balance-notice-card{padding:16px}.balance-notice-amount{font-size:23px}}


/* Selected strategy dialogs: start 01, stop 02; action before cancellation. */
.strategy-confirm-dialog{width:min(540px,calc(100vw - 32px));padding:28px;border-radius:20px}
.strategy-confirm-dialog .strategy-intro{color:#61758f;margin:0 0 22px}
.strategy-balances{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:20px 0}
.strategy-balance-card{background:#f3f8ff;border:1px solid #dce9fb;border-radius:12px;padding:16px;min-width:0}
.strategy-balance-card small{display:block;color:#61758f;margin-bottom:8px}.strategy-balance-card strong{font-size:21px;overflow-wrap:anywhere;color:#163b66}
.strategy-risk{padding:16px;background:#fff6e6;border:1px solid #ffe0a3;border-radius:12px;color:#a64c00;line-height:1.7;margin:20px 0}.strategy-risk span,.strategy-risk strong{display:block}
.strategy-confirm-dialog h3{font-size:17px}.strategy-consent{display:flex;gap:12px;align-items:center;cursor:pointer;margin:16px 0}.strategy-consent input{width:22px;height:22px;accent-color:#2679ef;flex:none}
.strategy-balance-note{color:#61758f;font-size:13px;line-height:1.6}.strategy-confirm-dialog .actions{display:flex;flex-wrap:nowrap;padding-top:18px;border-top:1px solid #e8eef6}.strategy-confirm-dialog .actions .btn{flex:1;min-width:0;justify-content:center}.strategy-confirm-dialog .btn:disabled{background:#bcc9da;color:white;border-color:#bcc9da;cursor:not-allowed;opacity:1}
.strategy-stop-steps{background:#f5f8fd;border:1px solid #e2eaf7;border-radius:12px;padding:18px}.strategy-stop-steps h3{margin:0 0 18px}.strategy-stop-steps ol{padding-left:25px;margin:0}.strategy-stop-steps li{padding-left:8px;margin:16px 0}.strategy-stop-steps li::marker{font-weight:700;color:#2679ef}.strategy-stop-steps li p{font-size:14px;line-height:1.6;color:#61758f;margin:6px 0}.strategy-confirm-dialog .btn.danger{background:#ed5057;border-color:#ed5057;color:white}
.strategy-success-dialog{text-align:center;width:min(520px,calc(100vw - 32px));padding:32px}.strategy-success-dialog img{display:block;object-fit:contain;margin:22px auto}.strategy-success-dialog h3{font-size:22px;color:#163b66}.strategy-success-dialog>.btn{width:100%;margin-top:16px}
@media(max-width:480px){.strategy-confirm-dialog{padding:20px}.strategy-balances{grid-template-columns:1fr}.strategy-confirm-dialog .actions .btn{padding:12px 8px}.strategy-success-dialog h2{font-size:21px}}

/* Separate instrument, account environment and run status in program cards. */
.program-strip>.board-choice .board-choice-meta{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0}.program-strip>.board-choice .board-choice-coins{display:block;width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #dce7f3;border-radius:8px;background:#ffffffa6;color:#536d88;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.program-strip>.board-choice .board-choice-tags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.program-strip>.board-choice .board-choice-tags .badge{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:28px;width:100%;padding:4px 5px;font-size:11px;line-height:1.4;white-space:normal;text-align:center}.program-strip>.board-choice .board-choice-tags [data-board-badge]::before{display:none}html[data-theme=dark] .program-strip>.board-choice .board-choice-coins{background:#1b2c43;border-color:#33475f;color:#b6c7db}@media(max-width:700px){.program-strip>.board-choice .board-choice-tags .badge{font-size:10px}.program-strip>.board-choice .board-choice-coins{padding:8px;font-size:11px}}


/* Asset movement notices extend the existing member center. */
.notice-kind-movement{background:#e4f7ef;color:#087c59;border:1px solid #bfe8d8}
.movement-amount{font-size:clamp(20px,3vw,30px);font-weight:800;color:#087c59;overflow-wrap:anywhere;margin:18px 0}
.movement-state{display:inline-block;padding:4px 10px;border-radius:20px;font-weight:700;font-size:12px}
.movement-state.is-complete{background:#e4f7ef;color:#087c59}.movement-state.is-failed{background:#fff0ee;color:#b43e32}
[data-notification-center] .center-message{white-space:pre-line;overflow-wrap:anywhere}
/* Stop completion design 2, after the same run is confirmed STOPPED. */
.strategy-stop-complete{box-sizing:border-box;width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:30px;border:1px solid #dfe8f3;border-radius:20px;background:#fff;color:#173859;text-align:center;box-shadow:0 24px 80px #17385930}.strategy-stop-complete::backdrop{background:#17385965;backdrop-filter:blur(3px)}.strategy-stop-complete-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;border:8px solid #e5f8ef;border-radius:50%;box-sizing:content-box;background:#18a267;color:#fff;font-size:36px;font-weight:700}.strategy-stop-complete h2{margin:0 0 10px;font-size:25px;word-break:keep-all}.strategy-stop-complete-intro{margin:0 0 24px;color:#61758f;font-size:14px}.strategy-stop-complete-summary{margin:0;padding:8px 20px;background:#f5f8fc;border:1px solid #e2eaf5;border-radius:12px;text-align:left}.strategy-stop-complete-summary>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e2eaf5}.strategy-stop-complete-summary>div:last-child{border-bottom:0}.strategy-stop-complete-summary dt{color:#61758f;font-size:14px;flex-shrink:0}.strategy-stop-complete-summary dd{margin:0;text-align:right;font-size:14px;font-weight:600;overflow-wrap:anywhere}.strategy-stop-complete-waiting{display:inline-block;padding:6px 12px;border:1px solid #ffd39a;border-radius:8px;background:#fff0d9;color:#a65b00}.strategy-stop-complete-encouragement{margin:24px 0 18px;padding-top:20px;border-top:1px solid #e8eef6;color:#61758f;font-size:14px}.strategy-stop-complete .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.strategy-stop-complete .actions .btn{min-height:46px;justify-content:center;padding:12px 8px;white-space:normal}.strategy-stop-complete .btn:focus-visible{outline:3px solid #8dbbff;outline-offset:3px}html[data-theme=dark] .strategy-stop-complete{background:#142238;color:#e5edf8;border-color:#33475f}html[data-theme=dark] .strategy-stop-complete-summary{background:#1b2c43;border-color:#33475f}html[data-theme=dark] .strategy-stop-complete-summary>div,html[data-theme=dark] .strategy-stop-complete-encouragement{border-color:#33475f}html[data-theme=dark] .strategy-stop-complete-summary dt,html[data-theme=dark] .strategy-stop-complete-intro,html[data-theme=dark] .strategy-stop-complete-encouragement{color:#a9bbcd}html[data-theme=dark] .strategy-stop-complete-waiting{background:#493019;color:#ffcb83;border-color:#815426}@media(max-width:480px){.strategy-stop-complete{padding:24px 20px}.strategy-stop-complete h2{font-size:22px}.strategy-stop-complete-summary{padding:6px 16px}.strategy-stop-complete .actions .btn{font-size:13px}}

/* Stop progress design 2: only acknowledge a request after the server accepts it. */
.stop-step-dialog{box-sizing:border-box;width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:30px;border:1px solid #dfe8f3;border-radius:20px;background:#fff;color:#173859}.stop-step-dialog h2{text-align:center;margin:0 0 12px;font-size:25px}.stop-step-intro{text-align:center;color:#61758f;font-size:14px;line-height:1.7;margin:0 0 22px;word-break:keep-all}.stop-step-list{list-style:none;margin:24px 0 16px;padding:0}.stop-step-list li{display:flex;position:relative;gap:18px;align-items:flex-start;min-height:88px}.stop-step-list li:not(:last-child)::after{content:'';position:absolute;left:16px;top:38px;bottom:8px;border-left:2px dashed #dce6f3}.stop-step-marker{box-sizing:border-box;display:grid;place-items:center;width:34px;height:34px;flex:none;border:3px solid #c7d2df;border-radius:50%;color:#fff;background:#fff;font-weight:700}.stop-step-list strong{display:block;font-size:16px;margin:4px 0 8px}.stop-step-list p{font-size:13px;color:#61758f;margin:0;line-height:1.6}.stop-step-pending strong{color:#8798ad}.stop-step-active strong{color:#2679ef}.stop-step-active .stop-step-marker{border-color:#e0edff;border-top-color:#2679ef;animation:sodam-stop-spin 1s linear infinite}.stop-step-done .stop-step-marker{background:#2679ef;border-color:#2679ef}.stop-step-dialog .stop-step-status{text-align:center;color:#2679ef;font-size:14px}.stop-step-footer{text-align:center;color:#61758f;font-size:12px;line-height:1.7;margin:20px 0 0}@keyframes sodam-stop-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.stop-step-active .stop-step-marker{animation:none}}html[data-theme=dark] .stop-step-dialog{background:#142238;color:#e5edf8;border-color:#33475f}html[data-theme=dark] .stop-step-marker{background:#142238}html[data-theme=dark] .stop-step-done .stop-step-marker{background:#2679ef}html[data-theme=dark] .stop-step-intro,html[data-theme=dark] .stop-step-list p,html[data-theme=dark] .stop-step-footer{color:#a9bbcd}html[data-theme=dark] .stop-step-active strong,html[data-theme=dark] .stop-step-status{color:#78b6ff}@media(max-width:480px){.stop-step-dialog{padding:24px 20px}.stop-step-dialog h2{font-size:22px}.stop-step-list li{gap:14px}}



/* Shared five-number pager, including live and mobile lists. */
.sodam-pagination{display:flex;justify-content:center;align-items:center;gap:5px;flex-wrap:wrap;padding:14px 0 4px;max-width:100%;box-sizing:border-box;overflow-anchor:none}
.sodam-pagination .page-button{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:34px;padding:0 7px;margin:0;border:1px solid var(--border,#dbe3ee);border-radius:7px;background:var(--panel,#fff);color:var(--text,#25466d);font:inherit;font-size:13px;line-height:1;cursor:pointer;text-decoration:none;box-sizing:border-box}
.sodam-pagination .page-button[aria-current=page]{color:#fff;background:#256fe8;border-color:#256fe8;font-weight:700}
.sodam-pagination .page-button:hover:not(:disabled):not([aria-current=page]){border-color:#86afe8;color:#256fe8}
.sodam-pagination .page-button:focus-visible{outline:2px solid #256fe8;outline-offset:3px}
.sodam-pagination .page-button:disabled{opacity:.4;cursor:default}
[data-static-pagination]{flex-basis:100%}[data-static-pagination]~small{margin-left:0}
[data-board-page-prev][hidden],[data-board-page-next][hidden],[data-board-page-label][hidden],[data-live-page-prev][hidden],[data-live-page-next][hidden],[data-live-page-label][hidden],[data-ar3-prev][hidden],[data-ar3-next][hidden],[data-ar3-page][hidden],[data-ar2-prev][hidden],[data-ar2-next][hidden],[data-ar2-page][hidden],[data-ut-prev][hidden],[data-ut-next][hidden],[data-ut-page][hidden],[data-bt-prev][hidden],[data-bt-next][hidden],[data-bt-page][hidden],.pagination>[hidden]{display:none!important}
@media(max-width:480px){.sodam-pagination{gap:3px}.sodam-pagination .page-button{min-width:28px;height:34px;padding:0 4px;font-size:12px}}

[data-triangle-prev][hidden],[data-triangle-next][hidden],[data-triangle-page][hidden]{display:none!important}
.notification-inline-center .center-layout{display:block;border:0;background:transparent;overflow:visible}
.notification-inline-center .center-list{border:0}
.notification-inline-center .center-list>h2{border:0;padding:12px 0 18px}
.notification-inline-center [data-center-rows]{display:grid;gap:14px}
.notification-inline-row{background:var(--panel,#fff);border:1px solid var(--border,#dce7f3);border-radius:12px;overflow:hidden;min-width:0}
.notification-inline-center .center-choice{border-bottom:0;gap:8px}
.notification-inline-center .center-preview{-webkit-line-clamp:3;font-size:13px}
.notification-inline-actions{display:flex;justify-content:flex-end;padding:0 18px 12px}
.notification-inline-center .center-detail{padding:20px;margin:0 18px 18px;border-top:1px solid var(--border,#dce7f3);background:var(--panel,#fff)}
.notification-inline-center .center-detail[hidden]{display:none!important}
.notification-inline-center .center-detail h2{font-size:18px;line-height:1.6;overflow-wrap:anywhere}
.notification-inline-center .center-message{min-height:0;padding:14px 0;font-size:13px}
.notification-inline-center .center-metadata{grid-template-columns:1fr;background:transparent;border:0;padding:0;gap:0}
.notification-inline-center .center-metadata>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:11px 0;border-bottom:1px solid var(--border,#e3ecf7)}
.notification-inline-center .center-metadata dt{font-size:12px}
.notification-inline-center .center-metadata dd{margin:0;font-size:13px}
.notification-inline-center .movement-state{margin:10px 0}
.notification-inline-center .movement-state.is-pending{background:#fff4df;color:#98590f}
.notification-inline-center .notification-inline-close{margin-top:18px}
html[data-theme=dark] .notification-inline-row,html[data-theme=dark] .notification-inline-center .center-detail,body.dark .notification-inline-row,body.dark .notification-inline-center .center-detail{background:#172333;border-color:#33475f}
@media(max-width:600px){.notification-inline-center .center-detail{padding:16px 0;margin:0 16px 16px}.notification-inline-center .center-metadata>div{grid-template-columns:100px minmax(0,1fr);gap:10px}.notification-inline-actions .btn{min-height:44px}.notification-inline-center .center-detail>.actions{gap:8px}}

/* Member asset management: integrated overview in the SODAM template. */
.asset-overview-upgrade .asset-summary-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.asset-overview-upgrade .asset-overview-card{background:#fff;border:1px solid #cbdbe9;border-radius:14px;padding:20px;min-width:0;color:#142c49}
.asset-overview-upgrade .asset-overview-card h3{margin:0 0 14px;font-size:17px;color:#142c49}
.asset-overview-upgrade .asset-summary-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.asset-overview-upgrade .asset-summary-line{display:flex;flex-direction:column;gap:7px;padding:14px;background:#f1f7fe;border-radius:10px;min-width:0}
.asset-overview-upgrade .asset-summary-line span{font-size:13px;color:#506982}
.asset-overview-upgrade .asset-summary-line strong{font-size:21px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#173f6d}
.asset-overview-upgrade .asset-summary-line small{color:#435f7b;font-size:12px}
.asset-overview-upgrade .asset-overview-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;margin-bottom:18px}
.asset-overview-upgrade .asset-health-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #dce6f0}
.asset-overview-upgrade .asset-health-row:last-child{border-bottom:0}
.asset-overview-upgrade .asset-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}
.asset-overview-upgrade .asset-quick-actions .btn{display:flex;flex-direction:column;align-items:flex-start;white-space:normal;gap:5px;padding:12px;min-width:0}
.asset-overview-upgrade .asset-quick-actions small{font-size:12px;font-weight:400}
.asset-overview-upgrade .asset-secondary-metrics .kpi strong{font-size:19px}
.asset-overview-upgrade .asset-recent{margin-bottom:18px}
.asset-overview-upgrade .board-detail{min-width:0}
.asset-overview-upgrade .asset-composition{margin-top:18px}
@media(max-width:1000px){.asset-overview-upgrade .asset-overview-tools{grid-template-columns:1fr}.asset-overview-upgrade .asset-summary-details{grid-template-columns:1fr}}
@media(max-width:600px){.asset-overview-upgrade .asset-summary-cards{grid-template-columns:1fr}.asset-overview-upgrade .asset-summary-details{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-overview-upgrade .asset-summary-line strong{font-size:18px}.asset-overview-upgrade .asset-overview-card{padding:15px}.asset-overview-upgrade .asset-quick-actions{grid-template-columns:1fr}.asset-overview-upgrade .asset-summary-line{padding:10px}.asset-overview-upgrade .board-detail-head{flex-wrap:wrap;gap:10px}}
@media(max-width:360px){.asset-overview-upgrade .asset-summary-details{grid-template-columns:1fr}}

/* Separate futures and spot balance tables: approved SODAM composition. */
.asset-overview-upgrade .asset-composition-separated{border:0!important;padding:0!important;background:transparent!important}
.asset-overview-upgrade .asset-account-panel{border:1px solid #cfdeed;border-radius:12px;background:#fff;overflow:hidden;margin:0 0 18px}
.asset-overview-upgrade .asset-account-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 20px}
.asset-overview-upgrade .asset-account-panel-head h3{margin:0;color:#163454;font-size:17px}
.asset-overview-upgrade .asset-account-panel-head small{color:#526d87;font-size:12px}
.asset-overview-upgrade .asset-account-panel .table-wrap{margin:0;border:0;border-radius:0;overflow-x:auto}
.asset-overview-upgrade .asset-account-panel table{width:100%;margin:0;border-collapse:collapse;background:#fff}
.asset-overview-upgrade .asset-account-panel table th{padding:13px 20px;background:#f0f7ff!important;color:#526d87;border:0!important;text-align:right;font-size:12px;font-weight:500;white-space:nowrap}
.asset-overview-upgrade .asset-account-panel table td{padding:19px 20px;background:#fff!important;border:0!important;border-top:1px solid #dce6f0!important;text-align:right;font-size:14px;color:#173450;font-variant-numeric:tabular-nums;white-space:nowrap}
.asset-overview-upgrade .asset-account-panel table th:first-child,.asset-overview-upgrade .asset-account-panel table td:first-child{text-align:left}
.asset-overview-upgrade .asset-account-panel table td:first-child{font-weight:700;color:#2169bf}
.asset-overview-upgrade .asset-futures-panel table td:nth-child(4),.asset-overview-upgrade .asset-spot-panel table td:nth-child(3){color:#2169bf;font-weight:700}
.asset-overview-upgrade .asset-account-panel [data-asset-spot-balances]>p{padding:16px 20px;margin:0}
.asset-overview-upgrade .asset-composition-separated>p.muted{font-size:12px;line-height:1.7;color:#526d87;margin:12px 0}
@media(max-width:600px){.asset-overview-upgrade .asset-account-panel-head{padding:15px}.asset-overview-upgrade .asset-account-panel table th,.asset-overview-upgrade .asset-account-panel table td{padding:15px 13px}.asset-overview-upgrade .asset-account-panel-head small{width:100%}}

/* Balanced member home: account summary, graphs, operations and notifications. */
.home-balanced-upgrade .home-membership-row{margin:18px 0}
.home-balanced-upgrade .home-membership-row>.panel{background:#edf6ff;border:1px solid #cfdeed;padding:20px}
.home-balanced-upgrade .home-membership-row .subscription-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:center}
.home-balanced-upgrade .home-membership-row .subscription-summary>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.home-balanced-upgrade .home-membership-row .subscription-summary strong{font-size:24px;color:#173f6d}
.home-balanced-upgrade .home-membership-row p{font-size:12px;color:#526d87}
.home-balanced-upgrade .home-asset-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.home-balanced-upgrade .home-currency-summary{border:1px solid #cfdeed;border-radius:12px;padding:18px;background:#fff;min-width:0}
.home-balanced-upgrade .home-currency-summary h3{margin:0 0 13px;color:#2169bf;font-size:17px}
.home-balanced-upgrade .home-summary-value{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #e1eaf3}
.home-balanced-upgrade .home-summary-value span{font-size:12px;color:#526d87}
.home-balanced-upgrade .home-summary-value strong{font-size:16px;font-variant-numeric:tabular-nums;text-align:right;color:#173f6d}
.home-balanced-upgrade .home-balanced-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 20px;align-items:start}
.home-balanced-upgrade .home-balanced-charts>.panel{min-width:0;border:1px solid #cfdeed;border-radius:12px;background:#fff}
.home-balanced-upgrade .home-balanced-charts .asset-chart{padding:0;background:transparent;border:0}
.home-balanced-upgrade .home-currency-chart{margin-top:16px;min-width:0}
.home-balanced-upgrade .home-currency-chart h4{margin:0 0 7px;font-size:13px;color:#435f7a}
.home-balanced-upgrade .home-chart-plot{width:100%;min-width:0}
.home-balanced-upgrade .home-chart-plot svg{display:block;width:100%;height:220px}
.home-balanced-upgrade .home-chart-plot text{fill:#526d87;font-size:12px}
.home-balanced-upgrade .home-chart-detail{min-height:36px;font-size:12px;color:#526d87;line-height:1.5;margin:7px 0 0}
.home-balanced-upgrade .home-balanced-charts .home-history-filter{gap:9px}
.home-balanced-upgrade .home-balanced-charts .home-history-filter label{width:calc(50% - 5px);min-width:0}
.home-balanced-upgrade .home-balanced-charts .home-history-filter input{width:100%}
.home-balanced-upgrade .home-center-layout{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.home-balanced-upgrade .panel{border-color:#cfdeed;border-radius:12px}
@media(max-width:1000px){.home-balanced-upgrade .home-balanced-charts,.home-balanced-upgrade .home-center-layout{grid-template-columns:1fr}}
@media(max-width:600px){.home-balanced-upgrade .home-asset-summary,.home-balanced-upgrade .home-membership-row .subscription-summary{grid-template-columns:1fr}.home-balanced-upgrade .home-summary-value{flex-wrap:wrap}.home-balanced-upgrade .home-balanced-charts{gap:16px}.home-balanced-upgrade .home-currency-summary{padding:16px}}

/* Compact arbitrage 1-5 controls: account checks remain in the start dialogs. */
[data-basis-demo]:is([data-basis-program="sodam3"],[data-basis-program="arbitrage2"],[data-basis-program="arbitrage3"],[data-basis-program="arbitrage4"],[data-basis-program="arbitrage5"]) [data-basis-balances],
[data-basis-demo]:is([data-basis-program="sodam3"],[data-basis-program="arbitrage2"],[data-basis-program="arbitrage3"],[data-basis-program="arbitrage4"],[data-basis-program="arbitrage5"]) [data-basis-costs],
[data-basis-demo]:is([data-basis-program="sodam3"],[data-basis-program="arbitrage2"],[data-basis-program="arbitrage3"],[data-basis-program="arbitrage4"],[data-basis-program="arbitrage5"]) [data-basis-refresh] { display:none !important; }


/* Approved home cards: four account metrics, followed by points and subscription. */
.home-balanced-upgrade .home-financial-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}
.home-balanced-upgrade .home-financial-cards>.kpi{min-width:0;padding:22px;border:1px solid var(--border,#cfdeed);border-radius:12px;background:var(--surface,#fff)}
.home-balanced-upgrade .home-metric-amount{display:block;font-size:clamp(18px,2vw,24px);line-height:1.5;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.home-balanced-upgrade .home-membership-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-balanced-upgrade .home-membership-cards>.panel{min-width:0;margin:0;background:var(--surface,#fff)}
.home-balanced-upgrade .home-membership-cards .subscription-summary{display:block}
.home-balanced-upgrade .home-membership-cards .subscription-summary strong{color:var(--navy,#173f6d)}
.home-balanced-upgrade .home-membership-cards p{color:var(--muted,#526d87)}
html[data-theme="dark"] .home-balanced-upgrade .home-membership-cards>.panel{background:#192b42!important;border-color:#31445e!important}
html[data-theme="dark"] .home-balanced-upgrade .home-financial-cards>.kpi{background:#152337!important;border-color:#31445e!important}
html[data-theme="dark"] .home-balanced-upgrade :is(.home-metric-amount,.home-membership-cards strong){color:#edf3fc!important}
@media(max-width:1000px){.home-balanced-upgrade .home-financial-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.home-balanced-upgrade .home-financial-cards>.kpi{padding:16px}.home-balanced-upgrade .home-membership-cards{grid-template-columns:1fr}}
/* Report dialog uses the SODAM filter combo style. */
.report-create-dialog .form-fields{display:grid;gap:16px}.report-create-dialog .form-label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--navy,#193859)}
.report-create-dialog .sodam-report-combo{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border,#d9e5f3);border-radius:8px;background:var(--surface,#fff);color:var(--navy,#193859);font:inherit}
.report-create-dialog .sodam-report-combo:focus-visible{outline:2px solid var(--blue,#2679ef);outline-offset:2px}.report-create-copy{white-space:pre-line;line-height:1.8}


/* White home cards in light mode; preserve the shared night palette. */
html:not([data-theme="dark"]) .home-balanced-upgrade :is(.home-membership-cards>.panel,.home-membership-row>.panel,.home-alert,.subscription-badge){background:#fff}

/* SODAM notification preferences: align balance fields and explanatory copy to one content edge. */
.notification-preferences-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));padding:28px;border:1px solid #d9e5f3;border-radius:16px;background:#fff;color:#193859;box-shadow:0 24px 72px #102d4a30}
.notification-preferences-dialog h2{margin:0 0 8px;color:#173f6d;font-size:22px;font-weight:750}
.notification-preferences-dialog>p.muted{margin:0 0 20px;color:#647b94;font-size:13px;line-height:1.65}
.notification-preferences-dialog form{display:grid;gap:10px}
.notification-preferences-dialog .balance-thresholds{margin:8px 0 4px;padding:18px 29px;border:1px solid #dce8f5;border-radius:12px;background:#f7faff}
.notification-preferences-dialog .balance-thresholds h3{margin:0 0 14px;color:#193859;font-size:15px;font-weight:700}
.notification-preferences-dialog .balance-threshold-row{display:grid;grid-template-columns:1fr minmax(150px,220px);align-items:center;gap:16px;margin:0 0 10px}
.notification-preferences-dialog .balance-threshold-label{color:#526d87;font-size:13px;font-weight:500}
.notification-preferences-dialog .balance-threshold-row input{box-sizing:border-box;width:100%;height:42px;padding:9px 12px;border:1px solid #cfdeee;border-radius:8px;background:#fff;color:#193859;font:inherit;text-align:left}
.notification-preferences-dialog .balance-threshold-row input:focus-visible{outline:2px solid #2679ef;outline-offset:2px}
.notification-preferences-dialog .balance-threshold-help{margin:4px 0 0;color:#647b94;font-size:13px;line-height:1.65}
.notification-preferences-dialog .actions{justify-content:flex-end;margin-top:8px}
html[data-theme="dark"] .notification-preferences-dialog{border-color:#31445e;background:#192b42;color:#edf3fc}
html[data-theme="dark"] .notification-preferences-dialog h2,html[data-theme="dark"] .notification-preferences-dialog .balance-thresholds h3{color:#edf3fc}
html[data-theme="dark"] .notification-preferences-dialog .balance-thresholds{border-color:#31445e;background:#152337}
html[data-theme="dark"] .notification-preferences-dialog .balance-threshold-label,html[data-theme="dark"] .notification-preferences-dialog .balance-threshold-help,html[data-theme="dark"] .notification-preferences-dialog>p.muted{color:#aebed1}
html[data-theme="dark"] .notification-preferences-dialog .balance-threshold-row input{border-color:#405674;background:#102034;color:#edf3fc}
@media(max-width:520px){.notification-preferences-dialog{padding:20px}.notification-preferences-dialog .balance-threshold-row{grid-template-columns:1fr;gap:6px}.notification-preferences-dialog .balance-threshold-row input{max-width:none}}

.notification-preferences-dialog .live-check{display:grid;grid-template-columns:18px 1fr;align-items:center;gap:12px;padding:10px 0;margin:0}
.notification-preferences-dialog .live-check input{width:18px;height:18px;margin:0}
.notification-preferences-dialog .live-check span{font-size:13px;font-weight:500;line-height:1.65}

/* Approved notification option 4: grouped, stage-by-stage preferences. */
.notification-preferences-dialog[data-notification-layout="reference-v5"]{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;--notify-bg:#fff;--notify-line:#dce6f2;--notify-text:#203d60;--notify-muted:#647b94;background:var(--notify-bg);color:var(--notify-text)}
.notification-preferences-dialog::backdrop{background:#13273f66}
.notification-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 26px 16px;border-bottom:1px solid var(--notify-line)}
.notification-settings-header h2{font-size:22px;margin:0 0 6px}
.notification-settings-header p{margin:0;font-size:13px;color:var(--notify-muted);line-height:1.6}
.notification-settings-close{flex:0 0 34px;width:34px;height:34px;border:1px solid var(--notify-line);border-radius:10px;background:var(--notify-bg);color:var(--notify-text);font-size:25px;cursor:pointer}
.notification-preferences-dialog[data-notification-layout] form{gap:0;min-height:0}
.notification-preference-sections{display:grid;gap:14px;padding:18px 26px;overflow-y:auto;max-height:calc(100dvh - 245px);overscroll-behavior:contain;scrollbar-gutter:stable}
.notification-group{border:1px solid var(--notify-line);border-radius:14px;padding:16px 18px;background:var(--notify-bg);min-width:0}
.notification-group-heading{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.notification-group-number{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#edf5ff;color:#246ecd;font-size:12px;font-weight:750;flex-shrink:0}
.notification-group-heading h3{font-size:16px;line-height:1.5;margin:0;color:var(--notify-text)}
.notification-group-description,.notification-stage-note{font-size:12px;line-height:1.65;color:var(--notify-muted);margin:6px 0 10px;overflow-wrap:anywhere}
.notification-stage-note{margin:10px 0 8px}
.notification-preferences-dialog input[type="checkbox"]{accent-color:#2878ee;cursor:pointer;border-radius:4px;width:18px;height:18px;flex-shrink:0}
.notification-preferences-dialog input:focus-visible,.notification-preferences-dialog button:focus-visible{outline:2px solid #2878ee;outline-offset:3px}
.notification-stage-matrix{margin-top:12px}
.notification-stage-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,48px);align-items:center;gap:6px;min-height:46px;border-bottom:1px solid var(--notify-line)}
.notification-stage-head{font-size:12px;min-height:30px;color:var(--notify-muted);font-weight:600}
.notification-stage-head span:not(:first-child){text-align:center}
.notification-stage-name{font-size:13px;line-height:1.5;overflow-wrap:anywhere;padding:8px 0}
.notification-stage-choice{display:grid;place-items:center;margin:0;min-height:44px;cursor:pointer}
.notification-preferences-dialog[data-notification-layout] .balance-thresholds{border:0;border-radius:0;background:transparent;padding:0 0 0 30px;margin:4px 0}
.notification-preferences-dialog[data-notification-layout] .balance-thresholds h4{font-size:12px;color:var(--notify-muted);margin:0 0 10px;font-weight:500}
.notification-preferences-dialog[data-notification-layout] .balance-threshold-row{grid-template-columns:minmax(0,1fr) minmax(100px,180px);gap:10px}
.notification-preferences-dialog[data-notification-layout] .balance-threshold-help{font-size:12px;color:var(--notify-muted)}
.notification-required-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;font-size:13px}
.notification-required-badge{font-size:11px;color:#236aca;background:#edf5ff;border-radius:20px;padding:5px 9px;white-space:nowrap;font-weight:600}
.notification-settings-footer{padding:12px 26px 18px;border-top:1px solid var(--notify-line);background:var(--notify-bg)}
.notification-settings-footer>.muted{font-size:12px;margin:0;line-height:1.5;color:var(--notify-muted)}
.notification-settings-footer>.live-error:empty{display:none}
.notification-settings-footer .actions{gap:10px;margin:10px 0 0;display:flex;justify-content:flex-end}
.notification-settings-footer .btn{min-height:42px;min-width:86px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;padding:9px 20px}
.notification-settings-footer .btn.primary{background:#2878ee;border:1px solid #2878ee;color:#fff}
/* Notification save actions stay visible while only the settings scroll. */
.notification-preferences-dialog[data-notification-layout="reference-v5"][open]{display:flex;flex-direction:column;height:min(860px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}
.notification-preferences-dialog[data-notification-layout="reference-v5"]>.notification-settings-header,
.notification-preferences-dialog[data-notification-layout="reference-v5"]>.notification-channel-tabs,
.notification-preferences-dialog[data-notification-layout="reference-v5"]>.notification-channel-note{flex-shrink:0}
.notification-preferences-dialog[data-notification-layout="reference-v5"]>form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}
.notification-preferences-dialog[data-notification-layout="reference-v5"][open] .notification-preference-sections{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;align-content:start;scroll-padding-bottom:16px}
.notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer{flex:0 0 auto;position:relative;z-index:2;padding-bottom:max(16px,env(safe-area-inset-bottom));box-shadow:0 -5px 18px #102d4a12}
.notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer .actions{display:flex;gap:12px}
.notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer .btn{min-height:48px;font-size:16px}
.notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer .btn.primary{flex:1;min-width:130px;background:#256fe8!important;border:1px solid #256fe8!important;color:#fff!important;font-weight:750;box-shadow:0 3px 8px #256fe833}
.notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer .btn.primary:hover{background:#185bc7!important}
.notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer .btn.primary:disabled{opacity:.65;cursor:wait}
html[data-theme="dark"] .notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer{box-shadow:0 -5px 18px #0003}
@media(max-height:520px){
 .notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-header{padding:10px 16px}
 .notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-header p,
 .notification-preferences-dialog[data-notification-layout="reference-v5"]>.notification-channel-note,
 .notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer>.muted{display:none}
 .notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer{padding-top:8px}
 .notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-settings-footer .actions{margin-top:0}
}

.notification-settings-footer .btn.ghost{background:var(--notify-bg);border:1px solid var(--notify-line);color:var(--notify-text)}
html[data-theme="dark"] .notification-preferences-dialog[data-notification-layout]{--notify-bg:#182a40;--notify-line:#344b64;--notify-text:#edf3fc;--notify-muted:#b5c4d6}
html[data-theme="dark"] .notification-group-number,html[data-theme="dark"] .notification-required-badge{background:#233f60;color:#afd2ff}
@media(max-width:520px){.notification-settings-header{padding:18px 16px 12px}.notification-preference-sections{padding:12px;gap:10px}.notification-group{padding:13px 12px}.notification-stage-row{grid-template-columns:minmax(0,1fr) repeat(3,36px);gap:3px}.notification-settings-footer{padding:12px 16px}.notification-preferences-dialog[data-notification-layout] .balance-threshold-row{grid-template-columns:1fr;gap:5px}.notification-settings-header h2{font-size:20px}}

.notification-channel-tabs{display:flex;margin:16px 26px 0;gap:0}
.notification-channel-tabs .board-tab{flex:1;min-height:44px;cursor:pointer;font:inherit}
.notification-channel-note{margin:10px 26px 0;color:var(--notify-muted);font-size:12px;line-height:1.6}
.notification-preferences-dialog[data-notification-layout="reference-v5"]{width:min(1100px,calc(100vw - 24px))}
.notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-preference-sections{max-height:calc(100dvh - 315px)}
@media(min-width:900px){.notification-preferences-dialog[data-notification-layout="reference-v5"] .notification-group{display:grid;grid-template-columns:280px minmax(0,1fr);column-gap:28px}.notification-group-heading,.notification-group-description{grid-column:1}.notification-group>.live-check,.notification-group>.notification-stage-matrix,.notification-group>.balance-thresholds,.notification-group>.notification-required-row,.notification-group>.notification-stage-note{grid-column:2}.notification-preferences-dialog .live-check{grid-template-columns:minmax(0,1fr) 38px}.notification-preferences-dialog .live-check input{grid-column:2;grid-row:1}.notification-preferences-dialog .live-check span{grid-column:1;grid-row:1}}
@media(max-width:520px){.notification-channel-tabs{margin:12px 16px 0}.notification-channel-tabs .board-tab{font-size:13px}.notification-channel-note{margin:8px 16px 0}}

@media(min-width:900px){.notification-preferences-dialog[data-notification-layout="reference-v5"] .balance-thresholds{padding-left:0}}

/* Reference row icons, explanatory copy and explicit Save / Cancel actions. */
.notification-preferences-dialog .notification-option-content{display:flex;align-items:center;gap:12px;min-width:0}
.notification-preferences-dialog .notification-option-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#edf7ff;color:#1674ef}
.notification-option-icon svg{width:20px;height:20px}
.notification-preferences-dialog .notification-option-copy{display:grid;gap:3px;min-width:0;flex:1}
.notification-preferences-dialog .notification-option-title{font-size:13px;font-weight:600;color:var(--notify-text);line-height:1.5}
.notification-preferences-dialog .notification-option-description{font-size:12px;font-weight:400;color:var(--notify-muted);line-height:1.6;overflow-wrap:anywhere}
.notification-preferences-dialog .live-check{grid-template-columns:minmax(0,1fr) 24px;border-bottom:1px solid var(--notify-line);gap:12px}
.notification-preferences-dialog .live-check input{grid-column:2;grid-row:1}
.notification-preferences-dialog .live-check>.notification-option-content{grid-column:1;grid-row:1}
.notification-required-row>.notification-option-content{flex:1}
.notification-settings-footer .actions{flex-direction:row}
html[data-theme="dark"] .notification-option-icon{background:#233f60;color:#afd2ff}
@media(min-width:900px){.notification-preferences-dialog .notification-option-copy{grid-template-columns:160px minmax(0,1fr);gap:12px;align-items:center}.notification-preferences-dialog .notification-option-content{width:100%}}
@media(max-width:520px){.notification-preferences-dialog .notification-option-content{gap:8px}.notification-preferences-dialog .notification-option-icon{flex-basis:28px;width:28px;height:28px}.notification-settings-footer .actions>.btn{flex:1}}

.notification-preferences-dialog[data-notification-layout="reference-v5"] .balance-thresholds{padding-left:0}
.notification-preferences-dialog .notification-option-copy>span{grid-column:auto;grid-row:auto}

/* SODAM_NOTIFICATION_SAVE_SUCCESS_V1 — scoped to the saved-confirmation dialog. */
dialog.notification-save-success-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(420px,calc(100vw - 32px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:28px 28px 26px;border:1px solid #dce6f2;border-radius:24px;background:#fff;color:#203d60;text-align:center;overflow-y:auto;overscroll-behavior:contain;font-family:inherit;box-shadow:0 24px 80px #122d5140}
dialog.notification-save-success-dialog:not([open]){display:none}
dialog.notification-save-success-dialog[open]{display:block}
dialog.notification-save-success-dialog::backdrop{background:#13273f66}
dialog.notification-save-success-dialog .notification-save-success-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:#647b94;font:400 26px/1 inherit;cursor:pointer}
dialog.notification-save-success-dialog .notification-save-success-close:hover{background:#edf5ff}
dialog.notification-save-success-dialog .notification-save-success-mascot{display:block;width:min(236px,43dvh,68vw);max-width:100%;height:auto;object-fit:contain;margin:6px auto 18px;border-radius:22px}
dialog.notification-save-success-dialog h2{margin:0;font-size:clamp(24px,3vw,30px);line-height:1.4;font-weight:750;letter-spacing:-.035em;color:#203d60;word-break:keep-all}
dialog.notification-save-success-dialog p{margin:10px 0 24px;font-size:16px;font-weight:500;line-height:1.6;color:#647b94;word-break:keep-all;overflow-wrap:anywhere}
dialog.notification-save-success-dialog .btn.primary{display:block;width:100%;min-height:48px;padding:12px 20px;border:1px solid #2878ee;border-radius:12px;background:#2878ee;color:#fff;font-family:inherit;font-size:16px;font-weight:650;line-height:1.4;cursor:pointer;box-shadow:0 6px 18px #2878ee24}
dialog.notification-save-success-dialog .btn.primary:hover{background:#1b65d4;border-color:#1b65d4}
dialog.notification-save-success-dialog button:focus-visible{outline:2px solid #2878ee;outline-offset:3px}
html[data-theme="dark"] dialog.notification-save-success-dialog{background:#182a40;border-color:#344b64;color:#edf3fc}
html[data-theme="dark"] dialog.notification-save-success-dialog h2{color:#edf3fc}
html[data-theme="dark"] dialog.notification-save-success-dialog p,html[data-theme="dark"] dialog.notification-save-success-dialog .notification-save-success-close{color:#b5c4d6}
html[data-theme="dark"] dialog.notification-save-success-dialog .notification-save-success-close:hover{background:#233f60}
@media(max-width:520px){dialog.notification-save-success-dialog{padding:26px 20px 20px;border-radius:20px}dialog.notification-save-success-dialog p{font-size:14px;margin-bottom:20px}}
@media(max-height:520px){dialog.notification-save-success-dialog{padding-top:20px;padding-bottom:16px}dialog.notification-save-success-dialog .notification-save-success-mascot{width:min(132px,32dvh);margin-top:0;margin-bottom:8px}dialog.notification-save-success-dialog h2{font-size:23px}dialog.notification-save-success-dialog p{margin:6px 0 12px}}

/* SODAM_SIMULATION_DOWNLOAD_V1_BEGIN — approved concept 3, isolated styles. */
dialog.sim-download-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 28px));max-width:calc(100vw - 20px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:20px 26px 24px;border:1px solid #dce8f7;border-radius:24px;background:#fff;color:#203d60;text-align:center;font-family:inherit;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #173b6540;--download-primary:#2878ee;--download-text:#203d60;--download-muted:#617c9b;--download-line:#dce8f7;--download-soft:#edf5ff}
dialog.sim-download-dialog:not([open]),dialog.sim-download-dialog [hidden]{display:none!important}
dialog.sim-download-dialog::backdrop{background:#13273f66;backdrop-filter:blur(3px)}
dialog.sim-download-dialog .sim-download-dismiss{position:absolute;z-index:2;top:10px;right:10px;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--download-muted);font-family:inherit;font-size:28px;line-height:1;cursor:pointer}
dialog.sim-download-dialog .sim-download-dismiss:hover{background:var(--download-soft)}
dialog.sim-download-dialog .sim-download-art{position:relative;isolation:isolate;margin:4px -8px 10px;display:grid;place-items:center;min-height:120px;background:radial-gradient(ellipse at 50% 80%,#dcecff80,transparent 70%);border-radius:24px}
dialog.sim-download-dialog .sim-download-mascot{display:block;width:min(278px,36dvh,76vw);max-width:100%;height:auto;object-fit:contain;border-radius:22px;mask-image:linear-gradient(#000 88%,transparent);animation:sim-download-float 3s ease-in-out infinite}
dialog.sim-download-dialog h2{position:relative;margin:0;color:var(--download-text);font-size:clamp(21px,2.2vw,28px);font-weight:750;letter-spacing:-.04em;line-height:1.4;word-break:keep-all}
dialog.sim-download-dialog .sim-download-message{margin:10px 0 18px;color:var(--download-muted);font-size:15px;line-height:1.65;white-space:pre-line;word-break:keep-all;overflow-wrap:anywhere}
dialog.sim-download-dialog .sim-download-progress-card{padding:18px 16px 14px;border:1px solid var(--download-line);border-radius:16px;background:#fff;box-shadow:0 2px 12px #226acf08}
dialog.sim-download-dialog .sim-download-progress-row{display:flex;align-items:center;gap:10px}
dialog.sim-download-dialog .sim-download-track{position:relative;flex:1;height:14px;min-width:0;overflow:hidden;background:#e5effd;border-radius:30px}
dialog.sim-download-dialog .sim-download-track>span{display:block;width:38%;height:100%;border-radius:30px;background:linear-gradient(90deg,#2878ee,#71b8ff);animation:sim-download-sweep 1.6s ease-in-out infinite}
dialog.sim-download-dialog .sim-download-track[data-determinate=true]>span{animation:none;transition:width .18s ease}
dialog.sim-download-dialog .sim-download-percent{flex:0 0 auto;min-width:40px;color:var(--download-primary);font-size:13px;font-weight:700;white-space:nowrap}
dialog.sim-download-dialog .sim-download-status{display:flex;justify-content:center;align-items:center;gap:8px;margin:13px 0 0;color:var(--download-muted);font-size:13px;line-height:1.5}
dialog.sim-download-dialog .sim-download-spinner{box-sizing:border-box;flex:0 0 18px;width:18px;height:18px;border:2px solid #bdd9fc;border-top-color:var(--download-primary);border-radius:50%;animation:sim-download-spin .85s linear infinite}
dialog.sim-download-dialog .sim-download-note{margin:14px 0 0;padding:12px 14px;border:1px solid var(--download-line);border-radius:13px;background:var(--download-soft);color:var(--download-muted);font-size:12px;line-height:1.65;white-space:pre-line;word-break:keep-all;overflow-wrap:anywhere}
dialog.sim-download-dialog .sim-download-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
dialog.sim-download-dialog .sim-download-steps>div{display:grid;justify-items:center;gap:6px;font-size:12px;line-height:1.4;color:var(--download-text)}
dialog.sim-download-dialog .sim-download-step-check{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--download-primary);color:#fff;font-size:16px;box-shadow:0 3px 8px #2878ee25}
dialog.sim-download-dialog .sim-download-file{margin:12px 0 0;color:var(--download-muted);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
dialog.sim-download-dialog .sim-download-actions{display:flex;gap:12px;margin-top:16px}
dialog.sim-download-dialog .sim-download-actions>.btn{box-sizing:border-box;flex:1;min-height:48px;min-width:0;padding:12px 10px;border:1px solid var(--download-line);border-radius:12px;font-family:inherit;font-size:15px;font-weight:650;line-height:1.4;cursor:pointer}
dialog.sim-download-dialog .sim-download-actions>.primary{background:var(--download-primary);border-color:var(--download-primary);color:#fff;box-shadow:0 5px 14px #2878ee22}
dialog.sim-download-dialog .sim-download-actions>.ghost{background:#fff;color:var(--download-text)}
dialog.sim-download-dialog button:focus-visible{outline:2px solid var(--download-primary);outline-offset:3px}
dialog.sim-download-dialog[data-state=complete] .sim-download-mascot,dialog.sim-download-dialog[data-state=error] .sim-download-mascot{animation:none}
dialog.sim-download-dialog[data-state=complete] .sim-download-status{font-size:12px}
html[data-theme=dark] dialog.sim-download-dialog{background:#182a40;border-color:#344b64;--download-text:#edf3fc;--download-muted:#b5c4d6;--download-line:#344b64;--download-soft:#203950}
html[data-theme=dark] dialog.sim-download-dialog .sim-download-progress-card,html[data-theme=dark] dialog.sim-download-dialog .sim-download-actions>.ghost{background:#182a40}
html[data-theme=dark] dialog.sim-download-dialog .sim-download-track{background:#2f4c70}
@keyframes sim-download-spin{to{transform:rotate(360deg)}}
@keyframes sim-download-sweep{0%{transform:translateX(-110%)}100%{transform:translateX(290%)}}
@keyframes sim-download-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-width:520px){dialog.sim-download-dialog{padding:18px 16px 20px;border-radius:20px}dialog.sim-download-dialog .sim-download-message{font-size:13px;margin-bottom:14px}dialog.sim-download-dialog .sim-download-progress-card{padding:14px 12px}dialog.sim-download-dialog .sim-download-actions{gap:10px}dialog.sim-download-dialog .sim-download-steps>div{font-size:11px}}
@media(max-height:550px){dialog.sim-download-dialog .sim-download-mascot{width:120px}dialog.sim-download-dialog .sim-download-art{min-height:0;margin-top:0}dialog.sim-download-dialog{padding-top:14px}dialog.sim-download-dialog .sim-download-message{margin:6px 0 10px}dialog.sim-download-dialog .sim-download-note{margin-top:10px;padding:8px 12px}}
@media(prefers-reduced-motion:reduce){dialog.sim-download-dialog *,dialog.sim-download-dialog *::before,dialog.sim-download-dialog *::after{animation:none!important;transition:none!important}dialog.sim-download-dialog .sim-download-track:not([data-determinate=true])>span{transform:translateX(80%)}}
/* SODAM_SIMULATION_DOWNLOAD_V1_END */

/* SODAM_POPUP_TEMPLATES_V1 */
html body dialog.sodam-popup{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;margin:auto;border:1px solid #d5e2f0;border-radius:18px;background:#fff;color:#142c50;box-shadow:0 20px 70px #0c244333;overflow:auto;overscroll-behavior:contain;text-align:left;overflow-wrap:anywhere}
html body dialog.sodam-popup::backdrop{background:#07132680}
html body dialog.sodam-popup *,html body dialog.sodam-popup *::before,html body dialog.sodam-popup *::after{box-sizing:border-box;min-width:0}
html body dialog.sodam-popup>h2{text-align:center;font-size:22px;line-height:1.4;margin:0 24px 12px;color:inherit}
html body dialog.sodam-popup .sodam-popup-art{display:block;width:160px;height:160px;max-width:100%;object-fit:contain;margin:0 auto 18px}
html body dialog.sodam-popup p{line-height:1.65;white-space:pre-line;max-width:100%}
html body dialog.sodam-popup .sodam-popup-message{text-align:center}
html body dialog.sodam-popup form{max-width:100%}
html body dialog.sodam-popup label:not(.sodam-popup-check){display:flex;flex-direction:column;gap:7px;margin:12px 0;color:inherit}
html body dialog.sodam-popup input:not([type=checkbox]):not([type=radio]),html body dialog.sodam-popup select,html body dialog.sodam-popup textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:46px;margin:0;padding:11px 12px;border:1px solid #c8d8ed;border-radius:9px;background:#fff;color:#142c50;font:inherit;font-size:16px;line-height:1.4}
html body dialog.sodam-popup textarea{min-height:96px;resize:vertical}
html body dialog.sodam-popup select{padding-right:30px}
html body dialog.sodam-popup input[type=checkbox]{appearance:auto;flex:0 0 22px;width:22px;height:22px;accent-color:#1768ee;margin:0 12px 0 0}
html body dialog.sodam-popup .sodam-popup-check{display:flex;align-items:center;flex-direction:row;gap:0;min-height:48px;border:1px solid #ceddef;border-radius:9px;padding:12px;margin:10px 0;line-height:1.5}
html body dialog.sodam-popup .sodam-popup-check input{order:-1}
html body dialog.sodam-popup .sodam-popup-actions{display:flex;gap:10px;width:100%;margin:20px 0 0;flex-wrap:wrap}
html body dialog.sodam-popup .sodam-popup-actions>button{flex:1 1 110px;min-width:0;min-height:48px;height:auto;padding:12px 14px;white-space:normal;line-height:1.4;border:1px solid #8fadd6;border-radius:10px;background:#fff;color:#163152;font-size:16px;font-weight:700}
html body dialog.sodam-popup .sodam-popup-actions>.primary{background:#1768ee;border-color:#1768ee;color:#fff}
html body dialog.sodam-popup .sodam-popup-actions>.danger{background:#b42335;border-color:#b42335;color:#fff}
html body dialog.sodam-popup button:disabled{opacity:.5;cursor:not-allowed}
html body dialog.sodam-popup :focus-visible{outline:3px solid #69a8ff;outline-offset:3px}
html body dialog.sodam-popup .sodam-popup-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:16px 0 8px}
html body dialog.sodam-popup .sodam-popup-presets button{min-height:44px;padding:7px 3px;font:inherit;font-size:14px;border:1px solid #c8d8ed;border-radius:8px;background:#fff;color:#163152;white-space:normal}
html body dialog.sodam-popup .sodam-popup-presets [aria-pressed=true]{background:#1768ee;border-color:#1768ee;color:#fff}
html body dialog.sodam-popup .sodam-popup-grades{background:#fff;border:1px solid #ceddef;border-radius:12px;padding:14px;margin:18px 0}
html body dialog.sodam-popup .sodam-popup-grades div{display:flex;justify-content:space-between;gap:12px;padding:7px 0}
html body dialog.sodam-popup dd{margin:0;overflow-wrap:anywhere}
html body dialog.sodam-popup pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
html body dialog.sodam-popup .ar-form{grid-template-columns:1fr}
html body dialog.sodam-popup .signup-policy-body{max-height:35dvh;overflow:auto}
html body dialog.sodam-popup .policy-dialog-body,html body dialog.sodam-popup .pricing-dialog-body{padding:0;max-width:100%}
html body dialog.sodam-popup [hidden]{display:none!important}
html[data-theme=dark] body dialog.sodam-popup{background:#172235;color:#edf4ff;border-color:#354762;color-scheme:dark}
html[data-theme=dark] body dialog.sodam-popup .muted,html[data-theme=dark] body dialog.sodam-popup .sim-download-note{color:#b7c6dc}
html[data-theme=dark] body dialog.sodam-popup input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] body dialog.sodam-popup select,html[data-theme=dark] body dialog.sodam-popup textarea,html[data-theme=dark] body dialog.sodam-popup .sodam-popup-grades,html[data-theme=dark] body dialog.sodam-popup .sodam-popup-check,html[data-theme=dark] body dialog.sodam-popup .sodam-popup-actions>.ghost,html[data-theme=dark] body dialog.sodam-popup .sodam-popup-presets button{background:#111c2e;color:#edf4ff;border-color:#516783}
html[data-theme=dark] body dialog.sodam-popup .sodam-popup-actions>.primary,html[data-theme=dark] body dialog.sodam-popup .sodam-popup-presets [aria-pressed=true]{background:#1768ee;color:#fff;border-color:#1768ee}
html[data-theme=dark] body dialog.sodam-popup .sim-download-progress-card{background:#111c2e;border-color:#354762;color:#edf4ff}
@media(max-width:380px){html body dialog.sodam-popup{padding:18px}html body dialog.sodam-popup>h2{font-size:20px}html body dialog.sodam-popup .sodam-popup-art{width:128px;height:128px}}
@media(max-height:560px){html body dialog.sodam-popup .sodam-popup-art{width:96px;height:96px}}
/* SODAM_POPUP_TEMPLATES_END */

html[data-theme=dark] body dialog.sodam-popup .access-review-list{background:#111c2e;color:#edf4ff}


/* Member account and guide layout corrections; use the shared tab appearance. */
.account-tab-layout{display:block;min-width:0}
.account-environment-tabs{margin-top:18px;margin-bottom:18px}
.account-environment-tabs>button{flex:1;min-width:0}
.member-help-center .guide-layout{align-items:stretch}
.member-help-center .guide-detail{display:flex;flex-direction:column;min-height:0}
.member-help-center .guide-article:not([hidden]){flex:1}
[data-asset-recent] .table-wrap{border:1px solid #dce7f3;border-radius:12px;overflow:auto;margin-top:14px}
[data-asset-recent] table{border-collapse:collapse;width:100%;min-width:580px;font-size:13px}
[data-asset-recent] th{background:#f3f7fc;color:#637b99;font-weight:600;text-align:left;white-space:nowrap;padding:12px 14px}
[data-asset-recent] td{padding:14px;border-bottom:1px solid #e4ecf6;color:#193858;white-space:nowrap}
[data-asset-recent] tbody tr:last-child td{border-bottom:0}
[data-asset-recent] tbody tr:hover td{background:#f5f9ff}
[data-asset-recent] :is(th,td):nth-child(4){text-align:right;font-variant-numeric:tabular-nums}
html[data-theme=dark] [data-asset-recent] .table-wrap{border-color:#354762}
html[data-theme=dark] [data-asset-recent] th{background:#192b42;color:#b6c8e0}
html[data-theme=dark] [data-asset-recent] td{background:#172235;color:#edf4ff;border-color:#354762}
html[data-theme=dark] [data-asset-recent] tbody tr:hover td{background:#1d304a}
/* Keep policy actions in view while the text scrolls, including short landscape screens. */
html body dialog.sodam-popup.policy-dialog[open]{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 32px)}
html body dialog.sodam-popup.policy-dialog>h2{flex:0 0 auto;margin:0}
html body dialog.sodam-popup.policy-dialog>.sodam-popup-art{flex:0 0 auto;margin:12px auto;width:96px;height:96px}
html body dialog.sodam-popup.policy-dialog :is(.policy-dialog-body,.signup-policy-body,.pricing-dialog-body){flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html body dialog.sodam-popup.policy-dialog>.sodam-popup-actions{flex:0 0 auto;margin:14px 0 0}
@media(max-height:500px){html body dialog.sodam-popup.policy-dialog>.sodam-popup-art{width:64px;height:64px;margin:8px auto}html body dialog.sodam-popup.policy-dialog{padding:16px}html body dialog.sodam-popup.policy-dialog>.sodam-popup-actions{margin-top:8px}}

[data-account-board] .board-filter>label[hidden]{display:none!important}

html body dialog.sodam-popup.policy-dialog>.sodam-popup-actions{padding-top:12px;border-top:1px solid #dce7f3}
html[data-theme=dark] body dialog.sodam-popup.policy-dialog>.sodam-popup-actions{border-top-color:#354762}

.home-income-period{margin:0 0 18px}
.home-income-period-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.home-income-period-head h3{margin:0;font-size:15px}
.home-income-presets{margin:0;flex-wrap:wrap}
.home-income-period .board-filter{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.home-income-period .board-filter label{flex:1;min-width:140px}
.home-income-period .live-error:empty{display:none}
.home-income-period [data-home-income-period-note]{margin:12px 0 0;font-size:12px;line-height:1.6}
@media(max-width:600px){.home-income-period-head{display:block}.home-income-presets{margin-top:12px;display:flex;width:100%}.home-income-presets>button{flex:1;min-width:0;padding:10px 6px}.home-income-period .board-filter{gap:10px}.home-income-period .board-filter label{min-width:0;flex:1 1 calc(50% - 10px)}.home-income-period [data-home-income-query]{width:100%}}

.home-financial-cards .home-metric-basis{align-self:flex-start;margin-bottom:10px}

/* Account overview sections use white cards on the light page canvas. */
html:not([data-theme="dark"]) [data-account-board] :is(.kpi,.panel,.asset-composition,.asset-chart,.asset-alert,.board-position){background:#fff}


/* Signup completion indicator and simulation report formats. */
.signup-policy-row{display:flex;align-items:center;gap:12px;width:100%}
.signup-policy-row>button{flex:1;min-width:0;text-align:left}
html body input.signup-policy-check{appearance:none!important;-webkit-appearance:none!important;flex:0 0 22px;width:22px;height:22px;padding:0;margin:0;border:2px solid #9aaabd;border-radius:5px;background:transparent;opacity:1}
html body input.signup-policy-check:checked{border-color:#17864c!important;background:rgba(23,134,76,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4 10-10' fill='none' stroke='%2317864c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat!important}
html body dialog.sim-report-choice{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
.sim-report-choice fieldset{border:0;padding:0;margin:20px 0}
.sim-report-choice legend{margin-bottom:12px}
.sim-report-option{display:flex;align-items:center;gap:12px;border:1px solid #b8c9dd;border-radius:12px;padding:16px;margin:10px 0;cursor:pointer}
.sim-report-option:has(input:checked){border-color:#1765be;background:rgba(23,101,190,.08)}
.sim-report-option input{flex:0 0 20px;width:20px;height:20px;accent-color:#1765be}
.sim-report-option span{display:grid;gap:6px;min-width:0}
.sim-report-option small{line-height:1.5}
.sim-report-choice .sim-download-actions{display:flex;gap:12px}
.sim-report-choice .sim-download-actions button{flex:1}
html body dialog.sodam-popup.sim-report-choice label.sim-report-option{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;text-align:left}
html body dialog.sodam-popup.sim-report-choice .sim-report-option input[type=radio]{margin:0!important;flex:0 0 20px}

/* Keep the shared page-number geometry identical across mobile list owners. */
@media(max-width:900px){html body [data-sodam-pagination].sodam-pagination .page-button{min-width:32px;height:34px;min-height:34px;padding:0 7px;font-size:13px;line-height:1;box-sizing:border-box}html body [data-sodam-pagination].sodam-pagination{gap:5px}}

/* Trade history expands beside its selected row; asset movements share the balance table. */
.th-inline-detail-row[hidden]{display:none!important}
.th-table-wrap td.th-inline-detail-cell{padding:20px;white-space:normal;background:#f8fbff;border-bottom:1px solid #dce6f0}
.th-inline-detail-cell .th-detail{max-width:100%;min-width:0}
.th-inline-detail-cell .th-detail-heading{margin-top:0}
.th-table-wrap .btn.th-select{min-height:44px;white-space:nowrap;padding:9px 14px;border:1px solid #cbdbe9;border-radius:8px;background:#fff;color:#2169bf;text-align:center}
.th-table-wrap .btn.th-select[aria-expanded=true]{background:#eaf3ff;border-color:#7eabe2}
.asset-overview-upgrade .asset-recent table :is(th,td){text-align:left}
.asset-overview-upgrade .asset-recent table :is(th,td):nth-child(4){text-align:right}
.asset-overview-upgrade .asset-recent table td:nth-child(4){color:#2169bf;font-weight:700}
html[data-theme=dark] .th-table-wrap td.th-inline-detail-cell{background:#152337!important;border-color:#31445e!important}
@media(max-width:600px){.th-table-wrap td.th-inline-detail-cell{padding:15px}}

/* Recent asset movement items use the requested white background. */
html:not([data-theme=dark]) .asset-overview-upgrade .asset-recent table :is(th,td){background:#fff!important}

/* Asset movement and account query history use white SODAM table items. */
:is([data-asset-income],[data-account-history]) .table-wrap{border:1px solid #cfdeed;border-radius:12px;overflow-x:auto;margin:14px 0;max-width:100%}
:is([data-asset-income],[data-account-history]) table{width:100%;min-width:560px;border-collapse:collapse}
:is([data-asset-income],[data-account-history]) th{padding:13px 16px;color:#526d87;text-align:left;font-size:12px;font-weight:500;white-space:nowrap}
:is([data-asset-income],[data-account-history]) td{padding:16px;border-top:1px solid #dce6f0;color:#173450;text-align:left;font-size:13px}
html:not([data-theme=dark]) :is([data-asset-income],[data-account-history]) :is(table,th,td){background:#fff!important}
[data-asset-income] :is(th,td):nth-child(4){text-align:right;font-variant-numeric:tabular-nums}
[data-account-history] td:nth-child(3){white-space:normal;overflow-wrap:anywhere}
[data-account-history] td:not(:nth-child(3)){white-space:nowrap}
html[data-theme=dark] :is([data-asset-income],[data-account-history]) .table-wrap{border-color:#31445e}
html[data-theme=dark] :is([data-asset-income],[data-account-history]) :is(table,th,td){background:#152337!important;color:#edf3fc!important;border-color:#31445e}
@media(max-width:600px){:is([data-asset-income],[data-account-history]) :is(th,td){padding:13px}}

/* One SODAM table contract for both processing and exchange histories. */
[data-fund-history]{--history-bg:#fff;--history-head:#fff;--history-text:#173450;--history-muted:#526d87;--history-line:#dce6f0;--history-hover:#f0f7ff}
[data-fund-history] .fund-history-section{margin:20px 0;min-width:0}
[data-fund-history] .fund-history-section h4{margin:0 0 12px;font-size:15px;color:var(--history-text)}
[data-fund-history] .fund-history-table-wrap{background:var(--history-bg);border:1px solid var(--history-line);border-radius:12px;overflow-x:auto;max-width:100%}
[data-fund-history] .fund-history-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed;background:var(--history-bg)}
[data-fund-history] .fund-history-table :is(th,td){box-sizing:border-box;padding:14px 16px;line-height:24px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--history-line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
[data-fund-history] .fund-history-table th{height:48px;padding-block:12px;background:var(--history-head)!important;color:var(--history-muted)!important;font-size:12px;font-weight:600}
[data-fund-history] .fund-history-table td{height:56px;background:var(--history-bg)!important;color:var(--history-text)!important;font-size:13px}
[data-fund-history] .fund-history-table th:nth-child(1){width:24%}
[data-fund-history] .fund-history-table th:nth-child(2){width:16%}
[data-fund-history] .fund-history-table th:nth-child(3){width:28%}
[data-fund-history] .fund-history-table th:nth-child(4){width:20%}
[data-fund-history] .fund-history-table th:nth-child(5){width:12%}
[data-fund-history] .fund-history-table :is(th,td):nth-child(4){text-align:right}
[data-fund-history] .fund-history-table tr:last-child td{border-bottom:0}
[data-fund-history] .fund-history-table tbody tr{cursor:default}
[data-fund-history] .fund-history-table tbody tr[tabindex]{cursor:pointer}
[data-fund-history] .fund-history-table tbody tr[tabindex]:is(:hover,:focus-visible) td{background:var(--history-hover)!important}
@media screen{html[data-theme="dark"] [data-fund-history]{--history-bg:#152337;--history-head:#152337;--history-text:#edf3fc;--history-muted:#a8bad2;--history-line:#31445e;--history-hover:#203958}}
@media(max-width:600px){[data-fund-history] .fund-history-table :is(th,td){padding-inline:12px}}
[data-member-guide] [data-guide-article] h2{scroll-margin-top:96px}
.member-help-center .guide-article{scroll-margin-top:100px}
.member-help-center .guide-article:focus-visible{outline:2px solid #2584c7;outline-offset:4px}
html body button.btn[data-edit-api]{background:#d9f1ff!important;border-color:#79bce3!important;color:#144b70!important}
html body button.btn[data-edit-api]:hover{background:#c3e8ff!important}
html body button.btn[data-edit-api]:focus-visible{outline:2px solid #187dbb;outline-offset:3px}
html[data-theme=dark] body button.btn[data-edit-api]{background:#164969!important;border-color:#60a7d2!important;color:#e9f7ff!important}
html[data-theme=dark] body button.btn[data-edit-api]:hover{background:#205d80!important}

/* LIVE account metrics: futures above spot, with matching white cards. */
.asset-market-metric-group{margin:18px 0}
.asset-market-metric-group>h3,.asset-summary-market-group>h3{margin:0 0 12px;color:#173450;font-size:17px}
.asset-market-metric-group .kpi{background:#fff}
.asset-overview-upgrade .asset-summary-cards{display:flex;flex-direction:column;gap:22px}
.asset-summary-market-group{min-width:0}
.asset-market-currency-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.asset-market-currency-cards .asset-overview-card h4{margin:0 0 14px;font-size:16px;color:#173450}
.asset-overview-upgrade .asset-secondary-metrics{display:none}
@media(max-width:600px){.asset-market-currency-cards{grid-template-columns:1fr}}

.member-profile-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:inherit;max-width:180px}
.member-profile-link [data-member-display-name]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-fund-form-area][hidden],[data-fund-history-area][hidden],.fund-balances[hidden]{display:none!important}
.notification-time-field{display:inline-flex;flex-direction:column;gap:7px;margin:10px 18px 10px 0;min-width:130px}
.notification-time-field input{font:inherit;min-height:44px;padding:8px 12px;border:1px solid #dce6f0;border-radius:9px;background:#fff;color:#173450}
.support-reply-dialog .support-answer{white-space:pre-wrap;max-height:45vh;overflow:auto}
@media(max-width:600px){.member-profile-link{max-width:110px}.member-profile-link [data-member-display-name]{max-width:60px}}


/* Captured member guide: independent keyboard-accessible TOC scrolling. */
.member-help-center .guide-layout{align-items:start}
.member-help-center .guide-index{position:sticky;top:96px;min-height:0;max-height:calc(100dvh - 116px);overflow:hidden}
.member-help-center .guide-index-scroll{min-height:0;max-height:calc(100dvh - 174px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#8aa7c5 #edf3fa;padding-right:4px;display:flex;flex-direction:column;gap:4px}
.member-help-center .guide-index-scroll::-webkit-scrollbar{width:8px}
.member-help-center .guide-index-scroll::-webkit-scrollbar-track{background:#edf3fa;border-radius:8px}
.member-help-center .guide-index-scroll::-webkit-scrollbar-thumb{background:#8aa7c5;border-radius:8px}
.member-help-center .guide-index-scroll:focus-visible{outline:2px solid #2584c7;outline-offset:2px}
.member-help-center .guide-capture-content figure{margin:18px 0 24px;padding:12px;background:var(--surface-soft,#f4f8fd);border:1px solid var(--border,#dae5f0);border-radius:12px}
.member-help-center .guide-capture-content img{display:block;width:100%;max-width:100%;height:auto;border-radius:8px;object-fit:contain}
.member-help-center .guide-capture-content figcaption{font-size:12px;line-height:1.7;color:var(--muted,#647c98);margin-top:10px;overflow-wrap:anywhere}
.member-help-center .guide-capture-content table{width:100%;border-collapse:collapse;table-layout:fixed;margin:14px 0 22px}
.member-help-center .guide-capture-content td,.member-help-center .guide-capture-content th{padding:12px;border:1px solid var(--border,#dae5f0);font-size:13px;line-height:1.8;vertical-align:top;overflow-wrap:anywhere;text-align:left}
.member-help-center .guide-capture-content th{background:var(--surface-soft,#edf4ff)}
.member-help-center .guide-capture-content h4{font-size:14px;line-height:1.7;margin:18px 0 8px}
.member-help-center .guide-capture-content code{overflow-wrap:anywhere}
html[data-theme="dark"] .member-help-center .guide-index-scroll{scrollbar-color:#6688aa #24384d}
html[data-theme="dark"] .member-help-center .guide-index-scroll::-webkit-scrollbar-track{background:#24384d}
html[data-theme="dark"] .member-help-center .guide-index-scroll::-webkit-scrollbar-thumb{background:#6688aa}
@media(max-width:600px){
 .member-help-center .guide-index{position:static;display:block;max-height:none}
 .member-help-center .guide-index-scroll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:320px}
 .member-help-center .guide-index-scroll .guide-group{grid-column:1/-1}
 .member-help-center .guide-capture-content figure{padding:7px;margin:14px 0 20px}
 .member-help-center .guide-capture-content td,.member-help-center .guide-capture-content th{padding:8px;font-size:12px}
}

html[data-theme="dark"] .member-help-center .guide-capture-content figure,html[data-theme="dark"] .member-help-center .guide-capture-content th{background:#172b40;border-color:#344d67}
html[data-theme="dark"] .member-help-center .guide-capture-content td,html[data-theme="dark"] .member-help-center .guide-capture-content th{border-color:#344d67;color:#d8e6f5}
html[data-theme="dark"] .member-help-center .guide-capture-content figcaption{color:#adc1d7}

/* App delivery options stay inside the original notification settings template. */
.notification-preferences-dialog .notification-app-options{border-top:1px solid var(--line,#dce6f1);padding-top:16px;margin-top:20px}
.notification-preferences-dialog .notification-app-options[hidden]{display:none}
.notification-preferences-dialog .notification-app-options h4{margin:0 0 12px;font-size:14px}

@media(min-width:900px){.notification-preferences-dialog .notification-app-options{grid-column:2;min-width:0}}

/* SODAM_DEFAULT_CIRCLE_PAGINATION_BEGIN — default template 4 */
:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination{--sodam-page-size:40px;--sodam-page-gap:9px;--sodam-page-surface:#fff;--sodam-page-ink:#203b58;--sodam-page-arrow:#edf5ff;--sodam-page-accent:#2479e8;display:flex;justify-content:center;align-items:center;gap:var(--sodam-page-gap);flex-wrap:wrap;padding:14px 0 4px;max-width:100%;box-sizing:border-box}
:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination .page-button{width:var(--sodam-page-size);min-width:var(--sodam-page-size);height:var(--sodam-page-size);min-height:var(--sodam-page-size);flex:0 0 var(--sodam-page-size);padding:0;margin:0;border:0!important;border-radius:50%;background:var(--sodam-page-surface)!important;color:var(--sodam-page-ink)!important;box-shadow:none!important;font-size:13px;font-weight:500;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font-variant-numeric:tabular-nums}
:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination .page-button[data-pager-role]:not([data-pager-role^="page:"]){background:var(--sodam-page-arrow)!important;color:var(--sodam-page-accent)!important;font-size:21px}
:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination .page-button[aria-current="page"]{background:var(--sodam-page-accent)!important;color:#fff!important;font-weight:700}
:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination .page-button:hover:not(:disabled):not([aria-current="page"]){background:var(--sodam-page-arrow)!important;color:var(--sodam-page-accent)!important}
:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination .page-button:focus-visible{outline:2px solid var(--sodam-page-accent);outline-offset:2px}
:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination .page-button:disabled{opacity:.38;cursor:default}
:is(html,#sodam-night-style)[data-theme="dark"] body [data-sodam-pagination].sodam-pagination{--sodam-page-surface:#152337;--sodam-page-ink:#d8e6f5;--sodam-page-arrow:#203958;--sodam-page-accent:#2479e8}
@media(max-width:600px){:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination{--sodam-page-size:34px;--sodam-page-gap:4px}}
@media(max-width:360px){:is(html,#sodam-night-style) body [data-sodam-pagination].sodam-pagination{--sodam-page-size:28px;--sodam-page-gap:3px}}
/* SODAM_DEFAULT_CIRCLE_PAGINATION_END */

/* Unread state belongs to the header bell only. */
.appbar-right .sodam-unread-bell{position:relative}
.appbar-right .sodam-unread-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:#e3344b;border:2px solid #fff;pointer-events:none}
.appbar-right .sodam-unread-dot[hidden]{display:none}
html[data-theme=dark] .appbar-right .sodam-unread-dot{border-color:#142035}
.sidebar nav .sodam-menu-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:20px;flex:0 0 18px;overflow:visible}
.sidebar nav .sodam-menu-bell .icon{margin:0}
.sidebar nav .sodam-menu-unread{position:absolute;right:-4px;bottom:-3px;display:flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;border:1.5px solid #fff;border-radius:50%;background:#e3344b;color:#fff;font:700 9px/1 Arial,sans-serif;letter-spacing:0;box-sizing:content-box;pointer-events:none}
.sidebar nav .sodam-menu-unread[hidden]{display:none}
html[data-theme=dark] .sidebar nav .sodam-menu-unread{border-color:#142035}

/* SODAM_DATE_PICKER_V1 */
.sodam-date-picker{--sdp-bg:#fff;--sdp-header:#edf6ff;--sdp-text:#173450;--sdp-muted:#65768a;--sdp-line:#d9e5f2;--sdp-blue:#1769f5;--sdp-soft:#e9f2ff;--sdp-red:#bc4149;box-sizing:border-box;position:fixed;inset:auto;margin:0;width:370px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:0;border:1px solid var(--sdp-line);border-radius:18px;background:var(--sdp-bg);color:var(--sdp-text);box-shadow:0 18px 60px #102b4929;font:14px/1.4 inherit;color-scheme:light;z-index:10000}
.sodam-date-picker{font-family:inherit;font-size:14px;line-height:1.4}
.sodam-date-picker::backdrop{background:transparent}
.sodam-date-picker *{box-sizing:border-box}
.sodam-date-picker button,.sodam-date-picker select{font:inherit;letter-spacing:normal;text-transform:none;box-shadow:none;min-width:0;margin:0;cursor:pointer;color:var(--sdp-text)}
.sodam-date-picker button:focus-visible,.sodam-date-picker select:focus-visible{outline:3px solid var(--sdp-blue);outline-offset:2px}
.sdp-header{display:grid;grid-template-columns:40px minmax(100px,1fr) minmax(110px,1.2fr) 40px;gap:8px;align-items:center;background:var(--sdp-header);padding:18px 14px}
.sodam-date-picker select{width:100%;height:42px;padding:6px 24px 6px 10px;border:1px solid var(--sdp-line);border-radius:10px;background:var(--sdp-bg);font-weight:650}
.sodam-date-picker .sdp-nav,.sodam-date-picker .sdp-close{border:1px solid var(--sdp-line);border-radius:50%;background:var(--sdp-bg);width:38px;height:38px;padding:0;font-size:28px;line-height:1}
.sdp-week,.sdp-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0 14px}
.sdp-week{padding:18px 0 12px;border-bottom:1px solid var(--sdp-line);text-align:center;font-size:12px;font-weight:650}
.sdp-week span:first-child,.sdp-day:nth-child(7n+1){color:var(--sdp-red)}
.sdp-week span:last-child,.sdp-day:nth-child(7n){color:#246bca}
.sdp-grid{padding:10px 0}
.sodam-date-picker .sdp-day{display:grid;place-items:center;width:100%;aspect-ratio:1;min-height:40px;padding:0;border:0;border-radius:50%;background:transparent;font-size:15px}
.sodam-date-picker .sdp-day:hover:not(:disabled){background:var(--sdp-soft)}
.sodam-date-picker .sdp-outside{color:var(--sdp-muted)}
.sodam-date-picker .sdp-day[aria-current=date]:not([aria-pressed=true]){box-shadow:inset 0 0 0 1px var(--sdp-blue)}
.sodam-date-picker .sdp-day[aria-pressed=true]{background:var(--sdp-blue);color:#fff;font-weight:700}
.sodam-date-picker button:disabled{opacity:.38;cursor:not-allowed}
.sdp-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--sdp-line);padding:14px 18px;gap:12px}
.sodam-date-picker .sdp-clear,.sodam-date-picker .sdp-today{border:0;color:var(--sdp-blue);min-height:40px;padding:8px 14px;border-radius:20px;background:transparent;font-weight:650}
.sodam-date-picker .sdp-today{background:var(--sdp-soft)}
.sdp-title,.sdp-handle,.sodam-date-picker .sdp-confirm{display:none}
html[data-theme=dark] .sodam-date-picker,body.dark .sodam-date-picker{--sdp-bg:#17283c;--sdp-header:#1e344d;--sdp-text:#eef5ff;--sdp-muted:#9aadc5;--sdp-line:#3a506a;--sdp-blue:#77acff;--sdp-soft:#243f61;--sdp-red:#ff949b;color-scheme:dark;box-shadow:0 18px 60px #0008}
html[data-theme=dark] .sodam-date-picker .sdp-day[aria-pressed=true],body.dark .sodam-date-picker .sdp-day[aria-pressed=true]{background:#2267d9;color:#fff}
html[data-theme=dark] .sdp-week span:last-child,html[data-theme=dark] .sdp-day:nth-child(7n),body.dark .sdp-week span:last-child,body.dark .sdp-day:nth-child(7n){color:#94bdff}
@media(max-width:640px){
 .sodam-date-picker{left:0!important;top:auto!important;right:0;bottom:0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - 20px);border-radius:24px 24px 0 0;padding:0 12px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -12px 60px #102b4933}
 .sodam-date-picker::backdrop{background:#10243f80}
 .sdp-handle{display:block;width:42px;height:5px;border-radius:10px;background:var(--sdp-line);margin:12px auto 6px}
 .sdp-title{display:flex;align-items:center;justify-content:space-between;padding:10px 10px 14px;font-size:21px}
 .sdp-header{padding:10px 0;background:transparent;gap:6px;grid-template-columns:38px minmax(90px,1fr) minmax(110px,1.2fr) 38px}
 .sdp-week,.sdp-grid{margin:0 2px;gap:3px}
 .sdp-week{padding:14px 0 10px}
 .sodam-date-picker .sdp-day{min-height:42px;max-height:52px;font-size:16px;aspect-ratio:auto}
 .sdp-footer{padding:10px 0;border:0}
 .sodam-date-picker .sdp-confirm{display:block;width:100%;min-height:50px;border:0;border-radius:12px;background:#1769f5;color:#fff;font-size:16px;font-weight:700;padding:12px}
}
/* SODAM_DATE_PICKER_V1_END */


/* SODAM_BRANDED_PROMPTS_V1 */
html body dialog.sodam-popup[data-branded-prompt]{box-sizing:border-box;width:420px;max-width:calc(100vw - 32px);max-height:80dvh;padding:24px;border-radius:24px;text-align:left;overflow:auto;background:#fff;color:#132d48}
html body dialog.sodam-popup[data-branded-prompt] .sodam-prompt-brand{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #e2e9f2}
html body dialog.sodam-popup[data-branded-prompt] .sodam-prompt-brand img{display:block;width:170px;max-width:100%;height:44px;object-fit:cover;background:#fff;border-radius:8px;padding:4px 6px}
html body dialog.sodam-popup[data-branded-prompt]>h2{text-align:left;font-size:22px;line-height:1.4;margin:0 0 12px}
html body dialog.sodam-popup[data-branded-prompt] .sodam-popup-message{text-align:left;color:#61748a;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
html body dialog.sodam-popup[data-branded-prompt] .sodam-popup-actions{flex-wrap:nowrap;direction:ltr}
html body dialog.sodam-popup[data-branded-prompt] .sodam-popup-actions>button{border:0;border-radius:14px;min-height:52px;flex:1 1 0;background:#eef3f9;color:#132d48;order:0}
html body dialog.sodam-popup[data-branded-prompt] .sodam-popup-actions>.primary{background:#1769f5;color:#fff}
html[data-theme=dark] body dialog.sodam-popup[data-branded-prompt]{background:#17283c;color:#eef5ff}
html[data-theme=dark] body dialog.sodam-popup[data-branded-prompt] .sodam-prompt-brand{border-color:#3a506a}
html[data-theme=dark] body dialog.sodam-popup[data-branded-prompt] .sodam-popup-message{color:#b3c3d7}
html[data-theme=dark] body dialog.sodam-popup[data-branded-prompt] .sodam-popup-actions>.ghost{background:#263d57;color:#eef5ff}
/* SODAM_BRANDED_PROMPTS_END */

/* Home dashboard: approved SODAM template, calendar master/detail. */
.home-dashboard{display:grid;width:100%;max-width:1440px;margin-inline:auto;gap:20px;color:var(--navy,#203958)}
.hd-top{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px}
.home-dashboard .panel{padding:24px;margin:0;min-width:0;border:1px solid var(--line,#dce8f7);border-radius:16px;background:var(--surface,#fff)}
.home-dashboard h2{font-size:20px;margin:0}.home-dashboard h3{font-size:20px;margin:0}.home-dashboard h4{margin:24px 0 12px}
.hd-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.hd-heading small,.hd-filter-note,.hd-calendar-note{color:var(--muted,#60738e)}
.hd-program-row{display:flex;align-items:center;gap:16px;padding:14px 16px;border:1px solid var(--line,#dce8f7);border-radius:10px;margin-top:10px;color:inherit;text-decoration:none}
.hd-program-row:hover{border-color:#256fe8}.hd-program-row>div{flex:1;min-width:0}.hd-program-row strong{margin-right:12px}.hd-program-row small{display:block;margin-top:6px;color:var(--muted,#60738e);overflow-wrap:anywhere}.hd-run-dot{color:#08ad8a;font-size:18px}.hd-arrow{color:#60738e}
.hd-live-badge{display:inline-block;flex:none;padding:4px 10px;border-radius:8px;background:#ff2d87!important;color:#fff!important;font-size:12px;font-weight:700;vertical-align:middle}
.hd-point-balance{display:block;font-size:38px;line-height:1.3;margin:20px 0;color:var(--blue,#256fe8);font-variant-numeric:tabular-nums}
.hd-subscription{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--ice,#eaf3ff);border-radius:10px;padding:12px 16px;margin-bottom:6px}.hd-subscription strong{color:var(--blue,#256fe8)}
.hd-point-actions{display:flex;gap:12px;margin-top:16px}.hd-point-actions a{flex:1;justify-content:center;text-align:center}
.home-dashboard .hd-calendar-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.hd-calendar-main{min-width:0}.hd-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin-bottom:8px}
.hd-month-nav{display:flex;align-items:center;gap:12px}.hd-month-nav h3{white-space:nowrap}.hd-month-nav button{font-size:24px;min-width:40px;min-height:40px;padding:2px 10px}
.hd-filters{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.3fr);gap:10px}.hd-filters label{font-size:12px;color:var(--muted,#60738e)}
.hd-filters select{display:block;width:100%;min-height:40px;margin-top:5px;border:1px solid var(--line,#dce8f7);border-radius:8px;background:var(--surface,#fff);color:inherit;padding:8px;font:inherit;font-size:14px}
.hd-filter-note{display:block;margin-bottom:12px}.hd-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line,#dce8f7);border-left:1px solid var(--line,#dce8f7);overflow:hidden;border-radius:10px}
.hd-weekday{text-align:center;padding:12px 0;background:var(--ice,#f6faff);font-size:13px;border-right:1px solid var(--line,#dce8f7);border-bottom:1px solid var(--line,#dce8f7)}.hd-weekday-0{color:#f05265}.hd-weekday-6{color:#256fe8}
.hd-day,.hd-empty-day{min-width:0;min-height:104px;border:0;border-right:1px solid var(--line,#dce8f7);border-bottom:1px solid var(--line,#dce8f7);background:transparent;border-radius:0}
.hd-day{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:8px 6px;color:inherit;cursor:pointer;font:inherit;text-align:left}.hd-day:hover{background:var(--ice,#f6faff)}.hd-day.is-selected{box-shadow:inset 0 0 0 2px #256fe8;background:var(--blue-soft,#eaf3ff);border-radius:5px}.hd-day.is-today .hd-date{font-weight:800;text-decoration:underline;text-underline-offset:4px}
.hd-day-value{font-size:11px;white-space:nowrap;letter-spacing:-.3px}.hd-day-count{font-size:10px;color:var(--muted,#60738e)}.hd-mobile-dot{display:none;color:#256fe8}
.hd-positive{color:var(--green,#009c7e)!important}.hd-negative{color:var(--red,#e94a64)!important}.hd-neutral{color:var(--muted,#60738e)}
.hd-calendar-note{font-size:12px;line-height:1.6;margin:16px 0 6px}.hd-detail{border-left:1px solid var(--line,#dce8f7);padding-left:24px;min-width:0;max-height:800px;overflow:auto}.hd-detail h3{margin:8px 0 24px}.hd-profit-line{display:flex;justify-content:space-between;padding:10px 0;gap:12px}
.hd-trade{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line,#dce8f7);border-radius:9px;padding:12px;margin:8px 0;font-size:13px}.hd-trade small{display:block;margin-top:4px;color:var(--muted,#60738e)}.hd-trade>small{flex-basis:100%}.hd-detail>a{display:block;text-align:center;margin-top:16px}
.home-dashboard button:focus-visible,.home-dashboard select:focus-visible,.home-dashboard a:focus-visible{outline:3px solid #256fe8;outline-offset:2px}
html[data-theme="dark"] .hd-point-balance,html[data-theme="dark"] .hd-subscription strong{color:#8cbbff}
@media(max-width:1100px){.home-dashboard .hd-calendar-panel{grid-template-columns:minmax(0,1fr)}.hd-detail{border-left:0;border-top:1px solid var(--line,#dce8f7);padding:20px 0 0;max-height:none}.hd-top{grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr)}}
@media(max-width:600px){.home-dashboard{gap:14px}.hd-top{grid-template-columns:minmax(0,1fr);gap:14px}.home-dashboard .panel{padding:16px;border-radius:12px}.hd-programs{grid-row:1}.hd-point-balance{font-size:30px;margin:12px 0}.home-dashboard h2,.home-dashboard h3{font-size:18px}.hd-program-row{padding:12px;gap:10px}.hd-program-row strong{font-size:14px}.hd-program-row small{font-size:12px}.hd-toolbar{display:block}.hd-month-nav{justify-content:space-between;margin-bottom:16px}.hd-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hd-day,.hd-empty-day{min-height:54px}.hd-day{align-items:center;padding:6px 2px;gap:2px}.hd-day-count{display:none}.hd-grid{margin-top:12px}.hd-trade{font-size:12px}.hd-trade>strong{white-space:nowrap}}


/* Home calendar amount view v2; inherit the SODAM palette. */
.hd-toolbar{justify-content:center;align-items:center;flex-direction:column;gap:16px;margin-bottom:20px}
.hd-month-nav{justify-content:center;width:100%}
.hd-month-nav select{width:auto;min-width:100px;min-height:44px;border:1px solid var(--line,#dce8f7);border-radius:9px;padding:8px 12px;background:var(--surface,#fff);color:inherit;font-family:inherit;font-size:17px;font-weight:700}
.hd-filters{width:100%;max-width:620px}
.hd-month-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hd-month-card{min-width:0;display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid var(--line,#dce8f7);border-radius:12px;background:var(--ice,#eaf3ff);font-size:14px}
.hd-month-card>strong{font-size:28px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hd-month-roi{display:flex;align-items:center;gap:12px;font-size:14px}.hd-month-roi>b{font-size:18px}
.hd-summary-note{display:block;text-align:right;color:var(--muted,#60738e);font-size:12px;margin:10px 0 16px}
.hd-mobile-legend,.hd-mobile-amount{display:none}
.home-dashboard .hd-detail{border-left:0;border-top:1px solid var(--line,#dce8f7);padding:20px 0 0;max-height:none}
.hd-day-value{font-variant-numeric:tabular-nums;font-size:12px}
.hd-day.is-today{background:color-mix(in srgb,var(--blue,#256fe8) 15%,var(--surface,#fff))}
.hd-day.is-today .hd-date{display:inline-flex;align-items:center;gap:5px;background:var(--blue,#256fe8);color:#fff!important;border-radius:5px;padding:2px 6px;text-decoration:none;font-weight:800}
.hd-today-label{font-size:10px;font-weight:600}.hd-day.is-selected{box-shadow:inset 0 0 0 2px var(--blue,#256fe8)}
html[data-theme="dark"] .hd-month-card{background:var(--ice,#192b42)}
html[data-theme="dark"] .home-dashboard .hd-positive{color:#69ddb0!important}html[data-theme="dark"] .home-dashboard .hd-negative{color:#ff929f!important}
@media(max-width:600px){
 .hd-toolbar{margin-bottom:14px}.hd-month-nav{gap:8px}.hd-month-nav select{min-width:0;flex:1;font-size:15px;padding:8px}.hd-month-nav button{min-width:32px;padding:2px 6px}
 .hd-month-summary{gap:8px}.hd-month-card{padding:12px 10px;gap:6px;font-size:11px}.hd-month-card>strong{font-size:18px}.hd-month-roi{font-size:11px;gap:5px;flex-wrap:wrap}.hd-month-roi>b{font-size:15px}
 .hd-summary-note{font-size:10px;text-align:left;margin-bottom:10px}.hd-mobile-legend{display:block;font-size:10px;color:var(--muted,#60738e);margin:8px 0}
 .hd-day,.hd-empty-day{min-height:76px}.hd-day{gap:3px}.hd-day-value{display:block;font-size:10px;line-height:1.4;letter-spacing:-.5px}.hd-day-currency,.hd-desktop-amount{display:none}.hd-mobile-amount{display:inline}
 .hd-today-label{display:none}.hd-day.is-today .hd-date{padding:1px 5px}.hd-grid{margin-top:6px}
}

/* Keep global button flex rules from squeezing the independent year/month selects. */
.home-dashboard .hd-month-nav{display:grid;grid-template-columns:36px minmax(0,1.3fr) minmax(0,1fr) 36px;max-width:420px;margin-inline:auto;gap:10px}
.home-dashboard .hd-month-nav button{width:36px;min-width:36px;max-width:36px;flex:none;padding:2px}
.home-dashboard .hd-month-nav select{width:100%;min-width:0}
@media(max-width:600px){.home-dashboard .hd-month-nav{grid-template-columns:32px minmax(0,1.3fr) minmax(0,1fr) 32px;gap:6px}.home-dashboard .hd-month-nav button{width:32px;min-width:32px;max-width:32px}.home-dashboard .hd-month-nav select{padding:8px 4px;font-size:14px}}

/* SODAM year picker, 2025 onward: fixed compact controls on web and Android. */
.home-dashboard .hd-month-nav{grid-template-columns:32px 102px 82px 32px!important;width:max-content!important;max-width:100%!important;gap:8px!important;justify-content:center}
.home-dashboard .hd-month-nav [data-hd-year]{display:none!important}
.home-dashboard .hd-month-nav>button{box-sizing:border-box!important;min-width:32px!important;width:32px!important;max-width:32px!important;margin:0!important;min-height:44px!important}
.home-dashboard .hd-month-nav>.hd-year-trigger{display:flex!important;align-items:center;justify-content:space-between;width:102px!important;min-width:102px!important;max-width:102px!important;padding:8px 10px!important;border:1px solid var(--line,#dce8f7);border-radius:9px;background:var(--surface,#fff);color:inherit;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;box-shadow:none}
.home-dashboard .hd-month-nav>select[data-hd-month]{width:82px!important;min-width:82px!important;max-width:82px!important;padding:8px 6px;font-size:14px;box-sizing:border-box}
@media(max-width:360px){.home-dashboard .hd-month-nav{grid-template-columns:28px 90px 68px 28px!important;gap:5px!important}.home-dashboard .hd-month-nav>button{min-width:28px!important;width:28px!important;max-width:28px!important}.home-dashboard .hd-month-nav>.hd-year-trigger{width:90px!important;min-width:90px!important;max-width:90px!important;padding:8px!important}.home-dashboard .hd-month-nav>select[data-hd-month]{width:68px!important;min-width:68px!important;max-width:68px!important}}
dialog.hd-year-dialog{box-sizing:border-box;width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow:auto;margin:auto;padding:24px;border:1px solid var(--line,#dce8f7);border-radius:20px;background:var(--surface,#fff);color:var(--navy,#203958);box-shadow:0 20px 60px #142d5540;font-family:inherit}
dialog.hd-year-dialog::backdrop{background:rgba(18,35,58,.48)}
.hd-year-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hd-year-header h2{margin:0;font-size:21px;color:inherit}
.hd-year-dialog .hd-year-close{display:grid;place-items:center;flex:none;width:40px;height:40px;min-width:40px;padding:0;border:0;background:transparent;color:inherit;font-size:28px;line-height:1;cursor:pointer}
.hd-year-dialog p{font-size:13px;color:var(--muted,#60738e);margin:8px 0 20px;line-height:1.6}
.hd-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hd-year-dialog .hd-year-option{position:relative;box-sizing:border-box;min-width:0;min-height:48px;width:100%;padding:12px 4px;border:1px solid var(--line,#dce8f7);border-radius:9px;background:var(--surface,#fff);color:inherit;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer}
.hd-year-dialog .hd-year-option[aria-pressed="true"]{background:var(--blue,#256fe8)!important;border-color:var(--blue,#256fe8)!important;color:#fff!important}
.hd-year-check{font-size:11px;margin-left:4px}.hd-year-note{display:block;margin-top:20px;color:var(--muted,#60738e);font-size:12px;line-height:1.6}
.hd-year-dialog button:focus-visible{outline:3px solid var(--blue,#256fe8);outline-offset:3px}
html[data-theme="dark"] dialog.hd-year-dialog{background:var(--surface,#152337);border-color:var(--line,#31445e);color:var(--navy,#d8e7ff)}
@media(max-width:360px){dialog.hd-year-dialog{padding:20px}.hd-year-check{margin-left:2px;font-size:10px}}

/* Home calendar spacing v4: equal edge-to-edge gaps, centered as one group. */
html body [data-home-dashboard] .hd-month-nav{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:max-content!important;max-width:100%!important;margin-inline:auto!important;padding:0!important}
html body [data-home-dashboard] .hd-month-nav>[data-hd-year]{display:none!important}
html body [data-home-dashboard] .hd-month-nav>button,
html body [data-home-dashboard] .hd-month-nav>select{box-sizing:border-box!important;flex:none!important;margin:0!important;position:static!important;transform:none!important;min-height:44px!important;height:44px!important}
html body [data-home-dashboard] .hd-month-nav>[data-hd-prev],html body [data-home-dashboard] .hd-month-nav>[data-hd-next]{width:40px!important;min-width:40px!important;max-width:40px!important;padding:0!important}
html body [data-home-dashboard] .hd-month-nav>[data-hd-year-open]{width:102px!important;min-width:102px!important;max-width:102px!important}
html body [data-home-dashboard] .hd-month-nav>[data-hd-month]{width:82px!important;min-width:82px!important;max-width:82px!important}
@media(max-width:600px){html body [data-home-dashboard] .hd-month-nav>[data-hd-prev],html body [data-home-dashboard] .hd-month-nav>[data-hd-next]{width:32px!important;min-width:32px!important;max-width:32px!important}}
@media(max-width:360px){html body [data-home-dashboard] .hd-month-nav>[data-hd-prev],html body [data-home-dashboard] .hd-month-nav>[data-hd-next]{width:28px!important;min-width:28px!important;max-width:28px!important}html body [data-home-dashboard] .hd-month-nav>[data-hd-year-open]{width:88px!important;min-width:88px!important;max-width:88px!important}html body [data-home-dashboard] .hd-month-nav>[data-hd-month]{width:68px!important;min-width:68px!important;max-width:68px!important}}

/* Matching SODAM month picker; preserve the centered 12px control gaps. */
html body [data-home-dashboard] .hd-month-nav>[data-hd-month]{display:none!important}
html body [data-home-dashboard] .hd-month-nav>[data-hd-month-open]{width:82px!important;min-width:82px!important;max-width:82px!important}
@media(max-width:360px){html body [data-home-dashboard] .hd-month-nav>[data-hd-month-open]{width:68px!important;min-width:68px!important;max-width:68px!important;padding:8px 6px!important}}
.hd-year-dialog .hd-year-option:disabled{opacity:.4;cursor:not-allowed;background:var(--ice,#f4f8fd)}

/* Strategy details use a scrollable modal on phones, with a persistent close button. */
.strategy-detail-dialog{width:calc(100% - 24px);max-width:680px;max-height:90vh;max-height:90dvh;padding:0;border:1px solid var(--border,#dce7f3);border-radius:18px;background:var(--card,#fff);color:var(--text,#183454);overflow:hidden}
.strategy-detail-dialog[open]{display:flex;flex-direction:column}
.strategy-detail-dialog::backdrop{background:rgba(12,27,48,.55)}
.strategy-detail-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;flex-shrink:0;border-bottom:1px solid var(--border,#dce7f3)}
.strategy-detail-dialog>.board-details{overflow:auto;min-height:0;overscroll-behavior:contain}
[data-theme=dark] .strategy-detail-dialog{background:#152238;color:#e5eefb;border-color:#35445a}
@media(max-width:700px){.mobile-strategy-details .board-details{display:none}.mobile-strategy-details .strategy-detail-dialog>.board-details{display:block}.strategy-detail-dialog .board-detail{padding:16px}.strategy-detail-dialog .board-detail-head h2{font-size:20px}}


/* Design 09 uses existing theme tokens; scope layout changes to strategy boards. */
.strategy-design-nine{--nine-border:var(--sodam-color-line,var(--border,#dce7f3));--nine-surface:var(--surface,#fff);--nine-ink:var(--sodam-color-ink,var(--navy,#183454));--nine-accent:var(--sodam-color-accent,var(--blue,#2679ef))}
[data-strategy-board].strategy-design-nine .board-layout{display:grid;grid-template-columns:minmax(270px,34%) minmax(0,1fr);gap:20px;background:transparent;border:0;overflow:visible;align-items:start}
[data-strategy-board].strategy-design-nine .board-list{display:flex;flex-direction:column;border:1px solid var(--nine-border);border-radius:16px;background:var(--nine-surface);overflow:hidden}
.strategy-design-nine .program-strip{display:flex;flex-direction:column;gap:10px;padding:14px;min-height:728px;overflow:visible}
.strategy-design-nine .program-strip>.board-choice{flex:0 0 auto;width:100%;min-height:108px;padding:14px;display:grid;grid-template-columns:1fr auto;gap:6px 10px;scroll-snap-align:none}
.strategy-design-nine .board-choice strong{font-size:17px}.strategy-design-nine .board-choice-meta{grid-row:2;grid-column:1/-1}
.strategy-design-nine .board-choice .board-choice-meta{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.strategy-design-nine .board-choice .board-choice-coins{width:auto;padding:0;border:0;background:transparent;font-size:12px}
.strategy-design-nine .board-choice .board-choice-tags{width:auto;display:flex;gap:6px}.strategy-design-nine .board-choice .board-choice-tags .badge{width:auto;min-height:22px}
.strategy-design-nine .board-pagination{margin-top:auto;min-height:64px;justify-content:center;padding:14px;box-sizing:border-box}
.strategy-design-nine .board-categories{display:flex;flex-wrap:wrap;gap:4px;padding:12px}.strategy-design-nine .board-category{flex:1;padding:10px 6px;white-space:nowrap}
.strategy-design-nine .board-detail{border:1px solid var(--nine-border);border-radius:16px;background:var(--nine-surface);padding:24px}
.strategy-design-nine .board-detail-head{align-items:flex-start;gap:18px}.strategy-design-nine .board-detail-head h2{display:block;margin:0 0 10px;font-size:25px}
.strategy-design-nine .board-detail-head .actions{margin:0}.strategy-design-nine .nine-access{font-size:12px;font-weight:650;border-radius:20px;padding:5px 9px;display:inline-block;white-space:nowrap}
.nine-access.allowed{color:#08784e;background:#e4f7ed}.nine-access.denied{color:#ba2443;background:#ffedf0}.nine-required-grade{color:inherit;opacity:.75;font-size:12px;margin-left:8px}
.strategy-design-nine .board-choice>.nine-access{grid-row:1;grid-column:2}.strategy-design-nine .board-choice>.nine-required-grade{grid-row:3;grid-column:1/-1;margin-left:0}
.nine-execution-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.nine-switch{width:56px;height:32px;padding:3px;border:1px solid #aebac9;border-radius:20px;background:#bbc5d1;cursor:pointer;flex:none}.nine-switch-thumb{display:block;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .16s}.nine-switch[aria-checked=true]{background:var(--nine-accent);border-color:var(--nine-accent)}.nine-switch[aria-checked=true] .nine-switch-thumb{transform:translateX(23px)}.nine-switch:disabled{opacity:.5;cursor:not-allowed}
.nine-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0 20px;border:1px solid var(--nine-border);border-radius:10px;overflow:hidden}
.nine-detail-tabs button{border:0;border-right:1px solid var(--nine-border);padding:14px 8px;background:transparent;color:inherit;font:inherit;font-weight:650;cursor:pointer}.nine-detail-tabs button:last-child{border-right:0}.nine-detail-tabs button[aria-selected=true]{color:var(--nine-accent);background:color-mix(in srgb,var(--nine-accent) 10%,transparent);box-shadow:inset 0 -3px var(--nine-accent)}
.nine-tab-panel{min-height:290px}.nine-tab-panel[hidden],.strategy-design-nine [data-sodam1-start][hidden],.strategy-design-nine [data-sodam1-stop][hidden]{display:none!important}
.nine-tab-panel .board-phase{margin-top:0}.nine-tab-panel .operation-summary{margin-top:0}.nine-tab-panel .operation-records{overflow-x:auto}
.nine-resources{display:grid;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--nine-border)}.nine-resources .program-history-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.nine-resources .btn{white-space:normal;text-align:center;justify-content:center;min-height:44px}
.nine-detail-tabs button:focus-visible,.nine-switch:focus-visible{outline:3px solid var(--nine-accent);outline-offset:-3px}
.strategy-nine-dialog{width:min(560px,calc(100% - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;padding:26px;border:1px solid #dce7f3;border-radius:16px;color:#183454;background:#fff}.strategy-nine-dialog::backdrop{background:#10264288}.nine-info-body{white-space:pre-wrap;line-height:1.8}.nine-check-result{line-height:1.8;margin-bottom:20px}
html[data-theme=dark] .strategy-design-nine{--nine-border:#33475f;--nine-surface:#152337;--nine-ink:#e4edf8;--nine-accent:#75afff;color:var(--nine-ink)}
html[data-theme=dark] .strategy-design-nine .board-choice{background:#152337;color:#e4edf8}html[data-theme=dark] .strategy-design-nine .board-choice[aria-pressed=true]{background:#213b59}html[data-theme=dark] .strategy-nine-dialog{background:#152337;color:#e4edf8;border-color:#33475f}
html[data-theme=dark] .nine-access.allowed{background:#153f31;color:#82e2b4}html[data-theme=dark] .nine-access.denied{background:#4b2330;color:#ffabbc}
@media(max-width:1050px) and (min-width:701px){[data-strategy-board].strategy-design-nine .board-layout{grid-template-columns:280px minmax(0,1fr);gap:12px}.strategy-design-nine .board-detail{padding:18px}.nine-execution-controls{width:100%}.nine-resources .program-history-actions{grid-template-columns:1fr}}
@media(max-width:700px){[data-strategy-board].strategy-design-nine .board-layout{display:block}.strategy-design-nine .program-strip{min-height:728px}.strategy-design-nine .strategy-detail-dialog .board-detail{border:0;border-radius:0;padding:16px}.nine-detail-tabs{margin:18px 0}.nine-detail-tabs button{font-size:13px;padding:12px 4px}.nine-execution-controls{width:100%}.nine-execution-controls .btn{margin-left:auto}.nine-tab-panel{min-height:220px}.nine-resources .program-history-actions{grid-template-columns:1fr}.strategy-design-nine .board-detail-head .actions{width:100%}.strategy-design-nine .board-detail-head h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.nine-switch-thumb{transition:none}}


/* Approved home dashboard concept: scoped layout, shared palette and live data. */
.hd-enhanced{--hd-accent:var(--sodam-color-accent,var(--blue,#347cf5));--hd-soft:var(--sodam-color-soft,var(--ice,#eff5ff));--hd-ink:var(--sodam-color-ink,var(--navy,#173252));--hd-line:var(--sodam-color-line,var(--line,#e5edf7));--hd-surface:var(--surface,#fff);display:flex;flex-direction:column;gap:20px;width:100%;max-width:1450px;margin:auto;color:var(--hd-ink)}
body:has(.hd-enhanced) .pagehead{display:none}
.hd-enhanced .panel{padding:20px;border:1px solid var(--hd-line);border-radius:15px;background:var(--hd-surface);box-shadow:0 5px 20px #1d487603;min-width:0}
.hd-enhanced h2{font-size:16px;margin:0;line-height:1.5}.hd-enhanced .hd-heading{display:flex;gap:10px;align-items:center;margin:0 0 16px}.hd-enhanced .hd-heading>h2:first-child{margin-right:auto}.hd-enhanced .hd-text-link{font-size:12px;color:var(--muted,#60738e);text-decoration:none;margin-left:auto;white-space:nowrap;padding:6px 3px}
.hd-enhanced .hd-eyeline{display:block;font-size:10px;letter-spacing:1.6px;color:var(--muted,#7d8da3);margin-bottom:6px}
.hd-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:4px 22px 5px 4px;min-height:124px}.hd-welcome h1{font-size:30px;line-height:1.4;letter-spacing:-1px;margin:0 0 9px}.hd-welcome p{font-size:13px;color:var(--muted,#60738e);margin:0 0 14px}.hd-welcome-meta{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted,#60738e)}.hd-welcome img{width:105px;height:130px;object-fit:contain;mix-blend-mode:multiply}
.hd-enhanced .hd-top{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(255px,1fr);gap:18px}.hd-enhanced [data-hd-programs]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.hd-enhanced [data-hd-programs]>p{grid-column:1/-1}.hd-enhanced [data-hd-running-count]{font-size:11px;background:var(--hd-soft);color:var(--hd-accent);border-radius:7px;padding:4px 7px}
.hd-enhanced .hd-program-row{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:0;margin:0;padding:14px;border:1px solid var(--hd-line);border-radius:10px;background:linear-gradient(145deg,var(--hd-surface),var(--hd-soft))}.hd-enhanced .hd-program-row:hover{border-color:var(--hd-accent)}.hd-enhanced .hd-program-row>div{flex:none}.hd-enhanced .hd-program-row>strong{font-size:16px;margin:0;overflow-wrap:anywhere}.hd-program-top{display:flex;justify-content:space-between;align-items:center;gap:6px}.hd-program-icon{width:31px;height:31px;display:grid;place-items:center;font-size:12px;border-radius:9px;color:var(--hd-accent);background:var(--hd-soft)}.hd-program-status{font-size:10px;border-radius:12px;padding:4px 8px;white-space:nowrap;background:#e3f6ed;color:#197754}.hd-program-row[data-status=WAITING] .hd-program-status,.hd-program-row[data-status=PREPARING] .hd-program-status{background:#fff1ce;color:#815d0c}.hd-program-row[data-status=STOPPING] .hd-program-status{background:#ffe6ea;color:#a52642}.hd-program-symbol{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:var(--muted,#60738e);font-size:11px}.hd-enhanced .hd-program-symbol .hd-live-badge{font-size:9px;padding:2px 5px;border-radius:4px}.hd-program-foot{display:flex;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid var(--hd-line);padding-top:10px}.hd-enhanced .hd-program-foot small{font-size:11px;margin:0}.hd-enhanced .hd-points{display:flex;flex-direction:column;background:linear-gradient(130deg,var(--hd-surface),var(--hd-soft))}.hd-enhanced .hd-point-balance{font-size:30px;margin:14px 0;color:inherit}.hd-enhanced .hd-subscription{padding:0;background:transparent;font-size:12px}.hd-enhanced .hd-point-actions{margin-top:auto;padding-top:18px;gap:8px}.hd-enhanced .hd-point-actions a{font-size:12px;padding:9px 1em}.hd-enhanced [data-subscription-expiry]{font-size:11px}
.hd-performance-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}.hd-performance-heading>small{font-size:11px}.hd-performance-heading h2 small{font-size:11px;color:var(--muted,#60738e);font-weight:400;margin-left:8px}.hd-enhanced .hd-month-summary{display:grid;grid-template-columns:1.2fr 1.2fr .9fr .9fr;gap:14px;margin:0}.hd-enhanced .hd-month-card,.hd-enhanced .hd-kpi{min-width:0;border:1px solid var(--hd-line);border-radius:12px;background:var(--hd-surface);padding:18px;display:block}.hd-enhanced .hd-month-card>span,.hd-kpi>span{font-size:12px;color:var(--muted,#60738e)}.hd-enhanced .hd-month-card>strong,.hd-kpi>strong{display:block;font-size:25px;line-height:1.5;letter-spacing:-.5px;margin:10px 0;overflow-wrap:anywhere}.hd-enhanced .hd-month-roi,.hd-kpi>small{font-size:11px;color:var(--muted,#60738e)}.hd-enhanced .hd-month-roi{display:flex;gap:6px;justify-content:flex-start}.hd-enhanced .hd-month-roi b{font-weight:500}
.hd-enhanced .hd-calendar-panel{display:grid;grid-template-columns:minmax(0,2.9fr) minmax(230px,1fr);gap:0 20px}.hd-enhanced .hd-calendar-panel>.hd-heading,.hd-enhanced .hd-toolbar{grid-column:1/-1}.hd-enhanced .hd-toolbar{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;flex-direction:row;margin:0 0 20px}.hd-enhanced .hd-filters{grid-column:1;grid-row:1;max-width:300px;grid-template-columns:1fr 1.2fr;width:100%;gap:7px}.hd-enhanced .hd-filters label{font-size:10px}.hd-enhanced .hd-filters select{font-size:11px;padding:8px;min-height:36px}.hd-enhanced .hd-month-nav{grid-column:2;grid-row:1}.hd-enhanced .hd-today-button{justify-self:end;grid-column:3;grid-row:1;font-size:11px;padding:7px 1em}.hd-enhanced .hd-summary-note{display:none}.hd-enhanced .hd-mobile-legend{display:block;font-size:10px;color:var(--muted,#60738e);margin:0 0 8px}.hd-enhanced .hd-day,.hd-enhanced .hd-empty-day{min-height:82px}.hd-enhanced .hd-weekday{font-size:11px;padding:8px 0;background:var(--hd-soft)}.hd-enhanced .hd-day{align-items:flex-start;padding:8px;gap:4px}.hd-enhanced .hd-date{font-size:12px}.hd-enhanced .hd-day-value{font-size:11px}.hd-enhanced .hd-day-currency{font-size:8px}.hd-enhanced .hd-day-count{font-size:9px}.hd-enhanced .hd-day.is-selected{box-shadow:inset 0 0 0 2px var(--hd-accent);background:var(--hd-soft);border-radius:0}.hd-enhanced .hd-day.is-today .hd-date{background:var(--hd-accent);color:white;border-radius:5px;padding:2px 5px;text-decoration:none}.hd-enhanced .hd-calendar-note,.hd-enhanced [data-hd-updated]{font-size:10px}.hd-enhanced .hd-detail{padding:17px;border:1px solid var(--hd-line);border-radius:10px;background:var(--hd-soft);max-height:650px;overflow:auto;align-self:stretch;margin-top:20px}.hd-enhanced .hd-detail h3{font-size:16px;margin:0 0 18px}.hd-enhanced .hd-detail h4{font-size:12px;color:var(--muted,#60738e);margin:14px 0 6px}.hd-enhanced .hd-profit-line{font-size:12px}.hd-enhanced .hd-profit-line strong{font-size:18px}.hd-enhanced .hd-trade{border:0;border-bottom:1px solid var(--hd-line);border-radius:0;font-size:11px;padding:10px 0;margin:0;gap:6px}.hd-enhanced .hd-trade small{font-size:10px;overflow-wrap:anywhere}.hd-enhanced .hd-detail>a{font-size:11px;padding:10px 1em;background:var(--hd-surface)}
.hd-bottom{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px}.hd-currency-tabs{display:flex;background:var(--hd-soft);padding:3px;border-radius:7px;margin-left:auto}.hd-currency-tabs button{border:0;background:transparent;color:inherit;padding:8px 12px;font:inherit;font-size:11px;border-radius:5px;cursor:pointer}.hd-currency-tabs button[aria-pressed=true]{background:var(--hd-surface);color:var(--hd-accent);box-shadow:0 2px 6px #254f8110}.hd-trend [data-hd-trend-total]{font-size:24px;display:inline-block;margin-right:10px}.hd-trend>small{font-size:10px}.hd-trend svg{width:100%;height:auto;min-height:120px;margin-top:12px;overflow:visible}.hd-trend svg text{fill:var(--muted,#60738e);font-size:10px}.hd-chart-grid{stroke:var(--hd-line);stroke-dasharray:3 6}.hd-chart-line{fill:none;stroke:var(--hd-accent);stroke-width:2.5}.hd-chart-area{fill:var(--hd-accent);opacity:.1}.hd-chart-point{fill:var(--hd-accent);opacity:0}.hd-chart-point:hover{opacity:1}.hd-chart-message{min-height:130px;display:grid;place-items:center;font-size:13px}.hd-news-item{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid var(--hd-line);color:inherit;text-decoration:none}.hd-news-item>div{min-width:0;flex:1}.hd-news-item strong{font-size:12px;display:block;font-weight:500;overflow-wrap:anywhere}.hd-news-item small{font-size:10px;color:var(--muted,#60738e);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px}.hd-news-item time{font-size:9px;color:var(--muted,#60738e);max-width:65px;flex-shrink:0}.hd-news-dot{color:var(--hd-accent);font-size:10px;padding-top:4px}.hd-connection{display:flex;align-items:center;gap:10px;padding:16px 0 0;text-decoration:none;color:inherit}.hd-connection>span:first-child{margin-right:auto;flex:1;min-width:0}.hd-connection strong{font-size:12px}.hd-connection small{display:block;color:var(--muted,#60738e);font-size:10px;line-height:1.6;margin-top:4px}.hd-connection [data-hd-connection-state]{font-size:10px;padding:5px 8px;border-radius:12px;white-space:nowrap}.hd-api-saved{background:var(--hd-soft);color:var(--hd-accent)}.hd-api-missing{background:#fff1ce;color:#815d0c}
html[data-theme=dark] .hd-enhanced{--hd-accent:#75afff;--hd-soft:#20364f;--hd-ink:#e4edf8;--hd-line:#33475f;--hd-surface:#152337}html[data-theme=dark] .hd-welcome img{mix-blend-mode:normal;border-radius:16px}html[data-theme=dark] .hd-enhanced .hd-month-card,html[data-theme=dark] .hd-enhanced .hd-kpi{background:var(--hd-surface)!important;border-color:var(--hd-line)!important}html[data-theme=dark] .hd-enhanced .hd-detail{background:var(--hd-soft)!important}html[data-theme=dark] .hd-program-status{background:#163f33;color:#8be2bb}html[data-theme=dark] .hd-program-row[data-status=WAITING] .hd-program-status,html[data-theme=dark] .hd-program-row[data-status=PREPARING] .hd-program-status,html[data-theme=dark] .hd-api-missing{background:#483a19;color:#f7d57b}html[data-theme=dark] .hd-program-row[data-status=STOPPING] .hd-program-status{background:#4b2430;color:#ffabbc}
@media(max-width:1250px){.hd-enhanced .hd-top{grid-template-columns:minmax(0,1fr) 255px}.hd-enhanced [data-hd-programs]{grid-template-columns:repeat(2,minmax(0,1fr))}.hd-enhanced .hd-toolbar{grid-template-columns:1fr 1fr}.hd-enhanced .hd-month-nav{grid-column:1/-1;grid-row:1}.hd-enhanced .hd-filters{grid-row:2}.hd-enhanced .hd-today-button{grid-column:2;grid-row:2}.hd-enhanced .hd-calendar-panel{grid-template-columns:minmax(0,1fr) 230px}.hd-enhanced .hd-month-card>strong,.hd-kpi>strong{font-size:21px}}
@media(max-width:1000px){.hd-enhanced .hd-top{grid-template-columns:1fr}.hd-enhanced [data-hd-programs]{grid-template-columns:repeat(3,minmax(0,1fr))}.hd-enhanced .hd-month-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hd-enhanced .hd-calendar-panel{grid-template-columns:minmax(0,1fr)}.hd-enhanced .hd-detail{max-height:450px}.hd-bottom{grid-template-columns:1fr}}
@media(max-width:600px){.hd-enhanced{gap:15px}.hd-enhanced .hd-top{display:contents}.hd-enhanced .hd-programs{order:0}.hd-welcome{order:1;padding:10px 4px;gap:8px}.hd-welcome h1{font-size:24px}.hd-welcome p{font-size:11px}.hd-welcome-meta{font-size:10px;flex-wrap:wrap}.hd-welcome img{width:65px;height:90px}.hd-enhanced .hd-eyeline{font-size:8px;letter-spacing:1px}.hd-enhanced .hd-performance{order:2}.hd-enhanced .hd-calendar-panel{order:3;gap:0}.hd-bottom{order:4}.hd-enhanced .hd-points{order:5}.hd-enhanced .panel{padding:15px}.hd-enhanced h2{font-size:14px}.hd-enhanced [data-hd-programs]{grid-template-columns:1fr;gap:8px}.hd-enhanced .hd-program-row{display:grid;grid-template-columns:1fr auto;padding:12px;gap:5px 10px}.hd-program-top{grid-column:2;grid-row:1/3}.hd-program-icon{display:none}.hd-enhanced .hd-program-row>strong{font-size:14px}.hd-enhanced .hd-program-symbol{font-size:10px}.hd-program-foot{grid-column:1/-1;padding-top:7px}.hd-enhanced .hd-program-foot small{font-size:10px}.hd-enhanced .hd-heading{gap:6px}.hd-enhanced .hd-text-link{font-size:10px}.hd-enhanced [data-hd-running-count]{font-size:9px;padding:3px 5px}.hd-performance-heading>small{display:none}.hd-enhanced .hd-month-summary{gap:8px}.hd-enhanced .hd-month-card,.hd-enhanced .hd-kpi{padding:13px 11px}.hd-enhanced .hd-month-card>span,.hd-kpi>span{font-size:10px}.hd-enhanced .hd-month-card>strong,.hd-kpi>strong{font-size:20px;margin:8px 0}.hd-enhanced .hd-month-roi,.hd-kpi>small{font-size:9px}.hd-enhanced .hd-filters{max-width:none}.hd-enhanced .hd-filters select{font-size:10px;padding:7px 3px}.hd-enhanced .hd-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px}.hd-enhanced .hd-month-nav{margin-bottom:0}.hd-enhanced .hd-grid{margin-top:0}.hd-enhanced .hd-day,.hd-enhanced .hd-empty-day{min-height:70px}.hd-enhanced .hd-day{padding:5px 2px;align-items:center;gap:4px}.hd-enhanced .hd-date{font-size:10px}.hd-enhanced .hd-day-value{font-size:9px}.hd-enhanced .hd-weekday{font-size:10px}.hd-enhanced .hd-detail{margin-top:16px;max-height:380px}.hd-trend [data-hd-trend-total]{font-size:21px}.hd-currency-tabs button{padding:7px 8px;font-size:10px}.hd-welcome .hd-live-badge{font-size:10px}.hd-enhanced .hd-point-balance{font-size:28px}.hd-enhanced .hd-month-roi{flex-wrap:wrap}.hd-enhanced .hd-live-badge{padding:3px 6px;font-size:10px}}

/* Member summary cards: centered labels, right-aligned values. */
[data-strategy-board] .board-status-button{display:block;width:100%;min-width:0;font:inherit;color:inherit;text-align:inherit;cursor:pointer;border:1px solid var(--sodam-color-line,#dbe7f5);background:var(--sodam-color-bg,#fff)}
[data-strategy-board] .board-status-button .kpi-top{display:block;text-align:center}
[data-strategy-board] .board-status-button strong,[data-strategy-board] .board-status-button small{display:block;text-align:right;font-variant-numeric:tabular-nums}
[data-strategy-board] .board-status-button[aria-pressed="true"]{outline:2px solid var(--sodam-color-accent,#2679ef);outline-offset:-2px}
[data-strategy-board] .board-status-button:focus-visible{outline:3px solid var(--sodam-color-accent,#2679ef);outline-offset:3px}
html[data-theme="dark"] [data-strategy-board] .board-status-button{background:#17263b;color:#edf3fc;border-color:#40536d}
.th-metrics small{text-align:center}.th-metrics strong{text-align:right;font-variant-numeric:tabular-nums}
.th-help p{margin:16px 0;line-height:1.95}.th-help summary{font-size:14px;font-weight:700;padding:10px 0}
[data-asset-board] .kpi-top{display:block;text-align:center}
[data-asset-board] .kpi>strong,[data-asset-board] .kpi>small,[data-asset-board] .asset-metric-value{text-align:right;display:block;font-variant-numeric:tabular-nums}
[data-asset-board] .asset-summary-line{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
[data-asset-board] .asset-summary-line>span{text-align:center}
[data-asset-board] .asset-summary-line>strong{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
[data-asset-board] .asset-overview-card h4{text-align:center}
[data-asset-chart] .asset-currency-chart h4{font-size:22px;font-weight:750;margin-bottom:10px}
[data-asset-chart] .asset-chart-current{display:block;font-size:clamp(23px,6vw,32px);line-height:1.4;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin-bottom:12px}
[data-asset-chart] svg text{font-size:23px;fill:currentColor}
@media(max-width:600px){[data-asset-chart] svg text{font-size:32px}}

/* Desktop presentation alignment, 2026-11-04. Mobile rules stay unchanged. */
@media (min-width: 601px) {
 body[data-sodam-screen^="W"] select,
 body[data-sodam-screen^="W"] input[type="date"],
 body[data-sodam-screen^="W"] input[type="month"],
 body[data-sodam-screen^="W"] input[type="time"] { text-align:center!important; text-align-last:center; }
 body[data-sodam-screen^="W"] label:has(select),
 body[data-sodam-screen^="W"] label:has(input[type="date"]),
 body[data-sodam-screen^="W"] label:has(input[type="month"]),
 body[data-sodam-screen^="W"] .form-label:has(+ select) { text-align:center!important; }
 body[data-sodam-screen^="W"] .hd-year-trigger { justify-content:center; text-align:center; }
 body[data-sodam-screen^="W"] .sodam-pagehead { display:flex!important; align-items:center!important; justify-content:flex-start!important; gap:18px; }
 body[data-sodam-screen^="W"] .sodam-pagehead > .sodam-page-mascot { position:static!important; order:-1; flex:0 0 auto; width:105px; height:130px; object-fit:contain; margin:0!important; }
 body[data-sodam-screen^="W"] .sodam-pagehead > div { min-width:0; }
 body[data-sodam-screen="W01"] .hd-welcome { justify-content:flex-start; gap:18px; }
 body[data-sodam-screen="W01"] .hd-welcome > img { order:-1; margin:0; }
 [data-board-count]:not(:empty)::after { content:" 개"; font-size:.65em; }
 [data-account-summary]:not(:empty)::after { content:" 계좌"; font-size:.65em; }
 [data-notification-center] [data-center-detail] .center-metadata { padding-inline-start:1em; }
 .notification-inline-close { display:none!important; }
 .fund-balance-currency { display:none; }
 .fund-balances .kpi-top { justify-content:center!important; text-align:center!important; }
 .fund-balances .kpi-top span { width:100%; text-align:center; }
 [data-fund-balance] { display:block; text-align:right!important; }
 [data-fund-balance]::after { content:" " attr(data-fund-balance); font-size:.65em; }
 .fund-balances .kpi > small { display:none!important; }
 dialog.sodam-popup .btn.primary { color:#fff!important; }
}

/* Desktop menu headings and distribution controls, 2026-11-04 follow-up. */
@media (min-width: 601px) {
 html[lang^="en"] [data-board-count]:not(:empty)::after { content:" items"; }
 html[lang^="en"] [data-account-summary]:not(:empty)::after { content:" accounts"; }
 html body .pagehead.sodam-pagehead { display:flex!important; align-items:center!important; justify-content:flex-start!important; flex-wrap:nowrap; gap:18px; }
 html body .pagehead.sodam-pagehead > img.sodam-page-mascot { position:static!important; order:-1!important; flex:0 0 105px; width:105px; height:130px; object-fit:contain; margin:0!important; }
 html body .pagehead.sodam-pagehead > div:first-of-type { flex:1; min-width:0; text-align:left; }
 html body .pagehead.sodam-pagehead h1 { text-align:left; overflow-wrap:anywhere; }
 body[data-sodam-screen^="W"] :is([data-rebalance-withdrawal],[data-distribution-settings]) .form-label { display:flex; flex-direction:column; gap:8px; min-width:0; text-align:center; }
 body[data-sodam-screen^="W"] :is([data-rebalance-withdrawal],[data-distribution-settings]) select {
  box-sizing:border-box; display:block; width:100%; min-width:0; max-width:100%; min-height:44px;
  padding:11px 36px; border:1px solid var(--sodam-color-line,var(--line,#d9e5f3)); border-radius:10px;
  color:var(--sodam-color-ink,var(--text,#193859)); background-color:var(--surface,#fff);
  font:inherit; font-size:14px; line-height:1.5; text-align:center; text-align-last:center;
  appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23687991' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:16px;
 }
 body[data-sodam-screen^="W"] :is([data-rebalance-withdrawal],[data-distribution-settings]) select:focus-visible { outline:2px solid var(--sodam-color-accent,var(--blue,#256fe8)); outline-offset:2px; }
 body[data-sodam-screen^="W"] :is([data-rebalance-withdrawal],[data-distribution-settings]) select:disabled { opacity:.6; cursor:not-allowed; }
 html[data-theme="dark"] body[data-sodam-screen^="W"] :is([data-rebalance-withdrawal],[data-distribution-settings]) select { color:#edf3fc; background-color:#152337; border-color:#31445e; color-scheme:dark; }
}

/* Trading explanation paragraphs, 2026-11-04. */
[data-strategy-board] > .trading-explanation { line-height:1.8; overflow-wrap:anywhere; }
[data-strategy-board] > .trading-explanation > span { display:block; }
[data-strategy-board] > .trading-explanation > span + span { margin-top:.6em; }

/* POSITION_PROGRESS_V1 */
.position-progress{margin:16px 0;padding:16px;border:1px solid var(--border,#dbe5f2);border-radius:12px}.position-progress h3{margin:0 0 12px}.position-progress-card{padding:12px 0}.position-progress-card+article{border-top:1px solid var(--border,#dbe5f2)}.position-progress-card h4{margin:0 0 12px}.position-progress-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.position-progress-card dt{font-size:12px;opacity:.8;margin-bottom:4px}.position-progress-card dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.position-progress .muted{font-size:12px;line-height:1.6}.progress-profit{color:#15803d!important}.progress-loss{color:#dc2626!important}html[data-theme="dark"] .progress-profit{color:#4ade80!important}html[data-theme="dark"] .progress-loss{color:#f87171!important}@media(max-width:640px){.position-progress{padding:12px}.position-progress-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* POSITION_PROGRESS_MOBILE_V2 */
.board-phase>.position-progress{grid-column:1/-1;margin:0;padding:14px 0 0;border:0;border-top:1px solid var(--nine-border,#dce7f3);border-radius:0;min-width:0}.board-phase .position-progress small{display:inline;font-size:11px}.board-phase .position-progress-card dd{font-size:14px}.board-phase .position-progress h3{font-size:14px}.strategy-detail-dialog .position-progress{display:block!important;max-width:100%;box-sizing:border-box}.strategy-detail-dialog .position-progress-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}
