/* 《未战先赢》沙盘 · 版面层
   复用商奕 tokens.css / style.css 的色板与玻璃拟态，只补本沙盘需要的结构。
   不含任何业务数值，宽度与断点按课堂平板（1024/768）优先。 */

:root {
    --wxy-glass: rgba(255, 255, 255, .58);
    --wxy-glass-strong: rgba(255, 255, 255, .82);
    --wxy-line: rgba(14, 116, 144, .14);
    --wxy-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
}

body {
    background: var(--aurora-bg);
    background-attachment: fixed;
    min-height: 100vh;
}

.wxy-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 20px calc(112px + var(--safe-bottom));
}

/* ---------------- 顶部 */
.wxy-head {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 8px 30px -22px rgba(30, 27, 75, .5);
}

.wxy-head-in {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.wxy-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: .3px;
    color: var(--color-text);
}

.wxy-brand i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--grad-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 18px -8px var(--glow-primary);
}

.wxy-brand small {
    font-weight: 500;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.wxy-head .spacer { flex: 1; }

.wxy-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--color-primary-light);
    color: var(--color-primary-text);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.wxy-chip.muted { background: var(--color-bg-track); color: var(--color-text-muted); }
.wxy-chip.ok { background: var(--color-success-bg); color: var(--color-success-text); }
.wxy-chip.warn { background: var(--color-warning-bg); color: var(--color-warning-text); }

/* ---------------- KPI */

