:root{color-scheme:dark;--bg:#0d1117;--panel:#161c24;--line:#2b3745;--text:#eef3f8;--muted:#95a2b3;--accent:#57a6ff;--danger:#e07171}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 system-ui,-apple-system,Segoe UI,sans-serif}.topbar{position:sticky;top:0;z-index:10;min-height:60px;padding:12px 24px;border-bottom:1px solid var(--line);background:#111720;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar strong{letter-spacing:.12em}.topbar span{margin-left:14px;color:var(--muted)}.topbar .access{font-size:12px}.topbar-tools{display:flex;align-items:center;gap:10px}.topbar-tools select{min-width:110px;padding:6px 9px}.layout{display:flex;min-height:calc(100vh - 60px)}.nav{position:sticky;top:60px;height:calc(100vh - 60px);width:224px;flex:0 0 224px;padding:18px 12px;border-right:1px solid var(--line);background:#111720;overflow:auto}.nav-item{display:block;width:100%;margin:3px 0;text-align:left;border-color:transparent;background:transparent;color:var(--muted)}.nav-item.active{background:#202b38;color:var(--text);border-color:#34506c}.content{width:min(1240px,calc(100% - 224px));padding:28px 32px}.section{display:none}.section.active{display:block}h1{margin:0 0 4px;font-size:24px}h2{font-size:16px;margin:24px 0 10px}p{margin:0}.section-note{margin:0 0 18px}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.actions,.toolbar,.dialog-actions{display:flex;gap:8px;flex-wrap:wrap}input,select,textarea,button{font:inherit;border-radius:6px;border:1px solid var(--line);background:#202a35;color:var(--text);padding:9px 12px}input,textarea{min-width:220px}textarea{min-height:90px;resize:vertical}button{cursor:pointer}button:hover{border-color:var(--accent)}button:disabled{opacity:.45;cursor:not-allowed}button.danger{border-color:#78474d;color:#ffbaba}button.secondary{color:#bbdaff}.icon{border:0;background:transparent;font-size:25px;padding:2px 8px}.muted{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.cards.compact{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin-top:16px}.card,.panel{padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.card strong{display:block;font-size:22px;margin-top:4px}.stack,.table-list{display:grid;gap:9px}.row,.table-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.row>div:first-child,.table-main{min-width:0;flex:1}.row small,.table-row small{display:block;color:var(--muted)}.table-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.tag{display:inline-block;padding:3px 7px;margin:3px 4px 0 0;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px}.tag.on{border-color:#357858;color:#8ee0b2}.toolbar{margin-bottom:16px}.toolbar input:first-child{flex:1}.pager{display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0}.log{min-height:180px;margin-top:18px;padding:14px;overflow:auto;background:#080b0f;border:1px solid var(--line);border-radius:8px;color:#b7c7d8}.backup-grid{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.notice{position:fixed;right:20px;bottom:18px;z-index:40;min-height:0;max-width:460px;padding:0;background:#1c344a;border-radius:7px;box-shadow:0 8px 30px #0008}.notice:not(:empty){padding:11px 14px}.notice.error{background:#5a282d;color:#ffd2d2}dialog{width:min(680px,calc(100% - 28px));max-height:90vh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);box-shadow:0 20px 80px #000b}dialog::backdrop{background:#05080cb8}dialog form{padding:20px}.dialog-head{display:flex;align-items:center;justify-content:space-between}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.form-grid label{display:grid;gap:5px;color:var(--muted)}.form-grid label.wide{grid-column:1/-1}.form-grid input,.form-grid textarea,.form-grid select{width:100%;min-width:0}.dialog-actions{justify-content:flex-end}.empty{padding:24px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:8px}.status-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.storefront-runtime-status{margin-top:18px}.storefront-runtime-summary{margin-top:12px}@media(max-width:760px){.topbar{padding:12px 14px}.topbar .access{display:none}.layout{display:block}.nav{position:static;width:100%;height:auto;display:flex;overflow:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px}.nav-item{white-space:nowrap;width:auto}.content{width:100%;padding:20px 14px}.section-head,.row,.table-row{align-items:stretch;flex-direction:column}.row-actions{width:100%}.form-grid{grid-template-columns:1fr}.form-grid label.wide{grid-column:auto}.status-head{align-items:stretch;flex-direction:column}}
/* Mesh management */
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.admin-grid .panel{margin:0}.panel progress{width:100%;height:1rem}.form-grid>button,.form-grid>.row-actions{align-self:end}.mesh-detail{margin:.75rem 0 0;padding:.75rem;border-radius:.6rem;background:#0b1324;max-height:22rem;overflow:auto;white-space:pre-wrap}.mesh-programs{margin-top:.65rem}.mesh-programs .table-row{padding:.55rem .75rem}.mesh-danger-note{color:#ffb4b4}.row-actions select{min-width:8rem}@media(max-width:850px){.admin-grid{grid-template-columns:1fr}.section-head>.row-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}}
.worker-job-card{display:grid;gap:.8rem;padding:1rem;margin:.65rem 0;border:1px solid #34506c;border-radius:.75rem;background:#101b2a}.worker-job-title{display:grid;gap:.2rem}.worker-job-title small{font-family:monospace}.worker-job-card progress{width:100%;height:1rem}.worker-job-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.worker-job-detail{display:grid;gap:.2rem;min-width:0}.worker-job-detail strong{overflow-wrap:anywhere}.worker-job-error{margin:0;padding:.65rem;border-left:3px solid #ff5252;background:#2d1820;color:#ffb4b4}@media(max-width:850px){.worker-job-details{grid-template-columns:1fr}.worker-job-card .status-head{align-items:flex-start}.worker-job-card .row-actions{flex-wrap:wrap}}
.worker-instance-list{display:grid;gap:.5rem;padding:.75rem;border:1px solid var(--line);border-radius:.6rem;background:#0b1324}.worker-instance-heading{margin-bottom:.1rem}.worker-instance{display:grid;grid-template-columns:minmax(150px,.6fr) minmax(220px,1.4fr) minmax(260px,1fr);gap:.75rem;padding:.5rem 0;border-top:1px solid var(--line)}.worker-instance:first-of-type{border-top:0}.worker-instance>*{min-width:0;overflow-wrap:anywhere}@media(max-width:850px){.worker-instance{grid-template-columns:1fr;gap:.2rem}}
.panel #storefront-audit-issues,.panel #storefront-incidents,#mail-messages{max-height:28rem;overflow:auto}
 .button-link{display:inline-flex;align-items:center;text-decoration:none;font:inherit;border-radius:6px;border:1px solid var(--line);background:#202a35;color:var(--text);padding:9px 12px}.button-link.secondary{color:#bbdaff}.button-link:hover{border-color:var(--accent)}.mesh-worker-note{margin:-8px 0 18px;padding:10px 12px;border-left:3px solid var(--accent);background:#132030;color:#b9cbe0}
 .worker-source-summary{display:grid;gap:4px;padding:12px;border:1px solid #34506c;border-radius:8px;background:#132030}.worker-source-summary.wide{grid-column:1/-1}.worker-jobs-head{margin-top:18px}.worker-jobs-head h3{margin:0}.worker-history{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.worker-history h4{margin:0 0 10px}
#mesh-repository-dialog fieldset{margin:14px 0;padding:12px;border:1px solid var(--line);border-radius:8px}#mesh-repository-dialog legend{padding:0 6px;color:var(--muted)}#mesh-repository-dialog{width:min(760px,calc(100% - 28px))}#mesh-repository-dialog .dialog-head{position:sticky;top:0;padding-bottom:8px;background:var(--panel);z-index:1}#mesh-repository-dialog .dialog-actions{position:sticky;bottom:0;padding-top:12px;background:var(--panel);z-index:1}@media(max-width:760px){#mesh-repository-dialog .dialog-actions button{flex:1;min-width:0}#mesh-repository-dialog .form-grid{grid-template-columns:1fr}}
.mesh-matrix-tools,.mesh-scan-selection{align-items:center}.mesh-matrix-tools input{flex:1;min-width:180px}.mesh-scan-selection{margin:12px 0 10px}.mesh-scan-selection button{min-height:40px}.mesh-scan-results .table-row input[type=checkbox]{width:20px;height:20px;margin-right:10px;accent-color:var(--accent);vertical-align:middle}.mesh-batch-details{display:flex;flex-wrap:wrap;gap:8px 18px;margin:10px 0;color:var(--muted)}.mesh-batch-details span{min-width:0}.mesh-batch-error{margin:8px 0;color:#ffbaba;white-space:pre-wrap;overflow-wrap:anywhere}
.mesh-matrix-toggle-row{margin:22px 0 10px}.mesh-matrix-panel{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.mesh-matrix-panel .mesh-matrix-tools{margin-top:0}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 25%,#1b3048 0,#0d1117 48%)}.login-shell[hidden]{display:none}.login-card{width:min(390px,100%);display:grid;gap:16px;padding:28px;border:1px solid var(--line);border-radius:12px;background:#111720;box-shadow:0 24px 80px #0009}.login-card>strong{letter-spacing:.14em;color:var(--accent)}.login-card label{display:grid;gap:6px;color:var(--muted)}.login-card input,.login-card select{width:100%;min-width:0}.login-language{margin-top:8px}.session-expired{padding:14px 16px;border:1px solid #b98538;border-left:4px solid #f2b84b;border-radius:8px;background:#382b12;color:#ffe3a3}.session-expired>strong{display:block;margin-bottom:6px;color:#ffd373;font-size:16px}.session-expired p{margin:0}.error-text{min-height:20px;color:#ffbaba}.small{padding:6px 9px}.temporary-password{margin-top:16px;padding:12px;border:1px solid #816a2c;border-radius:8px;background:#31290f;color:#ffe39a;white-space:pre-wrap;word-break:break-all}
.section-divider{margin:1.5rem 0}.danger-text{color:#ff9c9c}
.mesh-bulk-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.75rem 0;padding:.65rem;border:1px solid var(--line,#ddd);border-radius:.5rem}.mesh-bulk-toolbar[hidden]{display:none}.mesh-bulk-progress{min-width:12rem}.mesh-content-row>input.mesh-bulk-program{margin-right:.6rem}
.content{flex:1;width:auto;min-width:0;max-width:none}.mesh-program-row{grid-template-columns:28px minmax(240px,1fr) 300px}.mesh-bulk-header{grid-template-columns:28px minmax(240px,1fr) 145px 145px}.mesh-program-actions{grid-template-columns:145px 145px}.mesh-program-row button,.mesh-repository-card>.row-actions button{white-space:nowrap}.mesh-bulk-header>.mesh-bulk-controls{white-space:nowrap}@media(max-width:760px){.content{width:100%;max-width:none}.mesh-program-row{grid-template-columns:24px minmax(0,1fr);}.mesh-program-actions{grid-column:2;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mesh-program-row button{white-space:normal}.mesh-bulk-header{display:block}.mesh-bulk-header>.mesh-bulk-controls{white-space:normal}}
.mesh-program-actions button{white-space:nowrap}@media(max-width:560px){.mesh-program-actions button{white-space:normal}}
.mesh-bulk-program{min-width:0!important;width:18px;height:18px;margin:0!important;justify-self:center}.mesh-bulk-header{grid-template-columns:28px minmax(240px,1fr) 145px 145px}.mesh-program-row{grid-template-columns:28px minmax(240px,1fr) 300px}.mesh-program-actions{grid-template-columns:145px 145px}.mesh-program-actions button{white-space:nowrap}@media(max-width:760px){.mesh-bulk-header{grid-template-columns:24px minmax(0,1fr) 90px 90px}.mesh-program-row{grid-template-columns:24px minmax(0,1fr) 180px}.mesh-program-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media(max-width:560px){.mesh-program-actions button{white-space:normal}}
.mesh-repository-card>.row-actions{width:340px}.mesh-bulk-header{grid-template-columns:28px minmax(0,1fr) 170px 170px}.mesh-program-row{grid-template-columns:28px minmax(0,1fr) 340px}.mesh-program-actions{grid-template-columns:170px 170px}.mesh-program-actions button{width:100%;min-width:0;white-space:nowrap;font-size:13px}@media(max-width:760px){.mesh-repository-card>.row-actions{width:100%}.mesh-bulk-header{grid-template-columns:24px minmax(0,1fr) 90px 90px}.mesh-program-row{grid-template-columns:24px minmax(0,1fr)}.mesh-program-actions{grid-column:2;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mesh-program-actions button{white-space:normal}}
.mesh-repository-card{grid-template-columns:minmax(220px,1fr) max-content}.mesh-repository-card>.mesh-detail{grid-column:1/-1}.mesh-repository-card>.row-actions{display:flex;flex-wrap:nowrap;width:max-content;max-width:none}.mesh-repository-card>.row-actions button{white-space:nowrap}@media(max-width:1100px){.mesh-repository-card{grid-template-columns:1fr}.mesh-repository-card>.row-actions{width:100%;max-width:100%;flex-wrap:wrap}}
.mesh-repository-card{display:grid;grid-template-columns:minmax(220px,1fr) max-content}.mesh-repository-card>.mesh-detail{grid-column:1/-1}.mesh-repository-card>.row-actions{display:flex;flex-wrap:nowrap;width:max-content;max-width:none}.mesh-repository-card>.row-actions button{white-space:nowrap}.mesh-detail{overflow-x:hidden}.mesh-bulk-header,.mesh-program-row{width:100%;min-width:0}.mesh-bulk-header{grid-template-columns:28px minmax(0,1fr) 170px 170px}.mesh-program-row{grid-template-columns:28px minmax(0,1fr) 340px}.mesh-program-actions{min-width:0;width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mesh-program-row>*{min-width:0}.mesh-col-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mesh-program-actions button{width:100%;min-width:0;white-space:nowrap}@media(max-width:1100px){.mesh-repository-card{grid-template-columns:1fr}.mesh-repository-card>.row-actions{width:100%;max-width:100%;flex-wrap:wrap}}@media(max-width:760px){.mesh-bulk-header,.mesh-program-row{width:100%;min-width:0}.mesh-program-row{grid-template-columns:24px minmax(0,1fr)}.mesh-program-actions{grid-column:2;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mesh-program-actions button{white-space:normal}}
.mesh-unified-header,.mesh-unified-row{display:grid;grid-template-columns:28px 90px minmax(0,1fr) 130px 340px;width:100%;min-width:0;align-items:center;gap:.5rem}.mesh-unified-header{position:sticky;top:0;z-index:3;padding:.45rem .6rem;background:#111b2b;color:var(--muted);font-size:12px}.mesh-unified-header:before{content:''}.mesh-unified-row{padding:.45rem .6rem;border-bottom:1px solid var(--line)}.mesh-unified-row>*{min-width:0}.mesh-unified-row .mesh-program-actions{grid-column:5}.mesh-unified-row .mesh-bulk-program{width:18px;min-width:0;margin:0;justify-self:center}.mesh-unified-row .mesh-col-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mesh-unified-row button{width:100%;min-width:0;white-space:nowrap}@media(max-width:760px){.mesh-unified-header{display:none}.mesh-unified-row{grid-template-columns:24px 80px minmax(0,1fr);}.mesh-unified-row .mesh-program-actions{grid-column:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mesh-unified-row button{white-space:normal}.mesh-detail{overflow-x:hidden}}
.mesh-detail{overflow-x:hidden}.mesh-bulk-header,.mesh-program-row{width:100%;min-width:0}.mesh-bulk-header{grid-template-columns:28px minmax(0,1fr) 145px 145px}.mesh-program-row{grid-template-columns:28px minmax(0,1fr) 290px}.mesh-program-actions{min-width:0;width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mesh-program-row>*{min-width:0}.mesh-col-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mesh-program-actions button{width:100%;min-width:0;white-space:nowrap}@media(max-width:760px){.mesh-bulk-header,.mesh-program-row{width:100%;min-width:0}.mesh-program-row{grid-template-columns:24px minmax(0,1fr)}.mesh-program-actions{grid-column:2;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mesh-program-actions button{white-space:normal}}
.mesh-repository-card{display:grid;grid-template-columns:minmax(220px,1fr) max-content;align-items:center;min-width:0}.mesh-repository-card>.table-main{min-width:0}.mesh-repository-card>.row-actions{display:flex;flex-wrap:nowrap;white-space:nowrap;gap:.4rem;min-width:0}.mesh-repository-card>.mesh-detail{grid-column:1/-1;width:100%;min-width:0;overflow-y:auto;overflow-x:hidden;white-space:normal}.mesh-bulk-header{position:sticky;top:0;z-index:3}.mesh-unified-header,.mesh-unified-row{display:grid;grid-template-columns:28px 90px minmax(0,1fr) 130px 340px;width:100%;min-width:0;align-items:center;gap:.5rem}.mesh-unified-header>*,.mesh-unified-row>*{min-width:0}.mesh-unified-header{padding:.45rem .6rem;background:#111b2b;color:var(--muted);font-size:12px}.mesh-unified-row{padding:.45rem .6rem;border-bottom:1px solid var(--line)}.mesh-unified-row .mesh-bulk-program{width:18px;height:18px;min-width:18px;margin:0;justify-self:center}.mesh-unified-row .mesh-col-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mesh-unified-row .mesh-program-actions{grid-column:5;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.4rem;min-width:340px}.mesh-unified-row .mesh-program-actions button{min-width:0;width:100%;white-space:nowrap}@media(max-width:1100px){.mesh-repository-card{grid-template-columns:1fr}.mesh-repository-card>.row-actions{width:100%;max-width:100%;flex-wrap:wrap;justify-content:flex-start}}@media(max-width:760px){.mesh-repository-card>.row-actions{width:100%;flex-wrap:wrap}.mesh-unified-header{display:none}.mesh-unified-row{grid-template-columns:24px 80px minmax(0,1fr);width:100%;overflow-x:hidden}.mesh-unified-row .mesh-program-actions{grid-column:3;min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mesh-unified-row .mesh-program-actions button{white-space:normal}.mesh-detail{overflow-x:hidden}}
#confirm-text{white-space:pre-line;overflow-wrap:anywhere;max-height:55vh;overflow:auto;margin-bottom:18px}
#mesh .mesh-repository-card{display:flex;flex-wrap:wrap;align-items:center}
#mesh .mesh-repository-card>.table-main{flex:1 1 220px;min-width:0}
#mesh .mesh-repository-card>.row-actions{flex:0 1 auto;width:auto;max-width:100%;flex-wrap:wrap}
#mesh .mesh-repository-card>.mesh-detail{flex:1 1 100%;max-width:100%}
@media(max-width:760px){.topbar{flex-wrap:wrap}.topbar-tools{flex-wrap:wrap;max-width:100%;min-width:0}.topbar>div{min-width:0}}

/* Accounts management */
.accounts-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.accounts-filters input{flex:1;min-width:200px}
.accounts-filters select{min-width:130px}
.account-card{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);transition:border-color .15s}
.account-card:hover{border-color:#384c63}
.account-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.account-card-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.account-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:600;line-height:1.4}
.account-badge.vip{background:rgba(255,193,7,0.18);border:1px solid #ffc107;color:#ffe082}
.account-badge.system{background:rgba(100,181,246,0.18);border:1px solid #64b5f6;color:#90caf9}
.account-badge.user{background:rgba(149,162,179,0.18);border:1px solid var(--line);color:var(--muted)}
.account-badge.reserved{background:rgba(239,83,80,0.18);border:1px solid #ef5350;color:#ef9a9a}
.account-card-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:var(--muted)}
.account-meta-item{display:inline-flex;align-items:center;gap:5px}
.account-contacts-list{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:13px}
.account-contact-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;background:#1a232f;border:1px solid #2d3b4b}
.account-contact-pill.verified{border-color:#2e7d32;color:#a5d6a7}
.account-headsets{font-size:13px;color:var(--muted);padding:6px 10px;background:#111720;border-radius:6px;border:1px dashed var(--line)}
.account-id-tag{font-family:monospace;font-size:11px;color:var(--muted)}
.accounts-category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px 0}
.accounts-category-tabs button{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;font-size:13px;border-radius:8px;background:var(--panel);color:var(--muted);border:1px solid var(--line);cursor:pointer;transition:all .15s}
.accounts-category-tabs button:hover{border-color:#384c63;color:var(--text)}
.accounts-category-tabs button[aria-pressed=true]{background:#1e293b;color:var(--text);border-color:#3b82f6;font-weight:600}
.tab-badge{display:inline-block;padding:1px 6px;border-radius:10px;font-size:11px;font-weight:600;background:rgba(255,255,255,0.08);color:var(--muted)}
.accounts-category-tabs button[aria-pressed=true] .tab-badge{background:rgba(59,130,246,0.25);color:#93c5fd}

.account-transfer-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:600;border-radius:6px;background:rgba(255,193,7,0.15);border:1px solid #ffc107;color:#ffe082;cursor:pointer;transition:all .15s}
.account-transfer-btn:hover{background:rgba(255,193,7,0.28);color:#fff}

.account-history-box{font-size:12px;padding:8px 12px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.07);border-radius:6px;display:flex;flex-direction:column;gap:4px}
.account-history-title{font-weight:600;color:var(--muted);display:flex;align-items:center;gap:5px}
.account-history-item{color:var(--text);line-height:1.4}
.account-history-item .history-note{color:var(--muted);font-style:italic;margin-left:4px}
.account-delivery-route{display:grid;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#111720}
.account-delivery-label{font-size:13px;font-weight:600}
.account-delivery-controls{display:flex;flex-wrap:wrap;gap:8px}
.account-delivery-select{flex:1 1 260px;min-width:0}
.account-delivery-save{white-space:nowrap}
.account-delivery-hint{color:var(--muted)}

/* Delivery route diagnostics */
#delivery .panel{margin-bottom:16px}#delivery .form-grid>.wide{grid-column:1/-1}#delivery .form-grid>.row-actions{align-self:end}.delivery-result-panel h3{margin:20px 0 10px}.delivery-path{display:flex;align-items:stretch;gap:8px;margin:16px 0;overflow-x:auto;padding-bottom:4px}.delivery-path-node{display:grid;align-content:center;gap:4px;flex:1 1 0;min-width:160px;padding:14px;border:1px solid #34506c;border-radius:9px;background:#111b2b}.delivery-path-node strong{overflow-wrap:anywhere}.delivery-path-node small{color:var(--muted);overflow-wrap:anywhere}.delivery-arrow{display:grid;place-items:center;flex:0 0 24px;color:#70dfff;font-size:22px}.delivery-steps{display:grid;gap:8px;margin:0;padding:0;list-style:none;counter-reset:delivery-step}.delivery-step{position:relative;padding:12px 14px 12px 44px;border:1px solid var(--line);border-radius:8px;background:#111720;counter-increment:delivery-step}.delivery-step:before{content:counter(delivery-step);position:absolute;left:14px;top:12px;color:var(--muted)}.delivery-step-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.delivery-step small{display:block;margin-top:4px;color:var(--muted)}.delivery-step-status{font-size:12px;font-weight:600}.delivery-step.passed{border-color:#357858}.delivery-step.passed .delivery-step-status{color:#8ee0b2}.delivery-step.failed{border-color:#984f57}.delivery-step.failed .delivery-step-status{color:#ff9c9c}.delivery-step.running{border-color:#477fab}.delivery-step.running .delivery-step-status{color:#8dcfff}.delivery-step.skipped{opacity:.72}.delivery-step.pending .delivery-step-status{color:var(--muted)}.account-delivery-check{white-space:nowrap}@media(max-width:760px){.delivery-path{display:grid;grid-template-columns:1fr;overflow:visible}.delivery-path-node{min-width:0}.delivery-arrow{min-height:24px;transform:rotate(90deg)}#delivery .form-grid>.wide{grid-column:auto}.delivery-step-head{align-items:flex-start;flex-direction:column;gap:4px}}
