/* ── 入场核验结果 ── */
.verify-result { border-radius: var(--r-md); padding: 16px; margin-top: 14px; font-size: 13px; line-height: 1.8; }
.verify-result.ok { background: rgba(48, 209, 88, 0.10); border: 1px solid rgba(48, 209, 88, 0.35); color: #7ee2a0; }
.verify-result.err { background: rgba(255, 69, 58, 0.10); border: 1px solid rgba(255, 69, 58, 0.35); color: #ff9b96; }

/* ── 赛季选择条 ── */
.season-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.season-bar .s-label { font-size: 12.5px; color: var(--text-dim); }
.season-bar select {
  background: var(--control-bg); border: 1px solid var(--glass-border);
  color: var(--text); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; outline: none;
}
@media (max-width: 820px) {
  .season-bar .s-label { white-space: nowrap; flex: 0 0 auto; }
  .season-bar select { min-width: 0; flex: 1 1 auto; max-width: 100%; }
}

/* ── 页内小标题(详情表单/补充资料段) ── */
.section-label { margin-top: 12px; font-size: 12.5px; color: var(--text-dim); }

/* ── 证边备注 ── */
.note-orange { margin-top: 12px; font-size: 12.5px; color: var(--orange); }

/* ── 扫码区域 ── */
#qr-reader { margin: 14px 0; border-radius: var(--r-md); overflow: hidden; }
/* ── 飞书式表单编辑器 ── */
.fq-form-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.fq-form-title { font-size: 20px; font-weight: 700; color: var(--text); background: transparent; border: none; outline: none; border-bottom: 1px dashed transparent; padding: 2px 0; }
.fq-form-desc { font-size: 12.5px; color: var(--text-dim); background: transparent; border: none; outline: none; padding: 2px 0; }
.fq-form-title:hover, .fq-form-desc:hover { border-bottom-color: var(--glass-border); }
.fq-page-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.fq-page-title-row { display: flex; gap: 10px; margin-bottom: 14px; }
.fq-page-title-row input { flex: 1; background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 8px; padding: 8px 12px; font-size: 12.5px; outline: none; }
.fq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.fq-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-lg); padding: 4px 14px 12px; transition: border-color 0.2s ease; }
.fq-card:hover { border-color: rgba(255, 255, 255, 0.22); }
.fq-card.editing { border-color: var(--accent); background: var(--accent-soft); }
.fq-head { display: flex; align-items: flex-start; gap: 10px; padding-top: 10px; cursor: pointer; }
.fq-card.editing .fq-head { cursor: default; }
.fq-no { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.fq-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fq-title { font-size: 14px; font-weight: 600; color: var(--text); word-break: break-all; }
.fq-sub { font-size: 11.5px; color: var(--text-dim); }
.fq-tools { flex-shrink: 0; display: flex; gap: 6px; opacity: 0; transition: opacity 0.15s ease; }
.fq-card:hover .fq-tools, .fq-card.editing .fq-tools { opacity: 1; }
@media (hover: none), (max-width: 700px) { .fq-tools { opacity: 1; } }
.fq-preview { padding: 4px 0 2px 32px; display: flex; flex-direction: column; gap: 6px; }
.fq-opt-preview { border: 1px dashed var(--glass-border); border-radius: 8px; padding: 7px 12px; font-size: 12.5px; color: var(--text-dim); }
.fq-desc-preview { font-size: 12.5px; color: var(--text-dim); }
.fq-body { padding: 10px 0 2px 32px; display: flex; flex-direction: column; gap: 10px; }
.fq-edit-row { display: flex; gap: 10px; }
.fq-in-title { flex: 2; background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 600; outline: none; }
.fq-edit-row select { background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; outline: none; }
.fq-in-desc { flex: 1; background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 8px; padding: 8px 12px; font-size: 12.5px; outline: none; }
.fq-in-title:focus, .fq-in-desc:focus, .fq-page-title-row input:focus { border-color: var(--accent); }
.fq-params { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-dim); align-items: center; }
.fq-params label { display: flex; align-items: center; gap: 6px; }
.fq-params input[type="number"] { width: 90px; background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 6px; padding: 5px 8px; font-size: 12px; outline: none; }
.fq-check { cursor: pointer; }
.fq-opts, .fq-fields { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin-top: 8px; }
.fq-field-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.fq-field-row input, .fq-field-row select { background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 8px; padding: 7px 10px; font-size: 12.5px; outline: none; }
.fq-field-row input { flex: 1; }
.fq-cond { margin-top: 10px; }
.fq-cond-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.fq-cond-row select { background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 8px; padding: 7px 10px; font-size: 12.5px; }
.fq-opt-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.fq-opt-dot { flex-shrink: 0; width: 16px; text-align: center; color: var(--text-dim); font-size: 12px; }
.fq-opt-row input { flex: 1; max-width: 420px; background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 8px; padding: 7px 12px; font-size: 12.5px; outline: none; }
.fq-opt-row input:focus { border-color: var(--accent); }
.fq-opt-id { font-size: 11px; color: var(--text-faint, #6e6e73); }
.fq-add-bar { margin-top: 14px; border: 1.5px dashed var(--glass-border); border-radius: 12px; min-height: 46px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 20px; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.fq-add-bar:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.fq-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 500; display: flex; align-items: center; justify-content: center; }
.fq-pop { width: 460px; max-width: 92vw; background: var(--side-bg); border: 1px solid var(--glass-border); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-float); }
.fq-pop-title { font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 14px; }
.fq-pop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fq-type-btn { background: var(--control-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: var(--r-md); padding: 12px 8px; font-size: 12.5px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.fq-type-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 680px) {
  .fq-body { padding-left: 0; }
  .fq-preview { padding-left: 0; }
  .fq-edit-row { flex-direction: column; }
  .fq-pop-grid { grid-template-columns: repeat(2, 1fr); }
}

.verify-pc-note { margin-bottom: 12px; padding: 10px 14px; border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid rgba(48, 209, 88, 0.3); color: var(--text-dim); font-size: 12.5px; }
.fc-season-list { display: flex; flex-direction: column; gap: 8px; max-height: 50vh; max-height: min(50dvh, max(0px, calc(100dvh - 180px))); overflow-y: auto; }

/* ── 工作台首页 ── */
.wb-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin:12px 0 24px; }
.wb-heading .page-title { text-align:left; margin-top:7px; }
.wb-heading .page-sub { text-align:left; margin-bottom:0; max-width:620px; }
.wb-kicker,.wb-eyebrow { display:block; color:var(--accent); font-size:10px; letter-spacing:.16em; font-weight:700; text-transform:uppercase; }
.wb-status { display:flex; align-items:center; gap:7px; color:var(--text-dim); font-size:11px; white-space:nowrap; padding:8px 12px; border:1px solid var(--glass-border); border-radius:999px; background:var(--control-bg); }
.wb-status i { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px var(--accent-soft); }
.wb-hero { position:relative; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:208px; padding:34px 40px; margin-bottom:34px; background:linear-gradient(115deg,rgba(48,209,88,.16),rgba(16,16,18,.96) 55%),var(--card-bg); border:1px solid rgba(48,209,88,.26); border-radius:var(--r-lg); box-shadow:0 18px 55px rgba(0,0,0,.24); transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.wb-hero-copy { position:relative; z-index:1; max-width:670px; }
.wb-hero-art { position:absolute; inset:0; opacity:.7; pointer-events:none; }
.wb-hero-art span { position:absolute; display:block; border:1px solid rgba(48,209,88,.22); border-radius:50%; }
.wb-hero-art span:nth-child(1){ width:310px;height:310px;right:-82px;top:-160px; }
.wb-hero-art span:nth-child(2){ width:450px;height:450px;right:-146px;top:-232px; }
.wb-hero-art span:nth-child(3){ width:590px;height:590px;right:-214px;top:-310px; }
@media (hover: hover) {
  .wb-hero:hover { transform: translateY(-3px); border-color: rgba(48, 209, 88, 0.4); box-shadow: var(--shadow-float); }
}
.wb-hero-title { font-size: 28px; font-weight: 750; color: var(--text); letter-spacing: 0; margin-top:8px; }
.wb-hero-sub { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.wb-hero-cta { margin-top:20px; gap:8px; }
.wb-hero-cta svg { width:15px; height:15px; }
.wb-hero-icon { position:relative; z-index:1; width:78px;height:78px;display:grid;place-items:center;border-radius:24px;color:var(--accent);background:rgba(48,209,88,.12);border:1px solid rgba(48,209,88,.3); }
.wb-hero-icon svg { width:34px;height:34px; }
.wb-tools { padding:0 2px 32px; }
.wb-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:13px; }
.wb-section-head h2 { margin-top:5px; font-size:19px; letter-spacing:0; }
.wb-count { color:var(--text-dim); font-size:11px; }
.wb-grid { display:grid; margin-top:0; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:12px; }
.quick { position:relative; min-height:156px; padding:19px 20px 17px; border:1px solid var(--card-border); border-radius:15px; background:linear-gradient(145deg,var(--card-bg-hi),var(--card-bg)); transition:transform .22s var(--ease),border-color .22s ease,box-shadow .22s ease; }
.quick:hover { transform:translateY(-3px); border-color:rgba(48,209,88,.35); box-shadow:0 14px 34px rgba(0,0,0,.26); }
.quick-index { position:absolute; top:14px; right:16px; color:var(--text-dim); font:11px var(--mono); }
.quick .q-icon { margin-bottom:22px; color:var(--accent); }
.quick .q-icon svg { width:21px; height:21px; }
.quick .q-title { font-size:14px; font-weight:650; color:var(--text); margin-bottom:5px; }
.quick .q-sub { max-width:31ch; font-size:12px; color:var(--text-dim); line-height:1.5; }
.quick-arrow { position:absolute; right:17px; bottom:14px; color:var(--text-faint); font-size:18px; transition:color .2s ease,transform .2s ease; }
.quick:hover .quick-arrow { color:var(--accent); transform:translate(2px,-2px); }
@media (max-width: 860px) { .wb-heading { align-items:flex-start; flex-direction:column; gap:12px; } .wb-hero { padding:26px 24px; } }
@media (max-width: 520px) { .wb-hero { min-height:0; padding:24px 20px; } .wb-hero-icon { display:none; } .wb-hero-title { font-size:23px; } .wb-status { align-self:flex-start; } .quick { min-height:140px; } }
.stats-page { max-width: 1440px; margin: 0 auto; }
.stats-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin:12px 0 24px; }
.stats-heading .page-title { text-align:left; margin-top:7px; }
.stats-heading .page-sub { text-align:left; max-width:720px; margin-bottom:0; }
.stats-meta { display:flex; flex-direction:column; align-items:flex-end; gap:8px; color:var(--text-faint); font-size:11px; white-space:nowrap; }
.stats-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.stats-range { display:flex; gap:4px; padding:4px; border:1px solid var(--glass-border); border-radius:9px; background:rgba(255,255,255,.025); }
.stats-range-btn { min-height:30px; padding:0 12px; border:0; border-radius:6px; background:transparent; color:var(--text-dim); font:inherit; font-size:12px; cursor:pointer; }
.stats-range-btn:hover,.stats-range-btn.active { color:var(--text); background:var(--accent-soft); }
.stats-range-btn.active { box-shadow:inset 0 0 0 1px rgba(48,209,88,.28); }
.stats-window { color:var(--text-faint); font-size:11px; }
.stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:28px; }
.stats-card { min-width:0; padding:16px 17px; border:1px solid var(--card-border); border-radius:var(--r-md); background:linear-gradient(145deg,var(--card-bg-hi),var(--card-bg)); }
.stats-card span { display:block; overflow:hidden; color:var(--text-dim); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.stats-card strong { display:block; margin-top:8px; color:var(--text); font-size:25px; font-weight:720; line-height:1.1; }
.stats-card small { display:block; margin-top:7px; color:var(--accent); font-size:11px; }
.stats-card-live { border-color:rgba(48,209,88,.28); }
.stats-sites { padding-bottom:32px; }
.stats-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:12px; }
.stats-section-head h2 { margin-top:5px; font-size:19px; letter-spacing:0; }
.stats-site-head,.stats-site-row { display:grid; grid-template-columns:minmax(130px,1.5fr) minmax(120px,1fr) minmax(100px,1fr) minmax(150px,1fr); gap:12px; align-items:center; }
.stats-site-head { padding:0 14px 8px; color:var(--text-faint); font-size:11px; }
.stats-site-row { min-height:56px; padding:10px 14px; border-top:1px solid var(--glass-border); color:var(--text-dim); font-size:12px; }
.stats-site-row span { line-height:1.7; }
.stats-site-row b { color:var(--text-faint); font-size:10px; font-weight:500; }
.stats-site-row strong { overflow:hidden; color:var(--text); text-overflow:ellipsis; white-space:nowrap; }
@media (max-width: 860px) { .stats-heading { align-items:flex-start; flex-direction:column; gap:12px; } .stats-meta { align-items:flex-start; } .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .stats-toolbar { align-items:flex-start; flex-direction:column; } .stats-range { width:100%; overflow-x:auto; } .stats-range-btn { flex:1 0 auto; } .stats-grid { grid-template-columns:1fr 1fr; gap:8px; } .stats-card { padding:14px 13px; } .stats-card strong { font-size:21px; } .stats-site-head { display:none; } .stats-site-row { grid-template-columns:1fr 1fr; gap:5px 12px; padding:13px 10px; } .stats-site-row span:last-child { text-align:right; } }

