:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#172033;background:#f4f7fb;font-size:14px;--ink:#172033;--muted:#78859a;--line:#e5eaf2;--blue:#2563eb;--blue2:#eff5ff;--green:#16845b;--orange:#b26b10}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:0;border-radius:9px;padding:10px 15px;cursor:pointer;font-weight:650;transition:.16s ease}button:hover{transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed;transform:none}.primary{background:var(--blue);color:#fff;box-shadow:0 5px 12px #2563eb25}.quiet{background:#fff;color:#4f6079;border:1px solid #dbe3ed}.danger{color:#c33d4a}.muted,.hint,small{color:var(--muted)}small{display:block;margin-top:5px;font-size:11px}.error,.error-text{color:#d64654}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 10%,#eaf2ff,transparent 34%),#f4f7fb}.login-card{width:min(410px,92vw);padding:42px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 60px #183a6814}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:1.8px;color:#2f63d5}.brand-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:#fff;background:linear-gradient(135deg,#3f7df4,#1745bd);font-size:14px;letter-spacing:0}.brand em{font-size:12px;font-style:normal;font-weight:500;letter-spacing:0;color:var(--muted);margin-left:12px}.login-card h1{font-size:27px;margin:28px 0 8px}.login-card label{margin:22px 0}label{display:flex;flex-direction:column;gap:8px;color:#536176;font-size:12px;font-weight:600}input,select,textarea{border:1px solid #dbe3ed;background:#fff;border-radius:9px;padding:11px 12px;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#6d99eb;box-shadow:0 0 0 4px #2563eb12}textarea{width:100%;resize:vertical}.login-card button{width:100%;margin-top:4px}header{height:72px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);padding:0 38px}.header-right{display:flex;align-items:center;gap:10px}.header-right #identity{color:#5e6d82;font-size:12px;margin-right:10px}main{max-width:1540px;margin:34px auto;padding:0 30px}.heading,.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.heading{margin-bottom:24px}.heading h1{margin:4px 0 7px;font-size:28px;letter-spacing:-.6px}.eyebrow{margin:0;color:#6c8ed6;font-size:10px;font-weight:800;letter-spacing:1.6px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;margin-bottom:22px;box-shadow:0 5px 18px #263a5b06}.section-title{margin-bottom:20px}.section-title h2{margin:3px 0 0;font-size:17px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px 21px}.metric strong{display:block;font-size:27px;margin-top:10px;font-weight:750;font-variant-numeric:tabular-nums}.fields{display:flex;gap:16px;align-items:end;margin-bottom:18px}.fields label{flex:1}.actions{display:flex;align-items:center;gap:18px;margin-top:16px}.upload-row{display:flex;align-items:center;gap:14px;margin:0 0 16px}.file-picker{display:inline-flex;cursor:pointer}.file-picker input{display:none}.file-picker span{background:var(--blue2);color:#245ec7;border:1px dashed #8bb0f5;padding:10px 14px;border-radius:9px;font-weight:650}.check{display:flex;flex-direction:row;align-items:center;margin-left:auto;white-space:nowrap}.check input{accent-color:var(--blue)}.account-head{align-items:flex-end}.toolbar{display:flex;gap:8px;align-items:center}.toolbar input{width:220px}.count{font-size:12px;color:var(--muted);font-weight:500;margin-left:5px}.account-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:2px}.tabs{display:flex;gap:5px;flex-wrap:wrap}.tab{background:transparent;color:#718097;padding:8px 10px;border-radius:8px}.tab.active{background:var(--blue2);color:#205fc9}.tab b{font-size:11px;margin-left:3px}.bulk-actions{display:flex;align-items:center;gap:7px}.bulk-actions .quiet{padding:7px 10px;font-size:12px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{font-size:11px;font-weight:700;color:#8390a4;background:#fafbfd;padding:13px 12px}td{padding:15px 12px;border-bottom:1px solid #edf1f6;font-size:13px;font-variant-numeric:tabular-nums}td strong{font-weight:700}.check-col{width:40px;text-align:center}.check-col input{accent-color:var(--blue);width:16px;height:16px}.badge{display:inline-block;padding:5px 9px;border-radius:6px;font-size:11px;background:#f0f3f8;color:#68778c}.badge.available{background:#eaf7f0;color:var(--green)}.badge.running{background:#e8f1ff;color:#2462bf}.badge.done{background:#e9f7ef;color:#218658}.badge.warn{background:#fff4e4;color:var(--orange)}.row-actions{display:flex;gap:5px}.row-actions button{padding:7px 9px;font-size:12px}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px}.table-footer p{margin:0}.pagination{display:flex;align-items:center;gap:8px;color:#68778c;font-size:12px}.pagination button{padding:7px 10px}.pagination select{padding:7px 9px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.device,.user{padding:14px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f5}.events{max-height:320px;overflow:auto}.event{padding:10px 0;line-height:1.6;border-bottom:1px solid #f0f2f6;font-size:12px}.event time{color:#8c97a5;margin-right:10px}.heading .quiet{margin-top:8px}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#1e2d43;color:#fff;padding:12px 20px;border-radius:10px;box-shadow:0 8px 30px #0003;display:none;z-index:10}[hidden]{display:none!important}@media(max-width:1000px){header{padding:0 18px}main{padding:0 14px}.metrics{grid-template-columns:repeat(2,1fr)}.columns{grid-template-columns:1fr}.account-toolbar{align-items:flex-start;flex-direction:column}.bulk-actions{width:100%}}@media(max-width:650px){header{height:auto;padding:15px;gap:12px;align-items:flex-start;flex-direction:column}.header-right{width:100%;justify-content:flex-end}.heading,.section-title,.account-head{align-items:flex-start;flex-direction:column}.toolbar{width:100%;flex-wrap:wrap}.toolbar input{width:100%}.fields{flex-wrap:wrap}.fields label{min-width:140px}.upload-row{align-items:flex-start;flex-wrap:wrap}.check{margin-left:0}.metrics{gap:10px}.metric{padding:14px}.metric strong{font-size:22px}.panel{padding:16px}.table-footer{align-items:flex-start;flex-direction:column}.pagination{width:100%;justify-content:space-between}}
.badge.banned{background:#fdecef;color:#ba3049}.tab[data-status="banned"].active{background:#fdecef;color:#ba3049}
.workspace{display:grid;grid-template-columns:232px minmax(0,1fr);gap:26px;max-width:1820px;margin:28px auto;padding:0 24px;align-items:start}.workspace main{min-width:0;max-width:none;margin:0;padding:0}.sidebar{position:sticky;top:24px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:0 5px 18px #263a5b06}.sidebar-heading{display:flex;align-items:center;gap:11px;padding:21px 18px;border-bottom:1px solid var(--line)}.sidebar-heading strong{font-size:14px}.sidebar-heading small{margin-top:4px;font-size:11px}.sidebar-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eff5ff;color:#2563eb;font-weight:800}#targetGroups{padding:14px 10px;overflow:auto;min-height:0}.sidebar button{width:100%;text-align:left;transform:none}.goal-all{display:flex;align-items:center;justify-content:space-between;padding:12px;background:transparent;color:#536176}.goal-all.active{background:#eff5ff;color:#215fca}.goal-all b,.goal-button b,.goal-status b{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.goal-all b{background:#fff9;padding:3px 7px;border-radius:5px}.sidebar-label{display:flex;justify-content:space-between;padding:23px 12px 10px;font-size:11px;color:#8994a5}.goal-group{border:1px solid transparent;border-radius:10px;margin:4px 0}.goal-group.selected{background:#f7faff;border-color:#dce8fa}.goal-button{display:flex;align-items:center;gap:8px;padding:13px 11px;background:transparent;color:#526178}.goal-button>span:first-child{flex:1}.goal-button strong{font-size:14px;font-weight:700}.goal-button small{font-size:10px;font-weight:400;color:#8c98aa}.goal-button:hover,.goal-status:hover{background:#eef4fd}.goal-group.selected .goal-button{color:#245fc2}.goal-chevron{font-size:21px;color:#a1adc0;transition:transform .16s}.goal-group.selected .goal-chevron{transform:rotate(90deg);color:#5e86c6}.goal-statuses{padding:0 7px 8px 19px}.goal-status{display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;color:#77859b;padding:9px 10px;font-size:12px;font-weight:500}.goal-status>span{display:flex;align-items:center;gap:9px}.goal-status.active{background:#e7effd;color:#225fc8;font-weight:650}.status-dot{width:6px;height:6px;border-radius:50%;background:#9aa7ba}.status-dot.available{background:#39a979}.status-dot.running{background:#4f85e0}.status-dot.cooldown{background:#d8a246}.status-dot.completed{background:#8298a5}.sidebar-hint{margin:0;border-top:1px solid var(--line);padding:15px 19px;color:#929caf;font-size:11px;line-height:1.7}.account-toolbar{flex-wrap:wrap}.workspace .heading h1{font-size:26px}.workspace .heading .muted{font-size:12px;line-height:1.7}.workspace .panel{padding:22px}.workspace .toolbar{flex-wrap:wrap}.workspace .toolbar input{width:190px}
@media(min-width:1001px) and (max-width:1250px){.workspace{grid-template-columns:205px minmax(0,1fr);gap:18px;padding:0 18px}.workspace .account-head{align-items:flex-start;flex-direction:column}.workspace .columns{grid-template-columns:1fr}}
@media(max-width:1000px){.workspace{grid-template-columns:190px minmax(0,1fr);gap:16px;padding:0 14px}.sidebar-heading{padding:17px 13px}.sidebar-hint{padding:12px 14px}.workspace .account-head{align-items:flex-start;flex-direction:column}.workspace .fields{flex-wrap:wrap}.workspace .fields label{min-width:140px}.workspace .upload-row{flex-wrap:wrap}.workspace .check{margin-left:0}.workspace .toolbar input{width:100%}}
@media(max-width:700px){.workspace{grid-template-columns:minmax(0,1fr);margin-top:18px}.sidebar{position:static;max-height:330px}.sidebar-heading{padding:13px 16px}.sidebar-hint{display:none}#targetGroups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px}.goal-all,.sidebar-label{grid-column:1/-1}.sidebar-label{padding:9px 12px 2px}.goal-button{padding:10px}.goal-button strong{font-size:13px}.goal-statuses{padding-left:5px}.workspace .panel{padding:16px}.workspace .bulk-actions{flex-wrap:wrap}.workspace .heading h1{font-size:24px}}

.goal-home{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:transparent;color:#536176}
.goal-home>span:first-child{flex:1}.goal-home strong{display:block;font-size:14px}.goal-home small{font-size:10px;font-weight:400;color:#8c98aa}.goal-home.active{background:#eff5ff;color:#215fca}.goal-home b{background:#fff9;padding:3px 7px;border-radius:5px}
@media(max-width:700px){.goal-home{grid-column:1/-1}}
