* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f6f8;
  color: #1f2329;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 顶部 */
.topbar {
  background: #fff;
  border-bottom: 1px solid #e5e6eb;
  padding: 14px 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { font-size: 30px; }
.brand h1 { font-size: 18px; font-weight: 700; }
.brand .sub { font-size: 12px; color: #86909c; margin-top: 2px; }

/* 布局 */
.layout {
  flex: 1;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  padding: 20px 28px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
}

/* 面板 */
.panel {
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 12px;
  padding: 20px;
}
.panel h2 { font-size: 15px; margin-bottom: 16px; }

/* 表单 */
.form-panel label {
  display: block;
  font-size: 13px;
  color: #4e5969;
  margin-bottom: 12px;
}
.form-panel input[type="text"],
.form-panel input[type="file"] {
  width: 100%;
  margin-top: 5px;
  padding: 8px 10px;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  outline: none;
}
.form-panel input[type="text"]:focus {
  border-color: #4e7fff;
  box-shadow: 0 0 0 2px rgba(78,127,255,.15);
}
.req { color: #e83232; }

.check-row {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #1f2329;
  margin: 8px 0 14px;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.check-row span { line-height: 1.5; }
.check-row strong { color: #e83232; }

.preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}
.preview img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e6eb;
}

#submitBtn {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 8px;
  background: #e83232;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
#submitBtn:hover { opacity: .88; }
#submitBtn:disabled { background: #c9cdd4; cursor: not-allowed; }

.hint { font-size: 12px; color: #86909c; margin-top: 12px; line-height: 1.7; }

/* 任务看板 */
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.refresh-hint { font-size: 12px; color: #86909c; }

.job-list { display: flex; flex-direction: column; gap: 12px; }
.empty { color: #86909c; font-size: 13px; padding: 30px 0; text-align: center; }

.job-card {
  border: 1px solid #e5e6eb;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fafbfc;
}
.job-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.job-name { font-size: 14px; font-weight: 600; }
.job-meta { font-size: 12px; color: #86909c; margin-top: 2px; }

.pub-badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 10px;
  background: #fff0f0;
  color: #e83232;
  font-weight: 500;
  vertical-align: middle;
}

.badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}
.badge.pending   { background: #f2f3f5; color: #4e5969; }
.badge.generating{ background: #e8f3ff; color: #165dff; }
.badge.writing   { background: #f4ecff; color: #722ed1; }
.badge.packing   { background: #fff7e6; color: #d46b08; }
.badge.publishing{ background: #e8faf0; color: #00b42a; }
.badge.done      { background: #e8faf0; color: #00b42a; }
.badge.failed    { background: #ffece8; color: #e83232; }

.progress { height: 6px; background: #e5e6eb; border-radius: 3px; overflow: hidden; margin: 6px 0; }
.progress i { display: block; height: 100%; background: #165dff; border-radius: 3px; transition: width .5s; }
.progress i.done { background: #00b42a; }
.progress i.failed { background: #e83232; }
.progress i.publishing { background: #00b42a; }

.job-step { font-size: 12px; color: #4e5969; margin-top: 4px; }
.job-error { font-size: 12px; color: #e83232; margin-top: 6px; word-break: break-all; }

.job-output { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-output .note-title { font-size: 12px; color: #4e5969; }
.job-output .pub-info {
  width: 100%;
  font-size: 12px;
  color: #00b42a;
  margin-bottom: 4px;
}
.dl-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  background: #165dff;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.dl-btn:hover { opacity: .88; }

/* 底部 */
.foot {
  text-align: center;
  font-size: 12px;
  color: #86909c;
  padding: 14px;
  background: #fff;
  border-top: 1px solid #e5e6eb;
}

/* ========== 多成员版新增 ========== */

/* 顶部导航 */
.topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.tabs { display: flex; gap: 6px; }
.tab {
  padding: 8px 18px;
  border: 1px solid #e5e6eb;
  background: #fff;
  border-radius: 20px;
  font-size: 13px;
  color: #4e5969;
  cursor: pointer;
  transition: all .15s;
}
.tab:hover { border-color: #4e7fff; color: #4e7fff; }
.tab.active { background: #4e7fff; border-color: #4e7fff; color: #fff; }

/* 页签页 */
.tab-page { display: none; }
.tab-page.active { display: block; }
.tasks-grid { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .tasks-grid { grid-template-columns: 1fr; } }

/* 表单通用 */
select {
  width: 100%;
  margin-top: 5px;
  padding: 8px 10px;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  outline: none;
}
.radio-row { display: flex; gap: 16px; margin-top: 5px; }
.radio { display: flex !important; align-items: center; gap: 6px; margin: 0 !important; cursor: pointer; font-size: 13px; }
.radio input { width: 15px; height: 15px; }

/* 素材库 */
.lib-form { margin-top: 4px; }
.lib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .lib-grid { grid-template-columns: 1fr; } }
.lib-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #165dff;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.lib-form button:hover { opacity: .88; }
.lib-form button:disabled { background: #c9cdd4; cursor: not-allowed; }

.lib-list { display: flex; flex-direction: column; gap: 10px; }
.lib-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e6eb;
  border-radius: 10px;
  padding: 10px 14px;
  background: #fafbfc;
}
.lib-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e6eb; }
.lib-thumb.placeholder { background: #f2f3f5; }
.lib-info { flex: 1; min-width: 0; }
.lib-name { font-size: 14px; font-weight: 600; }
.lib-meta { font-size: 12px; color: #86909c; margin-top: 2px; }

/* 成员 */
.member-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.member-card {
  border: 1px solid #e5e6eb;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafbfc;
}
.member-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.member-name { font-size: 15px; font-weight: 600; }
.role-tag { font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-left: 6px; vertical-align: middle; }
.role-tag.admin { background: #fff7e6; color: #d46b08; }
.role-tag.member { background: #e8f3ff; color: #165dff; }
.member-note { font-size: 12px; color: #86909c; }
.member-platforms { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.platform-row { display: flex; align-items: center; gap: 10px; }
.pf-name { width: 52px; font-size: 13px; color: #4e5969; }
.pf-badge { font-size: 12px; padding: 2px 10px; border-radius: 12px; }
.pf-badge.ok { background: #e8faf0; color: #00b42a; }
.pf-badge.no { background: #f2f3f5; color: #4e5969; }

.btn-sm {
  padding: 5px 12px;
  border: 1px solid #d9dde3;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  color: #4e5969;
}
.btn-sm.primary { background: #165dff; border-color: #165dff; color: #fff; }
.btn-sm.ghost { border-color: #e5e6eb; color: #86909c; }
.btn-sm.danger { border-color: #ffece8; color: #e83232; background: #fff; }
.btn-sm:hover { opacity: .85; }

.member-form { display: flex; gap: 10px; margin-top: 10px; }
.member-form input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.member-form button {
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  background: #165dff;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.member-form button:hover { opacity: .88; }

/* 任务类型徽章 */
.type-badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 10px;
  background: #f4ecff;
  color: #722ed1;
  font-weight: 500;
  vertical-align: middle;
}
.type-badge.img { background: #e8f3ff; color: #165dff; }
.dl-btn.video { background: #722ed1; }

/* 登录弹窗 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e6eb;
}
.modal-head h3 { font-size: 15px; }
.modal-close { border: none; background: none; font-size: 16px; color: #86909c; cursor: pointer; padding: 4px; }
.modal-body { padding: 16px 18px; }
.login-stage { margin-bottom: 14px; }
.login-stage img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border: 1px solid #e5e6eb;
  border-radius: 10px;
  background: #f2f3f5;
}
.login-status { font-size: 13px; color: #4e5969; margin-top: 8px; min-height: 20px; }
.login-ops { display: flex; flex-direction: column; gap: 8px; }
.login-row { display: flex; gap: 8px; }
.login-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.login-row .btn-sm { min-width: 110px; }

/* ================= 运营计划页 ================= */
#page-plans .panel { margin-bottom: 20px; }
.plan-actions { display: flex; align-items: center; gap: 14px; }
.hotspot-box { background: #f7f8fa; border-radius: 10px; padding: 14px 16px; margin: 12px 0 16px; }
.hotspot-title { font-size: 13px; font-weight: 600; color: #4e5969; margin-bottom: 8px; }
.hotspot-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hotspot-chips .chip {
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #e5e6eb; color: #4e5969;
}
.hotspot-chips .chip.hot { background: #fff3e8; border-color: #ffb37a; color: #c2470e; font-weight: 600; }
.hotspot-chips.dim .chip { color: #a9aeb8; }

.plan-list { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.plan-card {
  background: #fff; border: 1px solid #e5e6eb; border-radius: 12px;
  padding: 16px 18px;
}
.plan-card.resolved { opacity: 0.62; }
.plan-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.type-tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.type-tag.t-dry { background: #e8f3ff; color: #1652a0; }
.type-tag.t-hot { background: #fff3e8; color: #c2470e; }
.type-tag.t-demo { background: #f0e9ff; color: #5b2fd1; }
.plan-hot { font-size: 12px; color: #c2470e; background: #fff7f2; padding: 3px 8px; border-radius: 6px; }
.plan-time { font-size: 12px; color: #a9aeb8; margin-left: auto; }
.plan-title-input {
  width: 100%; font-size: 16px; font-weight: 700; color: #1f2329;
  border: 1px dashed #d5d9e0; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px;
}
.plan-title-input:focus { outline: none; border-color: #1652a0; }
.plan-angle { font-size: 13px; color: #4e5969; margin-bottom: 10px; }
.plan-points { margin: 0 0 10px 18px; }
.plan-points li { font-size: 13px; color: #4e5969; line-height: 1.8; }
.plan-cta { font-size: 12px; color: #86909c; margin-bottom: 12px; }
.plan-ops { display: flex; gap: 10px; align-items: center; }

.plan-history { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.plan-hist-row {
  display: flex; align-items: center; gap: 14px; font-size: 13px; color: #4e5969;
  background: #f7f8fa; border-radius: 8px; padding: 8px 12px;
}
.ph-date { font-weight: 600; color: #1f2329; min-width: 90px; }
.ph-time { margin-left: auto; color: #a9aeb8; font-size: 12px; }

.type-badge.promo { background: #f0e9ff; color: #5b2fd1; }

#page-plans { grid-column: 1 / -1; }

/* 男装选款 */
.menswear-panel h2{font-size:22px;margin-bottom:8px}.menswear-panel h3{font-size:17px}.menswear-panel .hint{font-size:13px;line-height:1.7}.source-state{font-size:12px;color:#8a6230;background:#fff4df;padding:6px 10px;border-radius:20px;white-space:nowrap}.discovery-search{display:flex;gap:10px;align-items:center;margin:20px 0}.discovery-search label{font-size:14px;white-space:nowrap}.discovery-search input{flex:1;min-width:0}.menswear-panel input,.menswear-panel select{padding:10px 12px;border:1px solid #d9dde3;border-radius:8px;font:inherit;font-size:14px;width:100%;box-sizing:border-box}.source-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.source-entry{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:12px;text-decoration:none;color:#24252a;border:1px solid #e5e6eb}.source-entry strong{font-size:20px}.source-entry span{font-size:13px;line-height:1.6}.source-entry.xhs{background:#fff2f4}.source-entry.taobao{background:#fff5e9}.source-notice{font-size:14px;line-height:1.8;color:#677080;margin:18px 0}.source-import{border-top:1px solid #e5e6eb;padding-top:18px}.source-import summary{font-size:16px;font-weight:600;cursor:pointer}.source-import form{margin-top:16px}.source-import label{display:block;font-size:14px;line-height:1.7;margin-bottom:12px}.source-import input,.source-import select{margin-top:5px}.source-form-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px}#sourceImportStatus{font-size:14px;line-height:1.7;margin-top:10px}.source-picked-head{margin-top:24px}.source-candidates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.source-candidates>.empty{grid-column:1/-1}.source-card{overflow:hidden;border:1px solid #e5e6eb;border-radius:10px}.source-card>img{width:100%;height:220px;object-fit:contain;background:#f5f6f8}.source-card>div{padding:14px}.source-card h3{margin:8px 0;line-height:1.5}.source-card p,.source-card a{font-size:13px;line-height:1.7}.source-label{font-size:12px;color:#677080}@media(max-width:680px){.source-entry-grid,.source-candidates,.source-form-grid{grid-template-columns:1fr}.discovery-search{flex-wrap:wrap}.menswear-panel .board-head{flex-wrap:wrap;gap:10px}.source-state{white-space:normal}}

.candidate-image{display:block;background:#f5f6f8}.candidate-image img{display:block;width:100%;height:300px;object-fit:contain}.candidate-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.candidate-actions button{white-space:nowrap}.source-picked-head select{width:auto;margin-left:8px}.source-candidates{margin:18px 0 24px}.source-import{margin-top:18px}.source-card h3{font-size:18px}.source-card p,.source-card a{font-size:14px}.source-label{line-height:1.7}.source-card button:disabled{opacity:.6;cursor:default}@media(min-width:1300px){.source-candidates{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.candidate-image img{height:300px}.candidate-actions{flex-wrap:wrap}}

.credit-panel{margin:18px 0 12px;padding:16px;background:#f6f8fc;border-radius:12px}.credit-panel h3{font-size:18px;margin:0 0 14px}.credit-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;font-size:14px}.credit-values strong{display:block;font-size:25px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.credit-panel .hint{font-size:13px;line-height:1.7}.credit-panel p{font-size:14px}@media(max-width:420px){.credit-values{grid-template-columns:1fr}}

.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.result-card{border:1px solid #e1e5ec;border-radius:12px;padding:18px;min-width:0}.result-card h3{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.result-card p,.result-card a{font-size:14px;line-height:1.7}.result-media{display:flex;gap:10px;overflow-x:auto;padding:8px 0}.result-media img{height:200px;max-width:260px;object-fit:contain}.result-media video{width:100%;max-height:340px}.result-card .job-error{overflow-wrap:anywhere}@media(max-width:800px){.result-grid{grid-template-columns:1fr}}

/* Studio visual system — presentation and responsive layout only. */
:root{--ink:#20372f;--muted:#63756d;--accent:#22624d;--line:#dfe6df;--paper:#fffefa;--canvas:#f3f4ee;--radius:20px}
body{background:var(--canvas);color:var(--ink);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-underline-offset:4px}button,input,select,textarea{font-family:inherit}button{transition:background .18s,box-shadow .18s,transform .18s}button:active{transform:translateY(1px)}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #87b79c;outline-offset:3px}
.topbar{padding:24px max(28px,calc((100vw - 1400px)/2));gap:24px;background:var(--paper);border-bottom:1px solid var(--line)}
.brand{gap:16px}.logo{display:grid;place-items:center;width:50px;height:54px;border-radius:16px;background:var(--ink);color:#f2edce;font-size:26px;font-weight:600;flex-shrink:0}.brand h1{font-size:26px;letter-spacing:-.7px;line-height:1.35}.brand .sub{font-size:13px;color:var(--muted);margin-top:6px}
.tabs{gap:4px;padding:5px;background:#eef1ea;border-radius:14px;flex-wrap:wrap}.tab{border:0;border-radius:10px;background:transparent;padding:10px 16px;font-size:14px;color:#52665b;font-weight:500}.tab:hover{background:#e1e9df;color:var(--accent)}.tab.active{background:var(--ink);color:white;box-shadow:0 3px 7px #20372f17}
.layout{display:block;max-width:1456px;padding:32px 28px 48px}.tab-page{width:100%;min-width:0}.tab-page>.panel{margin-bottom:24px}.panel{border:1px solid var(--line);border-radius:var(--radius);padding:28px;background:var(--paper);box-shadow:0 5px 22px #233b2b04}.panel h2{font-size:22px;line-height:1.4;letter-spacing:-.3px;margin-bottom:14px}.section-eyebrow{font-size:12px;font-weight:600;letter-spacing:2px;color:#728170;margin-bottom:8px}.hint,.refresh-hint{color:var(--muted);font-size:13px;line-height:1.8}.board-head{gap:16px;flex-wrap:wrap}.board-head h2{margin-bottom:0}
.member-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.member-card{background:white;border:1px solid var(--line);padding:24px;border-radius:16px;min-width:0}.member-head{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf0e9;gap:12px}.member-name{font-size:18px}.role-tag,.type-badge,.pub-badge{font-size:12px}.role-tag.admin{color:#866327;background:#f5edd8}.member-note,.job-meta,.lib-meta{font-size:13px;color:var(--muted)}.platform-row{gap:12px;flex-wrap:wrap;min-height:42px}.platform-row button{margin-left:auto}.pf-name{font-size:14px;font-weight:600;width:58px}.pf-badge{font-size:12px;padding:4px 10px}.pf-badge.ok{background:#e9f3e9;color:#2a6642}.pf-badge.no{background:#f1f2ee;color:#677060}
.credit-panel{background:#f2f5ee;border:1px solid #e4eadd;border-radius:14px;padding:18px;margin:20px 0 16px}.credit-panel h3{font-size:16px;color:#53634e}.credit-values{gap:20px}.credit-values strong{font-size:28px;font-weight:600;color:var(--ink);letter-spacing:-.5px}.credit-panel .hint{font-size:12px}.btn-sm{font-size:13px;padding:8px 14px;min-height:38px;border-radius:9px;border-color:var(--line);color:var(--ink)}.btn-sm.ghost{color:#526758;border-color:#dbe3d8;background:#fff}.btn-sm.primary,.lib-form button,.member-form button,#submitBtn,.dl-btn{background:var(--accent);border-color:var(--accent);border-radius:10px;color:white;min-height:42px;font-weight:500}.btn-sm:hover{opacity:1;box-shadow:0 2px 8px #20372f14}.btn-sm.danger{color:#a34435;background:#fffaf7;border-color:#efdfd8}.member-form{max-width:700px;gap:12px}.member-form input{min-width:0}
.result-grid{gap:20px;margin-top:24px}.result-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}.result-card h3{font-size:18px;line-height:1.6;margin-bottom:6px}.result-card>p:first-of-type{color:var(--muted);font-size:13px}.result-media{background:#f3f4ef;border-radius:12px;padding:12px;margin:16px 0;gap:12px}.result-media img{height:230px;border-radius:8px;background:#fff;max-width:280px}.result-media video{border-radius:8px;background:#15221c}.job-error{background:#fff4ef;border:1px solid #f4e1d7;color:#9e4939;padding:12px;border-radius:10px;font-size:13px;line-height:1.7;word-break:normal;overflow-wrap:anywhere}
.tasks-grid{grid-template-columns:minmax(320px,390px) minmax(0,1fr);gap:24px}.tasks-grid>*{min-width:0}.form-panel label{font-size:14px;line-height:1.7;margin-bottom:18px}.form-panel input[type=text],.form-panel input[type=file],select,.member-form input,.login-row input,.menswear-panel input,.menswear-panel select{border-color:#d9e1d7;padding:11px 13px;border-radius:10px;background:#fff;font-size:14px;min-height:44px;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #a8c7b0;outline-offset:1px}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}.radio-row{flex-wrap:wrap}#submitBtn{padding:13px;font-size:15px}.source-state{color:#756033;background:#f1ead9}.source-candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.source-card{border-radius:14px;border-color:var(--line);background:white}.source-card>div{padding:18px}.candidate-image{background:#eef0e9}.candidate-image img{height:310px;padding:10px}.source-label{color:var(--muted)}.source-notice{padding:14px 16px;border-radius:12px;background:#f4f3ea;color:#6d6f5d;font-size:13px}.source-import summary{font-size:15px;color:var(--accent);padding:6px 0}.source-entry{border-color:var(--line)}.source-entry strong{font-size:18px}.source-entry.xhs{background:#fbf0ed}.source-entry.taobao{background:#faf3e4}
.lib-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lib-card{background:#fff;border-color:var(--line);padding:18px;border-radius:14px}.lib-thumb{width:88px;height:106px;object-fit:contain;background:#f4f5ef}.lib-name{font-size:17px}.plan-card,.job-card{border-color:var(--line);padding:22px;border-radius:14px;background:#fff}.job-name{font-size:17px}.job-top{gap:16px;flex-wrap:wrap}.job-step{font-size:13px}.badge{font-size:12px}.badge.done{color:#2a6642;background:#e9f3e9}.progress{height:5px;background:#edf0e9;margin:14px 0}.progress i{background:var(--accent)}.plan-title-input{font-size:18px;padding:12px;border-style:solid;border-color:var(--line)}.plan-hist-row,.plan-ops{flex-wrap:wrap}.empty{padding:40px 20px;font-size:14px;color:var(--muted)}
.modal-mask{background:#172d24a6;backdrop-filter:blur(4px);padding:24px}.modal{max-width:780px;border-radius:22px;box-shadow:0 24px 90px #0c261a40}.modal-head{padding:22px 24px}.modal-head h3{font-size:20px}.modal-body{padding:24px}.modal-close{font-size:22px;width:38px;height:38px}.login-row input{min-width:0}.login-status{padding:12px;background:#f1f5ed;border-radius:10px;font-size:14px;line-height:1.7}.login-ops{gap:12px}.login-row{gap:12px}.login-stage img{max-height:440px}.foot{background:transparent;border-color:var(--line);color:var(--muted);font-size:12px;padding:22px}
@media(min-width:1600px){.layout{max-width:1550px}.member-list{gap:24px}.result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.topbar{align-items:flex-start;flex-direction:column}.tasks-grid{grid-template-columns:1fr}.member-list{grid-template-columns:repeat(2,minmax(0,1fr))}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.topbar{padding:22px 18px;gap:20px}.brand h1{font-size:25px}.brand .sub{max-width:300px}.tabs{width:100%;flex-wrap:nowrap;overflow-x:auto;gap:3px}.tab{white-space:nowrap;padding:10px 14px;flex-shrink:0}.layout{padding:20px 16px 32px}.panel{padding:20px;border-radius:16px}.member-list,.result-grid,.lib-list{grid-template-columns:1fr}.member-card,.result-card{padding:18px}.source-candidates{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-image img{height:240px}.candidate-actions{flex-wrap:wrap}.board-head{align-items:flex-start}.modal-mask{padding:12px}.modal-body,.modal-head{padding:18px}.login-row{flex-wrap:wrap}.login-row input{flex-basis:180px}.member-form{flex-wrap:wrap}.member-form input{flex-basis:180px}.result-media img{height:210px}.credit-values{grid-template-columns:1fr 1fr}.lib-grid{grid-template-columns:1fr}}
@media(max-width:480px){.source-candidates{grid-template-columns:1fr}.source-form-grid{grid-template-columns:1fr}.brand{gap:12px}.logo{width:44px;height:48px}.credit-values strong{font-size:25px}.platform-row{gap:8px}.pf-badge{padding:4px 8px}.source-entry-grid{grid-template-columns:1fr}.discovery-search{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* One font family and consistent type scale across every control and page. */
:root{--ui-font:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif}
html,body,body *,body *::before,body *::after{font-family:var(--ui-font)!important;letter-spacing:normal;font-variant-numeric:tabular-nums}
body{font-size:14px;font-weight:400;line-height:1.7}
button,input,select,textarea,option,summary{font-family:var(--ui-font)!important;font-size:14px;font-weight:400;line-height:1.6}
h1,.brand h1{font-size:26px;font-weight:600;line-height:1.4}
h2,.panel h2,.menswear-panel h2{font-size:22px;font-weight:600;line-height:1.5}
h3,.modal-head h3,.result-card h3,.source-card h3,.menswear-panel h3,.credit-panel h3{font-size:18px;font-weight:600;line-height:1.6}
.member-name,.job-name,.lib-name,.plan-title-input{font-size:18px;font-weight:600;line-height:1.6}
button,.tab,.btn-sm,.dl-btn,#submitBtn,.lib-form button,.member-form button,.login-row .btn-sm{font-size:14px;font-weight:500}
label,.form-panel label,.source-import label,.radio,.check-row,.pf-name,.discovery-search label,.source-import summary,.source-card p,.source-card a,.result-card p,.result-card a,.source-notice,.plan-angle,.plan-points li,.login-status,.credit-panel p,.job-error,.job-step,.empty{font-size:14px;line-height:1.7}
input,select,textarea,.form-panel input[type=text],.form-panel input[type=file],.member-form input,.login-row input,.menswear-panel input,.menswear-panel select{font-size:14px;font-weight:400}
.hint,.brand .sub,.menswear-panel .hint,.credit-panel .hint,.refresh-hint,.job-meta,.lib-meta,.member-note,.source-label,.source-entry span,.plan-cta,.plan-time,.ph-time,.job-output .note-title,.job-output .pub-info,.foot{font-size:13px;font-weight:400;line-height:1.7}
.badge,.pf-badge,.role-tag,.type-badge,.pub-badge,.source-state,.type-tag,.section-eyebrow{font-size:12px;font-weight:500;line-height:1.6}
.credit-values{font-size:14px}.credit-values strong{font-size:28px;font-weight:600;line-height:1.5}
strong,b{font-weight:600}.modal-close{font-size:22px}.logo{font-size:26px;font-weight:600}
@media(max-width:760px){.brand h1{font-size:26px}.credit-values strong{font-size:28px}}

/* Missing data is a status, not a numeric KPI. */
.credit-panel .credit-values strong.credit-unavailable{font-size:14px;font-weight:400;line-height:1.7;color:var(--muted);margin-top:10px}.credit-panel .credit-values strong:not(.credit-unavailable){font-size:22px;font-weight:600}.credit-panel h3{font-size:16px;font-weight:500}.credit-panel{padding:18px}.credit-values{gap:16px}.credit-panel .hint{font-size:13px}

#loginFrame{cursor:crosshair;touch-action:manipulation}#directLoginHint{padding:10px 12px;background:#edf3e9;border-radius:8px;color:#3c654c}

.real-browser-modal{width:min(1600px,98vw);height:94vh;background:#fff;border-radius:16px;display:flex;flex-direction:column;overflow:hidden}.real-browser-modal iframe{width:100%;flex:1;min-height:0;border:0;background:#25352c}.real-browser-modal .modal-head{flex-wrap:wrap;gap:12px;flex-shrink:0}.real-browser-modal>.hint{flex-shrink:0}