/* ── 可点击行(赛季列表) ── */
.row.selectable { cursor: pointer; transition: background-color 0.18s ease; border-radius: 10px; padding-left: 10px; padding-right: 10px; }
.row.selectable:hover { background: var(--hover-bg); }

/* ── 子页面(编辑视图): 居中收窄, 返回在左上角 ── */
.subpage { max-width: 760px; margin: 0 auto; }
.subpage-back { display: none; }
.subpage .page-title { margin-bottom: 8px; }
.subpage .page-sub { margin-top: 10px; margin-bottom: 30px; }
.subpage .panel + .panel { margin-top: 24px; }
.subpage .field { margin-bottom: 20px; }
.subpage .field label { margin-bottom: 8px; }
.subpage .panel .acts-row { margin-top: 22px; }
.subpage .u-grid { gap: 0 22px; }
.subpage-danger { margin-top: 26px; }

/* ── 资产管理 ── */
.ops-page { max-width: 1440px; margin: 0 auto; }
.ops-page .page-title { text-align: left; font-size: 28px; letter-spacing: 0; }
.ops-page .page-sub { text-align: left; max-width: 760px; margin-bottom: 18px; }
.ops-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px; background: rgba(16,16,18,.72); border: 1px solid var(--card-border); border-radius: var(--r-md); }
.ops-search { display: flex; align-items: center; gap: 7px; min-width: min(100%, 260px); flex: 1 1 300px; height: 34px; padding: 0 10px; background: var(--control-bg); border: 1px solid var(--glass-border); border-radius: 8px; }
.ops-search-icon { color: var(--text-faint); font-size: 18px; line-height: 1; }
.ops-search input { min-width: 0; flex: 1; height: 30px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; }
.ops-filter select { min-width: 130px; height: 34px; padding: 0 10px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--control-bg); color: var(--text); font: inherit; }
.vs-date-filter { display: flex; align-items: center; gap: 6px; min-height: 34px; color: var(--text-faint); font-size: 12px; }
.vs-date-filter input { height: 34px; padding: 0 8px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--control-bg); color: var(--text); font: inherit; }
.ops-check { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 9px; color: var(--text-dim); font-size: 12px; }
.ops-check input { accent-color: var(--accent); }
.ops-mini-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; color: var(--text-dim); font-size: 12px; }
.ops-mini-stats span { padding: 6px 9px; border: 1px solid var(--glass-border); border-radius: 7px; background: rgba(255,255,255,.025); }
.ops-mini-stats b { margin-left: 5px; color: var(--text); font-weight: 700; }
.ops-mini-stats .ops-alert b { color: var(--orange); }
.ops-section { overflow: hidden; }
.ops-section .card-body { padding-top: 8px; padding-bottom: 8px; }
.ops-page .row { min-height: 56px; padding: 10px 4px; }
.ops-page .row:hover { background: rgba(255,255,255,.025); }
.as-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.as-stat { padding: 16px 18px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-lg); }
.as-stat span { display: block; color: var(--text-dim); font-size: 12px; }
.as-stat strong { display: block; margin-top: 7px; color: var(--text); font-size: 24px; font-weight: 700; }
.as-tabs { margin-bottom: 16px; }
.as-row-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
.as-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.as-hint { margin-top: 6px; color: var(--text-faint); font-size: 11.5px; line-height: 1.5; }
@media (max-width: 640px) {
  .ops-page .page-title { font-size: 24px; }
  .ops-filter { align-items: stretch; }
  .ops-search { flex-basis: 100%; }
  .ops-filter select { flex: 1 1 120px; min-width: 0; }
  .vs-date-filter { flex: 1 1 150px; }
  .vs-date-filter input { flex: 1; min-width: 0; }
  .ops-page .row { align-items: flex-start; flex-direction: column; }
  .ops-page .as-row-meta, .ops-page .rf-relation-meta { width: 100%; justify-content: flex-start; }
  .as-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-form-grid { grid-template-columns: 1fr; }
  .as-row-meta { justify-content: flex-start; }
}

