/* 账号分工和新品任务包（app/f_xhsacct.py）。只用 tokens.css 的变量。 */
.fxhs-lead a { text-decoration: underline; }
.fxhs-shop { font-size: 12px; font-weight: 400; color: var(--weak); margin: 0 2px 0 4px; }
.fxhs-why s { text-decoration: none; color: var(--weak); font-size: 12px; }
.fxhs-m { color: var(--mute); white-space: nowrap; }
.fxhs-both { margin: 10px 0 0; font-size: 12px; color: var(--mute); line-height: 1.7; }
.fxhs-both b { color: var(--ink); font-weight: 600; }

.fxhs-pack { margin-bottom: 12px; }
.fxhs-pack h3 > span { display: inline-flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.fxhs-pack h3 .t { font-weight: 500; }
.fxhs-cap { margin: -4px 0 6px; font-size: 12px; color: var(--mute); }
.fxhs-tr { grid-template-columns: 190px minmax(0, 1fr) 64px 150px; }
.fxhs-tr .p small { font-size: 12px; color: var(--weak); font-weight: 500; }
.fxhs-tr .tbar u { background: var(--pop); }
.fxhs-acts { align-items: center; justify-content: flex-start; gap: 8px; }
.fxhs-acts > span { font-size: 12px; color: var(--weak); }
.fxhs-acts form { margin: 0; }

.fxhs-pf { margin-top: 6px; }
.fxhs-q { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.fxhs-q label { display: grid; grid-template-columns: minmax(0, 1fr) 64px; grid-template-rows: auto auto; gap: 0 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px 7px 11px; background: #fff; font-weight: 400; }
.fxhs-q label b { font-size: 12.5px; font-weight: 600; grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxhs-q label small { grid-column: 1; margin: 0; font-size: 12px; }
.fxhs-q label .in { grid-column: 2; grid-row: 1 / span 2; width: 100%; padding: 7px 8px; font-size: 14px; text-align: center; }
.fxhs-q label.fxhs-all { background: var(--gray-soft); }

.fxhs-shops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.fxhs-acc { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.pc h3 + .fxhs-acc { border-top: none; padding-top: 2px; }
.fxhs-who b { display: block; font-size: 13.5px; font-weight: 600; }
.fxhs-who small { font-size: 12px; color: var(--weak); line-height: 1.6; }
.fxhs-f { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; margin: 0; }
.fxhs-k { font-size: 12px; color: var(--weak); width: 30px; flex: none; }
.fxhs-chip { display: inline-flex; align-items: center; gap: 2px; background: var(--pop-soft); color: var(--pop-ink); border: 1px solid var(--pop-line); border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 12px; }
.fxhs-chip form { margin: 0; display: inline; }
.fxhs-chip button { border: 0; background: none; color: var(--pop-ink); opacity: .7; cursor: pointer; font: inherit; font-size: 14px; line-height: 1; padding: 0 5px; }
.fxhs-chip button:hover { opacity: 1; }
.fxhs-chip:not(:has(form)) { padding-right: 10px; }
.fxhs-none { color: var(--weak); }
.fxhs-sug { flex: 1 1 140px; color: var(--pop-ink); }
.fxhs-sug s { text-decoration: none; color: var(--weak); font-size: 12px; }
.fxhs-inl { margin: 0; }
.fxhs-add select.in { flex: 1 1 120px; min-width: 0; max-width: 220px; }
.fxhs-fit { margin: 0; font-size: 12px; color: var(--weak); line-height: 1.6; }
.fxhs-fit s { text-decoration: none; }

@container main (max-width: 1100px) {
  .fxhs-shops { grid-template-columns: minmax(0, 1fr); }
}
@container main (max-width: 640px) {
  .fxhs-act details.cant[open], .fxhs-acts details.cant[open] { flex-basis: 100%; }
  .fxhs-act details.cant form.closef, .fxhs-acts details.cant form.closef { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
  .fxhs-tr { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .fxhs-tr .tbar { grid-column: 1 / -1; grid-row: 2; }
  .fxhs-tr .g { grid-column: 1 / -1; grid-row: 3; text-align: left; }
  .fxhs-q { grid-template-columns: minmax(0, 1fr); }
}

/* 号归谁（第 21 条） */
.fxhs-tabs { margin: 0 0 10px; }
.fxhs-who-card { padding: 4px 14px; }
.fxhs-wa { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.fxhs-wr { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.fxhs-wr:first-child { border-top: 0; }
.fxhs-wr.off .fxhs-wv b { color: var(--pop-ink); }
.fxhs-wh b { display: block; font-size: 13px; overflow-wrap: anywhere; }
.fxhs-wh small, .fxhs-wv small { display: block; font-size: 12px; color: var(--weak); margin-top: 2px; }
.fxhs-wv span { font-size: 12.5px; }
.fxhs-wf form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.fxhs-wf form label { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; }
.fxhs-wf form small { flex-basis: 100%; font-size: 12px; color: var(--weak); }
@container main (max-width: 640px) {
  .fxhs-wr { grid-template-columns: minmax(0, 1fr); }
  .fxhs-wf form .in { max-width: 100%; }
}
