:root{--bg:#f5f7fb;--panel:#fff;--ink:#162031;--muted:#748096;--line:#e8edf4;--accent:#5d5fef;--accent2:#8b5cf6;--green:#19a974;--orange:#f59e0b;--shadow:0 12px 35px rgba(26,35,52,.07)}
.instagram-pilot-card{max-width:920px}.instagram-pilot-body{padding:18px}.instagram-pilot-help{padding:12px 14px;border-radius:10px;background:#f5f6fb;color:var(--muted);font-size:13px;line-height:1.7}.instagram-pilot-help p{margin:0}.instagram-pilot-help p+p{margin-top:6px}.instagram-pilot-form{display:flex;align-items:flex-end;gap:12px;margin:20px 0 0}.instagram-pilot-form label{display:grid;gap:8px;flex:1;max-width:480px;min-width:0;font-size:13px;font-weight:700}.instagram-pilot-form input,.instagram-pilot-form button{min-height:42px}.instagram-pilot-form button{flex-shrink:0}.instagram-pilot-status{min-height:20px;margin:12px 0;color:var(--green);font-size:13px;line-height:1.6}.instagram-pilot-status.has-error{color:#c43845}.instagram-pilot-list{list-style:none;margin:0;padding:0;max-height:480px;overflow:auto}.instagram-pilot-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.instagram-pilot-list li:first-child{border-top:1px solid var(--line)}.instagram-pilot-list span{overflow-wrap:anywhere;min-width:0}.instagram-pilot-list button{flex-shrink:0}.instagram-pilot-card button:disabled{opacity:.6;cursor:wait}.instagram-pilot-body>.field-help{margin-top:14px}@media(max-width:560px){.instagram-pilot-form{align-items:stretch;flex-direction:column}.instagram-pilot-form label{max-width:none}.instagram-pilot-body{padding:14px}}
.system-version-badge{display:inline-flex;align-items:center;padding:2px 6px;border-radius:6px;background:#7775da24;color:#b9b8f5;font-size:12px;font-weight:600;line-height:16px;white-space:nowrap;vertical-align:middle}
.brand .system-version-brand-row{display:flex;align-items:center;gap:6px;margin-top:3px}
.brand .system-version-brand-row small{margin-top:0;font-size:12px}
.system-version-mobile{display:none}
@media(max-width:1100px){.system-version-mobile{display:inline-flex;color:#625fc2;margin-bottom:4px}header #page-title{display:inline-block;margin-right:7px}}
*{box-sizing:border-box}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Keep every task type reachable as the task submenu grows. */
.nav-group.expanded .nav-submenu{max-height:480px!important}
.batch-profile-panel{width:min(920px,calc(100% - 30px));max-height:calc(100vh - 24px);overflow:auto}.batch-profile-template-help{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0;padding:10px 12px;border-radius:10px;background:#f4f4ff;color:var(--muted);font-size:12px}.batch-profile-template-help b{color:var(--ink)}.batch-profile-template-help code{padding:2px 5px;border-radius:5px;background:#fff;color:var(--accent)}.batch-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.batch-profile-field{margin:0!important;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe}.batch-profile-field.wide{grid-column:1/-1}.batch-profile-field>span:first-child{display:block;margin-bottom:8px;font-weight:700}.batch-profile-field input:not([type=checkbox]),.batch-profile-field textarea,.batch-profile-field select{margin:0}.batch-profile-field textarea{height:72px}.batch-profile-file{display:flex;align-items:center;gap:9px}.batch-profile-file input{display:none}.batch-profile-file small{color:var(--muted)}.batch-profile-strategy{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin-top:12px}.batch-profile-strategy label{margin:0}.batch-profile-preview{margin-top:14px;padding:13px 15px;border:1px solid #dee1ef;border-radius:12px;background:#fafbff}.batch-profile-preview-head{display:flex;justify-content:space-between;gap:12px}.batch-profile-preview-head span{color:var(--muted);font-size:12px}.batch-profile-preview-fields{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.batch-profile-preview-fields span{padding:4px 8px;border-radius:99px;background:#ecebff;color:#5652d8;font-size:12px}.batch-profile-samples{margin-top:9px;border-top:1px solid #eceef5}.batch-profile-samples>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:7px 0;border-bottom:1px solid #eceef5}.batch-profile-samples small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.batch-profile-progress{margin-top:14px;padding:14px;border:1px solid #dfe2ef;border-radius:12px}.batch-profile-progress[hidden]{display:none}.batch-profile-progress>div:first-child{display:flex;justify-content:space-between}.batch-profile-progress>i{display:block;height:7px;margin:10px 0 12px;overflow:hidden;border-radius:99px;background:#e8eafd}.batch-profile-progress>i>em{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#625bf6,#8a77ff);transition:width .2s}.batch-profile-progress #batch-profile-result-list{max-height:240px;overflow:auto}.batch-profile-progress #batch-profile-result-list>div{display:grid;grid-template-columns:160px 54px minmax(0,1fr);gap:10px;padding:8px 4px;border-top:1px solid #edf0f5}.batch-profile-progress #batch-profile-result-list span{font-weight:700}.batch-profile-progress #batch-profile-result-list .success span{color:#15926f}.batch-profile-progress #batch-profile-result-list .failed span{color:#d6455d}.batch-profile-progress #batch-profile-result-list .skipped span{color:#a57018}.batch-profile-progress #batch-profile-result-list small{color:var(--muted)}@media(max-width:760px){.batch-profile-fields{grid-template-columns:1fr}.batch-profile-field.wide{grid-column:1}.batch-profile-strategy{grid-template-columns:repeat(2,1fr)}.batch-profile-samples>div,.batch-profile-progress #batch-profile-result-list>div{grid-template-columns:1fr}.batch-profile-preview-head{display:block}}
#account-imports .import-job-placeholder{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px}#account-imports .import-job-placeholder b,#account-imports .import-job-placeholder small{margin-top:0!important}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif}
.app-loader{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(246,248,252,.96);backdrop-filter:blur(5px);transition:opacity .24s ease,visibility .24s ease}.app-loader.hidden{opacity:0;visibility:hidden;pointer-events:none}.app-loader-card{display:flex;align-items:center;gap:15px;min-width:300px;padding:20px 23px;border:1px solid #e0e3ee;border-radius:16px;background:#fff;box-shadow:0 18px 55px rgba(27,34,54,.12)}.app-loader-card b,.app-loader-card small{display:block}.app-loader-card b{font-size:13px}.app-loader-card small{margin-top:5px;color:var(--muted);font-size:12px}.loading-spinner{width:30px;height:30px;flex:none;border:3px solid #e4e5ff;border-top-color:var(--accent);border-radius:50%;animation:loading-spin .72s linear infinite}.button-loading{display:inline-flex!important;align-items:center;gap:7px;cursor:wait!important}.button-loading::before{content:"";width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:loading-spin .65s linear infinite}@keyframes loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-spinner,.button-loading::before{animation-duration:1.4s}.app-loader{transition:none}}
.sidebar{position:fixed;inset:0 auto 0 0;width:240px;padding:28px 18px;background:#111827;color:#fff;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:16px;padding:0 8px 32px}.brand>div{min-width:0;white-space:nowrap}
.brand small,.header-actions small{display:block;color:#8e9aae;font-size:12px;font-weight:500;margin-top:3px}
.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent2));font-size:13px}
.social-platform-switch{display:grid;gap:6px;margin:-17px 7px 18px;padding:10px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#1b2535}.social-platform-switch[hidden]{display:none}.social-platform-switch label,.social-platform-switch small{color:#8e9aae;font-size:12px}.social-platform-switch select{width:100%;height:36px;margin:0;padding:0 10px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#252f40;color:#fff;font-weight:700}.platform-status-summary{display:grid;gap:5px;min-width:120px}.platform-status-summary small{color:var(--muted);font-size:12px}
nav{display:grid;gap:7px;min-height:0;overflow-y:auto;scrollbar-width:none}
nav::-webkit-scrollbar{display:none}
nav button{border:0;background:transparent;color:#aeb8c8;text-align:left;padding:13px 15px;border-radius:10px;font-size:14px;cursor:pointer}
nav>button,.nav-group-parent{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;column-gap:12px;width:100%}
nav button span{margin-left:0}.nav-icon{display:grid;place-items:center;width:20px;height:20px;font-size:15px;font-style:normal;line-height:1}
nav button:hover,nav button.active{background:#252f40;color:#fff}
.nav-group{display:grid;gap:5px}.nav-group-parent{position:relative;width:100%}.nav-caret{position:absolute;right:15px;top:50%;font-size:16px;font-style:normal;line-height:1;transform:translateY(-50%) rotate(-90deg);transition:transform .2s ease}.nav-group.expanded .nav-caret{transform:translateY(-50%) rotate(0)}
.nav-group.expanded{padding-bottom:4px;border-radius:12px;background:rgba(255,255,255,.018)}.nav-group.expanded>.nav-group-parent{background:linear-gradient(100deg,#283247,#232c3d);box-shadow:inset 3px 0 0 #7678ff;color:#fff}.nav-submenu{display:grid;gap:3px;max-height:0;margin-left:13px;padding-left:9px;border-left:1px solid transparent;opacity:0;overflow:hidden;transition:max-height .22s ease,opacity .18s ease,border-color .18s ease}.nav-group.expanded .nav-submenu{max-height:220px;border-color:rgba(143,156,175,.16);opacity:1}.nav-submenu button{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;width:100%;padding:8px 11px;border-radius:9px;color:#8996aa;font-size:13px;transition:color .16s ease,background .16s ease,transform .16s ease}.nav-submenu button:hover{background:#1b2433;color:#d6dbea;transform:translateX(2px)}.nav-submenu button.active{background:linear-gradient(90deg,rgba(93,95,239,.28),rgba(93,95,239,.12));color:#fff}.nav-submenu button.active::before{content:"";position:absolute;left:-11px;width:3px;height:19px;border-radius:4px;background:#7779ff;box-shadow:0 0 10px rgba(119,121,255,.45)}.nav-submenu button>i{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#202b3d;color:#929efc;font-size:12px;font-style:normal;font-weight:800}.nav-submenu button.active>i{background:#6264ef;color:#fff;box-shadow:0 4px 10px rgba(93,95,239,.25)}.nav-submenu .nav-submenu-label{margin-left:8px;overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.task-nav-count,.nav-submenu-count{min-width:23px;padding:2px 6px;border:1px solid rgba(255,255,255,.04);border-radius:9px;background:#202a3a;color:#8f9caf;font-size:12px;font-style:normal;line-height:16px;text-align:center}.sidebar .nav-submenu-count:empty{display:none}.nav-submenu-count.available{color:#75d8b5}.nav-submenu-count.attention{background:rgba(245,158,11,.14);color:#f7bd58}.nav-submenu button.active :is(.task-nav-count,.nav-submenu-count){border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.12);color:#e9eaff}
.sidebar-foot{margin-top:auto;color:#92a0b5;font-size:12px;padding:12px}
.customer-plan-sidebar{position:relative;width:168px;margin-top:auto}.customer-plan-sidebar-trigger{display:flex;align-items:center;width:168px;height:34px;padding:4px 12px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#202a3a;color:#dfe4ee;cursor:pointer;gap:9px;text-align:left}.customer-plan-sidebar-trigger i{color:#9da4ff;font-size:17px;font-style:normal;line-height:16px}.customer-plan-sidebar-trigger span{font-size:12px;line-height:12px}.customer-plan-sidebar-detail{position:absolute;z-index:30;bottom:0;left:176px;width:190px;padding:13px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#182131;box-shadow:0 14px 34px rgba(0,0,0,.32);opacity:0;pointer-events:none;transform:translateX(-6px);transition:opacity .16s ease,transform .16s ease}.customer-plan-sidebar:hover .customer-plan-sidebar-detail,.customer-plan-sidebar:focus-within .customer-plan-sidebar-detail,.customer-plan-sidebar.open .customer-plan-sidebar-detail{opacity:1;pointer-events:auto;transform:none}.customer-plan-sidebar-detail>span,.customer-plan-sidebar-detail>b,.customer-plan-sidebar-detail>small,.customer-plan-sidebar-detail>em{display:block}.customer-plan-sidebar-detail>span{color:#8e9aae;font-size:12px}.customer-plan-sidebar-detail>b{margin-top:4px;color:#fff;font-size:13px}.customer-plan-sidebar-detail>small{margin-top:5px;color:#aeb8c8;font-size:12px}.customer-plan-sidebar-detail>em{margin-top:7px;color:#72d6b2;font-size:12px;font-style:normal;font-weight:700}.customer-plan-sidebar[data-tone="warning"] .customer-plan-sidebar-detail>em{color:#f7bd58}.customer-plan-sidebar[data-tone="danger"] .customer-plan-sidebar-detail>em{color:#ff9da7}.customer-plan-sidebar-detail>button{width:100%;margin-top:9px;padding:7px 9px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#252f40;color:#dfe4ee;cursor:pointer;font-size:12px}.customer-plan-sidebar+.sidebar-foot{margin-top:8px}
.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2dd4a4;box-shadow:0 0 0 4px rgba(45,212,164,.12);margin-right:8px}
main{margin-left:240px;min-height:100vh;padding:0 34px 48px}
header{height:88px;display:flex;align-items:center;justify-content:space-between}
h1,h2,h3,p{margin-top:0}
header h1{font-size:22px;margin-bottom:5px}
header p,.section-toolbar p,.card-head p{color:var(--muted);font-size:13px;margin-bottom:0}
.header-actions{display:flex;align-items:center;gap:11px}
.header-actions b{font-size:13px}
.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e7e7ff;color:var(--accent);font-weight:800}
.icon-btn,.link{border:0;background:transparent;cursor:pointer;color:var(--muted)}
.page{display:none}
.page.active{display:block}
.customer-plan-overview{position:relative;margin-bottom:18px;padding:18px 20px;border:1px solid #dedff8;border-radius:16px;background:linear-gradient(110deg,#fff,#f4f3ff);box-shadow:var(--shadow)}.customer-plan-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-plan-overview-head span{color:var(--muted);font-size:12px}.customer-plan-overview-head b{display:block;margin-top:4px;font-size:20px}.customer-plan-state{padding:5px 9px;border-radius:99px;background:#e5f8f1!important;color:#16845f!important;font-weight:700}.customer-plan-overview[data-tone="warning"] .customer-plan-state{background:#fff3d9!important;color:#a86b00!important}.customer-plan-overview[data-tone="danger"] .customer-plan-state{background:#ffe5e8!important;color:#c2384b!important}.customer-plan-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}.customer-plan-overview-grid>div{padding:11px 13px;border:1px solid #e6e8f2;border-radius:11px;background:rgba(255,255,255,.78)}.customer-plan-overview-grid span,.customer-plan-overview-grid b{display:block}.customer-plan-overview-grid span{color:var(--muted);font-size:12px}.customer-plan-overview-grid b{margin-top:5px;font-size:14px}.customer-plan-overview>button{margin-top:13px;border:0;background:transparent;color:var(--accent);cursor:pointer;font-weight:700}.customer-plan-overview[data-tone="warning"] #dashboard-plan-remaining{color:#a86b00}.customer-plan-overview[data-tone="danger"] #dashboard-plan-remaining{color:#c2384b}
@media(max-width:760px){.customer-plan-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-plan-sidebar{display:none}body.sidebar-open .customer-plan-sidebar{display:block}.customer-plan-sidebar-detail{left:0;bottom:50px}}
.hero{min-height:170px;border-radius:20px;padding:31px 34px;background:linear-gradient(115deg,#202440,#3e3b78 62%,#6256b5);color:#fff;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;box-shadow:var(--shadow)}
.hero:after{content:"";position:absolute;width:290px;height:290px;border:55px solid rgba(255,255,255,.05);border-radius:50%;right:-65px;top:-120px}
.hero h2{font-size:28px;margin:10px 0}
.hero p{color:#cdd1e9;margin:0}
.eyebrow{font-size:12px;letter-spacing:1.6px;color:#aaa8ff;font-weight:800}
.primary,.secondary{border:0;border-radius:10px;padding:11px 17px;font-weight:700;cursor:pointer}
.primary{background:var(--accent);color:#fff;box-shadow:0 8px 16px rgba(93,95,239,.22);position:relative;z-index:1}
.hero .primary{background:#fff;color:#393b78}
.secondary{background:#eef1f6;color:#4f5b6c}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}
.stat,.card{background:var(--panel);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}
.stat{padding:19px}
.stat-top{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
.stat-icon{width:34px;height:34px;border-radius:9px;background:#efefff;color:var(--accent);display:grid;place-items:center}
.stat strong{display:block;font-size:25px;margin:10px 0 5px}
.positive{color:var(--green);font-size:12px}
.muted{color:var(--muted);font-size:12px}
.grid-2{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-bottom:18px}
.dashboard-grid{grid-template-columns:1fr 1fr;margin-top:4px}.overview-status-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:17px}.overview-status-item{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:#fafbfe}.overview-status-item span{display:flex;align-items:center;color:#596273;font-size:12px}.overview-status-item i{width:8px;height:8px;margin-right:8px;border-radius:50%;background:#a5adba}.overview-status-item i.usable{background:var(--green)}.overview-status-item i.pending{background:var(--orange)}.overview-status-item i.dead{background:#dc4753}.overview-status-item i.trash{background:#8f98a7}.overview-status-item b{font-size:17px}.dashboard-empty{padding:34px 10px;color:var(--muted);font-size:12px;text-align:center}
.card{padding:21px}
.card-head,.section-toolbar{display:flex;justify-content:space-between;align-items:center}
.card-head h3{font-size:15px;margin-bottom:5px}
.chart{height:170px;display:flex;align-items:end;gap:13px;padding:18px 5px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent,transparent 41px,#f0f3f8 42px)}
.bar{flex:1;background:linear-gradient(180deg,#696bf3,#a3a4fb);border-radius:6px 6px 0 0;min-height:15px;transition:.3s}
.bar:hover{filter:brightness(.9)}
.chart-labels{display:flex;justify-content:space-around;color:#9aa3b1;font-size:12px;margin-top:8px}
.task-row{display:grid;grid-template-columns:1fr auto;gap:7px;padding:13px 0;border-bottom:1px solid var(--line)}
.task-row:last-child{border:0}
.task-row b{font-size:13px}
.task-row small{color:var(--muted)}
.pill{padding:4px 8px;border-radius:20px;background:#eef0ff;color:var(--accent);font-size:12px;height:max-content}
.pill.success{background:#e9faf4;color:var(--green)}
.pill.wait{background:#fff6e3;color:#b87905}
table{width:100%;border-collapse:collapse;margin-top:11px}
th,td{text-align:left;padding:13px 9px;border-top:1px solid var(--line);font-size:12px}
th{color:var(--muted);font-weight:600}
.user-cell{display:flex;align-items:center;gap:9px}
.mini-avatar{width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,#e2e5ff,#f0e5ff);display:grid;place-items:center;color:var(--accent);font-weight:800}
.online{color:var(--green)}
.section-toolbar{margin:4px 0 20px}
.section-toolbar h2{margin-bottom:6px}
.page>.section-toolbar{justify-content:flex-start;gap:10px;margin-top:0}.page>.section-toolbar>div:first-child{display:none}
.section-actions{display:flex;align-items:center;gap:10px}.available-account-count{display:inline-flex;align-items:center;min-height:38px;padding:0 13px;border:1px solid #ccebdd;border-radius:10px;background:#effaf6;color:#12815f;font-size:12px;font-weight:700}.available-account-count::before{content:"";width:7px;height:7px;margin-right:7px;border-radius:50%;background:#19a974;box-shadow:0 0 0 4px rgba(25,169,116,.1)}
.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.account-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}
.account-card-head{display:flex;align-items:center;gap:12px}
.account-card-head .mini-avatar{width:45px;height:45px}
.account-card .metrics{display:flex;justify-content:space-between;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.profile-scope-notice{margin:10px 0 14px;padding:10px 12px;border:1px solid #f1d49a;border-radius:10px;background:#fff8e8;color:#805b14;font-size:13px;line-height:1.55}
.account-identity-diagnostic{display:block;margin-top:4px;color:var(--muted);font-size:12px;white-space:normal;line-height:1.4}.account-imported-at{display:block;margin-top:4px;color:var(--muted);font-size:12px;white-space:normal;line-height:1.4}.account-browser-state{width:min(100%,290px);max-width:100%}.account-browser-state summary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-browser-state-detail dl>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px;align-items:start;margin:6px 0}.account-browser-state-detail dt{font-weight:700}.account-browser-state-detail dd{margin:0;min-width:0;overflow-wrap:anywhere}
.metrics span{color:var(--muted);font-size:12px}
.metrics b{display:block;color:var(--ink);font-size:15px;margin-top:4px}
.empty-page{text-align:center;padding:100px 20px}
.empty-page.active{display:block}
.empty-icon{width:64px;height:64px;border-radius:18px;background:#eaeaFF;color:var(--accent);display:grid;place-items:center;margin:0 auto 18px;font-size:25px}
.empty-page p{color:var(--muted)}
.modal{display:none;position:fixed;inset:0;background:rgba(14,20,31,.62);z-index:10;place-items:center}
.modal.open{display:grid}
.modal-panel{width:min(520px,calc(100% - 30px));background:#fff;padding:28px;border-radius:18px;position:relative}
.modal-panel h2{margin-top:9px}
.modal-close{cursor:pointer}
.modal-panel>.modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted)}
.task-target-picker,.task-content-picker{margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafbff}.task-target-picker .form-grid,.task-content-picker .form-grid{margin:0}.task-target-picker .form-grid label,.task-content-picker .form-grid label{margin-top:0}.manual-target-control,.manual-content-control{display:none;align-items:center;gap:12px;margin-top:10px}.manual-target-control span,.manual-content-control span{color:var(--muted);font-size:12px}.manual-target-control .secondary,.manual-content-control .secondary{white-space:nowrap}#task-manual-target-input{min-height:210px}#task-manual-content-input{min-height:150px}
.thread-topic-field{margin-top:12px}.thread-topic-field input{margin-top:6px}.thread-topic-field small{display:block;margin-top:6px;color:var(--muted);font-weight:400;line-height:1.5}
label{display:block;font-size:12px;font-weight:700;margin-top:16px}
select,textarea,input{display:block;width:100%;margin-top:7px;padding:11px;border:1px solid #dfe4ec;border-radius:9px;font:inherit}
textarea{height:115px;resize:vertical}
.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}
.account-import-panel>.modal-actions{flex-wrap:wrap}.account-import-panel>.modal-actions>button{white-space:nowrap}.account-import-panel #account-import-submit{min-width:108px}
.billing-cancel-panel{width:min(470px,calc(100% - 30px))}.billing-cancel-panel>p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.billing-cancel-warning{display:grid;gap:5px;margin-top:18px;padding:14px 15px;border:1px solid #f1d39b;border-radius:12px;background:#fff8e8}.billing-cancel-warning b{color:#9b6508;font-size:13px}.billing-cancel-warning span{color:#765a26;font-size:12px;line-height:1.55}.billing-cancel-panel .danger{background:#d94755;color:#fff}.billing-cancel-panel .danger:hover:not(:disabled){background:#c63a48}
.billing-purchase-panel{width:min(500px,calc(100% - 30px))}.billing-purchase-panel>p{margin:8px 0 0;color:var(--muted);font-size:13px}.billing-purchase-details{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.billing-purchase-details>div{padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#f8f9fd}.billing-purchase-details span,.billing-purchase-details b{display:block}.billing-purchase-details span{color:var(--muted);font-size:12px}.billing-purchase-details b{margin-top:5px;font-size:15px}.billing-purchase-note{margin-top:12px;padding:12px 14px;border-radius:11px;background:#f1f0ff;color:#514bd1;font-size:12px;line-height:1.55}

/* Centered application notices replace the old bottom-right browser-like toast. */
.toast{z-index:400;display:flex;align-items:center;gap:13px;right:auto!important;bottom:auto!important;left:50%!important;top:max(76px,calc(env(safe-area-inset-top) + 58px));width:max-content;max-width:min(620px,calc(100vw - 28px));min-height:58px;padding:14px 15px 14px 18px;border:1px solid #dfe4ec;border-radius:16px;background:rgba(255,255,255,.97);color:#253047;box-shadow:0 18px 50px rgba(21,32,51,.2);backdrop-filter:blur(12px);transform:translate(-50%,-24px) scale(.97)!important;opacity:0}.toast::before{content:'✓';display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:50%;background:#e8f8f2;color:#138064;font-size:16px;font-weight:900}.toast>span{min-width:0;font-size:15px;font-weight:750;line-height:1.5;text-align:left;overflow-wrap:anywhere}.toast>button{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;padding:0;border:0;border-radius:9px;background:#f1f3f7;color:#667085;font-size:18px;cursor:pointer}.toast.show{transform:translate(-50%,0) scale(1)!important;opacity:1}.toast.error{border-color:#f1c7cc;background:rgba(255,248,249,.98);color:#9f3340}.toast.error::before{content:'!';background:#ffe4e7;color:#c53f4d}.toast.warning{border-color:#f1d8aa;background:rgba(255,251,241,.98);color:#8e6211}.toast.warning::before{content:'!';background:#fff0c9;color:#a66c05}.toast.progress::before{content:'';border:3px solid #dddafe;border-top-color:#625bf6;background:transparent;animation:toast-spin .8s linear infinite}@keyframes toast-spin{to{transform:rotate(360deg)}}
.toast{position:fixed;right:24px;bottom:24px;background:#152033;color:white;padding:13px 18px;border-radius:10px;transform:translateY(80px);opacity:0;transition:.25s}
.toast.show{transform:translateY(0);opacity:1}
@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}
.grid-2{grid-template-columns:1fr}
.account-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){.sidebar{width:72px;padding:24px 10px}
.brand div,.brand small,nav span,.sidebar-foot{display:none}
.sidebar nav>button,.sidebar .nav-group-parent{grid-template-columns:1fr;justify-items:center}
.nav-caret,.task-nav-count,.nav-submenu-count{display:none}.nav-submenu{margin-left:0;padding-left:0;border-left:0}.nav-submenu button{display:grid;grid-template-columns:1fr;justify-items:center;padding:7px}.nav-submenu button.active::before{left:0}.nav-submenu button>i{width:28px;height:28px}.nav-group.expanded .nav-submenu{max-height:220px}
.brand{padding:0 7px 25px}
.brand-mark{width:38px}
main{margin-left:72px;padding:0 15px 35px}
header{height:75px}
.header-actions>div:last-child,.icon-btn{display:none}
.hero{padding:25px;display:block}
.hero .primary{margin-top:22px}
.stats,.account-grid{grid-template-columns:1fr}
.table-wrap{overflow:auto}
.hero h2{font-size:23px}
}

.danger{border:0;border-radius:10px;padding:11px 17px;font-weight:700;cursor:pointer;background:#fff0f1;color:#dc4753}
.compact{padding:8px 12px;border-radius:8px;font-size:12px}
.secondary:disabled,.danger:disabled{opacity:.45;cursor:not-allowed}
.account-manager{padding:0;overflow:hidden}
.bulk-toolbar{min-height:62px;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.bulk-toolbar>div{display:flex;align-items:center;gap:9px}
.bulk-proxy-select{width:210px;margin:0;padding:8px 10px;border-radius:8px;background:#fff;font-size:12px}
.account-manager .bulk-toolbar{height:auto;min-height:62px}.account-manager .bulk-toolbar>div{flex-wrap:wrap;padding:3px 0}.recycle-only{display:none}
.bulk-toolbar #selection-count{font-size:12px;color:var(--muted);margin-right:5px}
.check-progress{display:none;margin:14px 18px;padding:16px 18px;border:1px solid #e4e6ff;border-radius:13px;background:linear-gradient(135deg,#fafaff 0%,#f5f6ff 100%);box-shadow:0 8px 24px rgba(98,91,246,.07)}.check-progress.show{display:block;animation:progress-in .2s ease-out}.check-progress-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.check-progress-title{display:flex;align-items:center;gap:11px;min-width:0}.check-progress-title>div{display:grid;gap:3px}.check-progress-title b{color:#293247;font-size:12px}.check-progress-title small{color:var(--muted);font-size:12px}.progress-pulse{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(98,91,246,.12);flex:none;animation:pulse 1.5s infinite}.check-progress.done .progress-pulse{background:var(--green);box-shadow:0 0 0 5px rgba(22,160,133,.12);animation:none}.check-progress-head>strong{color:var(--accent);font-size:22px;line-height:1;font-variant-numeric:tabular-nums}.check-progress.done .check-progress-head>strong{color:var(--green)}.check-progress-track{height:8px;margin:14px 0 12px;border-radius:99px;background:#e5e7f3;overflow:hidden}.check-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#625bf6,#8b85ff);box-shadow:0 0 12px rgba(98,91,246,.35);transition:width .35s ease}.check-progress.done .check-progress-track i{background:linear-gradient(90deg,#16a085,#38c4a8)}.check-progress-results{display:flex;align-items:center;gap:8px}.check-progress-results span{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:7px;font-size:12px}.check-progress-results b{font-size:12px;font-variant-numeric:tabular-nums}.result-alive{color:#13866f;background:#e7f8f2}.result-dead{color:#d24754;background:#fff0f1}.result-unknown{color:#8a6921;background:#fff7e7}@keyframes progress-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.72);opacity:.65}}@media(max-width:720px){.check-progress{margin:10px 12px;padding:14px}.check-progress-head>strong{font-size:18px}.check-progress-results{flex-wrap:wrap}}
.manage-table{margin-top:0}
.manage-table th:first-child,.manage-table td:first-child{padding-left:18px}
.manage-table th:last-child,.manage-table td:last-child{padding-right:18px}
.check-col{width:42px}.action-col{width:145px}.row-actions{display:flex;gap:7px}
.text-button{border:0;background:#f0f0ff;color:var(--accent);border-radius:7px;padding:7px 10px;font-size:12px;font-weight:700;cursor:pointer}
.text-button.delete{background:#fff0f1;color:#dc4753}
.status-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:16px;background:#f1f3f7;color:var(--muted);font-size:12px}
.status-badge.active{background:#e9faf4;color:var(--green)}
.status-badge.checking{background:#fff6e3;color:#b87905}
.empty-list{display:none;text-align:center;color:var(--muted);font-size:13px;padding:48px 20px}
.form-hint{color:var(--muted);font-size:12px;line-height:1.7}
.account-import-panel>.account-modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}
.upload-row{display:flex;align-items:center;gap:11px;margin-top:12px}
.file-button{display:inline-flex;margin:0;padding:9px 13px;border:1px dashed #cbd2df;border-radius:9px;color:var(--accent);cursor:pointer}
.upload-row input{display:none}
.import-preview{margin-top:12px;padding:10px 12px;background:#f7f8fb;border-radius:9px;color:var(--muted);font-size:12px}
.target-format-help{display:flex;align-items:flex-start;gap:8px;margin-top:9px;padding:9px 11px;border:1px solid #e5e6fb;border-radius:9px;background:#f8f8ff;color:#6d7390;font-size:12px;line-height:1.55}.target-format-help b{flex:none;color:#514bd0}.target-parse-summary{display:flex;flex-wrap:wrap;gap:6px}.target-parse-summary span{padding:4px 7px;border-radius:7px;background:#eef1f6;color:#667085;font-size:12px}.target-parse-summary span.valid{background:#e8f8f2;color:#13866f}.target-parse-summary span.invalid{background:#fff0f1;color:#c9404d}.target-parse-summary b{font-size:12px}.import-preview>small{display:block;margin-top:7px;color:#c24a55;font-size:12px;word-break:break-all}
.target-confirm-modal{z-index:12}.target-confirm-panel{width:min(610px,calc(100% - 30px));max-height:calc(100vh - 40px);overflow:auto}.target-confirm-panel>.modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}.target-confirm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0}.target-confirm-stats>div{padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#f8f9fc}.target-confirm-stats span,.target-confirm-stats b{display:block}.target-confirm-stats span{color:var(--muted);font-size:12px}.target-confirm-stats b{margin-top:3px;font-size:20px}.target-confirm-stats .converted b{color:var(--accent)}.target-confirm-stats .ignored b{color:#dc4753}.target-conversion-list{padding:12px;border:1px solid var(--line);border-radius:11px;background:#fafbfe}.target-conversion-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.target-conversion-heading b{font-size:12px}.target-conversion-heading small,.target-conversion-list>p{color:var(--muted);font-size:12px}.target-conversion-list>p{margin:8px 0 0;text-align:center}.target-conversion-row{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,.65fr);align-items:center;gap:7px;padding:7px 8px;border-top:1px solid #eceef4;font-size:12px}.target-conversion-row code{overflow:hidden;color:#596273;text-overflow:ellipsis;white-space:nowrap}.target-conversion-row>span{text-align:center;color:var(--accent)}.target-conversion-row b{overflow-wrap:anywhere}.target-confirm-empty{color:var(--muted);font-size:12px;text-align:center}.target-confirm-notes{display:grid;gap:7px;margin-top:10px}.target-confirm-note{padding:9px 11px;border-radius:9px;background:#fff8e8;color:#946300}.target-confirm-note.invalid{background:#fff0f1;color:#b73743}.target-confirm-note b,.target-confirm-note span{display:block;font-size:12px}.target-confirm-note span{margin-top:4px;word-break:break-all;opacity:.85}
.manage-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--accent)}
.toast{z-index:20}
@media(max-width:720px){.bulk-toolbar{align-items:flex-start;gap:10px}.bulk-toolbar>div{flex-wrap:wrap}.manage-table{min-width:790px}.target-confirm-stats{grid-template-columns:repeat(2,1fr)}.target-conversion-row{grid-template-columns:minmax(0,1fr) 18px minmax(0,.8fr)}}
.account-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start}
.group-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px;min-height:420px}
.group-panel-head{display:flex;justify-content:space-between;align-items:center;padding:8px 7px 13px;border-bottom:1px solid var(--line)}
.group-panel-head b{display:block;font-size:14px}.group-panel-head small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.group-add{width:30px;height:30px;border:0;border-radius:8px;background:#eeefff;color:var(--accent);font-size:18px;cursor:pointer}
.group-list{padding-top:9px}.group-item{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 8px;border-radius:9px;color:#505a6b;font-size:12px;cursor:pointer;margin-bottom:3px}
.group-item:hover,.group-item.active{background:#f0f0ff;color:var(--accent)}.group-item>span{display:flex;align-items:center;gap:8px;min-width:0}.group-item i,.group-tag i{width:8px;height:8px;border-radius:50%;flex:none}.group-item em{font-style:normal;color:var(--muted);font-size:12px;margin-left:auto}
.group-actions{display:none;gap:2px}.group-item:hover .group-actions{display:flex}.group-item:hover>em{display:none}.group-actions button{border:0;background:transparent;color:var(--muted);cursor:pointer;padding:2px 4px}
.move-toolbar{display:flex;align-items:center;gap:9px;padding:10px 18px;background:#fafbfc;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.move-toolbar select{width:150px;margin:0;padding:7px 9px;background:#fff}
.group-tag{display:inline-flex;align-items:center;gap:6px;background:#f5f6f9;padding:5px 8px;border-radius:14px;font-size:12px;white-space:nowrap}
.group-form>.group-modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}
.color-options{display:flex;gap:12px;margin-top:9px}.color-options button{width:28px;height:28px;border:3px solid #fff;border-radius:50%;cursor:pointer;box-shadow:0 0 0 1px #dfe4ec}.color-options button.selected{box-shadow:0 0 0 2px var(--accent)}.color-options button:nth-child(1){background:#625bf6}.color-options button:nth-child(2){background:#16a085}.color-options button:nth-child(3){background:#ef8b35}.color-options button:nth-child(4){background:#e6536b}.color-options button:nth-child(5){background:#3182ce}
@media(max-width:960px){.account-workspace{grid-template-columns:1fr}.group-panel{min-height:auto}.group-list{display:flex;gap:5px;overflow:auto}.group-item{min-width:max-content}.group-panel-head{border-bottom:0}.manage-table{min-width:920px}}
.content-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.content-stats>div{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px 18px}.content-stats span{display:block;color:var(--muted);font-size:12px}.content-stats b{display:block;font-size:24px;margin-top:5px}
.content-library{padding:0;overflow:hidden}.content-toolbar{display:flex;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}.content-search{position:relative;flex:1;max-width:440px}.content-search span{position:absolute;left:12px;top:10px;color:var(--muted)}.content-search input{margin:0;padding-left:34px}.content-toolbar select{width:135px;margin:0}
.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.content-card{border:1px solid var(--line);border-radius:13px;padding:17px;min-width:0}.content-card-head,.content-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.content-card-head{font-size:12px}.content-card h3{font-size:15px;margin:14px 0 8px}.content-card>p{font-size:12px;color:#596273;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:61px;white-space:pre-line}.content-status{padding:5px 8px;border-radius:14px;background:#f1f3f7;color:var(--muted)}.content-status.ready{background:#e9faf4;color:var(--green)}.content-tags{display:flex;flex-wrap:wrap;gap:5px;min-height:25px;margin:12px 0}.content-tags span{font-size:12px;padding:4px 7px;background:#f0f0ff;color:var(--accent);border-radius:12px}.content-card-foot{padding-top:12px;border-top:1px solid var(--line)}.content-card-foot small{color:var(--muted);font-size:12px}.content-card-foot>div{display:flex;gap:4px}.content-card-foot button{border:0;background:transparent;color:var(--accent);font-size:12px;cursor:pointer;padding:5px}.content-card-foot button.delete{color:#dc4753}
.content-form{width:min(620px,calc(100% - 30px))}.content-form>.content-modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}.content-form textarea{height:160px}.char-count{display:block;text-align:right;color:var(--muted);font-size:12px;margin-top:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:720px){.content-stats{grid-template-columns:repeat(3,1fr)}.content-grid{grid-template-columns:1fr}.content-toolbar{flex-direction:column}.content-search{max-width:none}.content-toolbar select{width:100%}.form-grid{grid-template-columns:1fr}}
.content-image{width:calc(100% + 34px);height:170px;object-fit:cover;margin:-17px -17px 14px;border-radius:13px 13px 0 0}.image-upload{display:flex;align-items:center;gap:10px;margin-top:8px}.image-upload input{display:none}.image-upload .file-button{margin:0}.image-upload>span{font-size:12px;color:var(--muted)}.image-preview{margin-top:10px;position:relative;display:flex;flex-wrap:wrap;gap:10px}.image-preview img,.image-preview video{width:min(100%,360px);max-height:240px;object-fit:contain;border-radius:10px;background:#0f172a}.image-preview button{position:absolute;right:8px;top:8px;border:0;border-radius:7px;padding:6px 9px;background:rgba(20,28,40,.75);color:white;cursor:pointer}
.content-form>.field-block,.content-form>.compact-config{position:relative;isolation:isolate}.content-form>.field-block{z-index:1}.content-form>.compact-config{z-index:2}.content-form .image-preview{overflow:hidden;pointer-events:none}.content-form .image-preview video,.content-form .image-preview button{pointer-events:auto}.content-form .compact-config select,.content-form .compact-config input,.content-form .compact-config summary{position:relative;z-index:1;pointer-events:auto}
.task-form{width:min(620px,calc(100% - 30px));max-height:calc(100vh - 30px);overflow-y:auto}.conditional-field{display:none}.field-help{display:block;margin-top:5px;color:var(--muted);font-weight:400}.execute-now-note{display:flex;gap:11px;align-items:center;padding:12px 14px;border:1px solid #dcdcff;background:#f5f5ff;border-radius:11px;color:#4842bb}.execute-now-note>span{font-size:20px}.execute-now-note b,.execute-now-note small{display:block}.execute-now-note b{font-size:12px}.execute-now-note small{margin-top:3px;font-size:12px;color:#6d7390}.proxy-input-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:7px}.proxy-input-row input{margin:0}.proxy-input-row button{height:39px;white-space:nowrap}.proxy-check-status{display:none;margin-top:7px;padding:8px 10px;border-radius:8px;font-size:12px;font-weight:600;word-break:break-word}.proxy-check-status:not(:empty){display:block}.proxy-check-status.checking{background:#eef0ff;color:var(--accent)}.proxy-check-status.success{background:#e9faf4;color:var(--green)}.proxy-check-status.failed{background:#fff0f1;color:#dc4753}.proxy-check-status.neutral{background:#f1f3f7;color:var(--muted)}
.proxy-settings-card{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(480px,1.5fr);gap:22px;align-items:center;margin-bottom:14px;padding:18px 20px;border-color:#dddffc;background:linear-gradient(135deg,#fff 0%,#fafaff 100%)}.proxy-settings-copy{display:flex;align-items:center;gap:13px}.proxy-settings-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;background:#eeefff;color:var(--accent);font-size:22px;font-weight:800}.proxy-settings-title{display:flex;align-items:center;gap:9px}.proxy-settings-title h3{font-size:14px}.proxy-settings-title span{padding:4px 7px;border-radius:12px;background:#f1f3f7;color:var(--muted);font-size:12px;font-weight:700}.proxy-settings-title span.enabled{background:#e9faf4;color:var(--green)}.proxy-settings-copy p{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.5}.proxy-settings-control .proxy-input-row{grid-template-columns:minmax(240px,1fr) repeat(3,auto);margin-top:0}.proxy-settings-control .proxy-check-status{margin-bottom:0}
@media(max-width:1100px){.proxy-settings-card{grid-template-columns:1fr}.proxy-settings-control .proxy-input-row{grid-template-columns:minmax(220px,1fr) repeat(3,auto)}}@media(max-width:760px){.proxy-settings-control .proxy-input-row{grid-template-columns:1fr 1fr}.proxy-settings-control .proxy-input-row input{grid-column:1/-1}.proxy-settings-control .proxy-input-row button:last-child{grid-column:1/-1}.proxy-settings-card{padding:16px}}
.proxy-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.proxy-stats>div{padding:15px 18px;border:1px solid var(--line);border-radius:13px;background:#fff}.proxy-stats span{display:block;color:var(--muted);font-size:12px}.proxy-stats b{display:block;margin-top:5px;font-size:23px}.proxy-stats .policy{display:none}.proxy-manager{padding:0;overflow:hidden}.proxy-policy-note{display:flex;gap:12px;align-items:center;padding:15px 18px;border-bottom:1px solid #dfdffc;background:#f8f8ff}.proxy-policy-note>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e8e8ff;color:var(--accent);font-size:18px}.proxy-policy-note b{font-size:12px}.proxy-policy-note p{margin-top:4px;color:var(--muted);font-size:12px}.proxy-table{margin-top:0;min-width:920px}.proxy-node b,.proxy-node small,.proxy-status+.proxy-message{display:block}.proxy-node small,.proxy-message{margin-top:4px;color:var(--muted);font-size:12px}.proxy-protocol{padding:5px 8px;border-radius:8px;background:#eef0ff;color:var(--accent);font-size:12px;font-weight:800}.proxy-location{max-width:260px;font-size:12px}.proxy-status{display:inline-flex;padding:5px 8px;border-radius:14px;background:#f1f3f7;color:var(--muted);font-size:12px}.proxy-status.active{background:#e9faf4;color:var(--green)}.proxy-status.failed{background:#fff0f1;color:#dc4753}.proxy-import-form{width:min(650px,calc(100% - 30px))}.proxy-import-form>.proxy-modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}.proxy-import-form textarea{height:180px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.session-help{display:grid;gap:4px;margin-top:14px;padding:11px 13px;border-radius:9px;background:#f5f5ff;color:#4e4a9a;font-size:12px;line-height:1.5}.account-proxy{display:block;line-height:1.35}.account-proxy b,.account-proxy small{display:block}.account-proxy b{font-size:12px}.account-proxy small{margin-top:5px;color:var(--muted);font-size:12px}.proxy-missing{display:inline-flex;padding:5px 8px;border-radius:12px;background:#fff0f1;color:#dc4753;font-size:12px;font-weight:700}.task-proxy-policy{display:none}.task-proxy-policy>span{font-size:18px}.task-proxy-policy b,.task-proxy-policy small{display:block}.task-proxy-policy b{font-size:12px}.task-proxy-policy small{margin-top:3px;color:#75799a;font-size:12px}
.proxy-edit-form{width:min(620px,calc(100% - 30px))}.proxy-edit-form>.proxy-edit-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}.check-option{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fafbfc;cursor:pointer}.check-option input{width:16px;height:16px;margin:0;accent-color:var(--accent)}.check-option span{font-size:12px}.credential-hint{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.5}
.account-proxy small.active{color:var(--green)}.account-proxy small.failed{color:#dc4753}.account-proxy .proxy-session-line{color:var(--muted);white-space:nowrap}.account-manager .action-col{width:300px}
@media(max-width:850px){.proxy-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.proxy-stats{grid-template-columns:1fr}}
.proxy-page-toolbar .section-actions{display:flex;gap:8px}.proxy-simple-guide{display:flex;align-items:center;gap:8px;margin-bottom:14px;padding:12px 16px;border:1px solid #e1e3ef;border-radius:12px;background:#fff;color:#525d72}.proxy-simple-guide>span{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#625bf6;color:#fff;font-size:12px;font-weight:850}.proxy-simple-guide>b{font-size:12px}.proxy-simple-guide>i{color:#aaaec0;font-style:normal}.proxy-simple-guide>small{margin-left:auto;color:var(--muted);font-size:12px}.proxy-stats .success b{color:#168269}.proxy-stats .warning b{color:#d48416}.proxy-manager-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--line)}.proxy-manager-head b,.proxy-manager-head small{display:block}.proxy-manager-head b{font-size:13px}.proxy-manager-head small{margin-top:4px;color:var(--muted);font-size:12px}.proxy-manager-head>span{color:var(--muted);font-size:12px}.proxy-table{min-width:780px}.proxy-table td{vertical-align:middle}.proxy-simple-name b,.proxy-simple-name small{display:block}.proxy-simple-name b{font-size:12px}.proxy-simple-name small{margin-top:4px;color:var(--muted);font-size:12px}.proxy-simple-location b,.proxy-simple-location small{display:block}.proxy-simple-location b{font-size:12px}.proxy-simple-location small{margin-top:4px;color:var(--muted);font-size:12px}.proxy-simple-state{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#eef1f6;color:#687287;font-size:12px;font-weight:800}.proxy-simple-state::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.proxy-simple-state.active{background:#e7f8f1;color:#13805e}.proxy-simple-state.degraded{background:#fff5dd;color:#a56e08}.proxy-simple-state.failed{background:#fff0f1;color:#ce4553}.proxy-state-copy{display:block;max-width:230px;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.4}.proxy-detail-row{display:none}.proxy-detail-row.open{display:table-row}.proxy-detail-row td{padding:0 18px 14px!important;background:#fafbfe}.proxy-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;padding:12px;border:1px solid #e6e8ef;border-radius:10px}.proxy-detail-grid span,.proxy-detail-grid b{display:block}.proxy-detail-grid span{color:var(--muted);font-size:12px}.proxy-detail-grid b{margin-top:4px;font-size:12px;word-break:break-all}.proxy-format-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.proxy-format-tags span{padding:5px 8px;border-radius:8px;background:#f2f3f8;color:#697386;font-size:12px}.proxy-advanced{margin-top:12px;border:1px solid #e2e5ed;border-radius:10px;background:#fafbfe}.proxy-advanced summary{padding:11px 13px;color:#4d576b;font-size:12px;font-weight:800;cursor:pointer;list-style:none}.proxy-advanced summary::-webkit-details-marker{display:none}.proxy-advanced summary::after{content:"⌄";float:right;color:#8a91a2}.proxy-advanced[open] summary::after{transform:rotate(180deg)}.proxy-advanced summary small{margin-left:5px;color:var(--muted);font-size:12px;font-weight:500}.proxy-advanced>div,.proxy-advanced>label,.proxy-advanced>p{margin:0 12px 12px}.proxy-import-progress{margin-top:12px;padding:12px 14px;border-radius:10px;background:#f0efff;color:#514bd1;font-size:12px;line-height:1.55}.proxy-import-progress.success{background:#e9f8f2;color:#138269}.proxy-import-progress.warning{background:#fff6e6;color:#97640b}.proxy-assign-panel{width:min(540px,calc(100% - 30px))}.proxy-assign-panel>.proxy-assign-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}.proxy-assign-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.proxy-assign-overview>div{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fafbfe}.proxy-assign-overview span,.proxy-assign-overview b{display:block}.proxy-assign-overview span{color:var(--muted);font-size:12px}.proxy-assign-overview b{margin-top:4px;font-size:19px}.proxy-assign-warning:not(:empty){margin-top:10px;padding:10px 12px;border-radius:9px;background:#fff6e6;color:#97640b;font-size:12px;line-height:1.5}
@media(max-width:760px){.proxy-page-toolbar{align-items:flex-start}.proxy-page-toolbar .section-actions{width:100%;flex-wrap:wrap}.proxy-page-toolbar .section-actions button{flex:1}.proxy-simple-guide{flex-wrap:wrap}.proxy-simple-guide>small{width:100%;margin-left:0}.proxy-detail-grid{grid-template-columns:repeat(2,1fr)}}
.proxy-page-toolbar{position:relative;z-index:7;isolation:isolate;overflow:visible}.proxy-page-toolbar .section-actions{position:relative;z-index:2;align-items:center;overflow:visible}.proxy-page-toolbar .section-actions>*{position:relative;pointer-events:auto}.proxy-page-toolbar #add-proxy{z-index:4;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-height:42px;pointer-events:auto}.proxy-import-button-hover,.proxy-import-button-hover *{cursor:pointer!important}
.target-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.target-card{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.target-icon{width:44px;height:44px;border-radius:12px;background:#f0f0ff;color:var(--accent);display:grid;place-items:center;font-size:19px}.target-card h3{font-size:14px;margin-bottom:6px}.target-card p{font-size:12px;color:var(--muted);margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:330px}.target-card small{font-size:12px;color:var(--muted)}.target-actions{display:flex;gap:6px}.target-actions button{border:0;border-radius:8px;padding:7px 9px;background:#eef0ff;color:var(--accent);font-size:12px;font-weight:700;cursor:pointer}.target-actions button.delete{background:#fff0f1;color:#dc4753}.target-empty{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:14px}
.target-funnel-card{margin-bottom:14px;overflow:hidden}.target-funnel-head{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid var(--line)}.target-funnel-head h3{font-size:15px}.target-funnel-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.target-funnel{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:10px;padding:16px 18px}.target-funnel>div{padding:13px 14px;border:1px solid #e5e7ef;border-radius:11px;background:#fafbfe}.target-funnel span,.target-funnel b,.target-funnel small{display:block}.target-funnel span{color:var(--muted);font-size:12px}.target-funnel b{margin:4px 0;font-size:22px}.target-funnel small{color:#788195;font-size:12px}.target-funnel .success b{color:#168269}.target-funnel>i{color:#aaa8d7;font-size:16px;font-style:normal}.target-source-summary{display:flex;flex-wrap:wrap;gap:7px;padding:0 18px 16px}.target-source-summary span{padding:6px 9px;border-radius:9px;background:#f0efff;color:#514bd1;font-size:12px;font-weight:750}
@media(max-width:720px){.target-grid{grid-template-columns:1fr}.target-card p{max-width:180px}.target-funnel{grid-template-columns:1fr 1fr}.target-funnel>i{display:none}}
.task-manager{padding:0;overflow:hidden}.task-context-bar{min-height:72px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);background:linear-gradient(110deg,#fbfbff,#fff 62%)}.task-context-main{display:flex;align-items:center;gap:12px}.task-context-main>div{display:grid;gap:4px}.task-context-main b{font-size:14px}.task-context-main small{color:var(--muted);font-size:12px}.task-context-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eeefff;color:var(--accent);font-size:17px;font-weight:800;box-shadow:inset 0 0 0 1px rgba(93,95,239,.06)}.task-context-total{padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.task-manager[data-task-view="dm"] .task-context-icon{background:#fff4e5;color:#c17808}.task-manager[data-task-view="follow"] .task-context-icon{background:#e9faf4;color:var(--green)}.task-manager[data-task-view="collect"] .task-context-icon{background:#e8f7ff;color:#1677a5}.task-manager .bulk-toolbar{min-height:54px;background:#fbfcfe}.task-table{margin-top:0;min-width:1040px}.task-name b{display:block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-name small{display:block;color:var(--muted);margin-top:4px}.task-type,.task-status{display:inline-flex;padding:5px 8px;border-radius:14px;font-size:12px;white-space:nowrap}.task-type{background:#eef0ff;color:var(--accent)}.task-type.dm{background:#fff4e5;color:#c17808}.task-type.follow{background:#e9faf4;color:var(--green)}.task-status{background:#f1f3f7;color:var(--muted)}.task-status.running{background:#e9faf4;color:var(--green)}.task-status.scheduled{background:#fff6e3;color:#b87905}.task-status.published{background:#eaf2ff;color:#3474ca}.task-status.partial{background:#fff6e3;color:#b87905}.task-status.failed{background:#fff0f1;color:#dc4753}.task-result-summary{display:block;color:var(--muted);font-size:12px;margin-top:4px}.text-button.stop{background:#fff6e3;color:#b87905}.text-button.result{background:#eef0ff;color:var(--accent)}.task-table .action-col{width:285px}.task-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--accent)}
@media(max-width:720px){.task-context-bar{align-items:flex-start;padding:13px 14px}#task-context-description{display:none}.task-context-total{margin-top:4px}.task-manager .bulk-toolbar{overflow-x:auto}.task-manager .bulk-toolbar>div{flex:none}}
.task-result-panel{width:min(720px,calc(100% - 30px));max-height:min(760px,calc(100vh - 40px));display:flex;flex-direction:column}.task-result-panel>.task-result-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px;color:var(--muted);cursor:pointer}.task-result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.task-result-stats>div{padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:#f8f9fc}.task-result-stats span{display:block;font-size:12px;color:var(--muted)}.task-result-stats b{display:block;margin-top:3px;font-size:22px}.task-result-stats .success b{color:var(--green)}.task-result-stats .failed b{color:#dc4753}.task-result-list{display:flex;flex-direction:column;gap:9px;overflow:auto;padding-right:3px}.task-result-item{display:grid;grid-template-columns:34px 1fr;gap:11px;padding:13px;border:1px solid var(--line);border-radius:11px}.task-result-item.success{border-color:#cdeee2;background:#f6fcfa}.task-result-item.failed{border-color:#f3d2d6;background:#fff9fa}.result-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:#dff6ee;color:var(--green)}.task-result-item.failed .result-icon{background:#ffe4e7;color:#dc4753}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.result-heading b{font-size:12px}.result-heading span{font-size:12px;color:var(--muted)}.result-main small{display:block;margin-top:4px;color:var(--muted)}.result-main a{display:inline-block;margin-top:8px;color:var(--accent);font-size:12px;font-weight:700}.result-main p{margin:7px 0 0;font-size:12px;color:var(--muted)}.result-main .result-error{color:#b73743;white-space:pre-wrap;word-break:break-word}.account-warning{display:inline-flex;margin-top:7px;padding:4px 7px;border-radius:7px;background:#fff0d8;color:#a96a00;font-size:12px;font-weight:700}
.task-type.collect{background:#e8f7ff;color:#1677a5}
.task-type.profile,.task-manager[data-task-view="profile"] .task-context-icon{background:#f2edff;color:#7251c9}
.profile-task-result{display:grid;gap:6px;margin-top:8px}.profile-task-verification{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px;border-radius:8px;background:#f5f6f9}.profile-task-verification b{font-size:12px}.profile-task-verification.success{background:#e9faf4;color:#168568}.profile-task-verification.failed{background:#fff0f1;color:#c93f4b}.profile-task-verification.pending{background:#fff6e3;color:#a86c00}.profile-task-result>small{color:var(--muted)}
.execute-now-note{display:none}
.task-export{text-decoration:none;align-items:center;justify-content:center}.collected-results{padding:14px;border:1px solid #dfe3ef;border-radius:12px;background:#fff}.collected-results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.collected-results-heading span{display:block;color:var(--muted);font-size:12px}.collected-results-heading b{display:block;margin-top:2px;font-size:18px}.collected-results-heading small{color:var(--muted);font-size:12px}.collected-results-list{display:flex;flex-direction:column;gap:7px;max-height:300px;overflow:auto}.collected-result-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#fafbfe}.collected-result-row b,.collected-result-row small{display:block}.collected-result-row b{font-size:12px}.collected-result-row small{margin-top:3px;color:var(--muted);font-size:12px}.collected-result-row p{margin:5px 0 0;font-size:12px;color:#454b5f;white-space:pre-wrap;word-break:break-word}.collected-result-row>a{flex:none;color:var(--accent);font-size:12px;font-weight:700}
.collected-source-summary{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}.source-summary{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:8px;background:#f1f3f7;color:#596273;font-size:12px}.source-summary b{font-size:12px}.source-summary.author{background:#eeefff;color:#4f49cc}.source-summary.comment{background:#e9faf4;color:#13866f}.source-summary.follower{background:#fff5e7;color:#ae6c08}.collected-results-list{gap:12px;max-height:340px}.collected-result-group{display:flex;flex-direction:column;gap:7px}.collected-result-group-title{display:flex;align-items:center;gap:7px;padding:0 2px}.collected-result-group-title b{font-size:12px}.collected-result-group-title small{color:var(--muted);font-size:12px}.source-dot{width:7px;height:7px;border-radius:50%;background:#9aa2b1}.source-dot.author{background:#625bf6}.source-dot.comment{background:#16a085}.source-dot.follower{background:#ef8b35}.collected-result-name{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.source-badges{display:inline-flex;flex-wrap:wrap;gap:4px}.source-badge{display:inline-flex;padding:3px 6px;border-radius:6px;background:#f1f3f7;color:#596273;font-size:12px;font-weight:700}.source-badge.author{background:#eeefff;color:#4f49cc}.source-badge.comment{background:#e9faf4;color:#13866f}.source-badge.follower{background:#fff5e7;color:#ae6c08}
.task-policy-fields{padding:12px 14px;border:1px solid #e0e1f7;border-radius:11px;background:#f8f8ff}.task-policy-fields .form-grid+.form-grid{margin-top:10px}
.task-result-stats{grid-template-columns:repeat(4,1fr)}.task-result-stats .cancelled b{color:#8a6fd1}.task-result-item.cancelled{border-color:#ddd8f3;background:#faf9ff}.task-result-item.cancelled .result-icon{background:#eeeafd;color:#735cc3}
.resource-controls{display:flex;align-items:center;gap:8px}.resource-controls select,.resource-controls input{width:auto;min-width:180px;margin:0}.resource-controls input{min-width:88px;width:88px}.resource-workspace{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(520px,1.45fr);gap:15px;align-items:start}.resource-list-panel,.resource-detail-panel{padding:0;overflow:hidden;min-height:620px}.resource-panel-head{height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border-bottom:1px solid var(--line)}.resource-panel-head b,.resource-panel-head small{display:block}.resource-panel-head b{font-size:13px}.resource-panel-head small{margin-top:4px;color:var(--muted);font-size:12px}.resource-list{max-height:555px;overflow:auto;padding:8px}.resource-list-item{position:relative;width:100%;display:block;padding:13px;border:0;border-radius:10px;background:transparent;color:inherit;text-align:left;cursor:pointer}.resource-list-item+.resource-list-item{margin-top:3px}.resource-list-item:hover,.resource-list-item.active{background:#f1f1ff}.resource-list-item.active{box-shadow:inset 3px 0 0 var(--accent)}.resource-item-top{display:flex;align-items:center;justify-content:space-between;gap:9px}.resource-item-top b{font-size:12px;color:var(--accent)}.resource-item-top small{color:var(--muted);font-size:12px}.resource-list-item>strong{display:-webkit-box;margin-top:7px;overflow:hidden;color:#263044;font-size:12px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.resource-metrics{display:flex;gap:11px;margin-top:8px}.resource-metrics i{color:var(--muted);font-size:12px;font-style:normal}.resource-empty{min-height:160px;display:grid;place-items:center;padding:24px;color:var(--muted);font-size:12px;text-align:center}.compact-empty{min-height:100px}.resource-placeholder{min-height:620px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.resource-placeholder>span{width:52px;height:52px;display:grid;place-items:center;margin-bottom:12px;border-radius:15px;background:#f0f0ff;color:var(--accent);font-size:23px}.resource-placeholder b{font-size:13px;color:#263044}.resource-placeholder small{margin-top:7px}.resource-loading{min-height:160px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:12px}.detail-loading{min-height:620px}.post-detail-head{height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid var(--line)}.post-detail-head>div{display:flex;align-items:center;gap:9px}.post-detail-head small{color:var(--muted);font-size:12px}.post-detail-head a{color:var(--accent);font-size:12px;font-weight:700}.resource-badge{padding:5px 8px;border-radius:12px;background:#eeefff;color:var(--accent);font-size:12px;font-weight:700}.post-body{padding:20px 20px 17px;border-bottom:1px solid var(--line)}.post-body h3{font-size:12px}.post-body>p{margin:10px 0 0;white-space:pre-wrap;color:#363e50;font-size:13px;line-height:1.75;word-break:break-word}.post-media-note{display:inline-flex;margin-top:12px;padding:6px 9px;border-radius:8px;background:#f3f4f8;color:var(--muted);font-size:12px}.post-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:17px}.post-stats span{padding:10px;border-radius:9px;background:#f7f8fb;color:var(--muted);font-size:12px}.post-stats b{display:block;margin-bottom:2px;color:#20283a;font-size:17px}.comments-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}.comments-head b,.comments-head small{display:block}.comments-head b{font-size:12px}.comments-head small{margin-top:3px;color:var(--muted);font-size:12px}.comments-head>div:last-child{display:flex;align-items:center;gap:7px}.comments-head select{width:82px;margin:0;padding:7px 9px;font-size:12px}.comment-list{max-height:365px;overflow:auto;padding:0 16px 16px}.comment-item{display:grid;grid-template-columns:32px 1fr;gap:10px;padding:12px 2px;border-top:1px solid #edf0f5}.comment-avatar,.conversation-avatar{display:grid;place-items:center;flex:none;border-radius:10px;background:#eeefff;color:var(--accent);font-size:12px;font-weight:800}.comment-avatar{width:30px;height:30px}.comment-head,.comment-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.comment-head b{font-size:12px}.comment-head span,.comment-foot span{color:var(--muted);font-size:12px}.comment-main>p{margin:6px 0;color:#424a5d;font-size:12px;line-height:1.55;white-space:pre-wrap}.comment-foot button{border:0;background:transparent;color:var(--accent);font-size:12px;font-weight:700;cursor:pointer}.comment-reply-form{display:none;margin-top:9px;padding:9px;border-radius:9px;background:#f7f8fc}.comment-reply-form.open{display:block}.comment-reply-form textarea{height:72px;margin:0;font-size:12px}.comment-reply-form>div{display:flex;justify-content:flex-end;gap:6px;margin-top:7px}.conversation-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px}.conversation-avatar{width:38px;height:38px;border-radius:12px}.conversation-copy{min-width:0}.conversation-copy strong,.conversation-copy em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-copy strong{margin-top:3px;color:#353d4f;font-size:12px}.conversation-copy em{margin-top:5px;color:var(--muted);font-size:12px;font-style:normal}.unread-count{min-width:18px;height:18px;display:grid;place-items:center;border-radius:9px;background:var(--accent);color:#fff;font-size:12px;font-style:normal}.conversation-detail{display:flex;flex-direction:column;max-height:720px}.conversation-header{min-height:74px;display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--line)}.conversation-avatar.large{width:44px;height:44px;font-size:13px}.conversation-header>div{min-width:0;flex:1}.conversation-header h3{font-size:13px}.conversation-header p,.conversation-header small{display:block;margin-top:4px;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.message-list{height:470px;overflow:auto;padding:18px;background:#f8f9fc}.message-row{display:flex;margin-bottom:10px}.message-row.outgoing{justify-content:flex-end}.message-bubble{max-width:74%;padding:10px 12px;border:1px solid #e6e9f0;border-radius:4px 13px 13px;background:#fff}.message-row.outgoing .message-bubble{border-color:#6661ec;background:#625bf6;color:#fff;border-radius:13px 4px 13px 13px}.message-bubble p{margin:0;font-size:12px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.message-bubble span{display:block;margin-top:5px;color:var(--muted);font-size:12px}.message-row.outgoing .message-bubble span{color:#d9d8ff}.conversation-composer{display:grid;grid-template-columns:1fr auto;gap:9px;padding:12px 15px;border-top:1px solid var(--line);background:#fff}.conversation-composer textarea{height:68px;margin:0;resize:none}.conversation-composer button{align-self:end;height:38px}.button-loading{cursor:wait!important}
@media(max-width:1100px){.resource-workspace{grid-template-columns:300px minmax(440px,1fr)}}@media(max-width:850px){.resource-controls{width:100%;flex-wrap:wrap}.resource-controls select{flex:1}.resource-workspace{grid-template-columns:1fr}.resource-list-panel{min-height:360px}.resource-list{max-height:320px}.resource-detail-panel{min-height:560px}.resource-placeholder,.detail-loading{min-height:560px}}
.resource-controls{flex-wrap:wrap;justify-content:flex-end}.resource-controls select{min-width:170px;font-size:13px}.resource-controls input{font-size:13px}.resource-controls button,.resource-panel-head button,.comments-head button,.conversation-header button{font-size:12px}.resource-panel-head b{font-size:16px}.resource-panel-head small{font-size:12px}.resource-list-item{padding:15px}.resource-item-top b{font-size:12px}.resource-item-top small{font-size:12px}.resource-list-item>strong{font-size:14px}.resource-metrics i{font-size:12px}.resource-empty,.resource-loading{font-size:13px}.resource-placeholder b{font-size:16px}.resource-placeholder small{font-size:12px}.post-detail-head small,.post-detail-head a,.resource-badge{font-size:12px}.post-body h3{font-size:15px}.post-body>p{font-size:15px}.post-media-note,.post-stats span{font-size:12px}.post-stats b{font-size:20px}.comments-head b{font-size:15px}.comments-head small{font-size:12px}.comments-head select{width:92px;font-size:12px}.comment-avatar,.conversation-avatar{font-size:13px}.comment-head b{font-size:13px}.comment-head span,.comment-foot span{font-size:12px}.comment-main>p{font-size:13px}.comment-foot button{font-size:12px}.comment-reply-form textarea{font-size:13px}.conversation-copy strong,.conversation-copy em{font-size:12px}.unread-count{font-size:12px}.conversation-header h3{font-size:16px}.conversation-header p,.conversation-header small{font-size:12px}.message-bubble{padding:12px 14px}.message-bubble p{font-size:14px}.message-bubble span{font-size:12px}.conversation-composer textarea{font-size:14px}.conversation-composer button{font-size:13px}
.resource-limit{display:flex;align-items:center;gap:7px;margin:0;padding:0 10px;border:1px solid #dfe4ec;border-radius:9px;background:#fff;color:#596273;font-size:12px;font-weight:600;white-space:nowrap}.resource-limit input{width:54px;min-width:54px;margin:0;padding:9px 2px;border:0;background:transparent;text-align:center}.resource-limit input:focus{outline:0}.resource-limit span{color:var(--muted);font-weight:500}
.assignment-bulk{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.assignment-bulk span{color:var(--muted);font-size:12px}.assignment-bulk select{width:210px;margin:0}.assignment-check{width:16px;height:16px}.admin-card:has(#account-assignment-list) .admin-table th:first-child,.admin-card:has(#account-assignment-list) .admin-table td:first-child{width:42px;text-align:center}@media(max-width:760px){.assignment-bulk{width:100%}.assignment-bulk select{flex:1;min-width:160px}.admin-card-head{align-items:flex-start;flex-direction:column}}
.session-panel{width:min(620px,calc(100% - 30px))}.session-list{display:grid;gap:10px;margin-top:18px;max-height:430px;overflow:auto}.session-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid var(--line);border-radius:12px;background:#fafbfe}.session-item.current{border-color:#c9c6ff;background:#f5f4ff}.session-info{display:grid;gap:4px;min-width:0}.session-info b{font-size:13px}.session-info span,.session-info small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.current-session{color:var(--primary);font-size:12px;font-weight:700}@media(max-width:760px){#session-manager{display:none}.session-item{align-items:flex-start}.header-actions{gap:6px}.header-user{display:none}}
.notification-button{position:relative;height:34px;padding:0 13px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#4e5668;font-size:12px;font-weight:700;cursor:pointer}.notification-button:hover{border-color:#c9c6ff;color:var(--accent)}#notification-badge{display:none;position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:0 5px;border:2px solid #f5f7fb;border-radius:10px;background:#dc4753;color:#fff;font-size:12px;line-height:14px;text-align:center}#notification-badge.visible{display:block}.notification-panel{width:min(660px,calc(100% - 30px))}.notification-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.notification-heading h2{margin-bottom:4px}.notification-list{display:grid;gap:9px;max-height:470px;margin-top:18px;overflow:auto}.notification-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fafbfe}.notification-item.unread{border-color:#d8d6ff;background:#f6f5ff}.notification-level{width:9px;height:9px;margin-top:4px;border-radius:50%;background:#7e8798}.notification-level.warning{background:#ef8b35}.notification-level.error{background:#dc4753}.notification-copy b,.notification-copy span{display:block}.notification-copy b{font-size:13px}.notification-copy span{margin-top:5px;color:#596273;font-size:12px;line-height:1.5}.notification-copy small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.notification-item .text-button{align-self:center;white-space:nowrap}.health-summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:15px}.health-summary-card{padding:17px 18px;border:1px solid var(--line);border-radius:13px;background:#fff}.health-summary-card span{display:block;color:var(--muted);font-size:12px}.health-summary-card b{display:block;margin-top:7px;font-size:22px}.health-summary-card b.healthy{color:#15866f}.health-summary-card b.degraded{color:#ca4350}.health-summary-card small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.health-service-list{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.health-service{display:flex;align-items:center;gap:12px;padding:16px 18px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5}.health-service-dot{width:10px;height:10px;flex:none;border-radius:50%;background:#16a085;box-shadow:0 0 0 4px #e8f8f2}.health-service.unhealthy .health-service-dot{background:#dc4753;box-shadow:0 0 0 4px #fff0f1}.health-service-copy{min-width:0}.health-service-copy b,.health-service-copy span{display:block}.health-service-copy b{font-size:13px}.health-service-copy span{margin-top:4px;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.health-runtime{display:grid;grid-template-columns:repeat(4,1fr)}.health-runtime-item{padding:18px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5}.health-runtime-item span,.health-runtime-item small{display:block;color:var(--muted);font-size:12px}.health-runtime-item b{display:block;margin:7px 0 5px;font-size:21px}.storage-bar{height:6px;margin-top:9px;border-radius:4px;background:#edf0f5;overflow:hidden}.storage-bar i{display:block;height:100%;background:#625bf6}.storage-bar.warning i{background:#ef8b35}@media(max-width:900px){.health-summary{grid-template-columns:repeat(2,1fr)}.health-service-list{grid-template-columns:repeat(2,1fr)}.health-runtime{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.notification-button{padding:0 10px}.health-service-list{grid-template-columns:1fr}}
.notification-filters{display:flex;align-items:end;gap:12px;margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#fafbfe}.notification-filters>label:first-child{min-width:180px}.notification-filters label span{display:block;margin-bottom:5px;color:var(--muted);font-size:12px}.notification-filters select{margin:0}.notification-filters .check-option{display:flex;align-items:center;gap:7px;padding-bottom:9px}.notification-filters .check-option span{margin:0}.notification-filters small{margin-left:auto;padding-bottom:10px;color:var(--muted)}details.notification-item{display:block;padding:0;overflow:hidden}.notification-item>summary{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;padding:13px 14px;cursor:pointer;list-style:none}.notification-item>summary::-webkit-details-marker{display:none}.notification-copy b em{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:999px;background:#ecebff;color:#5751df;font-size:12px;font-style:normal}.notification-expand{align-self:center;color:#625bf6;font-size:12px}.notification-item[open] .notification-expand{font-size:0}.notification-item[open] .notification-expand::after{content:'收起';font-size:12px}.notification-detail{display:flex;align-items:center;gap:10px;padding:10px 14px 12px 36px;border-top:1px solid var(--line);background:#fff}.notification-category{padding:4px 8px;border-radius:999px;background:#f0f2f6;color:#687287;font-size:12px}.notification-detail .text-button{margin-left:auto}@media(max-width:600px){.notification-filters{align-items:stretch;flex-direction:column}.notification-filters>label:first-child{width:100%;min-width:0}.notification-filters .check-option{padding:0}.notification-filters small{margin:0;padding:0}.notification-item>summary{grid-template-columns:10px minmax(0,1fr)}.notification-expand{display:none}.notification-detail{padding-left:14px}}
.sidebar-foot.degraded{color:#ffc0c5}.sidebar-foot.degraded .status-dot{background:#dc4753;box-shadow:0 0 0 4px rgba(220,71,83,.16)}
.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;padding:16px 18px}.plan-card{display:grid;gap:9px;padding:16px;border:1px solid #e3e6ee;border-radius:13px;background:#fafbfe;color:#1d2638;text-align:left;cursor:pointer;transition:.18s}.plan-card:hover{border-color:#bbb7ff;transform:translateY(-1px);box-shadow:0 8px 22px rgba(62,58,160,.08)}.plan-card.disabled{opacity:.64}.plan-card>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.plan-card b{font-size:15px}.plan-card em{padding:4px 7px;border-radius:9px;background:#e8f8f2;color:#15866f;font-size:12px;font-style:normal;font-weight:800}.plan-card.disabled em{background:#eef0f4;color:#697386}.plan-card strong{font-size:15px}.plan-card strong small{color:var(--muted);font-size:12px}.plan-card p,.plan-card i{margin:0;color:var(--muted);font-size:12px;font-style:normal}.plan-pill{display:inline-flex;padding:5px 8px;border-radius:10px;background:#eeefff;color:#514bd1;font-size:12px;font-weight:800}.customer-table{min-width:1260px}.customer-table th:first-child,.customer-table td:first-child{width:42px;text-align:center}.customer-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.customer-filter select{width:150px;margin:0;padding:8px 10px;font-size:12px}.customer-filter span{color:var(--muted);font-size:12px}.admin-state.readonly{background:#fff5e7;color:#a76c12}.field-help{display:block;margin-top:5px;color:var(--muted);font-size:12px;font-weight:500}.modal-spacer{flex:1}.renew-targets{display:grid;gap:5px;max-height:120px;margin-top:8px;overflow:auto}.renew-targets span{padding:8px 10px;border-radius:8px;background:#f5f6fa;color:#596273;font-size:12px}.renew-warning{padding:10px 12px;border-radius:9px;background:#fff8ea;color:#9a680f;font-size:12px;line-height:1.5}.subscription-list{display:grid;gap:0;max-height:440px;margin-top:18px;overflow:auto}.subscription-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;padding:14px 4px;border-top:1px solid #edf0f5}.subscription-item:first-child{border-top:0}.subscription-item>i{width:9px;height:9px;margin-top:4px;border-radius:50%;background:#625bf6;box-shadow:0 0 0 4px #eeefff}.subscription-item b,.subscription-item span,.subscription-item small{display:block}.subscription-item b{font-size:13px}.subscription-item span{margin-top:5px;color:#4f586b;font-size:12px}.subscription-item small{margin-top:5px;color:var(--muted);font-size:12px}.subscription-item>strong{color:#4f586b;font-size:12px;white-space:nowrap}@media(max-width:900px){.customer-list-head{align-items:flex-start;flex-direction:column}.customer-filter{width:100%}}
.security-grid{display:grid;grid-template-columns:repeat(3,1fr)}.security-item{display:flex;align-items:center;gap:12px;padding:16px 18px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5}.security-item>i{width:30px;height:30px;display:grid;place-items:center;flex:none;border-radius:10px;background:#e8f8f2;color:#15866f;font-size:14px;font-style:normal;font-weight:900}.security-item.attention>i{background:#fff5e7;color:#a76c12}.security-item b,.security-item span{display:block}.security-item b{font-size:13px}.security-item span{margin-top:4px;color:var(--muted);font-size:12px}.analytics-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.analytics-filters select,.analytics-filters input{width:auto;min-width:130px;margin:0;padding:9px 11px;font-size:12px}.analytics-metrics{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin-bottom:14px}.analytics-metric{padding:17px 18px;border:1px solid var(--line);border-radius:13px;background:#fff}.analytics-metric span,.analytics-metric small{display:block;color:var(--muted)}.analytics-metric span{font-size:12px}.analytics-metric b{display:block;margin:7px 0 5px;font-size:23px}.analytics-metric small{font-size:12px}.analytics-grid-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(320px,.8fr);gap:14px;margin-bottom:14px}.analytics-grid-secondary{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.analytics-card{padding:0;overflow:hidden}.analytics-card-head{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;border-bottom:1px solid var(--line)}.analytics-card-head h3{font-size:15px}.analytics-card-head p{margin-top:4px;color:var(--muted);font-size:12px}.chart-legend{display:flex;gap:12px;color:var(--muted);font-size:12px}.chart-legend span:before{content:'';display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:3px;background:#25a786}.chart-legend .failed:before{background:#e45b67}.usage-trend{height:260px;display:flex;align-items:stretch;gap:3px;padding:24px 18px 14px;overflow-x:auto}.trend-column{min-width:8px;flex:1;display:flex;flex-direction:column;align-items:center}.trend-bars{height:210px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px;border-bottom:1px solid #e8ebf1}.trend-bars i{display:block;width:min(8px,42%);min-width:2px;border-radius:4px 4px 0 0;background:#25a786}.trend-bars i.failed{background:#e45b67}.trend-column>span{height:18px;margin-top:6px;color:var(--muted);font-size:12px;white-space:nowrap}.type-breakdown,.failure-list,.activity-list{min-height:255px;padding:12px 17px}.type-row{display:grid;grid-template-columns:105px minmax(80px,1fr) 48px;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #eff1f5}.type-row>div:first-child b,.type-row>div:first-child span{display:block}.type-row b{font-size:12px}.type-row span{margin-top:3px;color:var(--muted);font-size:12px}.type-row strong{text-align:right;font-size:12px}.type-bar,.failure-row>div{height:7px;overflow:hidden;border-radius:5px;background:#eef0f5}.type-bar i,.failure-row>div i{display:block;height:100%;border-radius:5px;background:#625bf6}.failure-row{display:grid;grid-template-columns:110px 1fr 35px;align-items:center;gap:10px;padding:10px 0}.failure-row span{font-size:12px}.failure-row>div i{background:#e45b67}.failure-row b{text-align:right;font-size:12px}.activity-row{display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eff1f5}.activity-row em{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#eeefff;color:#5751dd;font-size:12px;font-style:normal;font-weight:800}.activity-row b,.activity-row span{display:block}.activity-row b{font-size:12px}.activity-row span{margin-top:3px;color:var(--muted);font-size:12px}.activity-row strong{font-size:12px}.analytics-empty{min-height:190px;display:grid;place-items:center;color:var(--muted);font-size:12px}.analytics-empty.good{color:#15866f}.analytics-table{min-width:760px}.success-text{color:#15866f}.failure-text{color:#ca4350}.analytics-source{margin:12px 2px;color:var(--muted);font-size:12px}@media(max-width:1100px){.analytics-metrics{grid-template-columns:repeat(3,1fr)}.analytics-grid-main{grid-template-columns:1fr}.security-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.analytics-toolbar{align-items:flex-start;flex-direction:column}.analytics-filters{justify-content:flex-start;width:100%}.analytics-metrics{grid-template-columns:repeat(2,1fr)}.analytics-grid-secondary{grid-template-columns:1fr}.security-grid{grid-template-columns:1fr}}
.audit-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.audit-toolbar input,.audit-toolbar select{width:auto;min-width:126px;margin:0;padding:8px 10px;font-size:12px}.audit-toolbar input[type=date]{min-width:128px}.backup-list{max-height:390px;overflow:auto}.backup-row{display:grid;grid-template-columns:minmax(220px,1.4fr) 110px 130px 120px auto;align-items:center;gap:14px;padding:13px 18px;border-top:1px solid #edf0f5}.backup-row:first-child{border-top:0}.backup-name b,.backup-name small{display:block}.backup-name b{font-size:12px}.backup-name small{margin-top:4px;color:var(--muted);font-size:12px}.backup-kind,.backup-valid{display:inline-flex;width:max-content;padding:5px 8px;border-radius:10px;background:#f1f3f7;color:#677085;font-size:12px;font-weight:700}.backup-kind.auto{background:#eeefff;color:#514bd1}.backup-valid.valid{background:#e8f8f2;color:#15866f}.backup-valid.invalid{background:#fff0f1;color:#ca4350}.backup-actions{display:flex;justify-content:flex-end;gap:7px}@media(max-width:1100px){.admin-card-head:has(.audit-toolbar){align-items:flex-start;flex-direction:column}.audit-toolbar{justify-content:flex-start;width:100%}}@media(max-width:760px){.audit-toolbar input,.audit-toolbar select{flex:1;min-width:140px}.backup-row{grid-template-columns:1fr auto}.backup-row>span:not(.backup-valid),.backup-row>.backup-kind{display:none}.backup-actions{grid-column:1/-1;justify-content:flex-start}}

/* Authentication and two-level administration */
.auth-screen{position:fixed;inset:0;z-index:300;display:grid;grid-template-columns:minmax(420px,1.2fr) minmax(390px,.8fr);background:#f5f7fb}.auth-screen.hidden{display:none}.auth-visual{display:flex;flex-direction:column;justify-content:space-between;padding:48px 58px;color:#fff;background:radial-gradient(circle at 78% 18%,rgba(110,100,255,.38),transparent 33%),linear-gradient(145deg,#0b1427,#111d36 72%,#18254a)}.auth-brand{display:flex;align-items:center;gap:13px}.auth-brand span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#6c5df6;font-weight:900}.auth-brand b{font-size:19px}.auth-kicker{margin:0 0 18px;color:#a9a7ff;font-size:12px;font-weight:900;letter-spacing:2px}.auth-visual h1{margin:0;font-size:42px;line-height:1.28;letter-spacing:-1.5px}.auth-visual div>p:last-child{max-width:520px;margin:20px 0 0;color:#adb9cc;font-size:15px;line-height:1.8}.auth-visual>small{color:#7f8da6}.auth-card{align-self:center;width:min(430px,calc(100% - 54px));margin:auto;padding:38px 42px;border:1px solid #e0e4ed;border-radius:20px;background:#fff;box-shadow:0 28px 70px rgba(17,29,54,.11)}.auth-card h2{margin:9px 0 6px;font-size:26px}.auth-card>p{margin:0 0 27px;color:var(--muted);font-size:12px}.auth-card label{display:block;margin-top:16px;font-size:12px;font-weight:800}.auth-card input{height:46px;margin-top:8px;font-size:14px}.auth-submit{width:100%;height:46px;margin-top:22px;font-size:14px}.auth-error{min-height:19px;margin-top:12px;color:#dc4753;font-size:12px}.role-nav{display:none!important}.role-nav.visible{display:flex!important}.header-user{min-width:92px}.header-actions .secondary{white-space:nowrap}.admin-metrics{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:12px;margin-bottom:15px}.admin-metric{padding:17px 18px;border:1px solid var(--line);border-radius:13px;background:#fff}.admin-metric span{display:block;color:var(--muted);font-size:12px}.admin-metric b{display:block;margin-top:7px;font-size:24px}.admin-metric small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.admin-card{padding:0;overflow:hidden;margin-bottom:15px}.admin-card-head{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 18px;border-bottom:1px solid var(--line)}.admin-card-head h3{font-size:15px}.admin-card-head p{margin-top:5px;color:var(--muted);font-size:12px}.admin-table{min-width:980px}.admin-table td{height:62px}.admin-primary-cell b,.admin-primary-cell small{display:block}.admin-primary-cell small{margin-top:5px;color:var(--muted);font-size:12px}.admin-state{display:inline-flex;padding:5px 8px;border-radius:12px;background:#eef0f4;color:#697386;font-size:12px;font-weight:700}.admin-state.active{background:#e8f8f2;color:#15866f}.admin-state.expired,.admin-state.disabled{background:#fff0f1;color:#ca4350}.admin-state.pending{background:#fff5e7;color:#a76c12}.quota-cell{min-width:120px}.quota-cell>span{display:flex;justify-content:space-between;font-size:12px}.quota-bar{height:5px;margin-top:7px;border-radius:5px;background:#edf0f5;overflow:hidden}.quota-bar i{display:block;height:100%;border-radius:5px;background:#625bf6}.quota-bar.warning i{background:#ef8b35}.audit-list{max-height:340px;overflow:auto}.audit-row{display:grid;grid-template-columns:150px 150px 1fr auto;align-items:center;gap:14px;padding:12px 18px;border-top:1px solid #edf0f5;font-size:12px}.audit-row:first-child{border-top:0}.audit-row span,.audit-row small{color:var(--muted)}.audit-row b{font-size:12px}.admin-form{width:min(620px,calc(100% - 30px));max-height:calc(100vh - 30px);overflow:auto}.admin-form textarea{height:88px}.assignment-select{min-width:170px;margin:0}.owner-badge{display:inline-flex;padding:4px 7px;border-radius:10px;background:#eeefff;color:var(--accent);font-size:12px;font-weight:800}.member-badge{display:inline-flex;padding:4px 7px;border-radius:10px;background:#f1f3f7;color:#677085;font-size:12px;font-weight:800}.danger-text{color:#dc4753!important}.expiry-warning{display:inline-flex;margin-left:7px;padding:3px 6px;border-radius:8px;background:#fff4e5;color:#a66b0c;font-size:12px}.expired-readonly{padding:10px 14px;border:1px solid #f0d5a4;border-radius:10px;background:#fff8ea;color:#9a680f;font-size:12px}.member-owner .delete-member{display:none}
@media(max-width:1050px){.admin-metrics{grid-template-columns:repeat(3,1fr)}.auth-visual{padding:38px}.auth-visual h1{font-size:34px}}@media(max-width:760px){.auth-screen{grid-template-columns:1fr}.auth-visual{display:none}.auth-card{padding:30px}.admin-metrics{grid-template-columns:repeat(2,1fr)}.header-user{display:none}.audit-row{grid-template-columns:1fr auto}.audit-row span,.audit-row small{display:none}}
.portal-switch{display:block;margin-top:16px;text-align:center;color:var(--accent);font-size:12px;font-weight:800;text-decoration:none}.portal-switch:hover{text-decoration:underline}
.platform-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:4px 0 18px}.platform-module-card{min-height:142px;padding:20px;text-align:left;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--text);box-shadow:0 7px 22px rgba(24,36,66,.05);transition:.18s ease}.platform-module-card:hover{transform:translateY(-2px);border-color:#b9b3ff;box-shadow:0 12px 28px rgba(71,61,190,.1)}.platform-module-card span,.platform-module-card b,.platform-module-card small,.platform-module-card i{display:block}.platform-module-card span{color:var(--muted);font-size:12px;font-weight:800}.platform-module-card b{margin-top:12px;font-size:19px}.platform-module-card small{margin-top:7px;color:var(--muted);font-size:12px}.platform-module-card i{margin-top:15px;color:var(--accent);font-size:12px;font-style:normal;font-weight:800}.platform-module-page>.admin-card{margin-top:0}@media(max-width:1050px){.platform-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.platform-module-grid{grid-template-columns:1fr}}

.account-import-panel{width:min(820px,calc(100vw - 32px))}.account-import-modes{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0 12px}.account-import-modes label{position:relative;display:flex;min-height:92px;flex-direction:column;gap:7px;padding:14px;border:1px solid #dfe4f1;border-radius:13px;background:#fafbff;cursor:pointer;transition:.18s}.account-import-modes label:hover{border-color:#aaa7ff}.account-import-modes label.active{border-color:#625bf6;background:#f1f0ff;box-shadow:0 0 0 2px rgba(98,91,246,.1)}.account-import-modes input{position:absolute;opacity:0;pointer-events:none}.account-import-modes b{font-size:15px;color:#111b34}.account-import-modes span{font-size:12px;line-height:1.55;color:#68738e}.import-flow{padding:11px 13px;margin-bottom:14px;border-radius:10px;background:#f4f6fb;color:#515c78;font-size:13px;line-height:1.6}.account-verify-option{align-self:end;min-height:43px}.platform-status{display:inline-flex;align-items:center;gap:5px;width:max-content;padding:4px 8px;border-radius:999px;background:#f1f3f8;color:#69738b;font-size:12px;white-space:nowrap}.platform-status.active{background:#e8faf4;color:#14876a}.platform-status.pending,.platform-status.pending_authorization{background:#fff5dc;color:#a16b00}.platform-status.dead{background:#fff0f1;color:#d14e5d}.platform-status.unknown{background:#eef1f7;color:#657086}.platform-status.not_imported{background:#f6f7fa;color:#9aa2b4}.row-actions .login-action{color:#534ce8;background:#f0efff}.browser-login-panel{width:min(1040px,calc(100vw - 32px));max-height:95vh}.browser-login-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.browser-login-heading h2{margin-bottom:6px}.browser-login-heading p{margin:0;color:#66718d}.browser-stage{padding:7px 11px;border-radius:999px;background:#eeedff;color:#514be0;font-size:12px;font-weight:700}.browser-address{margin:15px 0 8px;padding:9px 12px;border-radius:8px;background:#141c2c;color:#ced5e5;font:12px/1.4 Consolas,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.browser-screen-wrap{position:relative;overflow:hidden;aspect-ratio:16/10;border:1px solid #d8deeb;border-radius:11px;background:#edf0f6}.browser-screen-wrap img{display:block;width:100%;height:100%;object-fit:contain;cursor:crosshair;user-select:none}.browser-screen-empty{position:absolute;inset:0;display:grid;place-items:center;color:#7c869d;font-size:14px}.browser-controls{display:grid;grid-template-columns:minmax(240px,1fr) repeat(5,auto);gap:8px;margin-top:12px}.browser-controls input{min-width:0}.browser-help{margin:9px 0 0;color:#7b849a;font-size:12px}.browser-login-panel .modal-actions{margin-top:12px}@media(max-width:900px){.account-import-modes{grid-template-columns:repeat(2,1fr)}.browser-controls{grid-template-columns:1fr 1fr}.browser-controls input{grid-column:1/-1}}
.account-import-mode-guide{margin:0 0 12px;border:1px solid #dfe3ef;border-radius:11px;background:#fff}.account-import-mode-guide>summary{display:flex;min-height:42px;align-items:center;gap:8px;padding:9px 12px;color:#4f5b73;cursor:pointer;list-style:none}.account-import-mode-guide>summary::-webkit-details-marker{display:none}.account-import-mode-guide>summary:after{content:'›';margin-left:auto;color:#7d86a0;font-size:18px;transform:rotate(0);transition:transform .18s}.account-import-mode-guide[open]>summary:after{transform:rotate(90deg)}.account-import-mode-guide>summary b{font-size:13px}.account-import-mode-guide>summary small{color:#8992a7;font-size:12px}.mode-guide-icon{display:grid;width:22px;height:22px;flex:0 0 auto;place-items:center;border-radius:50%;background:#eeedff;color:#5751dc;font-size:12px;font-weight:850;font-style:normal}.mode-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 12px 11px}.mode-guide-grid article{position:relative;padding:12px;border:1px solid #e5e8f1;border-radius:10px;background:#fafbfe}.mode-guide-grid article>b{display:block;padding-right:72px;color:#1b253b;font-size:13px}.mode-guide-grid article p{margin:7px 0;color:#56627b;font-size:12px;line-height:1.55}.mode-guide-grid article small{display:block;color:#7b859c;font-size:12px;line-height:1.45}.mode-guide-recommended{position:absolute;top:10px;right:10px;padding:3px 6px;border-radius:999px;background:#e6f8f1;color:#168166;font-size:12px;font-weight:800}.mode-guide-tip{margin:0 12px 12px;padding:9px 11px;border-radius:8px;background:#f1f0ff;color:#575487;font-size:12px;line-height:1.5}@media(max-width:620px){.account-import-mode-guide>summary small{display:none}.mode-guide-grid{grid-template-columns:1fr}}

/* Bound proxy quality gate */
.proxy-stats{grid-template-columns:repeat(4,1fr)}
.proxy-route-state{display:inline-flex;align-items:center;width:max-content;margin-top:6px;padding:4px 8px;border-radius:999px;background:#f1f3f7;color:#687287;font-size:12px;font-weight:800;white-space:nowrap}
.proxy-route-state.healthy{background:#e7f8f1;color:#13805e}.proxy-route-state.rotating{background:#ececff;color:#5455dd}.proxy-route-state.cooldown,.proxy-route-state.degraded{background:#fff5dd;color:#9e6b08}.proxy-route-state.exhausted{background:#fff0f1;color:#ce4553}.proxy-route-state.untested{background:#eef1f6;color:#69758b}
.proxy-route-state.rotating::before{content:"";width:7px;height:7px;margin-right:5px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:loading-spin .8s linear infinite}
.proxy-route-note{display:block!important;max-width:250px;margin-top:5px!important;color:#69748b!important;font-size:12px!important;line-height:1.45;white-space:normal;word-break:break-word}
.proxy-status.degraded{background:#fff5dd;color:#9e6b08}.import-account-name .proxy-route-state{margin-top:5px}.import-account-name .proxy-route-note{max-width:190px}
@media(max-width:850px){.proxy-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.proxy-stats{grid-template-columns:1fr}}

/* Collected results to outreach workflow */
.task-result-panel{width:min(960px,calc(100% - 30px))}.collected-results{position:relative;padding:0;overflow:hidden}.collected-results-heading{padding:15px 17px 0}.collection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;border-bottom:1px solid var(--line)}.collection-source-filters{display:flex;flex-wrap:wrap;gap:7px}.collection-filter-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e0e4ed;border-radius:9px;background:#fff;color:#626d82;font-size:12px;font-weight:750;cursor:pointer}.collection-filter-chip b{min-width:17px;padding:2px 5px;border-radius:8px;background:#f0f2f6;color:#70798c;font-size:12px;text-align:center}.collection-filter-chip.active{border-color:#817cf3;background:#f0efff;color:#514bd1}.collection-filter-chip.active b{background:#dedcff;color:#514bd1}.collection-secondary-filters{display:flex;align-items:center;gap:7px}.collection-secondary-filters select,.collection-secondary-filters input{width:auto;margin:0;font-size:12px}.collection-secondary-filters select{min-width:105px}.collection-secondary-filters>input{min-width:190px}.collection-repeat{display:flex;align-items:center;gap:5px;color:#657087;font-size:12px;white-space:nowrap}.collection-repeat input{width:58px;padding:8px}.collection-selectbar{display:flex;align-items:center;gap:13px;min-height:45px;padding:8px 17px;background:#fafbfe;border-bottom:1px solid var(--line);font-size:12px}.collection-selectbar label{display:flex;align-items:center;gap:7px;font-weight:700}.collection-selectbar input{width:15px;height:15px;margin:0}.collection-selectbar .text-button{padding:6px 8px}.collection-selectbar>span{margin-left:auto;color:var(--muted)}.collected-results-list{max-height:390px;padding:12px 14px 84px}.collected-result-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start}.collected-result-row.not-selectable{background:#f7f8fb}.collection-check{display:flex;padding-top:2px}.collection-check input{position:absolute;opacity:0}.collection-check span{width:17px;height:17px;display:grid;place-items:center;border:1px solid #cbd2df;border-radius:5px;background:#fff}.collection-check input:checked+span{border-color:#625bf6;background:#625bf6}.collection-check input:checked+span::after{content:'✓';color:#fff;font-size:12px;font-weight:900}.collection-check input:disabled+span{opacity:.45}.collected-result-copy{min-width:0}.contact-state{display:inline-flex;padding:3px 7px;border-radius:8px;background:#e9f8f2;color:#148269;font-size:12px;font-weight:750}.contact-state.untouched{background:#eef0ff;color:#5550d4}.contact-state.contacted{background:#fff5df;color:#9f6a08}.contact-state.excluded{background:#f0f2f6;color:#778195}.collection-load-more{align-self:center;margin:3px auto 0}.collection-bulkbar{position:absolute;left:14px;right:14px;bottom:0;z-index:3;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:11px 13px;border:1px solid #dfe3ef;border-radius:11px;background:rgba(255,255,255,.97);box-shadow:0 -8px 22px rgba(22,32,55,.08);backdrop-filter:blur(6px)}.collection-bulkbar>div{margin-right:auto}.collection-bulkbar>div b{font-size:18px;color:#514bd1}.collection-bulkbar>div span{color:var(--muted);font-size:12px}.collection-bulkbar button{font-size:12px}.collection-target-panel{width:min(520px,calc(100% - 30px))}.collection-target-panel label[hidden]{display:none}

.collection-purpose{display:flex;align-items:center;gap:6px;color:#657087;font-size:12px;white-space:nowrap}.collection-purpose select{min-width:106px}

/* Target lists and contact history */
.target-card{grid-template-columns:46px minmax(0,1fr) minmax(180px,auto)}.target-actions{flex-wrap:wrap;justify-content:flex-end}.target-actions .target-quick.dm{background:#625bf6;color:#fff}.target-actions .target-quick.follow{background:#e9f8f2;color:#138269}.target-contact-card{margin-top:18px;padding:0;overflow:hidden}.target-contact-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;border-bottom:1px solid var(--line)}.target-contact-head h3{font-size:16px}.target-contact-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.target-contact-filters{display:flex;align-items:center;gap:8px}.target-contact-filters select,.target-contact-filters input{width:auto;margin:0;font-size:12px}.target-contact-filters select{min-width:110px}.target-contact-filters input{min-width:190px}.target-contact-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.target-contact-summary>div{padding:14px 18px;background:#fafbfe}.target-contact-summary span{display:block;color:var(--muted);font-size:12px}.target-contact-summary b{display:block;margin-top:4px;font-size:21px}.target-contact-summary .success b{color:#168269}.target-contact-summary .failed b{color:#cf4654}.target-contact-table{min-width:820px}.target-contact-table td>b,.target-contact-table td>small{display:block}.target-contact-table td>small{max-width:260px;margin-top:4px;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.contact-operation,.contact-result{display:inline-flex;padding:5px 8px;border-radius:10px;background:#f0f2f6;color:#677186;font-size:12px;font-weight:750}.contact-operation.dm{background:#eeefff;color:#514bd1}.contact-operation.follow{background:#e9f8f2;color:#148269}.contact-result.success{background:#e9f8f2;color:#148269}.contact-result.failed{background:#fff0f1;color:#ca4350}.contact-result.cancelled{background:#f0f2f6;color:#70798b}.contact-success{color:#148269;font-weight:800}.contact-failed{color:#ca4350;font-weight:800}
@media(max-width:900px){.collection-toolbar{align-items:flex-start;flex-direction:column}.collection-secondary-filters{width:100%;flex-wrap:wrap}.collection-secondary-filters>input{flex:1}.target-contact-head{align-items:flex-start;flex-direction:column}.target-contact-filters{width:100%;flex-wrap:wrap}.target-contact-filters input{flex:1}.target-card{grid-template-columns:46px minmax(0,1fr)}.target-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:620px){.collection-selectbar{align-items:flex-start;flex-wrap:wrap}.collection-selectbar>span{width:100%;margin-left:0}.collection-bulkbar{flex-wrap:wrap}.collection-bulkbar>div{width:100%;margin:0}.collection-bulkbar button{flex:1}.collected-result-row{grid-template-columns:24px minmax(0,1fr)}.collected-result-row>a{grid-column:2;margin-top:7px}.target-contact-summary{grid-template-columns:repeat(2,1fr)}}

/* Account import task center */
.import-preflight-result{border:1px solid #cbd5e1;border-radius:14px;padding:14px;background:#f8fafc;scroll-margin-block:110px}.import-preflight-result.ready{border-color:#a7f3d0;background:#f0fdf4}.import-preflight-result.blocked{border-color:#fecaca;background:#fff7f7}.preflight-result-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.preflight-result-title b{font-size:14px;color:#172033}.preflight-result-title span{font-size:12px;color:#667085}.preflight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:8px}.preflight-grid span{display:flex;flex-direction:column;color:#64748b;font-size:12px}.preflight-grid b{font-size:18px;color:#172033;margin-top:3px}.import-preflight-result p{font-size:13px;line-height:1.55;color:#667085;margin:6px 0}.import-preflight-result .preflight-blocker,.import-preflight-result .preflight-error{color:#c2414c}.import-preflight-result .preflight-blocker{font-weight:700}.import-preflight-result .preflight-warning{color:#a16207}.import-monitor-metrics{margin:0 0 16px;padding:16px 16px 0}.import-monitor-metrics .admin-metric{min-width:0}
.import-job-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.import-job-metric{position:relative;overflow:hidden;padding:17px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.import-job-metric::after{content:"";position:absolute;right:-20px;top:-28px;width:75px;height:75px;border-radius:50%;background:rgba(93,95,239,.06)}.import-job-metric span,.import-job-metric small{display:block;color:var(--muted);font-size:12px}.import-job-metric b{display:block;margin:6px 0 2px;font-size:24px;font-variant-numeric:tabular-nums}.import-job-metric.tone-1 b{color:#5d5fef}.import-job-metric.tone-2 b{color:#15936a}.import-job-metric.tone-3 b{color:#d94d5c}.import-job-workspace{display:grid;grid-template-columns:minmax(285px,360px) minmax(0,1fr);gap:15px;align-items:start}.import-job-list-card,.import-job-detail-card{padding:0;overflow:hidden}.import-job-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 18px;border-bottom:1px solid var(--line)}.import-job-card-head h3{margin:0 0 4px;font-size:15px}.import-job-card-head p{margin:0;color:var(--muted);font-size:12px}.import-job-card-head select{width:auto;min-width:104px;margin:0;padding:8px 27px 8px 10px;font-size:12px}.import-job-list{display:grid;gap:7px;max-height:calc(100vh - 315px);padding:10px;overflow:auto}.import-job-row{display:grid;gap:8px;width:100%;padding:13px;border:1px solid #e7ebf3;border-radius:11px;background:#fafbfe;color:var(--ink);text-align:left;cursor:pointer;transition:.16s}.import-job-row:hover{border-color:#cfd2ff;transform:translateY(-1px)}.import-job-row.active{border-color:#7778f5;background:#f2f2ff;box-shadow:0 0 0 2px rgba(93,95,239,.08)}.import-job-row-top,.import-job-row-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.import-job-row-top b{font-size:12px}.import-job-status,.import-item-status{display:inline-flex;align-items:center;width:max-content;padding:4px 7px;border-radius:999px;background:#eef1f6;color:#69758b;font-size:12px;font-style:normal;font-weight:750;white-space:nowrap}.import-job-status.running,.import-job-status.queued,.import-item-status.processing,.import-item-status.browser_queued,.import-item-status.waiting_user{background:#ececff;color:#5455dd}.import-job-status.completed,.import-item-status.succeeded{background:#e7f8f1;color:#13805e}.import-job-status.partial,.import-job-status.failed,.import-item-status.failed{background:#fff0f1;color:#ce4553}.import-job-status.paused{background:#fff5dd;color:#9e6b08}.import-job-row-time{color:#8a94a7;font-size:12px}.import-job-progress,.import-job-detail-progress{height:6px;overflow:hidden;border-radius:99px;background:#e7eaf1}.import-job-progress i,.import-job-detail-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5d5fef,#8b85ff);transition:width .3s ease}.import-job-row-foot{justify-content:flex-start;color:#637086;font-size:12px}.import-job-row-foot em{font-style:normal}.import-job-row-foot .failed{color:#cb4b58}.import-job-row-foot strong{margin-left:auto;color:#4b55be;font-size:12px}.import-job-placeholder{display:grid;place-items:center;min-height:430px;color:#778198;text-align:center}.import-job-placeholder span{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#efefff;color:#5d5fef;font-size:25px}.import-job-placeholder b{margin-top:-85px;font-size:14px}.import-job-placeholder small{margin-top:-140px}.import-job-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid var(--line)}.import-job-detail-head h3{margin:5px 0 3px;font-size:17px}.import-job-detail-head p{margin:0;color:var(--muted);font-size:12px}.import-job-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.import-job-overview{display:grid;grid-template-columns:repeat(4,1fr);padding:12px 20px;background:#fafbfe}.import-job-overview div{padding:3px 13px;border-right:1px solid var(--line)}.import-job-overview div:first-child{padding-left:0}.import-job-overview div:last-child{border:0}.import-job-overview span{display:block;color:var(--muted);font-size:12px}.import-job-overview b{display:block;margin-top:3px;font-size:18px}.import-job-overview b.success{color:#15936a}.import-job-overview b.failed{color:#d94d5c}.import-job-detail-progress{margin:0 20px;height:7px}.import-job-table{margin-top:10px}.import-job-table th,.import-job-table td{padding:11px 13px}.import-job-table th:first-child,.import-job-table td:first-child{padding-left:20px}.import-job-table th:last-child,.import-job-table td:last-child{padding-right:20px}.import-account-name b,.import-account-name small{display:block}.import-account-name b{font-size:12px}.import-account-name small{margin-top:3px;color:var(--muted);font-size:12px}.import-item-message{display:block;max-width:310px;color:#657087;font-size:12px;line-height:1.45;word-break:break-word}.import-item-status.skipped,.import-item-status.cancelled{background:#f1f3f6;color:#7d8798}@media(max-width:1100px){.import-job-workspace{grid-template-columns:1fr}.import-job-list{grid-template-columns:repeat(2,1fr);max-height:none}.import-job-placeholder{min-height:280px}}@media(max-width:760px){.import-job-metrics{grid-template-columns:repeat(2,1fr)}.import-job-list{grid-template-columns:1fr}.import-job-detail-head{display:block}.import-job-actions{justify-content:flex-start;margin-top:12px}.import-job-overview{grid-template-columns:repeat(2,1fr);gap:8px}.import-job-overview div{border:0;padding:5px 0}}

/* Alert center */
.alert-overview-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-2px 0 16px;padding:14px 16px;border:1px solid #e3e4f5;border-radius:13px;background:linear-gradient(110deg,#fff 0%,#f7f7ff 100%)}.alert-overview-strip>div{display:flex;align-items:center;gap:11px}.alert-overview-strip b,.alert-overview-strip small{display:block}.alert-overview-strip small{margin-top:3px;color:var(--muted);font-size:12px}.alert-overview-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eeedff;color:#5751df;font-size:18px;font-weight:900}.alert-overview-values{margin-left:auto}.alert-overview-values>span{padding:0 12px;border-right:1px solid #e1e4ed;color:#687287;font-size:12px}.alert-overview-values>span b{display:inline;color:#20283a;font-size:13px}.alert-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:15px}.alert-metric{padding:15px 16px;border:1px solid var(--line);border-radius:13px;background:#fff}.alert-metric span,.alert-metric small{display:block;color:var(--muted);font-size:12px}.alert-metric b{display:block;margin:5px 0 2px;font-size:24px}.alert-metric.critical b{color:#d34755}.alert-metric.warning b{color:#d78514}.alert-metric.info b{color:#5551d9}.alert-center-card{padding:0;overflow:hidden}.alert-filter-bar{display:grid;grid-template-columns:minmax(230px,1fr) repeat(4,minmax(120px,auto));gap:8px;padding:15px 17px;border-bottom:1px solid var(--line)}.alert-filter-bar select,.alert-filter-bar input{width:100%;margin:0;font-size:12px}.alert-search{position:relative}.alert-search span{position:absolute;left:11px;top:10px;color:#8b94a5}.alert-search input{padding-left:30px}.alert-bulk-bar{display:flex;align-items:center;gap:12px;padding:10px 17px;background:#fafbfe;border-bottom:1px solid var(--line);font-size:12px}.alert-bulk-bar label{display:flex;align-items:center;gap:6px;font-weight:750}.alert-bulk-bar input[type=checkbox]{width:15px;height:15px;margin:0}.alert-bulk-bar>span{color:var(--muted)}.alert-bulk-bar>input{width:min(360px,32vw);margin:0 0 0 auto;padding:8px 10px;font-size:12px}.alert-table{min-width:1120px}.alert-table td{height:72px}.alert-row.critical{background:linear-gradient(90deg,rgba(255,239,241,.65),transparent 22%)}.alert-severity,.alert-status{display:inline-flex;align-items:center;width:max-content;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.alert-severity i{width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor}.alert-severity.critical{background:#fff0f1;color:#ca3f4d}.alert-severity.warning{background:#fff5e1;color:#a66a08}.alert-severity.info{background:#eeefff;color:#514bd0}.alert-status.open{background:#fff1e4;color:#a35e08}.alert-status.acknowledged{background:#eef0ff;color:#5550d0}.alert-status.resolved{background:#e8f8f2;color:#148269}.alert-title{display:grid;gap:3px;min-width:160px}.alert-title small{color:#7d879a;font-size:12px}.alert-title b{font-size:12px}.alert-title em{width:max-content;padding:2px 5px;border-radius:6px;background:#f0f2f6;color:#687287;font-size:12px;font-style:normal}.alert-reason{display:-webkit-box;max-width:330px;margin:0;overflow:hidden;color:#4e586d;font-size:12px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.alert-time b,.alert-time small{display:block;white-space:nowrap}.alert-time b{font-size:12px}.alert-time small{margin-top:4px;color:var(--muted);font-size:12px}.alert-detail-panel{width:min(720px,calc(100% - 30px));max-height:calc(100vh - 36px);overflow:auto}.alert-detail-head{display:flex;align-items:flex-start;gap:13px;margin:12px 0 17px}.alert-detail-head h2{font-size:20px}.alert-detail-head p{margin:7px 0 0;color:#596378;font-size:12px;line-height:1.65}.alert-detail-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.alert-detail-meta span{padding:10px 11px;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:12px}.alert-detail-meta b{display:block;margin-top:4px;color:#242c3d;font-size:12px}.alert-resolution{display:grid;gap:4px;margin-top:12px;padding:11px 13px;border-radius:10px;background:#eaf8f3;color:#16795f;font-size:12px}.alert-history{margin-top:17px}.alert-history h3{margin-bottom:9px;font-size:13px}.alert-history-item{display:grid;grid-template-columns:12px 1fr;gap:9px;padding:9px 2px;border-top:1px solid #edf0f5}.alert-history-item>i{width:8px;height:8px;margin-top:3px;border:2px solid #7773ed;border-radius:50%}.alert-history-item b,.alert-history-item span,.alert-history-item small{display:block}.alert-history-item b{font-size:12px}.alert-history-item span{margin-top:3px;color:#576176;font-size:12px}.alert-history-item small{margin-top:4px;color:var(--muted);font-size:12px}.nav-message-count.visible{display:inline-flex}.nav-message-count:empty{display:none}
@media(max-width:1180px){.alert-metrics{grid-template-columns:repeat(3,1fr)}.alert-filter-bar{grid-template-columns:1fr 1fr 1fr}.alert-search{grid-column:1/-1}.alert-overview-strip{align-items:flex-start;flex-direction:column}.alert-overview-values{margin-left:0;flex-wrap:wrap}}
@media(max-width:720px){.alert-metrics{grid-template-columns:repeat(2,1fr)}.alert-filter-bar{grid-template-columns:1fr 1fr}.alert-search{grid-column:1/-1}.alert-bulk-bar{align-items:flex-start;flex-wrap:wrap}.alert-bulk-bar>input{width:100%;margin:0}.alert-detail-meta{grid-template-columns:repeat(2,1fr)}.alert-overview-values>span{padding:5px 8px}.alert-overview-values button{width:100%}}

/* Task strategy templates */
.task-strategy-picker{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:12px;margin:14px 0;padding:13px 14px;border:1px solid #dddffc;border-radius:12px;background:linear-gradient(105deg,#fafaff,#f5f5ff)}.task-strategy-picker label{margin:0}.task-strategy-picker select{margin-top:6px}.task-strategy-picker>div{display:flex;align-items:center;gap:9px;padding-bottom:1px}.task-strategy-picker small{max-width:250px;color:#686f89;font-size:12px;line-height:1.45}.task-strategy-panel{width:min(1040px,calc(100% - 30px));max-height:calc(100vh - 30px);overflow:auto}.strategy-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.strategy-heading h2{margin-top:4px}.strategy-workspace{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(480px,1.35fr);gap:14px;margin-top:17px}.strategy-list{display:flex;flex-direction:column;gap:8px;max-height:660px;overflow:auto;padding-right:3px}.strategy-card{padding:13px 14px;border:1px solid #e1e4ec;border-radius:12px;background:#fafbfe}.strategy-card.disabled{opacity:.62;background:#f3f4f7}.strategy-card>div:first-child,.strategy-card>div:last-child{display:flex;align-items:center;gap:7px}.strategy-card>div:first-child em{padding:3px 6px;border-radius:8px;background:#e8e7ff;color:#514bd1;font-size:12px;font-style:normal;font-weight:800}.strategy-card>b,.strategy-card>small,.strategy-card>p{display:block}.strategy-card>b{margin-top:8px;font-size:12px}.strategy-card>small{margin-top:4px;color:var(--muted);font-size:12px}.strategy-card>p{margin:8px 0;color:#5c667b;font-size:12px}.strategy-type{padding:4px 7px;border-radius:9px;background:#eeefff;color:#514bd1;font-size:12px;font-weight:800}.strategy-type.dm{background:#fff1e8;color:#b25f15}.strategy-type.follow{background:#e8f8f2;color:#148269}.strategy-type.collect{background:#edf3ff;color:#3f69bd}.strategy-card>div:last-child{justify-content:flex-end}.strategy-empty{display:grid;place-items:center;min-height:230px;padding:30px;border:1px dashed #d9ddea;border-radius:12px;color:var(--muted);text-align:center}.strategy-empty b{color:#354056}.strategy-empty span{margin-top:-70px;font-size:12px}.strategy-form{padding:17px;border:1px solid var(--line);border-radius:13px;background:#fff}.strategy-form label{font-size:12px}.strategy-form input,.strategy-form select{font-size:12px}.strategy-options{display:flex;gap:24px;margin-top:12px}.strategy-options .check-option{margin:0}.strategy-form .modal-actions{margin-top:15px}
@media(max-width:900px){.strategy-workspace{grid-template-columns:1fr}.strategy-list{display:grid;grid-template-columns:repeat(2,1fr);max-height:300px}.task-strategy-panel{max-height:calc(100vh - 20px)}}
@media(max-width:620px){.task-strategy-picker{grid-template-columns:1fr}.task-strategy-picker>div{align-items:flex-start;flex-direction:column}.strategy-list{grid-template-columns:1fr}.strategy-heading{align-items:flex-start;flex-direction:column}.strategy-workspace{display:block}.strategy-form{margin-top:12px}}
.task-preflight-panel{width:min(760px,calc(100% - 30px));max-height:calc(100vh - 30px);overflow-y:auto}.task-preflight-status{display:flex;gap:13px;align-items:center;margin-top:18px;padding:16px;border-radius:13px}.task-preflight-status>span{width:38px;height:38px;display:grid;place-items:center;flex:none;border-radius:50%;font-size:20px;font-weight:900}.task-preflight-status b,.task-preflight-status small{display:block}.task-preflight-status b{font-size:14px}.task-preflight-status small{margin-top:4px;font-size:12px;line-height:1.5}.task-preflight-status.success{background:#ecfbf6;color:#147d63}.task-preflight-status.success>span{background:#d6f6ea}.task-preflight-status.failed{background:#fff1f2;color:#c73d4b}.task-preflight-status.failed>span{background:#ffdfe2}.task-preflight-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.task-preflight-stats>div{padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:#fff}.task-preflight-stats span{display:block;color:var(--muted);font-size:12px}.task-preflight-stats b{display:block;margin-top:5px;font-size:17px}.task-preflight-stats .good b{color:var(--green)}.task-preflight-stats .bad b{color:#dc4753}.task-preflight-details{display:grid;gap:10px;margin-top:12px}.task-preflight-details section{padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:#fafbff}.task-preflight-details section>b{font-size:12px}.task-preflight-details p{margin-top:6px;color:#60677d;font-size:12px;line-height:1.6}.preflight-messages,.preflight-account-list{display:grid;gap:6px;margin:8px 0 0;padding:0;list-style:none}.preflight-messages li{padding:8px 10px;border-radius:8px;font-size:12px}.preflight-messages .error{background:#fff0f1;color:#c43c49}.preflight-messages .warning{background:#fff8e8;color:#a66b00}.preflight-account-list{grid-template-columns:1fr 1fr}.preflight-account-list li{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:8px;background:#fff;font-size:12px}.preflight-account-list li span{color:var(--muted);text-align:right}.task-preflight-details section>small{display:block;margin-top:8px;color:var(--muted);font-size:12px}@media(max-width:680px){.task-preflight-stats{grid-template-columns:1fr 1fr}.preflight-account-list{grid-template-columns:1fr}}
.task-status.paused{background:#fff5dd;color:#9e6b08}.text-button.control{background:#e9faf4;color:#147d63}.task-control-panel{width:min(980px,calc(100% - 30px));max-height:calc(100vh - 24px);overflow-y:auto}.task-control-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.task-control-heading h2{margin-top:5px}.task-control-heading p{margin-top:6px;color:var(--muted);font-size:12px}.task-control-state{padding:7px 10px;border-radius:20px;background:#e9faf4;color:#147d63;font-size:12px;font-weight:800}.task-control-state.paused{background:#fff5dd;color:#9e6b08}.task-control-state.failed,.task-control-state.stopped{background:#fff0f1;color:#cc4050}.task-control-progress{margin-top:18px;padding:15px 17px;border:1px solid var(--line);border-radius:13px;background:#fafbff}.task-control-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:12px}.task-control-progress b{font-size:18px}.task-control-progress-bar{height:8px;margin-top:10px;overflow:hidden;border-radius:99px;background:#e6e9f0}.task-control-progress-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5d5fef,#7e79ff);transition:width .35s ease}.task-control-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:10px}.task-control-metrics>div{padding:12px 13px;border:1px solid var(--line);border-radius:11px;background:#fff}.task-control-metrics span{display:block;color:var(--muted);font-size:12px}.task-control-metrics b{display:block;margin-top:4px;font-size:16px}.task-control-actions{display:flex;align-items:end;gap:8px;margin-top:12px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff}.task-control-settings{display:grid;grid-template-columns:repeat(3,105px) auto;align-items:end;gap:8px;margin-left:auto}.task-control-settings label{font-size:12px}.task-control-settings input{margin-top:4px;padding:8px 9px;font-size:12px}.task-control-failures:not(:empty){display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;padding:10px 12px;border-radius:10px;background:#fff7f0}.task-control-failures span{padding:5px 8px;border-radius:8px;background:#fff;color:#a75a14;font-size:12px}.task-control-account-head{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.task-control-account-head>div{display:flex;align-items:center;gap:9px}.task-control-account-head b{font-size:13px}.task-control-account-head span{color:var(--muted);font-size:12px}.task-control-account-list{display:grid;gap:7px;margin-top:9px}.task-control-account-row{display:grid;grid-template-columns:minmax(150px,1fr) 100px minmax(160px,1.4fr) 110px auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbfe}.task-control-account-row b,.task-control-account-row small{display:block}.task-control-account-row b{font-size:12px}.task-control-account-row small{margin-top:3px;color:var(--muted);font-size:12px}.task-account-state{width:max-content;padding:5px 8px;border-radius:12px;background:#eef1f6;color:#69758b;font-size:12px;font-weight:750}.task-account-state.running,.task-account-state.completed{background:#e7f8f1;color:#13805e}.task-account-state.paused{background:#fff5dd;color:#9e6b08}.task-account-state.failed{background:#fff0f1;color:#ce4553}.task-account-state.skipped{background:#f0f1f4;color:#7d8798}.task-account-target{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5f687d;font-size:12px}.task-account-counts{font-size:12px;color:var(--muted)}.task-control-empty{padding:30px;text-align:center;color:var(--muted);font-size:12px}@media(max-width:850px){.task-control-metrics{grid-template-columns:repeat(2,1fr)}.task-control-actions{align-items:stretch;flex-wrap:wrap}.task-control-settings{grid-template-columns:repeat(3,1fr);width:100%;margin-left:0}.task-control-settings button{grid-column:1/-1}.task-control-account-row{grid-template-columns:1fr auto}.task-control-account-row .task-account-target,.task-control-account-row .task-account-counts{grid-column:1/-1}}
.task-status.recovering,.task-control-state.recovering{background:#fff4df;color:#a96500}.task-result-item.recovering{border-color:#f1d7a8;background:#fffaf1}.task-result-item.recovering .result-icon{background:#ffedca;color:#a96500}.task-recovery-policy{margin-top:12px}.task-recovery-history{display:grid;gap:7px;padding:12px;border:1px solid #e1ddff;border-radius:12px;background:#faf9ff}.task-recovery-title{display:flex;align-items:center;justify-content:space-between}.task-recovery-title b{font-size:12px}.task-recovery-title span{font-size:12px;color:var(--muted)}.task-recovery-event{display:grid;grid-template-columns:72px minmax(100px,auto) 1fr;align-items:center;gap:8px;padding:8px 9px;border-radius:9px;background:#fff;border:1px solid var(--line)}.task-recovery-event>span{font-size:12px;font-weight:800;color:#735cc3}.task-recovery-event>b{font-size:12px}.task-recovery-event>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px}.task-recovery-event.blocked>span{color:#cc4050}.task-recovery-event.retried{border-color:#b9ead8;background:#f2fbf7}.task-recovery-event.retried>span{color:#15815f}@media(max-width:650px){.task-recovery-event{grid-template-columns:1fr 1fr}.task-recovery-event>small{grid-column:1/-1;white-space:normal}}
.task-control-account-row button:disabled{opacity:.38;cursor:not-allowed;filter:grayscale(.35)}
.backup-settings-bar{display:flex;align-items:end;gap:10px;padding:12px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafbfe}.backup-settings-bar>label:not(.check-option){min-width:145px;color:#596378;font-size:12px}.backup-settings-bar input{margin-top:5px;padding:8px 9px;font-size:12px}.backup-settings-bar .check-option{margin:0;padding:9px 11px}.backup-settings-bar>small{margin-left:auto;color:var(--muted);font-size:12px}.backup-last-restore:not(:empty){display:grid;grid-template-columns:auto 1fr auto;gap:10px;padding:10px 18px;border-bottom:1px solid #e3e5f0;background:#f7f7ff;color:#555f76;font-size:12px}.backup-last-restore b{color:#514bd1}.backup-restore-panel{width:min(560px,calc(100% - 30px))}.backup-restore-warning{margin:16px 0;padding:14px 15px;border:1px solid #f1cfd3;border-radius:11px;background:#fff5f6;color:#b03f4b}.backup-restore-warning b{font-size:12px}.backup-restore-warning p{margin:6px 0 0;font-size:12px;line-height:1.6}.backup-actions .delete{color:#ca4350}@media(max-width:850px){.backup-settings-bar{align-items:stretch;flex-wrap:wrap}.backup-settings-bar>label:not(.check-option){flex:1}.backup-settings-bar>small{width:100%;margin-left:0}.backup-last-restore:not(:empty){grid-template-columns:1fr}.backup-row{grid-template-columns:minmax(200px,1fr) 90px 100px 100px auto}}
.account-maintenance-panel{width:min(760px,calc(100% - 30px));max-height:calc(100vh - 30px);overflow-y:auto}.maintenance-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.maintenance-heading h2{margin-top:4px}.maintenance-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:17px 0}.maintenance-metrics>div{padding:12px 13px;border:1px solid var(--line);border-radius:11px;background:#fafbfe}.maintenance-metrics span{display:block;color:var(--muted);font-size:12px}.maintenance-metrics b{display:block;margin-top:5px;font-size:18px}.maintenance-selection-actions{display:flex;align-items:center;gap:8px;margin-top:12px;padding:12px 13px;border:1px solid #dedffc;border-radius:11px;background:#f8f8ff}.maintenance-selection-actions>b{font-size:12px}.maintenance-selection-actions>span{flex:1;color:var(--muted);font-size:12px}.maintenance-log-section{margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.maintenance-log-section>div:first-child{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;background:#fafbfe}.maintenance-log-section>div:first-child b{font-size:12px}.maintenance-log-section>div:first-child span{color:var(--muted);font-size:12px}.maintenance-log-list{display:grid;gap:6px;max-height:240px;overflow-y:auto;padding:9px}.maintenance-log-item{display:grid;grid-template-columns:62px minmax(120px,.7fr) 1.5fr;align-items:center;gap:8px;padding:8px 9px;border:1px solid var(--line);border-radius:9px;background:#fff}.maintenance-log-item>span{width:max-content;padding:4px 7px;border-radius:9px;background:#eef1f6;color:#687287;font-size:12px;font-weight:800}.maintenance-log-item>b{font-size:12px}.maintenance-log-item>small{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.maintenance-log-item.healthy>span,.maintenance-log-item.restored>span{background:#e8f8f2;color:#148269}.maintenance-log-item.quarantined>span{background:#fff0f1;color:#c9404e}.maintenance-log-item.pending_quarantine>span{background:#fff5df;color:#a66b08}.account-care-badge{display:inline-flex;margin-left:5px;padding:3px 6px;border-radius:8px;background:#fff0f1;color:#cc4050;font-size:12px;font-weight:800}.maintenance-quarantined{background:linear-gradient(90deg,rgba(255,240,241,.7),transparent 30%)}@media(max-width:700px){.maintenance-metrics{grid-template-columns:repeat(2,1fr)}.maintenance-selection-actions{align-items:stretch;flex-direction:column}.maintenance-log-item{grid-template-columns:1fr 1fr}.maintenance-log-item>small{grid-column:1/-1;white-space:normal}}
.onboarding-launcher{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:14px 16px;border:1px solid #deddfd;border-radius:14px;background:linear-gradient(110deg,#f7f7ff,#fff)}
/* Guided user tutorial module v221 */
.tutorial-search{position:relative;display:flex;align-items:center;margin-bottom:16px}.tutorial-search>span{position:absolute;left:17px;color:#8590a5;font-size:19px}.tutorial-search input{width:100%;height:52px;margin:0;padding:0 82px 0 48px;border-color:#dfe3ec;border-radius:13px;background:#fff;font-size:13px;box-shadow:0 4px 13px rgba(25,35,55,.025)}.tutorial-search kbd{position:absolute;right:13px;padding:5px 8px;border:1px solid #e1e4eb;border-radius:7px;background:#f7f8fb;color:#838c9e;font-family:inherit;font-size:12px}.tutorial-progress{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:17px;padding:20px 24px}.tutorial-progress-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#efeeff;color:#625bf6;font-size:23px}.tutorial-progress>div:nth-child(2){display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:8px}.tutorial-progress span{font-size:15px;font-weight:850}.tutorial-progress b{color:#647087;font-size:12px}.tutorial-progress small{grid-column:1/-1;margin-top:7px;color:var(--muted);font-size:12px}.tutorial-progress-track{grid-column:1/-1;height:7px;margin-top:11px;overflow:hidden;border-radius:999px;background:#eceef4}.tutorial-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#625bf6,#817aff);transition:width .25s}.tutorial-progress>button{min-width:118px}.tutorial-layout{display:grid;grid-template-columns:190px minmax(0,1fr) 218px;align-items:start;gap:15px}.tutorial-categories{display:grid;gap:5px;padding:10px;position:sticky;top:92px}.tutorial-categories button{display:grid;grid-template-columns:28px 1fr;align-items:center;width:100%;min-height:45px;padding:7px 10px;border:0;border-radius:9px;background:transparent;color:#657087;text-align:left;cursor:pointer}.tutorial-categories button:hover{background:#f6f7fb;color:#333d51}.tutorial-categories button.active{background:#f0efff;color:#574fd8;font-weight:850}.tutorial-categories i{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:#f1f3f7;font-size:12px;font-style:normal}.tutorial-categories .active i{background:#fff;color:#625bf6}.tutorial-content{min-width:0}.tutorial-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,42%);gap:22px;min-height:255px;padding:27px;overflow:hidden}.tutorial-kicker{display:inline-flex;padding:5px 8px;border-radius:999px;background:#efeeff;color:#5b54d6;font-size:12px;font-weight:850}.tutorial-feature h2{margin:15px 0 9px;font-size:23px}.tutorial-feature p{max-width:460px;margin:0;color:#697388;font-size:12px;line-height:1.7}.tutorial-meta{display:flex;gap:19px;margin:16px 0;color:#727c91;font-size:12px}.tutorial-feature-art{position:relative;align-self:center;height:178px;border:1px solid #deddfd;border-radius:15px;background:linear-gradient(135deg,#f8f7ff,#eeeefe);overflow:hidden}.tutorial-art-rail{position:absolute;inset:19px auto 19px 17px;width:52px;display:grid;place-items:center;border-radius:10px;background:#fff9}.tutorial-art-rail i{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#dfe2ef;color:#fff;font-size:12px;font-style:normal}.tutorial-art-rail i:first-child{background:#625bf6}.tutorial-art-panels{position:absolute;inset:24px 22px 24px 84px;display:grid;gap:11px}.tutorial-art-panels span{border-radius:8px;background:#fff;box-shadow:0 5px 16px rgba(98,91,246,.07)}.tutorial-art-panels span:after{content:"";display:block;width:45%;height:7px;margin:14px;border-radius:7px;background:#dfe2ec}.tutorial-feature-art>b{position:absolute;right:14px;bottom:12px;width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:#625bf6;color:#fff;font-size:20px;box-shadow:0 8px 20px #625bf64c}.tutorial-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:13px}.tutorial-card{position:relative;min-height:210px;padding:20px}.tutorial-step{position:absolute;top:16px;left:16px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#efeeff;color:#625bf6;font-size:12px;font-weight:900}.tutorial-card-icon{width:42px;height:42px;display:grid;margin-left:39px;place-items:center;border-radius:13px;background:#f0efff;color:#625bf6;font-size:19px;font-style:normal}.tutorial-card-icon.success{background:#e9f8f1;color:#168166}.tutorial-card-icon.warning{background:#fff5e5;color:#a76c12}.tutorial-card-icon.shield{background:#edf7ff;color:#2580c4}.tutorial-card h3{margin:18px 0 8px;font-size:14px}.tutorial-card p{min-height:42px;margin:0;color:#707a8e;font-size:12px;line-height:1.7}.tutorial-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding-top:12px;border-top:1px solid #edf0f5;color:#838c9e;font-size:12px}.tutorial-card footer button{border:0;background:transparent;color:#5e57db;font-size:12px;font-weight:850;cursor:pointer}.tutorial-card[hidden],.tutorial-feature[hidden]{display:none}.tutorial-empty{padding:58px 20px;text-align:center}.tutorial-empty b,.tutorial-empty span{display:block}.tutorial-empty span{margin-top:8px;color:var(--muted);font-size:12px}.tutorial-help{position:sticky;top:92px;padding:19px}.tutorial-help h3{font-size:15px}.tutorial-help>p{margin:7px 0 13px;color:var(--muted);font-size:12px;line-height:1.6}.tutorial-help>a,.tutorial-help>button{display:grid;grid-template-columns:29px 1fr auto;align-items:center;gap:8px;width:100%;padding:12px 0;border:0;border-top:1px solid #edf0f5;background:transparent;color:inherit;text-align:left;text-decoration:none;cursor:pointer}.tutorial-help i{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f1f2fb;color:#625bf6;font-style:normal}.tutorial-help b,.tutorial-help small{display:block}.tutorial-help b{font-size:12px}.tutorial-help small{margin-top:3px;color:var(--muted);font-size:12px}.tutorial-help em{color:#9aa2b2;font-size:19px;font-style:normal}
@media(max-width:1180px){.tutorial-layout{grid-template-columns:175px minmax(0,1fr)}.tutorial-help{position:static;grid-column:1/-1;display:grid;grid-template-columns:170px repeat(3,1fr);align-items:center}.tutorial-help>p{margin:0}.tutorial-help>a,.tutorial-help>button{border-top:0;border-left:1px solid #edf0f5;padding:7px 12px}}
@media(max-width:820px){.tutorial-progress{grid-template-columns:48px 1fr}.tutorial-progress>button{grid-column:1/-1;width:100%}.tutorial-layout{grid-template-columns:1fr}.tutorial-categories{position:static;display:flex;overflow-x:auto}.tutorial-categories button{grid-template-columns:24px max-content;width:auto;flex:0 0 auto}.tutorial-feature{grid-template-columns:1fr}.tutorial-feature-art{display:none}.tutorial-help{grid-column:auto;display:block}.tutorial-help>a,.tutorial-help>button{border-left:0;border-top:1px solid #edf0f5;padding:12px 0}}
@media(max-width:560px){.tutorial-search kbd{display:none}.tutorial-search input{padding-right:14px}.tutorial-card-grid{grid-template-columns:1fr}.tutorial-feature{padding:20px}.tutorial-progress{padding:17px}.tutorial-progress-icon{display:none}.tutorial-progress{grid-template-columns:1fr}}
.guided-tutorial-shield{position:fixed;inset:0;z-index:890;background:rgba(13,20,32,.64);pointer-events:auto}.guided-tutorial-popover{position:fixed;z-index:920;width:min(390px,calc(100vw - 24px));padding:22px;border:1px solid #dddff0;border-radius:16px;background:#fff;box-shadow:0 26px 70px rgba(13,20,32,.3)}.guided-tutorial-popover[hidden],.guided-tutorial-controller[hidden],.guided-tutorial-shield[hidden]{display:none!important}.guided-tutorial-arrow{position:absolute;width:16px;height:16px;background:#fff;transform:translateX(-50%) rotate(45deg)}.guided-tutorial-popover[data-arrow="top"] .guided-tutorial-arrow{top:-9px;border-top:1px solid #dddff0;border-left:1px solid #dddff0}.guided-tutorial-popover[data-arrow="bottom"] .guided-tutorial-arrow{bottom:-9px;border-right:1px solid #dddff0;border-bottom:1px solid #dddff0}.guided-tutorial-popover[data-arrow="none"] .guided-tutorial-arrow{display:none}.guided-tutorial-kicker{color:#625bf6;font-size:12px;font-weight:900;letter-spacing:.2px}.guided-tutorial-popover h2{margin:8px 0 9px;font-size:18px}.guided-tutorial-popover>p{margin:0;color:#5f6a7e;font-size:13px;line-height:1.7}.guided-tutorial-progress{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:11px;margin-top:17px;padding-top:14px;border-top:1px solid #edf0f5}.guided-tutorial-progress>span{color:#737d90;font-size:12px}.guided-tutorial-progress>i{height:5px;overflow:hidden;border-radius:999px;background:#eceef4}.guided-tutorial-progress b{display:block;height:100%;border-radius:inherit;background:#625bf6;transition:width .2s}.guided-tutorial-actions{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;margin-top:17px}.guided-tutorial-controller{position:fixed;z-index:925;right:22px;bottom:22px;display:grid;grid-template-columns:33px auto 1fr auto;align-items:center;gap:10px;min-width:330px;padding:11px 13px;border:1px solid #dfe2eb;border-radius:13px;background:#fff;box-shadow:0 16px 40px rgba(13,20,32,.23)}.guided-tutorial-controller>i{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#efeeff;color:#625bf6;font-style:normal}.guided-tutorial-controller>b{font-size:12px}.guided-tutorial-controller>button{padding:7px 9px;border:0;background:transparent;color:#555f73;font-size:12px;font-weight:800;cursor:pointer}.guided-tutorial-target{position:relative!important;z-index:910!important;outline:3px solid #827cff!important;outline-offset:5px!important;box-shadow:0 0 0 8px rgba(98,91,246,.24),0 0 30px rgba(98,91,246,.55)!important;isolation:isolate}.modal.open.guide-modal{z-index:900}.modal.open.guide-modal .guided-tutorial-target{z-index:5!important}.guided-tutorial-paused .guided-tutorial-target{outline-color:#b7bdca!important;box-shadow:none!important}.guided-tutorial-paused .guided-tutorial-popover{display:none}.guided-tutorial-paused .guided-tutorial-controller{opacity:.96}@media(max-width:640px){.guided-tutorial-controller{right:12px;bottom:12px;left:12px;min-width:0}.guided-tutorial-popover{padding:18px}.guided-tutorial-actions{grid-template-columns:auto 1fr auto}.guided-tutorial-actions #guided-tutorial-skip{display:none}}
.onboarding-launcher>div{display:flex;align-items:center;gap:12px}.onboarding-launcher>div>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#625bf6;color:#fff;font-size:13px;font-weight:850;box-shadow:0 7px 16px #625bf62c}.onboarding-launcher b,.onboarding-launcher small{display:block}.onboarding-launcher b{font-size:13px}.onboarding-launcher small{margin-top:4px;color:var(--muted);font-size:12px}
.onboarding-panel{position:relative;width:min(760px,calc(100% - 30px));overflow-y:auto!important;scrollbar-gutter:auto;padding:28px}.onboarding-panel>.onboarding-close{position:absolute;z-index:3;right:16px;top:12px;display:grid;width:44px;height:44px;padding:0;place-items:center;border:0;background:#f4f6fa;color:#657087;font-size:24px;line-height:1;cursor:pointer}.onboarding-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-right:0}.onboarding-heading h2{margin:5px 0 7px;font-size:25px}.onboarding-heading p{color:var(--muted);font-size:12px}.onboarding-progress{min-width:130px;margin-right:48px;text-align:right}.onboarding-progress>b{display:block;color:#625bf6;font-size:24px}.onboarding-progress>span{display:block;width:130px;height:6px;margin:6px 0 5px auto;overflow:hidden;border-radius:999px;background:#eceef5}.onboarding-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#625bf6,#817bff);transition:width .25s ease}.onboarding-progress small{color:var(--muted);font-size:12px}
.onboarding-steps{display:grid;gap:9px;margin-top:22px}.onboarding-step{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 14px;border:1px solid #e4e6ee;border-radius:13px;background:#fff;transition:border-color .18s,box-shadow .18s}.onboarding-step.current{border-color:#aaa6ff;box-shadow:0 6px 18px #625bf614}.onboarding-step.done{background:#f7fcfa;border-color:#d8eee6}.onboarding-step.locked{background:#fafbfc}.onboarding-step-number{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#eff1f6;color:#768095;font-size:12px;font-weight:850}.onboarding-step.current .onboarding-step-number{background:#625bf6;color:#fff}.onboarding-step.done .onboarding-step-number{background:#ddf6ec;color:#13805e;font-size:16px}.onboarding-step-copy b,.onboarding-step-copy span{display:block}.onboarding-step-copy b{font-size:12px}.onboarding-step-copy span{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.onboarding-step-state{min-width:74px}.onboarding-step-state.done{color:#13805e;font-size:12px;font-weight:800}.onboarding-step-state.waiting{color:#8a91a2;font-size:12px}.onboarding-tip{display:flex;gap:9px;align-items:center;margin-top:14px;padding:10px 12px;border-radius:10px;background:#f5f5ff;color:#5854a8}.onboarding-tip span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#dddafe;font-size:12px;font-weight:850}.onboarding-tip p{font-size:12px;line-height:1.5}
@media(max-width:720px){.onboarding-heading{display:block;padding-right:48px}.onboarding-progress{margin-top:14px;margin-right:0;text-align:left}.onboarding-progress>span{margin-left:0}.onboarding-step{grid-template-columns:36px minmax(0,1fr)}.onboarding-step-state{grid-column:2}.onboarding-launcher{align-items:flex-start}.onboarding-launcher>button{white-space:nowrap}}
.persistence-status{padding:16px 18px}.persistence-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:13px}.persistence-overview>div{padding:13px 14px;border:1px solid #e8ebf1;border-radius:11px;background:#fafbfe}.persistence-overview span,.persistence-overview b{display:block}.persistence-overview span{color:var(--muted);font-size:12px}.persistence-overview b{margin-top:6px;font-size:12px}.persistence-overview.healthy>div:first-child{border-color:#cdeee3;background:#f1fbf7;color:#15755f}.persistence-overview.degraded>div:first-child{border-color:#f1cfd3;background:#fff5f6;color:#b03f4b}.persistence-documents{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.persistence-document{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e8ebf1;border-radius:11px}.persistence-document>i{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e8f8f2;color:#15866f;font-style:normal;font-weight:900}.persistence-document.inconsistent>i{background:#fff0f1;color:#ca4350}.persistence-document b,.persistence-document span{display:block}.persistence-document b{font-size:12px}.persistence-document span,.persistence-document small{margin-top:4px;color:var(--muted);font-size:12px}.persistence-error{margin:12px 0 0;padding:10px 12px;border-radius:9px;background:#fff0f1;color:#b03f4b;font-size:12px}@media(max-width:760px){.persistence-overview{grid-template-columns:1fr}.persistence-documents{grid-template-columns:1fr}.persistence-document{grid-template-columns:28px 1fr}.persistence-document>small{grid-column:2}}
.profile-panel{width:min(680px,calc(100% - 30px));max-height:calc(100vh - 30px);overflow:auto}.profile-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.profile-heading h2{margin-top:4px}.profile-panel fieldset{min-width:0;margin:0;padding:0;border:0}.profile-panel fieldset:disabled{opacity:.55}.profile-loading{display:flex;align-items:center;justify-content:center;gap:9px;margin:18px 0;padding:18px;border-radius:12px;background:#f6f7fb;color:var(--muted);font-size:12px}.profile-loading[hidden]{display:none!important}.profile-loading.checkpoint{justify-content:flex-start;flex-wrap:wrap;background:#fff8e8;color:#875d13;border:1px solid #f2d797}.profile-loading.checkpoint button{margin-left:auto}.profile-avatar-editor{display:grid;grid-template-columns:104px 1fr;align-items:center;gap:18px;margin:18px 0;padding:15px;border:1px solid var(--line);border-radius:13px;background:#fafbfe}.profile-avatar-preview{position:relative;width:92px;height:92px;display:grid;place-items:center;overflow:hidden;border:1px solid #e2e5ee;border-radius:50%;background:#ececff;color:var(--muted);font-size:12px}.profile-avatar-preview img,.account-avatar img{width:100%;height:100%;display:block;object-fit:cover}.profile-avatar-preview img{position:absolute;inset:0}.profile-avatar-editor input[type=file]{display:none}.profile-avatar-editor>div:last-child>span{display:block;margin-top:9px;color:var(--muted);font-size:12px}.profile-remove{width:max-content;margin-top:11px!important}.profile-panel textarea{height:92px}.account-avatar{position:relative;overflow:hidden;border-radius:50%}.account-avatar img{position:absolute;inset:0}@media(max-width:600px){.profile-avatar-editor{grid-template-columns:1fr}.profile-avatar-preview{margin:auto}.profile-heading{display:block}.profile-heading button{margin-top:10px}}
.profile-avatar-preview canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.profile-crop-controls{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:8px 12px;margin-top:12px;padding:10px;border-radius:10px;background:#f1f2ff}.profile-crop-controls[hidden]{display:none}.profile-crop-controls label{font-size:12px;color:var(--muted)}.profile-crop-controls input{width:100%;margin:4px 0 0;padding:0}.profile-crop-controls small{grid-column:1/-1;color:#625bf6}.profile-change-summary,.profile-save-result{margin-top:14px;padding:13px 15px;border:1px solid #dfe2f0;border-radius:12px;background:#fafbff}.profile-change-summary[hidden],.profile-save-result[hidden]{display:none}.profile-change-summary>b,.profile-save-result>strong{display:block;margin-bottom:8px;color:var(--text)}.profile-change-summary>div,.profile-save-result>div{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-top:1px solid #eceef6}.profile-change-summary span,.profile-save-result span{font-size:12px}.profile-change-summary small{max-width:70%;text-align:right;color:var(--muted)}.profile-change-summary p,.profile-save-result p{margin:8px 0 0;color:var(--muted);font-size:12px}.profile-save-result>small{display:block;margin-top:9px;color:var(--muted)}.profile-save-result .success b{color:#15926f}.profile-save-result .pending b{color:#b47b18}.profile-save-result .failed b{color:#d6455d}@media(max-width:600px){.profile-crop-controls{grid-template-columns:1fr}.profile-crop-controls small{grid-column:1}.profile-change-summary>div,.profile-save-result>div{display:block}.profile-change-summary small{display:block;max-width:none;text-align:left;margin-top:3px}}
.batch-profile-template-manager{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end;gap:10px;margin:14px 0;padding:12px;border:1px solid #dddff3;border-radius:12px;background:#fafaff}.batch-profile-template-manager label{margin:0}.batch-profile-template-manager label>span{display:block;margin-bottom:6px;font-size:12px;color:var(--muted)}.batch-profile-template-manager>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}@media(max-width:760px){.batch-profile-template-manager{grid-template-columns:1fr}.batch-profile-template-manager>div{align-items:stretch}.batch-profile-template-manager>div button{flex:1}}
.batch-profile-value-pools{margin:12px 0;padding:13px;border:1px solid #dfe3f0;border-radius:12px;background:#fbfcff}.batch-profile-pool-heading{display:flex;align-items:end;gap:14px}.batch-profile-pool-heading>div{margin-right:auto}.batch-profile-pool-heading b,.batch-profile-pool-heading span{display:block}.batch-profile-pool-heading>div span{margin-top:4px;color:var(--muted);font-size:12px}.batch-profile-pool-heading>label{margin:0;min-width:130px}.batch-profile-pool-heading .check-option{min-width:auto;margin-bottom:8px}.batch-profile-pool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:11px}.batch-profile-pool-grid label{margin:0}.batch-profile-pool-grid textarea{height:88px;margin-top:6px;font-size:12px}@media(max-width:760px){.batch-profile-pool-heading{align-items:stretch;flex-direction:column}.batch-profile-pool-heading>div{margin-right:0}.batch-profile-pool-grid{grid-template-columns:1fr}}
.batch-profile-mapping{margin:12px 0;padding:14px;border:1px solid #d8dcf0;border-radius:13px;background:linear-gradient(135deg,#fbfbff,#f7f9ff)}.batch-profile-mapping-heading{display:flex;align-items:center;gap:8px}.batch-profile-mapping-heading>div{min-width:0;margin-right:auto}.batch-profile-mapping-heading b,.batch-profile-mapping-heading span{display:block}.batch-profile-mapping-heading span{margin-top:4px;color:var(--muted);font-size:12px}.batch-profile-mapping-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.batch-profile-mapping-files label{margin:0;padding:10px;border:1px dashed #cfd4e7;border-radius:10px;background:#fff}.batch-profile-mapping-files label>span{display:block;margin-bottom:7px;font-weight:700}.batch-profile-mapping-files input{margin:0;padding:7px;font-size:12px}.batch-profile-mapping-preview{margin-top:10px;padding:11px;border-radius:10px;background:#fff;color:var(--muted)}.mapping-summary{display:flex;justify-content:space-between;gap:12px;color:var(--ink)}.mapping-summary span{color:var(--muted)}.mapping-valid-samples,.mapping-errors{margin-top:9px;border-top:1px solid #edf0f7}.mapping-valid-samples>div,.mapping-errors>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:7px 2px;border-bottom:1px solid #edf0f7}.mapping-valid-samples span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapping-errors b,.mapping-errors span{color:#c63d55}.mapping-errors small{display:block;padding-top:7px}@media(max-width:760px){.batch-profile-mapping-heading{align-items:stretch;flex-wrap:wrap}.batch-profile-mapping-heading>div{flex-basis:100%}.batch-profile-mapping-files{grid-template-columns:1fr}.mapping-summary,.mapping-valid-samples>div,.mapping-errors>div{display:block}.mapping-summary span,.mapping-valid-samples span,.mapping-errors span{display:block;margin-top:3px}}

/* ========================================================================== */
/* 2026-08 full-site usability and accessibility layer                        */
/* This layer deliberately preserves the existing JK colour and shape system. */
/* ========================================================================== */

:root{
  --muted:#626d81;
  --focus-ring:rgba(93,95,239,.26);
  --focus-stroke:#4f52df;
  --danger:#c83f4d;
  --danger-soft:#fff0f1;
  --warning-soft:#fff8e8;
}

html{font-size:14px;scroll-behavior:smooth}
body{font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
header h1{font-size:24px;line-height:1.25}
.section-toolbar h2,.page-title{font-size:24px;line-height:1.3}
.card-head h3,.admin-card-head h3,.analytics-card-head h3,.module-title{font-size:16px;line-height:1.4}
header p,.section-toolbar p,.card-head p,.admin-card-head p,.analytics-card-head p{font-size:13px;line-height:1.55}

label{font-size:14px;line-height:1.45}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea{
  min-height:42px;
  font-size:14px;
  line-height:1.45;
}
textarea{min-height:96px}
th,td{font-size:14px;line-height:1.45}
small,.field-help,.credential-hint,.session-help,.char-count,.execute-now-note small{
  font-size:12px!important;
  line-height:1.55;
}
.muted{font-size:12px;color:var(--muted)}
.eyebrow{font-size:12px;letter-spacing:1.15px}

/* Previously tiny labels, row copy and states now remain legible. */
:where(
  .account-care-badge,.account-warning,.admin-state,.alert-severity,.alert-status,
  .backup-kind,.backup-valid,.collection-filter-chip,.collection-purpose,
  .collection-repeat,.contact-operation,.contact-result,.contact-state,
  .current-session,.expiry-warning,.group-item em,.group-tag,.import-job-status,
  .import-item-status,.member-badge,.owner-badge,.pill,.plan-pill,.proxy-check-status,
  .proxy-missing,.proxy-protocol,.proxy-route-state,.proxy-simple-state,.proxy-status,
  .resource-badge,.source-badge,.status-badge,.strategy-type,.task-account-state,
  .task-control-state,.task-nav-count,.task-status,.task-type,.unread-count
){font-size:12px!important;line-height:1.35}

:where(
  .activity-row,.admin-primary-cell,.alert-detail-meta,.alert-history-item,.alert-title,
  .analytics-card-head,.analytics-empty,.analytics-source,.audit-row,.backup-name,
  .batch-profile-mapping-heading,.batch-profile-pool-heading,.batch-profile-preview,
  .check-progress-title,.collected-result-group-title,.collected-result-row,
  .collected-results-heading,.comment-head,.comment-main,.content-card-head,
  .content-card-foot,.conversation-copy,.conversation-header,.failure-row,
  .group-panel-head,.health-runtime-item,.health-service-copy,.import-account-name,
  .import-job-card-head,.import-job-detail-head,.maintenance-log-item,
  .maintenance-log-section,.maintenance-selection-actions,.message-bubble,
  .notification-copy,.onboarding-launcher,.onboarding-step-copy,.persistence-document,
  .plan-card,.post-detail-head,.profile-change-summary,.profile-save-result,
  .proxy-manager-head,.proxy-node,.proxy-settings-copy,.resource-item-top,
  .resource-panel-head,.result-main,.security-item,.source-summary,.subscription-item,
  .target-card,.target-contact-head,.target-conversion-heading,.target-funnel-head,
  .task-context-main,.task-control-account-head,.task-control-account-row,
  .task-control-heading,.task-preflight-status,.task-recovery-event,.task-result-item,
  .task-strategy-picker
) :where(p,span,small,em,a){font-size:12px!important;line-height:1.5}

:where(
  .activity-row,.admin-primary-cell,.alert-history-item,.alert-title,.audit-row,
  .collected-result-row,.comment-head,.content-card-head,.failure-row,
  .import-account-name,.maintenance-log-item,.persistence-document,.resource-item-top,
  .target-conversion-heading,.task-control-account-row,.task-recovery-event
) :where(b,strong){font-size:13px!important;line-height:1.45}

/* Secondary timestamps remain compact but never fall below the 12px readability floor. */
:where(
  .alert-time small,.import-job-row-time,.conversation-copy em,.conversation-header small,
  .post-detail-head small,.resource-item-top small,.target-card small,.task-control-account-row small
){font-size:12px!important;line-height:1.45}

/* Interactive controls: visible keyboard focus and a dependable touch target. */
button,.primary,.secondary,.danger,.text-button,.link,.icon-btn,.modal-close,
.notification-button,[role="button"],summary{
  min-height:40px;
  font-size:14px;
  line-height:1.2;
  touch-action:manipulation;
}
.compact{min-height:40px;padding:9px 13px;font-size:13px}
.modal-close,.onboarding-close,.proxy-modal-close{
  min-width:40px;
  min-height:40px;
  display:grid;
  place-items:center;
  border-radius:10px;
}

:where(
  a,button,input,select,textarea,summary,[tabindex]:not([tabindex="-1"]),[role="button"]
):focus-visible{
  outline:3px solid var(--focus-ring)!important;
  outline-offset:2px;
  border-color:var(--focus-stroke)!important;
  box-shadow:0 0 0 1px var(--focus-stroke)!important;
}
input[type="checkbox"]:focus-visible,input[type="radio"]:focus-visible{
  outline-offset:3px;
  box-shadow:none!important;
}
:where(button,input,select,textarea,[role="button"]):disabled,
:where(button,input,select,textarea,[role="button"])[aria-disabled="true"]{
  opacity:.52;
  cursor:not-allowed;
  filter:saturate(.72);
}

.primary:hover:not(:disabled){filter:brightness(.96);transform:translateY(-1px)}
.secondary:hover:not(:disabled){background:#e5e9f1;color:#354052}
.danger{color:var(--danger);background:var(--danger-soft);border:1px solid transparent}
.danger:hover:not(:disabled){background:#ffe2e5;border-color:#f2bfc5}
.danger-zone,.destructive-zone{
  margin-top:16px;
  padding:14px;
  border:1px solid #f2c9ce;
  border-radius:12px;
  background:#fff7f8;
}
.danger-zone :where(h3,b),.destructive-zone :where(h3,b){color:#a93441}

/* Low-frequency row actions may be exposed by pointer, keyboard, or touch. */
.row-actions,.table-actions,.more-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.row-actions.is-secondary,.table-actions.is-secondary{
  opacity:.72;
  transition:opacity .16s ease;
}
tr:hover .row-actions.is-secondary,tr:focus-within .row-actions.is-secondary,
.card:hover .table-actions.is-secondary,.card:focus-within .table-actions.is-secondary{
  opacity:1;
}
.more-button,.more-actions>summary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:40px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:#4e596c;
  cursor:pointer;
}

/* Unified modal viewport, scrolling and safe-area action footer. */
.modal{padding:clamp(10px,2.4vh,24px);overflow:hidden}
.modal-panel{
  max-width:calc(100vw - 20px);
  max-height:calc(100vh - 24px)!important;
  max-height:calc(100dvh - 24px)!important;
  overflow-x:hidden;
  overflow-y:scroll!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding-bottom:max(24px,env(safe-area-inset-bottom));
}
.account-import-panel{
  height:calc(100vh - 24px);
  height:calc(100dvh - 24px);
}
.modal-panel::-webkit-scrollbar{width:10px}
.modal-panel::-webkit-scrollbar-track{background:#f0f2f7;border-radius:999px}
.modal-panel::-webkit-scrollbar-thumb{background:#aeb5c7;border:2px solid #f0f2f7;border-radius:999px}
.modal-panel::-webkit-scrollbar-thumb:hover{background:#858da3}
.modal-panel>.modal-actions{
  position:sticky;
  z-index:4;
  bottom:calc(-1 * max(24px,env(safe-area-inset-bottom)));
  margin:22px -28px calc(-1 * max(24px,env(safe-area-inset-bottom)));
  padding:14px 28px max(14px,env(safe-area-inset-bottom));
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.96);
  box-shadow:0 -8px 20px rgba(26,35,52,.05);
  backdrop-filter:blur(10px);
}
.modal-panel>:first-child{scroll-margin-top:20px}

/* Compact configuration primitives used across task, proxy and maintenance UI. */
details,.advanced-config,.compact-config{
  margin-top:12px;
  border:1px solid #e0e4ee;
  border-radius:12px;
  background:#fafbfe;
}
details>summary,.advanced-config>summary,.compact-config>summary{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 42px 11px 14px;
  color:#30394b;
  font-weight:750;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
details>summary::-webkit-details-marker{display:none}
details>summary::after,.advanced-config>summary::after,.compact-config>summary::after{
  content:"⌄";
  position:absolute;
  right:15px;
  top:50%;
  color:#737d91;
  font-size:17px;
  transform:translateY(-50%) rotate(-90deg);
  transition:transform .18s ease;
}
details[open]>summary::after,.advanced-config[open]>summary::after,
.compact-config[open]>summary::after{transform:translateY(-50%) rotate(0)}
details[open]>summary,.advanced-config[open]>summary,.compact-config[open]>summary{
  border-bottom:1px solid var(--line);
  background:#f6f7fd;
}
details:not([open])>:not(summary){display:none!important;visibility:hidden}
.config-summary,.summary-tags,.compact-summary{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  margin-left:auto;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
.summary-tag,.config-chip{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 8px;
  border-radius:999px;
  background:#ececff;
  color:#5455d4;
  font-size:12px;
  font-weight:700;
}
.advanced-config-body,.compact-config-body,details>.form-grid,details>.details-body{
  padding:14px;
}
.recommended-reset{margin-left:auto;color:#5556d8;background:transparent;border:0}

/* Step flow, contextual help and persistent feedback. */
.stepper,.form-steps{
  display:grid;
  grid-template-columns:repeat(var(--step-count,3),minmax(0,1fr));
  gap:8px;
  margin:14px 0 18px;
}
.step,.form-step{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:9px 11px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fafbfe;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}
.step::before,.form-step::before{
  content:attr(data-step);
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  flex:none;
  border-radius:50%;
  background:#e8ebf2;
  color:#596478;
}
.step.active,.form-step.active{border-color:#aaaaff;background:#f3f3ff;color:#4546b7}
.step.active::before,.form-step.active::before{background:var(--accent);color:#fff}
.step.done::before,.form-step.done::before{content:"✓";background:#dff7ed;color:#147d63}

.help-tip,.help-question{
  position:relative;
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  margin-left:4px;
  border:1px solid #d7dce7;
  border-radius:50%;
  background:#fff;
  color:#626ddd;
  font-size:12px;
  font-weight:850;
  cursor:help;
}
.help-tip[data-help]::after,.help-question[data-help]::after{
  content:attr(data-help);
  position:absolute;
  z-index:30;
  left:50%;
  bottom:calc(100% + 9px);
  width:min(280px,75vw);
  padding:9px 11px;
  border-radius:9px;
  background:#1f2937;
  color:#fff;
  font-size:12px;
  font-weight:500;
  line-height:1.5;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,5px);
  transition:.15s ease;
}
.help-tip:hover::after,.help-tip:focus-visible::after,
.help-question:hover::after,.help-question:focus-visible::after{
  opacity:1;
  transform:translate(-50%,0);
}
.persistent-error,.inline-error,.retry-notice{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:12px 0;
  padding:12px 14px;
  border:1px solid #f0c6cb;
  border-radius:11px;
  background:#fff5f6;
  color:#9f3340;
  font-size:13px;
  line-height:1.55;
}
.persistent-error .retry,.inline-error .retry,.retry-notice .retry{margin-left:auto;flex:none}
.disabled-reason{
  display:block;
  margin-top:5px;
  color:#7d6470;
  font-size:12px;
  line-height:1.45;
}
.status-legend{
  display:flex;
  align-items:center;
  gap:8px 14px;
  flex-wrap:wrap;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fafbfe;
  color:#596478;
  font-size:12px;
}
.status-legend i{width:8px;height:8px;border-radius:50%;background:currentColor}
.task-estimate,.impact-preview{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:9px;
  margin-top:12px;
  padding:12px;
  border:1px solid #dedffc;
  border-radius:12px;
  background:#f8f8ff;
}
.task-estimate>div,.impact-preview>div{padding:9px 10px;border-radius:9px;background:#fff}
.task-estimate span,.impact-preview span{display:block;color:var(--muted);font-size:12px}
.task-estimate b,.impact-preview b{display:block;margin-top:3px;font-size:16px}

/* Mutually exclusive batch-profile modes. */
.profile-mode-tabs,.mode-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:14px 0;
  padding:5px;
  border-radius:12px;
  background:#f0f2f7;
}
.profile-mode-tabs button,.mode-tabs button{
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:#5e687a;
  box-shadow:none;
}
.profile-mode-tabs button.active,.mode-tabs button.active,
.profile-mode-tabs button[aria-selected="true"],.mode-tabs button[aria-selected="true"]{
  border-color:#dedffc;
  background:#fff;
  color:#4e50d6;
  box-shadow:0 4px 12px rgba(26,35,52,.07);
}
.profile-mode-panel[hidden],.mode-panel[hidden],.is-collapsed>.collapsible-content{
  display:none!important;
  visibility:hidden;
  pointer-events:none;
}

/* Keep policy banners the customer asked to hide hidden. */
.proxy-policy-note,.task-proxy-policy,.proxy-stats .policy{display:none!important}

/* Responsive tables stay readable without forcing a 560px empty viewport. */
.table-wrap{
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-gutter:stable;
}
.manage-table{min-width:max-content}
.empty-page,.import-job-placeholder{min-height:240px}

/* Drawer controls are wired by app.js; desktop keeps the existing fixed sidebar. */
.sidebar-toggle,.sidebar-backdrop{display:none}

@media (hover:none),(pointer:coarse){
  .row-actions.is-secondary,.table-actions.is-secondary{opacity:1}
}

@media(max-width:1000px){
  main{padding-right:22px;padding-left:22px}
  .section-toolbar{align-items:flex-start;flex-wrap:wrap}
  .section-actions{width:100%;flex-wrap:wrap}
  .bulk-toolbar{align-items:flex-start;gap:10px;flex-wrap:wrap}
  .bulk-toolbar>div{flex:1 1 100%}
  .modal-panel{width:min(720px,100%)}
}

@media(max-width:720px){
  html{scroll-behavior:auto}
  main{margin-left:0;padding:0 12px 28px}
  header{height:auto;min-height:72px;padding:10px 0 10px 50px;gap:10px}
  header h1{font-size:21px;margin-bottom:2px}
  header p{font-size:12px}
  .header-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}
  .header-actions .header-user{display:none}
  .header-actions>button:not(.notification-button):not(.header-menu-button):not(.sidebar-toggle){display:none}

  .sidebar-toggle{
    position:fixed;
    z-index:32;
    left:10px;
    top:14px;
    display:inline-grid;
    place-items:center;
    width:40px;
    height:40px;
    padding:0;
    border:1px solid #dfe3ec;
    border-radius:10px;
    background:#fff;
    color:#283247;
    box-shadow:0 6px 16px rgba(26,35,52,.12);
  }
  .sidebar{
    z-index:35;
    width:min(86vw,310px);
    padding:22px 16px max(20px,env(safe-area-inset-bottom));
    transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:18px 0 50px rgba(0,0,0,.18);
  }
  body.sidebar-open .sidebar,.sidebar.open{transform:translateX(0)}
  .sidebar-backdrop{
    position:fixed;
    z-index:34;
    inset:0;
    display:block;
    background:rgba(14,20,31,.52);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .2s ease,visibility .2s ease;
  }
  body.sidebar-open .sidebar-backdrop,.sidebar-backdrop.open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  body.sidebar-open{overflow:hidden}
  .sidebar .brand{padding:0 8px 22px}
  .sidebar .brand div,.sidebar .brand small,.sidebar nav span,.sidebar .sidebar-foot{display:block}
  .sidebar nav>button,.sidebar .nav-group-parent{
    grid-template-columns:20px minmax(0,1fr);
    justify-items:stretch;
    min-height:44px;
  }
  .sidebar .nav-caret,.sidebar .task-nav-count,.sidebar .nav-submenu-count{display:block}
  .sidebar .nav-submenu{margin-left:13px;padding-left:9px;border-left:1px solid transparent}
  .sidebar .nav-submenu button{
    grid-template-columns:24px 1fr auto;
    justify-items:stretch;
    min-height:40px;
    padding:8px 11px;
  }
  .sidebar .nav-group.expanded .nav-submenu{max-height:280px}

  .section-toolbar h2,.page-title{font-size:21px}
  .card{padding:16px}
  .card-head,.admin-card-head,.analytics-card-head{align-items:flex-start;gap:10px;flex-wrap:wrap}
  .section-actions>*,.bulk-toolbar button,.bulk-toolbar select{flex:1 1 145px}
  .bulk-proxy-select{width:auto}
  .stats{gap:10px}
  .modal{padding:8px;align-items:end}
  .modal-panel{
    width:100%!important;
    max-width:100%;
    max-height:calc(100vh - 10px)!important;
    max-height:calc(100dvh - 10px)!important;
    padding:22px 18px max(18px,env(safe-area-inset-bottom));
    border-radius:18px 18px 10px 10px;
  }
  .modal-panel>.modal-actions{
    margin-right:-18px;
    margin-left:-18px;
    padding-right:18px;
    padding-left:18px;
    flex-wrap:wrap;
  }
  .modal-panel>.modal-actions>button{flex:1 1 120px}
  .stepper,.form-steps{grid-template-columns:1fr}
  .config-summary,.summary-tags,.compact-summary{
    width:100%;
    margin:4px 0 0;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  details>summary,.advanced-config>summary,.compact-config>summary{align-items:flex-start;flex-direction:column}
  .profile-mode-tabs,.mode-tabs{grid-template-columns:1fr}
  .task-estimate,.impact-preview{grid-template-columns:repeat(2,minmax(0,1fr))}
  .toast{right:12px;bottom:max(12px,env(safe-area-inset-bottom));left:12px;text-align:center}

  /* Selected dense tables become readable cards when markup opts in. */
  .table-wrap.mobile-cards{overflow:visible}
  .mobile-cards .manage-table{display:block;min-width:0}
  .mobile-cards .manage-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}
  .mobile-cards .manage-table tbody{display:grid;gap:10px}
  .mobile-cards .manage-table tr{display:grid;gap:8px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff}
  .mobile-cards .manage-table td{display:grid;grid-template-columns:minmax(90px,35%) 1fr;gap:9px;padding:4px 0;border:0}
  .mobile-cards .manage-table td::before{content:attr(data-label);color:var(--muted);font-size:12px;font-weight:700}
  .empty-page,.import-job-placeholder{min-height:180px;padding:38px 16px}
}

@media(max-width:440px){
  .task-estimate,.impact-preview{grid-template-columns:1fr}
  .stats,.alert-metrics,.import-job-metrics,.maintenance-metrics{grid-template-columns:1fr}
  .profile-avatar-editor{padding:12px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
  .loading-spinner,.button-loading::before,.progress-pulse{animation:none!important}
}

/* Task content pools and multi-blogger limits. */
#task-batch-content-control{display:none}
.task-content-source-title{display:block;margin-bottom:8px}.task-content-mode-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}.task-content-mode-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}.task-content-mode-cards label{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) 18px;gap:10px;align-items:center;min-height:66px;padding:10px 12px;border:1px solid #e1e5ef;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.task-content-mode-cards label:hover{border-color:#c9c8ee;background:#fdfdff}.task-content-mode-cards label:has(input:checked){border-color:#7167f5;background:#f6f5ff;box-shadow:0 0 0 1px rgba(113,103,245,.1)}.task-content-mode-cards input{width:16px;height:16px;margin:0;accent-color:#655cf3}.task-content-mode-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#6d63ee;background:#eeecff}.task-content-mode-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.task-content-mode-cards .manual .task-content-mode-icon{color:#1e9b76;background:#e9f8f2}.task-content-mode-cards .random .task-content-mode-icon{color:#e7852e;background:#fff3e6}.task-content-mode-cards .mapping .task-content-mode-icon{color:#3377d6;background:#eaf2ff}.task-content-mode-copy{display:grid;gap:3px;min-width:0}.task-content-mode-copy b{font-size:14px;line-height:1.3}.task-content-mode-copy small{color:#7b8499;font-size:12px;line-height:1.3}.task-batch-text-section{display:grid;gap:8px}.task-batch-text-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-batch-text-heading small{color:#758097}.task-batch-text-section textarea{width:100%}.task-mapping-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.task-mapping-preview-grid span{padding:8px;border-radius:8px;background:rgba(255,255,255,.7)}.task-mapping-preview-detail{margin-top:8px;font-size:12px;line-height:1.5}
.task-batch-content-panel{width:min(760px,calc(100% - 30px))}
.task-batch-content-panel textarea{min-height:190px;font:14px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}
.task-batch-assignment-options{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(280px,1.3fr);align-items:end;gap:12px;margin-top:14px}
.task-batch-assignment-options .check-option{margin:0 0 4px}
.task-batch-content-preview{margin-top:14px;line-height:1.55}
.task-batch-content-preview.success{border-color:#bde8d8;background:#f2fbf7;color:#15775f}
.task-batch-content-preview.error{border-color:#f0c3ca;background:#fff5f6;color:#b33f50}
.task-blogger-limits{padding:14px;border:1px solid #dfe3f0;border-radius:12px;background:#fafbff}
.task-blogger-limits>.form-grid{margin-bottom:10px}
.strategy-blogger-fields{display:none;padding:12px;border:1px solid #e0e4ef;border-radius:11px;background:#fafbfe}
@media(max-width:720px){
  .task-batch-assignment-options{grid-template-columns:1fr}
  .task-blogger-limits .form-grid{grid-template-columns:1fr}
}

/* Final navigation and account-menu integration. */
.nav-section-title{
  display:block;
  padding:14px 15px 5px;
  color:#738097;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:none;
}
.header-actions{position:relative}
.header-menu-button{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:3px 9px 3px 4px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:var(--ink);
  cursor:pointer;
}
.header-menu-button:hover,.header-menu-button[aria-expanded="true"]{border-color:var(--line);background:#fff;box-shadow:var(--shadow)}
.header-menu-button .avatar{flex:none}
.header-menu-button .header-user{text-align:left}
.header-user-menu{
  position:absolute;
  z-index:45;
  top:calc(100% + 9px);
  right:0;
  display:grid;
  min-width:180px;
  padding:7px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 45px rgba(26,35,52,.16);
}
.header-actions>.header-user-menu:not([hidden]){display:grid}
.header-actions>.header-user-menu[hidden]{display:none}
.header-user-menu button{
  min-height:40px;
  padding:8px 11px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--ink);
  font-size:13px;
  text-align:left;
  cursor:pointer;
}
.header-user-menu button:hover{background:#f2f4f8}
.header-user-menu #logout-button{color:#c43f51}
.field-block{display:grid;gap:8px;margin:12px 0}
.field-label{font-size:13px;font-weight:700;color:var(--ink)}
.batch-profile-scope-picker{display:grid;grid-template-columns:minmax(120px,.35fr) minmax(220px,1fr);align-items:center;gap:12px;margin:14px 0 7px;padding:12px 14px;border:1px solid #dddffc;border-radius:12px;background:#f8f8ff}
.batch-profile-panel{width:min(920px,calc(100vw - 32px))}
.batch-profile-scope-picker label{margin:0;font-size:13px;font-weight:800}
.batch-profile-scope-picker select{margin:0}
.form-advanced-config{margin:12px 0;border:1px solid var(--line);border-radius:11px;background:#fafbfe}
.form-advanced-config>summary{padding:11px 13px;color:var(--ink);font-size:13px;font-weight:800}
.form-advanced-config>summary small{margin-left:auto;color:var(--muted);font-size:12px;font-weight:500}
.form-advanced-config>[class],.form-advanced-config>label{margin-right:13px;margin-left:13px}
.form-advanced-config>:last-child{margin-bottom:13px}
.member-port-core{display:block;margin-top:12px}
.toolbar-guidance{display:block;flex-basis:100%;margin-top:3px;color:#7a6470;font-size:12px;line-height:1.45}
button[data-disabled-reason]:disabled{cursor:not-allowed}

/* Keep all operational labels readable, including older high-specificity modules. */
:where(.strategy-form label,.backup-settings-bar>label:not(.check-option),.task-control-metrics span,.task-control-settings label,.task-control-failures span,.task-control-account-row small,.task-account-state,.task-account-counts,.admin-metric small,.admin-primary-cell small,.field-help,.batch-profile-template-manager label>span){font-size:12px!important;line-height:1.45}

@media(max-width:720px){
  .header-menu-button{padding-right:5px}
  .header-menu-button .header-user{display:none}
  .header-user-menu{position:fixed;top:68px;right:12px;left:auto}
  .header-user-menu #session-manager{display:block!important}
  .nav-section-title{padding-top:12px}
  .batch-profile-scope-picker{grid-template-columns:1fr}
  .task-manager .bulk-toolbar{overflow:visible}
  .task-manager .bulk-toolbar>div{flex:1 1 100%;flex-wrap:wrap}
}

/* inbox.css is loaded after this file; important sizing keeps the global floor. */
:where(
  .automation-mini-metrics span,.automation-rule-card p,.automation-rule-card small,
  .automation-status small,.inbox-bulk>span,.inbox-check-all,
  .inbox-comment-context>span,.inbox-metrics span,.inbox-reply-actions span,
  .inbox-state,.inbox-sync-errors p,.monitor-empty,.monitor-group-section>p,
  .monitor-log-item>span,.monitor-log-section>div:first-child span,
  .monitor-paused-section b,.monitor-log-item b,.monitor-paused-section small,
  .monitor-log-item small,.monitor-summary-details span,.monitor-summary-state small,
  .nav-message-count,.rule-badges i,.inbox-routing-badges i
){font-size:12px!important;line-height:1.5}

/* Customer self-service package purchase and platform payment configuration. */
.operation-error{display:flex;align-items:center;gap:10px;margin:12px 0;padding:11px 13px;border:1px solid #f2c8cf;border-radius:10px;background:#fff2f4;color:#ac3548;font-size:13px;line-height:1.5}
.operation-error[hidden]{display:none}.operation-error span{flex:1;min-width:0;overflow-wrap:anywhere}.operation-error button{flex:none;margin-left:auto}
#task-manual-upload-error{margin-top:10px}.manual-upload-status{color:var(--muted);font-size:12px}.manual-upload-status.uploading{color:var(--accent)}.manual-upload-status.success{color:var(--green)}.manual-upload-status.failed{color:#bd4051}
.billing-admin-status,.module-error{margin:0 18px 14px;padding:12px 14px;border-radius:10px;background:#f5f6fb;color:#59647c;font-size:13px;line-height:1.5}
.billing-admin-status button,.module-error button{margin-left:10px}
.billing-admin-status:empty{display:none}.billing-admin-status.success{background:#eefaf5;color:#15775f}.billing-admin-status.error,.module-error{background:#fff2f4;color:#b33f50}
.billing-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;padding:14px 18px}
.billing-settings-grid>.check-option{align-self:center;margin:0}.billing-clear-key{display:block;margin-top:6px;color:#bd4051}.billing-clear-key[hidden]{display:none}.billing-safety-note,.billing-warning{margin:0 18px 16px;padding:11px 13px;border-radius:10px;background:#fff8e8;color:#8b6314;font-size:12px;line-height:1.6}.billing-safety-note.error{background:#fff2f4;color:#b33f50}
.billing-current{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.billing-current>div{padding:16px 18px;border:1px solid var(--line);border-radius:13px;background:#fff}.billing-current span,.billing-current b,.billing-current small{display:block}.billing-current span{color:var(--muted);font-size:12px}.billing-current b{margin-top:6px;font-size:20px}.billing-current small{margin-top:5px;color:var(--muted);font-size:12px}
.billing-disabled{margin-bottom:16px;padding:18px;border-color:#efd7a7;background:#fff9ec}.billing-disabled b{font-size:16px}.billing-disabled p{margin:7px 0 0;color:#806323;font-size:13px}
.billing-catalog-card,.billing-order-card{margin-bottom:16px;padding:18px}.billing-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:14px}.billing-plan{display:grid;gap:10px;padding:17px;border:1px solid #dfe3ee;border-radius:13px;background:#fafbfe}.billing-plan.recommended{border-color:#8f8aff;background:#f7f6ff}.billing-plan h4{margin:0;font-size:17px}.billing-plan-price{font-size:24px;font-weight:900;color:#3933c9}.billing-plan-price small{font-size:12px;color:var(--muted)}.billing-plan p{margin:0;color:#59647c;font-size:13px;line-height:1.55}.billing-plan button{margin-top:auto}
.billing-order-state{padding:6px 10px;border-radius:999px;background:#fff3d7;color:#98670b;font-size:12px;font-weight:800}.billing-order-state.paid,.billing-order-state.applied{background:#eaf9f3;color:#15775f}.billing-order-state.failed,.billing-order-state.expired,.billing-order-state.manual_review{background:#fff0f2;color:#bd4051}
.billing-pay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.billing-pay-grid>div{position:relative;padding:13px 14px;border:1px solid #e2e6f0;border-radius:11px;background:#fafbfe}.billing-pay-grid span,.billing-pay-grid b{display:block}.billing-pay-grid span{color:var(--muted);font-size:12px}.billing-pay-grid b{margin-top:6px;font-size:15px;overflow-wrap:anywhere}.billing-pay-grid .text-button{position:absolute;right:9px;top:9px}.billing-address-block{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 154px;align-items:center;gap:18px}.billing-address-copy{position:relative;min-width:0;padding-right:76px}.billing-address-copy small{display:block;margin-top:10px;color:var(--muted);font-size:12px}.billing-address-qr{width:154px;height:154px;padding:7px;border:1px solid #dfe3ee;border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(29,37,61,.08)}.billing-address-qr svg{display:block;width:100%;height:100%}.billing-orders-table{min-width:900px}.billing-orders-table td,.billing-orders-table th{font-size:13px}.billing-tx-link{color:var(--accent);font-weight:700}.billing-transfer-panel{margin:16px 18px 18px}.billing-transfer-panel>summary{font-size:14px}.billing-transfer-panel>.field-help{margin:0;padding:0 14px 12px}.billing-transfers-table{min-width:840px}.billing-transfers-table td,.billing-transfers-table th{font-size:13px}.billing-transfer-address{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-manual-review{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff0f2;color:#bd4051;font-size:12px;font-weight:800}.plan-self-service{align-self:center;margin:0}.owner-only-page{display:none}.owner-only-page.active{display:block}
@media(max-width:900px){.billing-settings-grid{grid-template-columns:1fr 1fr}.billing-current{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.billing-settings-grid,.billing-current,.billing-pay-grid{grid-template-columns:1fr}.billing-address-block{grid-column:auto;grid-template-columns:1fr;justify-items:center}.billing-address-copy{width:100%}.billing-catalog-card,.billing-order-card{padding:14px}}

/* Account health and quarantine center. */
.account-health-settings{display:none;margin-bottom:16px;padding:0;overflow:hidden}.account-health-settings.visible{display:block}.account-health-settings>summary{padding:14px 17px;font-size:14px;font-weight:800}.account-health-settings>summary small{margin-left:8px;color:var(--muted);font-size:12px;font-weight:500}.account-health-settings>.operation-error{margin:0 17px 13px}.account-health-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;padding:15px 17px 5px;border-top:1px solid var(--line)}.account-health-settings-grid label{margin:0;font-size:13px;font-weight:700}.account-health-settings-grid label:not(.check-option)>input{margin-top:7px}.account-health-settings-grid .check-option{align-self:center;min-height:44px}.account-health-settings-options{display:flex;gap:18px;flex-wrap:wrap;padding:10px 17px}.account-health-settings-options .check-option{margin:0}.account-health-settings-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 17px 16px}.account-health-settings-actions>span{color:var(--muted);font-size:12px;line-height:1.5}.account-health-bulk .owner-only{display:none!important}.account-health-bulk .owner-only.visible{display:inline-block!important}
.account-health-toolbar{align-items:center}.account-health-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.account-health-summary-card{position:relative;min-height:112px;padding:16px 17px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.account-health-summary-card::after{content:"";position:absolute;right:-18px;bottom:-28px;width:76px;height:76px;border-radius:50%;background:rgba(116,128,150,.07)}.account-health-summary-card span,.account-health-summary-card b,.account-health-summary-card small{display:block}.account-health-summary-card span{color:var(--muted);font-size:13px}.account-health-summary-card b{margin-top:8px;font-size:25px;line-height:1}.account-health-summary-card small{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.45}.account-health-summary-card.healthy{border-color:#cdeee3;background:#f5fcf9}.account-health-summary-card.healthy b{color:#168268}.account-health-summary-card.watch,.account-health-summary-card.challenge{border-color:#f2dfb7;background:#fffbf2}.account-health-summary-card.watch b,.account-health-summary-card.challenge b{color:#a36e10}.account-health-summary-card.proxy_issue,.account-health-summary-card.login_required,.account-health-summary-card.quarantined{border-color:#f2d3d8;background:#fff8f9}.account-health-summary-card.proxy_issue b,.account-health-summary-card.login_required b,.account-health-summary-card.quarantined b{color:#bc4053}.account-health-summary-card.recovered{border-color:#d9ddff;background:#f8f8ff}.account-health-summary-card.recovered b{color:#5558d8}.account-health-summary-card.skeleton{grid-column:1/-1;min-height:auto;color:var(--muted)}
.account-health-error{margin:0 0 14px}.account-health-manager{padding:0;overflow:hidden}.account-health-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,.7fr)) minmax(210px,1fr) auto;align-items:end;gap:10px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fbfcfe}.account-health-filters label{display:grid;gap:6px;margin:0}.account-health-filters label>span{color:var(--muted);font-size:12px;font-weight:700}.account-health-filters input,.account-health-filters select{width:100%;margin:0}.account-health-bulk{height:auto}.account-health-bulk>div{flex-wrap:wrap}.account-health-bulk select{min-width:170px;margin:0}.account-health-progress{margin:0 18px 15px;padding:15px 17px;border:1px solid #dfe2ff;border-radius:13px;background:linear-gradient(135deg,#fafaff,#f5f7ff)}.account-health-progress[hidden]{display:none}.account-health-progress-head,.account-health-progress-head>div{display:flex;align-items:center;gap:11px}.account-health-progress-head{justify-content:space-between}.account-health-progress-head .loading-spinner{width:26px;height:26px}.account-health-progress-head b,.account-health-progress-head small{display:block}.account-health-progress-head b{font-size:14px}.account-health-progress-head small{margin-top:4px;color:var(--muted);font-size:12px}.account-health-progress-head>strong{color:var(--accent);font-size:17px}.account-health-progress-track{height:7px;margin:12px 0;overflow:hidden;border-radius:99px;background:#e5e7fa}.account-health-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5d5fef,#8b5cf6);transition:width .25s ease}.account-health-progress-results{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:12px}.account-health-progress-results b{color:var(--ink);font-size:13px}.account-health-progress-results .healthy b{color:#168268}.account-health-progress-results .attention b{color:#bc4053}.account-health-progress.completed{border-color:#cdeee3;background:#f4fbf8}.account-health-progress.completed .account-health-progress-track i{background:#19a974}.account-health-progress.failed{border-color:#f2c8cf;background:#fff4f5}.account-health-progress.failed .account-health-progress-track i{background:#d6455d}
.account-health-table{min-width:1420px}.account-health-table th,.account-health-table td{padding-top:14px;padding-bottom:14px;font-size:13px;vertical-align:middle}.account-health-row.quarantined td:first-child,.account-health-row.dead td:first-child{box-shadow:inset 3px 0 0 #d94b5d}.account-health-row.proxy_issue td:first-child,.account-health-row.watch td:first-child{box-shadow:inset 3px 0 0 #e3a631}.account-health-table .user-cell b,.account-health-table .user-cell small{display:block}.account-health-table .user-cell small{margin-top:3px;color:var(--muted);font-size:12px}.account-health-score{min-width:94px}.account-health-score>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.account-health-score b{font-size:17px}.account-health-score small{color:var(--muted);font-size:12px}.account-health-score>span{display:block;height:5px;margin-top:7px;overflow:hidden;border-radius:99px;background:#edf0f5}.account-health-score>span i{display:block;height:100%;border-radius:inherit;background:#a6aebb}.account-health-score.healthy b{color:#15866b}.account-health-score.healthy>span i{background:#20af83}.account-health-score.watch b{color:#a67113}.account-health-score.watch>span i{background:#e3a631}.account-health-score.danger b{color:#be4052}.account-health-score.danger>span i{background:#dc5264}.account-health-proxy{display:grid;gap:6px;min-width:150px}.account-health-proxy>b{font-size:13px}.account-health-proxy .account-health-score{max-width:120px}.proxy-health-state{width:max-content;padding:4px 8px;border-radius:999px;background:#f0f2f6;color:#6c7585;font-size:12px}.proxy-health-state.healthy,.proxy-health-state.active{background:#eaf9f3;color:#13785f}.proxy-health-state.degraded{background:#fff6e3;color:#97680f}.proxy-health-state.failed,.proxy-health-state.unbound{background:#fff0f2;color:#b43d4e}.account-health-platforms{display:grid;gap:7px}.account-health-platform{width:max-content;padding:5px 8px;border-radius:999px;background:#eff1f5;color:#687184;font-size:12px;font-weight:700}.account-health-platform.active,.account-health-platform.healthy{background:#e7f9f2;color:#157b62}.account-health-platform.pending_authorization,.account-health-platform.pending,.account-health-platform.login_required{background:#fff5df;color:#9b6b12}.account-health-platform.challenge,.account-health-platform.dead,.account-health-platform.invalid,.account-health-platform.failed{background:#ffedef;color:#bb3f50}.account-health-conclusion{display:grid;gap:6px;min-width:220px;max-width:320px}.account-health-status{width:max-content;padding:5px 9px;border-radius:999px;background:#eef1f5;color:#6c7483;font-size:12px;font-weight:800}.account-health-status.healthy{background:#e8f9f3;color:#147b61}.account-health-status.watch,.account-health-status.challenge{background:#fff5df;color:#98670d}.account-health-status.proxy_issue,.account-health-status.login_required,.account-health-status.quarantined,.account-health-status.dead{background:#ffedef;color:#b83e50}.account-health-conclusion>b{font-size:13px;line-height:1.45}.account-health-conclusion>small{color:var(--muted);font-size:12px;line-height:1.45}.account-health-times{display:grid;gap:5px;min-width:170px}.account-health-times span,.account-health-times small{font-size:12px}.account-health-times small{color:var(--muted)}
@media(max-width:1180px){.account-health-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-health-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.account-health-filters{grid-template-columns:repeat(2,minmax(180px,1fr))}.account-health-filters button{min-height:42px}}
@media(max-width:720px){.account-health-settings-grid{grid-template-columns:1fr}.account-health-settings-options,.account-health-settings-actions{align-items:stretch;flex-direction:column}.account-health-summary{grid-template-columns:1fr 1fr;gap:9px}.account-health-summary-card{min-height:104px;padding:14px}.account-health-filters{grid-template-columns:1fr;padding:13px}.account-health-bulk>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.account-health-bulk>div>span{grid-column:1/-1}.account-health-bulk button,.account-health-bulk select{min-width:0;width:100%}.account-health-progress{margin:0 12px 13px}.account-health-progress-head{align-items:flex-start}.account-health-progress-results{gap:10px}.account-health-table{min-width:0}.account-health-table .account-health-conclusion,.account-health-table .account-health-times,.account-health-table .account-health-proxy{min-width:0;max-width:none}}
@media(max-width:440px){.account-health-summary{grid-template-columns:1fr}.account-health-bulk>div{grid-template-columns:1fr}}

.account-lifecycle-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}.account-lifecycle-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;min-height:74px;padding:12px 15px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 8px 24px rgba(19,31,57,.045);transition:border-color .18s,transform .18s,box-shadow .18s}.account-lifecycle-card:hover{border-color:#aaa7ff;transform:translateY(-1px);box-shadow:0 10px 26px rgba(72,68,190,.09)}.account-lifecycle-card span{font-size:13px;font-weight:750}.account-lifecycle-card b{grid-row:1/3;grid-column:2;font-size:22px;line-height:1}.account-lifecycle-card small{color:var(--muted);font-size:12px}.account-lifecycle-card.healthy b{color:#168268}.account-lifecycle-card.running b{color:#5558d8}.account-lifecycle-card.attention b{color:#b77712}.account-lifecycle-card.quarantined b{color:#bd4052}
.account-filter-bar{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fbfcfe}.account-filter-bar>label{display:grid;gap:6px;width:min(360px,100%);margin:0}.account-filter-bar>label span{color:var(--muted);font-size:12px;font-weight:700}.account-filter-bar input{width:100%;margin:0}.account-context-filter{display:flex;align-items:center;gap:8px;padding:7px 9px 7px 12px;border:1px solid #d9dbff;border-radius:10px;background:#f5f5ff;color:#504bd0;font-size:12px;font-weight:700}.account-context-filter[hidden]{display:none}.account-context-filter .text-button{white-space:nowrap}.account-table{min-width:1480px}.account-lifecycle-combined{display:grid;gap:6px}.account-lifecycle-cell{display:grid;gap:5px;min-width:230px;max-width:290px}.account-lifecycle-cell>small{color:var(--muted);font-size:12px;line-height:1.4}.account-lifecycle-cell>em{overflow:hidden;color:#b03f51;font-size:12px;font-style:normal;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.account-combined-data{display:grid;gap:6px;min-width:110px}.account-combined-data>span{display:flex;align-items:center;gap:6px}.account-combined-data>span>b{min-width:28px;color:var(--muted);font-size:12px}.account-table .row-actions{min-width:210px}
@media(max-width:980px){.account-lifecycle-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.account-filter-bar{align-items:stretch;flex-direction:column}.account-context-filter{justify-content:space-between}}
@media(max-width:560px){.account-lifecycle-overview{grid-template-columns:1fr 1fr;gap:8px}.account-lifecycle-card{min-height:70px;padding:11px 12px}.account-lifecycle-card b{font-size:19px}.account-lifecycle-card small{font-size:12px}.account-filter-bar{padding:12px}.account-table{min-width:0}.account-lifecycle-cell{min-width:0;max-width:none}.account-table .row-actions{min-width:0}}

/* Account exception repair center and lifecycle timeline. */
.account-repair-toolbar{align-items:center}.account-repair-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.account-repair-summary-card{min-height:108px;padding:16px 17px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.account-repair-summary-card span,.account-repair-summary-card b,.account-repair-summary-card small{display:block}.account-repair-summary-card span{color:var(--muted);font-size:13px}.account-repair-summary-card b{margin-top:8px;font-size:25px;line-height:1}.account-repair-summary-card small{margin-top:8px;color:var(--muted);font-size:12px}.account-repair-summary-card.attention,.account-repair-summary-card.manual{border-color:#f0d7b3;background:#fffbf3}.account-repair-summary-card.attention b,.account-repair-summary-card.manual b{color:#a56f12}.account-repair-summary-card.automatic{border-color:#cdeee3;background:#f5fcf9}.account-repair-summary-card.automatic b{color:#168268}.account-repair-summary-card.running{border-color:#d9ddff;background:#f8f8ff}.account-repair-summary-card.running b{color:#5558d8}.account-repair-summary-card.skeleton{grid-column:1/-1;min-height:auto;color:var(--muted)}
.account-repair-error{margin:0 0 14px}.account-repair-manager{padding:0;overflow:hidden}.account-repair-filters{display:grid;grid-template-columns:minmax(170px,.65fr) minmax(170px,.65fr) minmax(240px,1fr) auto;align-items:end;gap:10px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fbfcfe}.account-repair-filters label{display:grid;gap:6px;margin:0}.account-repair-filters label>span{color:var(--muted);font-size:12px;font-weight:700}.account-repair-filters input,.account-repair-filters select{width:100%;margin:0}.account-repair-bulk{height:auto}.account-repair-bulk>div{flex-wrap:wrap}.account-repair-progress{margin:0 18px 15px;padding:15px 17px;border:1px solid #dfe2ff;border-radius:13px;background:linear-gradient(135deg,#fafaff,#f5f7ff)}.account-repair-progress[hidden]{display:none}.account-repair-progress-head,.account-repair-progress-head>div{display:flex;align-items:center;gap:11px}.account-repair-progress-head{justify-content:space-between}.account-repair-progress-head .loading-spinner{width:26px;height:26px}.account-repair-progress-head b,.account-repair-progress-head small{display:block}.account-repair-progress-head small{margin-top:4px;color:var(--muted);font-size:12px}.account-repair-progress-head>strong{color:var(--accent);font-size:17px}.account-repair-progress-track{height:7px;margin:12px 0;overflow:hidden;border-radius:99px;background:#e5e7fa}.account-repair-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5d5fef,#8b5cf6);transition:width .25s ease}.account-repair-progress-results,.account-repair-progress-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.account-repair-progress-results{color:var(--muted);font-size:12px}.account-repair-progress-results b{color:var(--ink);font-size:13px}.account-repair-progress-results .success b{color:#168268}.account-repair-progress-results .manual b{color:#a56f12}.account-repair-progress-results .failed b{color:#bd4052}.account-repair-progress-actions{margin-top:13px}.account-repair-result-list{display:grid;gap:7px;max-height:240px;margin-top:12px;overflow:auto}.account-repair-result{display:grid;grid-template-columns:minmax(130px,.55fr) 90px 1fr;gap:10px;padding:8px 10px;border-radius:9px;background:#fff}.account-repair-result small{color:var(--muted);overflow-wrap:anywhere}.account-repair-result.failed{background:#fff2f4}.account-repair-result.succeeded{background:#eefaf5}
.account-repair-table{min-width:1350px}.account-repair-table th,.account-repair-table td{padding-top:14px;padding-bottom:14px;font-size:13px;vertical-align:middle}.account-repair-issue,.account-repair-recommendation,.account-repair-proxy{display:grid;gap:6px;min-width:180px;max-width:300px}.account-repair-issue b,.account-repair-recommendation b,.account-repair-proxy b{font-size:13px;line-height:1.45}.account-repair-issue small,.account-repair-recommendation small,.account-repair-proxy small{color:var(--muted);font-size:12px;line-height:1.45}.account-repair-issue small.blocked{color:#b63f51}.account-repair-mode{width:max-content;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}.account-repair-mode.automatic{background:#e8f9f3;color:#147b61}.account-repair-mode.manual{background:#fff5df;color:#98670d}.account-repair-mode.blocked{background:#ffedef;color:#b83e50}.account-repair-row.proxy_issue td:first-child,.account-repair-row.watch td:first-child{box-shadow:inset 3px 0 0 #e3a631}.account-repair-row.login_required td:first-child,.account-repair-row.challenge td:first-child,.account-repair-row.dead td:first-child{box-shadow:inset 3px 0 0 #d94b5d}
.account-timeline-panel{width:min(860px,calc(100vw - 32px));max-height:min(86vh,900px);overflow:auto}.account-timeline-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.account-timeline-overview>div{padding:12px;border:1px solid var(--line);border-radius:11px;background:#fafbfe}.account-timeline-overview span,.account-timeline-overview b{display:block}.account-timeline-overview span{color:var(--muted);font-size:12px}.account-timeline-overview b{margin-top:6px;font-size:14px}.account-timeline-list{position:relative;display:grid;gap:10px;padding:4px 0 4px 20px}.account-timeline-list::before{content:"";position:absolute;top:10px;bottom:10px;left:7px;width:2px;background:#e1e4ef}.account-timeline-event{position:relative;padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:#fff}.account-timeline-event>i{position:absolute;top:17px;left:-19px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#6563ef;box-shadow:0 0 0 2px #dfe1ff}.account-timeline-event span,.account-timeline-event b,.account-timeline-event small{display:block}.account-timeline-event span{color:var(--muted);font-size:12px}.account-timeline-event b{margin-top:4px;font-size:13px;line-height:1.5}.account-timeline-event small{margin-top:6px;color:var(--muted);font-size:12px}.account-timeline-event.failed>i,.account-timeline-event.dead>i{background:#d94b5d;box-shadow:0 0 0 2px #f7d7dc}.account-timeline-event.succeeded>i,.account-timeline-event.healthy>i{background:#20a77d;box-shadow:0 0 0 2px #cfeee4}
@media(max-width:1000px){.account-repair-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.account-repair-filters{grid-template-columns:repeat(2,minmax(180px,1fr))}.account-timeline-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.account-repair-summary{grid-template-columns:1fr 1fr;gap:9px}.account-repair-summary-card{min-height:102px;padding:14px}.account-repair-filters{grid-template-columns:1fr;padding:13px}.account-repair-bulk>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.account-repair-bulk>div>span{grid-column:1/-1}.account-repair-bulk button{width:100%}.account-repair-progress{margin:0 12px 13px}.account-repair-progress-head{align-items:flex-start}.account-repair-result{grid-template-columns:1fr}.account-repair-table{min-width:0}.account-repair-issue,.account-repair-recommendation,.account-repair-proxy{min-width:0;max-width:none}.account-timeline-panel{width:calc(100vw - 20px)}.account-timeline-overview{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.account-repair-summary,.account-timeline-overview{grid-template-columns:1fr}.account-repair-bulk>div{grid-template-columns:1fr}}

/* Simple account repair experience: technical details stay folded by default. */
.account-repair-main-action{min-width:132px;font-size:15px}.account-repair-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.account-repair-summary-card{display:block;width:100%;color:var(--ink);text-align:left;cursor:pointer;appearance:none}.account-repair-summary-card:hover{border-color:#aaa7ff;transform:translateY(-1px)}.account-repair-summary-card.dead{border-color:#f2d3d8;background:#fff8f9}.account-repair-summary-card.dead b{color:#bc4053}.account-repair-simple-filter{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fbfcfe}.account-repair-simple-filter>.account-repair-search{flex:1;margin:0}.account-repair-simple-filter input{width:100%;margin:0}.account-repair-more{min-width:130px;margin:0}.account-repair-more>summary{min-height:40px;padding:10px 12px}.account-repair-more .account-repair-filters{grid-template-columns:repeat(2,minmax(160px,1fr));padding:12px;border:0}.account-repair-table{min-width:980px}.account-repair-simple-state,.account-repair-simple-help{display:grid;gap:5px;min-width:180px}.account-repair-simple-state b,.account-repair-simple-help>b{font-size:14px;line-height:1.4}.account-repair-simple-state small{color:var(--muted);font-size:12px}.account-repair-simple-state.proxy_issue b,.account-repair-simple-state.watch b{color:#9a6b13}.account-repair-simple-state.login_required b,.account-repair-simple-state.challenge b{color:#5558d8}.account-repair-simple-state.dead b{color:#bd4052}.account-repair-simple-help details{margin-top:3px}.account-repair-simple-help summary{width:max-content;color:var(--accent);font-size:12px;font-weight:700;cursor:pointer}.account-repair-simple-help details p{max-width:420px;margin:8px 0 5px;color:#536078;font-size:12px;line-height:1.55}.account-repair-simple-help details small{color:var(--muted);font-size:12px}.account-repair-simple-help details>div{display:flex;gap:10px;margin-top:6px}.account-repair-simple-actions{min-width:130px}.account-repair-simple-actions .primary,.account-repair-simple-actions .danger{min-width:92px}.account-repair-result{display:block;padding:0;border:1px solid var(--line);background:#fff}.account-repair-result>summary{display:grid;grid-template-columns:1fr auto;gap:12px;padding:9px 11px;cursor:pointer}.account-repair-result>summary span{font-size:12px;font-weight:700}.account-repair-result>small{display:block;padding:0 11px 10px;color:var(--muted);font-size:12px}.account-repair-result.failed{background:#fff7f8}.account-repair-result.succeeded{background:#f4fbf8}
@media(max-width:1000px){.account-repair-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.account-repair-summary{grid-template-columns:1fr}.account-repair-simple-filter{align-items:stretch;flex-wrap:wrap;padding:12px}.account-repair-simple-filter>.account-repair-search{flex:1 1 calc(100% - 80px)}.account-repair-more{flex:1 1 100%}.account-repair-more .account-repair-filters{grid-template-columns:1fr}.account-repair-table{min-width:0}.account-repair-simple-state,.account-repair-simple-help,.account-repair-simple-actions{min-width:0}.account-repair-simple-actions .primary,.account-repair-simple-actions .danger{width:100%}}

/* Larger copy in the proxy import workflow. */
.proxy-import-form .form-hint{font-size:13px;line-height:1.6}.proxy-import-form>label{font-size:13px}.proxy-import-form textarea{font-size:13px;line-height:1.55}.proxy-import-form #proxy-import-count{display:block;margin-top:7px;text-align:right;font-variant-numeric:tabular-nums}.proxy-import-form #proxy-import-count.limit-exceeded{color:#c43d4d;font-weight:700}.proxy-import-form .proxy-format-tags{gap:8px;margin-top:10px}.proxy-import-form .proxy-format-tags span{padding:7px 10px;font-size:12px}.proxy-import-form .proxy-advanced{margin-top:14px}.proxy-import-form .proxy-advanced summary{padding:14px 15px;font-size:13px}.proxy-import-form .proxy-advanced summary small{margin-left:8px;font-size:12px}.proxy-import-form .proxy-import-progress{margin-top:14px;padding:15px 16px;font-size:13px;line-height:1.65}.proxy-import-form .proxy-import-progress b{font-size:14px}

#proxy-static-capacity-field[hidden],#proxy-static-capacity-custom-field[hidden],#proxy-edit-static-capacity-field[hidden],#proxy-edit-static-capacity-custom-field[hidden]{display:none!important}

.app-confirm-layer{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(18,27,45,.48);backdrop-filter:blur(5px)}.app-confirm-layer[hidden]{display:none!important}.app-confirm-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;width:min(500px,calc(100vw - 32px));padding:23px;border:1px solid #dde2ec;border-radius:18px;background:#fff;box-shadow:0 26px 80px rgba(18,27,45,.28)}.app-confirm-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eeeefe;color:#5754da;font-size:20px;font-weight:900}.app-confirm-copy h2{margin:1px 0 8px;font-size:19px}.app-confirm-copy p{margin:0;white-space:pre-line;color:#596477;font-size:14px;line-height:1.75}.app-confirm-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;margin-top:8px;padding-top:16px;border-top:1px solid #edf0f5}.app-confirm-actions button{min-width:92px}.app-confirm-layer.danger .app-confirm-card{border-color:#f0cbd1}.app-confirm-layer.danger .app-confirm-icon{background:#fff0f2;color:#c84051}.app-confirm-layer.danger .app-confirm-copy h2{color:#a93646}@media(max-width:520px){.app-confirm-card{grid-template-columns:38px minmax(0,1fr);padding:19px}.app-confirm-icon{width:36px;height:36px}.app-confirm-actions button{flex:1}}

/* Stable confirmation backdrop and collision-free task status. */
.app-confirm-layer,.app-confirm-layer.danger{background:rgba(20,27,42,.58);-webkit-backdrop-filter:none!important;backdrop-filter:none!important;isolation:isolate;animation:none!important;transition:none!important}.app-confirm-card{animation:none!important;transition:none!important;transform:none!important}.task-control-heading{padding-right:56px}.task-control-state{flex:none;margin-top:7px}@media(max-width:620px){.task-control-heading{align-items:flex-start;flex-direction:column;padding-right:46px}.task-control-state{margin-top:0}}

.proxy-type-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0;padding:0;border:0}.proxy-type-picker legend{grid-column:1/-1;margin-bottom:2px;font-size:13px;font-weight:800}.proxy-type-picker label{position:relative;margin:0}.proxy-type-picker input{position:absolute;opacity:0}.proxy-type-picker span{display:block;min-height:78px;padding:13px 14px;border:1px solid #dfe3ec;border-radius:12px;background:#fff;cursor:pointer}.proxy-type-picker b,.proxy-type-picker small{display:block}.proxy-type-picker b{font-size:13px}.proxy-type-picker small{margin-top:7px;color:var(--muted);font-size:12px;line-height:1.5}.proxy-type-picker input:checked+span{border-color:#625bf6;background:#f5f4ff;box-shadow:0 0 0 2px rgba(98,91,246,.12)}.proxy-type-picker .disabled{opacity:.55}.proxy-type-picker .disabled span{cursor:not-allowed}.proxy-session-choice{margin:0 0 14px;padding:13px 14px;border:1px solid #dedcff;border-radius:11px;background:#f8f7ff}.proxy-session-choice[hidden]{display:none!important}.proxy-session-choice label{margin:0;font-size:12px}.proxy-session-choice p{margin:8px 0 0;color:#666f83;font-size:12px;line-height:1.5}

/* Compact explanations for system account groups. */
.group-info{position:relative;display:grid;place-items:center;flex:none;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:transparent;color:#7b8497;font-size:14px;cursor:help}.group-info:hover,.group-info:focus-visible,.group-info.open{background:#e8e8ff;color:var(--accent);outline:none}.group-info::after{content:attr(data-tip);position:absolute;z-index:30;right:-5px;bottom:calc(100% + 9px);width:260px;padding:11px 13px;border:1px solid #dfe3ed;border-radius:11px;background:#172235;color:#fff;box-shadow:0 14px 35px rgba(18,27,45,.22);font-size:12px;font-weight:500;line-height:1.65;text-align:left;white-space:normal;opacity:0;visibility:hidden;transform:translateY(4px);transition:.16s;pointer-events:none}.group-info::before{content:"";position:absolute;z-index:31;right:7px;bottom:calc(100% + 4px);border:6px solid transparent;border-top-color:#172235;opacity:0;visibility:hidden}.group-info:hover::after,.group-info:hover::before,.group-info:focus-visible::after,.group-info:focus-visible::before,.group-info.open::after,.group-info.open::before{opacity:1;visibility:visible;transform:none}@media(hover:none),(pointer:coarse){.group-info{cursor:pointer}.group-info::after{position:fixed;right:16px;bottom:max(24px,env(safe-area-inset-bottom));left:16px;width:auto}.group-info::before{display:none}.group-info:not(.open)::after{opacity:0;visibility:hidden}}

/* Account health single-account context can be cleared in one step. */
@media(min-width:1181px){.account-health-filters{grid-template-columns:repeat(3,minmax(150px,.7fr)) minmax(210px,1fr) auto auto}}
.account-health-reset{min-height:42px;white-space:nowrap}

/* Horizontal account groups free the full width for the account table. */
.account-workspace{grid-template-columns:minmax(0,1fr)}.group-panel{display:flex;align-items:center;gap:14px;min-height:auto;padding:10px 12px}.group-panel-head{flex:none;gap:12px;padding:2px 4px;border:0}.group-panel-head small{margin-top:2px}.group-list{display:flex;align-items:center;gap:7px;min-width:0;padding:0;overflow-x:auto;scrollbar-width:thin}.group-item{flex:none;min-width:max-content;margin:0;padding:9px 11px;border:1px solid transparent;border-radius:10px}.group-item:hover,.group-item.active{border-color:#dedcff}.group-item>span{gap:7px}.group-item em{margin-left:4px}.group-info{width:18px;height:18px;border:1px solid #9ca5b7;background:#fff;color:#657086;font-family:Arial,sans-serif;font-size:12px;font-weight:800;line-height:1}.group-info b{font:inherit}.group-info::after{right:auto;left:-12px}.group-info::before{right:auto;left:3px}.group-actions{margin-left:2px}@media(max-width:720px){.group-panel{align-items:stretch;flex-direction:column;gap:7px}.group-panel-head{width:100%}.group-list{width:100%;padding-bottom:3px}}

/* Semantic result notices: green success, amber partial result, red failure. */
.toast:not(.error):not(.warning):not(.progress){border-color:#bfe6d8;background:rgba(245,252,249,.98);color:#176b57}.toast.warning{border-color:#edcd8e;background:rgba(255,249,235,.98);color:#8a5a08}.toast.error{border-color:#efb9c1;background:rgba(255,244,246,.98);color:#9f3340}

/* Two-row account group toolbar: heading first, compact chips below. */
.group-panel{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:9px;padding:13px 16px;overflow:visible}.group-panel-head{width:100%;padding:0 1px 9px;border-bottom:1px solid #edf0f5}.group-panel-head small{display:none}.group-list{width:100%;flex-wrap:wrap;gap:8px;overflow:visible}.group-item{padding:8px 11px;background:#f8f9fc;border-color:#e6e9f0}.group-item.active{background:#f0efff;border-color:#c9c5ff}.group-item em{min-width:18px;padding-left:2px;text-align:right}.group-info{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;padding:0!important;border:1px solid #aeb6c5!important;border-radius:50%!important;background:#fff!important;color:#596579!important;font:800 11px/18px Arial,sans-serif!important}.group-info:hover,.group-info:focus-visible,.group-info.open{border-color:#625bf6!important;background:#eeedff!important;color:#514bd1!important}.group-info::after{z-index:120;bottom:calc(100% + 10px);left:-16px}.group-info::before{z-index:121;left:4px}@media(max-width:720px){.group-panel{padding:12px}.group-panel-head{padding-bottom:8px}.group-list{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.group-list::-webkit-scrollbar{display:none}.group-item{min-height:38px}}
@media(hover:none),(pointer:coarse){.group-info::after{position:fixed;right:16px;bottom:max(24px,env(safe-area-inset-bottom));left:16px;width:auto}}

/* Multi-account collection rules: hover on desktop, tap on touch devices. */
.task-collect-source-heading{display:flex;align-items:center;gap:7px}
.task-rule-info{display:inline-grid!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;padding:0!important;vertical-align:middle}
.task-rule-info::after{top:calc(100% + 9px);right:auto;bottom:auto;left:-12px;width:min(380px,calc(100vw - 64px));white-space:pre-line}
.task-rule-info::before{top:calc(100% + 4px);right:auto;bottom:auto;left:4px;border-top-color:transparent;border-bottom-color:#172235}
@media(hover:none),(pointer:coarse){.task-rule-info::after{position:fixed;top:auto;right:16px;bottom:max(24px,env(safe-area-inset-bottom));left:16px;width:auto}.task-rule-info::before{display:none}}

/* Keep collection results from being compressed inside the task-result flex pane. */
.task-result-list>.collected-results{flex:0 0 auto;display:flex;flex-direction:column}
.task-result-list .collected-results-list{padding:12px 14px}
.task-result-list .collection-bulkbar{position:static;left:auto;right:auto;bottom:auto;z-index:auto;flex:0 0 auto;margin:0 14px 14px;backdrop-filter:none}

/* Account management tools: three clear work areas instead of three loose rows. */
.group-panel-actions{display:flex;align-items:center;gap:8px}.group-edit,.group-add{min-height:34px;padding:0 12px;border:1px solid #dedffc;border-radius:9px;background:#f5f5ff;color:#514bd1;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.group-edit{background:#fff}.group-edit:disabled{border-color:#e7e9ef;background:#f6f7f9;color:#a6adba;cursor:not-allowed}.group-add{width:auto;height:auto;font-size:12px}
.account-tools-grid{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(520px,1.9fr) minmax(245px,.85fr);gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);background:#f6f7fb}.account-tool-card{min-width:0;min-height:136px!important;padding:14px!important;border:1px solid #e4e7ee!important;border-radius:12px;background:#fff!important;box-shadow:0 2px 7px rgba(34,43,62,.025)}.account-tool-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;width:100%;padding:0 0 11px!important;border-bottom:1px solid #eef0f4}.account-tool-heading b,.account-tool-heading small{display:block}.account-tool-heading b{color:#30394a;font-size:12px}.account-tool-heading small{color:var(--muted);font-size:12px;font-weight:500;text-align:right}.account-filter-bar{display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:10px}.account-filter-bar>label{width:100%}.account-filter-bar input{min-height:40px;background:#fbfcfe}.account-context-filter{margin-top:auto}.bulk-toolbar{display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:10px}.bulk-toolbar .account-tool-heading small{display:flex;gap:7px}.bulk-toolbar .account-tool-heading small span+span::before{content:"·";margin-right:7px}.account-bulk-actions{display:flex!important;align-items:center!important;align-content:flex-start;flex-wrap:wrap!important;gap:7px!important;padding:0!important}.account-bulk-actions button,.account-bulk-actions select{min-height:36px}.bulk-proxy-select{width:min(190px,100%)}.move-toolbar{display:flex;align-items:stretch;flex-direction:column;gap:10px;color:inherit}.account-move-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.move-toolbar select{width:100%;min-width:0;min-height:38px;padding:8px 10px}.account-move-actions button{min-height:38px;white-space:nowrap}
@media(max-width:1240px){.account-tools-grid{grid-template-columns:minmax(230px,.75fr) minmax(500px,1.6fr)}.move-toolbar{grid-column:1/-1;min-height:auto!important}.move-toolbar .account-tool-heading{width:auto;min-width:210px;border:0;padding:4px 12px 4px 0!important}.move-toolbar{display:grid;grid-template-columns:auto minmax(260px,460px);align-items:center}.account-move-actions{width:100%}}
@media(max-width:820px){.account-tools-grid{grid-template-columns:1fr;padding:10px}.account-tool-card{min-height:auto!important}.move-toolbar{grid-column:auto;display:flex}.move-toolbar .account-tool-heading{width:100%;padding:0 0 10px!important;border-bottom:1px solid #eef0f4}.account-move-actions{grid-template-columns:minmax(0,1fr) auto}.group-panel-head{align-items:flex-start;gap:10px}.group-panel-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:520px){.group-edit,.group-add{padding:0 9px}.account-bulk-actions>*{flex:1 1 130px}.account-bulk-actions .bulk-proxy-select{flex-basis:100%;width:100%}.account-move-actions{grid-template-columns:1fr}.account-tool-heading{align-items:flex-start!important;flex-direction:column}.account-tool-heading small{text-align:left}}

/* Keep group chips stable while hover actions appear. */
.group-item.editable{padding-right:57px}.group-item.editable .group-actions{position:absolute;right:7px;top:50%;display:flex;gap:1px;opacity:0;visibility:hidden;transform:translateY(-50%);transition:opacity .14s ease;pointer-events:none}.group-item.editable:hover .group-actions,.group-item.editable:focus-within .group-actions{opacity:1;visibility:visible;pointer-events:auto}.group-item.editable:hover>em,.group-item.editable:focus-within>em{visibility:hidden;display:block}.group-item.editable .group-actions button{width:22px;height:22px;padding:0;border-radius:6px}.group-item.editable .group-actions button:hover{background:#e7e6ff;color:#514bd1}

/* Group chips never replace or hide their account count on hover. */
.group-item:hover>em,.group-item:focus-within>em{display:block!important;visibility:visible!important}.group-form .modal-actions #delete-group{margin-right:auto}

/* Separate selection, account actions and proxy assignment in the batch card. */
.account-tools-grid{grid-template-columns:minmax(220px,.7fr) minmax(620px,2.25fr) minmax(245px,.8fr)}.bulk-toolbar.account-tool-card{min-height:190px!important}.bulk-selection-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:1px 0 10px;border-bottom:1px solid #eef0f4}.bulk-selection-row>span{display:flex;align-items:center;gap:9px}.bulk-selection-row>span>b{font-size:12px;color:#394356}.bulk-selection-row>span>small{display:flex;gap:7px;color:var(--muted);font-size:12px}.bulk-selection-row>span>small span+span::before{content:"·";margin-right:7px}.bulk-selection-row>div{display:flex;gap:7px}.bulk-action-groups{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(330px,1.25fr);gap:9px}.bulk-action-section{min-width:0;padding:10px;border:1px solid #e7e9f0;border-radius:10px;background:#fafbfe}.bulk-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}.bulk-section-heading b{color:#3c4658;font-size:12px}.bulk-section-heading small{color:var(--muted);font-size:12px;text-align:right}.bulk-section-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.bulk-section-controls button,.bulk-section-controls select{min-height:34px}.proxy-bulk-section{border-color:#dfdffc;background:#fafaff}.proxy-bulk-section .bulk-section-heading b{color:#514bd1}.proxy-bulk-section .bulk-proxy-select{flex:1 1 190px;width:auto;min-width:150px}.recycle-bulk-section{display:none;grid-column:1/-1;border-color:#f1dfe2;background:#fffafb}.recycle-bulk-section .bulk-section-heading b{color:#b43e4c}
@media(max-width:1240px){.account-tools-grid{grid-template-columns:minmax(220px,.7fr) minmax(560px,1.8fr)}.bulk-action-groups{grid-template-columns:1fr 1.25fr}}
@media(max-width:820px){.account-tools-grid{grid-template-columns:1fr}.bulk-toolbar.account-tool-card{min-height:auto!important}.bulk-selection-row{align-items:flex-start;flex-direction:column}.bulk-selection-row>div{width:100%;flex-wrap:wrap}.bulk-action-groups{grid-template-columns:1fr}.recycle-bulk-section{grid-column:auto}}
@media(max-width:520px){.bulk-selection-row>span{align-items:flex-start;flex-direction:column;gap:4px}.bulk-section-heading{align-items:flex-start;flex-direction:column}.bulk-section-heading small{text-align:left}.bulk-section-controls>*{flex:1 1 130px}.proxy-bulk-section .bulk-proxy-select{flex-basis:100%;width:100%}}

/* Global readability floor and aligned inline range controls. */
.resource-controls>.resource-read-settings{position:relative;align-self:stretch;min-height:42px;margin:0;background:#fff}
.resource-read-settings>summary{height:100%;min-height:42px;align-items:center!important;flex-direction:row!important;padding-top:9px;padding-bottom:9px;white-space:nowrap}
.resource-read-settings[open]>summary{border-bottom:0}
.resource-read-settings>.resource-limit{position:absolute;z-index:80;top:calc(100% + 8px);right:0;display:grid!important;grid-template-columns:max-content 72px max-content;align-items:center;gap:8px;width:max-content;max-width:min(360px,calc(100vw - 24px));padding:12px 14px;border-radius:11px;background:#fff;box-shadow:0 15px 38px rgba(23,34,53,.18)}
.resource-read-settings>.resource-limit input{width:72px;min-width:72px}
.resource-read-settings>.resource-limit .field-help{grid-column:1/-1;max-width:330px;padding-top:3px;white-space:normal}
@media(max-width:720px){.resource-controls>.resource-read-settings{align-self:auto}.resource-read-settings>.resource-limit{position:fixed;top:auto;right:12px;bottom:max(18px,env(safe-area-inset-bottom));left:12px;width:auto;max-width:none}}

/* The legacy inbox folder value is program state, not a visible filter row. */
#conversation-folder[hidden]{display:none!important}
#conversations>.section-toolbar{margin-bottom:16px}
#conversations>.inbox-metrics:empty{display:none}

/* Read-only account metrics stay compact and expose sync state by tooltip. */
.account-metric{display:inline-flex;align-items:center;justify-content:center;min-width:34px;font-weight:700;color:#26334a;font-variant-numeric:tabular-nums}.account-metric.failed{color:#b7791f;text-decoration:underline dotted;text-underline-offset:3px}.account-metric.failed-empty{min-width:52px;color:#b42318;font-size:12px;text-decoration:none;white-space:nowrap}
.account-about{display:inline-flex;max-width:110px;color:#26334a;font-size:12px;white-space:nowrap}.account-about.failed{color:#b42318}

/* Wide screens use a compact two-level account toolbar without stretched empty cards. */
@media(min-width:1380px){
  .account-tools-grid{grid-template-columns:minmax(250px,.8fr) minmax(760px,2.65fr) minmax(300px,.95fr);align-items:start;gap:10px;padding:10px 14px}
  .account-tool-card{min-height:0!important;height:auto;padding:11px 12px!important}
  .account-tool-heading{align-items:center!important;padding:0 0 7px!important}
  .account-filter-bar,.move-toolbar,.bulk-toolbar{gap:8px}
  .account-filter-bar input,.move-toolbar select{min-height:38px}
  .bulk-toolbar.account-tool-card{min-height:0!important}
  .bulk-selection-row{min-height:36px;padding:0 0 7px}
  .bulk-action-groups{grid-template-columns:minmax(480px,1.35fr) minmax(330px,.9fr);gap:8px}
  .bulk-action-section{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:7px 8px}
  .bulk-section-heading{display:block;min-width:68px;margin:0}
  .bulk-section-heading small{display:none}
  .bulk-section-controls{flex-wrap:nowrap;gap:6px}
  .bulk-section-controls button{min-height:36px;padding-right:9px;padding-left:9px;white-space:nowrap}
  .proxy-bulk-section .bulk-proxy-select{min-width:145px}
  .account-move-actions{gap:7px}
}

/* Single-row account tools: search, group move, then one expandable bulk menu. */
.account-tools-grid{position:relative;display:grid;grid-template-columns:minmax(300px,340px) minmax(340px,390px) max-content;align-items:center;justify-content:start;gap:10px;overflow:visible;padding:10px 14px}
.account-tools-grid>.account-tool-card{min-width:0;min-height:58px!important;height:58px;padding:9px 10px!important;border:1px solid #e4e7ee!important;border-radius:12px;background:#fff!important;box-shadow:0 2px 7px rgba(34,43,62,.025)}
.account-tools-grid>.account-filter-bar,.account-tools-grid>.move-toolbar,.account-tools-grid>.bulk-toolbar{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;gap:10px;color:inherit}
.account-tools-grid .account-tool-heading{display:flex!important;flex:0 0 auto;align-items:center!important;justify-content:flex-start!important;width:auto;padding:0!important;border:0}
.account-tools-grid .account-tool-heading b{color:#30394a;font-size:12px;white-space:nowrap}
.account-tools-grid .account-tool-heading small{display:none}
.account-tools-grid>.account-filter-bar>label{flex:0 1 240px;width:240px;min-width:150px;margin:0}
.account-tools-grid>.account-filter-bar input{width:100%;min-height:38px;margin:0;padding:8px 11px;background:#fbfcfe}
.account-tools-grid .account-context-filter{min-width:0;max-width:250px;margin:0;padding:6px 8px}
.account-tools-grid .account-context-filter>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-tools-grid>.move-toolbar{grid-column:auto}
.account-tools-grid>.move-toolbar .account-move-actions{display:grid;flex:1 1 auto;grid-template-columns:minmax(150px,190px) auto;gap:7px;min-width:0;width:auto}
.account-tools-grid>.move-toolbar select{width:100%;min-width:0;min-height:38px;margin:0;padding:8px 10px}
.account-tools-grid>.move-toolbar button{min-height:38px;white-space:nowrap}
.account-tools-grid>.move-toolbar>.toolbar-guidance{display:none!important}
.account-tools-grid>.bulk-toolbar{position:relative;justify-content:flex-end;overflow:visible;width:auto}
.account-bulk-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-width:164px;min-height:38px;margin:0;padding:8px 12px;white-space:nowrap}
.account-bulk-toggle>span{font-weight:800}.account-bulk-toggle>small{color:var(--muted);font-size:12px;font-weight:650}.account-bulk-toggle>i{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;font-size:0;font-style:normal;transform:rotate(45deg) translateY(-1px);transition:transform .18s ease}
.account-bulk-toggle[aria-expanded="true"]>i{transform:rotate(225deg) translate(-1px,-1px)}
#account-bulk-popover[hidden]{display:none!important}
.account-bulk-popover{position:fixed;z-index:145;top:var(--bulk-menu-top,120px);left:var(--bulk-menu-left,12px);display:block!important;width:min(280px,calc(100vw - 24px));min-height:0;max-height:calc(100vh - var(--bulk-menu-top,120px) - 16px);overflow-y:auto;padding:12px;border:1px solid #dddff0;border-radius:14px;background:#fff;box-shadow:0 20px 48px rgba(31,39,59,.2)}
.account-bulk-popover::before{display:none}
.account-tools-grid{grid-template-columns:minmax(240px,.9fr) minmax(300px,1.1fr) minmax(390px,1.35fr) max-content}
.account-selection-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:58px;margin:0;padding:8px 10px;border:1px solid #e2e5ed;border-radius:12px;background:#fff}
.account-selection-strip>span{display:flex;align-items:center;gap:9px;min-width:0}.account-selection-strip>span>b{font-size:12px;color:#394356;white-space:nowrap}.account-selection-strip>span>small{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.account-selection-strip>div{display:flex;gap:7px;flex:none}
.account-bulk-popover .bulk-action-groups{display:grid;grid-template-columns:1fr;gap:10px}
.account-bulk-popover .bulk-action-section{display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:12px;border:1px solid #e7e9f0;border-radius:12px;background:#fafbfe}
.account-bulk-popover .bulk-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;margin:0;padding-bottom:9px;border-bottom:1px solid #e8ebf2}.account-bulk-popover .bulk-section-heading b{color:#3c4658;font-size:12px}.account-bulk-popover .bulk-section-heading small{color:var(--muted);font-size:12px;text-align:right}
.account-bulk-popover .bulk-section-controls{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px}.account-bulk-popover .bulk-section-controls button,.account-bulk-popover .bulk-section-controls select{min-height:36px;margin:0}
.account-bulk-popover details.proxy-bulk-section{display:block;min-height:54px;padding:0;border-color:#dfdffc;background:#fafaff}
.account-bulk-popover details.proxy-bulk-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 13px;cursor:pointer;list-style:none}.account-bulk-popover details.proxy-bulk-section>summary::-webkit-details-marker{display:none}.account-bulk-popover details.proxy-bulk-section>summary span{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}.account-bulk-popover details.proxy-bulk-section>summary b{color:#514bd1;font-size:12px}.account-bulk-popover details.proxy-bulk-section>summary small{color:var(--muted);font-size:12px}.account-bulk-popover details.proxy-bulk-section>summary>i{width:7px;height:7px;border-right:1.5px solid #7773ca;border-bottom:1.5px solid #7773ca;font-size:0;font-style:normal;transform:rotate(45deg) translateY(-1px);transition:transform .18s ease}.account-bulk-popover details.proxy-bulk-section[open]>summary>i{transform:rotate(225deg) translate(-1px,-1px)}
.account-bulk-popover details.proxy-bulk-section>summary::after{display:none!important;content:none!important}
.account-bulk-popover details.proxy-bulk-section>.bulk-section-controls{padding:10px 12px 12px;border-top:1px solid #e3e3fb}.account-bulk-popover .proxy-bulk-section .bulk-proxy-select{flex:1 1 auto;width:auto;min-width:0}
.account-bulk-popover .recycle-bulk-section{border-color:#f1dfe2;background:#fffafb}.account-bulk-popover .recycle-bulk-section .bulk-section-heading b{color:#b43e4c}
.account-bulk-popover .bulk-section-controls{display:grid;grid-template-columns:1fr;align-items:stretch;width:100%}
.account-bulk-popover .bulk-section-controls>button,.account-bulk-popover .bulk-section-controls>select{width:100%;min-width:0;min-height:38px}
.account-bulk-popover .bulk-section-controls>button{justify-content:flex-start;padding-right:14px;padding-left:14px;text-align:left}
.account-bulk-popover .proxy-bulk-section .bulk-proxy-select{width:100%;min-width:0}
@media(max-width:1280px){.account-tools-grid{grid-template-columns:minmax(260px,1fr) minmax(310px,1.15fr)}.account-tools-grid>.account-filter-bar>label{width:auto;flex:1 1 auto}.account-tools-grid .account-context-filter{display:none}.account-tools-grid>.bulk-toolbar{justify-content:flex-start}}
@media(max-width:820px){.account-tools-grid{grid-template-columns:1fr;padding:10px}.account-tools-grid>.account-tool-card{min-height:58px!important;height:58px}.account-tools-grid>.bulk-toolbar{justify-content:flex-start}.account-bulk-popover{right:auto;left:20px;width:min(430px,calc(100vw - 40px))}.account-bulk-popover::before{right:auto;left:28px}}
@media(max-width:560px){.account-tools-grid>.account-filter-bar,.account-tools-grid>.move-toolbar{gap:8px}.account-tools-grid .account-tool-heading{flex-direction:row!important}.account-tools-grid>.account-filter-bar>label{min-width:0}.account-tools-grid>.move-toolbar .account-move-actions{grid-template-columns:minmax(110px,1fr) auto}.account-tools-grid>.account-selection-strip{align-items:stretch;flex-direction:column;height:auto!important;min-height:104px!important}.account-selection-strip>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.account-bulk-popover{position:fixed;top:auto;right:16px;bottom:max(16px,env(safe-area-inset-bottom));left:16px;width:auto;max-height:72vh;overflow-y:auto}.account-bulk-popover::before{display:none}.account-bulk-popover .bulk-action-section{align-items:stretch;flex-direction:column}.account-bulk-popover .bulk-section-controls{width:100%}.account-bulk-popover .bulk-section-controls>*{flex:1 1 130px}.account-bulk-popover .proxy-bulk-section .bulk-proxy-select{flex-basis:100%;width:100%}}


/* Proxy groups stay separate from the individual proxy lines they contain. */
.proxy-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:start;gap:14px}.proxy-group-panel{padding:0;overflow:hidden}.proxy-group-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid var(--line)}.proxy-group-head b,.proxy-group-head small{display:block}.proxy-group-head b{font-size:13px}.proxy-group-head small{margin-top:3px;color:var(--muted);font-size:12px}.proxy-group-list{display:grid;gap:5px;padding:10px}.proxy-group-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#4d586b;text-align:left}.proxy-group-item:hover{background:#f7f8fc}.proxy-group-item.active{border-color:#d9d8ff;background:#f1f0ff;color:#4f4ad2}.proxy-group-item>span{display:grid;grid-template-columns:8px minmax(0,1fr);gap:2px 8px;min-width:0}.proxy-group-item>span>i{grid-row:1/3;align-self:center;width:8px;height:8px;border-radius:50%;background:#a5adba}.proxy-group-item>span>i.active{background:#18a477}.proxy-group-item>span>i.warning{background:#e49a22}.proxy-group-item>span>i.failed{background:#d94b59}.proxy-group-item>span>i.all{background:#6964eb}.proxy-group-item b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.proxy-group-item small{color:var(--muted);font-size:12px;white-space:nowrap}.proxy-group-item em{flex:none;min-width:24px;padding:2px 7px;border-radius:999px;background:#eef1f6;color:#677186;font-size:12px;font-style:normal;text-align:center}.proxy-group-item.active em{background:#fff;color:#514bd1}.proxy-group-help{margin:0;padding:11px 14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.5}.proxy-workspace .proxy-manager{min-width:0}.proxy-manager-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.proxy-manager-actions>span{margin-right:4px;color:var(--muted);font-size:12px;white-space:nowrap}.proxy-manager-actions button{min-height:34px;white-space:nowrap}
.proxy-manager-head{display:grid;grid-template-columns:minmax(130px,auto) minmax(300px,1fr) auto;gap:12px}.proxy-list-tools{display:flex;align-items:center;gap:8px;min-width:300px}.proxy-list-tools input{width:100%;min-width:210px}.proxy-list-tools select{min-width:105px}.proxy-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:12px 16px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.proxy-pagination label{display:flex;align-items:center;gap:5px}.proxy-pagination select{min-width:70px;padding:7px}.proxy-pagination b{min-width:48px;color:var(--ink);text-align:center}
@media(max-width:980px){.proxy-workspace{grid-template-columns:1fr}.proxy-group-list{display:flex;overflow-x:auto;padding:9px}.proxy-group-item{flex:0 0 auto;width:190px}.proxy-group-help{display:none}.proxy-manager-head{grid-template-columns:1fr;align-items:flex-start;gap:10px}.proxy-list-tools{width:100%;min-width:0}.proxy-list-tools input{flex:1;min-width:160px}.proxy-manager-actions{justify-content:flex-start;flex-wrap:wrap}.proxy-pagination{justify-content:center;flex-wrap:wrap}}
@media(max-width:620px){.proxy-manager-head{display:grid}.proxy-manager-actions{justify-content:flex-start}.proxy-manager-actions>span{width:100%}}
/* Low-resource API content synchronization. */
.content-sync-controls{flex:1;min-width:0}.content-sync-controls>select{min-width:138px}.content-sync-controls>#post-account-select{min-width:230px}.content-sync-range{grid-template-columns:max-content minmax(180px,1fr)!important}.content-sync-range>select,.content-sync-range>input{width:100%!important;min-width:0!important;margin:0!important}.content-sync-progress{margin:-7px 0 15px;padding:16px 18px;border-color:#dedffc;background:linear-gradient(135deg,#fff,#f8f8ff)}.content-sync-progress[hidden]{display:none}.content-sync-progress-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.content-sync-progress-head b,.content-sync-progress-head small{display:block}.content-sync-progress-head b{font-size:14px}.content-sync-progress-head small{margin-top:4px;color:var(--muted);font-size:12px}.content-sync-progress-head strong{color:#5754dd;font-size:22px}.content-sync-progress-track{height:7px;margin:13px 0;overflow:hidden;border-radius:99px;background:#e6e7f2}.content-sync-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#625bf6,#31b596);transition:width .25s}.content-sync-progress-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.content-sync-progress-stats>span{padding:6px 9px;border-radius:8px;background:#f0f2f7;color:#687287;font-size:12px}.content-sync-progress-stats>span b{color:#273248}.content-sync-progress-stats>button{margin-left:auto}.content-sync-account-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;max-height:150px;margin-top:11px;overflow:auto}.content-sync-account-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:9px 10px;border:1px solid #e5e8ef;border-radius:9px;background:#fff}.content-sync-account-list span{overflow:hidden;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.content-sync-account-list b{font-size:12px}.content-sync-account-list small{grid-column:1/-1;color:var(--muted);font-size:12px}.content-sync-account-list .succeeded b{color:#168268}.content-sync-account-list .failed b{color:#c84150}.content-sync-account-list .running b{color:#5754dd}@media(max-width:1000px){.content-sync-controls{width:100%;justify-content:flex-start}.content-sync-controls>*{flex:1 1 160px}.content-sync-controls>#post-account-select{min-width:220px}}@media(max-width:720px){.content-sync-controls>*{flex:1 1 100%}.content-sync-controls>#post-account-select{min-width:0}.content-sync-progress{padding:14px}.content-sync-progress-stats>button{width:100%;margin-left:0}}
.content-sync-controls{flex:0 1 auto;margin-right:auto;justify-content:flex-start}
.message-row.system{justify-content:center}.message-row.system .message-bubble{max-width:80%;border:0;background:transparent;color:var(--muted);text-align:center}.message-row.system .message-bubble p{font-size:12px}.message-row.system .message-bubble span{font-size:12px}
/* Keep the unified inbox sync button's visible box and pointer hit area aligned. */
#conversations>.section-toolbar{position:relative;z-index:6;isolation:isolate;min-height:42px}
#conversations .inbox-sync-controls{position:relative;z-index:2;align-items:center;justify-content:flex-start;overflow:visible;isolation:isolate}
#conversations #load-conversations{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;height:42px;min-height:42px;cursor:pointer;pointer-events:auto;transform:none}
#conversations .inbox-sync-controls .resource-read-settings:not([open]){z-index:2}
/* Keep every visible synchronization control inside its own hit-test layer. */
#conversations .inbox-sync-controls>*{position:relative;z-index:2;flex:0 0 auto;height:42px;min-height:42px;margin:0;pointer-events:auto}
#conversations .inbox-sync-controls>select{display:block;cursor:pointer}
#conversations .inbox-sync-controls>.resource-read-settings{z-index:2;align-self:auto;overflow:visible}
#conversations .inbox-sync-controls>.resource-read-settings:not([open])>:not(summary){display:none!important;pointer-events:none!important}
#conversations .inbox-sync-controls>.resource-read-settings[open]{z-index:20}
#conversations .inbox-sync-controls>.resource-read-settings>summary{position:relative;z-index:2;height:42px;min-height:42px;cursor:pointer;pointer-events:auto}
#conversations .inbox-sync-controls>.resource-read-settings>.resource-limit{z-index:21}
#conversations #load-conversations{z-index:3;isolation:isolate;flex:0 0 auto;align-self:auto;margin:0;white-space:nowrap;overflow:hidden;text-overflow:clip;line-height:1;font-size:12px;padding-inline:10px}
#posts>.section-toolbar{position:relative;z-index:6;isolation:isolate;min-height:42px}
#posts .content-sync-controls{position:relative;z-index:2;align-items:center;overflow:visible;isolation:isolate}
#posts .content-sync-controls>*{position:relative;z-index:2;flex:0 0 auto;height:42px;min-height:42px;margin:0;pointer-events:auto}
#posts .content-sync-controls>select{display:block;cursor:pointer}
#posts .content-sync-controls>.resource-read-settings{z-index:2;align-self:auto;overflow:visible}
#posts .content-sync-controls>.resource-read-settings:not([open])>:not(summary){display:none!important;pointer-events:none!important}
#posts .content-sync-controls>.resource-read-settings[open]{z-index:20}
#posts .content-sync-controls>.resource-read-settings>summary{position:relative;z-index:2;height:42px;min-height:42px;cursor:pointer;pointer-events:auto}
#posts .content-sync-controls>.resource-read-settings>.resource-limit{z-index:21}
#posts #load-account-posts{position:relative;z-index:3;isolation:isolate;display:inline-flex;flex:0 0 auto;align-items:center;align-self:auto;justify-content:center;height:42px;min-height:42px;margin:0;cursor:pointer;pointer-events:auto;transform:none}
body.inbox-sync-button-hover,body.inbox-sync-button-hover *,body.post-sync-button-hover,body.post-sync-button-hover *,body.inbox-sync-range-hover,body.inbox-sync-range-hover *,body.post-sync-range-hover,body.post-sync-range-hover *{cursor:pointer!important}
.content-sync-controls>[hidden]{display:none!important}
.comment-reply-form>.comment-quick-reply{width:min(320px,100%);min-height:38px;margin:0 0 7px;padding:8px 34px 8px 11px;background:#fff;font-size:13px}.comment-reply-form>.inbox-template-help{margin:0 0 9px;color:var(--muted);font-size:12px}.comment-reply-form>.inbox-template-help button{padding:0;border:0;background:transparent;color:var(--accent);font:inherit;font-weight:700;cursor:pointer}
.post-comment-composer{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(170px,.8fr) minmax(220px,1.5fr) auto;align-items:end;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fafaff}.post-comment-composer>div b,.post-comment-composer>div small{display:block}.post-comment-composer>div b{font-size:14px}.post-comment-composer>div small{margin-top:5px;color:var(--muted);font-size:12px}.post-comment-composer select,.post-comment-composer textarea{margin:0}.post-comment-composer textarea{height:42px;min-height:42px;resize:vertical}.post-comment-composer button{height:42px;white-space:nowrap}@media(max-width:900px){.post-comment-composer{grid-template-columns:1fr}.post-comment-composer button{width:100%}}
.comment-list-more{display:flex;justify-content:center;padding:14px 0 4px;border-top:1px solid #edf0f5}.comment-list-more button{min-width:180px}
.task-name .task-submitter{margin-top:6px;color:#52617a;font-size:12px;line-height:1.45;white-space:normal}.task-status.scheduled+.task-result-summary{color:#a66600;font-weight:650}.task-status.running+.task-result-summary{color:#168263}

/* v414: compact task status, reliable countdown and always-visible direct actions. */
.task-manager .table-wrap{overflow-x:hidden}
.task-table{width:100%;min-width:0;table-layout:fixed}
.task-table th:nth-child(1){width:42px}.task-table th:nth-child(2){width:230px}.task-table th:nth-child(3){width:90px}.task-table th:nth-child(4){width:100px}.task-table th:nth-child(5){width:86px}.task-table th:nth-child(6){width:82px}.task-table th:nth-child(8){width:300px}
.task-table td{height:106px;min-width:0;vertical-align:middle}
.task-table td:nth-child(4),.task-table td:nth-child(5),.task-table td:nth-child(6){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.task-status-cell{display:grid;min-width:0;gap:5px}
.task-status-primary,.task-status-secondary{display:block;overflow:hidden;max-width:100%;color:#52617a;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.task-status-primary{color:#168263;font-weight:650}.task-status-secondary{color:var(--muted)}
.task-countdown{color:#11795f;font-weight:800;font-variant-numeric:tabular-nums}
.task-row-progress{display:block;overflow:hidden;width:100%;height:5px;border-radius:99px;background:#e8ebf2}
.task-row-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#27b58a,#6a6ff4);transition:width .35s ease}
.task-action-cell{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-10px 0 18px rgba(26,35,57,.025)}
.task-table thead .action-col{position:sticky;right:0;z-index:3;width:300px;background:#fff}
.task-action-cell .row-actions{display:grid;grid-template-columns:repeat(3,max-content);align-content:center;justify-content:start;gap:7px;min-width:0}
.task-action-cell .text-button{min-height:34px;white-space:nowrap}
@media(max-width:1180px){.task-table th:nth-child(6),.task-table td:nth-child(6){display:none}.task-table th:nth-child(2){width:205px}.task-table th:nth-child(8),.task-table thead .action-col{width:292px}}
@media(max-width:900px){.task-manager .table-wrap{overflow-x:auto}.task-table{min-width:980px}.task-action-cell,.task-table thead .action-col{position:static;box-shadow:none}}
/* Protected v136 account layout. Keep this block last so later module work cannot revive stale toolbar rules. */
.account-tools-grid{grid-template-columns:minmax(240px,.9fr) minmax(390px,1.35fr) max-content}
.account-bulk-popover{width:min(146px,calc(100vw - 96px));padding:12px}
.account-bulk-popover .bulk-action-groups{gap:0}.account-bulk-popover .bulk-action-section{padding:12px}.account-bulk-popover .bulk-section-heading{padding-bottom:9px}.account-bulk-popover .bulk-section-heading small{display:none}.account-bulk-popover .bulk-section-controls{gap:8px}
.account-bulk-popover .bulk-section-controls>button{min-height:42px;padding:9px 11px;border-radius:10px;font-weight:700;white-space:nowrap}
.account-selection-strip .account-selection-shortcut{flex:none;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;font-size:13px;font-weight:600;line-height:1.2;letter-spacing:0;white-space:nowrap;font-synthesis:none}
.account-bulk-popover #bulk-health-check{border-color:#c7eadf;background:#e7f8f2;color:#13866f}.account-bulk-popover #bulk-health-check:hover:not(:disabled){border-color:#a9dfcf;background:#d9f3ea;color:#0f725f}
.account-bulk-popover #bulk-check-proxy,.account-bulk-popover #bulk-proxy-open{border-color:#c9ddfa;background:#eaf3ff;color:#2869c7}.account-bulk-popover #bulk-check-proxy:hover:not(:disabled),.account-bulk-popover #bulk-proxy-open:hover:not(:disabled){border-color:#a9caf3;background:#dcecff;color:#1f59ad}
.row-actions .change-proxy-action{border-color:#c9ddfa;background:#eaf3ff;color:#2869c7}.row-actions .change-proxy-action:hover:not(:disabled){background:#dcecff;color:#1f59ad}
.bulk-proxy-modal-panel,.bulk-move-modal-panel{width:min(440px,calc(100vw - 32px));overflow-y:auto!important;scrollbar-gutter:auto;padding:24px}.bulk-proxy-modal-panel h2,.bulk-move-modal-panel h2{margin:7px 0 6px}.bulk-proxy-modal-field,.bulk-move-modal-field{display:grid;gap:8px;margin-top:18px;color:#3c4658;font-size:12px;font-weight:750}.bulk-proxy-modal-field .bulk-proxy-select,.bulk-move-modal-field select{width:100%;min-height:42px;margin:0;background:#fff;font-size:13px}.bulk-proxy-modal-panel .modal-actions,.bulk-move-modal-panel .modal-actions{margin-top:22px}
.check-progress-meta{display:flex;align-items:center;gap:8px}.check-progress-meta>strong{color:var(--accent);font-size:22px;line-height:1;font-variant-numeric:tabular-nums}.check-progress.done .check-progress-meta>strong{color:var(--green)}.check-progress-meta .secondary{min-height:32px;padding:6px 10px}.check-progress-close{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #dfe4ef;border-radius:9px;background:#fff;color:#69758a;font-size:20px;line-height:1;cursor:pointer}.check-progress-close:hover{border-color:#c9c8fa;background:#eeedff;color:#514bd1}.check-progress-close[hidden]{display:none}@media(max-width:720px){.check-progress-meta{gap:6px}.check-progress-meta>strong{font-size:18px}.check-progress-meta .secondary{padding-inline:8px}}
@media(min-width:1281px){.account-tools-grid{grid-template-columns:minmax(300px,340px) minmax(390px,1fr) max-content}}@media(max-width:820px){.account-tools-grid{grid-template-columns:1fr}.account-bulk-popover{width:min(146px,calc(100vw - 40px))}}@media(max-width:560px){.account-bulk-popover{right:16px;left:16px;width:auto}.bulk-proxy-modal-panel,.bulk-move-modal-panel{width:100%;padding:20px}}
.business-context-card{display:flex;align-items:center;gap:22px;padding:16px 20px;margin-bottom:14px}.business-context-card label{display:grid;gap:6px;min-width:320px;font-weight:700}.business-context-card select{min-height:42px}.business-context-card>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.business-context-card small{color:var(--muted)}.business-tabs{display:flex;gap:6px;margin:14px 0;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:auto}.business-tabs button{padding:10px 16px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:700;white-space:nowrap;cursor:pointer}.business-tabs button.active{background:#eeefff;color:var(--accent)}.business-panel{display:none;padding:0;overflow:hidden}.business-panel.active{display:block}.business-panel .admin-card-head{padding:18px 20px}.business-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 20px 20px}.business-overview>div{display:grid;gap:8px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbfcff}.business-overview span{color:var(--muted)}.business-filter{display:flex;gap:10px;padding:0 20px 14px}.business-filter input{max-width:360px}.business-group-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;padding:0 20px 20px}.business-group-card{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:7px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;color:var(--text);cursor:pointer}.business-group-card:hover{border-color:#b9b9ff;background:#fafaff}.business-group-card i{width:10px;height:10px;border-radius:50%}.business-group-card span{color:var(--muted);font-size:12px}.business-group-card small{grid-column:2/-1;color:var(--muted)}.business-group-card.system{cursor:default}.operation-note{min-height:42px;padding:11px 13px;border-radius:10px;background:#f5f6fb;color:var(--muted)}@media(max-width:760px){.business-context-card{align-items:stretch;flex-direction:column}.business-context-card label{min-width:0}.business-overview{grid-template-columns:1fr}.business-filter{flex-direction:column}}

/* v188 account import usability: compact horizontal batches and reliable launch hit areas. */
.account-page-toolbar,.account-import-page-toolbar{position:relative;z-index:7;isolation:isolate;overflow:visible}.account-page-toolbar .section-actions,.account-import-page-toolbar .section-actions{position:relative;z-index:2;overflow:visible}.account-page-toolbar #add-account,.account-import-page-toolbar #new-import-job{position:relative;z-index:4;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-height:42px;pointer-events:auto}.account-import-launch-hover,.account-import-launch-hover *{cursor:pointer!important}
.import-job-workspace{grid-template-columns:minmax(0,1fr)}.import-job-list-card{grid-row:1}.import-job-detail-card{grid-row:2}.import-job-card-head{padding:13px 16px}.import-job-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,310px);grid-template-columns:none;gap:8px;max-height:none;padding:10px;overflow-x:auto;overflow-y:hidden;scrollbar-gutter:stable}.import-job-row{gap:7px;padding:11px 12px;transform:none!important}.import-job-placeholder{min-height:300px}.import-job-detail-head .import-credential-note{margin-top:7px;color:#50617c}.import-account-name .import-credential-hint.saved{color:#178467}.import-account-name .import-credential-hint.missing{color:#b36b18}@media(max-width:760px){.import-job-list{grid-auto-columns:minmax(235px,85vw);grid-template-columns:none}}
.import-auth-workbench{display:flex;align-items:center;gap:16px;margin:14px 20px 4px;padding:13px 15px;border:1px solid #dfe2ff;border-radius:12px;background:#f7f7ff}.import-auth-workbench>div:first-child{display:grid;gap:3px;margin-right:auto}.import-auth-workbench>div:first-child span,.import-auth-workbench>div:first-child small,.import-queue-hint,.import-auto-label{color:#68758d;font-size:12px}.import-auth-workbench select{width:auto;min-width:112px;margin:0;padding:7px 28px 7px 9px;font-size:12px}.import-auth-stats{display:flex;gap:13px;white-space:nowrap}.import-auth-stats span{color:#68758d;font-size:12px}.import-auth-stats b{color:#4f51d7}.import-auth-stats .manual b{color:#c44d5b}.import-queue-hint{display:block;margin-top:4px}.import-auto-label{white-space:nowrap}@media(max-width:760px){.import-auth-workbench{align-items:flex-start;flex-direction:column}.import-auth-stats{flex-wrap:wrap}}

.ai-service-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.ai-service-metric{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(24,36,66,.04)}.ai-service-metric span,.ai-service-metric b,.ai-service-metric small{display:block}.ai-service-metric span{color:var(--muted);font-size:12px;font-weight:700}.ai-service-metric b{margin-top:9px;font-size:22px}.ai-service-metric small{margin-top:7px;color:var(--muted);font-size:12px}.ai-service-metric.good{border-color:#bdebdc;background:#f5fcf9}.ai-service-metric.good b{color:#168468}.ai-service-metric.warning{border-color:#f2d598;background:#fffaf0}.ai-service-metric.warning b{color:#b66b09}.ai-service-metric.danger{border-color:#f1c2c8;background:#fff7f8}.ai-service-metric.danger b{color:#d14653}.ai-service-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}.ai-service-details>div{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafbfe}.ai-service-details span,.ai-service-details b{display:block}.ai-service-details span{color:var(--muted);font-size:12px}.ai-service-details b{margin-top:7px;font-size:14px;overflow-wrap:anywhere}@media(max-width:900px){.ai-service-metrics{grid-template-columns:repeat(2,1fr)}.ai-service-details{grid-template-columns:1fr}}@media(max-width:560px){.ai-service-metrics{grid-template-columns:1fr}}
.task-chain-panel{width:min(760px,calc(100vw - 32px));max-height:min(86vh,900px);overflow-y:auto}.task-chain-item{margin:12px 0;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.task-chain-item header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.task-chain-item textarea{min-height:96px}.task-chain-item .file-button{display:inline-flex;margin-top:10px}.task-chain-item small{margin-left:10px;color:#64748b}
.unified-thread-composer{width:min(760px,calc(100vw - 28px));max-height:min(90vh,920px);overflow-y:auto;scrollbar-gutter:stable}.thread-composer-item{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;margin:14px 0}.thread-composer-item:not(:last-child)::after{content:"";position:absolute;left:16px;top:36px;bottom:-18px;width:2px;background:#e3e5ff}.thread-composer-index{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#5b57ef;color:#fff;font-size:13px;font-weight:800;box-shadow:0 0 0 5px #f1f0ff}.thread-composer-body{min-width:0;padding:15px;border:1px solid #dfe3ef;border-radius:15px;background:#fff}.thread-composer-main .thread-composer-body{border-color:#cbc9ff;background:#fbfaff}.thread-composer-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}.thread-composer-heading b{font-size:15px;color:#182338}.thread-composer-heading small{margin-left:auto;color:#758097}.thread-composer-heading .delete{margin-left:0}.thread-composer-body textarea{width:100%;min-height:104px}.thread-composer-media img,.thread-composer-media video{width:112px;height:82px;object-fit:cover}.thread-composer-add{width:calc(100% - 46px);margin:4px 0 0 46px;border-style:dashed}.thread-composer-note{margin:12px 0 4px 46px;padding:10px 12px;border-radius:10px;background:#f3f2ff;color:#626d82;font-size:13px}.unified-thread-composer>.modal-actions{position:sticky;bottom:-16px;z-index:5;background:#fff;margin:18px -18px -16px;padding:14px 18px;border-top:1px solid #e8ebf3}.content-form.unified-thread-composer textarea{height:auto}.content-form.unified-thread-composer .thread-composer-body>.field-block{position:relative;z-index:1}.content-form.unified-thread-composer .thread-composer-media{pointer-events:auto;overflow:visible}
.thread-composer-drag{padding:3px 7px;border:0;border-radius:7px;background:#f0efff;color:#5b57d7;font-size:17px;cursor:grab}.thread-composer-drag:active{cursor:grabbing}.thread-composer-item.dragging{opacity:.48}.thread-composer-item.drag-over .thread-composer-body{border-color:#625bf6;box-shadow:0 0 0 3px rgba(98,91,246,.12)}.thread-composer-item.has-error .thread-composer-body{border-color:#e39aa4;background:#fffafb}.thread-composer-issue{display:block;margin-top:7px;color:#bf3e4e;font-size:12px}.thread-composer-preflight{margin:12px 0 4px;padding:10px 12px;border-radius:10px;background:#ecfbf6;color:#147d63;font-size:13px;font-weight:700}.thread-composer-preflight.warning{background:#fff5e8;color:#a46509}.thread-composer-preflight.error{background:#fff0f2;color:#be3c4c}
@media(max-width:640px){.unified-thread-composer{width:calc(100vw - 16px)}.thread-composer-item{grid-template-columns:28px minmax(0,1fr);gap:8px}.thread-composer-index{width:28px;height:28px}.thread-composer-item:not(:last-child)::after{left:13px;top:30px}.thread-composer-body{padding:12px}.thread-composer-add{width:calc(100% - 36px);margin-left:36px}.thread-composer-note{margin-left:36px}}

@media(max-width:640px){.guided-tutorial-popover{max-height:calc(50vh - 12px);overflow-y:auto;padding:14px 16px;border-radius:14px}.guided-tutorial-popover h2{margin:5px 0;font-size:16px}.guided-tutorial-popover>p{font-size:12px;line-height:1.45}.guided-tutorial-progress{margin-top:9px;padding-top:8px}.guided-tutorial-actions{margin-top:9px}}
body.guided-tutorial-active:not(.guided-tutorial-paused) .guided-tutorial-controller{display:none!important}
.result-main .task-result-content-preview{max-width:68ch;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-line;word-break:break-word;color:#27334a;line-height:1.55}.result-main .task-result-content-preview.muted{color:var(--muted)}.notification-list{padding-right:10px;scrollbar-gutter:stable}.notification-expand{min-width:44px;text-align:center}
.chain-result-items{display:grid;gap:6px;margin-top:10px}.chain-result-row{display:grid;grid-template-columns:24px 1fr;gap:8px;padding:8px;border-radius:9px;background:#f4f6fa}.chain-result-row>span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#e5e9f1;font-size:12px;font-weight:800}.chain-result-row b{font-size:12px}.chain-result-row p{margin:3px 0 0!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.chain-result-row.published{background:#edf9f5}.chain-result-row.published>span{background:#d8f3e9;color:#168468}.chain-result-row.failed{background:#fff0f2}.chain-result-row.failed>span{background:#ffdfe3;color:#c93f4d}.result-main .result-advice{padding:7px 9px;border-radius:8px;background:#fff6e5;color:#94600a}
.onboarding-tutorial-entry{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;margin-top:18px;padding:14px 15px;border:0;border-radius:13px;background:linear-gradient(135deg,#f0efff,#f8f7ff);color:inherit;text-align:left;cursor:pointer;box-shadow:inset 0 0 0 1px #dedcfd}.onboarding-tutorial-entry:hover{box-shadow:inset 0 0 0 1px #aaa6ff,0 7px 18px #625bf612}.onboarding-tutorial-entry>i{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#625bf6;color:#fff;font-style:normal}.onboarding-tutorial-entry b,.onboarding-tutorial-entry small{display:block}.onboarding-tutorial-entry span>small:first-child{margin:0 0 3px;color:#625bf6;font-size:12px;font-weight:850}.onboarding-tutorial-entry b{font-size:13px}.onboarding-tutorial-entry span>small:last-child{margin-top:4px;color:#68738a;font-size:12px;line-height:1.45}.onboarding-tutorial-entry em{color:#5b54d6;font-size:12px;font-style:normal;font-weight:850;white-space:nowrap}.onboarding-step-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:24px 0 10px;padding:0 2px}.onboarding-step-heading b,.onboarding-step-heading span{display:block}.onboarding-step-heading b{font-size:14px}.onboarding-step-heading span,.onboarding-step-heading>small{margin-top:3px;color:#8a91a2;font-size:12px}.onboarding-steps{margin-top:0}.onboarding-prompt-option{width:max-content;margin:14px 0 0}@media(max-width:560px){.onboarding-tutorial-entry{grid-template-columns:36px minmax(0,1fr)}.onboarding-tutorial-entry em{grid-column:2}.onboarding-step-heading>small{display:none}.onboarding-panel{padding:22px 18px}}
/* v228: compact server-side account pagination and account-operation occupancy. */
.account-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;padding:14px 18px;border-top:1px solid #e8ebf3;color:#667085;font-size:14px}
.account-pagination[hidden]{display:none}
.account-pagination>span{flex:0 0 auto;margin-right:auto;white-space:nowrap}
.account-pagination label{display:flex;flex:0 0 auto;align-items:center;gap:6px;white-space:nowrap}
.account-pagination select{flex:0 0 78px;width:78px;height:34px;min-width:78px;margin:0;padding:0 28px 0 10px;border:1px solid #dfe3ec;border-radius:9px;background:#fff}
.account-pagination>button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:auto;min-width:68px;min-height:34px;white-space:nowrap}
.account-pagination b{flex:0 0 auto;min-width:64px;text-align:center;white-space:nowrap;color:#344054}
.account-operation-lock{display:inline-flex;align-items:center;gap:5px;margin-left:6px;padding:2px 7px;border-radius:999px;background:#fff3d9;color:#9a6700;font-size:12px;font-weight:600;white-space:nowrap}
.account-operation-lock::before{content:"";width:6px;height:6px;border-radius:50%;background:#e6a700;box-shadow:0 0 0 3px rgba(230,167,0,.12)}
@media (max-width:700px){.account-pagination{justify-content:center;flex-wrap:wrap}.account-pagination>span{flex-basis:100%;width:100%;margin:0;text-align:center}}
.list-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;border-top:1px solid var(--line)}
.list-pagination span{font-size:13px;color:var(--muted)}
.resource-account-query{width:150px;min-width:120px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit}
.resource-account-query:focus{border-color:#7770ff;box-shadow:0 0 0 3px rgba(98,91,246,.1);outline:none}
.read-scheduler-note{margin:-4px 0 12px;padding:8px 11px;border:1px solid #dfe5ff;border-radius:9px;background:#f7f8ff;color:#687287;font-size:12px;line-height:1.5}
@media(max-width:760px){.resource-account-query{width:100%;min-width:0}}
.read-performance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.read-performance-metrics>div{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fafbfe}.read-performance-metrics span,.read-performance-metrics b,.read-performance-metrics small{display:block}.read-performance-metrics span,.read-performance-metrics small{color:var(--muted);font-size:12px}.read-performance-metrics b{margin:7px 0;font-size:20px}.read-performance-slow{margin-top:14px;border-top:1px solid var(--line)}.read-performance-head,.read-performance-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(190px,.8fr) minmax(180px,.7fr);gap:14px;align-items:center;padding:11px 4px;border-bottom:1px solid var(--line)}.read-performance-head{color:var(--muted);font-size:12px}.read-performance-row span,.read-performance-row small{color:var(--muted);font-size:12px}.platform-status.warning{background:#fff2d8;color:#a96800}@media(max-width:900px){.read-performance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.read-performance-head,.read-performance-row{grid-template-columns:1fr}.read-performance-head span{display:none}}@media(max-width:560px){.read-performance-metrics{grid-template-columns:1fr}}
.task-preset-preview{display:block;margin-top:7px;padding:9px 11px;border:1px solid #e3e6f2;border-radius:10px;background:#f7f8fc;color:#69738a;font-size:12px;line-height:1.45}.task-preset-preview.ready{border-color:#cbc9ff;background:#f5f4ff;color:#4f4ac8}.task-preset-assignment{margin:14px 0;padding:14px;border:1px solid #e1e5f0;border-radius:14px;background:#fafbfe}.task-preset-assignment-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.task-preset-assignment-head div{display:grid;gap:3px}.task-preset-assignment-head small{color:#748097}.task-preset-pool{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:180px;overflow:auto}.task-preset-pool-item{display:flex;gap:9px;align-items:flex-start;padding:10px;border:1px solid #e5e7f0;border-radius:10px;background:#fff;cursor:pointer}.task-preset-pool-item span{display:grid;gap:3px;min-width:0}.task-preset-pool-item small{color:#778197;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-account-content-map{margin:12px 0}.task-account-map-summary{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:10px;background:#f6f5ff}.task-account-map-summary span{color:#d06445}.task-account-map-summary .success{color:#15936f}.task-account-map-list{display:grid;gap:9px;margin-top:9px;max-height:320px;overflow:auto}.task-account-map-item{padding:11px;border:1px solid #e4e7f0;border-radius:12px;background:#fff}.task-account-map-item.configured{border-color:#bde8da;background:#fbfffd}.task-account-map-item header{display:flex;justify-content:space-between;margin-bottom:8px}.task-account-map-item header span{font-size:12px;color:#a16d14}.task-account-map-item.configured header span{color:#138765}.task-account-map-item select{width:100%}.task-account-map-item p{margin:7px 0 0;color:#758097;font-size:12px;line-height:1.45}@media(max-width:760px){.task-content-mode-cards,.task-mapping-preview-grid,.task-preset-pool{grid-template-columns:1fr}.task-preset-assignment-head{align-items:flex-start;flex-direction:column}}
.account-health-diagnosis{width:max-content;margin:1px 0;border-radius:9px;background:#eef1f6;color:#657086;font-size:12px}.account-health-diagnosis>summary{padding:4px 8px;cursor:pointer;font-weight:800}.account-health-diagnosis>div{min-width:230px;margin-top:5px;padding:9px 10px;border:1px solid #e1e5ee;border-radius:9px;background:#fff;color:#59657a}.account-health-diagnosis p{display:flex;justify-content:space-between;gap:10px;margin:0 0 5px;font-size:12px}.account-health-diagnosis p:last-child{margin-bottom:0}.account-health-diagnosis p span{text-align:right}.account-health-diagnosis.ok{background:#e8f8f2;color:#14876a}.account-health-diagnosis.account_invalid,.account-health-diagnosis.security_verification{background:#fff0f1;color:#ca4350}.account-health-diagnosis.network_proxy,.account-health-diagnosis.proxy_degraded,.account-health-diagnosis.rate_limited{background:#fff5dd;color:#9e6b08}.account-health-diagnosis.service_unknown{background:#f1f0ff;color:#5751dc}
.account-import-source-panel{width:min(760px,calc(100vw - 32px))}.import-source-warning{margin:14px 0;padding:12px 14px;border:1px solid #f3d79a;border-radius:12px;background:#fff8e8;color:#8a5b00;line-height:1.55}.account-import-source-line{min-height:120px;max-height:300px;margin:0;padding:16px;border:1px solid #dfe4ee;border-radius:12px;background:#f7f9fc;white-space:pre-wrap;overflow:auto;word-break:break-all;font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.account-import-source-history{display:grid;gap:8px;margin-top:14px}.account-import-source-history>div{display:flex;justify-content:space-between;gap:16px;padding:10px 12px;border-radius:10px;background:#f7f8fc;color:#637083}.account-import-source-history b{color:#20293a}
.browser-close-choice-panel{width:min(480px,calc(100vw - 32px))}.browser-close-choice-panel p{margin:12px 0 20px;color:#66718d;line-height:1.7}.browser-close-choice-panel .modal-actions{justify-content:flex-end}
.post-action-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px;border-bottom:1px solid var(--border,#e5e9f2)}
.post-action-toolbar .danger,.comment-foot .danger-link{color:#d83f4f;background:#fff1f3;border-color:#ffd6dc}
.post-action-toolbar button[aria-pressed="true"]{color:#187b67;background:#eaf8f4;border-color:#bfeadd;opacity:1}
.post-media-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0}
.post-media-gallery a,.post-media-gallery img,.post-media-gallery video{display:block;width:100%;min-width:0;border-radius:12px}
.post-media-gallery a{overflow:hidden;border:1px solid var(--border,#e5e9f2);background:#f4f6fa}
.post-media-gallery img,.post-media-gallery video{max-height:420px;object-fit:cover;background:#10131a}
@media(max-width:560px){.post-media-gallery{grid-template-columns:1fr}.post-media-gallery img,.post-media-gallery video{max-height:360px}}
.comment-foot .danger-link{border:0;padding:4px 7px;border-radius:7px;cursor:pointer}
.comment-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
.post-list-filters{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line);background:#fafbfe}
.post-list-filters>input,.post-list-filters>select{height:38px;min-width:0;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit}
.post-list-filters>input:focus,.post-list-filters>select:focus{border-color:#7770ff;box-shadow:0 0 0 3px rgba(98,91,246,.1);outline:none}
.post-list-filters details{grid-column:1/-1;position:relative}
.post-list-filters details>summary{width:max-content;color:#625bf6;font-size:12px;font-weight:800;cursor:pointer;list-style:none}
.post-list-filters details>summary::after{content:" ▾"}.post-list-filters details[open]>summary::after{content:" ▴"}
.post-list-filters details>div{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin-top:9px}
.post-list-filters label{display:grid;gap:5px;color:var(--muted);font-size:12px}.post-list-filters label input{height:36px;min-width:0;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}
.post-list-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-top:1px solid var(--line);background:#fff}
.post-list-pagination[hidden]{display:none}.post-list-pagination select{height:34px;padding:0 26px 0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted)}
.post-list-pagination button{margin-left:auto}.post-list-pagination button[hidden]{display:none}
.post-operation-state{display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:6px 10px;border-radius:999px;background:#f0f2f7;color:#627087;font-size:12px;font-weight:800}
.post-operation-state i{width:7px;height:7px;border-radius:50%;background:currentColor}.post-operation-state.submitting,.post-operation-state.queued{background:#fff4dc;color:#9a6909}.post-operation-state.running{background:#efefff;color:#5b55df}.post-operation-state.confirming{background:#eaf4ff;color:#2873b8}.post-operation-state.success{background:#e8f8f2;color:#168568}.post-operation-state.failed{background:#fff0f2;color:#c6404d}
.post-metrics-status{display:block;margin-top:8px;color:#778399;font-size:12px;line-height:1.5}.post-metrics-status.loading{color:#5b55df}.post-metrics-status.checked{color:#168568}.post-metrics-status.error{color:#c6404d}
.post-operation-history{width:100%;margin:10px 0 0;border:1px solid #e0e5ef;border-radius:12px;background:#f8faff;color:#4f5d73}.post-operation-history summary{padding:10px 12px;cursor:pointer;font-size:12px;font-weight:800}.post-operation-history>div{padding:0 12px 8px}.post-operation-history p{display:grid;grid-template-columns:auto auto 1fr;gap:8px;align-items:center;margin:0;padding:8px 0;border-top:1px solid #e7ebf3;font-size:12px}.post-operation-history p span{padding:3px 7px;border-radius:999px;background:#eef1f7}.post-operation-history p span.confirming{background:#eaf4ff;color:#2873b8}.post-operation-history p span.succeeded{background:#e8f8f2;color:#168568}.post-operation-history p span.failed{background:#fff0f2;color:#c6404d}.post-operation-history small{text-align:right;color:#7b8799}.post-operation-history em{grid-column:1/-1;color:#a34d55;font-style:normal}
@media(max-width:560px){.post-list-filters{grid-template-columns:1fr}.post-list-filters details{grid-column:1}.post-list-filters details>div{grid-template-columns:1fr}.post-operation-state{width:100%;justify-content:center;margin-left:0}}

/* v268: every post-sync control owns one grid cell and one hit-test rectangle. */
#posts>.section-toolbar{align-items:start;overflow:visible}
#posts .content-sync-controls{display:grid;grid-template-columns:minmax(150px,180px) minmax(210px,250px) minmax(138px,160px) minmax(138px,160px) minmax(118px,138px) minmax(112px,132px);align-items:center;gap:8px;width:100%;overflow:visible}
#posts .content-sync-controls>*{position:relative;inset:auto;box-sizing:border-box;width:100%;min-width:0!important;height:42px;min-height:42px;max-height:42px;margin:0;transform:none;pointer-events:auto}
#posts .content-sync-controls>#post-group-select{z-index:8;isolation:isolate}
#posts .content-sync-controls>.resource-account-query{z-index:7;isolation:isolate}
#posts .content-sync-controls>#post-account-select{z-index:6;isolation:isolate}
#posts .content-sync-controls>#post-sync-content{z-index:5;isolation:isolate}
#posts .content-sync-controls>.resource-read-settings{z-index:3}
#posts .content-sync-controls>.resource-read-settings:not([open])>:not(summary){display:none!important;visibility:hidden!important;pointer-events:none!important}
#posts .content-sync-controls>.resource-read-settings[open]{z-index:30}
#posts .content-sync-controls>.resource-read-settings>summary{box-sizing:border-box;width:100%;height:42px;min-height:42px;margin:0}
#posts .content-sync-controls>#load-account-posts{z-index:5;width:100%;margin:0}
@media(max-width:1280px){#posts .section-toolbar{display:grid;gap:12px}#posts .content-sync-controls{grid-template-columns:minmax(150px,1fr) minmax(210px,1.35fr) minmax(138px,.9fr) minmax(138px,.9fr) minmax(118px,.8fr) minmax(112px,.8fr)}}
@media(max-width:900px){#posts .content-sync-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v329: keep every message-center toolbar control inside its own hit-test cell. */
#conversations>.section-toolbar{align-items:start;overflow:visible}
#conversations .inbox-sync-controls{display:grid;grid-template-columns:minmax(96px,auto) minmax(170px,194px) minmax(150px,240px) minmax(180px,230px) minmax(118px,138px) minmax(106px,118px);align-items:center;gap:8px;width:100%;overflow:visible}
#conversations .inbox-sync-controls>*{position:relative;inset:auto;box-sizing:border-box;width:100%;min-width:0!important;height:42px;min-height:42px;max-height:42px;margin:0;transform:none;pointer-events:auto}
#conversations .inbox-sync-controls>#open-inbox-automation{z-index:8;isolation:isolate}
#conversations .inbox-sync-controls>#conversation-group-select{z-index:7;isolation:isolate}
#conversations .inbox-sync-controls>.resource-account-query{z-index:6;isolation:isolate}
#conversations .inbox-sync-controls>#conversation-account-select{z-index:5;isolation:isolate}
#conversations .inbox-sync-controls>.resource-read-settings{z-index:3}
#conversations .inbox-sync-controls>.resource-read-settings:not([open])>:not(summary){display:none!important;visibility:hidden!important;pointer-events:none!important}
#conversations .inbox-sync-controls>.resource-read-settings[open]{z-index:30}
#conversations .inbox-sync-controls>.resource-read-settings>summary{box-sizing:border-box;width:100%;height:42px;min-height:42px;margin:0}
#conversations .inbox-sync-controls>#load-conversations{z-index:5;width:100%;margin:0}
@media(max-width:1280px){#conversations .section-toolbar{display:grid;gap:12px}#conversations .inbox-sync-controls{grid-template-columns:minmax(96px,.7fr) minmax(170px,1fr) minmax(150px,1.1fr) minmax(180px,1.2fr) minmax(118px,.8fr) minmax(82px,.65fr)}}
@media(max-width:900px){#conversations .inbox-sync-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#posts .content-sync-controls{grid-template-columns:1fr}}
.attach-text-editor{margin:10px 0;padding:0 12px 12px;border:1px solid var(--line);border-radius:12px;background:#fafbff}.attach-text-editor summary{padding:11px 0;cursor:pointer;color:#625bf6;font-weight:650}.attach-text-editor textarea{width:100%;min-height:120px;resize:vertical;background:#fff}.attach-text-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:8px}.attach-text-actions label{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12px}.attach-text-actions .char-count{margin-left:auto}
.post-comment-composer{grid-template-columns:minmax(150px,.7fr) minmax(170px,.8fr) minmax(220px,1.5fr) minmax(92px,.45fr) auto;align-items:start}.post-comment-composer>.attach-text-editor{grid-column:4;grid-row:1;min-width:0;min-height:42px;margin:0;padding:0 10px;background:#fff}.post-comment-composer>.attach-text-editor>summary{display:flex;align-items:center;min-height:40px;padding:0;white-space:nowrap}.post-comment-composer>.attach-text-editor[open]{grid-column:1/-1;grid-row:2;padding:0 12px 12px}.post-comment-composer>button{grid-column:5;grid-row:1;align-self:start}@media(max-width:900px){.post-comment-composer{grid-template-columns:1fr}.post-comment-composer>.attach-text-editor,.post-comment-composer>.attach-text-editor[open],.post-comment-composer>button{grid-column:1;grid-row:auto;width:100%}}

/* Task account picker: five visible rows by default, with explicit collapse. */
.task-account-picker{margin:13px 0;padding:0;border:1px solid #d8d9ff;border-radius:12px;background:#fff;overflow:hidden}
.task-account-picker>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #e8e9f1}
.task-account-picker>header>div{display:flex;align-items:center;gap:10px}.task-account-picker>header b{font-size:14px}.task-account-picker>header span{padding:4px 8px;border-radius:9px;background:#efefff;color:#554fd2;font-size:12px;font-weight:750}
.task-account-picker>header .text-button{padding:6px 8px;color:#5853dc}.task-account-picker-body[hidden]{display:none!important}
.task-account-picker-tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:11px 14px}.task-account-picker-tools label{margin:0}.task-account-picker-tools input{height:40px;margin:0}.task-account-picker-tools button{height:40px;min-width:60px}
.task-account-picker-list{max-height:280px;overflow-y:auto;padding:0 14px;scrollbar-gutter:stable}.task-account-picker-row{display:grid;grid-template-columns:18px 34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;margin:0;border-top:1px solid #eceef4;cursor:pointer}.task-account-picker-row:first-child{border-top:0}.task-account-picker-row>input{width:16px;height:16px;margin:0;accent-color:#5b5cf6}.task-account-picker-avatar{width:32px;height:32px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#ebeaff;color:#514bd1;font-size:12px;font-weight:800}.task-account-picker-avatar img{width:100%;height:100%;object-fit:cover}.task-account-picker-identity{min-width:0}.task-account-picker-identity b,.task-account-picker-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-account-picker-identity b{font-size:12px}.task-account-picker-identity small{margin-top:2px;color:var(--muted);font-size:12px}.task-account-picker-row em{padding:4px 8px;border-radius:10px;background:#e9faf4;color:#148269;font-size:12px;font-style:normal;font-weight:750}.task-account-picker-hint{display:block;padding:9px 14px;border-top:1px solid #eceef4;color:var(--muted);text-align:center}.task-account-picker-empty{display:flex;align-items:center;justify-content:center;gap:8px;min-height:92px;color:var(--muted);font-size:12px}
@media(max-width:620px){.task-account-picker-tools{grid-template-columns:1fr auto auto}.task-account-picker-row{grid-template-columns:18px 32px minmax(0,1fr)}.task-account-picker-row em{display:none}}

/* Post management media and state presentation v310. */
.post-list-filters{grid-template-columns:minmax(170px,1fr) repeat(4,minmax(105px,.42fr))}.post-list-filters details{grid-column:1/-1}
.post-list-item-with-media{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:11px;align-items:start}.post-list-item-with-media>.post-list-thumbnail{grid-column:1;grid-row:1/5}.post-list-item-with-media>.resource-item-top,.post-list-item-with-media>.post-status-chips,.post-list-item-with-media>strong,.post-list-item-with-media>.resource-metrics{grid-column:2}.post-list-thumbnail{position:relative;width:76px;height:76px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:11px;background:#f3f5fa;color:var(--muted)}.post-list-thumbnail img{width:100%;height:100%;object-fit:cover}.post-list-thumbnail>b{position:absolute;right:5px;bottom:5px;padding:2px 6px;border-radius:9px;background:rgba(18,25,40,.82);color:#fff;font-size:12px}.post-list-thumbnail>i{font-style:normal;font-size:20px}.post-list-thumbnail>em{font-size:12px;font-style:normal}.post-list-thumbnail.video-placeholder{background:linear-gradient(145deg,#1b2130,#373f52);color:#fff}.post-list-thumbnail.text-placeholder{background:#f1f0ff;color:var(--accent)}
.post-status-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.post-status-chips i{padding:3px 7px;border-radius:10px;background:#eef1f6;color:#596579;font-size:12px;font-style:normal;font-weight:700}.post-status-chips .active,.post-status-chips .fresh{background:#e5f8f1;color:#078763}.post-status-chips .recent{background:#eef3ff;color:#4764bb}.post-status-chips .stale,.post-status-chips .metric-pending{background:#fff2d9;color:#a66600}.post-status-chips .removed,.post-status-chips .metric-error{background:#ffe9ec;color:#c6384d}.post-status-chips .archived{background:#eeeafd;color:#6a53c9}.post-detail-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:8px}.post-detail-status small{color:var(--muted);font-size:12px}
.post-media-gallery-v310{width:100%;margin:14px 0}.post-gallery-main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-items:start;gap:8px}.post-gallery-item{position:relative;min-width:0;height:78px;display:grid;place-items:center;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:11px;background:#f3f5fa;color:var(--muted);cursor:pointer}.post-gallery-item.active{grid-column:1/-1;width:fit-content;max-width:100%;height:auto;min-width:96px;min-height:0;justify-self:start;align-self:start;border-color:#d8dce5;background:transparent;box-shadow:none}.post-gallery-item img{width:100%;height:100%;object-fit:cover}.post-gallery-item.active img{display:block;width:auto;height:auto;max-width:100%;max-height:360px;object-fit:contain;background:transparent}.post-gallery-item>span{position:absolute;right:7px;bottom:7px;padding:3px 7px;border-radius:10px;background:rgba(18,25,40,.78);color:#fff;font-size:12px}.post-gallery-item.video-placeholder{background:linear-gradient(145deg,#1b2130,#373f52);color:#fff;text-decoration:none}.post-gallery-item.video-placeholder i{font-size:24px;font-style:normal}.post-gallery-item.video-placeholder em{font-size:12px;font-style:normal}.post-gallery-item.video-placeholder small{display:block;margin-top:4px;color:#dbe2f0}.post-gallery-help{display:block;margin-top:8px;color:var(--muted);font-size:12px;text-align:left}.media-preview-placeholder{display:none;padding:8px;color:#7a8496;font-size:12px;font-style:normal;line-height:1.5;text-align:center}.media-unavailable .media-preview-placeholder{display:block}.post-metrics-status .link-button{margin-left:8px;padding:0;border:0;background:transparent;color:var(--accent);font:inherit;font-weight:700;cursor:pointer}.comment-item.is-new{margin:0 -8px;padding:12px 10px;border-radius:10px;background:#edfbf5}.new-comment-badge{margin-left:auto;padding:2px 7px;border-radius:9px;background:#dff7ed;color:#078763;font-size:12px;font-style:normal}
#account-post-list{overflow-anchor:none;overscroll-behavior:contain}.post-list-virtual-spacer{grid-column:1/-1;pointer-events:none}.post-list-item-with-media{content-visibility:auto;contain-intrinsic-size:142px 100%}.post-list-thumbnail img[data-src]:not([src]),.post-gallery-item img[data-src]:not([src]){opacity:0}.post-list-thumbnail img,.post-gallery-item img{transition:opacity .16s ease}.post-list-thumbnail img[src],.post-gallery-item img[src]{opacity:1}
@media(max-width:900px){.post-list-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.post-list-filters>input{grid-column:1/-1}}
@media(max-width:560px){.post-list-filters{grid-template-columns:1fr}.post-list-filters>input,.post-list-filters details{grid-column:1}.post-list-item-with-media{grid-template-columns:64px minmax(0,1fr)}.post-list-thumbnail{width:64px;height:64px}.post-gallery-main{grid-template-columns:repeat(3,minmax(0,1fr))}.post-gallery-item.active{height:auto;max-width:100%}.post-gallery-item.active img{max-height:320px}}

.task-account-post-list{display:grid;gap:7px;margin:8px 0}.task-account-post-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;padding:9px 10px;border:1px solid #e4e7f0;border-radius:9px;background:#f8f9fc}.task-account-post-item>b,.task-account-post-item>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-account-post-item>small{grid-column:1;color:#758097;font-size:12px}.task-account-post-item>div{grid-column:2;grid-row:1/3;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}.task-account-post-item button{padding:4px 6px;font-size:12px}@media(max-width:760px){.task-account-post-item{grid-template-columns:1fr}.task-account-post-item>div{grid-column:1;grid-row:auto;justify-content:flex-start}}

/* Follower management */
.nav-icon-followers svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.follower-workspace{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:18px;align-items:start}.follower-accounts,.follower-list-card{min-width:0}.follower-account-tools{display:grid;gap:8px;margin-bottom:12px}.follower-account-tools>div{display:flex;justify-content:space-between;gap:8px}.follower-account-list{display:grid;gap:8px;max-height:68vh;overflow:auto}.follower-account-item{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:center;width:100%;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff}.follower-account-item:hover,.follower-account-item.active{border-color:var(--accent);background:#f5f5ff}.follower-account-item>input{width:17px;height:17px;margin:0}.follower-account-item>button{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:2px;border:0;background:transparent;text-align:left;cursor:pointer}.follower-account-item img,.follower-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#eeeff4}.follower-account-item button span{display:grid;min-width:0}.follower-account-item b,.follower-account-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.follower-account-item em{font-style:normal;font-weight:700;color:var(--accent)}.follower-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.follower-metrics>div{display:grid;gap:5px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}.follower-metrics span{font-size:12px;color:var(--muted)}.follower-metrics b{font-size:20px}.follower-filters{display:grid;grid-template-columns:minmax(220px,1fr) 160px 130px;gap:10px;margin-bottom:10px}.follower-sync-message{min-height:22px;margin-bottom:8px;color:var(--muted);font-size:13px}.follower-user{display:flex;align-items:center;gap:10px}.follower-user span{display:grid}.follower-user small{color:var(--muted)}.follower-state{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e9faf4;color:#13866f;font-size:12px;font-weight:700}.follower-state.lost{background:#fff0f0;color:#b94545}.follower-actions{display:flex;gap:6px;white-space:nowrap}.pagination-bar{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px}.pagination-bar span{margin-right:auto;color:var(--muted);font-size:13px}@media(max-width:900px){.follower-workspace{grid-template-columns:1fr}.follower-account-list{max-height:280px}.follower-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.follower-filters{grid-template-columns:1fr}}
.follower-bulk-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:42px;margin:0 0 10px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:#f8f9fc}.follower-bulk-toolbar>span{margin-right:auto;color:var(--muted);font-size:13px}.follower-avatar-fallback{display:grid;flex:0 0 42px;place-items:center;background:#ebeaff;color:#514bd1;font-size:14px;font-weight:800}.follower-actions .succeeded{border-color:#b9ead8;background:#e8f8f2;color:#087b5c}.follower-actions .loading{position:relative;padding-left:27px}.follower-actions .loading:before{content:"";position:absolute;left:9px;width:11px;height:11px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.follower-dm-panel{width:min(560px,calc(100vw - 32px))}.follower-dm-panel textarea{min-height:150px}.follower-dm-panel .char-count{display:block;margin-top:5px;color:var(--muted);font-size:12px;text-align:right}.follower-chat-panel{display:grid;grid-template-rows:auto minmax(220px,55vh) auto;width:min(720px,calc(100vw - 32px));max-height:88vh;padding:0;overflow:hidden}.follower-chat-panel>.modal-close{z-index:2}.follower-chat-panel .conversation-header{display:flex;align-items:center;gap:11px;padding:20px 24px 14px;border-bottom:1px solid var(--line)}.follower-chat-panel .conversation-header h2,.follower-chat-panel .conversation-header p{margin:0}.follower-chat-panel .conversation-header p{margin-top:3px;color:var(--muted);font-size:13px}.follower-chat-panel .message-list{overflow:auto;padding:18px 24px;background:#f7f8fb}.follower-chat-panel .conversation-composer{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:8px;padding:14px 20px;border-top:1px solid var(--line);background:#fff}.follower-chat-panel .conversation-composer textarea{min-height:72px;resize:vertical}.follower-chat-panel .conversation-composer .operation-error{grid-column:1/-1}.follower-chat-panel .message-bubble p{white-space:pre-wrap;word-break:break-word}@media(max-width:620px){.follower-bulk-toolbar{flex-wrap:wrap}.follower-bulk-toolbar>span{width:100%}.follower-chat-panel .conversation-composer{grid-template-columns:1fr}.follower-chat-panel .conversation-composer .operation-error{grid-column:1}.follower-table th:nth-child(3),.follower-table td:nth-child(3),.follower-table th:nth-child(6),.follower-table td:nth-child(6){display:none}}
.follower-task-context{display:grid;gap:4px;margin:8px 0 14px;padding:12px 14px;border:1px solid #d8d9ff;border-radius:11px;background:#f3f3ff}.follower-task-context[hidden]{display:none}.follower-task-context b{color:#4540b8}.follower-task-context span{color:var(--muted);font-size:13px}.follower-task-mode .task-strategy-picker,.follower-task-mode .task-account-picker,.follower-task-mode #task-collect-label,.follower-task-mode #task-total-limit-label,.follower-task-mode #task-publish-options,.follower-task-mode #task-action-policy label:has(#task-hourly-limit),.follower-task-mode #task-action-policy label:has(#task-daily-limit),.follower-task-mode #task-action-policy label:has(#task-parallel-accounts){display:none!important}.follower-task-mode #task-type,.follower-task-mode #task-account{background:#f3f4f7;color:#687286;pointer-events:none}.follower-dm-panel textarea.readonly-preview{background:#f3f4f7;color:#515a6b;cursor:default}.follower-dm-panel #follower-dm-copy-manual{justify-self:start;margin-top:-7px}
.follower-row-focus{animation:follower-row-focus 3s ease-out}@keyframes follower-row-focus{0%,35%{background:#fff4c7;box-shadow:inset 3px 0 #e2a719}100%{background:transparent;box-shadow:none}}
.support-session-banner{position:fixed;z-index:10000;top:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:8px 16px;background:#fff3cd;border-bottom:1px solid #e2b84b;color:#6f5100;box-shadow:0 3px 12px rgba(39,32,0,.12)}.support-session-banner[hidden]{display:none}.support-session-banner b{font-size:14px}.support-session-banner span{font-size:13px}.support-session-banner button{padding:5px 10px;border:1px solid #b98a17;border-radius:8px;background:#fff9e8;color:#6f5100;font-weight:700;cursor:pointer}.support-session-active .sidebar,.support-session-active main{margin-top:44px}@media(max-width:680px){.support-session-banner{align-items:flex-start;flex-wrap:wrap;justify-content:flex-start}.support-session-active .sidebar,.support-session-active main{margin-top:72px}}
.follower-metadata{display:flex;flex-wrap:wrap;gap:4px;max-width:240px}.follower-metadata>span{padding:2px 7px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:12px}.follower-metadata>small{flex-basis:100%;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.follower-replied{display:block;color:#059669;margin-top:4px}.follower-filters #follower-tag-filter{min-width:130px;max-width:180px}
.follower-operation-panel{width:min(900px,calc(100vw - 36px));max-height:88vh;overflow:auto}.follower-operation-list{display:grid;gap:10px;margin-top:16px}.follower-operation-item{display:flex;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafbfe}.follower-operation-item>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.follower-operation-item p{flex-basis:100%;margin:0;color:#b23b49;font-size:12px}.follower-operation-item.pending_confirmation{border-color:#e8c56b;background:#fffaf0}
.account-imported-at{display:block;margin-top:4px;color:var(--muted)!important;font-size:12px;font-weight:400;white-space:normal;line-height:1.4}
.account-import-mode{display:block;width:fit-content;margin-top:4px;padding:2px 7px;border-radius:5px;background:#f1f0ff;color:#5b55cf;font-size:12px;font-weight:600;line-height:16px;white-space:nowrap}.account-import-mode.unknown{background:#f3f4f6;color:#747d8d}
.account-browser-state{width:130px!important;max-width:130px!important;margin-top:6px;border-radius:8px}.account-browser-state>summary{width:100%;box-sizing:border-box;height:30px;min-height:30px;padding:4px 28px 4px 10px;font-size:12px;line-height:20px;flex-direction:row;align-items:center}.account-browser-state-detail{padding:10px 12px!important}.account-browser-state-detail dl>div{grid-template-columns:78px minmax(0,1fr)!important;column-gap:12px!important}.account-browser-state-detail dt{padding-left:2px!important}
.account-browser-state[open]{width:min(380px,calc(100vw - 32px))!important;max-width:min(380px,calc(100vw - 32px))!important}
.account-browser-state{width:max-content;max-width:220px}.account-browser-state-detail dt{padding-right:10px;white-space:nowrap}
.import-diagnostics{margin-top:6px;max-width:440px;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.import-diagnostics>summary{cursor:pointer;color:#747b8b;background:none;border:0;box-shadow:none;font-size:12px!important;font-weight:400;padding:0!important;min-height:24px;height:auto;line-height:24px}
.import-diagnostics[open]{padding:6px 10px;background:#f7f8fc;border-radius:8px}
.import-diagnostics small{display:block;white-space:normal}
.platform-status-summary small.warning{color:#a36c13}
.import-diagnostics{margin-top:2px}.import-diagnostics[open]{padding:0;background:none}.import-diagnostics[open]>small{font-size:12px!important;line-height:1.5}
.import-proxy-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.import-proxy-picker .proxy-picker-navigation{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:12px}.import-proxy-picker select,.import-proxy-picker input{min-width:0}.import-proxy-picker .proxy-picker-navigation button{padding:4px 8px;font-size:12px}
@media(pointer:coarse){.import-diagnostics>summary{min-height:40px;line-height:40px}}
/* Import result colors are presentation, never appended to labels. */
.import-item-status.skipped{background:#e7f8f1!important;color:#13805e!important}
.import-item-status.warning{background:#fff5dd!important;color:#9e6b08!important}
.import-proxy-change{display:block;font-size:12px;color:#667085;margin-top:4px}
#import-proxy-reasons{max-height:100px;overflow:auto;font-size:12px;color:#88651d;line-height:1.6}
.import-item-status.queued{background:#eef1f6;color:#69758b}
.import-job-overview{grid-template-columns:repeat(auto-fit,minmax(85px,1fr))!important}

#auth-startup-actions{display:flex;gap:10px;margin-top:16px}#auth-startup-actions[hidden],#app-loader-spinner[hidden]{display:none!important}

.task-preflight-status.checking{background:#eef0ff;color:#5146b3}.task-preflight-status.checking>span{background:#e0e3ff}
.account-username-select-panel{width:min(540px,calc(100vw - 24px));padding:24px;scrollbar-gutter:auto}
.account-username-select-panel h2{margin:7px 0 10px}
.account-username-select-field{display:block;margin:18px 0 8px;font-size:13px;font-weight:700}
#account-username-select-input{display:block;box-sizing:border-box;width:100%;min-height:180px;max-height:40vh;resize:vertical;font:14px/1.7 Consolas,monospace}
.account-username-select-status{min-height:22px;margin:14px 0;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}
.account-username-select-status[data-tone="success"]{color:#13866f}
.account-username-select-status[data-tone="error"]{color:#b43e4c}
#account-username-select-details[hidden]{display:none}
#account-username-select-details summary{cursor:pointer;font-size:13px}
#account-username-select-unmatched{max-height:160px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}
.account-username-select-panel .modal-actions{margin-top:20px}
.account-selection-strip>div:has(#select-by-usernames){flex:0 1 auto;min-width:0;align-items:center;overflow-x:auto;scrollbar-width:thin}
.account-selection-strip>div:has(#select-by-usernames)>button{flex:0 0 auto;white-space:nowrap}
#select-by-usernames{border-color:#c9c7fa;color:#5b53ce;background:#f2f1ff}
@media(max-width:560px){.account-username-select-panel{padding:20px}.account-selection-strip>div:has(#select-by-usernames){overflow:visible}#select-by-usernames,#select-by-range{grid-column:auto}}

.account-range-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:12px;margin:22px 0 16px}
.account-range-fields label{display:grid;gap:8px;font-size:13px;font-weight:700;min-width:0}
.account-range-fields input{width:100%;min-width:0;box-sizing:border-box;min-height:44px;font-size:16px}
.account-range-fields>span{padding-bottom:13px;color:var(--muted)}
.account-row-ordinal{display:block;min-width:32px;margin-top:5px;font-size:12px;line-height:1.2;color:var(--muted);font-variant-numeric:tabular-nums}
#select-by-range{border-color:#c9c7fa;color:#5b53ce;background:#f2f1ff}