/* ── 推介管理 ── */
.ops-page > .ops-section + .ops-section { margin-top: 16px; }
.ops-page > .ops-section + .ops-filter { margin-top: 16px; }
.rf-config .card-header { min-height: 50px; }
.rf-section-heading { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rf-section-heading > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.rf-stat { padding: 16px 18px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-lg); }
.rf-stat span { display: block; color: var(--text-dim); font-size: 12px; }
.rf-stat strong { display: block; margin-top: 7px; color: var(--text); font-size: 22px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.rf-hint { margin-top: 6px; color: var(--text-faint); font-size: 11.5px; line-height: 1.5; }
.rf-check-field { display: flex; align-items: end; }
.rf-check-field label { display: flex; align-items: center; gap: 8px; min-height: 38px; }
.rf-actions { display: flex; justify-content: flex-end; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--glass-border); }
.rf-codes { display: flex; flex-direction: column; gap: 2px; }
.rf-code-row { align-items: center; }
.rf-code-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rf-code-row code { color: var(--accent); font-family: var(--mono); font-size: 12px; word-break: break-all; }
.rf-copy { flex: 0 0 auto; }
.rf-refresh { flex: 0 0 auto; }
.rf-relations { display: flex; flex-direction: column; gap: 2px; }
.rf-relation-row { align-items: center; }
.rf-arrow { color: var(--accent); padding: 0 5px; }
.rf-relation-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
@media (max-width: 640px) {
  .rf-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-form-grid { grid-template-columns: 1fr; }
  .rf-relation-meta { justify-content: flex-start; }
  .rf-actions { justify-content: stretch; }
  .rf-actions .btn { width: 100%; justify-content: center; }
  .rf-code-title { flex-wrap: wrap; }
  .rf-code-title code { max-width: 100%; }
}

