:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#182033;background:#f4f6f9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%;overflow-x:hidden}body{margin:0;min-width:320px;min-height:100vh;background:#f4f6f9}button,input,select{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:236px 1fr;min-height:100vh;width:100%;max-width:100vw;overflow-x:hidden}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid #e3e8f0;display:flex;flex-direction:column;z-index:20}.side-head{height:64px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f6}.brand{color:#2f62d6;font-weight:800;letter-spacing:0}.side-brand{display:grid;gap:3px}.side-brand span{color:#8b97a8;font-size:12px}.nav{padding:14px 10px;display:grid;gap:4px}.nav-item{width:100%;border:0;background:transparent;color:#617086;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:7px;text-align:left;min-height:40px}.nav-item:hover,.nav-item.active{color:#2459cf;background:#eef4ff}.nav-item.muted{color:#7a8798}.side-foot{margin-top:auto;padding:12px 10px 18px;border-top:1px solid #edf1f6}.main{min-width:0;padding:0 24px 32px}.topbar{height:76px;display:flex;align-items:center;gap:16px;justify-content:space-between}.topbar h1{margin:2px 0 0;font-size:22px;line-height:1.2;display:inline-flex;align-items:baseline;gap:10px;flex-wrap:wrap}.topbar h1 small{color:#617086;font-size:14px;font-weight:600}.crumb{color:#8b97a8;font-size:12px}.top-actions{display:flex;align-items:center;gap:12px}.profile{display:grid;justify-items:end;gap:2px;font-size:13px}.profile small{color:#8b97a8}.icon-btn{width:36px;height:36px;border:1px solid #dce3ee;background:#fff;color:#536175;border-radius:7px;display:inline-flex;align-items:center;justify-content:center}.icon-btn:hover{color:#2459cf;border-color:#b8c8ea}.icon-btn.small{width:30px;height:30px;border-radius:6px}.mobile-only{display:none}.content-stack{display:grid;gap:16px;min-width:0;max-width:100%}.content-stack>*{min-width:0;max-width:100%}.toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.toolbar.right{justify-content:flex-end}.dashboard-toolbar{justify-content:flex-start}.filter-block{transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.filter-block.inactive{border-color:#18a058;box-shadow:0 0 0 2px #18a05826}.filter-block.active{border-color:#dde5f0;box-shadow:none}.month-filter{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:6px 8px;border:1px solid #dce5f1;background:#fff;border-radius:8px;color:#617086}.month-filter select{height:30px;border:0;background:transparent;color:#10213d;font:inherit;font-weight:600;outline:none}.month-filter select:focus-visible{box-shadow:0 0 0 2px #2f62d633;border-radius:6px}.refresh-status{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:4px 6px 4px 10px;border:1px solid #dde5f0;background:#fff;border-radius:8px;color:#617086;font-size:12px;white-space:nowrap}.refresh-dot{width:8px;height:8px;border-radius:50%;background:#cbd5e1;flex:0 0 auto}.refresh-dot.on{background:#18a058;box-shadow:0 0 0 3px #e8f7ef}.refresh-dot.off{background:#d6a021;box-shadow:0 0 0 3px #fff5e8}.segmented{position:relative;display:inline-grid;--tab-width: 136px;grid-template-columns:repeat(var(--tab-count),var(--tab-width));background:#fff;border:1px solid #dde5f0;border-radius:8px;padding:3px;overflow:hidden;width:max-content;max-width:100%}.segmented button{position:relative;z-index:1;border:0;border-radius:6px;background:transparent;color:#617086;min-height:32px;padding:0 12px;transition:color .18s ease;min-width:0;white-space:nowrap;width:100%}.segmented-indicator{position:absolute;z-index:0;top:3px;bottom:3px;left:3px;width:var(--tab-width);border-radius:6px;background:#2f62d6;transform:translate(calc(var(--tab-index) * 100%));transition:transform .22s ease;pointer-events:none}.segmented button.active{color:#fff}.segmented button:hover{background:transparent;color:#617086}.segmented button.active:hover{color:#fff}.segmented button:active{transform:none}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:14px}.summary-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:12px}.metric{position:relative;min-height:104px;background:#fff;border:1px solid #e3e8f0;border-radius:8px;padding:16px;display:grid;align-content:space-between;gap:10px}.metric-value-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.metric-action{min-height:26px;border:1px solid #d7e0ec;border-radius:6px;background:#fbfcfe;color:#2459cf;padding:0 8px;font-size:12px;font-weight:700}.metric-action:hover{background:#eef4ff}.metric.compact{min-height:92px;padding:14px}.metric>span{color:#6d7a8e;font-size:13px}.metric strong{font-size:24px;line-height:1}.metric.compact strong{font-size:20px}.metric-icon{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#2f62d6;background:#eef4ff}.metric.green .metric-icon,.metric.green strong{color:#188451}.metric.green .metric-icon{background:#e8f7ef}.metric.red .metric-icon,.metric.red strong{color:#c83b3b}.metric.red .metric-icon{background:#fff0f0}.metric.orange .metric-icon,.metric.orange strong{color:#b96713}.metric.orange .metric-icon{background:#fff5e8}.metric.blue .metric-icon,.metric.blue strong{color:#2459cf}.panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.panel{background:#fff;border:1px solid #e3e8f0;border-radius:8px;min-width:0;max-width:100%}.panel-title{min-height:54px;padding:14px 16px;border-bottom:1px solid #edf1f6;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;max-width:100%}.panel-title h2{margin:0;font-size:15px}.panel-title-left{display:flex;align-items:center;gap:10px;min-width:0}.panel-title-left h2{overflow-wrap:anywhere}.panel-title-content{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap}.panel-title-content .summary-chips{justify-content:flex-start}.panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.quick-sort-actions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.summary-chips{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.summary-chips span{min-height:30px;border:1px solid #edf1f6;border-radius:7px;background:#fbfcfe;color:#617086;display:inline-flex;align-items:center;gap:5px;padding:0 10px;font-size:12px}.summary-chips strong{color:#182033;font-weight:400}.panel-loader{min-height:180px;display:flex;align-items:center;justify-content:center;gap:10px;color:#617086;font-size:14px}.mini-grid{padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.table-wrap{position:relative;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding-bottom:16px;scrollbar-width:auto;scrollbar-color:#8795a8 #edf2f7}.table-wrap::-webkit-scrollbar,.mini-table-wrap::-webkit-scrollbar,.trade-subtable-scroll::-webkit-scrollbar{height:16px;width:16px}.table-wrap::-webkit-scrollbar-track,.mini-table-wrap::-webkit-scrollbar-track,.trade-subtable-scroll::-webkit-scrollbar-track{background:#edf2f7;border:3px solid #ffffff;border-radius:999px}.table-wrap::-webkit-scrollbar-thumb,.mini-table-wrap::-webkit-scrollbar-thumb,.trade-subtable-scroll::-webkit-scrollbar-thumb{background:#8795a8;border:4px solid #edf2f7;border-radius:999px}input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.table-refresh-indicator{position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:5;min-height:36px;padding:0 14px;border:1px solid #d7e0ec;border-radius:8px;background:#fffffff5;box-shadow:0 8px 20px #0f172a14;color:#617086;display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;pointer-events:none}.table-controls{padding:12px 16px;border-bottom:1px solid #edf1f6;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;min-width:0;max-width:100%}.filter-group{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap;min-width:0;flex:1 1 720px}.filter-extras{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap;min-width:0}.filter-extras .summary-chips{justify-content:flex-start}.filter-select{width:max-content;min-width:124px;min-height:40px;border:1px solid #dfe7f2;border-radius:8px;background:#f8fafc;color:#334155;padding:0 12px;font-size:14px}.filter-input{width:100%;min-height:40px;border:1px solid #dfe7f2;border-radius:8px;background:#f8fafc;color:#334155;padding:0 12px;font-size:14px;outline:none}.filter-clear-wrap{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}.filter-clear-wrap .with-clear{padding-right:32px}.filter-clear-btn,.search-clear-btn{width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:#8b97a8;display:inline-flex;align-items:center;justify-content:center}.filter-clear-btn{position:absolute;right:5px}.filter-clear-btn:hover,.search-clear-btn:hover{background:#eef4ff;color:#2459cf}.amount-condition-filter{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.compact-select{width:164px;max-width:164px}.small-filter-input{width:120px}.table-search{display:inline-flex;align-items:center;gap:8px;min-height:36px;width:min(420px,100%);border:1px solid #dde5f0;background:#fff;border-radius:8px;padding:4px 6px 4px 10px;color:#617086}.table-search input{min-width:120px;flex:1;border:0;outline:0}.table-filter-summary{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;color:#647186;font-size:12px;font-weight:500}.table-filter-summary strong{color:#182033;font-weight:700}.table-filter-chip{display:inline-flex;align-items:center;gap:5px;min-height:26px;border:1px solid #dfe7f2;border-radius:7px;background:#fff;padding:3px 8px}.table-filter-chip span{color:#647186}.table-filter-chip b{color:#182033;font-weight:700}.filter-summary-reset{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #fecaca;border-radius:7px;background:#fff7f7;color:#dc2626;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .08s ease}.filter-summary-reset:hover{background:#fee2e2;border-color:#fca5a5}.filter-summary-reset:active{transform:scale(.96)}.date-filters{display:inline-flex;align-items:center;gap:8px;color:#617086;font-size:14px;flex-wrap:wrap;flex:0 0 auto}.date-filters select{min-height:40px;border:1px solid #dfe7f2;border-radius:8px;background:#f8fafc;color:#334155;padding:0 12px;font-size:14px;outline:none;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.date-filters .period-select{width:112px}.date-filters .date-field-select{width:136px}.date-filters select:hover,.date-chip:hover{background:#fff;border-color:#c8d5e6}.date-filters select:focus,.date-chip:focus-visible,.date-picker.open .date-chip{background:#fff;border-color:#2f62d6;box-shadow:0 0 0 3px #dbe7ff}.table-month-filter{width:190px;flex:0 0 190px;min-height:40px;border:1px solid #dfe7f2;border-radius:8px;background:#f8fafc;color:#617086;display:inline-flex;align-items:center;gap:6px;padding:0 8px}.table-month-filter select{min-height:30px;border:0;border-radius:6px;background:transparent;color:#334155;padding:0 4px;font-weight:600}.month-filter .month-select,.table-month-filter .month-select{width:82px}.month-filter .year-select,.table-month-filter .year-select{width:62px}.table-month-filter:hover,.table-month-filter:focus-within{background:#fff;border-color:#c8d5e6}.date-picker{position:relative;display:inline-flex}.date-chip{min-width:178px;min-height:40px;border:1px solid #dfe7f2;border-radius:8px;background:#f8fafc;color:#334155;display:inline-flex;align-items:center;gap:8px;padding:0 10px;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.date-chip-label{color:#8b97a8;font-size:12px;font-weight:700}.date-chip-value{min-width:96px;text-align:left;color:#182033;font-size:14px;font-weight:500}.date-chip-value.placeholder{color:#98a3b3}.date-chip svg{color:#617086;flex:0 0 auto}.date-popover{position:absolute;z-index:80;top:calc(100% + 8px);left:0;width:292px;border:1px solid #dfe7f2;border-radius:12px;background:#fff;box-shadow:0 16px 40px #0f172a24;padding:12px}.date-popover-head{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;margin-bottom:12px}.date-month{min-height:34px;border-radius:8px;background:#f8fafc;color:#182033;display:flex;align-items:center;justify-content:center;font-weight:700}.date-nav{width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#617086;display:inline-flex;align-items:center;justify-content:center}.date-nav:hover,.date-action:hover{background:#eef4ff;color:#2459cf}.date-weekdays,.date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.date-weekdays{margin-bottom:6px}.date-weekdays span{min-height:24px;color:#8b97a8;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.date-weekdays .weekend,.date-day.weekend{color:#e5484d}.date-day{height:34px;border:0;border-radius:8px;background:transparent;color:#182033;font-size:13px;font-weight:500;transition:background-color .16s ease,color .16s ease,transform .1s ease}.date-day:hover{background:#eef4ff;color:#2459cf}.date-day:active{transform:scale(.96)}.date-day.outside{color:#b7c0cd}.date-day.today{background:#f0f6ff;color:#2459cf;font-weight:800}.date-day.selected,.date-day.selected:hover{background:#2f62d6;color:#fff;box-shadow:0 6px 14px #2f62d638}.date-popover-actions{display:flex;justify-content:space-between;gap:8px;padding-top:10px;margin-top:8px;border-top:1px solid #edf1f6}.date-action{min-height:32px;border:0;border-radius:7px;background:#f8fafc;color:#2459cf;padding:0 10px;font-weight:700}.date-action.muted{color:#617086}.pagination{display:inline-flex;align-items:center;gap:8px;color:#617086;font-size:12px;white-space:nowrap;margin-left:auto;align-self:flex-start}.pagination select{min-height:30px;border:1px solid #d7e0ec;border-radius:6px;background:#fff;color:#334155;padding:0 8px}table{width:100%;border-collapse:collapse;min-width:0}.data-table{table-layout:auto;width:100%;min-width:0}th,td{padding:12px 14px;border-bottom:1px solid #edf1f6;text-align:left;font-size:13px;vertical-align:middle;white-space:nowrap}.data-table th,.data-table td{padding:10px;overflow:hidden;text-overflow:ellipsis;max-width:260px}.data-table td.wrap-column{max-width:460px;overflow:visible;text-overflow:clip;vertical-align:top;white-space:normal}.wrap-cell{display:block;max-width:100%;line-height:1.45;overflow-wrap:anywhere;white-space:normal;word-break:break-word}.data-table td:has(select),.data-table td:has(.row-actions),.data-table td:has(.copyable-text),.data-table td:has(.copy-id-btn),.data-table td:has(.expand-btn){overflow:visible;text-overflow:clip}th{color:#647186;font-weight:700;background:#fbfcfe}.sort-head{width:100%;border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;gap:6px;padding:0;font-weight:700;text-align:left}.sort-head span{min-width:0;overflow:hidden;text-overflow:ellipsis}.sort-head.active{color:#2459cf}.data-table th.sorted-column,.data-table td.sorted-column{background:#eefaf2}tr:hover td{background:#fbfdff}tr:hover td.sorted-column{background:#e5f6eb}.clickable-row{cursor:pointer}.expand-btn{width:28px;height:28px;border:1px solid #dce5f0;border-radius:7px;background:#fff;color:#617086;display:inline-flex;align-items:center;justify-content:center;transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}.expand-btn:hover{background:#eef4ff;border-color:#bdd0f4;color:#2459cf}.expand-btn svg{transition:transform .16s ease}.expand-btn.open svg{transform:rotate(180deg)}.expanded-row>td{padding:0;max-width:none;overflow:visible;background:#fbfcfe}.expanded-row:hover>td{background:#fbfcfe}.trade-subtable-wrap{max-width:100%;min-width:0;overflow:hidden;display:grid;gap:8px;padding:12px 16px 16px;border-top:1px solid #edf1f6;background:#efefef}.subtable-title{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#182033;font-weight:700}.subtable-title-main{display:inline-flex;align-items:baseline;gap:10px;min-width:0}.subtable-title small,.subtable-note{color:#7a8798;font-size:12px;font-weight:500}.subtable-filter-summary{min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:6px;flex-wrap:wrap;color:#617086;font-size:12px}.subtable-filter-label,.subtable-filter-summary strong{color:#182033}.subtable-filter-label{font-weight:700;margin-right:2px}.subtable-filter-chip{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:3px 8px;border:1px solid #dfe7f2;border-radius:7px;background:#fff}.subtable-filter-chip span{color:#647186}.subtable-loader,.subtable-error{min-height:48px;border:1px solid #edf1f6;border-radius:8px;background:#fff;display:inline-flex;align-items:center;gap:8px;padding:0 12px;color:#7a8798}.subtable-error{color:#c53236;border-color:#ffd2d5;background:#fff5f5}.trade-subtable-scroll{max-width:100%;overflow-x:hidden;background:#fff;padding-bottom:16px;scrollbar-width:auto;scrollbar-color:#8795a8 #edf2f7}.trade-subtable{width:100%;min-width:0;table-layout:fixed}.trade-subtable th,.trade-subtable td{padding:9px 8px;font-size:12px;overflow:hidden;text-overflow:ellipsis;max-width:none}.trade-subtable th{vertical-align:top}.trade-subtable td:has(select),.trade-subtable td:has(.copy-id-btn),.trade-subtable th:has(.column-filter-menu){overflow:visible}.trade-subtable select{width:100%;min-width:0}.trade-subtable th.sorted-column,.trade-subtable td.sorted-column{background:#ecfdf3}.subtable-head-cell{display:inline-flex;align-items:flex-start;gap:6px}.subtable-sort-btn{border:0;background:transparent;color:#617086;display:inline-flex;align-items:flex-start;gap:4px;padding:0;font:inherit;font-weight:700;line-height:1.15}.subtable-sort-btn:hover,.subtable-sort-btn.active{color:#2459cf}.subtable-sort-btn.active span{color:#647186}.column-filter-head{position:relative;display:inline-flex;align-items:flex-start;gap:6px}.column-filter-trigger,.link-cell{border:0;background:transparent;display:inline-flex;align-items:center;gap:5px;padding:0;font-weight:700}.link-cell{color:#2459cf}.column-filter-trigger{color:#647186}.column-filter-trigger{flex-direction:column;align-items:flex-start;gap:2px;text-align:left;line-height:1.15}.column-filter-title{line-height:1.15;color:#647186}.column-filter-value{display:inline-flex;align-items:center;gap:4px;color:#647186;font-size:11px;font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-cell:hover{color:#1745a4;text-decoration:underline}.column-filter-trigger:hover{color:#647186;text-decoration:none}.column-filter-menu{position:fixed;z-index:200;min-width:190px;max-height:260px;overflow-y:auto;border:1px solid #dfe7f2;border-radius:10px;background:#fff;box-shadow:0 16px 40px #0f172a24;padding:8px}.column-filter-menu label,.column-filter-option{width:100%;min-height:30px;border-radius:6px;color:#334155;display:flex;align-items:center;gap:8px;padding:0 8px;font-weight:600;white-space:nowrap}.column-filter-option{border:0;background:transparent;font-size:13px;text-align:left}.column-filter-menu label:hover,.column-filter-option:hover,.column-filter-option.active{background:#f3f7fc}.clickable-cell{display:inline-flex;align-items:center;gap:6px;color:#2459cf;font-weight:700}.user-name-cell{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.user-name-line,.user-email-line{display:inline-flex;align-items:center;gap:6px;max-width:100%}.user-email-line{color:#617086;font-size:12px;line-height:1.25}.empty{color:#8b97a8;text-align:center}.table-loading{height:72px}.table-loading,.table-loading span{color:#617086}.table-loading{text-align:center}.table-loading .spin{margin-right:8px;vertical-align:middle}.btn{border:1px solid #d7e0ec;background:#fff;color:#334155;min-height:36px;padding:0 12px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn,.icon-btn,.link-btn,.nav-item,.sort-head,.segmented button{cursor:pointer}.btn,.icon-btn,.nav-item,.sort-head{transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .1s ease,box-shadow .16s ease}.btn:hover,.icon-btn:hover,.nav-item:hover,.sort-head:hover{background-color:#eef4ff;color:#2459cf}.btn.primary:hover{background-color:#2459cf;border-color:#2459cf;color:#fff}.link-btn:hover{color:#174bb8;background-color:#eef4ff;border-radius:5px}.link-btn.danger:hover{color:#a82d2d;background-color:#fff0f0}.btn:active,.icon-btn:active,.link-btn:active,.nav-item:active,.sort-head:active{transform:translateY(1px) scale(.99)}.btn:focus-visible,.icon-btn:focus-visible,.link-btn:focus-visible,.nav-item:focus-visible,.sort-head:focus-visible,.segmented button:focus-visible{outline:0;box-shadow:0 0 0 3px #dbe7ff}.btn.primary{background:#2f62d6;border-color:#2f62d6;color:#fff}.btn.wide{width:100%}.btn.compact{min-height:38px;padding:0 12px;border-radius:6px;font-size:13px}.btn.danger{border-color:#ffd0d0;color:#c83b3b;background:#fff7f7}.btn.danger:hover{border-color:#f2a9a9;color:#a82d2d;background:#fff0f0}.btn:disabled,.link-btn:disabled{opacity:.55;cursor:not-allowed}.link-btn{border:0;background:transparent;color:#2459cf;padding:0}.link-btn.danger{color:#c83b3b}.row-actions{display:flex;gap:10px}.id-cell,.copyable-text,.profile-title-id{display:inline-flex;align-items:center;gap:7px;min-width:0}.copy-id-btn{width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:#8b97a8;display:inline-flex;align-items:center;justify-content:center}.copy-id-btn:hover,.copy-id-btn:focus-visible{background:#eef4ff;color:#2459cf}.copy-id-btn:active{transform:scale(.94)}.action-select{min-height:32px;width:max-content;min-width:108px;max-width:100%;border:1px solid #d7e0ec;border-radius:7px;background:#fff;color:#334155;padding:0 8px;outline:none;font-size:13px}.action-select:hover,.action-select:focus{border-color:#b8c8ea;background:#eef4ff;color:#2459cf}.status-select.ok{border-color:#cdebd9;background:#e8f7ef;color:#188451}.status-select.bad{border-color:#ffd0d0;background:#fff0f0;color:#c83b3b}.status-select:hover,.status-select:focus{background:#fff}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:#0f172a47;display:grid;place-items:center;padding:24px}.modal-panel{width:min(520px,100%);max-height:min(720px,calc(100vh - 48px));overflow:hidden;border:1px solid #dfe7f2;border-radius:10px;background:#fff;box-shadow:0 24px 60px #0f172a38;display:grid}.columns-modal{grid-template-rows:auto minmax(0,1fr) auto}.modal-head{padding:16px;border-bottom:1px solid #edf1f6;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-head h2{margin:0;font-size:17px}.modal-head p{margin:5px 0 0;color:#7a8798;font-size:13px}.columns-list{padding:12px;display:grid;gap:8px;min-height:0;overflow-y:auto}.column-item{min-height:42px;border:1px solid #edf1f6;border-radius:8px;background:#fbfcfe;display:grid;grid-template-columns:28px 28px minmax(0,1fr);align-items:center;gap:8px;padding:0 10px}.column-item:hover{border-color:#c8d5e6;background:#fff}.column-item.dragging{opacity:.56;border-color:#2f62d6;background:#eef4ff}.drag-handle{color:#8b97a8;cursor:grab}.column-check{display:flex;align-items:center;min-width:0}.column-check input{width:16px;height:16px;accent-color:#2f62d6}.column-label-input{width:100%;min-height:34px;border:1px solid transparent;border-radius:7px;background:transparent;color:#334155;padding:0 8px;outline:none}.column-label-input:hover,.column-label-input:focus{border-color:#c8d5e6;background:#fff}.modal-actions{padding:14px 16px;border-top:1px solid #edf1f6;display:flex;justify-content:flex-end;gap:10px}.status{display:inline-flex;min-height:24px;align-items:center;border-radius:6px;padding:0 8px;font-size:12px;background:#eef1f5;color:#647186}.status.ok{background:#e8f7ef;color:#188451}.status.bad{background:#fff0f0;color:#c83b3b}.status.wait{background:#fff5e8;color:#b96713}.badges{display:flex;gap:6px}.badges span{background:#eef4ff;color:#2459cf;border-radius:6px;padding:3px 7px;font-size:12px}.muted-text{color:#98a3b3}.money-delta{color:#182033;font-weight:700}.money-delta.positive{color:#188451}.money-delta.negative{color:#c83b3b}.searchbar{background:#fff;border:1px solid #dde5f0;border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:10px;max-width:520px}.searchbar input{border:0;outline:0;flex:1;min-width:100px}.role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.role-card{background:#fff;border:1px solid #e3e8f0;border-radius:8px;padding:16px;display:grid;gap:12px}.role-card h3{margin:0 0 6px;font-size:15px}.role-card p{margin:0;color:#6d7a8e;font-size:13px;line-height:1.45}.role-card span{color:#2459cf;font-size:13px}.inline-edit{display:inline-flex;gap:8px;align-items:center}.inline-edit input{width:72px;min-height:32px;border:1px solid #d7e0ec;border-radius:7px;padding:0 8px}.inline-edit select{min-width:96px;max-width:260px;min-height:32px;border:1px solid #d7e0ec;border-radius:7px;padding:0 28px 0 8px;background-color:#fff;color:#182033}.config-inline-edit select{width:auto}.assign-body{padding:16px;display:grid;gap:14px}.assign-body>input{max-width:220px;min-height:38px;border:1px solid #d7e0ec;border-radius:7px;padding:0 10px}.role-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.role-checks label{display:flex;align-items:center;gap:8px;color:#536175;font-size:13px}.ok-text{color:#188451;font-size:13px}.alert{border:1px solid #ffd0d0;background:#fff5f5;color:#b83030;border-radius:8px;padding:12px 14px}.success-box{border:1px solid #bfe8cf;background:#f0fbf5;color:#188451;border-radius:8px;padding:10px 12px;font-size:13px}.toast{position:fixed;z-index:1000;top:18px;left:50%;transform:translate(-50%);min-height:42px;min-width:180px;padding:10px 16px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 16px 36px #0f172a29;font-weight:700;font-size:13px}.toast.success{border:1px solid #bfe8cf;background:#f0fbf5;color:#188451}.profile-panel{overflow:visible}.profile-body{padding:16px;display:grid;gap:16px}.profile-info-table{display:grid;gap:10px;margin-top:8px}.profile-info-tables{display:grid;gap:10px}.profile-info-wrap table{min-width:0}.profile-info-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-info-head .subhead{margin:0}.profile-referrals{display:grid;gap:14px;margin-top:14px}.profile-referrals .subhead{margin:0}.profile-tab-table{display:grid;gap:8px}.profile-trades{display:grid;gap:8px;margin-top:14px}.profile-tabs{margin-top:8px}.profile-payments{display:grid;gap:14px;margin-top:14px}.payment-summary-grid,.referral-summary-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}.payment-breakdown,.referral-levels{display:grid;gap:8px}.profile-trades .subhead{margin:0}.profile-trade-stats{display:grid;gap:12px;margin-top:10px}.trade-stats-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.trade-stats-filters>input,.trade-stats-filters>select{min-height:40px;border:1px solid #dfe7f2;border-radius:8px;background:#f8fafc;color:#334155;padding:0 12px;outline:none}.trade-stats-filters>input{width:180px}.trade-stats-filters>input:hover,.trade-stats-filters>select:hover,.trade-stats-filters>input:focus,.trade-stats-filters>select:focus{background:#fff;border-color:#c8d5e6}.trade-stats-metrics{grid-template-columns:repeat(6,minmax(150px,1fr))}.trade-stats-secondary{margin-top:-2px}.trade-stats-extremes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.extreme-box{min-height:82px;border:1px solid #e3e8f0;border-radius:8px;background:#fbfcfe;padding:14px;display:grid;gap:7px}.extreme-box span{color:#6d7a8e;font-size:13px}.extreme-box strong{font-size:20px}.extreme-box small{color:#647186}.trade-stats-tables{display:grid;gap:12px}.profile-package-select,.package-select{min-width:128px;max-width:100%}.status-select{min-width:128px}.profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-metrics{grid-template-columns:repeat(5,minmax(150px,1fr))}.trade-extreme{display:inline-flex;align-items:baseline;gap:6px}.trade-extreme small{color:#7a8798}.detail-item{min-height:72px;border:1px solid #edf1f6;border-radius:8px;padding:10px;display:grid;align-content:start;gap:7px;background:#fbfcfe}.detail-item span{color:#7a8798;font-size:12px}.detail-item strong{color:#182033;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.profile-edit,.notice-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px}.profile-edit label,.notice-form label,.combo-field{display:grid;gap:6px;color:#617086;font-size:12px}.profile-edit input,.profile-edit select,.notice-form input,.notice-form select,.notice-form textarea,.combo input{width:100%;min-height:36px;border:1px solid #d7e0ec;border-radius:7px;padding:0 10px;outline:none;background:#fff}.package-edit{grid-template-columns:minmax(220px,320px)}.readonly-input{background:#f8fafc!important;color:#647186}.combo-field,.combo{position:relative}.combo input{padding-right:30px}.combo.open input,.combo input:focus{border-color:#2f62d6;box-shadow:0 0 0 3px #dbe7ff}.combo-menu{position:absolute;z-index:60;top:calc(100% + 6px);left:0;right:0;max-height:240px;overflow-y:auto;border:1px solid #d7e0ec;border-radius:8px;background:#fff;box-shadow:0 14px 32px #0f172a24;padding:4px}.combo-option{width:100%;min-height:34px;border:0;border-radius:6px;background:transparent;color:#334155;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;text-align:left}.combo-option:hover,.combo-option.selected{background:#eef4ff;color:#2459cf}.combo-option small{color:#8b97a8;white-space:nowrap}.combo-option.empty-option{color:#8b97a8;cursor:default;justify-content:flex-start}.notice-form textarea{grid-column:span 2;min-height:72px;padding:9px 10px;resize:vertical}.subhead{margin:2px 0 10px;font-size:14px}.mini-table-wrap{overflow-x:auto;border:1px solid #edf1f6;border-radius:8px;padding-bottom:16px;scrollbar-width:auto;scrollbar-color:#8795a8 #edf2f7}.mini-table{min-width:620px}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef3fa}.login-panel{width:min(420px,100%);background:#fff;border:1px solid #dfe6f0;border-radius:8px;padding:28px;display:grid;gap:16px}.login-panel h1{margin:0;font-size:24px}.login-panel label{display:grid;gap:8px;color:#536175;font-size:13px}.login-panel input{min-height:42px;border:1px solid #d7e0ec;border-radius:7px;padding:0 12px;outline:none}.login-panel input:focus{border-color:#2f62d6;box-shadow:0 0 0 3px #dbe7ff}.boot{min-height:100vh;display:grid;place-items:center;align-content:center;gap:18px}.spin{animation:spin 1s linear infinite;color:#2f62d6}.skeleton{min-height:104px;background:linear-gradient(90deg,#fff,#edf2f8,#fff);background-size:200% 100%;animation:shimmer 1.2s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(max-width:1180px){.metric-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}.panel-grid,.role-grid{grid-template-columns:1fr 1fr}.profile-grid,.profile-edit,.notice-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;transform:translate(-100%);transition:transform .18s ease;width:min(280px,86vw);box-shadow:0 16px 42px #0f172a29}.sidebar.open{transform:translate(0)}.mobile-only{display:inline-flex}.main{padding:0 14px 24px}.topbar{height:auto;min-height:66px;padding:10px 0}.profile{display:none}.metric-grid,.panel-grid,.role-grid,.role-checks,.mini-grid{grid-template-columns:1fr}.toolbar,.table-controls{align-items:stretch}.filter-group,.table-search,.date-filters,.pagination{width:100%}.date-filters select,.date-picker{flex:1 1 150px}.date-chip{width:100%}.date-popover{width:min(292px,calc(100vw - 40px))}.pagination{margin-left:0;justify-content:space-between;flex-wrap:wrap;white-space:normal}.refresh-status{width:100%;flex-wrap:wrap;white-space:normal}.segmented{width:100%;overflow-x:auto}.segmented button{flex:1 0 auto}.searchbar{max-width:none}.profile-grid,.profile-edit,.notice-form{grid-template-columns:1fr}.notice-form textarea{grid-column:auto}}
