:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1e2933;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #1e2933;--muted: #697681;--line: #dfe4e8;--line-strong: #cbd3d9;--surface: #ffffff;--canvas: #f4f6f8;--sidebar: #14231f;--sidebar-muted: #9fb1aa;--green: #13805c;--green-dark: #0d684b;--green-soft: #e5f5ef;--blue: #2f6fa3;--blue-soft: #e9f2f8;--amber: #a56313;--amber-soft: #fff2d8;--red: #b33c3c;--red-soft: #fbeaea;letter-spacing:0}:root[data-theme=dark]{color:#dfe8e4;background:#101714;--ink: #e5ece9;--muted: #99a8a2;--line: #30413a;--line-strong: #465950;--surface: #18231f;--canvas: #101714;--sidebar: #0c1512;--sidebar-muted: #91a39c;--green: #39b98c;--green-dark: #63cda6;--green-soft: #17382d;--blue: #69a9d5;--blue-soft: #1a3342;--amber: #e0aa58;--amber-soft: #392d1a;--red: #e47b7b;--red-soft: #3a2224}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:var(--canvas)}button,input,select{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,p{margin:0}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:244px;display:flex;flex-direction:column;padding:0 13px 14px;color:#eff7f3;background:var(--sidebar);border-right:1px solid #233c35}.brand{height:76px;display:flex;align-items:center;gap:11px;padding:0 8px;border-bottom:1px solid #294039}.brand>span:nth-child(2){min-width:0;display:flex;flex:1;flex-direction:column}.brand strong{font-size:14px;font-weight:700}.brand small{margin-top:2px;color:var(--sidebar-muted);font-size:11px}.brand .icon-button{display:none}.brand-mark{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;color:#fff;background:var(--green);border-radius:6px}.brand-mark.large{width:46px;height:46px;flex-basis:46px}.sidebar nav{min-height:0;display:flex;flex:1;flex-direction:column;gap:4px;overflow-x:hidden;overflow-y:auto;padding-top:18px;scrollbar-width:thin}.sidebar nav button,.sidebar-footer>button{width:100%;height:42px;display:flex;align-items:center;gap:11px;padding:0 12px;border:0;border-radius:6px;color:#b5c5bf;background:transparent;font-size:13px;text-align:left}.sidebar nav button{flex:0 0 42px}.sidebar nav button:last-child{margin-bottom:8px}.sidebar nav button:hover,.sidebar-footer>button:hover{color:#fff;background:#20352f}.sidebar nav button.active,.sidebar-footer>button.active{color:#fff;background:#275142}.sidebar nav button b{min-width:20px;height:20px;margin-left:auto;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--red);font-size:11px}.sidebar nav button b.lock-source-counts{min-width:58px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 7px;font-size:9px;white-space:nowrap}.sidebar nav button b.lock-source-counts span+span{padding-left:5px;border-left:1px solid rgba(255,255,255,.45)}.sidebar nav button.isolated{position:relative;margin-top:13px}.sidebar nav button.isolated:before{content:"";position:absolute;top:-9px;right:0;left:0;height:1px;background:#294039;pointer-events:none}.sidebar-footer{padding-top:10px;border-top:1px solid #294039}.sidebar-account{position:relative;min-width:0;display:flex;align-items:center;gap:5px;margin-top:12px;padding:12px 0 0}.sidebar-admin-menu{position:relative;min-width:0;flex:1}.sidebar-admin-trigger{width:100%;min-width:0;display:flex;align-items:center;gap:9px;padding:4px;border:0;border-radius:6px;color:inherit;background:transparent;text-align:left}.sidebar-admin-trigger:hover,.sidebar-admin-trigger[aria-expanded=true]{background:#20352f}.sidebar-admin-copy{min-width:0;display:flex;flex:1;flex-direction:column}.sidebar-admin-copy strong,.sidebar-admin-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-admin-copy strong{font-size:12px}.sidebar-admin-copy small{margin-top:2px;color:var(--sidebar-muted);font-size:10px}.sidebar-admin-chevron{flex:0 0 auto;color:var(--sidebar-muted);transition:transform .16s ease}.sidebar-admin-chevron.open{transform:rotate(180deg)}.sidebar-admin-popover{position:absolute;bottom:calc(100% + 10px);left:0;z-index:60;width:286px;padding:14px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);box-shadow:0 16px 40px #040c0947}.sidebar-admin-header{min-width:0;display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line)}.sidebar-admin-header>div{min-width:0;display:flex;flex-direction:column}.sidebar-admin-header small{color:var(--green);font-size:9px;font-weight:700;text-transform:uppercase}.sidebar-admin-header strong,.sidebar-admin-header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-admin-header strong{margin-top:3px;font-size:12px}.sidebar-admin-header span{margin-top:2px;color:var(--muted);font-size:9px}.sidebar-admin-details{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;margin:9px 0 0}.sidebar-admin-details>div{min-width:0;padding:8px 0;border-bottom:1px solid var(--line)}.sidebar-admin-details dt{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;text-transform:uppercase}.sidebar-admin-details dt svg{flex:0 0 auto}.sidebar-admin-details dd{overflow:hidden;margin:4px 0 0;font-size:10px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.sidebar .icon-button{color:var(--sidebar-muted);border-color:transparent;background:transparent}.sidebar .icon-button:hover{color:#fff;background:#29423a}.sidebar-collapse-button{display:none}.account-avatar{width:31px;height:31px;flex:0 0 31px;display:grid;place-items:center;border-radius:50%;color:#123b2e;background:#b8e9d7;font-size:12px;font-weight:800}.main-area{width:calc(100% - 244px);min-width:0;min-height:100vh;margin-left:244px;overflow-x:hidden}.topbar{position:sticky;top:0;z-index:20;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fffffff5;border-bottom:1px solid var(--line)}.topbar>div,.topbar-actions{display:flex;align-items:center;gap:14px}.topbar>div:first-child>.icon-button{display:none}.topbar h1{margin-top:4px;color:var(--ink);font-size:20px;line-height:1.1;font-weight:700}.breadcrumb{display:block;color:#7d8992;font-size:11px}.topbar-actions{gap:10px}.api-status,.timezone-status{min-height:24px;display:inline-flex;align-items:center;gap:7px;color:#4e5b64;font-size:11px;font-weight:600;line-height:1;white-space:nowrap}.api-status i{width:7px;height:7px;border-radius:50%;background:#17a36f;box-shadow:0 0 0 3px #e2f5ed}.api-status.error i{background:var(--red);box-shadow:0 0 0 3px var(--red-soft)}.timezone-status{margin-left:2px;padding-left:14px;border-left:1px solid var(--line)}.timezone-status svg{flex:0 0 auto}.account-menu{position:relative}.account-switcher{min-width:158px;height:48px;display:flex;align-items:center;gap:9px;padding:6px 10px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#fff;text-align:left}.account-switcher:hover,.account-switcher[aria-expanded=true]{border-color:#aebac1}.account-switcher>span:nth-child(2){display:flex;flex:1;flex-direction:column}.account-switcher small{color:var(--muted);font-size:9px;text-transform:uppercase}.account-switcher strong{margin-top:1px;font-size:12px}.account-chevron{flex:0 0 auto;color:var(--muted);transition:transform .16s ease}.account-chevron.open{transform:rotate(180deg)}.account-popover{position:absolute;top:calc(100% + 9px);right:0;z-index:50;width:330px;padding:15px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);box-shadow:0 16px 40px #14231f29}.account-owner-header{min-width:0;display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid var(--line)}.account-owner-avatar{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:50%;color:#123b2e;background:#b8e9d7;font-size:14px;font-weight:800}.account-owner-header>div{min-width:0;display:flex;flex-direction:column}.account-owner-header strong,.account-owner-header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-owner-header strong{font-size:13px}.account-owner-header span{margin-top:3px;color:var(--muted);font-size:10px}.account-owner-details{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:12px 0 0}.account-owner-details>div{min-width:0;padding:8px 0;border-bottom:1px solid var(--line)}.account-owner-details>div:nth-child(2n){padding-left:12px}.account-owner-details>div.wide{grid-column:1 / -1;padding-left:0}.account-owner-details dt{color:var(--muted);font-size:9px;text-transform:uppercase}.account-owner-details dd{overflow:hidden;margin:4px 0 0;font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.account-switch-action{width:100%;min-height:36px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:12px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);background:transparent;font-size:11px;font-weight:650}.account-switch-action:hover{background:#f7f9fa}.icon-button{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:6px;color:#5e6b74;background:#fff}.icon-button:hover{color:var(--ink);border-color:var(--line-strong);background:#f7f9fa}.icon-button.danger:hover{color:var(--red);border-color:#e8bcbc;background:var(--red-soft)}.page-content{width:100%;max-width:1540px;margin:0 auto;padding:26px 28px 44px}.page-intro{min-height:40px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.page-intro p{color:var(--muted);font-size:13px;line-height:1.5}.page-action-bar{min-height:38px;display:flex;justify-content:flex-end;margin-bottom:10px}.export-button{min-width:154px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.scope-label{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid var(--line);border-radius:5px;color:#4c5962;background:#fafbfb;font-size:11px;text-transform:capitalize;white-space:nowrap}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.metric-card{min-width:0;height:118px;display:flex;align-items:flex-start;gap:13px;padding:18px;border:1px solid var(--line);border-radius:7px;color:inherit;background:var(--surface);text-align:left;box-shadow:0 1px 2px #16231f06}.metric-card:hover{border-color:#b9c5ca;box-shadow:0 4px 13px #16231f0e;transform:translateY(-1px)}.metric-icon{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:6px}.metric-icon.green{color:var(--green);background:var(--green-soft)}.metric-icon.blue{color:var(--blue);background:var(--blue-soft)}.metric-icon.amber{color:var(--amber);background:var(--amber-soft)}.metric-icon.red{color:var(--red);background:var(--red-soft)}.metric-icon.gray{color:#63717a;background:#edf0f2}.metric-copy{min-width:0;display:flex;flex-direction:column}.metric-copy>span{color:var(--muted);font-size:11px;font-weight:600}.metric-copy strong{overflow:hidden;margin:6px 0 4px;color:var(--ink);font-size:22px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.metric-copy small{color:#88939a;font-size:10px}.overview-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.content-section{min-width:0}.locked-accounts-section{width:100%;max-width:100%;overflow:hidden}.locked-accounts-section .table-shell{max-width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.app-shell.locked-accounts-view,.locked-accounts-view .main-area{height:100vh;min-height:0;overflow:hidden}.locked-accounts-view .page-content{height:calc(100vh - 76px);min-height:0;display:flex;flex-direction:column;overflow:hidden}.locked-accounts-view .page-content{position:relative;padding-top:18px;padding-bottom:18px}.locked-accounts-view .page-action-bar{position:absolute;top:18px;right:28px;z-index:2;min-height:36px;margin:0}.locked-accounts-view .page-intro{min-height:38px;margin-bottom:12px;padding-right:190px}.locked-accounts-view .locked-accounts-section{min-height:0;flex:1;display:flex;flex-direction:column}.locked-accounts-view .locked-accounts-section .table-shell{min-height:0;flex:1}.section-heading{min-height:46px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px}.section-heading h2{color:var(--ink);font-size:15px;font-weight:700}.section-heading p{margin-top:4px;color:var(--muted);font-size:11px}.text-button{display:inline-flex;align-items:center;gap:3px;padding:3px 0;border:0;color:var(--green);background:transparent;font-size:11px;font-weight:650;white-space:nowrap}.text-button:hover{color:var(--green-dark)}.table-shell{position:relative;width:100%;overflow:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface)}table{width:100%;min-width:800px;border-collapse:collapse}thead{background:#f8fafb}th{height:41px;padding:0 15px;color:#72808a;border-bottom:1px solid var(--line);font-size:10px;font-weight:700;text-align:left;text-transform:uppercase;white-space:nowrap}.sort-button{display:inline-flex;align-items:center;gap:6px;padding:7px 0;border:0;color:inherit;background:transparent;font:inherit;text-transform:inherit;white-space:nowrap}.sort-button svg{flex:0 0 auto;color:#9aa5ac}.sort-button:hover,.sort-button.active{color:var(--ink)}.sort-button.active svg{color:var(--green)}td{height:58px;padding:9px 15px;color:#44515a;border-bottom:1px solid #e9edef;font-size:12px;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfc}td strong{display:block;color:#28343c;font-size:12px;font-weight:650}td small{display:block;margin-top:3px;color:#89949b;font-size:10px}.compact-table table{min-width:650px}.compact-table td{height:54px}.accounts-table table{min-width:980px}.accounts-table th:is(:nth-child(2),:nth-child(4),:nth-child(5)),.accounts-table td:is(:nth-child(2),:nth-child(4),:nth-child(5)){text-align:center}.accounts-table th:last-child,.accounts-table td:last-child{text-align:center}.rules-table .rule-admin-action{width:110px;text-align:center}.rules-table td.rule-admin-action .icon-button{margin-right:auto;margin-left:auto}.accounts-table th:is(:nth-child(2),:nth-child(4),:nth-child(5)) .sort-button{width:100%;justify-content:center}.trading-accounts-table table{min-width:1180px}.trading-accounts-table th:last-child,.trading-accounts-table td:last-child{width:135px}.table-filter-row th{height:50px;padding:7px 10px;background:#f4f7f8}.table-filter-control{width:100%;min-width:0;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:5px;color:var(--ink);outline:0;direction:ltr;background:var(--surface);font-size:11px;text-align:left;text-transform:none}select.table-filter-control{cursor:pointer}.table-filter-control:focus{border-color:var(--green);box-shadow:0 0 0 2px var(--green-soft)}.table-filter-control::placeholder{color:#929da4}.table-filter-empty{display:block;color:var(--muted);font-size:11px;text-align:center}.trading-accounts-table th:nth-child(1){width:210px}.trading-accounts-table th:nth-child(2){width:115px}.trading-accounts-table th:nth-child(3){width:145px}.trading-accounts-table th:nth-child(4){width:235px}.trading-accounts-table th:nth-child(5){width:155px}.trading-accounts-table th:nth-child(6){width:190px}.trading-accounts-table th:is(:nth-child(2),:nth-child(5),:nth-child(6),:nth-child(7)),.trading-accounts-table td:is(:nth-child(2),:nth-child(5),:nth-child(6),:nth-child(7)){text-align:center}.trading-accounts-table th:nth-child(3),.trading-accounts-table td:nth-child(3){text-align:right}.trading-accounts-table th:nth-child(3) .sort-button{width:100%;justify-content:flex-end}.violations-table table{min-width:980px}.violations-table th:nth-child(1){width:235px}.violations-table th:nth-child(2){width:230px}.violations-table th:nth-child(3){width:155px}.violations-table th:nth-child(4){width:155px}.violations-table th:nth-child(5){width:190px}.violations-table th:nth-child(6),.violations-table td:nth-child(6){width:110px;text-align:center}.account-type-tabs{width:150px;flex:0 0 150px}.trading-back{margin-bottom:14px}.trading-account-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.trading-account-summary>div{min-width:0;min-height:70px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:12px 16px;border-right:1px solid var(--line)}.trading-account-summary>div:last-child{border-right:0}.trading-account-summary span:first-child{color:var(--muted);font-size:9px;font-weight:700;text-transform:uppercase}.trading-account-summary strong{max-width:100%;overflow:hidden;margin-top:6px;color:var(--ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.trading-account-summary .status-badge{margin-top:6px}.trading-live-summary{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) auto;align-items:stretch;margin:-1px 0 16px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface) 92%,var(--green-soft))}.trading-live-summary>div{min-width:0;min-height:60px;display:flex;justify-content:center;flex-direction:column;padding:10px 16px;border-right:1px solid var(--line)}.trading-live-summary>div span{color:var(--muted);font-size:9px;font-weight:700;text-transform:uppercase}.trading-live-summary>div strong{margin-top:5px;color:var(--ink);font-size:13px;white-space:nowrap}.realtime-status{min-width:100px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;color:var(--muted);font-size:10px;font-weight:700;white-space:nowrap}.realtime-status i{width:7px;height:7px;border-radius:50%;background:#9aa5a0}.realtime-status.live{color:var(--green-dark)}.realtime-status.live i{background:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.realtime-status.connecting i{background:#d19a3a}.trading-detail-toolbar{min-height:48px;display:flex;align-items:center;gap:10px;margin-bottom:12px}.segmented-control.trading-detail-tabs{width:450px;flex:0 0 450px;grid-template-columns:repeat(3,minmax(0,1fr))}.trading-detail-toolbar .pager{margin-left:0}.trading-activity-table table{table-layout:fixed}.open-positions-table table{min-width:1380px}.pending-orders-table table{min-width:1430px}.trade-history-table table{min-width:1478px}.funding-history-table table{min-width:800px}.funding-summary-row td{height:44px;color:var(--muted);background:#eef2f4;font-size:11px}.funding-summary-values{min-width:max-content;display:flex;align-items:center;gap:14px}.funding-summary-values span{display:inline-flex;gap:4px}.funding-summary-values strong{color:var(--ink)}.funding-summary-row .funding-summary-currency{color:var(--blue);font-weight:700;text-align:right}.deal-summary-bar{min-height:44px;margin-top:-1px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);background:#eef2f4;color:var(--muted);font-size:11px;overflow-x:auto}.deal-summary-primary,.deal-summary-trading{min-width:max-content;display:flex;align-items:center;gap:14px}.deal-summary-bar span{display:inline-flex;gap:4px}.deal-summary-bar strong{color:var(--ink)}.deal-summary-bar .trade-profit{color:var(--green-dark)}.deal-summary-bar .trade-loss{color:var(--red)}.deal-summary-bar .deal-summary-currency{color:var(--blue)}.order-history-table table{min-width:1380px}.deal-history-table table{min-width:1450px}.history-subtabs{display:flex;align-items:center;gap:4px;min-height:39px;margin:-2px 0 10px;border-bottom:1px solid var(--line);overflow-x:auto}.history-subtabs button{height:39px;padding:0 11px;border:0;border-bottom:2px solid transparent;color:var(--muted);background:transparent;font-size:11px;font-weight:700}.history-subtabs button:hover{color:var(--ink)}.history-subtabs button.selected{color:var(--ink);border-bottom-color:var(--green)}.trading-activity-table th,.trading-activity-table td{padding-right:11px;padding-left:11px;white-space:nowrap}.open-positions-table th:nth-child(4),.open-positions-table td:nth-child(4),.pending-orders-table th:nth-child(4),.pending-orders-table td:nth-child(4){width:165px}.trade-history-table th:nth-child(1),.trade-history-table td:nth-child(1),.trade-history-table th:nth-child(9),.trade-history-table td:nth-child(9){width:150px}.trade-history-table th:nth-child(2),.trade-history-table td:nth-child(2){width:76px}.trade-history-table th:nth-child(3),.trade-history-table td:nth-child(3){width:72px}.trade-history-table th:nth-child(4),.trade-history-table td:nth-child(4){width:74px}.trade-history-table th:nth-child(5),.trade-history-table td:nth-child(5){width:82px}.trade-history-table th:nth-child(6),.trade-history-table td:nth-child(6),.trade-history-table th:nth-child(10),.trade-history-table td:nth-child(10){width:92px}.trade-history-table th:nth-child(7),.trade-history-table td:nth-child(7),.trade-history-table th:nth-child(8),.trade-history-table td:nth-child(8){width:70px}.trade-history-table th:nth-child(11),.trade-history-table td:nth-child(11){width:95px}.trade-history-table th:nth-child(12),.trade-history-table td:nth-child(12){width:60px}.trade-history-table th:nth-child(13),.trade-history-table td:nth-child(13){width:68px}.trade-history-table th:nth-child(14),.trade-history-table td:nth-child(14){width:100px}.trade-history-table th:nth-child(15),.trade-history-table td:nth-child(15){width:92px}.trade-history-table th:nth-child(16),.trade-history-table td:nth-child(16){width:135px}.history-drag-table tbody tr{cursor:grab}.history-drag-table.dragging,.history-drag-table.dragging tbody tr{cursor:grabbing}.history-drag-table.dragging{scroll-behavior:auto;-webkit-user-select:none;user-select:none}.funding-history-table th:first-child,.funding-history-table td:first-child,.order-history-table th:first-child,.order-history-table td:first-child,.deal-history-table th:first-child,.deal-history-table td:first-child{width:150px}.order-history-table th:nth-child(9),.order-history-table td:nth-child(9){width:190px}.order-history-table th:nth-child(10),.order-history-table td:nth-child(10){width:105px}.trading-activity-table th:last-child,.trading-activity-table td:last-child{width:170px;overflow:hidden;text-overflow:ellipsis}.trade-buy,.trade-profit{color:#159b70;font-weight:700}.trade-sell,.trade-loss{color:var(--red);font-weight:700}.active-locks-table table{min-width:1080px}.active-locks-table th:nth-child(6),.active-locks-table td:nth-child(6){width:90px;text-align:center}.active-locks-table th:last-child,.active-locks-table td:last-child{width:180px}.segmented-control.lock-list-tabs{width:330px;flex:0 0 330px;grid-template-columns:repeat(3,minmax(0,1fr))}.drawdown-filter-bar{display:flex;align-items:flex-end;gap:10px;margin:-2px 0 14px;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.drawdown-filter-bar label{min-width:145px;display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:9px;font-weight:700;text-transform:uppercase}.drawdown-filter-bar select,.drawdown-filter-bar input{height:36px;padding:0 10px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);background:#fff;font-size:11px;text-transform:none}.mobile-lock-filters-toggle{display:none}.daily-drawdown-locks-table table{min-width:1120px;table-layout:fixed}.daily-drawdown-locks-table th:nth-child(1){width:130px}.daily-drawdown-locks-table th:nth-child(2){width:205px}.daily-drawdown-locks-table th:nth-child(3){width:155px}.daily-drawdown-locks-table th:nth-child(4){width:220px}.daily-drawdown-locks-table th:nth-child(5){width:260px}.daily-drawdown-locks-table th:nth-child(6){width:105px}.drawdown-value{color:var(--red);font-size:14px}.account-detail-link{display:flex;align-items:flex-start;flex-direction:column;gap:5px;padding:0;border:0;color:var(--ink);background:transparent;text-align:left}.account-detail-link strong{color:var(--green-dark);font-size:13px;text-decoration:underline;text-underline-offset:3px}.account-detail-link:hover strong{color:var(--green)}.account-type-pill{display:inline-flex;padding:2px 5px;border-radius:3px;font-size:8px;font-weight:800;text-transform:uppercase}.account-type-pill.live{color:var(--green);background:var(--green-soft)}.account-type-pill.demo{color:#245d87;background:var(--blue-soft)}.enforcement-state{display:flex;margin-bottom:4px;font-size:10px;font-weight:700}.enforcement-state.success{color:var(--green)}.enforcement-state.warning{color:var(--amber)}.enforcement-state.failure{color:var(--red)}.enforcement-state.neutral{color:var(--muted)}.drawdown-warning{display:flex!important;align-items:flex-start;gap:4px;margin-top:8px!important;color:var(--amber)!important;white-space:normal}.drawdown-detail-summary{display:flex;align-items:flex-start;flex-direction:column;gap:7px;padding:18px 0 15px;border-bottom:1px solid var(--line)}.modal.drawdown-detail-modal{width:min(1180px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:hidden}.drawdown-detail-modal .modal-header .eyebrow{font-size:11px}.drawdown-detail-modal .modal-header h2{font-size:21px}.drawdown-detail-summary>div{display:flex;align-items:center;gap:7px}.drawdown-detail-summary>strong{color:var(--red);font-size:20px}.drawdown-detail-summary>small{color:var(--muted);font-size:12px}.drawdown-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 0}.drawdown-detail-grid section{padding:14px;border:1px solid var(--line);border-radius:7px;background:var(--canvas)}.drawdown-detail-grid h3{margin-bottom:10px;font-size:14px}.drawdown-detail-grid dl{margin:0}.drawdown-detail-grid dl>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line);font-size:12px}.drawdown-detail-grid dl>div:last-child{border-bottom:0}.drawdown-detail-grid dt{color:var(--muted)}.drawdown-detail-grid dd{margin:0;color:var(--ink);font-weight:650;text-align:right}.drawdown-detail-grid dd.enforcement-state{justify-content:flex-end;margin-bottom:0}.drawdown-detail-warning{display:flex;align-items:center;gap:8px;padding:12px 13px;color:var(--amber);border-left:3px solid var(--amber);background:var(--amber-soft);font-size:12px}.drawdown-detail-warning.empty{color:var(--green);border-left-color:var(--green);background:var(--green-soft)}.unlock-history-table table{min-width:1100px;table-layout:fixed}.unlock-history-table th:nth-child(1){width:95px}.unlock-history-table th:nth-child(2){width:155px}.unlock-history-table th:nth-child(3),.unlock-history-table th:nth-child(4){width:125px}.unlock-history-table th:nth-child(5){width:95px}.unlock-history-table th:nth-child(6){width:150px}.unlock-history-table th:nth-child(7){width:180px}.unlock-history-table th:nth-child(8){width:95px}.unlock-history-table th:nth-child(9),.unlock-history-table td:nth-child(9){width:80px;text-align:center}.unlock-history-table .unlock-reason{overflow-wrap:anywhere;line-height:1.45}.lock-violation-cell .text-button{justify-content:center}.unlock-type-badge{display:inline-flex;min-width:72px;justify-content:center;padding:5px 8px;border-radius:5px;font-size:9px;font-weight:750;text-transform:uppercase}.unlock-type-badge.manual{color:var(--green);background:var(--green-soft)}.unlock-type-badge.automatic{color:var(--muted);background:var(--canvas);border:1px solid var(--line)}.locks-table table{min-width:1340px;table-layout:fixed}.locks-table col.lock-col-rule{width:100px}.locks-table col.lock-col-status{width:150px}.locks-table col.lock-col-reason{width:240px}.locks-table col.lock-col-date{width:165px}.locks-table col.lock-col-action{width:130px}.locks-table col.lock-col-manual{width:225px}.locks-table th:nth-child(n+4):nth-child(-n+6),.locks-table td:nth-child(n+4):nth-child(-n+6){white-space:nowrap}.locks-table td:nth-child(3) strong{line-height:1.4;overflow-wrap:anywhere}.locks-table .manual-unlock-heading,.locks-table td:last-child{text-align:left}.manual-unlock-details{width:100%;min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:3px;text-align:left}.manual-unlock-details strong{font-size:11px;line-height:1.35;overflow-wrap:anywhere}.manual-unlock-details small{max-width:320px;margin-top:0;color:#65727a;line-height:1.4;overflow-wrap:anywhere}.accounts-table .selected-row{background:#f0f8f5}.lock-count{min-width:24px;height:24px;display:inline-grid;place-items:center;border-radius:12px;color:#9c3232;background:var(--red-soft);font-size:10px;font-weight:750}.inline-warning{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;border-left:3px solid #d9973d;color:#735223;background:#fff8ea;font-size:11px}.status-badge{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:4px;font-size:9px;font-weight:750;text-transform:uppercase;white-space:nowrap}.status-badge.positive{color:#126346;background:var(--green-soft)}.status-badge.neutral{color:#65717a;background:#edf0f2}.status-badge.info{color:#245d87;background:var(--blue-soft)}.status-badge.negative{color:#9c3232;background:var(--red-soft)}.account-health{padding:0 0 0 2px}.health-list{border-top:1px solid var(--line)}.health-list>div{display:flex;align-items:center;gap:10px;min-height:65px;border-bottom:1px solid var(--line)}.health-list>div>span:last-child{display:flex;flex-direction:column}.health-list strong{font-size:12px}.health-list small{margin-top:4px;color:var(--muted);font-size:10px}.health-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:50%}.health-icon.good{color:var(--green);background:var(--green-soft)}.health-icon.warn{color:var(--amber);background:var(--amber-soft)}.health-icon.bad{color:var(--red);background:var(--red-soft)}.effective-period{display:flex;align-items:center;gap:10px;margin-top:16px;padding:13px;color:var(--amber);border-left:3px solid #d9973d;background:#fff8ea}.effective-period-copy{display:flex;min-width:0;flex-direction:column}.effective-period small{font-size:9px;text-transform:uppercase}.effective-period strong{margin-top:3px;color:#5e4a2f;font-size:11px}.scenario-time-tooltip{position:relative;display:inline-flex;margin-left:auto;align-items:center;color:currentColor;cursor:help;outline:none}.scenario-time-tooltip:focus-visible{border-radius:50%;box-shadow:0 0 0 2px currentColor}.scenario-time-tooltip-content{position:absolute;z-index:30;right:0;bottom:calc(100% + 8px);width:230px;padding:8px 10px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:var(--surface);box-shadow:var(--shadow);font-size:10px;font-weight:400;line-height:1.45;text-transform:none;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease}.scenario-time-tooltip:hover .scenario-time-tooltip-content,.scenario-time-tooltip:focus-visible .scenario-time-tooltip-content{opacity:1;visibility:visible;transform:translateY(0)}.toolbar{min-height:48px;display:flex;align-items:center;gap:10px;margin-bottom:12px}.search-field{width:min(320px,100%);height:38px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line);border-radius:6px;background:#fff}.search-field svg{flex:0 0 auto;color:#829099}.search-field input{min-width:0;flex:1;border:0;outline:0;color:var(--ink);background:transparent;font-size:12px}.toolbar select{height:38px;padding:0 32px 0 11px;border:1px solid var(--line);border-radius:6px;color:#4e5b63;background:#fff;font-size:11px}.audit-toolbar .search-field{width:min(320px,100%)}.audit-resource-filter select{min-width:150px}.audit-log-table table{min-width:1800px;table-layout:fixed}.audit-log-table th:nth-child(1),.audit-log-table td:nth-child(1){width:160px}.audit-log-table th:nth-child(2),.audit-log-table td:nth-child(2){width:210px}.audit-log-table th:nth-child(3),.audit-log-table td:nth-child(3){width:130px}.audit-log-table th:nth-child(4),.audit-log-table td:nth-child(4){width:100px;text-align:center}.audit-log-table th:nth-child(5),.audit-log-table td:nth-child(5){width:150px}.audit-log-table td:nth-child(5){overflow:hidden}.audit-log-table td:nth-child(5) small{max-width:100%;line-height:1.4;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.audit-log-table th:nth-child(6),.audit-log-table td:nth-child(6){width:100px;text-align:center}.audit-log-table th:nth-child(7),.audit-log-table td:nth-child(7){width:240px}.audit-log-table th:nth-child(8),.audit-log-table td:nth-child(8){width:210px}.audit-log-table th:nth-child(9),.audit-log-table td:nth-child(9){width:80px;text-align:center}.audit-log-table th:nth-child(10),.audit-log-table td:nth-child(10){width:420px}.audit-reason{line-height:1.45;white-space:normal}.audit-result{display:inline-flex;min-width:68px;justify-content:center;padding:5px 8px;border-radius:5px;font-size:10px;font-weight:700;text-transform:uppercase}.audit-result.success{color:var(--green-dark);background:var(--green-soft)}.audit-result.failure{color:var(--red);background:var(--red-soft)}.audit-event-details summary{width:fit-content;color:var(--green);font-weight:700;cursor:pointer}.audit-event-detail-content{display:grid;gap:12px;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--canvas)}.audit-event-detail-content dl{display:grid;gap:8px;margin:0}.audit-event-detail-content dl div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px}.audit-event-detail-content dt{color:var(--muted)}.audit-event-detail-content dd{min-width:0;margin:0;overflow-wrap:anywhere}.audit-event-detail-content section{display:grid;gap:6px}.audit-event-detail-content h3{font-size:11px;text-transform:uppercase}.audit-event-detail-content pre{max-height:220px;margin:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.result-count{margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap}.pager{display:flex;align-items:center;gap:8px;margin-left:auto}.pager span{color:var(--muted);font-size:11px;white-space:nowrap}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.scenario-card{min-width:0;min-height:228px;display:flex;flex-direction:column;gap:16px;padding:17px;border:1px solid var(--line);border-radius:7px;background:#fff}.scenario-card.active-card{border-top:3px solid var(--green);padding-top:15px}.scenario-card-top{display:flex;align-items:center;justify-content:space-between}.scenario-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:6px;color:var(--blue);background:var(--blue-soft)}.scenario-card h3{overflow-wrap:anywhere;color:var(--ink);font-size:14px}.scenario-card p{min-height:34px;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.5}.scenario-title-row{display:flex;align-items:center;gap:8px}.scenario-title-row h3{min-width:0;flex:1}.scenario-title-row .icon-button{width:30px;height:30px;flex-basis:30px}.scenario-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px;color:#7a878f;border-top:1px solid #e8edef;font-size:12px}.scenario-meta strong{color:var(--ink);font-size:11px}.scenario-updated{font-size:12px}.scenario-actions{display:flex;align-items:center;gap:8px}.scenario-actions .secondary-button{flex:1}.loading-card{justify-content:center}.primary-button,.secondary-button,.danger-button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 13px;border-radius:6px;font-size:11px;font-weight:650}.primary-button{border:1px solid var(--green);color:#fff;background:var(--green)}.primary-button:hover{border-color:var(--green-dark);background:var(--green-dark)}.primary-button.small{min-height:34px;padding:6px 10px}.secondary-button{border:1px solid var(--line-strong);color:#4d5a63;background:#fff;font-size:14px}.secondary-button:hover{color:var(--ink);background:#f7f9fa}.danger-button{border:1px solid #e7bcbc;color:var(--red);background:#fff}.danger-button:hover{background:var(--red-soft)}.empty-state{min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px 20px;text-align:center}.empty-icon{width:40px;height:40px;display:grid;place-items:center;margin-bottom:12px;border-radius:50%;color:#75828a;background:#edf0f2}.empty-state strong{font-size:13px}.empty-state p{max-width:340px;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.5}.error-state{min-height:92px;display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #edc2c2;border-radius:7px;color:var(--red);background:var(--red-soft)}.error-state div{flex:1}.error-state strong{font-size:12px}.error-state p{margin-top:4px;color:#825050;font-size:11px}.skeleton{display:block;height:10px;border-radius:3px;background:#e8edef;animation:shimmer 1.2s ease-in-out infinite alternate}.skeleton.wide{width:88%;height:16px}@keyframes shimmer{to{opacity:.45}}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:20px;background:#0f19168c}.modal{width:min(680px,100%);max-height:min(780px,calc(100vh - 40px));overflow:auto;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 20px 60px #0d1a163d}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line)}.modal-header h2{margin-top:4px;font-size:18px}.eyebrow{color:var(--green);font-size:9px;font-weight:750;text-transform:uppercase}.modal-summary{display:flex;align-items:center;gap:12px;padding:15px 0;color:var(--muted);font-size:12px}.scenario-rule-list{border:1px solid var(--line);border-radius:6px}.scenario-rule-list>div{min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) 90px 155px 70px;align-items:center;gap:12px;padding:9px 12px;border-bottom:1px solid var(--line);font-size:11px}.scenario-rule-list>div:last-child{border-bottom:0}.scenario-rule-list>.scenario-rule-header{min-height:38px;padding-top:7px;padding-bottom:7px;color:var(--muted);background:#f8fafb;font-size:9px;font-weight:700;text-transform:uppercase}.scenario-rule-list>div>:last-child{justify-self:center;text-align:center}.scenario-rule-list span:first-child{min-width:0;display:flex;flex-direction:column}.scenario-rule-list strong{overflow-wrap:anywhere;font-size:11px}.scenario-rule-list small{margin-top:3px;color:var(--muted);font-size:9px}.scenario-rule-time{min-width:0;display:flex;flex-direction:column}.scenario-rule-time small{display:none;margin-top:0;text-transform:uppercase}.scenario-rule-time strong{margin-top:4px;font-size:10px;font-weight:650;white-space:nowrap}.event-detail{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0}.event-detail>div{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:6px}.event-detail span{color:var(--muted);font-size:9px;text-transform:uppercase}.event-detail strong{font-size:11px}.unlock-button{max-width:100%;padding-inline:10px;font-size:12px;white-space:nowrap}.unlock-form{display:flex;flex-direction:column;gap:16px;padding-top:18px}.unlock-impact{display:flex;align-items:flex-start;gap:9px;padding:12px;border-left:3px solid #d9973d;color:#735223;background:#fff8ea;font-size:11px;line-height:1.5}.unlock-impact svg{flex:0 0 auto;margin-top:1px}.rule-edit-form{display:flex;flex-direction:column;gap:16px;padding-top:18px}.rule-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rule-edit-control{position:relative}.rule-edit-control input{padding-right:58px}.rule-edit-form input[type=number]{appearance:textfield;-moz-appearance:textfield}.rule-edit-form input[type=number]::-webkit-inner-spin-button,.rule-edit-form input[type=number]::-webkit-outer-spin-button{margin:0;appearance:none;-webkit-appearance:none}.rule-edit-control>span{position:absolute;top:50%;right:11px;color:var(--muted);font-size:10px;transform:translateY(-50%)}.rule-edit-form .field select{width:100%;height:38px;padding:0 30px 0 11px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);background:var(--surface);font-size:12px;outline:0}.rule-edit-form .field select:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.rule-edit-note{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-left:3px solid var(--amber);color:#735223;background:#fff8ea;font-size:11px;line-height:1.45}.rule-edit-note svg{flex:0 0 auto;margin-top:1px}.field textarea{width:100%;min-height:104px;resize:vertical;padding:10px 11px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);outline:0;background:#fff;font-size:12px;line-height:1.5}.field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.form-error{padding:9px 11px;color:#9c3232;border:1px solid #edc2c2;border-radius:6px;background:var(--red-soft);font-size:11px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.rule-edit-actions .danger-button{margin-right:auto}.export-date-form{display:flex;flex-direction:column;gap:16px;padding-top:18px}.export-date-field{width:100%}.export-date-field button{flex:1 1 0;min-width:0}.export-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.export-date-note{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border-left:3px solid var(--green);color:var(--muted);background:var(--green-soft);font-size:11px;line-height:1.5}.export-date-note svg{flex:0 0 auto;margin-top:1px;color:var(--green-dark)}.report-export-form{display:flex;flex-direction:column;gap:16px;padding-top:18px}.report-export-form input[type=checkbox]{width:16px;height:16px;flex:0 0 auto;margin:0;accent-color:var(--green)}.report-export-toggle-all{min-height:38px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;color:var(--ink);font-size:11px;font-weight:700}.report-export-toggle-all strong{color:var(--muted);font-size:10px;font-weight:600}.report-export-list{border-top:1px solid var(--line)}.report-export-option{min-height:64px;display:grid;grid-template-columns:18px 20px minmax(0,1fr);align-items:center;gap:11px;border-bottom:1px solid var(--line);cursor:pointer}.report-export-option>svg{color:var(--muted)}.report-export-option>span{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.report-export-option strong{color:var(--ink);font-size:12px}.report-export-option small{color:var(--muted);font-size:10px;line-height:1.4;overflow-wrap:anywhere}.report-export-option.invalid>svg,.report-export-option.invalid strong{color:var(--red)}.report-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--line)}.report-date-range{width:min(520px,100%)}.report-mode-field{width:190px;flex:0 0 190px}.report-mode{width:100%}.report-mode button{flex:1 1 0;min-width:0}.lock-status-report{padding-top:24px}.report-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.report-heading>div{display:flex;flex-direction:column;gap:5px}.report-heading h2{font-size:18px}.report-heading>span{color:var(--muted);font-size:11px}.report-loading{min-height:330px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:12px}.lock-status-chart-layout{width:min(760px,100%);min-height:340px;display:grid;grid-template-columns:260px minmax(280px,1fr);align-items:center;gap:54px;margin:0 auto;padding:34px 0 18px}.lock-status-donut{width:230px;aspect-ratio:1;display:grid;place-items:center;border-radius:50%}.lock-status-donut>div{width:62%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:50%;background:var(--surface)}.lock-status-donut strong{color:var(--ink);font-size:28px;line-height:1}.lock-status-donut span{margin-top:7px;color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.lock-status-legend{display:flex;flex-direction:column;border-top:1px solid var(--line)}.lock-status-legend-row{min-height:62px;display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.lock-status-legend-row>span:nth-child(2){color:var(--ink);font-size:12px;font-weight:600}.lock-status-legend-row strong{min-width:72px;text-align:right;font-size:16px}.report-swatch{width:10px;height:10px;border-radius:50%}.report-swatch.red{background:var(--red)}.report-swatch.amber{background:var(--amber)}.report-swatch.green{background:var(--green)}.account-group-report{margin-top:12px;padding-top:30px;border-top:1px solid var(--line)}.account-report-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.account-report-toolbar .report-heading{flex:1 1 auto}.account-report-filters{display:flex;align-items:flex-end;gap:12px}.account-date-scope{width:220px;flex:0 0 220px}.account-report-mode-field{width:180px;flex:0 0 180px}.account-report-mode-field .segmented-control,.account-range-mode{width:100%}.account-range-mode button{min-width:0}.account-report-date-range{width:min(520px,100%);margin-top:18px}.account-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px;border-top:1px solid var(--line)}.account-group-panel{min-width:0;padding:26px 34px 20px 0}.account-group-panel+.account-group-panel{padding-right:0;padding-left:34px;border-left:1px solid var(--line)}.account-group-panel>header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.account-group-panel>header>div{display:flex;flex-direction:column;gap:5px}.account-group-panel h3{font-size:16px}.account-group-panel>header>span{color:var(--muted);font-size:11px}.account-group-chart-layout{min-height:320px;display:grid;grid-template-columns:210px minmax(210px,1fr);align-items:center;gap:28px;padding-top:24px}.account-group-donut{width:190px}.account-group-donut strong{font-size:24px}.account-group-legend{max-height:320px;overflow-y:auto}.account-group-legend .lock-status-legend-row{min-height:52px}.account-group-legend .lock-status-legend-row>span:nth-child(2){overflow-wrap:anywhere}.account-group-panel>.empty-state{min-height:300px;border:0}.account-status-report{margin-top:14px;padding-top:30px;border-top:1px solid var(--line)}.account-status-grid{margin-top:24px}.account-status-panel .eyebrow{color:var(--muted)}.account-creation-report{margin-top:30px;padding-top:30px;border-top:1px solid var(--line)}.account-creation-controls{flex-wrap:wrap}.account-creation-interval{width:150px;flex:0 0 150px}.account-creation-interval select{width:100%;height:37px;padding:0 30px 0 11px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);outline:0;background:var(--surface);font-size:12px}.account-creation-interval select:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.account-creation-legend .account-creation-live,.account-creation-stack .account-creation-live{background:#15926f}.account-creation-legend .account-creation-demo,.account-creation-stack .account-creation-demo{background:#3978a8}.account-creation-legend .account-creation-total{margin-left:auto;grid-template-columns:minmax(0,auto) auto;color:var(--ink)}.account-creation-stack>span:first-of-type{border-radius:0 0 2px 2px}.account-creation-stack>span:last-of-type{border-radius:2px 2px 0 0}.violations-time-report{margin-top:30px;padding-top:30px;border-top:1px solid var(--line)}.violation-report-filters{display:grid;grid-template-columns:minmax(190px,1.2fr) repeat(3,minmax(130px,.8fr)) minmax(160px,1fr);align-items:end;gap:12px;margin-top:22px}.violation-report-filters .segmented-control{width:100%}.violation-report-filters .field>select{width:100%;height:40px;padding:0 30px 0 11px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);outline:0;background:var(--surface);font-size:12px}.violation-report-filters .field>select:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.violation-date-range{margin-bottom:16px}.violations-time-report>.form-error{margin-top:12px}.violation-chart-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.violation-chart-legend>span{min-width:0;display:inline-grid;grid-template-columns:9px minmax(0,auto) auto;align-items:center;gap:7px;color:var(--muted);font-size:11px}.violation-chart-legend i{width:9px;height:9px;border-radius:2px}.violation-chart-legend strong{color:var(--ink);font-size:11px}.violation-chart-scroll{width:100%;overflow-x:auto;padding:28px 0 10px;scrollbar-gutter:stable}.violation-chart{height:340px;display:grid;grid-template-columns:48px minmax(0,1fr);padding:18px 12px 0 0}.violation-y-axis{position:relative;height:260px;color:var(--muted);font-size:10px}.violation-y-axis span{position:absolute;right:10px;transform:translateY(50%);white-space:nowrap}.violation-plot{position:relative;min-width:0;height:300px}.violation-grid-lines{position:absolute;inset:0 0 40px;pointer-events:none}.violation-grid-lines i{position:absolute;left:0;right:0;border-top:1px solid var(--line)}.violation-bars{position:absolute;inset:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(48px,1fr);align-items:start;gap:12px}.violation-bar-column{min-width:0;height:300px;display:grid;grid-template-rows:260px 40px;justify-items:center}.violation-bar-track{position:relative;width:38px;height:260px;display:flex;align-items:flex-end}.violation-bar-stack{position:relative;width:100%;min-height:2px;display:flex;flex-direction:column-reverse;border-radius:3px 3px 0 0;overflow:visible}.violation-bar-stack>strong{position:absolute;top:-19px;left:50%;transform:translate(-50%);color:var(--ink);font-size:10px;white-space:nowrap}.violation-bar-stack>span{min-height:2px;border-top:1px solid color-mix(in srgb,var(--surface) 50%,transparent)}.violation-bar-stack>span:first-of-type{border-radius:0 0 2px 2px}.violation-period-label{align-self:start;max-width:68px;padding-top:10px;color:var(--muted);font-size:10px;text-align:center;white-space:nowrap}.disable-rule-confirmation{display:flex;flex-direction:column;gap:20px;padding-top:18px}.disable-rule-confirmation p{color:var(--muted);font-size:12px;line-height:1.55}.json-title{margin:15px 0 8px;font-size:11px}pre{max-height:220px;overflow:auto;margin:0;padding:13px;border:1px solid #d8e0e4;border-radius:5px;color:#dcebe6;background:#1b2925;font:10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.connection-page{position:relative;min-height:100vh;display:grid;justify-items:center;align-content:start;padding:clamp(28px,7vh,88px) 30px 56px;background:#eef2f3}.connection-theme-toggle{position:fixed;top:20px;right:20px;z-index:5}.connection-panel{width:min(980px,100%);min-height:700px;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;border:1px solid #d6dfe2;border-radius:8px;background:#fff;box-shadow:0 18px 55px #192e271c}.connection-form{display:flex;flex-direction:column;justify-content:flex-start;padding:54px}.connection-heading{display:flex;align-items:flex-start;gap:15px;margin-bottom:32px}.connection-heading h1{margin-top:5px;font-size:25px;line-height:1.2}.connection-heading p{max-width:430px;margin-top:8px;color:var(--muted);font-size:11px;line-height:1.55}.connection-alert{display:flex;align-items:flex-start;gap:10px;margin:-12px 0 22px;padding:12px 14px;border:1px solid #e8a3a3;border-radius:6px;color:#9e2929;background:#fff1f1}.connection-alert>svg{flex:0 0 auto;margin-top:1px}.connection-alert>div{min-width:0;display:flex;flex-direction:column;gap:3px}.connection-alert strong{font-size:11px}.connection-alert span{font-size:10px;line-height:1.5;overflow-wrap:anywhere}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{min-width:0;display:flex;flex-direction:column;gap:7px;color:#4c5962;font-size:10px;font-weight:650}.field.full{grid-column:1 / -1}.field input{width:100%;height:40px;padding:0 11px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);outline:0;background:#fff;font-size:12px}.field input:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.input-with-icon{position:relative}.input-with-icon svg{position:absolute;top:12px;left:11px;color:#7a878e}.input-with-icon input{padding-left:36px}.account-type-field{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;color:#4c5962;font-size:10px;font-weight:650}.segmented-control{display:grid;grid-template-columns:1fr 1fr;width:180px;padding:3px;border:1px solid var(--line);border-radius:6px;background:#f3f5f6}.segmented-control button{height:29px;border:0;border-radius:4px;color:#68757e;background:transparent;font-size:10px;text-transform:capitalize}.segmented-control button.selected{color:#1f3a31;background:#fff;box-shadow:0 1px 3px #14231f1f}.segmented-control.sign-in-tabs{width:100%;margin:2px 0 26px;padding:4px;gap:4px}.segmented-control.sign-in-tabs button{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;white-space:nowrap;font-size:11px;font-weight:600;letter-spacing:.01em}.segmented-control.sign-in-tabs button svg{flex:0 0 auto;opacity:.75}.segmented-control.sign-in-tabs button.selected svg{opacity:1}.connection-form .form-grid{row-gap:18px}.connection-form .field.full span small{margin-left:5px;color:#9aa5ab;font-weight:500;text-transform:none}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:30px;padding-top:20px;border-top:1px solid var(--line)}.form-footer>span{display:inline-flex;align-items:center;gap:6px;color:#7a868d;font-size:9px;line-height:1.4}.connection-aside{position:relative;display:flex;flex-direction:column;justify-content:center;padding:50px 42px;overflow:hidden;color:#ecf6f2;background:#18352d}.connection-art{position:relative;width:92px;height:92px;display:grid;place-items:center;margin-bottom:32px;border:1px solid #3b6558;border-radius:50%;color:#75d4b1}.pulse-ring{position:absolute;inset:14px;border:1px solid #4b7b6d;border-radius:50%}.connection-aside .eyebrow{color:#76d5b1}.connection-aside h2{margin-top:8px;font-size:24px;line-height:1.25}.connection-aside p{margin-top:13px;color:#b7ccc4;font-size:11px;line-height:1.65}.connection-aside ul{display:flex;flex-direction:column;gap:10px;margin:26px 0 0;padding:20px 0 0;border-top:1px solid #315249;list-style:none}.connection-aside li{display:flex;align-items:center;gap:8px;color:#c6d8d1;font-size:10px}.settings-section{max-width:760px}.settings-section .connection-form{justify-content:initial;margin-top:18px;padding:22px;border:1px solid var(--line);border-radius:7px;background:#fff}.settings-note{display:flex;align-items:flex-start;gap:11px;padding:14px;color:#315c79;border-left:3px solid var(--blue);background:var(--blue-soft)}.settings-note strong{font-size:11px}.settings-note p{margin-top:4px;color:#53738a;font-size:10px;line-height:1.5}.settings-section>.danger-button{margin-top:20px}.toast-stack{position:fixed;right:18px;bottom:18px;z-index:80;width:min(360px,calc(100vw - 36px));display:flex;flex-direction:column;gap:8px}.toast{min-height:48px;display:flex;align-items:center;gap:9px;padding:7px 8px 7px 13px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 10px 30px #14231f24;font-size:11px}.toast span{flex:1}.toast.success>svg{color:var(--green)}.toast.error>svg{color:var(--red)}.menu-scrim{display:none}@media(min-width:841px){.sidebar,.main-area{transition:width .2s ease,margin-left .2s ease}.sidebar-collapse-button{position:absolute;top:50%;right:-13px;z-index:2;width:26px;height:26px;display:grid;place-items:center;padding:0;border:1px solid #365149;border-radius:6px;color:#d8e5e0;background:var(--sidebar);box-shadow:0 3px 10px #08120f2e;transform:translateY(-50%)}.sidebar-collapse-button:hover{color:#fff;background:#29423a}.sidebar.collapsed{width:72px;padding-right:9px;padding-left:9px}.app-shell.sidebar-collapsed .main-area{width:calc(100% - 72px);margin-left:72px}.sidebar.collapsed .brand{justify-content:center;padding-right:0;padding-left:0}.sidebar.collapsed .brand>span:nth-child(2),.sidebar.collapsed nav button>span,.sidebar.collapsed .sidebar-footer>button>span,.sidebar.collapsed .sidebar-admin-copy,.sidebar.collapsed .sidebar-admin-chevron{display:none}.sidebar.collapsed nav button,.sidebar.collapsed .sidebar-footer>button{position:relative;width:42px;justify-content:center;gap:0;margin-right:auto;margin-left:auto;padding:0}.sidebar.collapsed nav button b{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;margin:0;font-size:9px}.sidebar.collapsed nav button b.lock-source-counts{right:-14px;min-width:44px;gap:3px;padding:0 4px;font-size:7px}.sidebar.collapsed nav button b.lock-source-counts span+span{padding-left:3px}.sidebar.collapsed nav button.isolated:before{right:-6px;left:-6px}.sidebar.collapsed .sidebar-account{flex-direction:column;gap:4px;padding-right:0;padding-left:0}.sidebar.collapsed .sidebar-admin-menu{flex:0 0 auto}.sidebar.collapsed .sidebar-admin-trigger{width:39px;height:39px;justify-content:center;padding:4px}.sidebar.collapsed .sidebar-account .icon-button{width:31px;height:31px}}:root[data-theme=dark] .sidebar{border-color:#1e302a}:root[data-theme=dark] .brand,:root[data-theme=dark] .sidebar-footer{border-color:#243830}:root[data-theme=dark] .sidebar nav button:hover,:root[data-theme=dark] .sidebar-footer>button:hover,:root[data-theme=dark] .sidebar .icon-button:hover{background:#1a2d27}:root[data-theme=dark] .sidebar nav button.active,:root[data-theme=dark] .sidebar-footer>button.active{background:#21483a}:root[data-theme=dark] .topbar{background:#101714f5}:root[data-theme=dark] .breadcrumb,:root[data-theme=dark] .api-status,:root[data-theme=dark] .timezone-status,:root[data-theme=dark] .scope-label,:root[data-theme=dark] .toolbar select,:root[data-theme=dark] .field,:root[data-theme=dark] .account-type-field{color:#a8b5b0}:root[data-theme=dark] .api-status i{box-shadow:0 0 0 3px #17382d}:root[data-theme=dark] .account-switcher,:root[data-theme=dark] .icon-button,:root[data-theme=dark] .search-field,:root[data-theme=dark] .toolbar select,:root[data-theme=dark] .scenario-card,:root[data-theme=dark] .secondary-button,:root[data-theme=dark] .danger-button,:root[data-theme=dark] .modal,:root[data-theme=dark] .field input,:root[data-theme=dark] .field textarea,:root[data-theme=dark] .violation-report-filters .field>select,:root[data-theme=dark] .account-creation-interval select,:root[data-theme=dark] .settings-section .connection-form,:root[data-theme=dark] .toast{color:var(--ink);background:var(--surface)}:root[data-theme=dark] .icon-button{color:#a8b5b0}:root[data-theme=dark] .icon-button:hover,:root[data-theme=dark] .secondary-button:hover{color:var(--ink);background:#22302b}:root[data-theme=dark] .account-switcher:hover,:root[data-theme=dark] .metric-card:hover{border-color:#52675e}:root[data-theme=dark] .account-popover{box-shadow:0 18px 46px #00000061}:root[data-theme=dark] .account-switch-action:hover{background:#22302b}:root[data-theme=dark] .scope-label,:root[data-theme=dark] thead{background:#1d2925}:root[data-theme=dark] .scenario-rule-header{background:#1d2925}:root[data-theme=dark] th{color:#99aaa3}:root[data-theme=dark] td{color:#bac6c1;border-color:#293a33}:root[data-theme=dark] td strong{color:#e1e9e6}:root[data-theme=dark] td small,:root[data-theme=dark] .manual-unlock-details small,:root[data-theme=dark] .metric-copy small,:root[data-theme=dark] .scenario-meta{color:#8fa09a;font-size:12px}:root[data-theme=dark] tbody tr:hover{background:#1d2a25}:root[data-theme=dark] .accounts-table .selected-row{background:#1a3028}:root[data-theme=dark] .metric-icon.gray,:root[data-theme=dark] .empty-icon,:root[data-theme=dark] .status-badge.neutral{background:#27342f}:root[data-theme=dark] .status-badge.positive{color:#7bd5b4}:root[data-theme=dark] .status-badge.neutral{color:#bdc8c3}:root[data-theme=dark] .status-badge.info{color:#94c8e8}:root[data-theme=dark] .status-badge.negative{color:#efa0a0}:root[data-theme=dark] .inline-warning,:root[data-theme=dark] .effective-period,:root[data-theme=dark] .unlock-impact,:root[data-theme=dark] .rule-edit-note{color:#ebc887;background:var(--amber-soft)}:root[data-theme=dark] .effective-period strong{color:#edd8ae}:root[data-theme=dark] .settings-note{color:#9fccea}:root[data-theme=dark] .settings-note p{color:#8db4cd}:root[data-theme=dark] .error-state p{color:#e5abab}:root[data-theme=dark] .skeleton{background:#304039}:root[data-theme=dark] .scenario-meta{border-color:#2b3b35}:root[data-theme=dark] .segmented-control{background:#101a16}:root[data-theme=dark] .segmented-control button{color:#98a8a1}:root[data-theme=dark] .segmented-control button.selected{color:var(--ink);background:#273730}:root[data-theme=dark] .table-filter-row th{background:#14211c}:root[data-theme=dark] .funding-summary-row td{background:#27322e}:root[data-theme=dark] .deal-summary-bar{background:#27322e}:root[data-theme=dark] .table-filter-control{border-color:#31463e;background:#101a16}:root[data-theme=dark] .drawdown-filter-bar select,:root[data-theme=dark] .drawdown-filter-bar input{border-color:#31463e;background:#101a16}:root[data-theme=dark] .connection-page{background:#0e1512}:root[data-theme=dark] .connection-panel{color:var(--ink);border-color:var(--line);background:var(--surface);box-shadow:0 18px 55px #00000052}:root[data-theme=dark] .connection-aside{background:#10251f}:root[data-theme=dark] .connection-alert{color:#ffb1b1;border-color:#7a3d3d;background:#351f1f}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#70817a}.access-control-section{display:flex;flex-direction:column;gap:14px}.access-control-section .toolbar{margin-bottom:0}.access-control-section .primary-button{margin-left:0}.segmented-control.access-control-tabs{width:320px;grid-template-columns:repeat(2,minmax(0,1fr))}.access-control-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.access-control-table table{min-width:880px;table-layout:fixed}.access-control-table th:nth-child(1){width:30%}.access-control-table th:nth-child(2){width:15%}.access-control-table th:nth-child(3){width:15%}.access-control-table th:nth-child(4){width:30%}.access-control-table th:nth-child(5){width:10%}.access-control-table th:nth-child(3),.access-control-table td:nth-child(3){text-align:center}.access-control-table td{overflow:hidden}.access-control-table td>strong,.access-control-table td>small{display:block}.access-control-table td>small{margin-top:4px;color:var(--muted)}.permission-action{text-align:center}.permission-action .icon-button{margin:auto}.permission-summary{min-width:0;display:flex;align-items:center;justify-content:center}.permission-summary strong{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;color:var(--accent);background:var(--accent-soft);font-size:12px}.permission-history-table table{min-width:1120px;table-layout:fixed}.permission-history-table th:nth-child(1){width:16%}.permission-history-table th:nth-child(2){width:21%}.permission-history-table th:nth-child(3){width:19%}.permission-history-table th:nth-child(4){width:27%}.permission-history-table th:nth-child(5){width:17%}.permission-history-table td{overflow:hidden;vertical-align:top}.permission-history-table td>strong,.permission-history-table td>small{display:block}.permission-history-table td>small{margin-top:4px;color:var(--muted)}.permission-change-summary{min-width:0;display:flex;flex-direction:column;gap:7px}.permission-change{min-width:0;overflow-wrap:anywhere;color:var(--muted);line-height:1.4}.permission-change strong{display:inline-block;min-width:58px;margin-right:7px;color:var(--ink);font-size:9px;text-transform:uppercase}.permission-change.added strong{color:var(--green-dark)}.permission-change.removed strong{color:var(--red)}.permission-change.unchanged{font-style:italic}.permission-history-reason{overflow-wrap:anywhere;white-space:normal}.access-control-pager{justify-content:flex-end}.employee-access-page{display:flex;flex-direction:column;gap:24px}.employee-access-heading{display:flex;align-items:flex-start;gap:18px}.employee-access-heading>div{min-width:0}.employee-access-heading h2{margin:4px 0 5px;font-size:24px}.employee-access-heading p{margin:0;color:var(--muted)}.employee-access-heading .secondary-button{flex:0 0 auto}.employee-profile-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0}.employee-profile-section .section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.employee-profile-section .section-heading h3{margin:3px 0 0;font-size:17px}.employee-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.employee-profile-field{min-width:0;min-height:74px;display:flex;flex-direction:column;gap:7px;padding:13px 15px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.employee-profile-field span{color:var(--muted);font-size:9px;font-weight:700;text-transform:uppercase}.employee-profile-field strong{overflow-wrap:anywhere;font-size:13px}.employee-access-page .error-state.compact{min-height:0;padding:14px 16px}.employee-access-loading{display:grid;gap:18px}.access-error-back{margin-top:14px}.permission-form{display:flex;flex-direction:column;gap:18px}.permission-page-form .permission-groups{max-height:none;overflow:visible}.employee-access-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.permission-list-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-top:2px}.permission-list-heading>div{display:flex;flex-direction:column;gap:3px}.permission-list-heading small{color:var(--muted)}.permission-groups{max-height:380px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:1px;border:1px solid var(--line);border-radius:6px;background:var(--line)}.permission-group{min-width:0;align-self:stretch;background:var(--surface)}.permission-group-header{min-height:48px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;padding:9px 14px;background:var(--canvas);cursor:pointer}.permission-group-header input{margin:0;accent-color:var(--accent)}.permission-group-header span{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px}.permission-group-header strong{font-size:11px}.permission-group-header small{color:var(--muted);white-space:nowrap}.permission-group-items{background:var(--surface)}.permission-check{min-width:0;min-height:72px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;padding:12px 14px;border-top:1px solid var(--line);cursor:pointer}.permission-check input{margin:2px 0 0;accent-color:var(--accent)}.permission-check span,.permission-check strong,.permission-check small{min-width:0;display:block}.permission-check small{margin-top:3px;color:var(--muted);line-height:1.35}@media(max-width:1120px){.metric-grid,.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-columns{grid-template-columns:minmax(0,1fr) 250px}.modal.drawdown-detail-modal{overflow:auto}.drawdown-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.violation-report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.account-group-grid{grid-template-columns:minmax(0,1fr)}.account-group-panel{padding:24px 0}.account-group-panel+.account-group-panel{padding-left:0;border-top:1px solid var(--line);border-left:0}.employee-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:840px){.sidebar{transform:translate(-100%);transition:transform .2s ease;box-shadow:16px 0 40px #08120f38}.sidebar.open{transform:translate(0)}.brand .icon-button{display:grid}.menu-scrim{position:fixed;inset:0;z-index:25;display:block;padding:0;border:0;background:#0d18147a}.main-area{width:100%;margin-left:0}.topbar{padding:0 18px}.topbar>div:first-child>.icon-button{display:grid}.page-content{padding-right:18px;padding-left:18px}.overview-columns{grid-template-columns:1fr}.account-health{margin-top:6px}.connection-panel{grid-template-columns:1fr}.connection-aside{display:none}.connection-form{padding:42px}.locked-accounts-view .page-content{height:calc(100vh - 76px)}}@media(max-width:620px){.topbar{height:66px;padding:0 12px}.breadcrumb,.api-status,.timezone-status,.account-switcher>span:nth-child(2),.account-chevron{display:none}.topbar h1{margin:0;font-size:17px}.account-switcher{min-width:46px;width:46px;padding:6px;border:0}.account-switcher .account-avatar{margin:auto}.account-menu{position:static}.account-popover{position:fixed;top:60px;right:12px;left:12px;width:auto}.page-content{padding:20px 12px 34px}.locked-accounts-view .page-content{height:calc(100vh - 66px)}.locked-accounts-view .page-content{padding-top:12px;padding-bottom:12px}.locked-accounts-view .page-action-bar{position:static;min-height:38px;margin-bottom:10px}.locked-accounts-view .page-intro{min-height:34px;margin-bottom:10px;padding-right:0}.page-action-bar{justify-content:stretch}.page-action-bar .export-button{width:100%}.page-intro{min-height:34px;margin-bottom:14px}.scope-label{display:none}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{height:112px;flex-direction:column;gap:8px;padding:12px}.metric-icon{width:30px;height:30px;flex-basis:30px}.metric-copy strong{margin:3px 0;font-size:16px}.metric-copy small{display:none}.scenario-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.search-field{width:100%}.toolbar select{flex:1}.result-count{margin-left:0}.pager{margin-left:auto}.connection-page{padding:0;background:#fff}.connection-panel{min-height:100vh;border:0;border-radius:0;box-shadow:none}.connection-form{padding:28px 20px}.connection-heading{margin-bottom:26px}.connection-heading h1{font-size:21px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.account-type-field{align-items:flex-start;flex-direction:column}.segmented-control{width:100%}.form-footer{align-items:stretch;flex-direction:column}.form-footer .primary-button{width:100%}.settings-section .connection-form{padding:16px}.event-detail{grid-template-columns:1fr}.modal{max-height:calc(100vh - 20px);padding:15px}.modal-summary{align-items:flex-start;flex-direction:column}.scenario-rule-list>div{grid-template-columns:minmax(0,1fr) 80px}.scenario-rule-list>.scenario-rule-header{min-height:36px}.scenario-rule-header span:nth-child(n+3){display:none}.scenario-rule-time{grid-column:1 / -1;padding-top:8px;border-top:1px solid var(--line)}.scenario-rule-time small{display:block}.scenario-rule-list .status-badge{display:none}.rule-edit-grid,.export-date-grid{grid-template-columns:1fr}.lock-list-tabs{width:100%;flex-basis:100%}.mobile-lock-filters-toggle{width:100%;min-height:36px;display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 10px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:var(--surface);font-size:11px;font-weight:700}.mobile-lock-filters-toggle svg:last-child{margin-left:auto;transition:transform .2s ease}.mobile-lock-filters-toggle.open svg:last-child{transform:rotate(180deg)}.mobile-drawdown-filter{display:none}.mobile-drawdown-filter.open{display:flex}.drawdown-filter-bar{align-items:stretch;flex-direction:column}.drawdown-filter-bar label{width:100%}.drawdown-detail-grid{grid-template-columns:1fr}.report-toolbar{align-items:stretch;flex-direction:column}.report-mode-field{width:100%;flex-basis:auto}.lock-status-chart-layout{width:100%;min-height:0;grid-template-columns:minmax(0,1fr);justify-items:center;gap:28px;padding-top:30px}.account-report-toolbar{align-items:stretch;flex-direction:column}.account-report-toolbar .report-heading{align-items:flex-start}.account-report-filters{align-items:stretch;flex-direction:column}.account-date-scope,.account-report-mode-field{width:100%;flex-basis:auto}.account-group-grid{grid-template-columns:minmax(0,1fr)}.account-group-panel{padding:24px 0}.account-group-panel+.account-group-panel{padding-left:0;border-top:1px solid var(--line);border-left:0}.account-group-chart-layout{min-height:0;grid-template-columns:minmax(0,1fr);justify-items:center}.account-group-legend{width:100%;max-height:none}.violation-report-filters{grid-template-columns:minmax(0,1fr)}.lock-status-donut{width:min(230px,72vw)}.lock-status-legend{width:100%}.report-heading{align-items:flex-start;flex-direction:column}.trading-account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.trading-account-summary>div{border-bottom:1px solid var(--line)}.trading-account-summary>div:nth-child(2n){border-right:0}.trading-account-summary>div:last-child{grid-column:1 / -1;border-bottom:0}.trading-live-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.trading-live-summary>div{border-bottom:1px solid var(--line)}.trading-live-summary>div:nth-child(2n){border-right:0}.trading-live-summary>div:nth-child(5){grid-column:1 / -1;border-right:0}.realtime-status{grid-column:1 / -1;min-height:38px}.trading-detail-toolbar{align-items:stretch;flex-wrap:wrap}.trading-detail-tabs{width:100%;flex-basis:100%}.employee-profile-grid,.permission-groups{grid-template-columns:1fr}.employee-access-heading{flex-direction:column}}.crm-mirror-banner{display:flex;align-items:center;gap:12px;padding:10px 14px;margin-bottom:14px;border-radius:10px;border:1px solid var(--border, rgba(148, 163, 184, .28));background:#94a3b814}.crm-mirror-banner.stale{border-color:#f8717173;background:#f871711a}.crm-mirror-icon{display:inline-flex;align-items:center;opacity:.85}.crm-mirror-text{display:flex;flex-direction:column;gap:2px;min-width:0}.crm-mirror-text small{opacity:.72}.crm-mirror-note{margin-left:auto;font-size:.78rem;opacity:.75;white-space:nowrap;cursor:help}.crm-toggle{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;white-space:nowrap}.crm-toggle input{accent-color:var(--accent, #38bdf8)}.crm-risk-unknown{opacity:.45;cursor:help}.crm-clients-table td small{display:block;opacity:.68;font-size:.76rem;margin-top:2px}.crm-row.expanded{background:#38bdf80f}.crm-detail-row>td{padding:0!important}.crm-detail-panel{display:flex;flex-direction:column;gap:18px;padding:16px 18px 20px}.crm-detail-panel.error{color:#f87171f2}.crm-detail-panel h4{margin:0 0 8px;font-size:.85rem;letter-spacing:.02em;opacity:.8}.crm-detail-empty{margin:0;opacity:.6;font-size:.85rem}.crm-detail-table{width:100%;border-collapse:collapse;font-size:.82rem}.crm-detail-table th,.crm-detail-table td{text-align:left;padding:6px 10px;border-bottom:1px solid rgba(148,163,184,.16)}.crm-detail-table th{font-weight:600;opacity:.7}.crm-detail-table td small{display:block;opacity:.6;font-size:.72rem}.crm-hash{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;cursor:help}.policy-banner{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 16px;margin-bottom:14px;border:1px solid var(--border, #2a3142);border-radius:10px;background:var(--surface-2, rgba(255, 255, 255, .02))}.policy-banner-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.policy-banner-copy strong{font-size:14px}.policy-banner-copy span{font-size:13px;opacity:.75}.policy-banner-reason{font-style:italic}.policy-banner-off{border-color:var(--primary-red, #e5484d);background:color-mix(in srgb,var(--primary-red, #e5484d) 10%,transparent)}.policy-banner-off .policy-banner-copy strong{color:var(--primary-red, #e5484d)}.deposit-action-form{display:flex;flex-direction:column;gap:.6rem;margin-top:.6rem}.deposit-reason{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem}.deposit-reason textarea{width:100%;resize:vertical;padding:.5rem .6rem;border-radius:8px;border:1px solid var(--border, #d7dbe3);background:var(--surface, #fff);color:inherit;font:inherit}.deposit-action-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.deposit-error{margin-top:.5rem;color:var(--primary-red, #e5484d);font-size:.85rem;font-weight:600}.deposit-create-form{display:flex;flex-direction:column;gap:.6rem;padding:.9rem;margin-bottom:.9rem;border-radius:10px;border:1px solid var(--border, #d7dbe3);background:var(--surface-muted, #f5f7fa)}.deposit-create-fields{display:flex;flex-wrap:wrap;gap:.75rem}.deposit-create-fields label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;font-weight:600}.deposit-create-fields input{padding:.45rem .55rem;border-radius:8px;min-width:8rem;border:1px solid var(--border, #d7dbe3);background:var(--surface, #fff);color:inherit;font:inherit;font-weight:400}.deposit-create-hint{color:var(--text-muted, #6b7280);font-size:.78rem}.fee-schedule{display:flex;flex-direction:column;gap:22px}.fee-schedule section h3{margin:0 0 6px}.fee-meta{display:flex;flex-wrap:wrap;gap:8px}.fee-note{color:var(--text-muted, #7a8a84);font-size:13px;max-width:78ch;margin:0 0 10px}.fee-schedule td,.fee-schedule th{font-variant-numeric:tabular-nums;white-space:nowrap}.fee-class-row td{background:var(--surface-muted, rgba(127, 127, 127, .08));font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted, #7a8a84)}.fee-positive{color:var(--success, #1d9d5f)}.fee-negative{color:var(--danger, #cf5044)}.fee-dividend{display:flex;gap:10px;align-items:flex-start;border:1px dashed var(--border, #44554f);border-radius:10px;padding:12px 14px;color:var(--text-muted, #7a8a84);max-width:70ch}.fee-dividend p{margin:0;font-size:13.5px}.dividend-form{display:grid;gap:12px;max-width:560px}.dividend-form label{display:grid;gap:4px;font-size:13px;font-weight:600}.dividend-form input[type=date],.dividend-form textarea{padding:.45rem .55rem;border-radius:8px;border:1px solid var(--border, #d7dbe3);background:var(--surface, #fff);color:inherit;font:inherit;font-weight:400}.dividend-form textarea{font-family:ui-monospace,monospace}.dividend-check{flex-direction:row;display:flex!important;align-items:center;gap:8px;font-weight:400!important;font-size:12.5px;color:var(--text-muted, #6b7280)}.dividend-error{display:flex;align-items:center;gap:6px;color:var(--danger, #cf5044);font-size:13px;margin:4px 0 0}
