/* ============================================================
 * campus-recruit-timeline-calc.css —— 秋招网申时间轴与截止倒推计算器
 * 视觉主题：秋招罗盘（夜航靛蓝 + 灯光橙 + 简历纸白 + 青柠）
 * ============================================================ */

.neo.crt {
    --crt-navy: #0e2246;
    --crt-navy-2: #16345f;
    --crt-lamp: #ff8a3d;
    --crt-lime: #8fd14f;
    --crt-paper: #f8f6f1;
    --crt-paper-2: #fffefb;
    --crt-ink: #1b2942;
    --crt-ink-soft: #52637d;
    --crt-ink-faint: #8b9ab1;
    --crt-line: rgba(22, 52, 95, 0.16);

    --neo-accent: #ff8a3d;
    --neo-accent-2: #8fd14f;
    --neo-grad: linear-gradient(135deg, #0b1c3a 0%, #16345f 52%, #2b5a8c 100%);
    --neo-bg: #eef1f6;
    --neo-surface: rgba(255, 254, 251, 0.94);
    --neo-surface-solid: #fffefb;
    --neo-card-bd: rgba(22, 52, 95, 0.14);
    --neo-text: #1b2942;
    --neo-text-soft: #52637d;
    --neo-text-faint: #8b9ab1;
    --neo-shadow: 0 12px 28px -16px rgba(11, 28, 58, 0.35);
    --neo-shadow-lg: 0 26px 56px -26px rgba(11, 28, 58, 0.45);
}

[data-theme="dark"] .neo.crt {
    --crt-navy: #0a1526;
    --crt-navy-2: #12233d;
    --crt-lamp: #ffa163;
    --crt-lime: #a9e56a;
    --crt-paper: #151d2b;
    --crt-paper-2: #1a2333;
    --crt-ink: #e8eef7;
    --crt-ink-soft: #a9b8cd;
    --crt-ink-faint: #6f8098;
    --crt-line: rgba(255, 161, 99, 0.18);

    --neo-bg: #0b111b;
    --neo-surface: rgba(26, 35, 51, 0.9);
    --neo-surface-solid: #151d2b;
    --neo-card-bd: rgba(255, 161, 99, 0.16);
    --neo-text: #e8eef7;
    --neo-text-soft: #a9b8cd;
    --neo-text-faint: #6f8098;
    --neo-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.7);
    --neo-shadow-lg: 0 28px 60px -26px rgba(0, 0, 0, 0.8);
}