.wxy-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.kpi {
    background: var(--wxy-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: var(--radius-lg);
    padding: 13px 16px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.kpi .k { font-size: 12px; color: var(--color-text-muted); display: flex; align-items: center; gap: 6px; }
.kpi .v {
    font-size: 23px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.4px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kpi .v small { font-size: 12px; font-weight: 600; color: var(--color-text-muted); margin-left: 2px; }
.kpi .s { font-size: 11.5px; color: var(--color-text-muted); }
.kpi.accent { background: linear-gradient(140deg, rgba(14, 116, 144, .14), rgba(20, 184, 166, .1)), var(--wxy-glass); }

/* ---------------- 向导步条 */
.wiz {
    display: flex;
    gap: 8px;
    padding: 4px 2px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.wiz::-webkit-scrollbar { display: none; }

.wiz-step {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 9px;
    border-radius: 999px;
    background: var(--wxy-glass);
    border: 1px solid rgba(255, 255, 255, .85);
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
    user-select: none;
}
.wiz-step:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.wiz-step .n {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--color-bg-track);
    color: var(--color-text-muted);
    font-size: 11.5px;
    font-weight: 800;
}
.wiz-step.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -14px var(--glow-primary); }
.wiz-step.active .n { background: rgba(255, 255, 255, .26); color: #fff; }
.wiz-step.done { background: var(--color-primary-light); color: var(--color-primary-text); }
.wiz-step.done .n { background: var(--color-primary); color: #fff; }

/* ---------------- 面板 */
.panel {
    background: var(--wxy-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 20px 22px;
    margin-bottom: 14px;
}

.panel > h3 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.2px;
    margin-bottom: 4px;
}

.panel .sub {
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.panel .sub b { color: var(--color-primary-text); }

/* ---------------- 列表行 */
.rowlist { display: flex; flex-direction: column; gap: 9px; }

.row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto 116px;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .66);
    border: 1px solid var(--color-border-light);
    transition: border-color .14s ease, background .14s ease;
}
.row.on { border-color: var(--color-primary-lighter); background: var(--color-primary-light); }
.row.off { opacity: .56; }

.row .code {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--grad-primary);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    font-family: var(--wxy-mono);
}

.row .meta { min-width: 0; }
.row .meta .t { font-weight: 700; font-size: 14px; line-height: 1.4; }
.row .meta .d { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.row .meta .d b { color: var(--color-text-secondary); }

.row .amt {
    font-family: var(--wxy-mono);
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
    color: var(--color-text-secondary);
}
.row.on .amt { color: var(--color-primary-text); }

/* ---------------- 步进器 */
.stepper {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}
.stepper button {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary-text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .1s ease, background .1s ease;
}
.stepper button:hover:not(:disabled) { background: var(--color-primary-light); }
.stepper button:active:not(:disabled) { transform: scale(.92); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper input {
    width: 58px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    font-family: var(--wxy-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    background: #fff;
    -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* 投标题目：名称与「查看标书卡」字号加大 */
.row .meta .t.bid-title { font-size: 16px; }
.bid-title .tender-view { font-size: 12.5px; margin-left: 8px; }


/* 未购买标书：名称不可点，提示购买后可查看 */
.tender-locked { color: var(--color-text-secondary); }
.tender-locked .tender-view { color: var(--color-text-muted); }

/* 资格审查弹窗 */
.wxy-modal.qual-modal { width: min(520px, 92vw); }
.qual-group { margin: 12px 0 0; }
.qual-cap { font-size: 11.5px; font-weight: 700; color: var(--color-text-muted); margin-bottom: 4px; }
.qual-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px dashed var(--color-border); font-size: 13px;
}
.qual-row:last-child { border-bottom: none; }
.qual-row.ok b { color: #0b7a5c; }
.qual-row.no b { color: var(--color-danger-text); }
.qual-result {
    margin-top: 14px; padding: 11px 12px; border-radius: 10px;
    font-size: 13px; font-weight: 800; display: flex; flex-direction: column; gap: 4px;
}
.qual-result.pass { background: #e2f6ef; color: #0b6b4f; }
.qual-result.fail { background: #fdecec; color: var(--color-danger-text); }
.qual-lack { font-size: 11.5px; font-weight: 600; opacity: .9; }

/* 购买标书按钮与弹窗 */
.btn-buy {
    display: inline-flex; align-items: center; justify-content: center;
    height: 32px; min-width: 92px; padding: 0 16px;
    border: 1.5px solid var(--color-primary);
    border-radius: 9px;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 12.5px; font-weight: 700;
    white-space: nowrap; cursor: pointer;
}
.btn-buy:hover { background: var(--color-primary); color: #fff; }
.btn-buy:active { transform: scale(.96); }
/* 投标行：编号 | 标题 | 金额 | 状态+操作，四列对齐 */
.row.bid-row { grid-template-columns: 46px minmax(0, 1fr) 92px 160px; }
.row.bid-row .amt { text-align: right; font-size: 13.5px; font-weight: 700; }
.row.bid-row .amt.off { color: var(--color-text-muted); font-weight: 400; }
.bid-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.bid-bought {
    display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
    border-radius: 999px; background: #dff4ef; color: #0b6b5c;
    font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.row.bid-row .bid-open,
.row.bid-row .btn-buy { min-width: 82px; }
.wxy-modal.buy-modal { width: min(520px, 92vw); }
.buy-fee { margin: 6px 0 4px; }
.buy-fee > div {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px dashed var(--color-border); font-size: 13px;
}
.buy-fee > div:last-child { border-bottom: none; }
.buy-fee .buy-total b { color: var(--color-danger-text); font-size: 15px; }

/* ---------------- 投标：行尾按钮 + 提交投标弹框 */
.bid-actions { display: flex; align-items: center; justify-content: flex-end; }
.bid-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    height: 32px;
    min-width: 72px;
    padding: 0 18px;
    border: none;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    color: #fff;
    background: var(--grad-primary);
}
.bid-open:hover { filter: brightness(1.06); }
.bid-open:active { transform: scale(.96); }
.wxy-modal.bid-modal { width: min(520px, 92vw); }
.wxy-modal.bid-modal h3 { margin-bottom: 10px; }
.bid-sub { font-size: 12.5px; color: var(--color-text-muted); margin-bottom: 16px; }
.bid-field label {
    display: block; margin-bottom: 6px;
    font-size: 12.5px; font-weight: 700; color: var(--color-text-secondary);
}
.bid-field input {
    width: 100%; height: 44px; padding: 0 12px;
    border: 1.5px solid var(--color-border); border-radius: 10px;
    background: #fff; font-family: var(--wxy-mono); font-size: 15px; font-weight: 700;
    color: var(--color-text);
}
.bid-field input:focus { outline: none; border-color: var(--color-primary); }
.bid-note { margin-top: 12px; font-size: 11.5px; line-height: 1.7; color: var(--color-text-muted); }
.wxy-modal.bid-modal .mfoot { margin-top: 20px; }

/* 推演年限旁的「规则自定义」主按钮 */
.rule-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    height: 38px; padding: 0 14px;
    border: 1.5px solid var(--color-primary);
    border-radius: 10px;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 12.5px; font-weight: 700;
    white-space: nowrap; cursor: pointer;
    transition: background .15s, color .15s;
}
.rule-btn:hover { background: var(--color-primary); color: #fff; }
.rule-btn:active { transform: scale(.97); }
.rule-state { color: var(--color-primary-text); font-weight: 700; }

/* 开标卡片 */
.tb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 10px; }
.tb-card { border: 1px solid var(--color-border-light); border-radius: 12px; padding: 10px 12px; background: #fff; }
.tb-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13.5px; margin-bottom: 6px; }
.tb-head span { font-size: 11px; font-weight: 600; color: var(--color-text-muted); }
.tb-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12.5px; border-top: 1px dashed var(--color-border); }
.tb-row:first-of-type { border-top: none; }
.tb-row b.win { color: #0b7a5c; }
.tb-reward { font-size: 11.5px; color: #0b6b4f; background: #e2f6ef; padding: 3px 8px; border-radius: 6px; margin-top: 4px; }

.tb-row b.lose { color: var(--color-danger-text); }

/* ---------------- 推演规则自定义弹框 */
.wxy-modal.rule-modal { width: min(620px, 94vw); }
.rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.rule-row { display: flex; align-items: center; gap: 8px; }
.rule-row label {
    flex: 0 0 74px;
    font-size: 12px; font-weight: 700; color: var(--color-text-secondary);
}
.rule-row select {
    flex: 1; min-width: 0; height: 34px; padding: 0 8px;
    border: 1px solid var(--color-border); border-radius: 8px;
    background: #fff; font-size: 12.5px; color: var(--color-text);
}
.rule-row select:focus { outline: none; border-color: var(--color-primary); }

/* 集团目标四档（手动展开） */
.goal-box {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--wxy-line);
    border-radius: 12px;
    background: #f8fafb;
}
.goal-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 10px;
}
.goal-title { font-size: 12.5px; font-weight: 800; color: var(--color-text); }
.goal-sub { margin-left: 8px; font-size: 11px; color: var(--color-text-muted); }
.goal-reset {
    flex: none; border: none; background: none; padding: 3px 8px;
    font-size: 11.5px; font-weight: 700; color: var(--color-primary-text);
    cursor: pointer; border-radius: 6px; transition: background .15s;
}
.goal-reset:hover { background: var(--color-primary-light); }
.goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.goal-item {
    display: flex; align-items: center; gap: 8px; min-width: 0;
    padding: 7px 9px; background: #fff;
    border: 1px solid rgba(14, 116, 144, .18); border-radius: 10px;
}
.goal-pill {
    flex: 0 0 auto; font-size: 11px; font-weight: 800;
    padding: 2px 8px; border-radius: 999px; letter-spacing: .2px;
}
.goal-pill.g1 { background: #e0f2fe; color: #0369a1; }
.goal-pill.g2 { background: #dcfce7; color: #15803d; }
.goal-pill.g3 { background: #ede9fe; color: #6d28d9; }
.goal-pill.g4 { background: #fef3c7; color: #b45309; }
.goal-input {
    display: flex; align-items: center; flex: 1; min-width: 0;
    border: 1px solid rgba(14, 116, 144, .22); border-radius: 8px;
    background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.goal-input:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(13, 148, 136, .10); }
.goal-input input {
    flex: 1; min-width: 0; height: 30px; min-height: 0; padding: 0 8px;
    border: none; outline: none; background: transparent;
    font-size: 12.5px; color: var(--color-text); font-variant-numeric: tabular-nums;
}
.goal-input input::-webkit-outer-spin-button,
.goal-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.goal-input input[type="number"] { -moz-appearance: textfield; }
.goal-input select {
    flex: none; width: 58px; height: 30px; min-height: 0; padding: 0 16px 0 6px;
    border: none; border-left: 1px solid rgba(14, 116, 144, .16);
    background-color: #f1f5f9; outline: none; cursor: pointer;
    font-size: 11.5px; font-weight: 700; color: var(--color-text);
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' fill='none' stroke='%235b6b7a' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
}
@media (max-width: 520px) {
    .goal-grid { grid-template-columns: 1fr; }
}

/* ---------------- 芯片 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    padding: 9px 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--color-border);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-secondary);
    transition: all .14s ease;
    user-select: none;
}
.chip small { display: block; font-weight: 600; font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }
.chip:hover { border-color: var(--color-primary-lighter); transform: translateY(-1px); }
.chip.on { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -14px var(--glow-primary); }
.chip.on small { color: rgba(255, 255, 255, .82); }
.chip.locked { opacity: .5; cursor: not-allowed; }

/* ---------------- 人才培养：方式大卡 */
.method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }

.mcard {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
    user-select: none;
}
.mcard:hover { transform: translateY(-2px); border-color: var(--color-primary-lighter); box-shadow: var(--shadow-sm); }
.mcard.on { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 16px 28px -18px var(--glow-primary); }
.mcard .mn { font-size: 13.5px; font-weight: 800; letter-spacing: -.1px; }
.mcard .md { font-size: 11.5px; color: var(--color-text-muted); margin-top: 4px; line-height: 1.55; }
.mcard.on .md { color: rgba(255, 255, 255, .88); }
.mcard .mtag {
    display: inline-block;
    margin-top: 7px;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--color-primary-light);
    color: var(--color-primary-text);
}
.mcard.on .mtag { background: rgba(255, 255, 255, .22); color: #fff; }
.mcard.used { opacity: .45; cursor: not-allowed; }
.mcard.used:hover { transform: none; box-shadow: none; }

/* ---------------- 人才卡片 */
.talent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }

.tcard {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 196px;
    padding: 16px 16px 14px;
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .62));
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-sm);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
/* 招聘入职「移库」进入动作：只给新入职的那一张卡加 .enter，避免整页卡片重播 */
.tcard.enter { animation: tcardIn .4s cubic-bezier(.2, .7, .3, 1); }
@keyframes tcardIn {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tcard.stamping { cursor: pointer; border-color: var(--color-primary-lighter); }
.tcard.stamping:hover { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light), var(--shadow-md); }
.tcard.pulse { animation: tcardPulse .52s ease; }
@keyframes tcardPulse { 0% { transform: scale(1) } 32% { transform: scale(1.03) } 100% { transform: scale(1) } }

.tcard .thead { display: flex; align-items: center; gap: 9px; }
.tcard .tno {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--grad-primary);
    color: #fff;
    font-family: var(--wxy-mono);
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 8px 18px -10px var(--glow-primary);
    flex: 0 0 auto;
}
.tcard .tstate {
    margin-left: auto;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--color-success-bg);
    color: var(--color-success-text);
    white-space: nowrap;
}
.tstate.new { background: #eef1f4; color: var(--color-text-muted); }

.tcard .tstate.wait { background: var(--color-warning-bg); color: var(--color-warning-text); }
.tcard .tstate.picked { background: var(--color-primary-light); color: var(--color-primary-text); }

.tcard .tname { font-size: 15px; font-weight: 800; margin-top: 12px; letter-spacing: -.2px; }
.tcard .tsub { font-size: 11.5px; color: var(--color-text-muted); margin-top: 2px; }

.tcard .tstars { display: flex; flex-wrap: wrap; gap: 1px; margin: 12px 0 7px; font-size: 19px; line-height: 1; }
.tcard .star { color: #cfc8ea; transition: color .2s ease; }
.tcard .star.on { color: #f5b301; text-shadow: 0 2px 6px rgba(245, 179, 1, .3); }
.tcard .star-more { font-size: 11px; color: var(--color-text-muted); align-self: center; margin-left: 3px; }
.tcard .star-cap { font-size: 11px; color: var(--color-text-muted); align-self: center; margin-left: 6px; }
/* 星星弹出动画只在刚盖章的那张卡（.pulse）上播放，其他卡保持静态 */
.tcard.pulse .star.gain { animation: starPop .52s cubic-bezier(.2, 1.5, .5, 1) both; }
@keyframes starPop {
    0% { transform: scale(.25); opacity: .1 }
    62% { transform: scale(1.42) }
    100% { transform: scale(1); opacity: 1 }
}

.tcard .tcount { font-family: var(--wxy-mono); font-size: 12px; color: var(--color-text-muted); }
.tcard .tpromote {
    display: inline-block; margin-top: 5px; padding: 2px 7px;
    font-size: 11px; font-weight: 700; color: #b45309;
    background: #fff4e5; border: 1px solid rgba(180, 83, 9, .18); border-radius: 7px;
}
.tcard .tcount b { font-size: 15px; color: var(--color-primary-text); }
.tcard .tgain { color: #c47d00; font-weight: 800; }

.tcard .tactions { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; }
.tcard .stampbtn {
    flex: 1;
    padding: 9px 10px;
    border-radius: 11px;
    border: 1px dashed var(--color-primary-lighter);
    background: var(--color-primary-light);
    color: var(--color-primary-text);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all .14s ease;
    font-family: inherit;
}
.tcard .stampbtn:hover:not(:disabled) { background: var(--color-primary); color: #fff; border-style: solid; }
.tcard .stampbtn:disabled { opacity: .45; cursor: not-allowed; }
.tcard .undobtn {
    padding: 9px 12px;
    border-radius: 11px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.tcard .undobtn:disabled { opacity: .35; cursor: not-allowed; }

.tcard.empty-t { border-style: dashed; background: rgba(255, 255, 255, .44); }
.tcard.empty-t .tno { background: var(--color-bg-track); color: var(--color-text-muted); box-shadow: none; }
.tcard.empty-t .tname { color: var(--color-text-secondary); }
.tcard .hirebtn {
    margin-top: auto;
    padding: 10px;
    border: 0;
    border-radius: 11px;
    background: var(--grad-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 14px 26px -16px var(--glow-primary);
}
.tcard .hirebtn:hover { filter: brightness(1.06); }

.float-gain {
    position: absolute;
    right: 16px;
    top: 14px;
    z-index: 3;
    font-family: var(--wxy-mono);
    font-size: 16px;
    font-weight: 800;
    color: #e09b00;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(245, 179, 1, .4);
    animation: floatUp 1.15s ease forwards;
}
@keyframes floatUp {
    0% { opacity: 0; transform: translateY(6px) scale(.8) }
    22% { opacity: 1; transform: translateY(0) scale(1.16) }
    100% { opacity: 0; transform: translateY(-32px) scale(1) }
}

/* ---------------- 卡片扫描图网格（事件与消息 / 复盘卡片库） */
.seg { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.seg-btn {
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: box-shadow .15s ease;
}
.seg-btn.on {
    background: var(--grad-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px -8px var(--glow-primary);
}
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cardimg-card {
    padding: 8px;
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
.cardimg {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    background: #f4f6f8;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.cardimg.small { height: 118px; cursor: zoom-in; }
.cardimg.news { height: auto; aspect-ratio: 1200 / 1740; }
.cardimg:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -12px rgba(15, 60, 90, .55); }
.cardimg-meta { margin: 8px 0 6px; font-size: 11.5px; line-height: 1.5; color: var(--color-text-secondary); }
.cardimg-meta b { color: var(--color-primary-text); }

/* ---------------- 管理台：单行紧凑表单（label 在上、一行多列，商奕式） */
.acct-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.acct-f { flex: 1 1 128px; min-width: 112px; }
.acct-f label {
    display: block;
    margin: 0 0 3px 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--color-text-secondary);
}
.acct-f input {
    width: 100%;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    font-size: 12.5px;
    font-family: inherit;
    background: #fff;
}
.acct-f input:focus { outline: none; border-color: var(--color-primary); }
.acct-row .btn-mini { height: 32px; padding: 0 16px; white-space: nowrap; font-size: 12.5px; }

/* ---------------- 管理台按钮（沿用现有按钮尺寸，仅补配色） */
.btn-green, .btn-purple, .btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    padding: 8px 14px;
    transition: filter .14s ease, transform .1s ease;
}
.btn-green { background: linear-gradient(135deg, #12b886, #0ca678); color: #fff; box-shadow: 0 12px 22px -16px rgba(12, 166, 120, .9); }
.btn-purple { background: var(--grad-primary); color: #fff; box-shadow: 0 12px 22px -16px var(--glow-primary); }
.btn-danger { background: linear-gradient(135deg, #f25f5c, #e03131); color: #fff; }
.btn-green:hover, .btn-purple:hover, .btn-danger:hover { filter: brightness(1.06); }
.btn-green:active, .btn-purple:active, .btn-danger:active { transform: scale(.97); }
.btn-green:disabled, .btn-purple:disabled, .btn-danger:disabled { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; padding: 12px; font-size: 14px; border-radius: 12px; }
.btn-mini { padding: 5px 10px; font-size: 12px; border-radius: 9px; }

/* ---------------- 账本 */
.ledger { display: flex; flex-direction: column; }
.lrow {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 9px 2px;
    border-bottom: 1px dashed var(--color-border-light);
    font-size: 13.5px;
}
.lrow:last-child { border-bottom: 0; }
.lrow .k { flex: 1; min-width: 0; color: var(--color-text-secondary); }
.lrow .k small { display: block; font-size: 11px; color: var(--color-text-muted); margin-top: 1px; }
.lrow .v {
    font-family: var(--wxy-mono);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--color-text);
}
.lrow.pos .v { color: var(--color-success-dark); }
.lrow.neg .v { color: var(--color-danger-dark); }
.lrow.strong { border-top: 2px solid var(--color-primary-lighter); margin-top: 6px; padding-top: 12px; }
.lrow.strong .k { font-weight: 800; color: var(--color-text); font-size: 15px; }
.lrow.strong .v { font-size: 19px; color: var(--color-primary-text); }

/* ---------------- 提示 */
.hint {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, .5);
    border-radius: var(--radius-md);
    padding: 10px 13px;
    margin-top: 14px;
}
.hint.warn { background: var(--color-warning-bg); color: var(--color-warning-text); }
.hint.ok { background: var(--color-success-bg); color: var(--color-success-text); }
.hint.err { background: var(--color-danger-bg); color: var(--color-danger-text); }
.hint b { font-weight: 800; }

.empty { text-align: center; padding: 34px 16px; color: var(--color-text-muted); font-size: 13px; }

/* ---------------- 底部导航 */
.wxy-foot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    padding: 12px 20px calc(12px + var(--safe-bottom));
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 -12px 34px -26px rgba(30, 27, 75, .6);
}
.wxy-foot-meta {
    max-width: 1240px; margin: 6px auto 0;
    font-size: 12px; color: var(--color-text-muted);
    display: flex; align-items: center; justify-content: center;
    text-align: center; gap: 8px;
}
.wxy-foot-meta .fest {
    padding: 1px 8px; border-radius: 999px;
    background: var(--color-primary-light);
    color: var(--color-primary-text); font-weight: 600;
}
.wxy-foot-in {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wxy-foot .pos { font-size: 12.5px; color: var(--color-text-muted); white-space: nowrap; }
.wxy-foot .spacer { flex: 1; }

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    border: 0;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 32px -18px var(--glow-primary);
    transition: transform .12s ease, opacity .12s ease;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost {
    background: rgba(255, 255, 255, .8);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.btn-ghost:disabled { opacity: .4; cursor: not-allowed; }
.btn-ghost:hover:not(:disabled) { background: #fff; }

/* ---------------- toast（玻璃浮条：状态圆点 + 进度光带） */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(92px + var(--safe-bottom));
    transform: translate(-50%, 14px) scale(.98);
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(135deg, rgba(15, 60, 72, .96), rgba(13, 84, 96, .94));
    box-shadow: 0 18px 44px -20px rgba(6, 40, 50, .85), inset 0 1px 0 rgba(255, 255, 255, .1);
    color: #f3fbfb;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .2px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
    max-width: min(86vw, 620px);
    text-align: left;
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.toast::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7fe7d8;
    box-shadow: 0 0 10px 1px rgba(127, 231, 216, .9);
}
.toast::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, #5eead4, #22d3ee);
    transform: scaleX(0);
    transform-origin: left center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast.show::after { animation: toastBar 3.4s linear forwards; }
.toast.err { background: linear-gradient(135deg, rgba(120, 26, 34, .97), rgba(150, 38, 46, .95)); }
.toast.err::before { background: #ffb4b4; box-shadow: 0 0 10px 1px rgba(255, 150, 150, .9); }
.toast.err::after { background: linear-gradient(90deg, #fca5a5, #f87171); }
.toast.ok { background: linear-gradient(135deg, rgba(6, 78, 59, .97), rgba(9, 96, 71, .95)); }
.toast.ok::before { background: #86efac; box-shadow: 0 0 10px 1px rgba(134, 239, 172, .9); }
.toast.ok::after { background: linear-gradient(90deg, #86efac, #34d399); }
@keyframes toastBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------------- 页内对话框（不依赖浏览器原生 confirm/alert）
   结构：.wxy-mask > .wxy-modal > h3(标题) / .mbody(内容) / .mfoot(按钮)
   视觉：玻璃卡 + 顶部渐变光带 + 标题竖条 + 底部分隔按钮区 */
.wxy-mask {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(13, 148, 136, .16), transparent 60%),
        rgba(12, 34, 42, .56);
    backdrop-filter: blur(7px) saturate(120%);
    -webkit-backdrop-filter: blur(7px) saturate(120%);
    animation: wxyFade .18s ease;
}
@keyframes wxyFade { from { opacity: 0 } to { opacity: 1 } }

.wxy-modal {
    position: relative;
    width: min(640px, 100%);
    max-height: 87vh;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 26px 28px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .95);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(246, 252, 251, .96) 100%);
    box-shadow:
        0 40px 90px -40px rgba(6, 42, 52, .7),
        inset 0 2px 0 rgba(255, 255, 255, .9),
        0 0 0 1px rgba(13, 148, 136, .06);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    animation: wxyPop .24s cubic-bezier(.2, .85, .25, 1);
}
.wxy-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, #0f6f8c 0%, #0d9488 45%, #14b8a6 70%, #22d3ee 100%);
    box-shadow: 0 0 18px rgba(20, 184, 166, .55);
}
@keyframes wxyPop {
    from { transform: translateY(18px) scale(.965); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.wxy-modal h3 {
    position: relative;
    margin: 0 0 16px;
    padding: 0 0 13px 14px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.2px;
    line-height: 1.4;
    color: #0c2a31;
    border-bottom: 1px solid rgba(14, 116, 144, .12);
}
.wxy-modal h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 16px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #0d9488, #22d3ee);
    box-shadow: 0 0 12px rgba(13, 148, 136, .55);
}
.wxy-modal .mbody {
    font-size: 14px;
    line-height: 1.85;
    color: var(--color-text-secondary);
    word-break: break-word;
}
.wxy-modal .mbody > :first-child { margin-top: 0; }
.wxy-modal .mbody > :last-child { margin-bottom: 0; }
.wxy-modal .mbody p { margin: 0 0 10px; }
.wxy-modal .mbody b { color: var(--color-primary-text); font-weight: 800; }
.wxy-modal .mbody .tb { width: 100%; border-radius: 12px; overflow: hidden; }
.wxy-modal .mbody .tb th {
    background: rgba(13, 148, 136, .08);
    color: #0d5f63;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .2px;
}
.wxy-modal .mbody .tb td { font-size: 13px; }
.wxy-modal .mbody .tb tr:last-child td { border-bottom: none; }
.wxy-modal .mfoot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(14, 116, 144, .12);
}
.wxy-modal .mfoot .btn-ghost,
.wxy-modal .mfoot .btn-primary {
    min-width: 92px;
    height: 42px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 12px;
}
.wxy-modal .mfoot .btn-primary { box-shadow: 0 12px 26px -12px var(--glow-primary); }
.wxy-modal .mfoot .btn-primary:hover { filter: brightness(1.05); }
.wxy-modal .mfoot .btn-ghost {
    background: rgba(255, 255, 255, .85);
    border: 1.5px solid rgba(14, 116, 144, .22);
    color: var(--color-text-secondary);
}
.wxy-modal .mfoot .btn-ghost:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary-text);
}
.wxy-modal::-webkit-scrollbar { width: 8px; }
.wxy-modal::-webkit-scrollbar-thumb { background: rgba(13, 148, 136, .28); border-radius: 8px; }

/* ---------------- 登录页 */
.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.login-card {
    width: min(440px, 100%);
    background: var(--wxy-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-lg);
    padding: 32px 30px;
}
.login-card h1 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.login-card .lead { font-size: 13px; color: var(--color-text-muted); margin: 6px 0 22px; line-height: 1.7; }
.login-card label { display: block; font-size: 12.5px; font-weight: 700; color: var(--color-text-secondary); margin: 14px 0 6px; }
.login-card input, .login-card select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: 15px;
    font-family: var(--wxy-mono);
    letter-spacing: 1px;
    outline: none;
}
.login-card input:focus, .login-card select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }
.login-card .btn-primary {
    display: block;
    width: 320px;
    max-width: 100%;
    margin: 22px auto 0;
    min-height: 48px;
    font-size: 15.5px;
    letter-spacing: .5px;
}

/* 登录页 / 首页入口按钮：统一 320×48，居中，不再整卡撑满 */
.login-card .entry-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 320px;
    max-width: 100%;
    min-height: 48px;
    margin: 0 auto;
    padding: 12px 18px;
    line-height: 1.3;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
}
.login-card .err { color: var(--color-danger-text); font-size: 12.5px; font-weight: 700; margin-top: 12px; min-height: 18px; }
.login-card .alt { margin-top: 18px; font-size: 12.5px; color: var(--color-text-muted); text-align: center; }
.login-card .alt a { color: var(--color-primary-text); font-weight: 700; text-decoration: none; }

/* ---------------- 表格 */
.tb { width: 100%; border-collapse: collapse; font-size: 13px; }
.tb th { text-align: left; font-size: 12px; color: var(--color-text-muted); font-weight: 700; padding: 9px 10px; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.tb td { padding: 10px; border-bottom: 1px solid var(--color-border-light); }
.tb tr:last-child td { border-bottom: 0; }
.tb .n { text-align: right; font-family: var(--wxy-mono); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------------- 讲师端 */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.gcard {
    background: var(--wxy-glass);
    border: 1px solid rgba(255, 255, 255, .84);
    border-radius: var(--radius-lg);
    padding: 15px 17px;
    box-shadow: var(--shadow-sm);
}
.gcard.ready { border-color: rgba(16, 185, 129, .4); }
.gcard.missing { border-color: rgba(245, 158, 11, .34); }
.gcard .head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.gcard .money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.gcard .money div { min-width: 0; overflow: hidden; background: rgba(255, 255, 255, .62); border-radius: 10px; padding: 7px 9px; }
.gcard .money span { display: block; font-size: 11px; color: var(--color-text-muted); }
.gcard .money b {
    display: block; font-family: var(--wxy-mono); font-size: 14px;
    font-variant-numeric: tabular-nums; letter-spacing: -.2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gcard .dec { font-size: 12px; color: var(--color-text-secondary); line-height: 1.65; }
.gcard .dec em { color: var(--color-text-muted); }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.pill.done { background: var(--color-success-bg); color: var(--color-success-text); }
.pill.wait { background: var(--color-warning-bg); color: var(--color-warning-text); }
.pill.idle { background: var(--color-bg-track); color: var(--color-text-muted); }

.trainer-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(14, 116, 144, .12), rgba(20, 184, 166, .08)), var(--wxy-glass);
    border: 1px solid rgba(255, 255, 255, .84);
    border-radius: var(--radius-xl);
    padding: 18px 22px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}
.trainer-hero .big { font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.trainer-hero .big small { font-size: 13px; font-weight: 700; color: var(--color-text-muted); margin-left: 6px; }
.trainer-hero .sub { font-size: 12.5px; color: var(--color-text-muted); margin-top: 3px; }

.tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tab {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    border: 1px solid var(--color-border-light);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-secondary);
    cursor: pointer;
}
.tab.on { background: var(--grad-primary); color: #fff; border-color: transparent; }

.side-note { font-size: 12px; color: var(--color-text-muted); line-height: 1.7; }
.side-note b { color: var(--color-text-secondary); }

/* ---------------- 打印（助教回收表单用） */
@media print {
    .wxy-head, .wxy-foot, .wix, .wiz { display: none !important; }
    body { background: #fff; }
    .panel { box-shadow: none; border: 1px solid #ddd; }
}

/* ---------------- 平板 / 手机 */
@media (max-width: 1024px) {
    .wxy-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .wxy-shell { padding: 12px 12px calc(120px + var(--safe-bottom)); }
    .wxy-head-in { padding: 8px 12px; gap: 8px; }
    .wxy-brand { font-size: 15px; }
    .wxy-brand small { display: none; }
    .wxy-kpis { gap: 8px; }
    .kpi { padding: 10px 12px; }
    .kpi .v { font-size: 19px; }
    .panel { padding: 16px 14px; border-radius: var(--radius-lg); }
    .row { grid-template-columns: 38px minmax(0, 1fr) auto; grid-template-areas: "code meta amt" "step step step"; row-gap: 9px; padding: 11px 12px; }
    .row .code { grid-area: code; width: 34px; height: 34px; font-size: 13px; }
    .row .meta { grid-area: meta; }
    .row .amt { grid-area: amt; font-size: 13px; }
    .row .stepper { grid-area: step; justify-content: flex-end; }
    /* 投标行：移动端把「已购买 + 投标」放到第二行右侧，避免 160px 固定操作列把按钮挤出卡片 */
    .row.bid-row {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        grid-template-areas: "code meta amt" "acts acts acts";
        row-gap: 9px;
    }
    .row.bid-row .code { grid-area: code; }
    .row.bid-row .meta { grid-area: meta; }
    .row.bid-row .amt { grid-area: amt; text-align: right; }
    .row.bid-row .bid-actions {
        grid-area: acts;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 8px;
    }
    .row.bid-row .bid-open,
    .row.bid-row .btn-buy { min-width: 76px; padding: 0 14px; }
    .wxy-foot { padding: 10px 12px calc(10px + var(--safe-bottom)); }
    .wxy-foot .pos { display: none; }
    .wxy-foot-meta { font-size: 11.5px; margin: 4px auto 0; gap: 6px; }
    .btn-primary { padding: 12px 18px; font-size: 14px; }
    .gcard .money { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trainer-hero { padding: 14px 16px; gap: 12px; }
    .trainer-hero .big { font-size: 24px; }
    .talent-grid { grid-template-columns: 1fr; gap: 10px; }
    .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .tcard { min-height: 0; padding: 14px; }
    .mcard { padding: 11px 12px; }
    .mcard .mn { font-size: 12.5px; }
}

/* ---------------- 首页（营销页，独立于登录卡） */
.home-body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    background:
        radial-gradient(1080px 520px at 10% -10%, rgba(14, 116, 144, .22), transparent 62%),
        radial-gradient(880px 460px at 92% -4%, rgba(6, 182, 212, .16), transparent 58%),
        radial-gradient(900px 520px at -8% 104%, rgba(236, 72, 153, .12), transparent 62%),
        var(--aurora-bg);
    background-attachment: fixed;
}
.home-wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

.home-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .82);
    box-shadow: 0 10px 30px -26px rgba(30, 27, 75, .45);
}
.home-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.home-brand small { display: block; font-size: 10.5px; letter-spacing: 2px; color: var(--color-text-muted); font-weight: 700; }
.home-clock { text-align: right; line-height: 1.5; }
.home-clock span { display: block; }
.home-clock .hc-date {
    font-size: 13px;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    letter-spacing: .3px;
}
.home-clock .hc-lunar { font-size: 11.5px; color: var(--color-text-muted); }
.home-clock .hc-lunar b { color: var(--color-primary-text); font-weight: 800; }

.home-hero { padding: 56px 0 10px; text-align: center; }
.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(14, 116, 144, .22);
    background: rgba(255, 255, 255, .66);
    color: var(--color-primary-text);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}
.home-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #0d9488; box-shadow: 0 0 10px rgba(13, 148, 136, .7); }
.home-hero h1 {
    margin: 20px 0 16px;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.16;
    letter-spacing: -.8px;
    font-weight: 900;
}
.home-hero h1 .g {
    background: linear-gradient(100deg, #0f6f8c 4%, #0d9488 48%, #14b8a6 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.home-lead {
    max-width: 560px;
    margin: 0 auto;
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--color-text-secondary);
}
.home-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 42px 0 0;
}
.home-stat {
    padding: 16px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .92);
    background: var(--wxy-glass-strong);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.home-stat b {
    display: block;
    font-family: var(--wxy-mono);
    font-size: 26px;
    letter-spacing: -.5px;
    background: linear-gradient(120deg, #0f6f8c, #0d9488 55%, #14b8a6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.home-stat span { display: block; margin-top: 4px; font-size: 12px; color: var(--color-text-muted); letter-spacing: .4px; }

.home-entries {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 46px 0 0;
}
.home-card {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 18px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, .92);
    background: var(--wxy-glass-strong);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(13, 148, 136, .24); }
.home-ic {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--color-primary-light);
    color: var(--color-primary-text);
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 14px;
}
.home-card h3 { margin: 0 0 8px; font-size: 16.5px; letter-spacing: .2px; }
.home-card p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--color-text-secondary); flex: 1; }
.home-go { margin-top: 14px; font-size: 12.5px; font-weight: 800; color: var(--color-primary-text); }

.home-flow {
    margin: 46px 0 0;
    padding: 26px 26px 22px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, .92);
    background: var(--wxy-glass-strong);
    box-shadow: var(--shadow-sm);
}
.home-flow-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.home-flow-head b { font-size: 15px; }
.home-flow-head span { font-size: 12px; color: var(--color-text-muted); }
.home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.home-step { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .62); border: 1px solid var(--color-border-light); }
.home-step b { font-family: var(--wxy-mono); font-size: 13px; color: var(--color-primary-text); letter-spacing: 1px; }
.home-step h4 { margin: 0 0 4px; font-size: 13.5px; }
.home-step p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--color-text-muted); }

.home-foot {
    max-width: 1120px;
    margin: 40px auto 0;
    padding: 22px 22px 42px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    justify-content: center;
    border-top: 1px solid rgba(14, 116, 144, .14);
    font-size: 12px;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .home-stats { grid-template-columns: repeat(2, 1fr); }
    .home-entries { grid-template-columns: 1fr; }
    .home-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .home-hero { padding-top: 34px; }
    .home-hero h1 { font-size: 32px; }
    .home-lead { font-size: 14px; }
    .home-nav-in { height: auto; padding: 10px 0; flex-wrap: wrap; row-gap: 2px; }
    .home-clock { text-align: left; }
    .home-clock .hc-date { font-size: 12px; }
    .home-clock .hc-lunar { font-size: 11px; }
    .home-btn { width: 100%; }
    .home-cta { flex-direction: column; }
    .home-wrap { padding: 0 16px; }
}

/* ---------------- 标书卡片（投标页点击标书名称弹出） */
.tender-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed var(--color-primary);
    cursor: pointer;
}
.tender-link:hover { color: var(--color-primary-text); }
.tender-view { margin-left: 8px; font-size: 11px; font-weight: 400; color: var(--color-primary-text); }
.tender-modal { width: min(580px, 92vw); max-height: 86vh; overflow: auto; }
.tender-card {
    border: 2px solid #b6d9d4;
    border-radius: 12px;
    background: linear-gradient(160deg, #ffffff 0%, #f4faf8 100%);
    box-shadow: 0 10px 28px -20px rgba(15, 80, 100, .55);
    overflow: hidden;
}
.tc-head {
    display: flex; align-items: center; gap: 14px;
    padding: 15px 18px;
    /* 深青底 + 白字，确保标题与底色对比清晰 */
    background: #0b5568;
    color: #fff;
}
.tc-year { font-size: 26px; font-weight: 800; letter-spacing: -1px; line-height: 1; color: #9fe8dc; }
.tc-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wxy-modal .mbody .tc-title b { font-size: 17px; font-weight: 800; color: #ffffff; line-height: 1.35; }
.wxy-modal .mbody .tc-title span { font-size: 11.5px; color: #cfeee7; opacity: 1; }
.tc-body { padding: 14px 18px 10px; }
.tc-row {
    display: flex; gap: 10px; align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed #d8e7e4;
    font-size: 12.5px;
}
.tc-k { flex: 0 0 88px; color: var(--color-text-muted); font-weight: 700; }
.tc-v { flex: 1; color: var(--color-text); line-height: 1.6; word-break: break-word; }
.tc-price .tc-v { color: var(--color-primary-dark); font-weight: 800; font-size: 14px; }
.tc-gain .tc-v { color: #0b7a5c; font-weight: 700; }
.tc-priority {
    margin-top: 10px; padding: 8px 10px; border-radius: 8px;
    background: #fff5e2; color: #8a5a12; font-size: 12px; font-weight: 700;
}
.tc-retain {
    display: inline-block; margin-top: 10px; padding: 3px 9px;
    border-radius: 20px; background: var(--color-primary-light);
    color: var(--color-primary-dark); font-size: 11px; font-weight: 700;
}
.tc-warn { margin-top: 10px; font-size: 11.5px; color: var(--color-danger-text); }
.tc-sign {
    margin-top: 12px; padding-top: 10px;
    border-top: 1px solid #cfe2df;
    font-size: 12px; color: var(--color-text-secondary); letter-spacing: .3px;
}
.tc-foot {
    padding: 8px 18px; background: #eef7f5;
    font-size: 11px; color: var(--color-text-muted); text-align: right;
}

/* ---------------- 未战先赢品牌色（与商奕紫罗兰系区分）
   本文件在 style.css（商奕 tokens）之后加载，此处覆盖变量即可全局生效。 */
:root {
    --color-primary: #0e7490;
    --color-primary-dark: #155e63;
    --color-primary-light: #d7f0ee;
    --grad-primary: linear-gradient(120deg, #0f6f8c 0%, #0d9488 55%, #14b8a6 100%);
    --glow-primary: rgba(13, 148, 136, .35);
    --aurora-bg:
        radial-gradient(1100px 560px at 12% -8%, rgba(14, 116, 144, .20), transparent 60%),
        radial-gradient(900px 480px at 88% 0%, rgba(20, 184, 166, .16), transparent 55%),
        radial-gradient(1000px 620px at -10% 90%, rgba(59, 130, 246, .10), transparent 60%),
        radial-gradient(820px 440px at 110% 105%, rgba(16, 185, 129, .12), transparent 55%),
        #eef4f6;
}

/* 事件 / 赋图提示条：未读时高亮，确保学员一定看得到 */
.notice-bar {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-base, #fff);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.notice-bar.fresh {
  background: var(--color-warning-bg);
  border-color: rgba(217, 119, 6, .35);
  color: var(--color-warning-text);
}
.notice-bar .pill { flex: none; }

/* 导师端小组卡片：单位名称输入框 */
.gcard .gcard-unit {
  border: 1px dashed rgba(99, 102, 241, .45);
  border-radius: 8px; padding: 3px 8px; font-size: 12.5px; font-weight: 700;
  color: var(--color-text); background: rgba(99, 102, 241, .06); width: 150px;
}
.gcard .gcard-unit:focus { outline: none; border-color: #6366f1; background: #fff; }

/* 顶部课程码复制按钮 */
.wxy-chip.copy-chip {
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.wxy-chip.copy-chip:hover { background: rgba(99, 102, 241, .35); color: #fff; }

/* 课程码旁的复制图标 */
.tb .code-copy {
  display: inline-flex; align-items: center; margin-left: 6px;
  color: var(--color-primary-text); opacity: .7; text-decoration: none;
}
.tb .code-copy:hover { opacity: 1; }
/* 投标页 · 本年中标卡片 */
.bid-win-wrap { margin-bottom: 16px; }
.bw-title {
  font-size: 13px; font-weight: 800; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.bw-title::before {
  content: ""; width: 4px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, #22c55e, #0ea5e9);
}
.bw-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px;
}
.bid-win {
  border: 1px solid rgba(34, 197, 94, .35); border-radius: 14px; padding: 12px 14px;
  background: linear-gradient(155deg, rgba(34, 197, 94, .12), rgba(14, 165, 233, .06));
}
.bw-top { display: flex; align-items: center; justify-content: space-between; }
.bw-code { font-size: 11.5px; letter-spacing: .4px; color: var(--color-text-muted); font-weight: 700; }
.bw-tag {
  font-size: 11px; font-weight: 800; color: #15803d; background: rgba(34, 197, 94, .16);
  border: 1px solid rgba(34, 197, 94, .38); border-radius: 999px; padding: 1px 8px;
}
.bw-name { font-size: 15px; font-weight: 800; margin: 6px 0 4px; }
.bw-money { font-size: 12.5px; color: var(--color-text-muted); }
.bw-money b { font-size: 17px; color: var(--color-text); margin-left: 2px; }
.bw-reward { font-size: 12px; color: var(--color-text-muted); line-height: 1.55; margin-top: 5px; }
.bw-others { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.bw-other {
  font-size: 11.5px; color: var(--color-text-muted);
  background: rgba(15, 23, 42, .05); border-radius: 999px; padding: 2px 9px;
}
/* 合成迭代产品：进度条与悬停提示（信息卡 30% → 图纸 80% → 人才 100%） */
.iter-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin-top: 10px;
}
.iter-card {
  border: 1px solid var(--wxy-line); border-radius: 12px;
  padding: 10px 12px 12px; background: #fff;
}
.iter-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.iter-pct { font-weight: 700; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.iter-pct.near { color: var(--color-primary, #0e7490); }
.iter-pct.ok { color: #0b7a5c; }
.iter-bar {
  height: 6px; border-radius: 999px; background: #eef1f4;
  margin: 8px 0 6px; overflow: hidden;
}
.iter-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #0e7490, #14b8a6);
  transition: width .3s ease;
}
.iter-tip {
  font-size: 11px; line-height: 1.5; color: var(--color-text-muted);
  margin-bottom: 8px; min-height: 2.6em;
}
.iter-card .btn-mini { width: 100%; }
@media (max-width: 480px) {
  .iter-grid { grid-template-columns: 1fr 1fr; }
  .iter-tip { min-height: 0; }
}
/* 财务详情：每年一张，沿用系统卡片语言（圆角、细线、主题色） */
.fin-card {
  border: 1px solid var(--wxy-line);
  border-radius: 14px;
  background: #fff;
  margin-top: 12px;
  overflow: hidden;
}
.fin-card > summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 14px; cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, #f8fbfc, #fff);
  border-bottom: 1px solid var(--wxy-line);
  font-weight: 700; font-size: 13.5px;
}
.fin-card > summary::-webkit-details-marker { display: none; }
.fin-card > summary::after {
  content: "收起"; font-size: 11px; font-weight: 500;
  color: var(--color-text-muted); flex-shrink: 0;
}
.fin-card:not([open]) > summary::after { content: "展开"; }
.fin-card .fin-grid { display: grid; grid-template-columns: 1fr 1fr; }
.fin-card .fin-sec { padding: 12px 14px; }
.fin-card .fin-sec + .fin-sec { border-left: 1px solid var(--wxy-line); }
.fin-card .fin-sec h4 {
  margin: 0 0 8px; font-size: 11px; letter-spacing: .1em;
  color: var(--color-text-muted); font-weight: 700;
}
.fin-card .fin-row {
  padding: 7px 0; border-bottom: 1px dashed var(--wxy-line);
}
.fin-card .fin-row:last-child { border-bottom: 0; }
.fin-card .fin-row .k {
  display: block; font-size: 11px; letter-spacing: .04em;
  color: var(--color-text-muted); margin-bottom: 2px;
}
.fin-card .fin-row .v {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--color-text); line-height: 1.55; word-break: break-word;
}
.fin-card .fin-row.hl .v { font-size: 15px; font-weight: 700; color: #0e7490; }
.fin-card .fin-ev { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 3px; font-size: 11.5px; }
.fin-card .fin-ev .fin-note { color: var(--color-text-muted); font-size: 10.5px; }
.fin-card .fin-pos { color: #0b7a5c; }
.fin-card .fin-neg { color: var(--color-danger-text); }
.fin-card .fin-foot {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--wxy-line); background: #f8fafc;
}
.fin-card .fin-foot div {
  padding: 8px 12px; border-right: 1px solid var(--wxy-line);
  font-size: 11px; color: var(--color-text-muted);
}
.fin-card .fin-foot div:last-child { border-right: 0; }
.fin-card .fin-foot b { display: block; margin-top: 2px; font-size: 13px; color: var(--color-text); }
@media (max-width: 768px) {
  .fin-card .fin-foot { grid-template-columns: repeat(2, 1fr); }
  .fin-card .fin-foot div:nth-child(2n) { border-right: 0; }
  .fin-card .fin-foot div:nth-child(-n+2) { border-bottom: 1px solid var(--wxy-line); }
}
@media (max-width: 768px) {
  .fin-card .fin-grid { grid-template-columns: 1fr; }
  .fin-card .fin-sec + .fin-sec { border-left: 0; border-top: 1px solid var(--wxy-line); }
}
/* ---------------- 学员端经营概况：状态 / 指标 / 待办 / 环境 / 资料折叠 */
.ov-hero { display: grid; gap: 12px; }
.ov-hero-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ov-year { font-size: 16px; font-weight: 800; color: var(--color-text); }
.ov-year span { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--color-text-muted); }
.ov-state { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.ov-state.ok { background: var(--color-success-bg); color: var(--color-success-text); }
.ov-state.wait { background: #fff4e5; color: #b45309; border: 1px solid rgba(180, 83, 9, .22); }
.ov-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ov-kpi {
  min-width: 0; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .66); border: 1px solid var(--color-border-light);
}
.ov-kpi .k { font-size: 11px; color: var(--color-text-muted); }
.ov-kpi .v {
  margin-top: 3px; font-family: var(--wxy-mono); font-size: 16px; font-weight: 800;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ov-kpi .s { margin-top: 3px; font-size: 10.5px; color: var(--color-text-muted); }
.ov-todo {
  position: relative; height: 34px; margin-top: 14px; overflow: hidden;
  border-radius: 9px; background: #f8fafb;
  border: 1px solid var(--color-border-light);
  border-left: 3px solid var(--color-primary);
}
.ov-tip {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding: 0 14px; font-size: 12.5px; line-height: 1.5;
  color: var(--color-text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(100%);
  transition: opacity .32s ease, transform .32s ease;
}
.ov-tip::before {
  content: "●"; color: var(--color-primary); font-size: 8px;
  margin-right: 9px; flex: none;
}
.ov-tip.on { opacity: 1; transform: translateY(0); }
.ov-tip.out { opacity: 0; transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .ov-tip { transition: none; }
}
.ov-env { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.ov-env > div { min-width: 0; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .6); }
.ov-env span { display: block; font-size: 10.5px; color: var(--color-text-muted); }
.ov-env b { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; line-height: 1.45; }


.ov-fold {
  margin-top: 12px; border: 1px solid var(--color-border-light); border-radius: 12px;
  background: rgba(255, 255, 255, .55); overflow: hidden;
}
.ov-fold > summary {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  cursor: pointer; font-size: 12.5px; list-style: none;
}
.ov-fold > summary::-webkit-details-marker { display: none; }
.ov-fold > summary:hover { background: rgba(13, 148, 136, .05); }
.ov-fold > summary b { font-weight: 800; color: var(--color-text); }
.ov-fold > summary span { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--color-text-muted); }
.ov-fold > summary::after {
  content: "›"; flex: none; margin-left: 8px; font-size: 16px; line-height: 1;
  color: var(--color-text-muted); transform: rotate(90deg); transition: transform .15s;
}
.ov-fold[open] > summary::after { transform: rotate(-90deg); }
.ov-fold-body { padding: 0 12px 12px; }
.ov-fold-body .tb { margin-top: 2px; }
@media (max-width: 720px) {
  .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-env { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}
/* 历史舆情：历年文字卡片（不加载扫描图） */
.nh-year {
  margin: 14px 0 8px; font-size: 12px; font-weight: 800;
  color: var(--color-text-muted); letter-spacing: .06em;
}
.nh-card {
  border: 1px solid var(--color-border-light); border-radius: 12px;
  background: #fff; padding: 10px 12px; margin-bottom: 8px;
}
.nh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nh-head b { font-size: 13px; }
.nh-head span { font-size: 11px; color: var(--color-text-muted); }
.nh-body { font-size: 12.5px; line-height: 1.65; margin-top: 6px; }
.nh-req {
  font-size: 11.5px; margin-top: 6px; padding: 6px 8px; border-radius: 8px;
  background: rgba(13, 148, 136, .07); color: #0d5f63;
}
/* 学员端「集团调配」折叠块 */
.hub2-news {
  border: 1px solid rgba(13, 148, 136, .18); background: rgba(13, 148, 136, .06);
  border-radius: 10px; padding: 8px 12px; margin: 4px 0 10px;
  font-size: 12px; color: #0d5f63;
}
.hub2-news b { display: block; margin-bottom: 4px; }
.hub2-sub { margin: 12px 0 6px; font-size: 12px; font-weight: 800; color: var(--color-text-muted); }
