:root{--bg:#f3faf9;--card:#fff;--line:#e7edf3;--text:#111827;--muted:#667085;--teal:#0ea5a4;--green:#12b76a;--blue:#377cf6;--purple:#8b5cf6;--orange:#f59e0b;--red:#ef4444;--shadow:0 10px 28px rgba(16,24,40,.08)}*{box-sizing:border-box}html,body{height:100%}body{font-family:Inter,Arial,"Microsoft YaHei",sans-serif;margin:0;color:var(--text);background:linear-gradient(135deg,#eefbf8 0%,#f7fbff 42%,#f7f8fb 100%)}.appShell{display:flex;min-height:100vh}.sidebar{width:256px;background:rgba(255,255,255,.9);border-right:1px solid var(--line);display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;backdrop-filter:blur(10px)}.brand{height:66px;display:flex;align-items:center;gap:12px;padding:0 22px;border-bottom:1px solid var(--line)}.brandLogo{width:38px;height:38px;border-radius:14px;background:radial-gradient(circle at 35% 35%,#e0f2fe 0 18%,#7c3aed 20% 55%,#0ea5a4 57%);color:white;display:grid;place-items:center;font-weight:900;box-shadow:0 8px 18px rgba(124,58,237,.25)}.brandName{font-size:20px;font-weight:800}.brandSub{font-size:12px;color:var(--muted);margin-top:2px}.sideNav{padding:14px 12px;display:flex;flex-direction:column;gap:6px}.sideNav a{height:40px;border-radius:11px;text-decoration:none;color:#344054;display:flex;align-items:center;gap:12px;padding:0 16px;font-size:14px}.sideNav a span{width:18px;text-align:center;color:#475467}.sideNav a.active,.sideNav a:hover{background:#e9fbf8;color:#008c89}.sideFooter{margin-top:auto;border-top:1px solid var(--line);padding:14px 16px}.miniStat{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:7px 0}.miniStat b{color:#111827}.greenText{color:#039855!important}.mainPane{margin-left:256px;min-width:0;width:calc(100% - 256px)}.topbar{height:66px;background:rgba(255,255,255,.85);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px;backdrop-filter:blur(10px)}.topbar h1{margin:0;font-size:22px}.topbar p{margin:3px 0 0;color:var(--muted);font-size:12px}.topActions{display:flex;align-items:center;gap:14px}.balancePill{height:34px;padding:0 13px;border-radius:999px;background:#e9fbf8;color:#0b766f;display:flex;align-items:center;gap:7px;font-weight:700}.avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#0ea5a4 0%,#7c3aed 100%);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px;cursor:pointer;transition:all .25s ease;box-shadow:0 2px 8px rgba(14,165,164,.25);position:relative;letter-spacing:1px}.avatar:hover{transform:scale(1.08);box-shadow:0 4px 14px rgba(14,165,164,.35)}.avatar::after{content:"";position:absolute;bottom:-1px;right:-1px;width:10px;height:10px;background:#12b76a;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px rgba(18,183,106,.15)}.content{padding:32px;display:flex;flex-direction:column;gap:24px}.statsGrid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:16px}.statCard{background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:20px 18px;display:flex;align-items:center;gap:14px}.iconBox{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:18px;font-weight:800}.iconBox.teal{background:#d1fae5;color:#039855}.iconBox.green{background:#dcfce7;color:#16a34a}.iconBox.purple{background:#ede9fe;color:#7c3aed}.iconBox.orange{background:#fef3c7;color:#d97706}.statCard span{display:block;color:var(--muted);font-size:13px}.statCard strong{font-size:24px;line-height:28px}.statCard small{display:block;color:var(--muted);font-size:12px}.panel{background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:16px}.panelHead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.panelHead.compact{margin-bottom:10px}.panel h2{margin:0;font-size:16px}.panel p{margin:5px 0 0;color:var(--muted);font-size:12px}.toolbar{display:grid;grid-template-columns:220px 120px 92px 112px 130px 140px 72px;gap:8px}.bulkbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.softText{font-size:12px;color:var(--muted)}input,select,textarea{width:100%;padding:10px 11px;border:1px solid #d9e1ea;border-radius:11px;background:#fff;font:inherit;color:#111827}textarea{resize:vertical}label{display:block;margin:10px 0 6px;font-size:13px;font-weight:600;color:#344054}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.checks label{margin:0;background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:8px;font-weight:500}.checks input,.rowcheck{width:auto}.downloadBtn{height:40px;border-radius:11px;background:#111827;color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;white-space:nowrap;padding:0 14px}.topDownload{box-shadow:0 8px 18px rgba(17,24,39,.14)}button{border:0;border-radius:11px;padding:9px 13px;background:#0ea5a4;color:#fff;cursor:pointer;font-weight:700}button.secondary{background:#f2f4f7;color:#344054;border:1px solid #d0d5dd}button.warn{background:#ef4444}button.danger{background:#7a271a}.primaryWide{width:100%;margin-top:4px}.lowerGrid{display:grid;grid-template-columns:380px minmax(0,1fr);gap:24px}.accountGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:9px}.accountCard{height:52px;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;align-items:center;gap:8px;padding:8px 34px 8px 9px;margin:0;cursor:pointer;min-width:0;transition:.15s;position:relative;overflow:visible}.accountCard:hover{border-color:#0ea5a4;box-shadow:0 6px 16px rgba(14,165,164,.12);transform:translateY(-1px)}.accountCard input{width:auto;margin:0;flex:0 0 auto}.cardMain{display:block;min-width:0;flex:1}.accountCard .profileName{font-size:13px;font-weight:800;line-height:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accountCard .xuser{font-size:11px;color:#667085;line-height:16px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selectedPanel{margin-top:14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,#fbfffe,#fff);padding:14px}.selectedPanelHead,.selectedGroupHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.selectedPanel h3{margin:0;font-size:15px}.selectedPanel p{margin:4px 0 0;color:var(--muted);font-size:12px}.selectedGroupedList{display:flex;flex-direction:column;gap:10px;margin-top:12px}.selectedGroup{border:1px solid #e8f0f3;border-radius:13px;background:#f8fbfd;padding:10px}.selectedGroupHead b{font-size:13px}.selectedGroupHead span,#selectedGroupedTotal{font-size:12px;color:#0b766f;background:#e9fbf8;border-radius:999px;padding:4px 9px;font-weight:800}.selectedChips{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:9px}.selectedChip{border:1px solid var(--line);border-radius:10px;background:#fff;padding:7px 8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 6px;align-items:center}.selectedChip b,.selectedChip em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selectedChip b{font-size:12px}.selectedChip em{font-style:normal;color:#667085;font-size:11px}.selectedChip .dot{grid-row:1/3;grid-column:2}.dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto}.okDot{background:#12b76a;box-shadow:0 0 0 4px rgba(18,183,106,.12)}.badDot{background:#d0d5dd}.banDot{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.13)}.isOffline{opacity:.72}table{width:100%;border-collapse:collapse;table-layout:fixed}td,th{border-bottom:1px solid var(--line);padding:8px;text-align:left;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th{font-size:12px;color:#475467;background:#f8fafc}.pill{display:inline-block;padding:3px 8px;border-radius:999px;background:#edf6ff;color:#1269aa;font-size:12px}.ok{background:#ecfdf3;color:#067647}.bad{background:#fff0f0;color:#b42318}.warnPill{background:#fff7ed;color:#b54708}.muted{color:var(--muted);font-size:12px}pre{max-height:260px;overflow:auto;background:#0b1020;color:#d5e7ff;padding:12px;border-radius:12px;white-space:pre-wrap}.actions{display:flex;gap:6px;flex-wrap:wrap}.small{padding:5px 9px;font-size:12px}.hide{display:none!important}@media(max-width:1200px){.statsGrid{grid-template-columns:repeat(2,1fr)}.lowerGrid{grid-template-columns:1fr}.toolbar{grid-template-columns:1fr 120px 92px 112px 130px 140px 72px}}@media(max-width:860px){.sidebar{position:static;width:auto}.appShell{display:block}.mainPane{margin-left:0;width:100%}.topbar{height:auto;padding:16px}.content{padding:16px}.statsGrid,.toolbar,.grid2,.checks{grid-template-columns:1fr}.panelHead{display:block}.accountGrid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}

.groupCreateBar{display:grid;grid-template-columns:220px auto;gap:8px;align-items:center}.groupToolbar{display:flex;align-items:center;gap:12px;margin:8px 0 14px}.groupToolbar label{display:flex;align-items:center;gap:8px;margin:0}.groupToolbar select{width:220px}.groupColumns{display:grid;grid-template-columns:minmax(0,1fr) 160px minmax(0,1fr);gap:14px;align-items:stretch}.groupBox{border:1px solid var(--line);border-radius:14px;background:#fbfdff;padding:12px;min-height:220px}.groupBoxHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.groupMove{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px}.miniAccountGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}.miniAccount{height:48px;border:1px solid var(--line);border-radius:11px;background:#fff;display:flex;align-items:center;gap:7px;padding:7px;margin:0;cursor:pointer;min-width:0}.miniAccount:hover{border-color:#0ea5a4;background:#f8fffe}.miniAccount input{width:auto;margin:0}.miniAccount span{min-width:0;flex:1;display:block}.miniAccount b{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miniAccount em{font-style:normal;color:#667085;font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1000px){.groupColumns{grid-template-columns:1fr}.groupMove{flex-direction:row}.groupCreateBar{grid-template-columns:1fr}.groupToolbar{display:block}.groupToolbar select{width:100%;margin-top:6px}}

.groupHeadActions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tiny{padding:4px 8px;font-size:12px;border-radius:8px}

.postPreviewList{display:flex;flex-direction:column;gap:8px;margin-top:10px;max-height:360px;overflow:auto}.postPreviewCard{margin:0;border:1px solid var(--line);border-radius:12px;background:#f8fafc;padding:10px;display:flex;align-items:flex-start;gap:9px;cursor:pointer}.postPreviewCard:hover{border-color:#0ea5a4;background:#f4fffd}.postPreviewCard input{width:auto;margin:3px 0 0}.postPreviewCard span{display:block;min-width:0}.postPreviewCard b{display:block;font-size:12px;margin-bottom:4px}.postPreviewCard em{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-style:normal;font-size:12px;line-height:18px;color:#344054}.postPreviewCard small{display:block;color:#98a2b3;font-size:10px;margin-top:5px}.previewLoading{padding:16px;border:1px dashed #b8dcd8;border-radius:11px;background:#f5fffd;color:#0b766f;font-size:12px;text-align:center}

.progressCell{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.taskDetailRow td{background:#fbfdff;white-space:normal}.taskDetailBox{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;display:flex;flex-direction:column;gap:8px;font-size:12px}.taskResultItem{border-top:1px solid var(--line);padding-top:8px}.taskResultItem pre{max-height:160px;margin:6px 0 0;background:#111827;color:#d5e7ff}

.taskSummaryGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin:8px 0}.taskSummaryGrid>div{border:1px solid var(--line);border-radius:10px;background:#f8fafc;padding:8px}.taskSummaryGrid b{display:block;font-size:11px;color:#667085}.taskSummaryGrid span{display:block;margin-top:3px;font-weight:800;color:#111827}.taskActionList{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.taskActionChip{display:inline-flex;align-items:center;border:1px solid #d9e1ea;background:#fff;border-radius:999px;padding:4px 8px;font-size:12px;color:#344054}.badText{color:#b42318;font-size:12px;margin-top:6px}.taskResultItem pre{display:none}

.taskDetailTitle{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.taskDetailTitle span{color:#667085;font-size:12px}.taskDetailList{max-height:432px;overflow-y:auto;overflow-x:hidden;padding-right:6px;scrollbar-gutter:stable;overscroll-behavior:contain;touch-action:pan-y;will-change:scroll-position;contain:content}.taskDetailList .accountTaskRow:first-child{margin-top:0}.accountTaskRow{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(320px,2fr) auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px;margin-top:8px;content-visibility:auto;contain-intrinsic-size:56px}.accountTaskMain{min-width:0}.accountTaskMain b,.accountTaskMain span,.accountTaskMain em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accountTaskMain b{font-size:13px}.accountTaskMain span{font-size:12px;color:#0b766f;margin-top:2px}.accountTaskMain em{font-style:normal;color:#667085;font-size:12px;margin-top:2px}.accountTaskStats{display:flex;gap:6px;flex-wrap:wrap}.accountTaskStats span{border:1px solid #d9e1ea;background:#f8fafc;border-radius:999px;padding:4px 8px;font-size:12px;color:#344054}.accountTaskState{display:flex;align-items:center;gap:8px}.accountTaskState i{font-style:normal}.accountTaskState small{color:#667085}@media(max-width:900px){.taskDetailList{max-height:520px}.accountTaskRow{grid-template-columns:1fr}.accountTaskState{justify-content:flex-start}}

.taskListPanel{display:flex;flex-direction:column;min-height:0;overflow:hidden;contain:size}.taskListPanel #tasks{flex:1;min-height:0;overflow:hidden}.taskListScroll{height:100%;max-height:none;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;touch-action:pan-x pan-y;will-change:scroll-position;contain:content}.taskListScroll table{min-width:1100px}.taskListScroll thead th{position:sticky;top:0;z-index:5;box-shadow:0 1px 0 var(--line)}@media(max-width:1200px){.taskListPanel{contain:none}.taskListPanel #tasks{flex:none;overflow:visible}.taskListScroll{height:auto;max-height:600px}}

.listPagination{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(160px,1fr);align-items:center;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.listPageControls,.listPageNumbers{display:flex;align-items:center;justify-content:center;gap:5px}.listPageControls button,.listPageBtn{height:32px;min-width:32px;padding:0 9px;border-radius:8px}.listPageBtn{background:#fff;color:#344054;border:1px solid #d0d5dd;box-shadow:none}.listPageBtn:hover{background:#f2f4f7}.listPageBtn.active{background:var(--teal);border-color:var(--teal);color:#fff}.listPageSize{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0;color:var(--muted);font-size:12px;font-weight:500}.listPageSize select{width:78px;padding:7px 8px}.taskPagination{flex:0 0 auto}@media(max-width:900px){.listPagination{grid-template-columns:1fr}.listPageSize{justify-content:center}.listPagination>.softText{text-align:center}}

.accountHealth{font-size:10px;padding:2px 6px;white-space:nowrap;flex:0 0 auto}.accountCard.isBanned{border-color:#fecaca;background:#fff7f7}.accountCard.isBanned .xuser{color:#b42318}

.scheduleField{margin-top:10px}.scheduleQuickSelect{margin-top:7px;padding:8px 10px;border-radius:10px;background:#f8fafc;color:#344054;border:1px solid #d0d5dd;font-size:13px}.schedulePreview{margin-top:6px;color:#667085;font-size:12px;line-height:18px}

.deleteAccountBtn{position:absolute;right:6px;top:4px;min-width:20px;width:20px;height:18px;border-radius:999px;padding:0;background:transparent;color:#b42318;font-size:16px;line-height:18px;display:grid;place-items:center;flex:0 0 auto;box-shadow:none;z-index:3}.deleteAccountBtn:hover{background:transparent;color:#f04438;transform:scale(1.12)}

.openBrowserBtn{position:absolute;right:28px;top:4px;min-width:20px;width:20px;height:18px;border-radius:999px;padding:0;background:transparent;color:#0b766f;font-size:13px;line-height:18px;display:grid;place-items:center;box-shadow:none;z-index:3}.openBrowserBtn:hover{background:transparent;color:#0ea5a4;transform:scale(1.12)}.accountCard .profileName{color:#0f172a}.accountCard .profileName:first-letter{color:#0ea5a4}

.browserOpenState{position:absolute;right:28px;bottom:4px;height:18px;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:900;line-height:14px;z-index:3}.browserOpenState.isOpen{background:#ecfdf3;color:#067647}.browserOpenState.noIx{background:#f2f4f7;color:#667085}.openBrowserBtn{position:absolute;right:26px;bottom:4px;height:22px;min-width:62px;border-radius:999px;padding:0 8px;background:#f97316;color:#fff;font-size:11px;line-height:22px;font-weight:900;box-shadow:0 5px 12px rgba(249,115,22,.28);z-index:4}.openBrowserBtn:hover{background:#ea580c;color:#fff;transform:translateY(-1px) scale(1.03)}.accountCard.isOffline .openBrowserBtn{animation:pulseOpen 1.6s infinite}@keyframes pulseOpen{0%,100%{box-shadow:0 0 0 0 rgba(249,115,22,.35)}50%{box-shadow:0 0 0 5px rgba(249,115,22,.08)}}

.helperDownload{background:#f97316}.helperPill{background:#fff7ed;color:#c2410c}


/* account card layout fix: avoid status overlapping account name */
.accountGrid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:10px}
.accountCard{height:68px;align-items:flex-start;padding:10px 92px 10px 10px;gap:8px;overflow:hidden}
.accountCard .rowcheck{margin-top:4px}
.cardMain{padding-top:0;min-width:0;max-width:100%}
.accountCard .profileName{font-size:14px;line-height:20px;display:block;max-width:100%}
.accountCard .xuser{font-size:12px;line-height:18px;display:block;max-width:100%;padding-right:0}
.accountHealth{position:absolute;right:30px;top:6px;font-size:10px;padding:2px 7px;max-width:54px;text-align:center;overflow:hidden;text-overflow:ellipsis;z-index:3}
.accountCard>.dot{position:absolute;right:10px;top:32px;width:10px;height:10px;z-index:3}
.deleteAccountBtn{right:6px;top:4px;z-index:5}
.browserOpenState{right:10px;bottom:6px;height:18px;max-width:74px;padding:2px 7px;font-size:10px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.openBrowserBtn{right:10px;bottom:5px;height:23px;min-width:74px;max-width:78px;padding:0 8px;font-size:11px;line-height:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:860px){.accountGrid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.accountCard{padding-right:88px}}

/* keep ix profile id like #331 in one color */
.accountCard .profileName,.accountCard .profileName:first-letter{color:#0f172a!important}


/* align right-side account status column */
.accountCard{padding-right:96px}
.accountHealth{right:30px!important;top:6px!important;width:54px!important;max-width:54px!important;text-align:center!important;padding-left:0!important;padding-right:0!important}
.accountCard>.dot{right:52px!important;top:32px!important}
.browserOpenState{right:30px!important;bottom:6px!important;width:54px!important;max-width:54px!important;text-align:center!important;padding-left:0!important;padding-right:0!important}
.openBrowserBtn{right:30px!important;bottom:5px!important;width:54px!important;min-width:54px!important;max-width:54px!important;padding-left:0!important;padding-right:0!important;text-align:center!important;font-size:10px!important}
.deleteAccountBtn{right:6px!important;top:4px!important}


/* move online/status dot under delete button */
.accountCard>.dot{right:11px!important;top:28px!important;width:10px!important;height:10px!important}


/* extension update UI */
.updateDownload{background:#2563eb;border:0;height:40px}
.versionPill{background:#eef4ff;color:#1d4ed8}
.extVer{display:inline-block;margin-top:2px;border-radius:999px;padding:1px 6px;font-size:10px;font-weight:900;line-height:14px;background:#ecfdf3;color:#067647;max-width:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.extVer.oldExt{background:#fff7ed;color:#c2410c}
.accountCard.oldExt{border-color:#fed7aa;background:#fffaf5}
.accountCard.oldExt .profileName::after{content:' ?';font-size:10px;color:#c2410c;background:#ffedd5;border-radius:999px;padding:1px 5px;margin-left:4px}
.accountCard .cardMain{display:flex;flex-direction:column;align-items:flex-start}

.syncSettingsBar{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;gap:8px;align-items:end;margin:8px 0 12px;padding:10px;border:1px dashed #d9e1ea;border-radius:12px;background:#fbfdff}.syncSettingsBar label{margin:0;font-size:11px}.syncSettingsBar input{padding:8px 9px;border-radius:9px;font-size:12px}.syncSettingsBar button{height:36px;padding:0 12px}.accountCard.inactiveExt{border-color:#bfdbfe;background:#f8fbff}.accountCard.inactiveExt .profileName::after{content:' \672a\6fc0\6d3b';font-size:10px;color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:1px 5px;margin-left:4px}.extVer.okExt{background:#ecfdf3;color:#067647}.extVer.oldExt,.accountCard.inactiveExt .extVer{background:#eff6ff;color:#1d4ed8}@media(max-width:1200px){.syncSettingsBar{grid-template-columns:1fr 1fr}.syncSettingsBar button{grid-column:1/-1}}

/* ixBrowser sync page */
.ixSettingsGrid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-bottom:10px}
.ixSettingsGrid label{margin:0}
.ixToolbar{grid-template-columns:260px 150px 130px 120px}
#ixAccounts{display:grid;grid-template-columns:1fr;gap:8px}
.ixAccountRow{display:grid;grid-template-columns:28px 72px minmax(140px,1fr) minmax(130px,1fr) 110px 82px 82px 66px 86px 64px;gap:8px;align-items:center;border:1px solid var(--line);border-radius:13px;background:#fff;padding:10px 12px;margin:0;min-width:0}
.ixAccountRow:hover{border-color:#0ea5a4;background:#fbfffe}
.ixAccountRow input{width:auto;margin:0}
.ixAccountRow b,.ixAccountRow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ixAccountRow b{font-size:14px;color:#0f172a}
.ixAccountRow span{font-size:12px;color:#475467}
.ixAccountRow em{font-style:normal;text-align:center}
.ixAccountRow.inactiveExt{border-color:#bfdbfe;background:#f8fbff}
.ixAccountRow.oldExt{border-color:#fed7aa;background:#fffaf5}
.ixAccountRow.isBanned{border-color:#fecaca;background:#fff7f7}
.ixPowerBtn{height:30px;padding:0 8px;border-radius:9px;font-size:11px;white-space:nowrap}.ixPowerBtn.start{background:#0ea5a4}.ixPowerBtn.close{background:#ef4444}.ixPowerBtn.deleting{background:#b42318}.ixPowerBtn:disabled{opacity:.72;cursor:not-allowed}.deleteDanger{background:#b42318;border:1px solid #912018}.deleteDanger:hover{background:#912018}
@media(max-width:1100px){.ixSettingsGrid{grid-template-columns:1fr 1fr}.ixToolbar{grid-template-columns:1fr 1fr}.ixAccountRow{grid-template-columns:28px 70px minmax(120px,1fr) minmax(120px,1fr);}.ixAccountRow span:nth-of-type(3),.ixAccountRow em{display:none}}

/* helper management */
.helperHeader,.helperRow{display:grid;grid-template-columns:minmax(180px,1.2fr) 120px minmax(160px,1fr) minmax(150px,1fr) 110px 80px;gap:10px;align-items:center}
.helperHeader{padding:8px 12px;color:#667085;font-size:12px;background:#f8fafc;border:1px solid var(--line);border-radius:12px;margin-bottom:8px}
.helperList{display:flex;flex-direction:column;gap:8px}
.helperRow{border:1px solid var(--line);border-radius:14px;background:#fff;padding:10px 12px}
.helperRow b,.helperRow small,.helperRow span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.helperRow small{font-size:11px;color:#667085;margin-top:4px}
.helperRow label{margin:0;font-size:11px;color:#667085}
.helperRow input{margin-top:4px;padding:8px 9px;border-radius:9px;font-size:12px}
.helperEnable{display:flex!important;align-items:center;gap:6px;margin-top:6px!important;color:#344054!important;font-size:12px!important}
.helperEnable input{width:auto;margin:0}
.choiceBox{display:flex;flex-wrap:wrap;gap:6px;max-height:132px;overflow:auto;margin-top:6px;padding:6px;border:1px solid #eef2f6;border-radius:10px;background:#fbfdff}
.choiceChip{display:inline-flex!important;align-items:center;gap:5px;margin:0!important;padding:4px 7px;border:1px solid #d9e1ea;border-radius:999px;background:#fff;color:#344054!important;font-size:12px!important;max-width:160px}
.choiceChip input{width:auto;margin:0!important}
.choiceChip span,.choiceChip em{display:inline!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.choiceChip em{font-style:normal;color:#98a2b3;font-size:11px}
.helperProfilePicker{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.helperProfilePickerButton{width:100%;min-height:38px;border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:9px;font-size:12px;cursor:pointer}
.helperProfilePickerButton:hover{border-color:#7c3aed;color:#6941c6;background:#faf9ff}
.helperProfileSummary{font-size:11px;color:#667085}
.helperProfileModal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:28px;background:rgba(15,23,42,.52);backdrop-filter:blur(3px)}
.helperProfileModal.open{display:flex}
.helperProfileModalCard{display:flex;flex-direction:column;width:min(960px,96vw);height:min(760px,90vh);overflow:hidden;border:1px solid #e4e7ec;border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.24)}
.helperProfileModalHead{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 22px 14px;border-bottom:1px solid #eaecf0}
.helperProfileModalHead h2{margin:0;font-size:20px;color:#101828}
.helperProfileModalHead p{margin:5px 0 0;color:#667085;font-size:13px}
.helperProfileModalClose{width:36px;height:36px;padding:0;border:0;border-radius:10px;background:#f2f4f7;color:#475467;font-size:25px;line-height:1;cursor:pointer}
.helperProfileModalToolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:10px;align-items:center;padding:14px 22px 10px}
.helperProfileModalToolbar input{margin:0;padding:10px 12px;border-radius:10px}
.helperProfileSelectedCount{padding:8px 11px;border-radius:999px;background:#f4f3ff;color:#6941c6;font-size:12px;font-weight:700;white-space:nowrap}
.helperProfileGroupTabs{display:flex;gap:7px;overflow-x:auto;padding:0 22px 10px}
.helperProfileGroupTab{flex:0 0 auto;padding:6px 10px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#475467;font-size:12px;cursor:pointer}
.helperProfileGroupTab.active{border-color:#7f56d9;background:#f4f3ff;color:#6941c6;font-weight:700}
.helperProfileModalList{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;align-content:start;flex:1;overflow-y:auto;padding:6px 22px 18px;scrollbar-gutter:stable}
.helperProfileOption{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:center;min-height:58px;margin:0;padding:9px 10px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;cursor:pointer}
.helperProfileOption:hover{border-color:#b692f6;background:#fcfaff}
.helperProfileOption.selected{border-color:#9e77ed;background:#f9f5ff}
.helperProfileOption input{width:auto;margin:0}
.helperProfileOption b,.helperProfileOption span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.helperProfileOption b{font-size:13px;color:#344054}
.helperProfileOption span{margin-top:3px;font-size:11px;color:#667085}
.helperProfileModalEmpty{grid-column:1/-1;padding:70px 20px;text-align:center;color:#98a2b3}
.helperProfileModalFoot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 22px;border-top:1px solid #eaecf0;background:#fcfcfd}
.helperProfileModalFoot>div{display:flex;gap:8px}
body.helperProfileModalOpen{overflow:hidden}
@media(max-width:800px){.helperProfileModal{padding:10px}.helperProfileModalToolbar{grid-template-columns:1fr 1fr}.helperProfileModalToolbar input{grid-column:1/-1}.helperProfileModalList{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.helperHeader{display:none}.helperRow{grid-template-columns:1fr 1fr}.helperRow>div:last-child{grid-column:1/-1}}

/* global stop / continue controls */
.systemControlBox{margin-bottom:10px;padding:10px;border:1px solid #e4e7ec;border-radius:12px;background:#f8fafc}
.systemControlHead{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#475467}
.globalControlStatus{padding:2px 7px;border-radius:999px;font-size:10px;font-weight:900}
.globalControlStatus.running{background:#ecfdf3;color:#067647}.globalControlStatus.stopped{background:#fff0f0;color:#b42318}
.systemControlActions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.systemControlActions button{min-width:0;padding:7px 6px;border-radius:9px;font-size:11px}
.globalStopBtn{background:#d92d20}.globalContinueBtn{background:#12b76a}.systemControlActions button:disabled{opacity:.42;cursor:not-allowed}

button:disabled{opacity:.58;cursor:wait}
.closeBrowserBtn{background:#ef4444!important;box-shadow:0 5px 12px rgba(239,68,68,.24)!important}.closeBrowserBtn:hover{background:#dc2626!important}
.userToolbar,.auditToolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.userToolbar input{max-width:280px}.auditToolbar input,.auditToolbar select{max-width:220px}.userTableWrap{overflow:auto}.userTable{min-width:900px}.userTable td small,.userTable td b{display:block}.userTable td small{color:var(--muted);font-size:11px;margin-top:2px}.userTable td{white-space:nowrap}.assignmentModal{display:none;position:fixed;inset:0;z-index:30;background:rgba(15,23,42,.42);padding:32px;place-items:center}.assignmentModal.open{display:grid}.assignmentCard{width:min(980px,100%);max-height:min(780px,calc(100vh - 64px));background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(16,24,40,.24);padding:18px;display:flex;flex-direction:column;gap:12px}.assignmentHead,.assignmentFoot{display:flex;align-items:center;justify-content:space-between;gap:12px}.assignmentHead h2{margin:0;font-size:18px}.assignmentHead p{margin:5px 0 0;color:var(--muted);font-size:12px}.assignmentToolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.assignmentToolbar input{flex:1;min-width:220px}.assignmentToolbar select{width:180px}.assignmentList{overflow:auto;min-height:240px;max-height:500px;border:1px solid var(--line);border-radius:12px;padding:10px;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}.assignmentItem{border:1px solid var(--line);border-radius:10px;padding:9px;display:flex;gap:8px;align-items:flex-start;cursor:pointer;background:#fff}.assignmentItem.selected{border-color:#0ea5a4;background:#f3fffd}.assignmentItem input{width:auto;margin-top:3px}.assignmentItem span{min-width:0}.assignmentItem b,.assignmentItem small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assignmentItem b{font-size:12px}.assignmentItem small{font-size:11px;color:var(--muted);margin-top:4px}.assignmentFoot{padding-top:4px}.auditTable{min-width:1050px}@media(max-width:700px){.assignmentModal{padding:12px}.assignmentCard{max-height:calc(100vh - 24px)}.assignmentList{grid-template-columns:1fr}.authUserMenu>span{display:none}}
.auditPagination{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.auditPageInfo{color:var(--muted);font-size:12px}.auditPageControls,.auditPageNumbers{display:flex;align-items:center;gap:6px}.auditPageControls button,.auditPageBtn{min-width:34px;height:34px;padding:0 10px;border-radius:8px}.auditPageBtn{background:#fff;color:var(--text);border:1px solid var(--line);box-shadow:none}.auditPageBtn:hover{background:#f7f9fc}.auditPageBtn.active{background:var(--teal);border-color:var(--teal);color:#fff}.auditPageSize{display:flex;align-items:center;justify-content:flex-end;gap:6px;color:var(--muted);font-size:12px}.auditPageSize select{width:76px;padding:7px 8px}@media(max-width:900px){.auditPagination{grid-template-columns:1fr}.auditPageControls{justify-content:center}.auditPageInfo{text-align:center}.auditPageSize{justify-content:center}}
.employeeMode .helperPill,.employeeMode .versionPill,.employeeMode .logPanel{display:none!important}
@media(max-width:1500px){.authUserMenu>span{display:none}.topActions{gap:8px}}@media(max-width:1200px){.topbar{height:auto;min-height:66px;padding-top:12px;padding-bottom:12px;gap:10px}.topActions{flex-wrap:wrap;justify-content:flex-end}}

/* Order-system inspired authentication screen */
.orderAuthPage.has-password .yellow-mouth{width:34px!important;height:16px;left:63px!important;top:85px;border-radius:0 0 18px 18px!important}
.orderAuthPage{margin:0;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:#f3f4f6;color:#111827}.orderAuthPage *{box-sizing:border-box}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(135deg,#f9fafb 0%,#f3f4f6 100%)}.login-left{position:relative;background:linear-gradient(135deg,#6366f1 0%,#7c3aed 50%,#ec4899 100%);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;overflow:hidden}.login-brand{display:flex;align-items:center;gap:12px;position:absolute;top:40px;left:40px;z-index:20}.login-brand-icon{width:44px;height:44px;background:linear-gradient(135deg,rgba(99,102,241,.9),rgba(168,85,247,.9));backdrop-filter:blur(12px);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900;box-shadow:0 4px 20px rgba(99,102,241,.3)}.login-brand-text{display:flex;flex-direction:column}.login-brand-name{font-size:22px;font-weight:800;background:linear-gradient(135deg,#fff,#e0e7ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:2px}.login-brand-sub{font-size:11px;color:rgba(255,255,255,.6);letter-spacing:3px;margin-top:2px}.characters-container{display:flex;align-items:center;justify-content:center;flex:1;width:100%;height:100%}.characters-wrapper{position:relative;width:min(640px,100%);height:460px;margin-bottom:60px}.character{position:absolute;bottom:0;transition:all .7s cubic-bezier(.4,0,.2,1);transform-origin:bottom center}.purple-character{left:9%;width:210px;height:460px;background:#6c3ff5;border-radius:12px 12px 0 0;z-index:1}.black-character{left:43%;width:140px;height:360px;background:#2d2d2d;border-radius:10px 10px 0 0;z-index:2}.orange-character{left:0;width:280px;height:240px;background:#ff9b6b;border-radius:140px 140px 0 0;z-index:3}.yellow-character{left:57%;width:160px;height:270px;background:#e8d754;border-radius:80px 80px 0 0;z-index:4}.eyes-container{position:absolute;display:flex;transition:all .7s cubic-bezier(.4,0,.2,1)}.purple-eyes{left:55px;top:50px;gap:24px}.black-eyes{left:30px;top:38px;gap:18px}.orange-eyes{left:96px;top:105px;gap:24px}.yellow-eyes{left:60px;top:48px;gap:18px}.eye{width:22px;height:22px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:height .15s ease;overflow:hidden}.eye.blinking{height:2px}.pupil{display:block;width:8px;height:8px;background:#2d2d2d;border-radius:50%;transition:transform .03s ease-out}.pupil-only{display:block;width:14px;height:14px;background:#2d2d2d;border-radius:50%;transition:transform .04s ease-out}.yellow-mouth{position:absolute;width:80px;height:4px;background:#2d2d2d;border-radius:2px;transition:all .2s ease;left:30px;top:88px}.orderAuthPage.is-typing .purple-character{height:435px}.orderAuthPage.is-typing .black-character{height:382px}.orderAuthPage.is-typing .yellow-mouth{width:48px;left:46px;border-radius:50%}.login-decoration{position:absolute;inset:0;background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.05) 1px,transparent 0);background-size:20px 20px}.login-glow{position:absolute;border-radius:50%;filter:blur(80px)}.login-glow-1{top:20%;right:20%;width:250px;height:250px;background:rgba(255,255,255,.1)}.login-glow-2{bottom:20%;left:20%;width:350px;height:350px;background:rgba(255,255,255,.05)}.login-right{display:flex;align-items:center;justify-content:center;padding:40px;background:linear-gradient(135deg,#f9fafb,#f3f4f6)}.login-form-container{width:100%;max-width:480px}.login-header{text-align:center;margin-bottom:40px}.login-header.compact{margin-bottom:24px}.login-header-icon{width:64px;height:64px;background:linear-gradient(135deg,#6366f1,#7c3aed);border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;box-shadow:0 10px 25px rgba(99,102,241,.3);color:#fff;font-size:28px;font-weight:900}.login-header-icon svg{width:32px;height:32px;fill:currentColor}.login-header h1{font-size:28px;font-weight:700;margin:0 0 12px;background:linear-gradient(135deg,#6366f1,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.login-header p{color:#6b7280;font-size:15px;margin:0}.login-card{background:#fff;border-radius:24px;padding:32px;box-shadow:0 20px 40px rgba(0,0,0,.08),0 0 0 1px rgba(0,0,0,.05)}.login-form{display:flex;flex-direction:column;gap:20px}.login-form .form-group label{display:block;font-size:14px;font-weight:600;color:#374151;margin:0 0 8px}.login-input-wrapper{position:relative;display:flex;align-items:center}.login-input-icon{position:absolute;left:14px;width:20px;color:#9ca3af;font-size:18px;z-index:1;display:flex;align-items:center;justify-content:center}.login-input-icon svg{width:18px;height:18px;fill:currentColor}.login-input{width:100%;padding:14px 44px;border:1.5px solid #e5e7eb;border-radius:12px;font-size:15px;transition:all .2s;background:#fff;color:#111827;cursor:text}.login-input:focus{outline:none;border-color:#6366f1!important;box-shadow:0 0 0 3px rgba(99,102,241,.15)!important}.login-input::placeholder{color:#9ca3b8}.password-wrapper{position:relative}.password-toggle{position:absolute;right:10px;width:34px;height:34px;background:transparent!important;border:0;box-shadow:none;color:#9ca3af;font-size:18px;cursor:pointer;padding:4px;z-index:2}.password-toggle:hover{color:#6366f1}.form-options{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.remember-me{color:#6b7280}.forgot-password{color:#6366f1;text-decoration:none;font-weight:600;font-size:14px}.forgot-password:hover{text-decoration:underline}.login-btn{width:100%;padding:16px;background:linear-gradient(135deg,#6366f1 0%,#7c3aed 50%,#ec4899 100%);color:#fff;border:0;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;margin-top:8px;box-shadow:0 10px 25px rgba(99,102,241,.3)}.login-btn:hover{transform:translateY(-2px);box-shadow:0 15px 35px rgba(99,102,241,.4)}.login-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.login-form .authMessage{min-height:20px;margin:0;font-size:13px;line-height:20px}.login-footer{display:flex;align-items:center;gap:16px;margin-top:32px;padding-top:24px;border-top:1px solid #e5e7eb;color:#9ca3af;font-size:13px}.login-footer a{font-size:13px;color:#6366f1;text-decoration:none;font-weight:600}.login-copyright{text-align:center;margin-top:24px;font-size:12px;color:#6b7280;letter-spacing:1px}.register-container .login-card{padding-top:28px;padding-bottom:28px}.register-container .login-form{gap:14px}@media(max-width:1100px){.characters-wrapper{transform:scale(.82);transform-origin:center bottom}}@media(max-width:900px){.login-page{grid-template-columns:1fr}.login-left{display:none}.login-right{min-height:100vh;padding:24px}.login-form-container{max-width:520px}}@media(max-width:520px){.login-right{padding:18px}.login-card{padding:24px 20px;border-radius:18px}.login-header{margin-bottom:24px}.login-header-icon{margin-bottom:16px}.login-header h1{font-size:24px}.form-options,.login-footer{align-items:flex-start;flex-direction:column}.login-footer{gap:8px}}
.employeeMode .systemControlBox,.employeeMode .topDownload,.employeeMode .helperDownload,.employeeMode #updateExtensionBtn,.employeeMode .deleteAccountBtn{display:none!important}#authUserMenu{position:relative;margin-left:6px}.authUserTrigger{display:flex;align-items:center;gap:10px;cursor:pointer;padding:4px 8px;border-radius:12px;transition:all .2s ease;user-select:none}.authUserTrigger:hover{background:rgba(14,165,164,.06)}.authUserTrigger .avatar{flex-shrink:0}.authUserInfo{display:flex;flex-direction:column;align-items:flex-end;line-height:16px;max-width:120px}.authUserInfo .authUserName{font-size:13px;font-weight:700;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.authUserInfo .authUserRole{font-size:11px;color:#667085;margin-top:1px}.authUserDropdown{position:absolute;top:calc(100% + 8px);right:0;width:220px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 12px 36px rgba(16,24,40,.12),0 0 0 1px rgba(0,0,0,.03);opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .2s ease;z-index:100;overflow:hidden}.authUserDropdown.open{opacity:1;visibility:visible;transform:translateY(0)}.authDropdownHeader{padding:14px 16px;border-bottom:1px solid #f2f4f7;display:flex;align-items:center;gap:10px}.authDropdownHeader .avatar{width:32px;height:32px;font-size:12px}.authDropdownHeader .avatar::after{display:none}.authDropdownHeaderInfo{min-width:0}.authDropdownHeaderInfo b{display:block;font-size:13px;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.authDropdownHeaderInfo small{display:block;font-size:11px;color:#667085;margin-top:1px}.authDropdownDivider{height:1px;background:#f2f4f7;margin:4px 0}.authDropdownItem{display:flex;align-items:center;gap:10px;width:100%;padding:10px 16px;border:0;background:transparent;color:#344054;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s ease;text-align:left;border-radius:0}.authDropdownItem:hover{background:#f8fafc;color:#111827}.authDropdownItem .authItemIcon{width:18px;text-align:center;font-size:14px;opacity:.65}.authDropdownItem.danger{color:#b42318}.authDropdownItem.danger:hover{background:#fef3f2;color:#b42318}.authDropdownItem.danger .authItemIcon{opacity:1}.authPage{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eefbf8 0%,#f7fbff 50%,#f7f8fb 100%)}.authLayout{width:min(420px,calc(100% - 32px));display:flex;flex-direction:column;gap:18px}.authBrand{display:flex;align-items:center;gap:12px;padding:0 8px}.authBrand .brandLogo{flex:0 0 auto}.authBrand h1{margin:0;font-size:24px}.authBrand p{margin:4px 0 0;color:var(--muted);font-size:13px}.authPanel{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:22px}.authTabs{display:flex;border-bottom:1px solid var(--line);margin:-4px -4px 20px}.authTabs a{flex:1;text-align:center;text-decoration:none;color:var(--muted);padding:10px;font-weight:700}.authTabs a.active{color:var(--teal);border-bottom:2px solid var(--teal)}.authHeading h2{margin:0;font-size:19px}.authHeading p{margin:5px 0 16px;color:var(--muted);font-size:12px}.authMessage{min-height:20px;margin-top:10px;font-size:13px;line-height:20px}.okMessage{color:#067647}.errorMessage{color:#b42318}
.globalControlMeta{display:block;margin-top:7px;color:#667085;font-size:10px;line-height:15px}

/* Smooth character animation. Keep pointer tracking responsive instead of
   restarting the original 700ms `transition: all` on every mouse movement. */
.orderAuthPage .character{
  transition:height .7s cubic-bezier(.4,0,.2,1),transform .16s ease-out;
  will-change:height,transform
}
.orderAuthPage .eyes-container{
  transition:transform .1s ease-out,left .7s cubic-bezier(.4,0,.2,1),top .7s cubic-bezier(.4,0,.2,1);
  will-change:transform
}
.orderAuthPage .pupil,.orderAuthPage .pupil-only{transition:transform .08s ease-out}
.orderAuthPage.is-typing .purple-character,
.orderAuthPage.has-password:not(.password-visible) .purple-character{height:500px}
.orderAuthPage.password-visible .purple-character{height:460px}
.orderAuthPage .yellow-mouth{will-change:transform,width,height}

/* helper install / update progress in sidebar */
.globalHelperProgress{display:flex;flex-direction:column;gap:6px;margin-top:8px;max-height:218px;overflow-y:auto;scrollbar-width:thin}
.globalProgressItem{padding:7px;border:1px solid #dbe5ef;border-radius:9px;background:#fff}
.globalProgressTitle{display:flex;align-items:center;justify-content:space-between;gap:6px}.globalProgressTitle b,.globalProgressTitle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.globalProgressTitle b{font-size:11px;color:#344054}.globalProgressTitle span{flex:0 0 auto;font-size:10px;font-weight:900;color:#1d4ed8}
.globalProgressTrack{height:5px;margin-top:5px;overflow:hidden;border-radius:999px;background:#e4e7ec}.globalProgressTrack i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0ea5a4,#377cf6);transition:width .35s ease}
.globalProgressItem small{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667085;font-size:9px}
.globalProgressEmpty{padding:8px 6px;border:1px dashed #d0d5dd;border-radius:9px;color:#98a2b3;font-size:10px;text-align:center}
.taskFinishOptions{grid-template-columns:1fr}.taskFinishOptions label{background:#f0fdf9;border-color:#b7eadc;color:#087d70}
.queueBatchField{display:flex;align-items:center;gap:6px;margin:0;padding:5px 8px;border:1px solid var(--line);border-radius:10px;background:#f8fafc;font-size:12px;white-space:nowrap}.queueBatchField input{width:58px;padding:6px 7px}

/* Password change modal */
.pwdModal{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.45);backdrop-filter:blur(4px)}.pwdModal.open{display:flex}.pwdModalCard{width:min(420px,100%);background:#fff;border-radius:18px;box-shadow:0 24px 64px rgba(16,24,40,.2);overflow:hidden;animation:pwdSlideUp .25s ease}@keyframes pwdSlideUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.pwdModalHead{padding:22px 24px 16px;border-bottom:1px solid #f2f4f7;display:flex;align-items:center;justify-content:space-between}.pwdModalHead h3{margin:0;font-size:17px;color:#111827}.pwdModalClose{width:32px;height:32px;border:0;border-radius:8px;background:#f2f4f7;color:#475467;font-size:18px;cursor:pointer;display:grid;place-items:center;transition:all .15s}.pwdModalClose:hover{background:#e4e7ec;color:#111827}.pwdModalBody{padding:20px 24px}.pwdModalBody label{display:block;margin:0 0 6px;font-size:13px;font-weight:600;color:#344054}.pwdModalBody input{width:100%;padding:11px 13px;border:1.5px solid #d9e1ea;border-radius:10px;font-size:14px;transition:all .2s;background:#fff;color:#111827;margin-bottom:14px}.pwdModalBody input:focus{outline:none;border-color:#0ea5a4;box-shadow:0 0 0 3px rgba(14,165,164,.12)}.pwdModalBody input:last-of-type{margin-bottom:0}.pwdModalMsg{min-height:20px;margin-top:10px;font-size:13px;line-height:20px}.pwdModalMsg.ok{color:#067647}.pwdModalMsg.err{color:#b42318}.pwdModalFoot{padding:16px 24px;border-top:1px solid #f2f4f7;display:flex;justify-content:flex-end;gap:10px}.pwdModalFoot button{min-width:80px}.pwdModalFoot .pwdCancel{background:#f2f4f7;color:#344054;border:1px solid #d0d5dd}.pwdModalFoot .pwdSubmit{background:linear-gradient(135deg,#0ea5a4,#0d9488);color:#fff;box-shadow:0 4px 12px rgba(14,165,164,.25)}.pwdModalFoot .pwdSubmit:hover{box-shadow:0 6px 16px rgba(14,165,164,.35);transform:translateY(-1px)}
