/* ===================== 找实习网 · 政企官方风格 ===================== */
:root {
  --blue: #0E4DA4;
  --blue-dark: #0A3573;
  --blue-soft: #E8F0FB;
  --red: #C8102E;
  --red-dark: #A00D24;
  --gold: #C9A24B;
  --bg: #F4F6F9;
  --card: #FFFFFF;
  --ink: #1A2233;
  --muted: #5B6675;
  --line: #E3E8EF;
  --shadow: 0 6px 20px rgba(14, 77, 164, 0.10);
  --shadow-soft: 0 2px 10px rgba(26, 34, 51, 0.06);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { width: min(1140px, 92vw); margin: 0 auto; }

/* ---------------- 顶部公告条 ---------------- */
.topbar { background: var(--blue-dark); color: #DCE7F6; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; overflow: hidden; white-space: nowrap; }
.topbar-right { color: #fff; font-weight: 600; flex: none; }

/* ---------------- 导航 ---------------- */
.navbar { background: var(--blue); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(10,53,115,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 9px; background: rgba(255,255,255,.12);
  display: grid; place-items: center; font-size: 22px; border: 1px solid rgba(255,255,255,.25);
}
.brand-text .name { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.brand-text .name span { color: #FFD2DC; }
.brand-text .sub { font-size: 12px; color: #C7D8F2; letter-spacing: 2px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: #DCE7F6; }
.nav-links a:hover { color: #fff; }
#accountArea { display: inline-flex; align-items: center; gap: 10px; }
.link-btn { color: #FFD2DC; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.user-badge { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; }
.user-badge .av { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.user-badge .out { color: #C7D8F2; cursor: pointer; font-size: 13px; }
.user-badge .out:hover { color: #fff; }

/* ---------------- Hero ---------------- */
.hero { background: linear-gradient(135deg, #0E4DA4 0%, #0A3573 100%); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(201,162,75,.18), transparent 70%); }
.hero-inner { display: block; position: relative; z-index: 1; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-trust div { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #DCE7F6; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 8px 14px; border-radius: 8px; }
.hero-trust .ht-ic { font-size: 15px; }
.eyebrow { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #FFE6B0; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; letter-spacing: 1px; }
.hero h1 { font-size: 40px; line-height: 1.25; font-weight: 800; letter-spacing: .5px; }
.hero .lead { font-size: 16px; color: #DCE7F6; margin: 16px 0 22px; max-width: 540px; }
.hero-stats { display: flex; gap: 30px; margin: 22px 0 26px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 26px; color: #FFD2DC; }
.hero-stats span { font-size: 13px; color: #C7D8F2; }
/* ---------------- 开屏服务须知（强制阅读 3s） ---------------- */
body.splash-lock { overflow: hidden; }
.splash { position: fixed; inset: 0; z-index: 9999; background: rgba(8, 28, 62, .78); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px 18px; overflow-y: auto; animation: spFade .25s ease; }
.splash.sp-out { animation: spOut .28s ease forwards; }
@keyframes spFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spOut { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.splash-card { position: relative; width: 100%; max-width: 520px; margin: auto; animation: spRise .34s cubic-bezier(.2,.8,.3,1); }
@keyframes spRise { from { transform: translateY(18px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.sp-close-wrap { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.sp-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 700; cursor: not-allowed; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.sp-close:not(:disabled) { cursor: pointer; font-size: 17px; background: rgba(255,255,255,.22); }
.sp-close:not(:disabled):hover { background: #fff; color: var(--blue); transform: rotate(90deg); }
.splash .notice-card { border-top-width: 4px; max-height: 66vh; overflow-y: auto; }
.sp-enter { width: 100%; margin-top: 14px; justify-content: center; text-align: center; }
.sp-enter:disabled { opacity: .55; cursor: not-allowed; }

/* 平台服务说明卡片（现代政企风） */
.notice-card { background: #fff; color: var(--ink); border-radius: 10px; padding: 26px 28px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.notice-card .nc-head { margin-bottom: 18px; }
.notice-card .nc-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: rgba(15,52,114,.08); padding: 4px 11px; border-radius: 5px; letter-spacing: 1px; margin-bottom: 12px; }
.notice-card .nc-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: .5px; line-height: 1.3; }
.notice-card .nc-sub { font-size: 13px; color: #8b93a3; margin-top: 6px; }
.notice-card .nc-list { list-style: none; }
.notice-card .nc-list li { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.notice-card .nc-list li:last-child { border-bottom: none; }
.notice-card .nc-no { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px; background: rgba(15,52,114,.07); color: var(--blue); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.notice-card .nc-body { flex: 1; min-width: 0; }
.notice-card .nc-h { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.notice-card .nc-body p { font-size: 13px; line-height: 1.7; color: #5a6275; margin: 0; }
.notice-card .nc-body strong { color: var(--red); font-weight: 700; }
.notice-card .nc-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: #6b7488; display: flex; align-items: center; gap: 8px; }
.notice-card .nc-dot { width: 7px; height: 7px; border-radius: 50%; background: #2e9e6b; flex: 0 0 auto; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 56px 0; }
.section-alt { background: #EEF3FA; }
.section h2 { font-size: 28px; text-align: center; color: var(--blue); margin-bottom: 8px; }
.section .sub { text-align: center; color: var(--muted); margin-bottom: 34px; font-size: 15px; }

/* ---------------- 信息填写 ---------------- */
.intake { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.field label .req { color: var(--red); }
.field input, .field select {
  width: 100%; padding: 12px 14px; font-size: 15px; border: 1.5px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); transition: border-color .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.actions { display: flex; gap: 12px; margin-top: 6px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 8px; padding: 13px 26px; font-size: 15px; font-weight: 700;
  background: var(--blue); color: #fff; transition: background .15s, transform .1s; box-shadow: var(--shadow-soft);
}
.btn:hover { background: var(--blue-dark); }
.btn.ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn.lg { padding: 15px 32px; font-size: 16px; }
.btn.accent { background: var(--red); }
.btn.accent:hover { background: var(--red-dark); }

/* ---------------- 匹配结果 ---------------- */
.result-head { text-align: center; margin-bottom: 18px; }
.result-head h2 { font-size: 24px; color: var(--ink); }
.match-count { color: var(--red); }
.pick { color: var(--blue); font-weight: 700; }
.related-block { display: flex; align-items: flex-start; gap: 10px; margin: 8px auto 18px; max-width: 900px; flex-wrap: wrap; }
.related-label { font-weight: 700; color: var(--ink); font-size: 14px; padding-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 8px; font-size: 14px; transition: .15s; }
.chip:hover, .chip.active { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.relatedChips .chip { background: var(--blue); color: #fff; border-color: var(--blue); }
.relatedChips .chip:hover { background: var(--blue-dark); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft); transition: transform .12s, box-shadow .12s; cursor: pointer; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.avatar { width: 50px; height: 50px; border-radius: 10px; flex: none; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px; }
.card h3 { font-size: 17px; }
.card .meta { color: var(--muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.tag { background: var(--blue-soft); color: var(--blue); font-size: 12px; padding: 4px 10px; border-radius: 6px; }
.match-bar { margin: 6px 0; }
.match-bar .lab { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.match-bar .track { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.match-bar .fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 999px; }
.pos-list { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 10px; }
.pos-list b { color: var(--ink); }
.empty { text-align: center; color: var(--muted); padding: 36px; }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--blue-soft); border: 1px solid #CFE0F5; border-radius: var(--radius); padding: 18px 24px; margin-top: 28px; }

/* ---------------- 服务方案 ---------------- */
.grid.plans { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; position: relative; }
.plan.popular { border-color: var(--blue); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -12px; left: 22px; background: var(--red); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px; font-weight: 700; }
.plan h3 { font-size: 19px; }
.plan .tagline { color: var(--muted); font-size: 14px; margin: 6px 0 14px; }
.plan .price { font-size: 36px; font-weight: 800; color: var(--red); }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 16px 0 20px; }
.plan ul li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; color: #3a4252; border-bottom: 1px dashed var(--line); }
.plan ul li:last-child { border-bottom: none; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------------- 提示卡 ---------------- */
.tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft); border-top: 3px solid var(--blue); }
.tip .em { font-size: 28px; }
.tip h4 { margin: 8px 0 6px; font-size: 16px; color: var(--blue); }
.tip p { color: var(--muted); font-size: 14px; }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--blue-dark); color: #C7D8F2; padding: 36px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.f-brand { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.f-note { font-size: 13px; max-width: 560px; }
.f-links { display: flex; gap: 22px; font-size: 14px; }
.f-links a:hover { color: #fff; }
.f-copy { text-align: center; font-size: 12px; color: #8FA8CE; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }

/* ---------------- 售前浮窗 ---------------- */
.cs-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; border: none; border-radius: 999px; background: var(--red); color: #fff; padding: 12px 18px; font-size: 14px; font-weight: 700; box-shadow: 0 6px 18px rgba(200,16,46,.3); display: inline-flex; align-items: center; gap: 8px; }
.cs-float:hover { background: var(--red-dark); }

/* ---------------- 弹层 ---------------- */
.overlay { position: fixed; inset: 0; background: rgba(10,53,115,.45); z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.overlay.open { display: flex; }
.modal { background: var(--card); border-radius: 14px; width: min(820px, 96vw); box-shadow: var(--shadow); overflow: hidden; animation: pop .2s ease; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .m-head { padding: 24px 30px; background: var(--blue); color: #fff; display: flex; align-items: center; gap: 16px; position: relative; }
.modal .m-head .avatar { background: rgba(255,255,255,.15); }
.modal .m-head h3 { font-size: 21px; }
.modal .m-head .meta { color: #DCE7F6; font-size: 14px; }
.modal .close { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 18px; line-height: 1; }
.modal .close:hover { background: rgba(255,255,255,.3); }
.modal .m-body { padding: 26px 30px 30px; }
.m-section { margin-bottom: 24px; }
.m-section h4 { font-size: 17px; margin-bottom: 10px; color: var(--blue); display: flex; align-items: center; gap: 8px; }
.m-section p { color: #3a4252; }
.m-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pos { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.pos .p-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.pos .p-top h5 { font-size: 16px; color: var(--ink); }
.pos .p-salary { color: var(--red); font-weight: 700; }
.pos .p-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pill { background: var(--blue-soft); color: var(--blue); font-size: 12px; padding: 4px 10px; border-radius: 6px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 12px; }
.svc { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px; background: var(--blue-soft); border: 1px solid #CFE0F5; }
.svc .em { font-size: 20px; }
.svc .t { font-size: 14px; font-weight: 600; color: var(--ink); }
.apply-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }

/* 弹窗表单 / 步骤 */
.modal h3.m-title { font-size: 22px; margin-bottom: 6px; color: var(--ink); }
.modal .m-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-field input, .form-field select { width: 100%; padding: 11px 14px; font-size: 15px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--blue); }
.form-field .err { color: var(--red); font-size: 12px; margin-top: 4px; display: none; }
.modal .m-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.modal .m-actions .btn { flex: 1; justify-content: center; min-width: 120px; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; }
.steps .step { flex: 1; text-align: center; font-size: 12px; color: var(--muted); padding: 6px 0; border-bottom: 2px solid var(--line); }
.steps .step.active { color: var(--blue); border-color: var(--blue); font-weight: 700; }
.qr-box { width: 160px; height: 160px; margin: 0 auto 14px; border-radius: 12px; background: repeating-linear-gradient(45deg, #eef1f6, #eef1f6 10px, #fff 10px, #fff 20px); display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; border: 1px dashed var(--line); }
.contact-card { text-align: center; }
.contact-card .wx { font-size: 18px; font-weight: 800; color: var(--red); margin: 6px 0; }
.pay-row { display: flex; align-items: center; justify-content: space-between; background: var(--blue-soft); border-radius: 8px; padding: 14px 16px; margin: 10px 0 16px; }
.pay-row .pp { font-size: 22px; font-weight: 800; color: var(--red); }
.success-badge { text-align: center; font-size: 40px; margin-bottom: 6px; }
.order-meta { background: var(--blue-soft); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #3a4252; margin: 12px 0; }
.order-meta b { color: var(--ink); }
.switch-line { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.switch-line a { color: var(--blue); cursor: pointer; font-weight: 600; }

/* Toast / 隐藏 */
.hidden { display: none !important; }
.overlay::-webkit-scrollbar { width: 8px; }
.overlay::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 860px) {
  .notice-card { padding: 20px 18px 16px; }
  .notice-card .nc-title { font-size: 18px; }
  .hero h1 { font-size: 30px; }
  .nav-links { display: none; }
  .hero-stats { gap: 18px; }
  .hero-trust div { font-size: 12.5px; padding: 7px 11px; }
  .splash { padding: 16px 12px; }
  .splash .notice-card { max-height: 60vh; }
}

/* ---------------- 敏感行业 / 热门专业 / 相似岗位空状态 ---------------- */
.card.sensitive { border-left-color: var(--muted); background: #f7f8fa; }
.card.sensitive .pos-list.locked { color: var(--muted); background: #eef1f6; border-radius: 8px; padding: 10px 12px; margin-top: auto; }
.card.sensitive:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.hot-wrap { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hot-label { font-size: 13px; color: var(--muted); padding-top: 9px; white-space: nowrap; }
.hot-wrap .chips { justify-content: flex-start; flex: 1; }
.chip.hot { background: #fff; border-color: #CFE0F5; color: var(--blue); }
.chip.hot:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.rel-empty { color: var(--muted); font-size: 14px; padding: 10px 14px; background: var(--blue-soft); border-radius: 8px; display: inline-block; }
.rel-empty .lk { color: var(--red); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* ---------------- 文章浏览入口（专业目录 / 岗位大全） ---------------- */
.browse-bar { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.browse-btn {
  flex: 1 1 280px; display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fe 100%);
  border: 1.5px solid #CFE0F5; border-radius: 12px; padding: 16px 20px;
  text-align: left; transition: .16s; box-shadow: var(--shadow-soft);
}
.browse-btn:hover { border-color: var(--blue); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.browse-btn .bb-ic {
  flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--blue-soft);
  display: grid; place-items: center; font-size: 24px; border: 1px solid #CFE0F5;
}
.browse-btn .bb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.browse-btn .bb-txt b { font-size: 16px; color: var(--ink); }
.browse-btn .bb-txt i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.browse-btn .bb-txt span { color: var(--blue); font-weight: 700; }
.browse-btn .bb-arrow { flex: none; font-size: 20px; color: var(--blue); font-weight: 800; transition: transform .16s; }
.browse-btn:hover .bb-arrow { transform: translateX(4px); }

/* ---------------- 目录 / 岗位大全弹层 ---------------- */
.modal .cat-wrap { padding: 20px 30px 26px; }
.cat-search { margin-bottom: 16px; }
.cat-search input {
  width: 100%; padding: 13px 16px; font-size: 15px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s;
}
.cat-search input:focus { outline: none; border-color: var(--blue); }

.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 14px; scrollbar-width: thin; }
.cat-tabs::-webkit-scrollbar { height: 6px; }
.cat-tabs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.cat-tab {
  flex: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; transition: .15s;
}
.cat-tab:hover { border-color: var(--blue); color: var(--blue); }
.cat-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-tab i { font-style: normal; font-size: 11px; background: rgba(14,77,164,.1); color: var(--blue); padding: 1px 7px; border-radius: 999px; }
.cat-tab.active i { background: rgba(255,255,255,.22); color: #fff; }

.cat-body { max-height: 52vh; overflow-y: auto; padding-right: 4px; }
.cat-body::-webkit-scrollbar { width: 8px; }
.cat-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

.cat-group { margin-bottom: 22px; }
.cg-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.cg-title::before { content: ""; width: 4px; height: 16px; background: var(--blue); border-radius: 2px; }
.cg-title span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cg-list { display: flex; flex-wrap: wrap; gap: 9px; }

.major-item {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 15px; border-radius: 8px; font-size: 14px; transition: .15s; text-align: left;
}
.major-item:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-1px); }
.major-item.pos { background: var(--blue-soft); border-color: #CFE0F5; color: var(--blue); }
.major-item.pos:hover { background: var(--blue); color: #fff; }

.cat-empty { color: var(--muted); font-size: 14px; padding: 22px; background: var(--blue-soft); border: 1px dashed #CFE0F5; border-radius: 10px; text-align: center; line-height: 1.9; }
.btn.sm { padding: 8px 16px; font-size: 13px; }

.cat-locked { margin-top: 8px; padding: 18px 20px; background: #f7f8fa; border: 1px solid var(--line); border-radius: 10px; }
.cat-locked .cl-title { font-size: 15px; font-weight: 800; color: var(--muted); margin-bottom: 10px; }
.cat-locked .cl-inds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cat-locked .cl-inds span { font-size: 13px; color: var(--muted); background: #eef1f6; padding: 5px 12px; border-radius: 7px; }
.cat-locked p { font-size: 13.5px; color: #6b7488; margin: 0; }
.cat-locked .lk { color: var(--red); font-weight: 700; cursor: pointer; text-decoration: underline; }

.cat-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.7; }
