:root{--bg:#101211;--panel:#1b1e1b;--panel2:#151815;--line:#30352f;--text:#e8ebe5;--muted:#8d9689;--lime:#c9e88d;--red:#f18d85;--redbg:#382422;--green:#b3dc86;--greenbg:#273320;--amber:#dac28a;--radius:8px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-size:13px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--lime)}button{cursor:pointer;border:1px solid var(--line);color:var(--text);background:var(--panel);border-radius:6px;min-height:32px;padding:6px 11px;white-space:nowrap}button:hover{border-color:#697561;background:#252a24}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--lime);border-color:var(--lime);color:#17200f;font-weight:650}button.primary:hover{background:#daf3ab}button.subtle{background:transparent}button.danger{color:var(--red);border-color:#68413c;background:#28201e}.icon-btn{width:30px;min-height:30px;padding:5px;display:inline-flex;align-items:center;justify-content:center}.icon{height:15px;width:15px;display:block;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mono{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:12px}.muted{color:var(--muted)}.tiny{font-size:11px}.label{color:var(--muted);font-size:10px;letter-spacing:.11em;text-transform:uppercase;font-weight:600}.boot{padding:100px 60px;color:var(--muted)}.brand{font-weight:780;font-size:20px;letter-spacing:.045em;color:var(--text)}.brand-dot{color:var(--lime);padding-left:6px}.topbar{height:62px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;padding:0 24px;background:var(--bg);position:sticky;top:0;z-index:20}.topbar-title{font-size:14px;color:var(--muted)}.topbar-divider{color:#454d41;font-size:22px;font-weight:200}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:12px}.mode-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #454632;color:#d5d0a3;background:#27291d;border-radius:4px;font-size:10px;letter-spacing:.08em;padding:5px 7px;font-weight:600;text-transform:uppercase}.mode-badge.live{color:var(--green);border-color:#435b35;background:#23301d}.workspace{display:grid;grid-template-columns:164px minmax(0,1fr);min-height:calc(100vh - 62px)}.sidenav{padding:25px 12px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:5px;background:#121512}.nav-item{display:flex;align-items:center;gap:9px;border-color:transparent;padding:10px 12px;min-height:40px;text-align:left;background:transparent;color:var(--muted);font-size:12px}.nav-item.active{color:var(--lime);background:#242c1d;border-color:#354129}.nav-label{padding:0 12px 10px;font-size:10px;color:#677360;letter-spacing:.13em}.nav-foot{margin-top:auto;padding:30px 12px 18px;line-height:1.6;font-size:11px;color:#6c7766}.main{padding:25px 28px 95px;min-width:0}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:24px}.page-title h1{font-size:24px;letter-spacing:-.6px;margin:0 0 7px;font-weight:590}.page-title p{margin:0;color:var(--muted);font-size:12px}.actions{display:flex;gap:7px;align-items:center}.summary{display:flex;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel2);margin-bottom:24px;overflow:hidden}.stat{flex:1;padding:15px 19px;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat strong{font-size:25px;font-weight:550;display:block;letter-spacing:-.7px;margin-top:5px}.stat.green strong{color:var(--lime)}.stat.red strong{color:var(--red)}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.search{position:relative;flex:1;min-width:190px;max-width:400px}.search .icon{position:absolute;left:11px;top:10px;color:var(--muted)}.search input{padding-left:35px;width:100%;height:36px}.input,input[type=text],input[type=password],input[type=datetime-local],textarea,select{background:#131612;border:1px solid var(--line);color:var(--text);border-radius:6px;padding:9px 10px;min-width:0}input::placeholder,textarea::placeholder{color:#66725f}input:focus,textarea:focus,select:focus{border-color:#7d925f;outline:1px solid #7d925f}.filter-tabs{display:flex;gap:3px;padding:3px;background:#171a16;border:1px solid var(--line);border-radius:7px}.filter-tabs button{border:0;min-height:28px;padding:5px 9px;font-size:11px;color:var(--muted);background:transparent}.filter-tabs button.active{background:#333c2a;color:var(--lime)}.table-wrap{border:1px solid var(--line);border-radius:var(--radius);overflow:auto;background:var(--panel2)}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#8e9987;font-weight:600;padding:13px 12px;border-bottom:1px solid var(--line);background:#1b2019;white-space:nowrap}td{padding:13px 12px;border-bottom:1px solid #272d24;font-size:12px;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#20261b}tbody tr.selected{background:#242d1d}tbody tr.row-degraded{background:#241b19}tbody tr.row-degraded:hover{background:#30201d}.account-table{min-width:960px}.account-table td:nth-child(2){min-width:210px;max-width:275px}.account-email{font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-subline{font-size:10px;color:var(--muted);margin-top:5px;display:flex;gap:7px;align-items:center}.check-cell{width:34px;padding-left:14px;padding-right:0}input[type=checkbox]{accent-color:var(--lime);width:14px;height:14px;margin:0;vertical-align:middle;cursor:pointer}.status{display:inline-flex;align-items:center;gap:5px;font-size:11px;border:1px solid transparent;border-radius:4px;padding:4px 6px;color:var(--muted);white-space:nowrap}.status.green{background:var(--greenbg);color:var(--green);border-color:#38482f}.status.red{background:var(--redbg);color:var(--red);border-color:#533430}.status.amber{background:#302b1e;color:var(--amber);border-color:#46402d}.status-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.slots-mini{display:flex;gap:3px}.slot-mini{border-radius:4px;padding:0;width:22px;min-height:26px;font-size:10px;color:#a1ac98;background:#22281e;border-color:#394131}.slot-mini.saved{color:var(--lime);border-color:#506a3b;background:#2a3820}.slot-mini.degraded{color:#edaa9e;border-color:#643f37;background:#39251f}.slot-mini.main-slot{margin-right:3px;min-width:25px}.slot-mini.pending{box-shadow:inset 0 -2px var(--amber)}.open-btn{font-size:11px;color:var(--lime);border-color:#455535;padding:5px 8px;min-height:28px}.table-caption{display:flex;justify-content:space-between;padding:12px 2px;color:#6e7b65;font-size:11px}.legend{display:flex;gap:13px}.legend span{display:inline-flex;gap:5px;align-items:center}.legend i{height:6px;width:6px;display:block;background:#70825d;border-radius:2px}.legend .filled{background:var(--lime)}.legend .bad{background:var(--red)}.selected-bar{display:flex;align-items:center;gap:12px;padding:11px 14px;margin-bottom:12px;background:#232b1c;border:1px solid #415333;border-radius:7px;font-size:12px}.selected-bar strong{color:var(--lime)}.selected-bar .actions{margin-left:auto}.empty{padding:45px 20px;text-align:center;color:var(--muted);line-height:1.7}.empty strong{display:block;font-weight:500;font-size:16px;color:var(--text);margin-bottom:5px}.drawer{position:fixed;right:0;top:62px;bottom:0;width:510px;max-width:100%;border-left:1px solid #424b38;background:var(--panel);box-shadow:-18px 0 50px #0007;z-index:40;display:flex;flex-direction:column}.drawer-head{padding:17px 20px 15px;border-bottom:1px solid var(--line);background:#20261c}.drawer-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.drawer-top .label{color:var(--lime)}.drawer-email{font-size:16px;letter-spacing:-.3px;font-weight:600;margin:0 0 7px;overflow-wrap:anywhere}.drawer-account-meta{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:11px}.account-switch{position:relative;flex:1}.switcher-panel{margin-top:12px;border-top:1px solid #3b4731;padding-top:12px}.switcher-panel input{width:100%}.switcher-list{max-height:180px;overflow:auto;margin-top:6px;display:grid;gap:3px}.switcher-list button{font-size:12px;text-align:left;border:0;background:#1a2016;overflow:hidden;text-overflow:ellipsis}.switcher-list button.current{color:var(--lime)}.drawer-scroll{overflow:auto;flex:1;padding:18px 20px 22px}.slot-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-bottom:18px}.slot-tab{font-size:11px;padding:7px 4px;min-height:32px;background:#141912;color:#96a38b;border:1px solid #333e2c}.slot-tab.active{border-color:var(--lime);background:#354525;color:var(--lime)}.slot-tab.saved:before,.slot-tab.degraded:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:4px;background:var(--lime);vertical-align:1px}.slot-tab.degraded:before{background:var(--red)}.slot-tab.pending:after{content:" ·";color:var(--amber)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px}.section-heading h2{margin:0;font-size:14px;font-weight:570;letter-spacing:-.1px}.section-heading .small-action{font-size:11px;color:var(--lime);background:none;border:0;min-height:25px;padding:3px 0}.credential{margin-bottom:14px}.credential label,.field label{display:block;color:#a7b29e;font-size:11px;margin-bottom:6px}.credential-row{display:flex;gap:5px}.credential-row input{width:100%;flex:1;height:35px;font-family:"SFMono-Regular",Consolas,monospace;font-size:12px}.credential-row .icon-btn{min-height:35px;width:33px}.clear-secret{min-height:20px;border:0;background:none;color:#6e7c64;font-size:10px;padding:3px 0}.clear-secret:hover{color:var(--red);background:none}.section-rule{border:0;border-top:1px solid var(--line);margin:19px 0}.broker-combo{position:relative}.broker-current{display:flex;gap:8px;align-items:center;padding:10px 11px;border:1px solid #4a593b;border-radius:6px;background:#232c1b;margin-bottom:8px}.broker-current .broker-name{font-size:12px;flex:1}.broker-current .broker-id{color:var(--lime);font-size:12px}.broker-combo input{width:100%}.broker-results{max-height:190px;overflow:auto;border:1px solid var(--line);background:#131711;border-radius:6px;margin-top:5px;padding:3px}.broker-option{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;gap:10px;min-height:37px;border:0;background:transparent;font-size:12px}.broker-option small{font-size:10px;color:var(--muted)}.broker-option:hover{background:#2a3520}.broker-help{font-size:10px;color:#78876c;margin-top:6px}.degrade-control{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#171c15;border:1px solid var(--line);padding:11px;border-radius:7px;margin-top:17px}.degrade-control.is-degraded{background:#2a1e1b;border-color:#5c3a31}.degrade-control strong{font-size:11px;font-weight:550;display:block;margin-bottom:5px}.degrade-control span{font-size:10px;color:var(--muted)}.degrade-control button{font-size:11px}.metadata-toggle{display:flex;justify-content:space-between;width:100%;background:transparent;border:0;padding:0;min-height:22px;text-align:left;font-size:13px;font-weight:550}.metadata-toggle small{font-size:10px;color:var(--muted);font-weight:400}.metadata-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.field input,.field select,.field textarea{width:100%;font-size:12px}.field.full{grid-column:1/-1}.field textarea{height:65px;resize:vertical}.readonly{color:#798571!important;background:#181d15!important}.drawer-foot{border-top:1px solid var(--line);padding:13px 20px;background:#191e16;display:flex;align-items:center;gap:8px}.drawer-foot .save-state{font-size:10px;line-height:1.6;color:var(--muted);flex:1}.drawer-foot button{font-size:12px}.savebar{position:fixed;bottom:18px;left:190px;right:26px;background:#d4ecac;color:#243517;border:1px solid #a2bf7c;box-shadow:0 8px 30px #0005;border-radius:9px;z-index:30;display:flex;align-items:center;gap:16px;padding:12px 16px}.savebar strong{font-size:12px;font-weight:650;display:block}.savebar small{font-size:10px;display:block;margin-top:4px;color:#58743a}.savebar .actions{margin-left:auto}.savebar button{background:transparent;border-color:#a4ba86;color:#2c431a;font-size:12px}.savebar button.primary{background:#26391b;border-color:#26391b;color:#deefc7}.savebar.with-drawer{right:528px;min-width:320px}.savebar.with-drawer .save-detail{display:none}.overlay{position:fixed;inset:0;background:#0009;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:var(--panel);border:1px solid #47513f;border-radius:11px;width:660px;max-width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 28px 100px #0007}.modal.wide{width:890px}.modal-head{padding:20px 23px;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px;letter-spacing:-.4px;margin:0 0 6px;font-weight:550}.modal-head p{font-size:11px;color:var(--muted);margin:0;line-height:1.5}.modal-body{padding:21px 23px;overflow:auto}.modal-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 23px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.modal-grid .full{grid-column:1/-1}.bulk-slot-grid{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 13px}.bulk-slot-grid button{font-size:11px;min-height:29px;padding:5px 9px}.bulk-slot-grid button.active{background:#354525;border-color:#7c945d;color:var(--lime)}.bulk-heading{font-size:12px;font-weight:550;margin:0 0 13px}.callout{background:#252d1e;border:1px solid #3e4c31;color:#b4c2a4;border-radius:6px;padding:11px 13px;font-size:11px;line-height:1.6}.callout.warning{background:#30251c;color:#d7b798;border-color:#5b4530}.callout.error{background:#30201e;color:#eeafa1;border-color:#624038}.callout p{margin:3px 0}.tsv-input{width:100%;height:140px;resize:vertical;tab-size:4;font-family:monospace;font-size:12px;margin:12px 0 9px}.preview-table{margin-top:15px;max-height:270px;overflow:auto;border:1px solid var(--line);border-radius:6px}.preview-table th{position:sticky;top:0}.preview-table td{font-size:11px;padding:10px}.preview-table th{font-size:9px;padding:10px}.preview-error{color:var(--red);font-size:11px;padding:8px 0;line-height:1.6}.broker-catalog{min-width:560px}.broker-catalog td{padding:16px 15px}.broker-catalog .catalog-id{display:flex;align-items:center;gap:10px;color:var(--lime)}.catalog-head{font-weight:550}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,15px);padding:12px 18px;background:#d6ecc0;color:#253619;font-size:12px;border-radius:7px;z-index:100;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;box-shadow:0 8px 30px #0006;max-width:min(600px,90vw)}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#efb3a6;color:#451e15}.inline-error{margin:12px 0;background:#30201e;border:1px solid #634137;border-radius:6px;color:#e9aa9b;font-size:11px;padding:12px;line-height:1.6}.spacer{flex:1}.hide{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.drawer{width:540px}.savebar.with-drawer{right:560px}.main{padding:30px 34px 95px}.account-table{min-width:1040px}.slot-mini{width:26px}}@media(max-width:1100px){.workspace{grid-template-columns:126px minmax(0,1fr)}.sidenav{padding-left:7px;padding-right:7px}.nav-item{padding:10px 7px;font-size:11px;gap:6px}.nav-label{padding-left:8px}.main{padding:22px 18px 95px}.savebar{left:144px;right:18px}.savebar.with-drawer{left:18px;right:528px}.filter-tabs{order:3}.toolbar .search{max-width:none}.topbar{padding:0 18px}.topbar-right .tiny{display:none}}@media(max-width:760px){.topbar{height:54px;padding:0 15px;gap:10px}.brand{font-size:18px}.topbar-title{font-size:12px}.mode-badge{font-size:8px}.workspace{display:block}.sidenav{flex-direction:row;padding:8px 12px;border-right:0;border-bottom:1px solid var(--line)}.nav-label,.nav-foot{display:none}.nav-item{min-height:34px;padding:8px 10px}.main{padding:20px 13px 95px}.page-title{margin-bottom:18px;flex-wrap:wrap}.page-title h1{font-size:22px}.page-title .actions{width:100%}.summary{margin-bottom:17px}.stat{padding:12px 11px}.stat strong{font-size:22px}.stat .label{font-size:8px;letter-spacing:.06em}.table-caption{gap:10px;flex-wrap:wrap}.drawer{top:54px;width:100%;border-left:0}.drawer-head{padding:14px 16px}.drawer-scroll{padding:17px 16px}.drawer-foot{padding:12px 16px}.savebar{left:12px;right:12px;bottom:12px;gap:10px;padding:10px 12px}.savebar.with-drawer{display:none}.savebar .save-detail{display:none}.savebar button{padding:7px;font-size:11px}.overlay{padding:10px}.modal{max-height:96vh}.modal-grid{grid-template-columns:1fr}.modal-head,.modal-body{padding:17px}.modal-foot{padding:13px 17px}.selected-bar{flex-wrap:wrap}.selected-bar .actions{margin-left:0}.filter-tabs{width:100%;overflow:auto}.filter-tabs button{flex:1}.modal-grid .full{grid-column:auto}.topbar-right{gap:5px}.legend{gap:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.email-link{border:0;border-radius:2px;background:transparent;padding:0;min-height:0;max-width:100%;text-align:left;font-size:12px;white-space:nowrap}.email-link:hover{color:var(--lime);background:transparent;text-decoration:underline}
.filter-option{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 15px;font-size:11px;color:var(--muted)}.filter-option label{display:inline-flex;align-items:center;gap:8px;color:#b2bdaa}.filter-option input{margin:0}.row-status{max-width:196px;font-size:10px;padding:6px 7px;background:#181d15}.row-status.is-degraded{color:var(--red);border-color:#684439;background:#32221d}.account-full-control{border:1px solid var(--line);border-radius:7px;padding:12px;background:#171c15}.account-full-control.is-degraded{border-color:#69463b;background:#2f211d}.account-full-control label{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:550}.account-full-control p{margin:9px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.record-table{min-width:1020px}.record-table td{vertical-align:top;line-height:1.5}.record-table .email-column{min-width:205px}.record-table .notes-column{min-width:170px;max-width:260px}.cell-actions{display:flex;gap:5px}.cell-wrap{max-width:250px;overflow-wrap:anywhere}.exchange-pills{display:flex;flex-wrap:wrap;gap:4px;min-width:160px}.exchange-pill{font-size:10px;border:1px solid #455c33;border-radius:4px;background:#26341e;color:#c3daab;padding:3px 5px}.exchange-select{display:flex;flex-wrap:wrap;gap:12px 20px;padding:12px;border:1px solid var(--line);border-radius:6px;background:#131711}.exchange-select label{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;color:var(--text)}.record-info{padding:12px 14px;background:#171d14;border:1px solid #34402b;border-radius:7px;font-size:11px;line-height:1.6;color:#a3b297}.record-info strong{color:var(--lime);font-weight:550}.record-modal .modal-body{padding-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{width:100%}.form-grid textarea{min-height:75px}.form-error{font-size:12px;color:var(--red);background:#2f211c;border:1px solid #583e32;padding:10px;border-radius:6px;line-height:1.5}.address-check{background:#192016;border:1px solid #3b4b30;border-radius:8px;padding:16px 18px;margin-bottom:20px;display:flex;align-items:flex-end;gap:12px}.address-check .field{flex:1}.address-check .field label{color:#a6b998;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.address-check input{font-family:monospace;font-size:12px;width:100%;height:36px}.address-check .check-result{min-width:124px;padding:10px 13px;border-radius:6px;border:1px solid var(--line);font-size:12px;text-align:center;white-space:nowrap}.check-result.clear{color:var(--lime);background:#2b381f;border-color:#486337}.check-result.one{color:var(--amber);background:#39301e;border-color:#655431}.check-result.many{color:var(--red);background:#3b251f;border-color:#6e473a}.address-cell{display:flex;gap:9px;align-items:flex-start;min-width:280px;max-width:475px}.address-cell .mono{overflow-wrap:anywhere;line-height:1.65;flex:1}.address-cell button{flex-shrink:0}.record-table tr.duplicate-row{background:#33221e}.record-table tr.duplicate-row:hover{background:#402820}.record-table tr.matched-row,.record-table tr.matched-row:hover{background:#2b3c23}.record-table tr.matched-row .address-cell{color:var(--lime)}.list-count{font-size:11px;color:var(--muted);margin-left:auto}.record-empty{padding:55px 20px;text-align:center;border:1px dashed #35422c;border-radius:9px;background:#151a12}.record-empty h2{font-size:19px;font-weight:500;margin:0 0 9px}.record-empty p{color:var(--muted);font-size:12px;margin:0 0 20px;line-height:1.7}.schedule-table{min-width:900px}.schedule-title{display:block;font-weight:600;margin-bottom:4px}.schedule-date{white-space:nowrap}.schedule-date strong{display:block;font-size:12px;font-weight:500;margin-bottom:4px}.schedule-date span{color:var(--muted);font-size:11px}.schedule-row-done{opacity:.66}.schedule-row-cancelled{opacity:.45}.pill-outline{font-size:10px;border:1px solid var(--line);padding:3px 6px;border-radius:4px;color:var(--muted)}.confirm-record{padding:14px;border:1px solid #5b4034;border-radius:6px;background:#2b211a;color:#d4b59b;line-height:1.65;font-size:12px;overflow-wrap:anywhere}.mobile-list-note{display:none}.standalone-status{display:inline-flex;gap:6px;align-items:center}.account-table{min-width:1130px}
@media(max-width:760px){.sidenav{overflow-x:auto;flex-wrap:nowrap}.nav-item{flex-shrink:0}.nav-foot{display:none}.filter-option{align-items:flex-start;flex-direction:column;gap:7px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.address-check{padding:13px;flex-wrap:wrap;align-items:center}.address-check .field{flex-basis:100%}.address-check .check-result{flex:1}.mobile-list-note{display:block;font-size:10px;color:var(--muted);margin:8px 0}}
.archive-toggle{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-left:auto}.archived-row{opacity:.55}.exchange-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#101510}.auth-card{width:390px;max-width:100%;border:1px solid #34422c;border-radius:12px;padding:30px;background:#1b2118;box-shadow:0 25px 80px #0004}.auth-card h1{font-size:23px;font-weight:550;letter-spacing:-.5px;margin:0 0 12px}.auth-card p{font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 22px}.auth-card .field{margin-bottom:15px}.auth-card .field input{height:42px;width:100%}.auth-card button[type=submit]{width:100%;margin-top:8px;height:39px}.auth-foot{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);color:#697960;font-size:10px;line-height:1.7}.import-pending{background:#352e1e!important;color:var(--amber)!important;border-color:#645631!important}.small-note{font-size:11px;line-height:1.6;color:var(--muted)}
@media(max-width:760px){.exchange-edit-grid{grid-template-columns:1fr 1fr}.archive-toggle{margin-left:0}.auth-card{padding:24px}.page-title .actions{flex-wrap:wrap}}
.account-table th:first-child,.account-table td:first-child{position:sticky;left:0;z-index:2;background:#151815}.account-table th:nth-child(2),.account-table td:nth-child(2){position:sticky;left:34px;z-index:2;background:#151815;border-right:1px solid #30382a}.account-table th:first-child,.account-table th:nth-child(2){z-index:3;background:#1b2019}.account-table tr:hover td:first-child,.account-table tr:hover td:nth-child(2){background:#20261b}.account-table tr.selected td:first-child,.account-table tr.selected td:nth-child(2){background:#242d1d}.account-table tr.row-degraded td:first-child,.account-table tr.row-degraded td:nth-child(2){background:#241b19}.account-table tr.row-degraded:hover td:first-child,.account-table tr.row-degraded:hover td:nth-child(2){background:#30201d}

/* Inline sheet editing. Existing dashboard styles above remain unchanged. */
.sheet-table{
  --sheet-row-odd:#191d19;
  --sheet-row-even:#1e231d;
  --sheet-grid:#2b3329;
  --sheet-focus:#d9f4a5;
  border-collapse:separate;
  border-spacing:0;
}
.sheet-table th{
  height:39px;
  padding:10px;
  background:#151b14;
  color:#b9c6b1;
  border-bottom:1px solid #3b4535;
  border-right:1px solid var(--sheet-grid);
}
.sheet-table th:last-child{border-right:0}
.sheet-table tbody tr{--sheet-zebra:var(--sheet-row-odd)}
.sheet-table tbody tr:nth-child(even){--sheet-zebra:var(--sheet-row-even)}
.sheet-table tbody tr>td{
  --sheet-row-background:var(--sheet-status-background,var(--row-color,var(--sheet-zebra)));
  background:var(--sheet-row-background);
  color:var(--sheet-status-foreground,var(--row-foreground,var(--row-ink,var(--text))));
  border-bottom:1px solid var(--sheet-grid);
  border-right:1px solid var(--sheet-grid);
  vertical-align:middle;
}
.sheet-table tbody tr>td:last-child{border-right:0}
.sheet-table tbody tr:hover>td{
  background:var(--sheet-row-background);
  background:color-mix(in srgb,var(--sheet-row-background) 97%,white 3%);
}
.sheet-table .sheet-cell{
  position:relative;
  height:39px;
  padding:0;
  min-width:98px;
  max-width:360px;
}
.sheet-cell button:not(.icon-btn),.sheet-cell .sheet-cell-button{
  display:flex;
  align-items:center;
  gap:6px;
  width:100%;
  min-height:38px;
  margin:0;
  padding:6px 9px;
  border:1px solid transparent;
  border-radius:0;
  background:transparent;
  color:inherit;
  text-align:left;
  font-size:12px;
  font-weight:450;
  white-space:normal;
  overflow-wrap:anywhere;
}
.sheet-cell button:not(.icon-btn):hover{
  background:rgba(255,255,255,.045);
  border-color:rgba(201,232,141,.25);
}
.sheet-cell button:not(.icon-btn):focus-visible,
.sheet-cell .sheet-cell-button[aria-selected=true],
.sheet-cell:focus-visible{
  outline:2px solid var(--sheet-focus,#d9f4a5);
  outline-offset:-2px;
  box-shadow:inset 0 0 0 3px #11170e;
}
.sheet-cell .sheet-cell-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sheet-cell .sheet-cell-placeholder,.sheet-cell .sheet-empty{color:#7f8f76;font-size:11px}
.sheet-cell button:disabled{cursor:default;opacity:.65}
.sheet-cell .sheet-cell-button .icon{flex-shrink:0}
.sheet-cell .sheet-cell-button .sheet-edit-icon{margin-left:auto;color:#a1b28e;opacity:0}
.sheet-cell:hover .sheet-edit-icon,.sheet-cell:focus-within .sheet-edit-icon{opacity:1}

.sheet-chip{
  --chip-background:#252b23;
  --chip-foreground:#b8c3b0;
  --chip-border:#3b4534;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:46px;
  max-width:100%;
  min-height:21px;
  padding:2px 6px;
  border:1px solid var(--chip-border);
  border-radius:4px;
  background:var(--chip-background);
  color:var(--chip-foreground);
  font-size:12px;
  line-height:1.25;
  font-weight:550;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sheet-chip.tone-neutral,.sheet-picker-option.tone-neutral{--chip-background:#252b23;--chip-foreground:#b8c3b0;--chip-border:#3b4534}
.sheet-chip.tone-teal,.sheet-picker-option.tone-teal{--chip-background:#1e322d;--chip-foreground:#82c9b7;--chip-border:#33534a}
.sheet-chip.tone-orange,.sheet-picker-option.tone-orange{--chip-background:#332b1e;--chip-foreground:#dcb576;--chip-border:#51442c}
.sheet-chip.tone-blue,.sheet-picker-option.tone-blue{--chip-background:#202d37;--chip-foreground:#8cbde0;--chip-border:#344d60}
.sheet-chip.tone-purple,.sheet-picker-option.tone-purple{--chip-background:#2c2636;--chip-foreground:#b9a4d5;--chip-border:#493c5c}
.sheet-chip.tone-green,.sheet-picker-option.tone-green{--chip-background:#26331f;--chip-foreground:#add385;--chip-border:#405331}
.sheet-chip.tone-yellow,.sheet-picker-option.tone-yellow{--chip-background:#332f1e;--chip-foreground:#d4c080;--chip-border:#514a2d}
.sheet-chip.tone-red,.sheet-picker-option.tone-red{--chip-background:#382521;--chip-foreground:#e9a298;--chip-border:#5a3a33}
.sheet-chip-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sheet-chip-dropdown::after{content:"";flex:0 0 auto;border:4px solid transparent;border-top-color:currentColor;transform:translateY(2px);opacity:.8}
.sheet-cell .sheet-chip{flex:0 1 auto}
.sheet-chip-group{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.sheet-chip-group .sheet-chip{flex:0 1 auto}

.sheet-editor{position:relative;min-width:100%;padding:3px;z-index:1}
.sheet-editor input,.sheet-editor select,.sheet-editor textarea,
.sheet-cell input.sheet-editor,.sheet-cell select.sheet-editor,.sheet-cell textarea.sheet-editor{
  width:100%;
  min-width:80px;
  max-width:100%;
  min-height:32px;
  padding:6px 8px;
  border:1px solid #8aa56d;
  border-radius:3px;
  background:#11180e;
  color:#f0f6e9;
  font-size:12px;
  line-height:1.5;
  box-shadow:none;
}
.sheet-editor textarea,.sheet-cell textarea.sheet-editor{min-height:66px;resize:vertical;white-space:pre-wrap}
.sheet-editor select option{background:#182013;color:#f0f6e9}
.sheet-editor input:focus,.sheet-editor select:focus,.sheet-editor textarea:focus,
.sheet-cell input.sheet-editor:focus,.sheet-cell select.sheet-editor:focus,.sheet-cell textarea.sheet-editor:focus{
  border-color:var(--sheet-focus,#d9f4a5);
  outline:2px solid var(--sheet-focus,#d9f4a5);
  outline-offset:-2px;
  box-shadow:0 0 0 1px #11170e;
}
.sheet-editor-actions{display:flex;justify-content:flex-end;gap:4px;padding:4px 0 1px}
.sheet-cell .sheet-editor-actions button{width:auto;min-height:25px;padding:4px 8px;border-radius:3px;font-size:10px}
.sheet-editor-hint{padding:3px 4px 1px;color:#a6b49b;font-size:10px;line-height:1.4}
.sheet-table .sheet-cell-editing{z-index:5;box-shadow:inset 0 0 0 2px var(--sheet-focus)}
.sheet-table .sheet-cell-dirty{box-shadow:inset 0 -2px #d9bb71}
.sheet-table .sheet-cell-saving{box-shadow:inset 0 -2px #a3c3ee;cursor:progress}
.sheet-table .sheet-cell-saving button,.sheet-table .sheet-cell-saving input,.sheet-table .sheet-cell-saving select{cursor:progress}
.sheet-table .sheet-cell-error{box-shadow:inset 0 0 0 2px #f39b8e}
.sheet-cell-dirty::after,.sheet-cell-saving::after,.sheet-cell-error::after{
  content:"";position:absolute;right:3px;top:3px;width:5px;height:5px;border-radius:50%;pointer-events:none;z-index:6;
}
.sheet-cell-dirty::after{background:#e4c781}
.sheet-cell-saving::after{background:#b4d6ff}
.sheet-cell-error::after{background:#ffafa3}
.sheet-cell-error .sheet-editor-hint,.sheet-cell-error-message{color:#ffc0b5;font-size:10px;line-height:1.5;padding:4px 7px}
.sheet-table .sheet-cell-editing.sheet-cell-dirty,.sheet-table .sheet-cell-editing.sheet-cell-saving{box-shadow:inset 0 0 0 2px var(--sheet-focus)}
.sheet-table .sheet-cell-editing.sheet-cell-error{box-shadow:inset 0 0 0 2px #ffafa3}

/* Semantic row states intentionally override stripes and custom --row-color. */
.sheet-table tbody tr.row-in-work:not(.row-degraded){
  --sheet-status-background:#233120;
  --sheet-status-foreground:var(--text);
}
.sheet-table tbody tr.duplicate-row,.sheet-table tbody tr.row-degraded{
  --sheet-status-background:#482b27;
  --sheet-status-foreground:#f6d8d1;
}
.sheet-table tbody tr.matched-row{
  --sheet-status-background:#304b27;
  --sheet-status-foreground:#e1f2d6;
}
.sheet-table tbody tr.matched-row .address-cell{color:#e1f2d6}
/* Preserve sticky account identifiers while using the same row background. */
.sheet-table.account-table tbody tr>td:first-child,
.sheet-table.account-table tbody tr>td:nth-child(2){
  position:sticky;
  background:var(--sheet-row-background);
  color:var(--sheet-status-foreground,var(--row-foreground,var(--row-ink,var(--text))));
}
.sheet-table.account-table tbody tr>td:first-child{left:0}
.sheet-table.account-table tbody tr>td:nth-child(2){left:var(--selection-width,34px)}
.sheet-table.account-table thead th:nth-child(2){left:var(--selection-width,34px)}
.sheet-table.account-table thead th:first-child,.sheet-table.account-table thead th:nth-child(2){background:#151b14}
.sheet-table .sheet-cell[aria-readonly=true]{cursor:default}
@media(max-width:760px){
  .sheet-table .sheet-cell{min-width:105px;height:42px}
  .sheet-cell button:not(.icon-btn){min-height:41px;padding:6px 8px}
  .sheet-chip{font-size:11px;padding:3px 8px}
  .sheet-editor input,.sheet-editor select,.sheet-editor textarea{min-height:35px;font-size:13px}
}

/* Compact workspace density and always-editable spreadsheet cells. */
@media(min-width:761px){
  .topbar{height:48px;padding:0 16px;gap:11px}
  .brand{font-size:18px}
  .topbar-title{font-size:13px}
  .topbar-divider{font-size:19px}
  .workspace{grid-template-columns:136px minmax(0,1fr);min-height:calc(100vh - 48px)}
  .sidenav{padding:16px 8px;gap:3px}
  .nav-item{padding:7px 9px;min-height:33px;font-size:12px;gap:7px}
  .nav-label{padding:0 9px 7px;font-size:9px}
  .nav-foot{padding:18px 9px 10px;font-size:10px}
  .main{padding:16px 18px 76px}
  .page-title{margin-bottom:13px;gap:10px}
  .page-title h1{font-size:21px;margin-bottom:4px;letter-spacing:-.4px}
  .page-title p{font-size:11px;line-height:1.4}
  .summary{margin-bottom:13px}
  .stat{padding:9px 13px}
  .stat strong{font-size:22px;margin-top:2px}
  .stat .label{font-size:9px;letter-spacing:.08em}
  .toolbar{gap:7px;margin-bottom:9px}
  .search input{height:32px;font-size:12px}
  .search .icon{top:8px}
  .filter-tabs{padding:2px}
  .filter-tabs button{min-height:26px;padding:4px 8px}
  .selected-bar{padding:7px 10px;margin-bottom:8px}
  .table-caption{padding:8px 1px;font-size:10px}
  .drawer{top:48px;width:480px}
  .drawer-head{padding:12px 16px}
  .drawer-top{margin-bottom:10px}
  .drawer-email{font-size:15px;margin-bottom:5px}
  .drawer-scroll{padding:13px 16px 16px}
  .drawer-foot{padding:10px 16px}
  .slot-tabs{gap:4px;margin-bottom:13px}
  .slot-tab{min-height:29px;padding:5px 4px}
  .section-heading{margin-bottom:10px}
  .credential{margin-bottom:10px}
  .credential label,.field label{margin-bottom:4px}
  .section-rule{margin:14px 0}
  .metadata-grid{gap:9px;margin-top:11px}
  .savebar{left:154px;right:18px;bottom:12px;padding:9px 12px;gap:11px}
  .savebar.with-drawer{right:494px}
  .address-check{padding:10px 12px;margin-bottom:12px;gap:9px}
  .address-check input{height:32px}
  .address-check .check-result{padding:7px 10px;font-size:11px}
}
.sheet-table th{height:33px;padding:7px 6px;font-size:10px;letter-spacing:.055em}
.sheet-table td{height:36px;padding:4px 6px;font-size:13px;line-height:1.3}
.sheet-table .sheet-cell{height:36px;font-size:13px}
.sheet-cell button:not(.icon-btn),.sheet-cell .sheet-cell-button{min-height:34px;padding:4px 6px;font-size:13px;line-height:1.3}
.sheet-table .sheet-chip{min-height:22px;padding:2px 6px;font-size:12px}
.sheet-table .cell-actions{gap:3px}
.sheet-table .cell-actions button,.sheet-table .icon-btn{min-height:26px;height:26px;padding:4px}
.sheet-table .icon-btn{width:26px}
.sheet-table .cell-actions button:not(.icon-btn){padding:3px 6px;font-size:11px}
.account-table td{height:46px;padding:5px 6px;font-size:13px}
.account-table .account-email{font-size:13px;line-height:1.25}
.account-table .account-subline{font-size:10px;margin-top:3px;line-height:1.15}
.account-table .check-cell{padding-left:10px;padding-right:0}
.account-table .slot-mini{width:24px;min-height:25px;height:25px;font-size:10px}
.account-table .slots-mini{gap:3px}
.account-table .slot-mini.main-slot{min-width:25px;margin-right:2px}
.account-table .status{padding:3px 5px;font-size:11px}
.account-table .open-btn{min-height:26px;padding:3px 6px}
.account-table .full-status{min-height:27px;padding:4px 6px;font-size:11px}
.sheet-table.account-table td.sheet-cell{height:46px}
.sheet-table.account-table .sheet-cell-button{min-height:43px}
.record-table td{vertical-align:middle;line-height:1.3}
.address-cell{align-items:center;gap:5px;min-width:240px;max-width:360px}
.address-cell .mono{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;line-height:1.3;font-size:12px}
.record-table .notes-column{min-width:120px;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sheet-table .cell-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
.profile-copylink{display:inline-flex;align-items:center;gap:4px;padding:0!important;min-height:14px!important;width:auto!important;border:0!important;border-radius:2px;background:transparent!important;color:var(--muted);font-size:10px!important;line-height:1.2;font-weight:400;white-space:nowrap!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.profile-copylink:hover{color:var(--lime);text-decoration:underline}
.profile-copylink:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
.profile-copylink .icon{width:11px;height:11px;flex-shrink:0}

/* A parent cell may itself be .sheet-editor, or contain an editor wrapper. */
.sheet-table td.sheet-editor{position:relative;min-width:0;padding:3px 5px;z-index:auto}
.sheet-table td>.sheet-editor{min-width:0;width:100%;padding:0}
.sheet-table input.sheet-cell,.sheet-table select.sheet-cell,.sheet-table textarea.sheet-cell,
.sheet-table input[data-sheet-input],.sheet-table select[data-sheet-input],.sheet-table textarea[data-sheet-input]{
  display:block;
  width:100%;
  min-width:78px;
  max-width:none;
  height:29px;
  min-height:29px;
  margin:0;
  padding:4px 6px;
  border:1px solid transparent;
  border-radius:3px;
  background:transparent;
  color:inherit;
  box-shadow:none;
  font-size:13px;
  line-height:1.35;
  font-weight:400;
  text-overflow:ellipsis;
  white-space:nowrap;
  outline-offset:-1px;
  cursor:text;
}
.sheet-table select.sheet-cell,.sheet-table select[data-sheet-input]{cursor:pointer;padding-right:21px}
.sheet-table textarea.sheet-cell,.sheet-table textarea[data-sheet-input]{resize:vertical;overflow:hidden}
.sheet-table input.sheet-cell.sheet-chip,.sheet-table select.sheet-cell.sheet-chip,
.sheet-table input[data-sheet-input].sheet-chip,.sheet-table select[data-sheet-input].sheet-chip{
  height:25px;
  min-height:25px;
  padding:3px 6px;
  border-radius:4px;
  background:transparent;
  color:var(--chip-foreground);
  border-color:transparent;
  font-size:12px;
  font-weight:500;
}
.sheet-table input.sheet-cell:hover,.sheet-table select.sheet-cell:hover,.sheet-table textarea.sheet-cell:hover,
.sheet-table [data-sheet-input]:hover{border-color:#4b5940}
.sheet-table input.sheet-cell:focus,.sheet-table select.sheet-cell:focus,.sheet-table textarea.sheet-cell:focus,
.sheet-table [data-sheet-input]:focus{
  outline:2px solid var(--sheet-focus);
  outline-offset:1px;
  border-color:#11180e;
  box-shadow:0 0 0 1px #11180e;
  z-index:6;
}
.sheet-table textarea.sheet-cell:focus,.sheet-table textarea[data-sheet-input]:focus{height:auto;min-height:58px;white-space:pre-wrap;overflow:auto}
.sheet-table input.sheet-cell[readonly],.sheet-table [data-sheet-input][readonly]{cursor:default}
.sheet-table input.sheet-cell::placeholder,.sheet-table [data-sheet-input]::placeholder{color:#8c9b81;opacity:.9}
.sheet-table input.sheet-chip::placeholder{color:var(--chip-foreground);opacity:.65}
.sheet-table .sheet-cell-dirty{box-shadow:inset 0 -2px #d9bb71}
.sheet-table .sheet-cell-saving{box-shadow:inset 0 -2px #a3c3ee}
.sheet-table .sheet-cell-error{box-shadow:inset 0 0 0 2px #f39b8e}
.sheet-input-status{display:inline-flex;align-items:center;gap:4px;min-height:15px;max-width:100%;font-size:10px;line-height:1.3;color:#9eac93;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sheet-input-status.saving,.sheet-input-status[data-state=saving]{color:#b4d6ff}
.sheet-input-status.dirty,.sheet-input-status[data-state=dirty]{color:#e4c781}
.sheet-input-status.error,.sheet-input-status[data-state=error]{color:#ffafa3}
.sheet-input-status.saved,.sheet-input-status[data-state=saved]{color:var(--lime)}
.sheet-autosave{display:inline-flex;align-items:center;gap:6px;min-height:25px;font-size:11px;line-height:1.3;color:#9dac91;white-space:nowrap}
.sheet-autosave.saving,.sheet-autosave[data-state=saving]{color:#b4d6ff}
.sheet-autosave.error,.sheet-autosave[data-state=error]{color:#ffafa3}
.sheet-autosave.saved,.sheet-autosave[data-state=saved]{color:var(--lime)}
.sheet-inline-error{padding:6px 9px;margin:7px 0;border:1px solid #785047;border-radius:4px;background:#3b2520;color:#ffc0b5;font-size:11px;line-height:1.4}
.sheet-inline-error:empty,.sheet-input-status:empty{display:none}
@media(max-width:760px){
  .sheet-table input.sheet-cell,.sheet-table select.sheet-cell,.sheet-table [data-sheet-input]{min-height:32px;height:32px}
  .sheet-table input.sheet-cell.sheet-chip,.sheet-table select.sheet-cell.sheet-chip{min-height:29px;height:29px}
}

/* Dark in-page pickers keep choice lists consistent with the workspace. */
.sheet-picker{
  position:fixed;
  z-index:120;
  display:flex;
  flex-direction:column;
  width:var(--sheet-picker-width,260px);
  min-width:170px;
  max-width:calc(100vw - 16px);
  max-height:min(330px,calc(100vh - 24px));
  padding:5px;
  border:1px solid #46513d;
  border-radius:6px;
  background:#1a2018;
  color:#dbe4d3;
  box-shadow:0 10px 28px #0007,0 1px 4px #0005;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-color:#48523e #1a2018;
}
.sheet-picker[hidden]{display:none}
.sheet-picker input,.sheet-picker-search{
  flex:0 0 auto;
  width:100%;
  min-height:30px;
  margin:0 0 4px;
  padding:6px 8px;
  background:#12180f;
  border:1px solid #36422d;
  border-radius:3px;
  color:#e3eadc;
  font-size:12px;
  line-height:1.3;
}
.sheet-picker input:focus{outline:1px solid #9ab875;border-color:#9ab875;outline-offset:0}
.sheet-picker-list{min-height:0;overflow:auto;overscroll-behavior:contain}
.sheet-picker-option{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  gap:7px;
  width:100%;
  min-height:29px;
  margin:0;
  padding:5px 7px;
  border:1px solid transparent;
  border-radius:3px;
  background:transparent;
  color:#c5d0bc;
  text-align:left;
  font-size:12px;
  font-weight:450;
  line-height:1.35;
  white-space:normal;
  overflow-wrap:anywhere;
}
.sheet-picker-option:hover,.sheet-picker-option.active,
.sheet-picker-option[aria-selected=true],.sheet-picker-option[data-active=true]{background:#2a3521;border-color:#435532;color:#d6e9c1}
.sheet-picker-option:focus-visible{outline:2px solid #b5d68d;outline-offset:-2px;background:#2a3521}
.sheet-picker-option .sheet-chip{min-height:20px;padding:2px 6px;max-width:100%;font-size:11px}
.sheet-picker-option-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sheet-picker-option small{margin-left:auto;font-size:10px;color:#91a081}
.sheet-picker-option-label>span,.sheet-picker-option small.sheet-picker-detail{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sheet-picker-option small.sheet-picker-detail{margin:3px 0 0;line-height:1.4;font-weight:400}
.sheet-picker-add{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:6px;
  width:100%;
  min-height:31px;
  margin-top:4px;
  padding:6px 7px;
  border:0;
  border-top:1px solid #35422c;
  border-radius:0;
  background:transparent;
  color:#bddc93;
  text-align:left;
  font-size:12px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.sheet-picker-add:hover{background:#26321d;color:#d3edb0}
.sheet-picker-empty{padding:10px 8px;color:#93a187;font-size:12px;line-height:1.5}
.sheet-picker .tone-teal,.sheet-picker .tone-orange,.sheet-picker .tone-blue,
.sheet-picker .tone-purple,.sheet-picker .tone-green,.sheet-picker .tone-yellow,.sheet-picker .tone-red{color:var(--chip-foreground,inherit)}
/* Editable values retain transparent backgrounds; colored labels stay small. */
.sheet-table input.sheet-cell.sheet-chip:hover,.sheet-table select.sheet-cell.sheet-chip:hover{background:color-mix(in srgb,var(--chip-background) 55%,transparent);border-color:var(--chip-border)}
.sheet-table input.sheet-cell.sheet-chip:focus,.sheet-table select.sheet-cell.sheet-chip:focus{background:#151c11}
.sheet-table input[data-field=network],.sheet-table input[data-collection=withdrawals][data-field=exchange]{background:transparent;border-radius:3px;color:inherit;font-weight:400}
.sheet-table .sheet-chip.tone-neutral{--chip-border:#3b4534}

/* Column widths are supplied by the parent through colgroup and table width. */
.sheet-table:has(colgroup),.sheet-table.sheet-columns-sized{table-layout:fixed}
.sheet-table.sheet-columns-sized{width:var(--sheet-table-width,100%);min-width:0}
.sheet-table:has(colgroup) td,.sheet-table.sheet-columns-sized td{min-width:0;max-width:none;overflow:hidden}
.sheet-table:has(colgroup) .sheet-editor,.sheet-table.sheet-columns-sized .sheet-editor{min-width:0}
.sheet-table:has(colgroup) input[data-sheet-input],.sheet-table.sheet-columns-sized input[data-sheet-input]{min-width:0}
.sheet-table:has(colgroup) .address-cell,.sheet-table.sheet-columns-sized .address-cell{min-width:0;width:100%;max-width:none}
.sheet-table th{position:relative}
.sheet-table .column-resizer{
  position:absolute;
  z-index:8;
  top:0;
  right:-4px;
  bottom:0;
  display:block;
  width:9px;
  min-width:0;
  min-height:0;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  cursor:col-resize;
  touch-action:none;
  user-select:none;
}
.sheet-table .column-resizer::after{content:"";position:absolute;top:5px;bottom:5px;left:4px;width:1px;background:#46513d;opacity:.35}
.sheet-table .column-resizer:hover{background:#9ec87518}
.sheet-table .column-resizer:hover::after,.sheet-table .column-resizer:focus-visible::after{width:2px;background:#b8d98e;opacity:1}
.sheet-table .column-resizer:focus-visible{outline:1px solid #b8d98e;outline-offset:-1px}
body.column-resizing,body.column-resizing *{cursor:col-resize!important;user-select:none!important}
body.column-resizing .sheet-table .column-resizer.active::after{width:2px;background:#c9e88d;opacity:1}
@media(max-width:760px){
  .sheet-picker{max-height:min(300px,calc(100vh - 20px))}
  .sheet-picker-option{min-height:34px}
  .sheet-table .column-resizer{width:12px;right:-5px}
}

/* Reorder by header; resizing stays on the narrow boundary handle. */
.sheet-table th[data-column-move]{cursor:grab;touch-action:pan-y;user-select:none;padding-right:14px}
.sheet-table th[data-column-move]:hover{color:#c4d4b7;background:#20291b}
.sheet-table th[data-column-move]:focus-visible{outline:2px solid var(--lime);outline-offset:-3px;color:#d5e6c4}
.sheet-table th.column-dragging{color:var(--lime);background:#2c381f;box-shadow:inset 0 -2px var(--lime)}
.sheet-table th.column-drop-before{box-shadow:inset 3px 0 var(--lime)}
.sheet-table th.column-drop-after{box-shadow:inset -3px 0 var(--lime)}
body.column-reordering,body.column-reordering *{cursor:grabbing!important;user-select:none!important}
.sheet-table [data-column=comment] input.sheet-cell{font-weight:400;color:var(--text);text-overflow:ellipsis}

/* Local exchange marks decorate labels without changing values or row metrics. */
.exchange-icon{display:inline-block;width:16px;height:16px;min-width:16px;flex:0 0 16px;object-fit:contain;vertical-align:-3px}
.page-title h1.exchange-heading{display:flex;align-items:center;gap:8px}
.sheet-picker-option>.exchange-icon{align-self:center}
input.exchange-icon-input,
.sheet-table input.sheet-cell.exchange-icon-input,
.sheet-table input.sheet-cell.exchange-icon-input:hover,
.sheet-table input.sheet-cell.exchange-icon-input:focus{
  background-image:var(--exchange-icon);
  background-repeat:no-repeat;
  background-position:7px center;
  background-size:16px 16px;
  padding-left:29px;
}


/* A dedicated grip moves rows; editable cells and column handles stay independent. */
.sheet-table .row-grip{display:inline-flex;align-items:center;justify-content:center;width:18px;min-width:18px;height:24px;min-height:24px;margin:0;padding:0;border:1px solid transparent;border-radius:3px;background:transparent;color:#64735a;vertical-align:middle;cursor:grab;touch-action:none;user-select:none}
.sheet-table .row-grip svg{width:10px;height:15px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
.sheet-table .row-grip:hover{color:#c9dfb4;background:#b8d98e12;border-color:#45533a}
.sheet-table .row-grip:focus-visible{outline:2px solid var(--lime);outline-offset:-2px;color:var(--lime)}
.sheet-table .check-cell{padding-left:3px;padding-right:3px;white-space:nowrap}
.sheet-table .check-cell .row-grip{margin-right:4px}
.sheet-table td.row-grip-cell,.sheet-table th.row-grip-heading{position:sticky;left:0;z-index:3;width:28px;min-width:28px;padding:3px 5px;overflow:hidden}
.sheet-table th.row-grip-heading{z-index:6;background:#1b2118}
.sheet-table tr.row-dragging .row-grip{color:var(--lime);background:#b8d98e18}
.sheet-table tr.row-drop-before>td{box-shadow:inset 0 2px var(--lime)}
.sheet-table tr.row-drop-after>td{box-shadow:inset 0 -2px var(--lime)}
body.row-reordering,body.row-reordering *{cursor:grabbing!important;user-select:none!important}

/* Keep the KYC totals in the existing compact summary row. */
.summary.account-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.account-summary .stat{min-width:0}
.account-summary .stat .label{display:block;min-height:1.25em;line-height:1.25}
@media(max-width:1100px){
  .summary.account-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .account-summary .stat:nth-child(3n){border-right:0}
  .account-summary .stat:nth-child(n+4){border-top:1px solid var(--line)}
}
@media(max-width:640px){
  .summary.account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-summary .stat .label{min-height:2.5em}
  .account-summary .stat:nth-child(3n){border-right:1px solid var(--line)}
  .account-summary .stat:nth-child(2n){border-right:0}
  .account-summary .stat:nth-child(n+3){border-top:1px solid var(--line)}
}
