/* ==========================================================================
   求职有话说 · 网页版（H5）样式
   手机端：学员端（卡片 + 底部导航）
   电脑端：运营后台（左侧导航 + 内容区）
   ========================================================================== */

:root {
  --brand: #fe9201;
  --brand-d: #e07f00;
  --brand-soft: #fff4e6;
  --ink: #1f2430;
  --ink-2: #4b5563;
  --ink-3: #8a92a1;
  --line: #eef0f4;
  --line-2: #e3e6ec;
  --bg: #f5f6f8;
  --card: #ffffff;
  --green: #0b7a50;
  --green-soft: #e8f6ef;
  --red: #e0524e;
  --red-soft: #fdeeee;
  --blue: #325ab4;
  --blue-soft: #eef2fb;
  --gray-soft: #f4f5f7;
  --shadow: 0 6px 20px rgba(20, 26, 40, 0.06);
  --radius: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
text { display: inline; }

.boot { display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; height: 100vh; color: var(--ink-3); font-size: 14px; }
.spin { width: 26px; height: 26px; border: 3px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: sp 0.7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ---------------- 通用组件 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 18px; border: 0; border-radius: 12px;
  background: var(--brand); color: #fff; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: filter 0.15s;
}
.btn:active { filter: brightness(0.94); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn.ghost { background: var(--gray-soft); color: var(--ink-2); font-weight: 500; }
.btn.line { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; font-weight: 500; }
.btn.blk { width: 100%; }
.btn.danger { background: var(--red); }
.btn.del { background: #fdecec; color: #c0392b; margin-left: 6px; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 12px; }
.sec-title { display: flex; align-items: baseline; gap: 8px; margin: 18px 16px 8px; }
.sec-title .t { font-size: 17px; font-weight: 700; }
.sec-title .m { font-size: 12px; color: var(--ink-3); }
.empty { padding: 34px 16px; text-align: center; color: var(--ink-3); font-size: 14px; }
.empty .big { font-size: 30px; display: block; margin-bottom: 8px; opacity: 0.5; }

.chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--gray-soft); color: var(--ink-2); font-size: 12px; }
.chip.on { background: var(--brand); color: #fff; }
.chip.warm { background: var(--brand-soft); color: var(--brand-d); }
.tag { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 11px; margin-left: 6px; vertical-align: middle; }
.tag.g { background: var(--green-soft); color: var(--green); }
.tag.r { background: var(--red-soft); color: var(--red); }
.tag.o { background: var(--brand-soft); color: var(--brand-d); }
.tag.b { background: var(--blue-soft); color: var(--blue); }
.tag.n { background: var(--gray-soft); color: var(--ink-3); }

/* ---------------- 登录页 ---------------- */
.login-wrap { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff7ec 0%, #f5f6f8 42%); }
.login-top { padding: 46px 26px 18px; }
.login-logo { width: 58px; height: 58px; border-radius: 17px; background: linear-gradient(135deg, #ffb44d, #fe9201); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; box-shadow: 0 8px 20px rgba(254, 146, 1, 0.32); }
.login-brand { font-size: 25px; font-weight: 800; margin-top: 16px; letter-spacing: 0.5px; }
.login-slogan { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.login-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); margin: 14px 18px; padding: 20px 18px 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }
.input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px;
  font-size: 16px; color: var(--ink); background: #fff; outline: none; transition: border-color 0.15s;
}
.input:focus { border-color: var(--brand); }
.input::placeholder { color: #b6bcc8; }
textarea.input { height: auto; padding: 10px 14px; line-height: 1.5; resize: vertical; }
select.input { height: 46px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9aa1ae 50%), linear-gradient(135deg, #9aa1ae 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.login-tip { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin-top: 12px; }
.login-tip b { color: var(--brand-d); font-weight: 600; }
.login-links { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13.5px; }
.login-links .lk { color: var(--brand-d); font-weight: 500; }
.login-foot { margin-top: auto; padding: 20px 26px 26px; font-size: 12px; color: var(--ink-3); line-height: 1.8; }
.demo-box { margin: 0 18px 12px; border: 1px dashed #ffd9a6; background: #fffaf3; border-radius: 14px; padding: 14px; }
.demo-box .dt { font-size: 13px; font-weight: 700; color: var(--brand-d); margin-bottom: 8px; }
.demo-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 13px; border-bottom: 1px solid #f6ead9; }
.demo-row:last-child { border-bottom: 0; }
.demo-row .dn { color: var(--ink-2); }
.demo-row .dv { color: var(--ink-3); font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }

/* ---------------- 学员端外壳 ---------------- */
.shell { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--bg); padding-bottom: 78px; position: relative; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .tt { font-size: 17px; font-weight: 700; flex: 1; }
.topbar .sub { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: 6px; }

/* Banner 轮播 */
.bn { position: relative; margin: 14px 16px 4px; border-radius: 16px; overflow: hidden; height: 148px; background: linear-gradient(135deg, #325ab4, #4c76d6); }
.bn-track { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.bn-item { min-width: 100%; height: 100%; position: relative; background: linear-gradient(135deg, #325ab4, #4c76d6); display: flex; align-items: flex-end; }
.bn-item.b2 { background: linear-gradient(135deg, #0b7a50, #17a06a); }
.bn-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-cap { position: relative; z-index: 2; padding: 16px; width: 100%; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.42) 100%); }
.bn-t { color: #fff; font-size: 17px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.bn-s { color: rgba(255, 255, 255, 0.9); font-size: 12.5px; margin-top: 4px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.bn-go { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 11px; background: rgba(255, 255, 255, 0.22); color: #fff; font-size: 12px; }
.bn-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 5px; z-index: 3; }
.bn-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.5); transition: width 0.2s; }
.bn-dot.on { width: 14px; background: #fff; }

/* 首页统计 / 概览 */
.hst { display: flex; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin: 12px 16px; padding: 14px 0; }
.hst .hi { flex: 1; text-align: center; }
.hst .hn { display: block; font-size: 22px; font-weight: 800; }
.hst .hl { font-size: 12px; color: var(--ink-3); }
.hst .hi + .hi { border-left: 1px solid var(--line); }

/* 快捷入口 */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 16px; }
.grid4 .g { background: #fff; border-radius: 12px; padding: 12px 4px; text-align: center; box-shadow: var(--shadow); }
.grid4 .g .ic { font-size: 20px; }
.grid4 .g .t { font-size: 12px; color: var(--ink-2); margin-top: 5px; }

/* 列表项 */
.li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin: 10px 16px; overflow: hidden; }
.it { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.it:last-child { border-bottom: 0; }
.it .bd { flex: 1; min-width: 0; }
.it .t { font-size: 15px; font-weight: 500; }
.it .d { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.it .arrow { color: #c8ccd6; font-size: 18px; }
.it .em { font-size: 20px; width: 24px; text-align: center; }

/* 岗位卡 */
.job { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin: 10px 16px; padding: 14px; display: flex; gap: 12px; }
.logo { width: 44px; height: 44px; border-radius: 11px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: 0 0 auto; }
.job .jb { flex: 1; min-width: 0; }
.job .jt { font-size: 16px; font-weight: 600; display: flex; align-items: center; }
.job .jt .salary { margin-left: auto; color: var(--red); font-size: 14px; font-weight: 700; }
.job .jc { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.job .jtags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.job .jfoot { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--ink-3); }

/* ===== 岗位脱敏（未开通课程的学员 / 游客） ===== */
.job.lock { align-items: flex-start; }
.logo.blur { filter: blur(3px); opacity: 0.88; }
.tag.lk { background: var(--gray-soft); color: var(--ink-3); }
/* 锁定岗位卡右侧的「解锁」入口（与小程序 .lkbtn 同款；不用 emoji 锁） */
.job .jlock {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 11px;
  background: #fff1e6;
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
}
.job .jlock .jl-ic { width: 13px; height: 13px; }
/* 收藏 / 投递列表里，锁定岗位的图标同样用线性锁 */
.em-lk { color: #c2410c; }
.em-lk .jl-ic { width: 18px; height: 18px; }
.vbar.lock { background: #fff7ee; color: #c2410c; }

/* ===== 引流二维码 ===== */
.qrimgwrap { display: flex; justify-content: center; padding: 8px 0; }
.qrimg {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  padding: 4px;
}
.qrrows { margin-top: 12px; }
.qrrow { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #f2f4f7; }
.qrthumb {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  background: #eff1f4;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.qrthumb.ph { border: 2px dashed #e4e7ec; background: #f8f9fb; }
.qrthumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.qrp { font-size: 12px; color: var(--ink-3); }
.qrfields { flex: 1; min-width: 0; }
.qrt { font-size: 14px; font-weight: 700; }
.qrops { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.dl { color: var(--red); }
.dl3 { color: var(--brand-d); }
.gray { color: var(--ink-3); }

/* 筛选条 */
/* 岗位筛选：钉顶（top 略小于顶栏高度，避免与顶栏之间露出缝）。
   配合底部钉底的翻页栏，形成「一屏一页」的浏览方式 */
.filters { padding: 10px 16px 4px; position: sticky; top: 45px; z-index: 18; background: var(--bg); }
/* 岗位板块：岗位推荐 / 所有岗位 */
.jseg { display: flex; gap: 6px; margin-top: 10px; padding: 4px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); }
.jsg { flex: 1; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.jsg.on { background: var(--brand); color: #fff; font-weight: 700; }
.jsg .jsn { font-size: 11.5px; opacity: 0.8; font-weight: 600; }
/* 推荐方向说明条 */
.rnote { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; background: #fff7ed; border: 1px solid #ffe2c2; border-radius: 12px; font-size: 12.5px; line-height: 1.6; color: #9a5b1a; }
.rnote b { flex: none; color: #c2410c; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 0 12px; height: 42px; box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; outline: none; font-size: 15px; background: transparent; }
.jfs { display: flex; gap: 8px; margin-top: 10px; }
.jf { flex: 1; height: 34px; border-radius: 17px; background: #fff; color: var(--ink-2); font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 4px; box-shadow: var(--shadow); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 8px; }
.jf.on { background: var(--brand); color: #fff; }
.jf .ar { font-size: 10px; opacity: 0.65; }
.panel { background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-top: 10px; padding: 12px; }
.panel .ptip { font-size: 12px; color: var(--ink-3); margin-bottom: 9px; }
.panel .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sel { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.sel .st { background: var(--brand-soft); color: var(--brand-d); border-radius: 13px; height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 12px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px; color: var(--ink-2); font-size: 13.5px; position: sticky; bottom: 0; z-index: 16; background: var(--bg); }
.pager .pg { min-width: 62px; height: 34px; border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.pager .pg[disabled] { opacity: 0.45; }

/* 课程 / 简历 */
.pkg { background: linear-gradient(135deg, #2b3a67, #4a5c96); color: #fff; border-radius: var(--radius); margin: 12px 16px; padding: 16px; box-shadow: var(--shadow); }
.pkg .pt { font-size: 15px; opacity: 0.9; }
.pkg .pn { font-size: 30px; font-weight: 800; margin-top: 4px; }
.pkg .pn small { font-size: 14px; font-weight: 500; opacity: 0.8; }
.pkg .pbar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); margin-top: 12px; overflow: hidden; }
.pkg .pbar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.bk { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin: 10px 16px; padding: 14px; }
.bk .bt { font-size: 15.5px; font-weight: 600; display: flex; align-items: center; }
.bk .bm { font-size: 13px; color: var(--ink-3); margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.bk .ops { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.link-in { display: flex; align-items: center; gap: 6px; margin-top: 10px; background: var(--gray-soft); border-radius: 10px; padding: 9px 11px; font-size: 13px; color: var(--blue); word-break: break-all; }
.link-in .lk { color: var(--blue); text-decoration: underline; }

/* 我的 */
.hero { background: linear-gradient(135deg, #ffb44d, #fe9201); color: #fff; padding: 20px 16px 22px; }
.hero-row { display: flex; align-items: center; gap: 14px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); display: flex; align-items: center; justify-content: center; font-size: 23px; font-weight: 700; overflow: hidden; flex: 0 0 auto; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pname { font-size: 19px; font-weight: 700; }
.pmeta { font-size: 12.5px; opacity: 0.92; margin-top: 4px; }
.vip { margin-left: auto; text-align: right; font-size: 12px; background: rgba(255, 255, 255, 0.22); border-radius: 12px; padding: 7px 10px; max-width: 46%; }
.hero-stats { display: flex; margin-top: 16px; background: rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 11px 0; }
.hero-stats .hs { flex: 1; text-align: center; }
.hero-stats .hs b { display: block; font-size: 19px; }
.hero-stats .hs span { font-size: 11.5px; opacity: 0.92; }
.vbar { display: flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-d); font-size: 13px; padding: 10px 14px; border-radius: 12px; margin: 12px 16px; }

/* 岗位锁定提示条（首页 / 岗位库共用；右上可关闭，与小程序 .lkcard 同款） */
.lkcard {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 12px 16px; padding: 12px 12px 12px 14px;
  background: #fff; border: 1px solid #ffe7cc; border-radius: 14px;
  box-shadow: 0 4px 18px rgba(254, 146, 1, 0.08);
}
.lkc-ic {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px;
  background: #fff1e6; color: #c2410c;
  display: flex; align-items: center; justify-content: center;
}
.lkc-ic .jl-ic { width: 18px; height: 18px; }
.lkc-bd { flex: 1; min-width: 0; }
.lkc-t { font-size: 14px; font-weight: 800; color: var(--ink); }
.lkc-s { margin-top: 3px; font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.lkc-x {
  flex: 0 0 auto; width: 24px; height: 24px; line-height: 22px; text-align: center;
  border-radius: 50%; color: #b4b9c1; font-size: 12px; cursor: pointer;
}

/* 底部导航 */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px;
  display: flex; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); z-index: 30;
}
.tabbar .tb { flex: 1; text-align: center; padding: 8px 0 7px; color: var(--ink-3); font-size: 11.5px; }
.tabbar .tb .ic { display: block; font-size: 19px; line-height: 1.2; }
.tabbar .tb.on { color: var(--brand); font-weight: 600; }

/* ---------------- 运营后台 ---------------- */
.admin { display: flex; min-height: 100vh; }
.aside { width: 208px; background: #1f2430; color: #cfd5e2; padding: 18px 12px; flex: 0 0 auto; }
.aside .brand { color: #fff; font-weight: 700; font-size: 16px; padding: 4px 10px 16px; display: flex; align-items: center; gap: 8px; }
.aside .brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.aside .nv { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: #c3cad8; font-size: 14px; cursor: pointer; margin-bottom: 3px; }
.aside .nv:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.aside .nv.on { background: var(--brand); color: #fff; font-weight: 600; }
.aside .who { margin-top: 18px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); font-size: 12.5px; color: #aab2c2; }
.main { flex: 1; min-width: 0; padding: 20px 24px 60px; }
.main-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.main-head .h1 { font-size: 22px; font-weight: 700; }
.main-head .desc { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.main-head .sp { flex: 1; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.stat .sn { font-size: 26px; font-weight: 800; }
.stat .sl { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.panelbox { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
.panelbox .ph { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panelbox .ph .pt { font-size: 16px; font-weight: 700; }
.panelbox .ph .sp { flex: 1; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12.5px; color: var(--ink-3); font-weight: 600; padding: 9px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .nowrap { white-space: nowrap; }
.tbl .act { display: flex; gap: 6px; flex-wrap: wrap; }
.lk-a { color: var(--brand-d); cursor: pointer; font-size: 13px; font-weight: 500; }
.lk-a.dan { color: var(--red); }
.bn-thumb { width: 108px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--gray-soft); display: block; }
.bn-thumb.ph { display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 11px; }
.upbox { display: flex; gap: 12px; align-items: flex-start; }
.upbox .pv { width: 190px; height: 80px; border-radius: 10px; border: 1px dashed var(--line-2); object-fit: cover; background: var(--gray-soft); display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 12px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 7px; font-size: 12px; }
.st-on { background: var(--green-soft); color: var(--green); }
.st-draft { background: var(--gray-soft); color: var(--ink-3); }
.st-pend { background: var(--brand-soft); color: var(--brand-d); }
.st-off { background: var(--red-soft); color: var(--red); }

/* ---------------- 浮层 ---------------- */
.toast-wrap { position: fixed; left: 50%; top: 42px; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: rgba(31, 36, 48, 0.92); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; max-width: 78vw; animation: tIn 0.2s ease; }
.toast.ok { background: rgba(11, 122, 80, 0.94); }
.toast.err { background: rgba(224, 82, 78, 0.94); }
@keyframes tIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.modal-root { position: fixed; inset: 0; z-index: 900; display: none; }
.modal-root.on { display: block; }
.mask { position: absolute; inset: 0; background: rgba(17, 21, 30, 0.5); }
.sheet { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 520px; background: #fff; border-radius: 18px 18px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 86vh; overflow: auto; animation: sUp 0.24s ease; }
@keyframes sUp { from { transform: translate(-50%, 30px); opacity: 0.6; } to { transform: translate(-50%, 0); opacity: 1; } }
.sheet .sh { position: relative; padding-right: 34px; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
/* 半屏面板右上角的返回入口：面板铺满屏幕时，光靠点遮罩退出不够直观 */
.ov-x {
  position: absolute; right: 0; top: -3px;
  width: 28px; height: 28px; line-height: 26px; text-align: center;
  border-radius: 50%; background: var(--gray-soft); color: var(--ink-3);
  font-size: 13px; cursor: pointer;
}
.sheet .sd { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.sheet .sops { display: flex; gap: 10px; margin-top: 18px; }
.sheet .sops .btn { flex: 1; }
.dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, 92vw); background: #fff; border-radius: 16px; padding: 20px; animation: tIn 0.18s ease; max-height: 88vh; overflow: auto; }
.dialog .dh { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.dialog .dd { font-size: 14px; color: var(--ink-2); line-height: 1.65; word-break: break-word; }
.dialog .dops { display: flex; gap: 10px; margin-top: 18px; }
.dialog .dops .btn { flex: 1; }
.kv { display: flex; gap: 10px; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--ink-3); width: 76px; flex: 0 0 auto; }
.kv .v { flex: 1; word-break: break-word; }

/* 岗位详情里的 JD：分小节 + 逐条，避免整段文字挤成一坨 */
.jdbox { margin-top: 12px; background: var(--gray-soft); border-radius: 12px; padding: 12px 13px; }
.jdtt { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.jdsec { font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 12px 0 6px; padding-left: 8px; border-left: 3px solid var(--brand); }
.jdsec:first-of-type { margin-top: 0; }
.jdli { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; line-height: 1.72; color: var(--ink-2); padding: 2px 0; }
.jdli .jddot { flex: 0 0 auto; color: var(--brand); font-weight: 700; }
.jdli > span:last-child { flex: 1; }

.stars { display: flex; gap: 8px; font-size: 26px; cursor: pointer; }
.stars .s { opacity: 0.28; }
.stars .s.on { opacity: 1; }

/* 桌面端适配：学员端居中 + 背景 */
@media (min-width: 720px) {
  body.h5-student { background: #eceef2; }
  .shell { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04); }
}
@media (max-width: 719px) {
  .admin { flex-direction: column; }
  .aside { width: 100%; display: flex; gap: 6px; overflow-x: auto; padding: 10px; align-items: center; }
  .aside .brand { padding: 0 10px 0 4px; white-space: nowrap; }
  .aside .nv { margin-bottom: 0; white-space: nowrap; padding: 8px 12px; }
  .aside .who { display: none; }
  .main { padding: 14px 12px 50px; }
  .tbl { font-size: 13px; }
}