/* ── 权限节点选择面板 ── */
.node-picker {
  position: fixed; z-index: 2600; max-height: 300px; max-height: min(42vh, 300px); max-height: min(42dvh, 300px); overflow-y: auto;
  background: var(--menu-bg); border: 1px solid var(--glass-border);
  border-radius: 12px; box-shadow: var(--shadow-float); padding: 6px;
}
.np-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; padding: 7px 10px;
  border: none; background: transparent; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-size: 12px; color: var(--text-dim);
}
.np-item:hover { background: var(--active-bg); color: var(--text); }
.np-node { font-family: var(--mono); font-size: 11px; }
.np-desc { color: var(--text-faint); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── 发信中心: 首页卡片/任务队列 ── */
.nf-card { cursor: pointer; }
.nf-bar-box { display: flex; align-items: center; gap: 8px; flex-shrink: 0; width: 170px; }
.nf-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--track); overflow: hidden; }
.nf-bar-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.3s var(--ease); }
.nf-bar-num { font-size: 11.5px; color: var(--text-dim); white-space: nowrap; }
.nf-job-items { border-top: 1px dashed var(--glass-border); }
.nf-job-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 12px; color: var(--text-dim); border-bottom: 1px solid var(--glass-border); }
.nf-job-item:last-child { border-bottom: none; }
.nf-ji-mail { flex: 1; min-width: 0; word-break: break-all; color: var(--text); }
.nf-ji-err { color: var(--red); word-break: break-all; }
.nf-to-bar { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
#nf-send svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── 多选搜索选择器(发信中心收件人/飞书群聊) ── */
.msel { position: relative; }
.msel-box { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; padding: 5px 10px; background: var(--control-bg); border: 1px solid var(--glass-border); border-radius: 10px; cursor: text; }
.msel-box:focus-within { border-color: var(--accent); }
.msel-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.msel-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 5px 2px 3px; background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 999px; font-size: 12px; color: var(--text); max-width: 100%; }
.msel-chip img, .msel-ava { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.msel-ava { display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 600; }
.msel-chip-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msel-chip-x { border: none; background: transparent; color: var(--text-faint); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 3px; }
.msel-chip-x:hover { color: var(--red); }
.msel-box input { flex: 1; min-width: 130px; border: none; background: transparent; color: var(--text); font-size: 12.5px; outline: none; padding: 5px 2px; }
.msel-box input::placeholder { color: var(--text-faint); }
.msel-drop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: 260px; max-height: min(38dvh, 260px); overflow-y: auto; background: var(--menu-bg); border: 1px solid var(--glass-border); border-radius: 12px; box-shadow: var(--shadow-float); }
.msel-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12.5px; cursor: pointer; color: var(--text); }
.msel-item:hover { background: var(--control-bg); }
.msel-item img, .msel-item .msel-ava { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.msel-name { font-weight: 600; flex-shrink: 0; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msel-sub { flex: 1; min-width: 0; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msel-check { color: var(--accent); font-weight: 700; }
.msel-plus { color: var(--accent); font-weight: 700; }
.msel-empty { padding: 14px 12px; font-size: 12px; color: var(--text-faint); text-align: center; }
.nf-subj { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-title .tag { margin-right: 8px; vertical-align: 1px; }
.nf-op { display: inline-flex; align-items: center; gap: 5px; }
.nf-op img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.nf-dot { margin: 0 2px; }
.nf-split .acts-row .btn { white-space: nowrap; }

/* ── 快捷选择收件人弹层 ── */
.pk-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pk-label { width: 64px; flex-shrink: 0; font-size: 12px; color: var(--text-dim); }
.pk-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pk-chip { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--control-bg); color: var(--text-dim); font-size: 12px; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.pk-chip:hover { color: var(--text); }
.pk-chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.pk-bar { display: flex; align-items: center; gap: 14px; margin: 12px 0 8px; }
.pk-all { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); cursor: pointer; }
.pk-list { max-height: 300px; max-height: min(42vh, 300px); max-height: min(42dvh, 300px); overflow-y: auto; }
.pk-item { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--glass-border); font-size: 12.5px; }
.pk-item:last-child { border-bottom: none; }
.pk-item .pk-name { flex-shrink: 0; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 600; }
.pk-item .pk-mail { flex: 1; min-width: 0; word-break: break-all; color: var(--text-dim); }
.pk-pager { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--text-dim); flex-wrap: wrap; }

/* ── 审批队列筛选条 ── */
.app-filter { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.app-filter select {
  background: var(--control-bg); border: 1px solid var(--glass-border);
  color: var(--text); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; outline: none;
}
.scope-seg { display: inline-flex; border: 1px solid var(--glass-border); border-radius: 999px; overflow: hidden; margin-left: auto; }
.seg-btn { border: none; background: transparent; color: var(--text-dim); font-size: 12px; font-weight: 600; padding: 6px 14px; cursor: pointer; }
.seg-btn.on { background: var(--accent-soft); color: var(--accent); }

/* ── 审批详情三栏: 评论区 | 表单 | 操作区 ── */
.app-cols { display: grid; width: 100%; grid-template-columns: minmax(240px, 1fr) minmax(0, 760px) minmax(220px, 1fr); gap: 16px; align-items: start; max-width: 2240px; margin: 0 auto; }
.form-col .card { width: 100%; max-width: 760px; margin: 0 auto; }
.ops-col, .cmt-col { position: sticky; top: 16px; max-height: calc(100vh - 32px); max-height: max(0px, calc(100vh - 32px)); max-height: max(0px, calc(100dvh - 32px)); }
.ops-col { overflow-y: auto; }
.ops-box .card-body { display: flex; flex-direction: column; gap: 10px; }
.ops-status { margin: 4px 0 2px; }
.ops-votes { display: flex; flex-direction: column; gap: 14px; }
.ops-vote { flex: 1; justify-content: center; }
.ops-vote.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.ops-vote-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ops-voters { display: flex; flex-direction: column; gap: 6px; }
.ops-voter-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ops-voter-name { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; max-width: 40%; }
.ops-voter-meta { font-size: 11px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-voter-empty { font-size: 11px; color: var(--text-faint); }
.ops-review-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.ops-voter { position: relative; overflow: hidden; width: 22px; height: 22px; border-radius: 50%; background: var(--control-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; flex-shrink: 0; }
.ops-voter img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dn-msg { font-style: italic; opacity: 0.85; }
.dn-acts { display: flex; gap: 8px; flex-shrink: 0; }
/* ── 权限管理 (LP Editor) ── */
.perm-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--glass-border); border-radius: 2px; overflow: hidden; background: #101022; min-height: 70vh; min-height: 70dvh; }
.perm-side { background: #14141f; border-right: 1px solid var(--glass-border); padding: 10px; max-height: 80vh; max-height: min(80vh, max(0px, calc(100vh - 112px))); max-height: min(80dvh, max(0px, calc(100dvh - 112px))); overflow-y: auto; }
.perm-search { width: 100%; background: #1c1c28; border: 0; border-radius: 2px; padding: 9px 10px; color: #fff; font-size: 13px; margin-bottom: 10px; outline: none; }
.perm-sec-head { display: flex; align-items: center; gap: 6px; padding: 8px 4px; font-size: 15px; font-weight: 700; color: #fff; user-select: none; margin: 0; }
.perm-caret-btn { border: 0; background: transparent; cursor: pointer; padding: 2px 4px; }
.perm-caret { display: inline-block; width: 0; height: 0; border-left: 6px solid #94DF03; border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform 0.15s ease; }
.perm-caret.open { transform: rotate(90deg); }
.perm-plus { margin-left: auto; width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.perm-plus::before { content: '+'; color: #94DF03; font-size: 17px; font-weight: 700; line-height: 1; }
.perm-plus:disabled { opacity: 0.35; cursor: default; }
.perm-count { color: #8a8a99; font-weight: 400; font-size: 12px; }
.perm-list { display: flex; flex-direction: column; }
.perm-list[hidden] { display: none; }
.perm-li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 2px; cursor: pointer; min-width: 0; color: #fff; }
.perm-li:hover { background: rgba(255,255,255,0.06); }
.perm-li.on { background: rgba(148,223,3,0.12); }
.perm-li-dot { width: 8px; height: 8px; border-radius: 2px; background: #94DF03; flex-shrink: 0; }
.perm-li-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perm-li-sub { margin-left: auto; font-size: 11px; color: #8a8a99; }
.perm-li-main { display: flex; flex-direction: column; min-width: 0; }
.perm-li-sub2 { font-size: 11px; color: #8a8a99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perm-ava-sm { position: relative; overflow: hidden; width: 22px; height: 22px; border-radius: 2px; background: #1c1c28; color: #94DF03; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.perm-ava-sm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.perm-empty-sm { padding: 8px; font-size: 12px; color: #8a8a99; }
.perm-main { padding: 14px 18px; background: #101022; }
.perm-topnav { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.perm-topnav-left { display: flex; align-items: center; gap: 12px; }
.perm-season { background: #2D2D38; border: 0; color: #fff; border-radius: 2px; padding: 5px 9px; font-size: 13px; font-weight: 600; outline: none; cursor: pointer; font-family: inherit; }
.perm-season option { background: #1c1c28; color: #fff; }
.perm-season:focus { filter: brightness(1.15); }
.perm-logo { font-size: 17px; font-weight: 700; color: #fff; }
.perm-nav-btns { display: flex; gap: 8px; }
.perm-save { display: inline-flex; align-items: center; gap: 6px; background: #94DF03; color: #101022; border: 0; border-radius: 0; padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.perm-save svg { width: 13px; height: 13px; }
.perm-save.dim { opacity: 0.65; }
.perm-save:hover { filter: brightness(1.1); }
.perm-blank { display: flex; align-items: center; justify-content: center; gap: 10px; height: 58vh; height: 58dvh; font-size: 20px; font-weight: 700; color: #fff; }
.perm-h1 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.perm-h1 small { font-size: 14px; font-weight: 600; color: #8a8a99; }
.perm-h1 code { font-family: var(--mono); font-size: 22px; font-weight: 700; color: #fff; background: none; }
.perm-avatar { position: relative; overflow: hidden; width: 24px; height: 24px; border-radius: 2px; background: #1c1c28; color: #94DF03; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.perm-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.perm-meta { margin-bottom: 16px; }
.perm-parents { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; position: relative; }
.perm-parents strong { font-size: 13px; font-weight: 600; color: #fff; }
.perm-parent-add { border: 0; border-radius: 2px; background: #2D2D38; color: #94DF03; font-size: 13px; font-weight: 700; padding: 2px 8px; cursor: pointer; font-family: inherit; }
.perm-parent-add:hover { filter: brightness(1.2); }
.perm-parents ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.perm-parent-role, .perm-parent-x { border: 0; background: rgba(0,0,0,0.2); color: #fff; font-family: var(--mono); cursor: pointer; }
.perm-parent-role { border-radius: 2px 0 0 2px; padding: 3px 7px; font-size: 12.5px; }
.perm-parent-x { border-radius: 0 2px 2px 0; padding: 3px 7px; opacity: 0.7; font-size: 12px; }
.perm-parent-x:hover { opacity: 1; color: #ff7b72; }
.perm-role-menu { position: absolute; top: calc(100% + 4px); left: 70px; z-index: 30; background: #1c1c28; border: 1px solid var(--glass-border); border-radius: 2px; padding: 4px; box-shadow: var(--shadow-float); min-width: 130px; }
.perm-role-menu[hidden] { display: none; }
.perm-role-item { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: #cfcfe0; font-size: 12.5px; padding: 6px 9px; cursor: pointer; font-family: inherit; }
.perm-role-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.perm-role-item.on { color: #94DF03; }
.perm-node-list { margin-bottom: 14px; }
.perm-nl-title { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.perm-nl-head { display: grid; grid-template-columns: 34px minmax(0,1fr) 110px 150px 110px 40px; align-items: center; gap: 4px; padding: 4px 6px; background: #1c1c28; border-radius: 2px 2px 0 0; font-size: 12.5px; font-weight: 600; color: #b9b9c9; }
.perm-nl-scroll { border: 1px solid rgba(255,255,255,0.08); border-top: 0; max-height: 46vh; max-height: min(46vh, max(0px, calc(100vh - 250px))); max-height: min(46dvh, max(0px, calc(100dvh - 250px))); overflow-y: auto; }
.perm-pnode { display: grid; grid-template-columns: 34px minmax(0,1fr) 110px 150px 110px 40px; align-items: center; gap: 4px; padding: 5px 6px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; }
.perm-pnode:hover { background: rgba(255,255,255,0.03); }
.perm-pn-check { width: 16px; height: 16px; border: 1px solid #4a4a5a; border-radius: 2px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; }
.perm-pn-check.passive { border-color: transparent; cursor: default; }
.perm-pn-check.on { background: #94DF03; border-color: #94DF03; }
.perm-pn-check.on span { width: 9px; height: 5px; border-left: 2px solid #101022; border-bottom: 2px solid #101022; transform: rotate(-45deg); margin-top: -2px; }
.perm-pn-check.mixed { background: #94DF03; border-color: #94DF03; }
.perm-pn-check.mixed span { width: 8px; height: 2px; background: #101022; }
.perm-pn-perm { display: flex; align-items: center; gap: 7px; min-width: 0; }
.perm-badge { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 2px; flex-shrink: 0; }
.badge-inherit { background: #2c5aa0; color: #cfe0ff; }
.badge-perm { background: #2f7d32; color: #d9f2da; }
.perm-code { font-family: var(--mono); font-size: 12.5px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perm-src-from { font-size: 11px; color: #8a8a99; }
.perm-pn-val, .perm-pn-exp, .perm-pn-ctx { cursor: pointer; }
.perm-pn-val code.true { color: #7ee787; font-weight: 600; font-family: var(--mono); }
.perm-pn-val code.false { color: #ff7b72; font-weight: 600; font-family: var(--mono); }
.perm-pn-exp code, .perm-pn-ctx code { font-family: var(--mono); font-size: 12px; color: #b9b9c9; }
.perm-pn-exp code[disabled], .perm-pn-ctx code[disabled] { color: #75758a; }
.perm-pn-del { text-align: center; color: #8a8a99; cursor: pointer; font-size: 16px; }
.perm-pn-del:hover { color: #ff7b72; }
.perm-pnode.dirty { background: rgba(148,223,3,0.06); }
.perm-node-builder { margin-top: 12px; padding: 10px 12px; background: #14141f; border-radius: 2px; }
.perm-cg { display: flex; flex-direction: column; gap: 10px; }
.perm-cg-pri { display: flex; align-items: center; gap: 10px; }
.perm-cg-pri span { color: #98989d; font-size: 13px; white-space: nowrap; }
.perm-nb-label { display: block; font-size: 13px; font-weight: 700; color: #b9b9c9; margin-bottom: 8px; }
.perm-nb-row { display: flex; gap: 10px; align-items: stretch; }
.perm-nb-type { width: 130px; height: 34px; box-sizing: border-box; flex: none; background: #1c1c28; border: 1px solid #2D2D38; color: #fff; border-radius: 2px; padding: 7px 8px; font-size: 12.5px; font-family: inherit; }
.perm-nb-inputs { flex: 1; display: flex; gap: 10px; align-items: flex-end; min-width: 0; }
.perm-nb-in { display: flex; flex-direction: column; }
.perm-nb-grow { flex: 1; min-width: 0; }
.perm-nb-narrow { width: 90px; flex: none; }
.perm-nb-mid { width: 170px; flex: none; }
.perm-nb-inlabel { font-size: 10px; letter-spacing: 0.06em; color: #8a8a99; margin-bottom: 4px; font-weight: 600; }
.perm-nb-in input, .perm-nb-in select { height: 34px; box-sizing: border-box; background: #1c1c28; border: 1px solid #2D2D38; color: #fff; border-radius: 2px; padding: 7px 8px; font-size: 12.5px; font-family: inherit; width: 100%; }
.perm-nb-add-big { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 56px; height: 34px; box-sizing: border-box; border: 0; border-radius: 2px; background: #2D2D38; color: #94DF03; font-size: 11px; font-weight: 700; cursor: pointer; font-family: inherit; padding: 0; }
.perm-nb-add-big span { font-size: 17px; line-height: 1; }
.perm-nb-add-big:hover { filter: brightness(1.2); }
.perm-del-text { border: 0; background: transparent; color: #ff7b72; font-size: 12.5px; cursor: pointer; font-family: inherit; }
@media (max-width: 640px) {
  .perm-nb-row { display: block; }
  .perm-nb-inputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, 1fr); gap: 8px; }
  .perm-nb-grow { grid-column: 1 / -1; width: 100%; }
  .perm-nb-narrow, .perm-nb-mid { width: auto; }
  .perm-nb-add-big { width: 100%; min-height: 34px; }
}

/* ── 志愿者任务看板 ── */
.vt-toolbar { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.vt-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.vt-column { min-width: 0; min-height: 220px; background: rgba(255,255,255,.025); border: 1px solid var(--glass-border); border-radius: var(--r-md); padding: 12px; }
.vt-column-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--text); }
.vt-column-head > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.vt-column-head > span:first-child::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); box-shadow: 0 0 0 3px rgba(255,255,255,.04); }
.vt-column-open .vt-column-head > span:first-child::before { background: var(--blue); }
.vt-column-in_progress .vt-column-head > span:first-child::before { background: var(--orange); }
.vt-column-done .vt-column-head > span:first-child::before { background: var(--accent); }
.vt-column-closed .vt-column-head > span:first-child::before { background: var(--text-faint); }
.vt-task.card { margin: 0 0 10px; padding: 12px; border-radius: var(--r-md); }
.vt-task { margin: 0 0 10px; padding: 13px; background: linear-gradient(145deg, rgba(27,27,31,.98), rgba(16,16,18,.98)); border: 1px solid var(--card-border); border-radius: var(--r-md); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.vt-task:hover { border-color: rgba(255,255,255,.18); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.vt-task.is-overdue { border-color: rgba(255,167,38,.45); box-shadow: inset 3px 0 0 var(--orange); }
.vt-task.card:last-child { margin-bottom: 0; }
.vt-task-head { display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
.vt-task-title { min-width: 0; color: var(--text); font-size: 13.5px; font-weight: 650; word-break: break-word; }
.vt-task-detail { margin-top: 8px; color: var(--text-dim); font-size: 12px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.vt-task-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; color: var(--text-faint); font-size: 11.5px; }
.vt-status { display: inline-flex; align-items: center; gap: 5px; }
.vt-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.vt-due.is-overdue { color: var(--orange); font-weight: 650; }
.vt-people { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.vt-person { padding: 4px 8px; border: 1px solid var(--glass-border); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--text-dim); font-size: 11px; }
.vt-person.done { border-color: rgba(48,209,88,.35); color: var(--accent); }
.vt-task-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.vt-task-actions .btn { flex: 1 1 92px; }
.vt-empty { display: grid; min-height: 92px; place-items: center; padding: 18px 8px; border: 1px dashed rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.015); color: var(--text-faint); text-align: center; font-size: 12px; }
.vt-form-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.vt-picked { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 34px; margin-bottom: 8px; }
.vt-pick { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font-size: 12px; }
.vt-pick button { padding: 0; border: 0; background: transparent; color: var(--text-dim); cursor: pointer; font-size: 15px; line-height: 1; }
.vt-search { display: flex; gap: 8px; }
.vt-search input { min-width: 0; flex: 1; }
.vt-user-results { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; max-height: 210px; overflow: auto; }
.vt-user-result { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 10px; border: 1px solid var(--glass-border); border-radius: var(--r-md); background: var(--control-bg); color: var(--text); cursor: pointer; text-align: left; font: inherit; }
.vt-user-result:hover { border-color: var(--accent); background: var(--control-bg-focus); }
.vt-user-result small { color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-hint { color: var(--text-faint); font-size: 12px; }
.ops-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--text-faint); font-size: 12px; }
.ops-pagination > div { display: flex; gap: 6px; }
.ops-pagination button:disabled { cursor: not-allowed; opacity: .45; }
@media (max-width: 1050px) { .vt-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vt-board, .vt-form-grid { grid-template-columns: 1fr; } .vt-search { flex-direction: column; } .vt-search .btn { align-self: flex-start; } .vt-toolbar { padding: 9px; } .vt-toolbar .btn { flex: 1 1 140px; } .vt-column { min-height: 0; } }

/* 志愿者排班 */
.vs-toolbar { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.vs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.vs-card.card { margin: 0; padding: 14px; border-radius: var(--r-md); }
.vs-card { margin: 0; padding: 14px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-md); }
.vs-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.vs-title { color: var(--text); font-size: 14px; font-weight: 650; word-break: break-word; }
.vs-date { margin-top: 4px; color: var(--text-dim); font-size: 12px; }
.vs-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--text-faint); font-size: 11.5px; }
.vs-meta span + span { padding-left: 8px; border-left: 1px solid var(--glass-border); }
.vs-note { margin-top: 9px; color: var(--text-dim); font-size: 12px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.vs-people { display: flex; flex-direction: column; gap: 6px; margin-top: 11px; }
.vs-person { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; color: var(--text-dim); font-size: 12px; }
.vs-person > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.vs-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vs-picked { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 34px; margin-bottom: 8px; }
.vs-pick { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font-size: 12px; }
.vs-pick button { padding: 0; border: 0; background: transparent; color: var(--text-dim); cursor: pointer; font-size: 15px; line-height: 1; }
.vs-search { display: flex; gap: 8px; }
.vs-search input { min-width: 0; flex: 1; }
.vs-user-results { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; max-height: 210px; overflow: auto; }
.vs-user-result { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 10px; border: 1px solid var(--glass-border); border-radius: var(--r-md); background: var(--control-bg); color: var(--text); cursor: pointer; text-align: left; font: inherit; }
.vs-user-result:hover { border-color: var(--accent); background: var(--control-bg-focus); }
.vs-user-result small { color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-hint { color: var(--text-faint); font-size: 12px; }
@media (max-width: 1050px) { .vs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vs-grid, .vs-form-grid { grid-template-columns: 1fr; } .vs-search { flex-direction: column; } .vs-search .btn { align-self: flex-start; } }
.perm-sec { position: relative; }
.perm-add-user { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 6px; padding: 7px 0; border: 1px dashed #2D2D38; border-radius: 2px; background: transparent; color: #94DF03; font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.perm-add-user:hover { border-color: #94DF03; background: rgba(148,223,3,0.08); }
.perm-user-pick { position: absolute; left: 10px; right: 10px; bottom: 38px; z-index: 30; background: #1c1c28; border: 1px solid var(--glass-border); border-radius: 2px; padding: 8px; box-shadow: var(--shadow-float); }
.perm-user-pick[hidden] { display: none; }
.perm-user-pick input { width: 100%; background: #101022; border: 1px solid #2D2D38; border-radius: 2px; padding: 7px 9px; color: #fff; font-size: 12.5px; outline: none; margin-bottom: 6px; font-family: inherit; }
.perm-pick-list { max-height: 220px; max-height: min(34vh, 220px); max-height: min(34dvh, 220px); overflow-y: auto; }
.perm-pick-item { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; color: #fff; padding: 6px 7px; border-radius: 2px; cursor: pointer; font-family: inherit; }
.perm-pick-item:hover { background: rgba(255,255,255,0.07); }
@media (max-width: 1100px) {
  .perm-shell { grid-template-columns: 1fr; }
  .perm-side { max-height: 40vh; max-height: min(40vh, max(0px, calc(100vh - 180px))); max-height: min(40dvh, max(0px, calc(100dvh - 180px))); border-right: 0; border-bottom: 1px solid var(--glass-border); }
  .perm-nl-head, .perm-pnode { grid-template-columns: 30px minmax(0,1fr) 70px 40px 30px; }
  .perm-pn-ctx { display: none; }
}



.ops-btn { justify-content: center; }
.cmt-col { display: flex; flex-direction: column; overflow: hidden; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-lg); }
.cmt-head { padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--glass-border); }
.cmt-list { flex: 1; min-height: 120px; overflow-y: auto; padding: 12px 14px; }
.cmt-item { display: flex; gap: 10px; margin-bottom: 14px; }
.cmt-item:last-child { margin-bottom: 0; }
.cmt-item.cmt-reply-item { margin-left: 26px; padding-left: 12px; border-left: 2px solid var(--accent-soft); background: rgba(255, 255, 255, 0.02); border-radius: 0 var(--r-md) var(--r-md) 0; }
.cmt-ava { position: relative; overflow: hidden; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--control-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.cmt-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmt-main { flex: 1; min-width: 0; }
.cmt-meta { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--text-faint); }
.cmt-namerow { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cmt-name { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.cmt-to { font-size: 11px; color: var(--text-faint); }
.cmt-aton { font-size: 12px; color: var(--accent); }
.cmt-text { margin-top: 3px; font-size: 13px; color: var(--text); line-height: 1.6; word-break: break-word; white-space: pre-wrap; }
.cmt-foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 11px; color: var(--text-faint); }
.cmt-dot { color: var(--text-faint); }
.cmt-ip { color: var(--text-faint); }
.cmt-reply-btn { border: none; background: transparent; color: var(--text-faint); font-size: 11px; cursor: pointer; padding: 2px 0; font-family: inherit; }
.cmt-reply-btn:hover { color: var(--accent); }
.cmt-like { margin-left: auto; border: none; background: transparent; color: var(--text-faint); cursor: pointer; display: inline-flex; align-items: center; gap: 3px; padding: 2px; font-family: inherit; }
.cmt-like svg { width: 13px; height: 13px; fill: none; stroke: currentColor; }
.cmt-like:hover { color: var(--red); }
.cmt-like.on { color: var(--red); }
.cmt-like.on svg { fill: currentColor; stroke: currentColor; }
.cmt-like-n { font-size: 11px; }
.cmt-send { border-top: 1px solid var(--glass-border); padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.cmt-send textarea { width: 100%; min-height: 52px; resize: vertical; }
.cmt-send .btn { align-self: flex-end; }
.cmt-reply { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
@media (max-width: 1100px) {
  .app-cols { grid-template-columns: 1fr; max-width: 760px; }
  .ops-col, .cmt-col { position: static; max-height: none; }
  .form-col { order: 1; }
  .ops-col { order: 2; }
  .cmt-col { order: 3; }
  .cmt-list { max-height: 320px; max-height: min(42vh, 320px); max-height: min(42dvh, 320px); }
}
