:root{color-scheme:light;--bg:#f6f7f9;--surface:#fff;--surface-soft:#f2f4f7;--ink:#202631;--line:#e4e7ec;--border:var(--line);--accent:#3468d4;--accent-strong:#2854ad;--green:#1c7150;--red:#b03a49;--amber:#96600f;--blue:#3468d4;--shadow:0 12px 40px #20263112}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}.hidden{display:none!important}.ui-icon{flex-shrink:0;vertical-align:middle}.muted,small{color:var(--muted)}.mono,code,pre{font-family:ui-monospace,monospace;font-size:12px}.error-text{color:var(--red);overflow-wrap:anywhere}.good-text{color:var(--green)}
.layout{display:grid;grid-template-columns:212px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 14px;border-right:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.brand-icon{width:32px;height:32px;border-radius:8px}.brand h1{font-size:17px;margin:0}.brand p{font-size:11px;color:var(--muted);margin:2px 0}.app-version{font-size:10px;color:var(--muted);margin-left:auto}.nav-group{display:grid;gap:3px;margin-bottom:22px}.nav-group-title{font-size:11px;color:#8b94a2;padding:0 10px 6px}.nav button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:7px;background:transparent;padding:10px;color:#677180;text-align:left}.nav button:hover{background:var(--surface-soft)}.nav button.active{background:#edf3ff;color:var(--accent);font-weight:600}.nav-label{display:flex;gap:10px;align-items:center}.nav-count{font-size:11px;color:var(--muted)}.sidebar-health{margin-top:auto;font-size:11px;border-top:1px solid var(--line);padding-top:16px}.sidebar-health-title{display:flex;gap:6px;align-items:center}.sidebar-health-title strong{margin-left:auto}.status-dot,.workspace-pulse{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green)}.sidebar-health-grid{display:flex;gap:20px;margin-top:12px}.sidebar-health-grid div{display:grid}.sidebar-health-grid strong{font-size:18px}.sidebar-health-grid span{color:var(--muted)}
.content{min-width:0;padding:28px 32px 48px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.page-kicker{font-size:10px;color:var(--muted);letter-spacing:.06em}.workspace-pulse{margin-right:6px}.topbar h2{font-size:25px;letter-spacing:-.03em;margin:4px 0}.topbar p{font-size:12px;margin:0;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.top-status{display:flex;gap:8px;flex-wrap:wrap}.status-chip{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.top-actions,.row-actions,.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid #dce1e8;border-radius:6px;padding:6px 12px;background:#fff;color:#465161;font-size:12px;text-decoration:none;white-space:nowrap}.btn:hover{background:#f5f7fa;border-color:#bbc5d3}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:var(--accent-strong)}.btn.danger{color:var(--red);border-color:#f0d8dc;background:#fffafb}.btn.ghost{border-color:transparent;background:transparent}.btn.tiny{min-height:26px;padding:3px 8px;font-size:11px}
.grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.full-panel{grid-column:1/-1}.panel{min-width:0;border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.panel-head h3{margin:0;font-size:14px;font-weight:600}.panel-head small{font-size:11px;display:block;margin-top:3px}.panel-body{padding:18px}.section-eyebrow{display:none}.dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:4px 0 22px}.hero-orb,.eyebrow,.hero-chips{display:none}.dashboard-hero h3{font-size:20px;margin:0 0 5px;font-weight:500}.dashboard-hero p{color:var(--muted);font-size:12px;margin:0}.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.big-card{padding:14px;border:1px solid var(--line);border-radius:7px}.metric-card-head{display:flex;justify-content:space-between;gap:8px}.metric-card-head>div{min-width:0}.metric-card span{font-size:12px;color:var(--muted)}.metric-card strong{display:block;font-size:27px;margin:5px 0;line-height:1.2}.metric-card small{font-size:10px}.metric-icon{color:#93a0b3!important}.metric-chart{display:none}.dashboard-insight-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.recent-task-row{display:grid;grid-template-columns:28px 1fr auto auto;align-items:center;gap:10px;width:100%;padding:12px 0;background:transparent;border:0;border-bottom:1px solid var(--line);text-align:left;color:var(--ink)}.recent-task-copy{display:grid;min-width:0}.recent-task-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:360px}.recent-task-row time{font-size:11px;color:var(--muted)}.proxy-health-panel .panel-body{display:grid;grid-template-columns:90px 1fr;gap:16px;align-items:center}.health-ring{display:grid;place-items:center;width:86px;height:86px;border:5px solid #e1f0e8;border-radius:50%;text-align:center}.health-ring strong{display:block;font-size:23px}.health-ring span{font-size:11px;color:var(--muted)}.health-breakdown>div{display:flex;justify-content:space-between;padding:5px 0;font-size:12px}.health-action{grid-column:1/-1}.health-score{color:var(--green);font-size:20px}.dashboard-otp-scroll{max-height:360px;overflow:auto}
.account-page-grid,.network-workspace,.settings-layout,.twofa-layout{display:grid;gap:16px}.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.search{max-width:320px}.table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:6px}table{width:100%;border-collapse:collapse}th,td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;font-size:12px;vertical-align:middle;overflow-wrap:anywhere}th{color:#758091;background:#f8f9fb;font-size:11px;white-space:nowrap;font-weight:500}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbfd}tr.selected{background:#edf3ff}.account-table{min-width:1250px}.account-table td .muted{font-size:11px}.account-table td:last-child{position:sticky;right:0;background:#fff;border-left:1px solid var(--line)}.row-actions .btn{font-size:11px}.badge{display:inline-flex;align-items:center;border-radius:4px;padding:3px 7px;background:#eff2f5;color:#5c6775;font-size:11px;white-space:nowrap}.badge.good{background:#eaf5ef;color:var(--green)}.badge.bad{background:#fceef0;color:var(--red)}.badge.warn{background:#fff5e6;color:var(--amber)}.badge.info{background:#edf3ff;color:var(--blue)}.empty{padding:30px 16px;text-align:center;font-size:12px;color:#8c96a4}.notice,.alert{padding:11px 13px;margin-bottom:14px;background:#f5f7fa;border:1px solid var(--line);border-radius:6px;font-size:12px;overflow-wrap:anywhere}.notice.good{background:#f0f8f3;color:var(--green)}.notice.warn{background:#fff8ef;color:var(--amber)}.alert{background:#fff4f5;color:var(--red)}
.form-grid,.settings-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:6px;min-width:0}.field.full{grid-column:1/-1}label{font-size:12px;color:#667180}input,select,textarea{width:100%;min-width:0;border:1px solid #dce1e8;border-radius:6px;padding:8px 10px;min-height:36px;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #3468d425;border-color:var(--accent)}input::placeholder,textarea::placeholder{color:#a0a8b4}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:16px;min-height:16px;accent-color:var(--accent)}.checkline{display:flex;align-items:center;gap:8px;min-height:34px}.actions{margin-top:12px}.subscription-inline-form{display:grid;grid-template-columns:1fr 2fr auto;gap:12px;align-items:end}.subscription-inline-form .actions{margin:0}.subsection-divider{display:flex;gap:10px;margin:18px 0 10px;font-size:12px}.subsection-divider small{font-size:11px}.subscription-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.subscription-card{padding:12px;border:1px solid var(--line);border-radius:7px}.subscription-card-main{display:flex;justify-content:space-between;gap:10px}.subscription-card-main>div:first-child{min-width:0}.subscription-card strong{font-size:13px}.subscription-url{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;max-width:260px}.subscription-meta{font-size:11px;color:var(--muted)}.subscription-card .row-actions{align-self:start}.section-count{font-size:11px;color:var(--muted)}.proxy-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.proxy-summary-strip>div{padding:10px;background:#f8f9fb;border-radius:6px;min-width:0}.proxy-summary-strip span{display:block;color:var(--muted);font-size:11px}.proxy-summary-strip strong{font-size:19px}.proxy-summary-last strong{font-size:12px}.quarantine-panel{margin-top:14px;border:1px solid var(--line);border-radius:6px;padding:10px}.quarantine-panel summary{display:flex;justify-content:space-between;cursor:pointer;font-size:12px}.quarantine-panel summary small{font-size:11px}.quarantine-panel .table-wrap{margin-top:10px}.proxy-engine-chip{margin-top:4px}
.settings-form{display:grid;gap:16px}.settings-card{border-bottom:1px solid var(--line);padding-bottom:18px}.settings-card-head{margin-bottom:14px}.settings-card-head>div{display:flex;align-items:center;gap:10px}.settings-card-index{color:var(--muted);font-size:11px}.settings-card h4{margin:0;font-size:13px}.settings-card p{font-size:11px;color:var(--muted);margin:2px 0}.settings-form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.settings-secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-tool-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.settings-state{color:var(--green);font-size:11px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.logs-overview{display:flex;gap:12px;margin-bottom:16px}.log-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;flex:1}.log-stat{border:1px solid var(--line);border-radius:6px;background:#fff;padding:10px;text-align:left;color:var(--muted)}.log-stat strong{display:block;font-size:22px;color:var(--ink)}.log-stat.active{border-color:var(--accent);background:#f3f7ff}.logs-overview-note{display:none}.logs-filter-card{margin-bottom:14px}.logs-filter-label,.log-help{font-size:11px;color:var(--muted);margin-bottom:10px}.logs-filter-label{display:flex;justify-content:space-between}.log-toolbar{display:grid;grid-template-columns:2fr repeat(4,1fr) auto auto;gap:8px}.logs-stream-head{display:flex;justify-content:space-between;font-size:11px;padding:10px 0;color:var(--muted)}.global-log-row{padding:10px 0;border-bottom:1px solid var(--line)}.log-line{display:grid;grid-template-columns:110px 55px 75px 1fr auto;align-items:center;gap:10px;font-size:12px}.log-time,.log-category{font-size:11px;color:var(--muted)}.log-error .log-level{color:var(--red)}.log-warn .log-level{color:var(--amber)}.log-details{margin-left:130px;font-size:11px;color:var(--muted)}.log-details summary{cursor:pointer}.log-context,.logs{padding:12px;background:#f7f8fa;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;max-height:300px;overflow:auto}.log-scroll{max-height:340px;overflow:auto}.run-log-line{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.run-log-time{white-space:nowrap;color:var(--muted);font-size:11px}.task-list{display:grid;gap:12px}.task-item{padding:14px;border:1px solid var(--line);border-radius:6px}.task-main{display:flex;justify-content:space-between;gap:12px}.task-item .logs{margin-top:10px}
.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#17233055;z-index:1000}.modal-layer-tertiary{z-index:1020;background:#17233066}.app-modal-box,.otp-viewer-modal,.modal{background:#fff;border:1px solid var(--line);border-radius:10px;width:min(640px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;box-shadow:var(--shadow);overflow:hidden}.app-modal-box.modal-wide{width:min(1040px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:14px;padding:18px 22px;border-bottom:1px solid var(--line)}.modal-head h3{font-size:17px;margin:0}.modal-head small{font-size:11px;display:block;margin-top:4px}.app-modal-body{padding:22px;overflow:auto;min-height:0;overscroll-behavior:contain}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:18px}.detail-grid>div{display:grid;gap:5px;padding:12px 10px;border-bottom:1px solid var(--line);min-width:0}.detail-grid span{font-size:11px;color:var(--muted)}.detail-grid strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.detail-actions{border-top:1px solid var(--line);padding-top:16px}.detail-subsection{margin:16px 0}.detail-subsection h4{font-size:13px;margin:0 0 10px}.detail-wide-field{display:grid;gap:6px;padding:14px;background:var(--surface-soft);font-size:12px}.compact-url{overflow-wrap:anywhere}.detail-inline-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.detail-timeline-entry{margin-top:14px}.tag-list{display:flex;gap:6px;flex-wrap:wrap}.tag{padding:3px 8px;background:#eef3fb;border-radius:4px;font-size:12px}.timeline-item{display:grid;grid-template-columns:12px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.timeline-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);margin-top:6px}.timeline-head{display:flex;justify-content:space-between;gap:10px;font-size:12px}.timeline-head time{font-size:11px;color:var(--muted)}.timeline-item p{font-size:12px;color:var(--muted);margin:4px 0}.auth-data-head,.auth-secret-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.auth-secret-block{padding:14px;background:var(--surface-soft);margin-top:12px;border-radius:6px}.auth-secret-value{margin-top:8px}.auth-mask{overflow-wrap:anywhere;max-width:240px}.account-form-actions{justify-content:flex-end}.mini-paste-box,.paste-box{padding:18px;border:1px dashed #c6d0de;border-radius:6px;background:#f8fafc;text-align:center;font-size:12px}.mini-paste-box strong,.mini-paste-box span{display:block}.mini-paste-box span{color:var(--muted);margin-top:4px}.dragging{outline:2px solid var(--accent)}.twofa-account-actions{margin-top:8px}.twofa-tip{font-size:11px;color:var(--muted);margin-top:8px}.otp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.otp-card{border:1px solid var(--line);border-radius:7px;padding:14px}.compact-otp-top,.otp-head{display:flex;justify-content:space-between;gap:10px}.compact-otp-name{font-size:12px;overflow-wrap:anywhere}.otp-code{border:0;background:transparent;color:var(--accent);font:600 28px/1.5 ui-monospace,monospace;letter-spacing:3px;width:100%;text-align:left;padding:8px 0}.otp-ring{font-size:11px;color:var(--muted)}.compact-otp-line,.otp-progress{height:3px;background:#edf0f4;margin:8px 0}.compact-otp-line i,.otp-progress i{display:block;height:100%;background:var(--accent)}.otp-meta,.otp-actions{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.otp-viewer-code{font:600 36px ui-monospace,monospace;text-align:center;padding:20px;color:var(--accent)}.otp-viewer-qr img{max-width:240px;width:100%;display:block;margin:14px auto}.otp-viewer-modal{padding:20px}.otp-viewer-modal .modal-head{padding:0 0 14px}.selected-login-quick-action{position:fixed;bottom:22px;right:22px;z-index:900;display:flex;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:9px;padding:12px 16px}.selected-login-quick-action>div{display:grid;font-size:12px}.selected-login-quick-action span{font-size:11px;color:var(--muted)}.back-to-top{position:fixed;bottom:85px;right:24px;border:1px solid var(--line);border-radius:50%;width:34px;height:34px;background:#fff;color:var(--muted)}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1100;background:#253044;color:#fff;border-radius:6px;padding:10px 18px;max-width:90vw;font-size:12px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.login-panel{width:min(420px,100%);padding:32px;background:#fff;border:1px solid var(--line);border-radius:12px}.login-kicker,.login-features,.login-security{font-size:11px;color:var(--muted);margin-bottom:16px}.login-intro{font-size:12px;color:var(--muted)}.login-features{display:flex;gap:10px;flex-wrap:wrap}.login-submit{width:100%}.login-security{margin:18px 0 0}.file-btn{cursor:pointer}hr{border:0;border-top:1px solid var(--line)}
@media(max-width:1100px){.content{padding:24px 20px}.top-status{display:none}.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.log-toolbar{grid-template-columns:repeat(3,1fr)}.subscription-card-main{flex-direction:column}}
@media(max-width:760px){.layout{display:block}.sidebar{position:static;height:auto;padding:14px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin-bottom:12px}.nav{display:flex;overflow:auto;gap:6px}.nav-group{display:contents}.nav-group-title,.sidebar-health,.nav-count{display:none}.nav button{width:auto;white-space:nowrap;padding:8px}.content{padding:18px 14px}.topbar{align-items:start;gap:10px}.topbar-right{justify-content:flex-end}.topbar h2{font-size:22px}.dashboard-hero{align-items:start;flex-direction:column}.dashboard-hero h3{font-size:18px}.grid,.dashboard-insight-grid,.settings-secondary-grid{grid-template-columns:1fr}.panel-head{flex-wrap:wrap;padding:14px}.panel-body{padding:14px}.subscription-inline-form,.form-grid,.settings-card-grid{grid-template-columns:1fr}.proxy-summary-strip{grid-template-columns:repeat(2,1fr)}.toolbar{align-items:stretch;flex-direction:column}.search{max-width:none}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-backdrop{padding:10px}.app-modal-box{max-height:calc(100dvh - 20px)}.modal-head{padding:14px}.app-modal-body{padding:14px}.log-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.log-line{grid-template-columns:55px 1fr auto}.log-time,.log-category{display:none}.log-details{margin-left:0}.log-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.log-stat{padding:7px;font-size:11px}.logs-head .row-actions{gap:4px}.selected-login-quick-action{left:12px;right:12px;bottom:12px;justify-content:space-between;gap:10px}.selected-login-quick-action span{display:none}.settings-form-footer{flex-wrap:wrap}.recent-task-row time{display:none}.recent-task-row{grid-template-columns:28px 1fr auto}.recent-task-copy small{max-width:180px}.auth-data-head,.auth-secret-head{flex-wrap:wrap}.run-log-line{flex-wrap:wrap}.quarantine-panel summary{flex-wrap:wrap}.topbar p{max-width:220px}.account-table{min-width:1250px}}
.settings-secondary-grid{align-items:start}.settings-tabs{display:flex;flex-wrap:wrap;gap:6px}.dashboard-hero h3{font-size:18px}
.account-detail-grid{margin-bottom:8px}.account-detail-grid>div{padding:7px 10px;gap:2px}.account-detail-grid strong{line-height:1.35}.account-detail-actions{gap:6px;padding-top:12px}.account-detail-actions .btn{padding:5px 9px;min-height:32px}
.bt-profile-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;border-top:1px solid var(--line);padding:16px 0}.bt-profile-row h4{font-size:13px;font-weight:500;margin:10px 0}.bt-profile-row h4 small{display:block;font-size:11px;margin-top:5px}.bt-profile-row .bt-client-table{min-width:650px;table-layout:auto}.bt-client-table th:first-child{width:170px}.bt-client-table th:last-child{width:75px}.bt-client-table td:first-child,.bt-client-table td:last-child{white-space:nowrap}.bt-client-table td{overflow-wrap:normal;word-break:normal}.bt-client-table .mono{white-space:nowrap}
@media(max-width:760px){.bt-profile-row{grid-template-columns:1fr;gap:8px}.bt-profile-row h4{margin:0}.bt-profile-row h4 small{display:inline;margin-left:8px}}
/* Shared type scale: readable data, quiet supporting text, compact controls. */
:root{--muted:#657182;--type-caption:12px;--type-body:14px;--type-section:15px;--type-title:24px}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.topbar h2{font-size:var(--type-title);font-weight:650;line-height:1.3;letter-spacing:-.02em}
.topbar p{font-size:13px;line-height:1.5}.page-kicker,.app-version{font-size:11px}
.panel-head h3{font-size:var(--type-section);line-height:1.4}.panel-head small,.section-count{font-size:var(--type-caption);line-height:1.45}
.panel-head{padding:14px 18px}.topbar{margin-bottom:20px}
.nav button{font-size:14px;line-height:1.4}.nav-count,.nav-group-title,.brand p{font-size:12px}
.nav-group-title{color:var(--muted)}.nav-group{margin-bottom:18px}
.btn,.row-actions .btn{font-size:12px;font-weight:500;line-height:1.4}.btn{min-height:34px}
.badge{font-size:12px;line-height:1.4;padding:2px 7px}.status-chip{font-size:12px}
th{font-size:12px;font-weight:600;color:var(--muted);padding:10px 12px}
td{font-size:13px;line-height:1.45;padding:10px 12px}table{font-variant-numeric:tabular-nums}
.account-table td .muted{font-size:12px;line-height:1.35}.account-table tr.selected td:last-child{background:#edf3ff}
.account-table tr:hover:not(.selected) td:last-child{background:#fafbfd}
.field label,label{font-size:13px;line-height:1.4}.field{gap:5px}input,select,textarea{font-size:14px;line-height:1.45}
.notice,.alert,.empty{font-size:13px;line-height:1.55}
.modal-head h3{font-size:18px;line-height:1.35}.modal-head small{font-size:12px;line-height:1.45}
.detail-grid span{font-size:12px;line-height:1.4}.detail-grid strong{font-size:14px;font-variant-numeric:tabular-nums}
.account-detail-grid>div{padding:7px 10px;gap:3px}.account-detail-actions .btn{font-size:12px}
.detail-subsection h4,.bt-profile-row h4,.settings-card h4{font-size:14px;font-weight:600}
.bt-profile-row h4 small,.subscription-meta,.subscription-url,.settings-card p,.settings-form-footer{font-size:12px;line-height:1.45}
.mono,code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-variant-numeric:tabular-nums}
.bt-client-table .mono{font-size:13px}.metric-card strong{font-size:28px;font-weight:600;font-variant-numeric:tabular-nums}
.metric-card small{font-size:12px;line-height:1.4}.metric-card span{font-size:13px}.metric-icon{font-size:14px!important}
.log-line,.run-log-line{font-size:13px;line-height:1.55}.log-time,.log-category,.run-log-time,.log-details,.logs-filter-label,.log-help{font-size:12px}
.log-line{grid-template-columns:138px 55px 75px minmax(0,1fr) auto}.log-line>span{min-width:0;overflow-wrap:anywhere}
.run-log-time,.log-time{white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0}
.settings-tabs{padding-bottom:4px}.settings-tool-actions .btn{min-height:36px}.detail-timeline-entry .btn{font-size:12px}
@media(max-width:760px){
  .topbar h2{font-size:22px}.panel-head{padding:12px 14px}.panel-head h3{font-size:14px}
  .nav button{font-size:13px}.nav-group-title{display:none}.modal-head h3{font-size:16px}
  input,select,textarea{font-size:16px}.btn{min-height:36px}.account-detail-actions .btn{min-height:34px}
  .detail-grid strong{font-size:13px}.log-line{grid-template-columns:55px minmax(0,1fr) auto}
}
/* Follow OS appearance, including live changes without reloading. */
@media(prefers-color-scheme:dark){
  :root{color-scheme:dark;--bg:#11151c;--surface:#191f29;--surface-soft:#222a36;--ink:#e5eaf2;--muted:#a0adbf;--line:#303b4b;--accent:#729fff;--accent-strong:#5589f1;--green:#6ccea2;--red:#fa8996;--amber:#e8bb73;--blue:#729fff;--shadow:0 12px 40px #0005}
  .sidebar,.app-modal-box,.otp-viewer-modal,.modal,.login-panel,.selected-login-quick-action,.back-to-top,.log-stat{background:var(--surface)}
  .btn,input,select,textarea{background:var(--surface);color:var(--ink);border-color:var(--line)}
  .btn:hover{background:var(--surface-soft);border-color:#53637a}.btn.primary{background:#3468d4;color:#fff;border-color:#3468d4}.btn.primary:hover{background:#2854ad}
  .btn.danger{background:#34212b;border-color:#643944;color:var(--red)}.btn.ghost{background:transparent;border-color:transparent}
  .nav button,label,.field label{color:var(--muted)}.nav button.active,.log-stat.active,.tag{background:#253858;color:var(--accent)}
  th,thead,.proxy-summary-strip>div,.log-context,.logs,.auth-secret-block,.notice{background:var(--surface-soft)}
  td,.account-table td:last-child{background:var(--surface)}
  tr:hover td,.account-table tr:hover:not(.selected) td:last-child{background:#222c3a}
  tr.selected td,.account-table tr.selected td:last-child{background:#253858}
  .badge{background:#2b3443;color:var(--muted)}.badge.good,.notice.good{background:#203c31;color:var(--green)}
  .badge.bad,.alert{background:#40272f;color:var(--red)}.badge.warn,.notice.warn{background:#413525;color:var(--amber)}.badge.info{background:#253858;color:var(--accent)}
  .empty{color:var(--muted)}input::placeholder,textarea::placeholder{color:#8290a5}
  .mini-paste-box,.paste-box{background:var(--surface-soft);border-color:#53637a}
  .health-ring{border-color:#284c3d}.compact-otp-line,.otp-progress{background:var(--line)}
  .modal-backdrop,.modal-layer-tertiary{background:#0009}
}
.account-orders-table{min-width:520px}
.account-row-actions{flex-wrap:nowrap}
.content{padding:clamp(14px,1.6vw,28px) clamp(12px,1.6vw,30px) 48px}
.account-list-panel,.account-list-panel .panel-body,.account-page-grid{min-width:0;max-width:100%}
.account-list-head{align-items:flex-start;gap:12px;flex-wrap:wrap}
.account-list-primary-actions{gap:6px;flex-wrap:wrap;max-width:100%}
.account-list-panel .toolbar{gap:12px;flex-wrap:wrap}
.account-list-panel .toolbar .row-actions{flex-wrap:wrap;gap:6px}
.account-list-panel .btn{font-size:clamp(11px,.75vw,12px);padding:6px clamp(7px,.65vw,12px)}
.account-changes-toggle{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}
.account-changes-toggle input,.account-column-option input{width:16px;height:16px;flex:none;margin:0;accent-color:var(--accent)}
.unified-account-wrap{width:100%;max-width:100%;max-height:min(900px,max(260px,calc(100dvh - 220px)));overflow:auto;isolation:isolate;scrollbar-gutter:stable;overscroll-behavior:contain}
table.unified-account-table{width:100%;min-width:var(--account-table-min,1000px);table-layout:auto;border-collapse:separate;border-spacing:0}
.unified-account-table th,.unified-account-table td{font-size:clamp(12px,.8vw,13px);padding:clamp(8px,.65vw,11px) clamp(7px,.6vw,12px);white-space:nowrap;word-break:normal;overflow-wrap:normal;vertical-align:middle}
.unified-account-table th{font-size:12px;background:var(--surface-soft)}
table.unified-account-table thead th{position:sticky;top:0;z-index:4;box-shadow:0 1px 0 var(--line)}
table.unified-account-table thead th.account-select-cell,table.unified-account-table thead th.account-name-cell,table.unified-account-table thead th.account-actions-cell{z-index:5}
.unified-account-table .result-sort-button{font:inherit;color:inherit;background:transparent;border:0;padding:0;display:inline-flex;align-items:center;gap:4px;cursor:pointer;white-space:nowrap}
.unified-account-table .result-sort-button.active{color:var(--accent)}
.unified-account-table .account-select-cell{position:sticky;left:0;width:40px;min-width:40px;max-width:40px;text-align:center;z-index:2;background:var(--surface)}
.unified-account-table .account-name-cell{position:sticky;left:40px;min-width:110px;max-width:160px;z-index:2;background:var(--surface);box-shadow:1px 0 0 var(--line)}
.unified-account-table .account-name-cell strong,.unified-account-table .account-name-cell small{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.unified-account-table .account-actions-cell{position:sticky;right:0;z-index:2;background:var(--surface);border-left:1px solid var(--line)}
.unified-account-table th.account-select-cell,.unified-account-table th.account-name-cell,.unified-account-table th.account-actions-cell{background:var(--surface-soft)}
.unified-account-table tr:hover td{background:var(--surface-soft)}
.unified-account-table tr.selected td{background:color-mix(in srgb,var(--accent) 14%,var(--surface))!important}
.account-cell-text{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis}
.account-metric-delta{display:block;margin-top:3px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.account-metric-delta.delta-up{color:var(--green)}.account-metric-delta.delta-down{color:var(--red)}
.account-tools{position:relative}.account-tools>summary{list-style:none;cursor:pointer;display:flex;align-items:center}.account-tools>summary::-webkit-details-marker{display:none}
.account-tools-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:160px;display:grid;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px;box-shadow:var(--shadow)}
.account-tools-menu .btn{text-align:left;justify-content:flex-start;white-space:nowrap}
.account-column-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}
.account-column-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:6px}
.account-column-option label{display:flex;align-items:center;gap:8px;min-width:0}.account-column-option>span{display:flex;gap:4px;flex:none}.account-column-option .btn{min-width:30px;min-height:30px;padding:4px 8px}
.column-modal-footer{margin-top:18px;justify-content:flex-end;position:sticky;bottom:-14px;background:var(--surface);padding:10px 0}
.app-modal-box{max-width:calc(100vw - 24px)}.app-modal-box.modal-wide{width:min(1120px,calc(100vw - 24px))}
@media(min-width:761px) and (max-width:1450px){.layout{grid-template-columns:184px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.topbar{flex-wrap:wrap;gap:12px}.brand{gap:8px}}
@media(max-width:760px){
  .account-list-primary-actions{width:100%}.account-list-primary-actions>.btn{flex:1 0 auto}.account-list-panel .search{width:100%;max-width:none}
  .account-list-panel .btn{font-size:12px;min-height:36px}table.unified-account-table td.account-actions-cell{position:static}table.unified-account-table th.account-actions-cell{right:auto}
  .unified-account-table .account-name-cell{min-width:104px;max-width:120px}.unified-account-table .account-name-cell strong,.unified-account-table .account-name-cell small{max-width:110px}
  .account-column-options{grid-template-columns:1fr}.account-tools-menu{right:auto;left:0}
  .app-modal-box.modal-wide{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}
}
.account-trends-table th,.account-trends-table td{min-width:170px;vertical-align:middle}
.account-trends-table td:first-child{min-width:140px}
.trend-metric{display:flex;flex-direction:column;gap:3px;padding:2px 0}
.trend-metric strong{font-variant-numeric:tabular-nums}
.trend-metric svg{color:var(--accent);max-width:100%}
.trend-metric small{font-size:11px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.text-disclosure{display:block;min-width:0;max-width:100%;font-size:inherit;font-weight:400;white-space:normal}
.text-disclosure>summary{display:flex;align-items:center;gap:8px;min-width:0;cursor:pointer;list-style:none}
.text-disclosure>summary::-webkit-details-marker{display:none}
.text-disclosure>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.text-preview{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;word-break:normal!important}
.text-show,.text-hide{flex:none;font-size:12px;color:var(--accent);white-space:nowrap}
.text-hide,.text-disclosure[open] .text-show{display:none}
.text-disclosure[open] .text-hide{display:inline}
.text-full{margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:6px;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;max-height:320px;overflow:auto;line-height:1.55;user-select:text}
td .text-disclosure{width:clamp(180px,22vw,340px);max-width:340px}
.history-table{min-width:1120px}
.history-table th,.history-table td{white-space:nowrap;word-break:normal;overflow-wrap:normal}
.modal-table-wrap{max-width:100%;overflow-x:auto}
.subscription-card[data-subscription-card]{cursor:pointer}
.subscription-card.subscription-selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,transparent);box-shadow:inset 3px 0 0 var(--accent)}
.summary-table td{white-space:nowrap}.summary-comparison-note{display:block;margin-top:3px;font-size:11px}.summary-count-button{border:0;background:transparent;color:var(--accent);font:inherit;padding:4px 8px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;border-radius:4px}.summary-count-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.summary-sections{display:grid;gap:16px}.summary-sections>.panel{margin:0}.summary-distributions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.summary-distributions>.panel{margin:0}.summary-metric-note{white-space:normal;max-width:280px}.summary-sections>.panel>.panel-head small{display:block;margin-top:5px}.summary-table{min-width:700px}
.summary-distributions table{min-width:0;width:100%;table-layout:fixed}.summary-distributions th:last-child,.summary-distributions td:last-child{width:85px;text-align:right}.summary-distributions td:first-child{white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.summary-table{min-width:600px}.summary-distributions{grid-template-columns:1fr}}
.node-filter-bar{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.node-filter-bar .btn{padding:5px 12px;font-size:12px}
.subscription-select{border:0;background:transparent;color:inherit;font:inherit;font-weight:600;padding:0;text-align:left;cursor:pointer}
.subscription-select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.log-message,.run-log-line>span:last-child{min-width:0}
.account-otp-live{display:grid;gap:4px;justify-items:start}.mini-otp-code{border:0;background:transparent;color:var(--ink);padding:0;font:800 14px/1.4 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;cursor:pointer;white-space:nowrap}.mini-otp-code:hover{color:var(--accent)}
.otp-placeholder{color:var(--muted)!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;cursor:pointer}.otp-placeholder:hover{color:var(--accent)!important}
.startup-panel{text-align:center}.startup-panel h1{margin:12px 0 8px;font-size:22px}.startup-panel .login-kicker{text-align:left}.startup-spinner{display:inline-block;width:24px;height:24px;margin-top:14px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:startup-spin .8s linear infinite}.startup-error{margin:16px 0;text-align:left}.startup-retry{min-width:120px}@keyframes startup-spin{to{transform:rotate(360deg)}}
/* ===== v4.4.0 FE-02/FE-03/FE-04/FE-17/FE-23：旧 styles.css 在用类迁入（色值走主题变量）+ 手机端卡片表格 ===== */
/* FE-02：A 档在用类（旧 styles.css 独有定义）。硬编码色值统一映射到 minimal.css 变量，深色模式自动适配。 */
.back-to-top{opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease,color .18s ease,background .18s ease}
.back-to-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.topbar-copy{min-width:210px}
.icon-btn{min-height:36px;padding:0 11px}
.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--muted)}
.dot.good{background:var(--green)}
.dot.warn{background:var(--amber)}
.dot.bad{background:var(--red)}
.compact-table{min-width:0}
.timeline{display:grid;gap:0;padding-left:4px}
.proxy-table th,.task-table th{white-space:nowrap}
.proxy-table td,.task-table td{vertical-align:top}
.task-log-scroll{max-height:60vh}
.run-log-scroll{max-height:60vh;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}
.run-log-level{font-weight:800;flex:0 0 auto}
.run-log-cat{color:var(--muted);white-space:nowrap;flex:0 0 auto}
.run-log-error .run-log-level{color:var(--red)}
.run-log-warn .run-log-level{color:var(--amber)}
.run-log-info .run-log-level{color:var(--accent)}
.run-log-debug .run-log-level{color:var(--muted)}
.result-sort-indicator{display:inline-grid;place-items:center;min-width:16px;color:var(--muted);font-size:15px;line-height:1}
.result-sort-button.active .result-sort-indicator{color:currentColor}
.modal-meta{color:var(--muted);font-size:13px;margin-bottom:8px;overflow-wrap:anywhere}
.otp-viewer-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px;margin-bottom:10px}
.otp-viewer-actions{margin-top:14px}
.logs-panel{min-width:0}
.settings-panel .panel-body{padding:13px 15px 15px}
.settings-tool-panel .panel-body{min-height:100px}
.logs-head,.settings-hero-head{align-items:flex-end}
.logs-head h3,.settings-hero-head h3{margin-top:1px}
.network-proxy-panel,.network-subscription-panel{min-width:0}
.network-proxy-panel .panel-body,.network-subscription-panel .panel-body{padding:16px 18px}
.network-proxy-panel .notice{margin:0 0 12px;padding:9px 11px;font-size:11px}
.network-proxy-panel .proxy-table{min-width:920px}
.network-proxy-panel .proxy-table th,.network-proxy-panel .proxy-table td{padding:9px 8px;font-size:11px}
.network-proxy-panel .proxy-table th{font-size:10px}
.network-proxy-panel .proxy-table td strong{color:var(--ink)}
.network-proxy-panel .proxy-table .muted{font-size:10px;line-height:1.3}
.network-proxy-panel .proxy-table .row-actions{gap:5px}
.network-proxy-panel .proxy-table .btn{min-height:31px;padding:0 9px;font-size:11px}
.pool-health-panel{min-width:0}
.pool-health-panel .panel-body{padding:16px 18px}
.pool-health-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
.pool-health-strip>div{padding:10px;background:var(--surface-soft);border-radius:6px;min-width:0}
.pool-health-strip span{display:block;color:var(--muted);font-size:11px}
.pool-health-strip strong{font-size:19px}
.pool-health-strip small{font-size:11px;color:var(--muted)}
.pool-health-table{min-width:640px}
.pool-health-table th,.pool-health-table td{padding:9px 10px;font-size:11px}
.subscription-edit-form{display:grid;gap:10px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}
.subscription-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}
.subscription-card-actions .btn{min-height:30px;padding:0 10px;font-size:11px}
.subscription-edit-form .field{gap:4px}
.subscription-edit-form .actions{display:flex;gap:8px;margin:0}
.proxy-exit-ip{margin-top:3px}
.compact-panel-head{min-height:52px;padding:13px 18px}
.small-search{max-width:320px}
.paste-zone{border:1px dashed var(--line)}
.paste-zone.dragging,.account-otp-drop.dragging .mini-paste-box,.paste-zone.dragging .paste-box{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent)}
.compact-account-form{grid-template-columns:repeat(3,minmax(0,1fr))}
.account-twofa-actions{flex-wrap:nowrap;gap:5px}
.account-twofa-actions .btn{min-height:28px;padding:0 8px}
.account-table-wrap{max-width:100%;overflow-x:auto;margin-top:10px}
.alert-close{float:right;border:0;background:transparent;color:inherit;cursor:pointer;font-size:15px;line-height:1;padding:0 0 0 10px}
.account-timeline-modal{max-height:min(66vh,720px);overflow:auto;overscroll-behavior:contain;padding-right:6px}
.proxy-detail-grid{margin-bottom:16px}
.insight-panel{min-width:0}
.recent-task-list{display:grid;gap:3px;padding-top:10px;padding-bottom:10px}
.auth-data-reveal,.auth-secret-block{padding:12px;margin-top:11px;border-radius:8px;border:1px solid var(--line)}
.compact-btn{min-height:34px;padding:0 10px;font-size:11px}
.global-log-list{display:grid;gap:6px;min-height:320px;max-height:calc(100vh - 360px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}
.global-log-list.compact{padding:4px 0}
.otp-grid.compact-otp-grid{grid-template-columns:repeat(auto-fill,minmax(300px,300px));justify-content:start;align-items:start}
.otp-card.compact-otp-card{width:300px;min-height:130px;padding:12px 12px 10px;border-radius:12px}
.compact-otp-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.compact-otp-name{min-width:0;font-size:14px;font-weight:800;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all}
.otp-ring{--p:100;flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--accent) calc(var(--p) * 1%),var(--line) 0)}
.otp-ring span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--surface);color:var(--muted);font-size:11px;font-weight:800}
.otp-code.compact-otp-code{width:100%;margin:12px 0 8px;padding:0;border:0;background:transparent;color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:27px;font-weight:900;letter-spacing:3px;line-height:1.05;text-align:left}
.otp-code.compact-otp-code:hover{color:var(--accent)}
/* FE-02 补迁（复核追加）：waiting_2fa 输入行 / 自助 2FA 开关卡 / 最近任务图标 / 日志流容器。 */
.twofa{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:8px;align-items:center}
.public-twofa-option{width:fit-content;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--ink)}
.public-twofa-option:has(input:checked){border-color:color-mix(in srgb,var(--green) 28%,var(--line));background:color-mix(in srgb,var(--green) 8%,var(--surface));color:var(--green)}
.recent-task-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;background:var(--surface-soft);color:var(--muted)}
.recent-task-icon.good{background:color-mix(in srgb,var(--green) 14%,var(--surface));color:var(--green)}
.recent-task-icon.bad{background:color-mix(in srgb,var(--red) 12%,var(--surface));color:var(--red)}
.recent-task-icon.info{background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent)}
.recent-task-icon.warn{background:color-mix(in srgb,var(--amber) 14%,var(--surface));color:var(--amber)}
.logs-stream-card{border:1px solid var(--line);border-radius:8px;overflow:hidden}
@media(min-width:761px){table{min-width:760px}}
/* FE-03/FE-04/FE-17：≤760px 卡片表格。仅对含 data-label 单元格的表格生效，未标记的表格保持原样。 */
@media(max-width:760px){
  table{min-width:0}
  table.account-table,table.unified-account-table{min-width:0!important}
  .table-wrap,.account-table-wrap{overflow-x:visible}
  .unified-account-wrap{max-height:none;overflow:visible;scrollbar-gutter:auto}
  table:has(td[data-label]),table:has(td[data-label]) tbody{display:block}
  table:has(td[data-label]) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  table:has(td[data-label]) tr{display:block;margin-bottom:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}
  table:has(td[data-label]) td[data-label]{display:grid;grid-template-columns:minmax(92px,34%) minmax(0,1fr);gap:10px;border-bottom:1px solid var(--line);white-space:normal}
  table:has(td[data-label]) td[data-label]:last-child{border-bottom:0}
  table:has(td[data-label]) td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:12px;font-weight:600}
  table:has(td[data-label]) td[data-label] .row-actions{margin-top:0}
  table.unified-account-table .account-select-cell,table.unified-account-table .account-name-cell,table.unified-account-table .account-actions-cell,table.unified-account-table thead th{position:static!important;box-shadow:none!important}
  table.unified-account-table th,table.unified-account-table td{white-space:normal}
  table.unified-account-table td[data-label="操作"]{display:block}
  table.unified-account-table td[data-label="操作"] .row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  td .text-disclosure,table.unified-account-table td .text-disclosure{width:auto;max-width:100%}
  /* 卡片布局下账号列占满整行，解除桌面档的 110~120px 截断上限。 */
  table.unified-account-table .account-name-cell{min-width:0;max-width:none}
  table.unified-account-table .account-name-cell strong,table.unified-account-table .account-name-cell small{max-width:100%}
  .twofa{grid-template-columns:1fr}
}

/* 代理池监测条：基础规则写在文件中段，移动端覆盖必须排在其后才能生效。 */
@media(max-width:760px){.pool-health-strip{grid-template-columns:repeat(2,1fr)}}