/* ---------- 首屏 ---------- */
.neo.crt .crt-hero {
    background:
        radial-gradient(circle at 84% 30%, rgba(255, 138, 61, .38), transparent 38%),
        radial-gradient(circle at 12% 110%, rgba(143, 209, 79, .22), transparent 45%),
        linear-gradient(135deg, #0b1c3a 0%, #16345f 55%, #275a8f 100%);
    padding: 30px 32px 26px;
}
.neo.crt .crt-hero h1 { font-size: 26px; font-style: normal; letter-spacing: .5px; }
.neo.crt .crt-hero p { max-width: 760px; font-size: 14.5px; line-height: 1.85; }
.neo.crt .crt-hero b { color: #ffd9ab; }
.neo.crt .crt-hero-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.neo.crt .crt-compass {
    position: absolute; right: 20px; top: 16px; width: 148px; height: 148px; z-index: 2; opacity: .92;
}
.neo.crt .crt-compass circle, .neo.crt .crt-compass line, .neo.crt .crt-compass path { vector-effect: non-scaling-stroke; }
.neo.crt .crt-kpis { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 14px; position: relative; z-index: 2; }
.neo.crt .crt-kpis div { font-size: 12px; color: rgba(255, 255, 255, .8); }
.neo.crt .crt-kpis b {
    display: block; font-size: 21px; color: #fff; font-family: Georgia, "Songti SC", serif;
}

/* ---------- 布局 ---------- */
.neo.crt .crt-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.neo.crt .crt-col { min-width: 0; }

/* ---------- 批次磁贴 ---------- */
.neo.crt .crt-tiles { display: grid; gap: 8px; }
.neo.crt .crt-tile {
    text-align: left; cursor: pointer; font-family: inherit;
    border: 1.5px solid var(--crt-line);
    background: var(--crt-paper-2);
    border-radius: 12px; padding: 10px 12px;
    transition: transform .16s, border-color .16s, box-shadow .16s;
    position: relative; overflow: hidden;
}
.neo.crt .crt-tile::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--crt-line);
}
.neo.crt .crt-tile.c-blue::before { background: #3d7dd6; }
.neo.crt .crt-tile.c-gold::before { background: #d9a441; }
.neo.crt .crt-tile.c-teal::before { background: #2fa8a0; }
.neo.crt .crt-tile.c-rose::before { background: #e0668c; }
.neo.crt .crt-tile.c-violet::before { background: #8b7ae0; }
.neo.crt .crt-tile.c-green::before { background: #6fb63c; }
.neo.crt .crt-tile b { display: block; font-size: 14.5px; color: var(--crt-ink); }
.neo.crt .crt-tile small { display: block; font-size: 11.5px; color: var(--crt-ink-faint); margin-top: 3px; }
.neo.crt .crt-tile:hover { transform: translateX(3px); }
.neo.crt .crt-tile.on {
    border-color: var(--crt-lamp);
    box-shadow: 0 12px 24px -16px rgba(255, 138, 61, .9);
    background: color-mix(in srgb, var(--crt-lamp) 9%, var(--crt-paper-2));
}

/* ---------- 甘特 ---------- */
.neo.crt .crt-gantt { position: relative; padding-top: 22px; }
.neo.crt .crt-axis { position: relative; height: 18px; margin: 0 0 6px 92px; }
.neo.crt .crt-tick {
    position: absolute; top: 0; transform: translateX(-50%);
    font-size: 11px; color: var(--crt-ink-faint); white-space: nowrap;
}
.neo.crt .crt-grow { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.neo.crt .crt-grow-k { width: 82px; flex: none; font-size: 12.5px; color: var(--crt-ink-soft); text-align: right; }
.neo.crt .crt-grow-t {
    position: relative; flex: 1; height: 16px; border-radius: 999px;
    background: color-mix(in srgb, var(--crt-ink) 6%, transparent);
}
.neo.crt .crt-grow-t i {
    position: absolute; top: 0; bottom: 0; border-radius: 999px; display: block;
}
.neo.crt .g-open { background: #3d7dd6; }
.neo.crt .g-resume { background: #8b7ae0; }
.neo.crt .g-online { background: linear-gradient(90deg, #3d7dd6, #ff8a3d); }
.neo.crt .g-written { background: #d9a441; }
.neo.crt .g-interview { background: linear-gradient(90deg, #2fa8a0, #8fd14f); }
.neo.crt .g-offer { background: #e0668c; }
.neo.crt .crt-today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--crt-lamp); z-index: 3; }
.neo.crt .crt-today span {
    position: absolute; top: 0; left: 3px; font-size: 10.5px; color: var(--crt-lamp); font-weight: 700;
}

/* ---------- 节点列表 ---------- */
.neo.crt .crt-nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.neo.crt .crt-node {
    display: flex; align-items: center; gap: 12px;
    border: 1px solid var(--crt-line); border-radius: 12px; padding: 10px 13px;
    background: var(--crt-paper-2); border-left-width: 4px;
}
.neo.crt .crt-node.b-open { border-left-color: #3d7dd6; }
.neo.crt .crt-node.b-resume { border-left-color: #8b7ae0; }
.neo.crt .crt-node.b-deadline { border-left-color: #ff8a3d; background: color-mix(in srgb, #ff8a3d 8%, var(--crt-paper-2)); }
.neo.crt .crt-node.b-written { border-left-color: #d9a441; }
.neo.crt .crt-node.b-interview { border-left-color: #2fa8a0; }
.neo.crt .crt-node.b-offer { border-left-color: #e0668c; }
.neo.crt .crt-node-d { flex: none; min-width: 108px; }
.neo.crt .crt-node-d b { display: block; font-size: 15px; color: var(--crt-ink); font-family: Georgia, "Songti SC", serif; }
.neo.crt .crt-node-d small { display: block; font-size: 11px; color: var(--crt-ink-faint); margin-top: 2px; }
.neo.crt .crt-node-n { font-size: 13.5px; color: var(--crt-ink); font-weight: 700; }
.neo.crt .crt-node-n small { display: block; font-size: 11.5px; color: var(--crt-ink-faint); font-weight: 400; margin-top: 2px; }
.neo.crt .crt-batch-note {
    font-size: 12.5px; color: var(--crt-ink-soft); line-height: 1.8;
    background: color-mix(in srgb, var(--crt-lime) 14%, transparent);
    border-radius: 10px; padding: 9px 12px; margin: 4px 0 0;
}

/* ---------- 表格 ---------- */
.neo.crt .crt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.neo.crt .crt-table th, .neo.crt .crt-table td {
    padding: 9px 10px; border-bottom: 1px solid var(--crt-line); text-align: left; vertical-align: top;
}
.neo.crt .crt-table th { font-size: 11.5px; color: var(--crt-ink-faint); font-weight: 700; }
.neo.crt .crt-table tr.is-now td { background: color-mix(in srgb, var(--crt-lamp) 8%, transparent); }
.neo.crt .crt-table tr.is-dead td { background: color-mix(in srgb, #ff8a3d 12%, transparent); font-weight: 700; }
.neo.crt .crt-qty { font-family: Georgia, serif; font-size: 15px; color: var(--crt-ink); white-space: nowrap; }
.neo.crt .crt-table em {
    font-style: normal; font-size: 10.5px; color: #fff; background: var(--crt-lamp);
    border-radius: 999px; padding: 1px 7px; margin-left: 6px;
}
.neo.crt .crt-evt {
    display: inline-block; font-size: 11.5px; margin: 2px 5px 2px 0; padding: 2px 9px;
    border-radius: 999px; background: color-mix(in srgb, #2fa8a0 14%, transparent); color: #1f7d77;
}
.neo.crt .crt-none { font-size: 12px; color: var(--crt-ink-faint); }
.neo.crt .crt-conflict { color: #d14343; font-weight: 700; }
.neo.crt .crt-ok { color: #2f9e63; }

/* ---------- 投递强度 ---------- */
.neo.crt .crt-load { display: flex; align-items: flex-end; gap: 6px; height: 130px; padding-top: 10px; }
.neo.crt .crt-load-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.neo.crt .crt-load-bar {
    width: 100%; max-width: 30px; border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #ff8a3d, #ffb56b);
}
.neo.crt .crt-load-col b { font-size: 12px; color: var(--crt-ink); margin-top: 4px; }
.neo.crt .crt-load-col small { font-size: 10.5px; color: var(--crt-ink-faint); }
.neo.crt .crt-load-note { font-size: 12px; color: var(--crt-ink-faint); margin: 10px 0 0; line-height: 1.7; }

/* ---------- 提示 ---------- */
.neo.crt .crt-errs, .neo.crt .crt-warns {
    display: none; margin-bottom: 14px; padding: 10px 14px; border-radius: 12px;
    font-size: 13px; font-weight: 600; line-height: 1.7;
}
.neo.crt .crt-errs { background: color-mix(in srgb, #d14343 12%, transparent); color: #d14343; }
.neo.crt .crt-warns { background: color-mix(in srgb, #d9a441 16%, transparent); color: #9c7318; }
.neo.crt .crt-errs.on, .neo.crt .crt-warns.on { display: block; }
.neo.crt .crt-empty { font-size: 13px; color: var(--crt-ink-faint); line-height: 1.9; padding: 14px 2px; }

/* ---------- 底部通用 ---------- */
.neo.crt .crt-note-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.neo.crt .crt-note-table th, .neo.crt .crt-note-table td {
    padding: 11px 12px; border-bottom: 1px solid var(--neo-card-bd); text-align: left; vertical-align: top; line-height: 1.85;
}
.neo.crt .crt-note-table th {
    width: 132px; white-space: nowrap; color: var(--crt-lamp); font-weight: 700;
    background: color-mix(in srgb, var(--crt-lamp) 9%, transparent);
}
.neo.crt .crt-note-table td { color: var(--crt-ink-soft); }
.neo.crt .crt-note-table b { color: var(--crt-ink); }
.neo.crt .neo-tab.active { color: var(--crt-lamp); }
.neo.crt .neo-tab.active::after { background: var(--crt-lamp); }
.neo.crt .neo-rel:hover { border-color: var(--crt-lamp); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .neo.crt .crt-layout { grid-template-columns: 1fr; }
    .neo.crt .crt-compass { display: none; }
}
@media (max-width: 560px) {
    .neo.crt .crt-hero { padding: 22px 18px; }
    .neo.crt .crt-hero h1 { font-size: 21px; }
    .neo.crt .crt-kpis { gap: 14px; }
    .neo.crt .crt-grow-k { width: 62px; font-size: 11.5px; }
    .neo.crt .crt-axis { margin-left: 72px; }
    .neo.crt .crt-note-table th { width: 92px; }
}

/* ---------- 打印 ---------- */
.crt-print { display: none; }

@media print {
    body * { visibility: hidden !important; }
    .crt-print, .crt-print * { visibility: visible !important; }
    .crt-print { display: block; position: absolute; left: 0; top: 0; width: 100%; }
    .crt-doc { color: #000; font-family: "Songti SC", "SimSun", serif; }
    .crt-doc h1 { font-size: 20px; text-align: center; margin: 0 0 6px; }
    .crt-doc-sub { text-align: center; font-size: 13px; margin: 0 0 14px; }
    .crt-doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
    .crt-doc-table th, .crt-doc-table td { border: 1px solid #999; padding: 7px 8px; text-align: left; }
    .crt-doc-note { font-size: 13px; margin-top: 8px; }
}
