/* 造物工坊 · 生成应用样式（主题变量在 theme.css 中注入） */
:root {
  --p: #165DFF; --p2: #4080FF; --accent: #FF7D00;
  --bg: #F2F5FA; --ink: #1D2129; --muted: #6B7280; --card: #fff;
  --soft: #E8F0FF; --radius: 18px;
  --line: #EBEFF5; --shadow: 0 6px 24px rgba(17, 24, 39, .06);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.ico { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; opacity: .8; }

/* ---------- 手机外壳 ---------- */
.app {
  height: 100dvh; width: 100%; display: flex; flex-direction: column;
  background: var(--bg); position: relative; overflow: hidden;
}
.view {
  flex: 1; overflow-y: auto; overflow-x: hidden; background: var(--bg);
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.app-head + .view { margin-top: 0; position: relative; z-index: 2; }
.app-head.compact + .view { margin-top: 0; }
@media (min-width: 620px) {
  body:not(.admin) {
    display: flex; align-items: center; justify-content: center;
    background:
      radial-gradient(1200px 600px at 15% 0%, rgba(22, 93, 255, .10), transparent 60%),
      radial-gradient(900px 500px at 90% 100%, rgba(255, 125, 0, .08), transparent 60%),
      #e9edf5;
  }
  .app {
    width: 420px; height: min(900px, calc(100dvh - 36px));
    border-radius: 34px; box-shadow: 0 40px 90px rgba(15, 23, 42, .22), 0 0 0 1px rgba(255, 255, 255, .5);
  }
}

/* ---------- 顶部 ---------- */
.app-head {
  flex: none; color: #fff; padding: calc(16px + env(safe-area-inset-top, 0px)) 18px 22px;
  background: linear-gradient(135deg, var(--p), var(--p2));
  position: relative; overflow: hidden;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 6px 14px rgba(130, 78, 58, .10);
}
.app-head::after {
  content: ""; position: absolute; right: -70px; top: -90px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255, 255, 255, .10);
}
.app-head.compact { padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: 16px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo {
  width: 38px; height: 38px; border-radius: 13px; background: rgba(255, 255, 255, .20);
  border: 1px solid rgba(255, 255, 255, .30); display: grid; place-items: center;
  font-size: 18px; font-weight: 700; flex: none;
}
.brand b { display: block; font-size: 16px; letter-spacing: .3px; }
.brand small {
  display: block; font-size: 10px; opacity: .72; margin-top: 3px;
  max-width: 210px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; color: #fff; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); position: relative; flex: none;
}
.icon-btn:active { background: rgba(255, 255, 255, .26); }
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn .dot {
  position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%;
  background: #FF5A5F; border: 1.5px solid var(--p2);
}
.greet { margin-top: 18px; font-size: 22px; font-weight: 700; letter-spacing: .2px; position: relative; z-index: 1; }
.greet small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; opacity: .78; letter-spacing: .4px; }
.head-search {
  margin-top: 16px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .22); display: flex; align-items: center; gap: 8px;
  padding: 0 14px; font-size: 13px; color: rgba(255, 255, 255, .82); position: relative; z-index: 1;
}
.head-search .ico { width: 18px; height: 18px; }
.head-title { flex: 1; text-align: center; min-width: 0; }
.head-title b { display: block; font-size: 16px; }
.head-title small {
  display: block; font-size: 10px; opacity: .72; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 首页 ---------- */
.view > * { animation: fadeUp .32s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-card {
  margin: 16px 16px 12px; border-radius: 22px; padding: 22px 20px 20px; color: #fff;
  background: linear-gradient(135deg, var(--p), var(--p2)); position: relative; overflow: hidden;
  box-shadow: 0 14px 30px rgba(22, 93, 255, .22);
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .55;
}
.hero-deco { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10); }
.hero-deco.d1 { width: 170px; height: 170px; right: -50px; top: -70px; }
.hero-deco.d2 { width: 90px; height: 90px; right: 40px; bottom: -50px; }
.hero-tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 20px;
  background: rgba(255, 255, 255, .18); font-size: 11px; letter-spacing: 1px; position: relative;
}
.hero-card h1 { font-size: 24px; line-height: 1.35; margin-top: 12px; letter-spacing: .5px; position: relative; }
.hero-card p { font-size: 12px; line-height: 1.7; opacity: .8; margin-top: 8px; max-width: 88%; position: relative; }
.hero-btn {
  margin-top: 16px; height: 38px; padding: 0 16px; border-radius: 20px; background: #fff; color: var(--p);
  font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; position: relative;
}
.hero-btn .ico { width: 16px; height: 16px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 16px 12px; }
.stat {
  background: var(--card); border-radius: 14px; padding: 11px 8px; text-align: center;
  box-shadow: 0 2px 10px rgba(17, 24, 39, .04); border: 1px solid rgba(255, 255, 255, .8);
}
.stat b { display: block; font-size: 18px; color: var(--ink); letter-spacing: -.3px; }
.stat b em { font-style: normal; font-size: 10px; color: var(--muted); font-weight: 500; margin-left: 1px; }
.stat span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }

.card {
  background: var(--card); border-radius: var(--radius); margin: 0 16px 12px;
  padding: 16px; box-shadow: var(--shadow); border: 1px solid rgba(17, 24, 39, .035);
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-head h3 { font-size: 15px; letter-spacing: .2px; }
.card-head small { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); }
.card-head small .ico { width: 14px; height: 14px; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
.quick-grid.c5 { grid-template-columns: repeat(5, 1fr); }
.quick { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: var(--ink); }
.quick .q-ico {
  width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
  background: var(--soft); color: var(--p); transition: transform .15s;
}
.quick:active .q-ico { transform: scale(.92); }
.quick .q-ico .ico { width: 22px; height: 22px; }
.quick:nth-child(3n+2) .q-ico { background: #FFF2E4; color: var(--accent); }
.quick:nth-child(3n) .q-ico { background: #E9F7EF; color: #18A058; }
.quick:nth-child(5n+4) .q-ico { background: #F3EDFF; color: #7A4DE8; }

.progress-card { cursor: pointer; }
.pg-title { font-size: 15px; font-weight: 600; line-height: 1.5; padding-right: 10px; }
.pg-meta { font-size: 11px; color: var(--muted); margin-top: 5px; }
.steps { display: flex; margin: 18px 2px 6px; }
.step { flex: 1; text-align: center; position: relative; font-size: 10px; color: var(--muted); }
.step i {
  display: block; width: 9px; height: 9px; border-radius: 50%; background: #DDE3EC;
  margin: 0 auto 7px; position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 4px; left: 50%; width: 100%; height: 2px; background: #E6EBF2;
}
.step.done { color: var(--p); font-weight: 600; }
.step.done i { background: var(--p); box-shadow: 0 0 0 3px var(--soft); }
.step.done:not(:last-child)::after { background: var(--p); opacity: .5; }
.pg-foot {
  margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: flex-end; gap: 2px;
  font-size: 12px; color: var(--p); font-weight: 600;
}
.pg-foot .ico { width: 14px; height: 14px; }

.notice-card { padding-bottom: 8px; }
.notice { width: 100%; display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.notice:last-child { border-bottom: 0; }
.n-tag {
  flex: none; font-size: 10px; color: var(--p); background: var(--soft); border-radius: 6px;
  padding: 3px 6px; font-weight: 600;
}
.n-title { flex: 1; font-size: 12.5px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.n-date { flex: none; font-size: 10px; color: #9AA3B2; }

.live-card {
  margin: 0 16px 12px; border-radius: var(--radius); padding: 16px; color: #fff; cursor: pointer;
  background: linear-gradient(120deg, #FF4E4E, #FF7A45 60%, #FFA940); display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 24px rgba(255, 78, 78, .25);
}
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 6px; animation: blink 1.2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.live-l { flex: 1; }
.live-l b { font-size: 10px; letter-spacing: 1px; background: rgba(255, 255, 255, .2); padding: 3px 8px; border-radius: 20px; }
.live-l h3 { font-size: 15px; margin-top: 8px; }
.live-l p { font-size: 11px; opacity: .82; margin-top: 3px; }
.live-play { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; flex: none; }

.feed { margin-bottom: 4px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 18px 10px; }
.sec-head h3 { font-size: 17px; letter-spacing: .2px; }
.sec-head small { font-size: 11px; color: var(--muted); }
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 16px; }
.p-card { background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(17, 24, 39, .035); }
.p-cover { height: 122px; position: relative; display: grid; place-items: center; }
.p-cover span { font-size: 46px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .12)); }
.p-badge {
  position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 9px; color: #fff;
  background: rgba(0, 0, 0, .28); border-radius: 20px; padding: 2px 7px; backdrop-filter: blur(4px);
}
.p-body { padding: 9px 10px 11px; }
.p-body h4 { font-size: 12.5px; line-height: 1.4; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.p-price { display: flex; align-items: baseline; gap: 5px; margin-top: 6px; }
.p-price b { color: #E5484D; font-size: 16px; letter-spacing: -.3px; }
.p-price s { color: #A6ADBB; font-size: 10px; }
.p-price em { font-style: normal; font-size: 9px; color: #E5484D; background: #FFEFEF; padding: 1px 4px; border-radius: 4px; }
.p-meta { font-size: 10px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 通用行卡片 ---------- */
.rows { display: flex; flex-direction: column; gap: 8px; }
.row-item {
  width: 100%; display: flex; align-items: center; gap: 8px; text-align: left;
  background: var(--card); border-radius: 14px; padding: 13px 14px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, .035); border: 1px solid rgba(17, 24, 39, .03);
}
.row-item:active { transform: scale(.995); }
.ri-main { flex: 1; min-width: 0; }
.ri-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ri-top b { font-size: 13.5px; font-weight: 600; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ri-meta { font-size: 11px; color: var(--muted); margin-top: 5px; }
.ri-dept { font-size: 10px; color: var(--p); margin-top: 4px; }
.ri-arrow { width: 16px; height: 16px; color: #C3CAD6; }
.pill { flex: none; font-size: 10px; line-height: 1; padding: 5px 7px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.pill.blue { color: #1663D8; background: #E8F1FF; }
.pill.green { color: #14804A; background: #E6F6ED; }
.pill.amber { color: #B25E00; background: #FFF3E0; }
.pill.gray { color: #6B7280; background: #F1F3F7; }
.pill.violet { color: #6D45D9; background: #F1EAFF; }

/* ---------- 底部导航 ---------- */
.tabbar {
  flex: none; display: flex; align-items: stretch; background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--line); padding: 7px 4px calc(6px + env(safe-area-inset-bottom));
  backdrop-filter: blur(12px);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #98A1B0; font-size: 10px; padding: 3px 0; }
.tab .ico { width: 22px; height: 22px; }
.tab.on { color: var(--p); font-weight: 600; }
.tab.on .ico { stroke-width: 2.1; }

/* ---------- 子页面 ---------- */
.sub-body { padding: 14px 16px 20px; }
.filter-bar { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar.wrap { flex-wrap: wrap; overflow: visible; }
.chip {
  flex: none; height: 31px; padding: 0 12px; border-radius: 20px; background: #fff;
  font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); white-space: nowrap;
}
.chip i { font-style: normal; font-size: 9px; color: #A3ABBA; }
.chip.on { background: var(--p); border-color: var(--p); color: #fff; font-weight: 600; box-shadow: 0 4px 10px rgba(22, 93, 255, .18); }
.chip.on i { color: rgba(255, 255, 255, .75); }
.search-bar {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; height: 42px; padding: 0 12px; margin-bottom: 10px;
}
.search-bar .ico { width: 18px; height: 18px; color: #9AA3B2; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-bar button { font-size: 12px; color: var(--p); font-weight: 600; padding: 4px 2px 4px 8px; }
.list-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 2px 2px 8px; }
.empty { text-align: center; color: var(--muted); font-size: 13px; padding: 50px 0; }
.empty.small { padding: 16px 0; font-size: 12px; }

/* ---------- 订单 ---------- */
.order-card { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
.oc-top { display: flex; align-items: center; justify-content: space-between; font-size: 10px; margin-bottom: 10px; }
.oc-body { display: flex; gap: 10px; }
.oc-cover { width: 54px; height: 54px; border-radius: 12px; background: linear-gradient(135deg, #FFF2DF, #FFE0B8); display: grid; place-items: center; font-size: 26px; flex: none; }
.oc-info { flex: 1; min-width: 0; }
.oc-info b { display: block; font-size: 13px; line-height: 1.4; }
.oc-info small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.oc-info span { display: block; color: #E5484D; font-weight: 700; font-size: 14px; margin-top: 5px; }
.oc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 10px; }

/* ---------- 详情 ---------- */
.detail .detail-hero {
  background: #fff; border-radius: var(--radius); padding: 18px 16px; margin-bottom: 10px;
  border-top: 4px solid var(--p); box-shadow: var(--shadow);
}
.dh-top { display: flex; align-items: center; justify-content: space-between; }
.detail h1 { font-size: 19px; line-height: 1.45; margin-top: 10px; letter-spacing: .2px; }
.dh-meta { font-size: 11px; color: var(--muted); margin-top: 7px; }
.blk-title { font-size: 13px; margin-bottom: 9px; color: var(--ink); }
.para { font-size: 13px; line-height: 1.85; color: #3D4655; white-space: pre-wrap; word-break: break-word; }
.meta-list { display: flex; flex-direction: column; gap: 9px; }
.meta-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; font-size: 12px; }
.meta-row span { color: var(--muted); flex: none; }
.meta-row b { font-weight: 500; text-align: right; line-height: 1.5; word-break: break-all; }
.reply-card { border-left: 3px solid var(--p); }
.rc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12px; }
.rc-head .ico { width: 16px; height: 16px; color: var(--p); }
.rc-head span { margin-left: auto; color: var(--muted); font-size: 10px; }
.timeline { padding-left: 4px; }
.tl-item { position: relative; padding: 0 0 18px 20px; }
.tl-item:last-child { padding-bottom: 2px; }
.tl-item::before {
  content: ""; position: absolute; left: 4px; top: 12px; bottom: 0; width: 1px; background: #E6EBF2;
}
.tl-item:last-child::before { display: none; }
.tl-item i {
  position: absolute; left: 0; top: 3px; width: 9px; height: 9px; border-radius: 50%;
  background: #DCE2EB; border: 2px solid #fff; box-shadow: 0 0 0 1px #DCE2EB;
}
.tl-item.done i, .tl-item.current i { background: var(--p); box-shadow: 0 0 0 3px var(--soft); }
.tl-item b { display: block; font-size: 12.5px; font-weight: 600; }
.tl-item span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.tl-item.done b { color: var(--ink); }
.tl-item:not(.done):not(.current) b { color: #9AA3B2; font-weight: 500; }
.pad { height: 76px; }
.action-bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); z-index: 20;
}
@media (min-width: 620px) { .action-bar { position: sticky; } }
.btn {
  height: 44px; border-radius: 13px; padding: 0 18px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap;
}
.btn.primary { background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; box-shadow: 0 8px 18px rgba(22, 93, 255, .22); }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost { background: #F4F6FA; color: #46505F; }
.btn.danger { background: #FFF0F0; color: #D9363E; }
.btn.grow { flex: 1; }
.btn.block { width: 100%; margin-top: 8px; }
.btn.tiny { height: 30px; padding: 0 12px; font-size: 11px; border-radius: 9px; }
.btn[disabled] { opacity: .55; }

/* ---------- 商品详情 ---------- */
.pd-cover {
  height: 240px; border-radius: 20px; display: grid; place-items: center; position: relative;
  margin-bottom: 12px; overflow: hidden;
}
.pd-cover > span { font-size: 96px; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .16)); }
.pd-tags { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.pd-tags i { font-style: normal; font-size: 10px; background: rgba(255, 255, 255, .82); color: #4A4F58; padding: 4px 8px; border-radius: 20px; }
.pd-main { padding: 2px 2px 12px; }
.pd-price { display: flex; align-items: baseline; gap: 7px; }
.pd-price b { color: #E5484D; font-size: 28px; letter-spacing: -.6px; }
.pd-price s { color: #A6ADBB; font-size: 12px; }
.pd-price em { font-style: normal; font-size: 10px; color: #E5484D; background: #FFEFEF; padding: 2px 6px; border-radius: 5px; }
.pd-sales { margin-left: auto; font-size: 10px; color: var(--muted); }
.pd-main h1 { font-size: 19px; line-height: 1.45; margin-top: 8px; }
.pd-sub { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 6px; }
.trace {
  margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--p);
  background: var(--soft); border-radius: 10px; padding: 10px;
}
.trace .ico { width: 16px; height: 16px; }
.trace .ico:last-child { margin-left: auto; width: 14px; height: 14px; }

/* ---------- 表单 ---------- */
.form-intro { font-size: 12px; color: var(--muted); line-height: 1.7; padding: 0 4px 12px; }
.form-body form { background: var(--card); border-radius: var(--radius); padding: 18px 16px 16px; box-shadow: var(--shadow); }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; color: #374151; }
.field .req { color: #E5484D; font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #E5E9F0; background: #F8FAFC; border-radius: 11px;
  padding: 12px 13px; font-size: 13px; outline: 0; transition: border-color .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--p); background: #fff; box-shadow: 0 0 0 3px rgba(22, 93, 255, .08); }
.field input::placeholder, .field textarea::placeholder { color: #A9B1BF; }
.upload { border: 1px dashed #D8DEEA; border-radius: 12px; padding: 12px; background: #FAFBFD; }
.up-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 16px 0; color: #8A94A6; font-size: 11px; }
.up-btn .ico { width: 26px; height: 26px; color: var(--p); }
.up-list { display: flex; gap: 8px; flex-wrap: wrap; }
.up-list img { width: 62px; height: 62px; object-fit: cover; border-radius: 9px; }
.tips { margin-top: 14px; padding: 14px 16px; background: #FFF9EC; border-radius: 14px; border: 1px solid #FCEBC8; }
.tips b { font-size: 11px; color: #9A6700; display: block; margin-bottom: 6px; }
.tips p { font-size: 11px; color: #8A6D3B; line-height: 1.7; position: relative; padding-left: 11px; }
.tips p::before { content: "·"; position: absolute; left: 2px; }

/* ---------- 我的 ---------- */
.profile .me-card {
  border-radius: 22px; padding: 20px 18px 16px; color: #fff; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--p), var(--p2)); box-shadow: 0 14px 30px rgba(22, 93, 255, .2);
}
.me-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .32); display: grid; place-items: center; font-size: 22px; font-weight: 700; flex: none;
}
.me-top b { display: block; font-size: 17px; }
.me-top span { display: block; font-size: 10px; opacity: .72; margin-top: 3px; }
.role-chip {
  margin-left: auto; height: 28px; padding: 0 10px; border-radius: 20px; background: rgba(255, 255, 255, .18);
  color: #fff; font-size: 11px; display: inline-flex; align-items: center; gap: 2px;
}
.role-chip .ico { width: 13px; height: 13px; }
.me-stats { display: flex; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.me-stats div { flex: 1; text-align: center; }
.me-stats b { display: block; font-size: 18px; }
.me-stats span { display: block; font-size: 10px; opacity: .72; margin-top: 3px; }
.me-sec { padding: 14px 16px 6px; }
.me-sec h3 { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.me-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; text-align: left; }
.me-item:last-child { border-bottom: 0; }
.mi-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--soft); color: var(--p); display: grid; place-items: center; flex: none; }
.mi-ico .ico { width: 17px; height: 17px; }
.mi-arrow { width: 15px; height: 15px; color: #C3CAD6; margin-left: auto; }
.ver { text-align: center; font-size: 10px; color: #A9B1BF; margin: 18px 0 4px; }

/* ---------- 弹层 / toast ---------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 100;
  display: flex; align-items: flex-end; justify-content: center; animation: fade .2s;
}
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 480px; background: #fff; border-radius: 22px 22px 0 0;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); animation: up .25s ease;
}
@keyframes up { from { transform: translateY(30px); opacity: .4; } }
.sheet h3 { font-size: 17px; }
.sheet-sub { font-size: 11px; color: var(--muted); margin-top: 7px; line-height: 1.6; }
.stars { display: flex; justify-content: center; gap: 8px; margin: 20px 0; }
.stars button { font-size: 30px; color: #E2E6EE; line-height: 1; }
.stars button.on { color: #FFB020; text-shadow: 0 4px 10px rgba(255, 176, 32, .3); }
.sheet-text { width: 100%; min-height: 78px; border: 1px solid var(--line); border-radius: 12px; background: #F8FAFC; padding: 11px; font-size: 12px; resize: none; outline: 0; }
.sheet-btns { display: flex; gap: 10px; margin-top: 16px; }
.sheet-btns .btn { flex: 1; }
.toast {
  position: fixed; left: 50%; bottom: 86px; transform: translate(-50%, 12px); z-index: 200;
  background: rgba(17, 24, 39, .9); color: #fff; font-size: 12px; padding: 10px 16px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: .25s; max-width: 320px; text-align: center; line-height: 1.5;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   管理工作台（PC）
   ========================================================= */
body.admin { background: #F3F5F9; color: #1B2432; }
.admin-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 238px; flex: none; background: #0E1726; color: #AEB9CB; display: flex; flex-direction: column;
  padding: 22px 14px 16px; position: fixed; inset: 0 auto 0 0; z-index: 30;
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 22px; }
.side-logo {
  width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none;
}
.side-brand b { display: block; color: #fff; font-size: 14px; }
.side-brand small { display: block; font-size: 9px; color: #7C8AA0; margin-top: 3px; letter-spacing: .5px; }
.side-label { font-size: 9px; letter-spacing: 1.5px; color: #5D6B80; padding: 0 10px 8px; }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav button {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 11px; border-radius: 10px;
  color: #AEB9CB; font-size: 13px; text-align: left; width: 100%;
}
.side-nav button .ico { width: 18px; height: 18px; }
.side-nav button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-nav button.on { background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; box-shadow: 0 8px 18px rgba(22, 93, 255, .28); }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 8px 0; font-size: 10px; color: #6C7A8F; line-height: 1.7; }
.side-foot a { color: #AEB9CB; }

.main { flex: 1; margin-left: 238px; min-width: 0; }
.topbar {
  height: 64px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid #E8ECF3; display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; position: sticky; top: 0; z-index: 20;
}
.topbar h1 { font-size: 17px; }
.topbar .crumb { font-size: 10px; color: #94A0B2; margin-top: 2px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-search { display: flex; align-items: center; gap: 7px; height: 36px; background: #F4F6FA; border: 1px solid #E8ECF3; border-radius: 9px; padding: 0 11px; }
.top-search input { border: 0; outline: 0; background: transparent; font-size: 12px; width: 170px; }
.top-search .ico { width: 15px; height: 15px; color: #8994A6; }
.admin-user { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.admin-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.content { padding: 22px 26px 60px; max-width: 1440px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.page-head h2 { font-size: 20px; letter-spacing: .2px; }
.page-head p { font-size: 11px; color: #8994A6; margin-top: 5px; }
.page-actions { display: flex; gap: 8px; }
.btn-sm {
  height: 34px; padding: 0 13px; border-radius: 9px; background: #fff; border: 1px solid #E4E9F1;
  font-size: 12px; color: #455065; display: inline-flex; align-items: center; gap: 5px; font-weight: 500;
}
.btn-sm.primary { background: var(--p); border-color: var(--p); color: #fff; }
.btn-sm:hover { border-color: #C9D3E2; }
.btn-sm.primary:hover { filter: brightness(1.05); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi-card { background: #fff; border-radius: 14px; padding: 16px 17px; border: 1px solid #EDF0F5; position: relative; overflow: hidden; }
.kpi-card::after { content: ""; position: absolute; right: -22px; top: -30px; width: 80px; height: 80px; border-radius: 50%; background: var(--soft); opacity: .7; }
.kpi-card span { font-size: 11px; color: #8994A6; }
.kpi-card b { display: block; font-size: 25px; margin-top: 7px; letter-spacing: -.5px; }
.kpi-card em { font-style: normal; font-size: 10px; margin-left: 6px; color: #14804A; background: #E6F6ED; padding: 2px 5px; border-radius: 4px; vertical-align: 3px; }
.kpi-card em.down { color: #B25E00; background: #FFF3E0; }
.kpi-card small { display: block; font-size: 10px; color: #A3ADBB; margin-top: 5px; }

.panel { background: #fff; border-radius: 14px; border: 1px solid #EDF0F5; padding: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h3 { font-size: 14px; }
.panel-head span { font-size: 10px; color: #94A0B2; }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-bottom: 12px; }
.chart-bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 74px 1fr 38px; align-items: center; gap: 10px; font-size: 11px; }
.bar-row span { color: #67728A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 9px; border-radius: 6px; background: #F1F4F9; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--p), var(--p2)); }
.bar-row b { text-align: right; font-size: 11px; color: #455065; font-weight: 600; }
.donut-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 0; }
.donut {
  width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--p) calc(var(--v) * 1%), #EEF2F8 0);
}
.donut::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.donut b { position: relative; z-index: 1; font-size: 23px; }
.donut b i { font-style: normal; font-size: 11px; color: #8994A6; }
.donut-wrap p { font-size: 10px; color: #8994A6; margin-top: 10px; }
.chart-legend { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.chart-legend i { font-style: normal; font-size: 9px; color: #67728A; background: #F4F6FA; padding: 3px 6px; border-radius: 4px; }

.table-card { background: #fff; border-radius: 14px; border: 1px solid #EDF0F5; overflow: hidden; }
.table-toolbar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #F0F3F8; }
.table-toolbar h3 { font-size: 14px; margin-right: auto; }
.table-toolbar input, .table-toolbar select {
  height: 32px; border: 1px solid #E6EAF2; border-radius: 8px; padding: 0 10px; font-size: 11px; outline: 0; background: #fff;
}
.table-toolbar input { width: 180px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 10px; color: #8994A6; font-weight: 500; padding: 11px 16px; background: #FAFBFD; border-bottom: 1px solid #F0F3F8; white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid #F3F5FA; font-size: 12px; color: #3A4558; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: #FBFCFE; }
.t-title { font-weight: 600; color: #1B2432; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-sub { font-size: 10px; color: #98A2B3; margin-top: 3px; }
.t-actions { display: flex; gap: 5px; justify-content: flex-end; }
.t-btn { height: 26px; padding: 0 9px; border-radius: 6px; border: 1px solid #E4E9F1; background: #fff; font-size: 10px; color: #55617A; }
.t-btn.main { color: var(--p); border-color: rgba(22, 93, 255, .25); background: var(--soft); }
.t-btn:hover { background: #F5F8FF; }
.t-done { font-size: 10px; color: #A3ACBB; padding-right: 4px; }
.table-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 10px; color: #98A2B3; }
.pager { display: flex; gap: 4px; }
.pager button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid #E6EAF2; background: #fff; font-size: 10px; }
.pager button.on { background: var(--p); border-color: var(--p); color: #fff; }

.org-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.org-card { background: #fff; border: 1px solid #EDF0F5; border-radius: 13px; padding: 16px; }
.org-card b { font-size: 13px; display: block; }
.org-card span { font-size: 10px; color: #8994A6; display: block; margin-top: 4px; }
.org-bar { height: 6px; background: #F1F4F9; border-radius: 4px; margin-top: 12px; overflow: hidden; }
.org-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--p), var(--p2)); border-radius: 4px; }
.org-meta { display: flex; justify-content: space-between; font-size: 10px; color: #8994A6; margin-top: 8px; }

.drawer-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .38); z-index: 80; animation: fade .18s; }
.drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: 440px; max-width: 92vw; background: #fff; z-index: 81;
  box-shadow: -20px 0 60px rgba(15, 23, 42, .18); display: flex; flex-direction: column; animation: slideIn .22s ease;
}
@keyframes slideIn { from { transform: translateX(40px); opacity: .5; } }
.drawer-head { padding: 18px 20px; border-bottom: 1px solid #F0F3F8; display: flex; align-items: flex-start; gap: 10px; }
.drawer-head h3 { font-size: 15px; line-height: 1.5; flex: 1; }
.drawer-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.drawer-body .meta-row { padding: 8px 0; border-bottom: 1px dashed #F0F3F8; }
.drawer-body .para { background: #F8FAFC; padding: 12px; border-radius: 10px; margin-top: 6px; }
.drawer-foot { padding: 14px 20px; border-top: 1px solid #F0F3F8; display: flex; gap: 8px; justify-content: flex-end; }
.tag { display: inline-block; font-size: 10px; padding: 3px 7px; border-radius: 5px; background: #F1F4F9; color: #67728A; }

.toast.admin-toast { bottom: 30px; }

@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sidebar { width: 68px; padding: 18px 8px; }
  .side-brand b, .side-brand small, .side-label, .side-nav button span, .side-foot { display: none; }
  .side-brand { justify-content: center; padding-bottom: 16px; }
  .side-nav button { justify-content: center; padding: 0; }
  .main { margin-left: 68px; }
  .content { padding: 16px; }
  .top-search { display: none; }
}
/* ---------------- 就业服务：岗位卡与岗位详情 ---------------- */
.job-rows { display: flex; flex-direction: column; gap: 10px; }
.job-card {
  width: 100%; text-align: left; background: var(--card); border: 1px solid #F0E6DC;
  border-radius: 16px; padding: 14px 15px; display: block; color: var(--ink);
  box-shadow: 0 6px 18px rgba(90, 55, 30, .05); cursor: pointer;
}
.job-card:active { transform: scale(.995); }
.jc-top { display: flex; align-items: baseline; gap: 8px; }
.jc-top b { flex: 1; font-size: 15px; line-height: 1.45; }
.jc-salary { flex: none; font-style: normal; font-weight: 700; font-size: 14px; color: var(--p); }
.jc-meta { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.jc-foot { display: flex; align-items: center; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.jc-company { font-size: 11.5px; color: #5E5348; max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc-tags { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.jc-tags i { font-style: normal; font-size: 10px; color: #8A6A52; background: #FBF1E8; border-radius: 5px; padding: 2px 6px; }

.jd-hero {
  background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff;
  border-radius: 20px; padding: 22px 18px 18px; box-shadow: 0 14px 30px rgba(120, 50, 30, .18);
}
.jd-salary { font-size: 25px; font-weight: 800; letter-spacing: -.5px; }
.jd-hero h1 { font-size: 19px; margin: 7px 0 6px; line-height: 1.4; }
.jd-meta { font-size: 11.5px; opacity: .9; }
.jd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.jd-tags i { font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.16); }
.jd-tags .pill { background: rgba(255,255,255,.9); }
.jd-company { display: flex; align-items: center; gap: 11px; }
.jc-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--p), var(--p2)); }
.jd-company b { display: block; font-size: 14px; }
.jd-company small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.jd-safe { display: flex; align-items: flex-start; gap: 6px; font-size: 11px; color: #9A7A64; line-height: 1.6; padding: 2px 4px 0; }
.jd-safe .ico { width: 14px; height: 14px; flex: none; margin-top: 1px; }

/* ---------------- 企业服务工作台 ---------------- */
.ent-page { display: flex; flex-direction: column; gap: 12px; }
.ent-hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 20px 18px 16px;
  color: #fff; background: linear-gradient(135deg, #A94A31, #CB6446 55%, #DE9670);
  box-shadow: 0 16px 34px rgba(120, 50, 30, .2);
}
.ent-hero::after { content: ''; position: absolute; right: -30px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.ent-badge { display: inline-block; font-size: 10px; letter-spacing: 1px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.ent-hero h2 { margin: 12px 0 4px; font-size: 22px; letter-spacing: -.5px; }
.ent-hero p { font-size: 11.5px; opacity: .86; }
.ent-select { display: block; margin-top: 14px; background: rgba(255, 255, 255, .14); border-radius: 12px; padding: 8px 11px; }
.ent-select span { display: block; font-size: 10px; opacity: .8; }
.ent-select select { width: 100%; margin-top: 3px; background: transparent; color: #fff; font-size: 14px; font-weight: 600; border: 0; outline: 0; }
.ent-select option { color: #2A211C; }
.ent-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ent-stats div { background: var(--card); border: 1px solid #F2E6DC; border-radius: 14px; padding: 12px 10px; text-align: center; }
.ent-stats b { display: block; font-size: 21px; color: var(--p); }
.ent-stats span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.ent-card { padding: 14px 14px 12px; }
.ent-card .blk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.ent-card .blk-head h3 { font-size: 14px; }
.ent-card .blk-head small { font-size: 10.5px; color: var(--muted); }
.ent-list { display: flex; flex-direction: column; gap: 8px; }
.ent-job, .ent-app { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border: 1px solid #F3E9E0; border-radius: 12px; background: #FFFCF9; }
.ent-job-main, .ent-app-main { flex: 1; min-width: 0; }
.ent-job-main b, .ent-app-main b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-job-main small, .ent-app-main small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-job-side, .ent-app-side { display: flex; align-items: center; gap: 5px; flex: none; flex-wrap: wrap; justify-content: flex-end; max-width: 48%; }
.mini-btn { height: 24px; padding: 0 8px; border-radius: 6px; border: 1px solid #EADFD5; background: #fff; color: #7A6354; font-size: 10px; }
.mini-btn.primary { color: var(--p); border-color: rgba(184, 69, 47, .25); background: #FDF1EB; }
.ent-form { background: #FBF5EF; border-radius: 12px; padding: 11px; margin-bottom: 10px; }
.ent-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.ent-form label { display: block; font-size: 10.5px; color: #7A6354; }
.ent-form input, .ent-form select, .ent-form textarea { width: 100%; margin-top: 3px; border: 1px solid #EADFD5; border-radius: 8px; background: #fff; padding: 7px 8px; font-size: 12px; color: var(--ink); outline: 0; }
.ent-form textarea { resize: vertical; }
.ent-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 9px; }
.ent-form-actions .btn { height: 32px; padding: 0 14px; font-size: 12px; }
.ent-form-actions .btn.ghost { background: #fff; color: #7A6354; border: 1px solid #EADFD5; }

/* ---------------- 可点击的卡片头 / 统计卡 ---------------- */
.card-more {
  display: inline-flex; align-items: center; gap: 1px; flex: none;
  font-size: 11px; color: var(--muted); padding: 3px 2px 3px 6px; border-radius: 999px;
}
.card-more .ico { width: 13px; height: 13px; opacity: .7; }
.card-more:active { color: var(--p); background: var(--soft); }
.card-head small { display: inline-flex; align-items: center; gap: 1px; font-size: 11px; color: var(--muted); }
.card-head small .ico { width: 13px; height: 13px; opacity: .7; }

button.stat { width: 100%; text-align: left; font-family: inherit; position: relative; cursor: pointer; }
button.stat:active { transform: scale(.985); }
.stat .stat-arrow { position: absolute; right: 9px; top: 9px; width: 13px; height: 13px; color: var(--muted); opacity: .55; }
.svc-tip { display: flex; align-items: flex-start; gap: 6px; font-size: 11px; color: var(--muted); line-height: 1.65; padding: 4px 3px 0; }
.svc-tip .ico { width: 14px; height: 14px; flex: none; margin-top: 1px; }

/* ---------------- 全部就业服务 ---------------- */
.services { display: flex; flex-direction: column; gap: 12px; }
.services .card-head small { font-size: 10.5px; }

/* ---------------- 就业快讯 ---------------- */
.news { display: flex; flex-direction: column; }
.news .filter-bar { margin-bottom: 10px; }
.news .search-bar { margin-bottom: 12px; }
.news-list { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.news-card {
  display: flex; gap: 12px; width: 100%; text-align: left; color: var(--ink);
  background: var(--card); border: 1px solid #F3E9E0; border-radius: 16px; padding: 12px;
  box-shadow: 0 6px 18px rgba(90, 55, 30, .05); cursor: pointer;
}
.news-card:active { transform: scale(.995); }
.nc-cover {
  width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: linear-gradient(135deg, #FDF1EB, #F7E3D6);
}
.nc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nc-body b {
  font-size: 13.5px; line-height: 1.4; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nc-sum {
  font-size: 11.5px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nc-meta { font-size: 10px; color: #A3ACBB; }

/* ---------------- 快讯详情（文章） ---------------- */
.article { display: flex; flex-direction: column; gap: 12px; }
.art-head { background: var(--card); border-radius: 20px; padding: 18px 16px 16px; box-shadow: var(--shadow); }
.art-tag { display: inline-block; font-size: 10.5px; color: var(--p); background: #FDF1EB; border-radius: 999px; padding: 3px 9px; }
.art-head h1 { font-size: 19px; line-height: 1.45; letter-spacing: -.3px; margin: 10px 0 8px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 10.5px; color: var(--muted); }
.art-cover {
  margin-top: 13px; height: 118px; border-radius: 14px; display: grid; place-items: center; font-size: 44px;
  background: linear-gradient(135deg, #FDF1EB, #F6E2D4);
}
.art-body { display: flex; flex-direction: column; gap: 10px; }
.art-lead { font-size: 13.5px; line-height: 1.85; font-weight: 600; color: #3A2B22; }
.art-body .para { font-size: 13px; line-height: 1.9; color: #4A3B31; }
.art-share { display: flex; gap: 8px; }
.art-share .btn { font-size: 12px; }

/* ---------------- 消息通知 ---------------- */
.messages { display: flex; flex-direction: column; }
.msg-head { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); padding: 0 3px 9px; }
.msg-group { display: flex; flex-direction: column; gap: 8px; }
.msg-card {
  display: flex; gap: 10px; width: 100%; text-align: left; color: var(--ink);
  background: var(--card); border: 1px solid #F3E9E0; border-radius: 14px; padding: 12px; cursor: pointer;
}
.msg-card.unread { border-color: rgba(184, 69, 47, .22); background: #FFFCFA; }
.msg-card:active { transform: scale(.995); }
.msg-ico {
  width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--p), var(--p2));
}
.msg-ico .ico { width: 17px; height: 17px; }
.msg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mb-top { display: flex; align-items: center; gap: 6px; }
.mb-top b { flex: 1; font-size: 13px; font-weight: 600; }
.msg-dot { width: 6px; height: 6px; border-radius: 50%; background: #FF5A5F; flex: none; }
.msg-text {
  font-size: 11.5px; color: var(--muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.msg-time { font-size: 10px; color: #AEB6C2; }
.messages .blk-title { margin: 14px 3px 8px; }

/* ---------------- 成功就业 ---------------- */
.ach { display: flex; flex-direction: column; gap: 12px; }
.ach-hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 20px 18px 18px; color: #fff;
  background: linear-gradient(135deg, #A94A31, #CB6446 55%, #DE9670);
  box-shadow: 0 16px 34px rgba(120, 50, 30, .2);
}
.ach-hero::after { content: ''; position: absolute; right: -34px; top: -44px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.ach-top { display: flex; align-items: baseline; gap: 5px; position: relative; }
.ach-num { font-size: 40px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.1; }
.ach-unit { font-size: 13px; opacity: .88; }
.ach-sub { font-size: 11.5px; opacity: .9; margin-top: 3px; position: relative; }
.ach-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; position: relative; }
.ach-metrics div { background: rgba(255, 255, 255, .15); border-radius: 12px; padding: 9px 7px; text-align: center; }
.ach-metrics b { display: block; font-size: 15px; font-weight: 700; }
.ach-metrics span { display: block; font-size: 9.5px; opacity: .84; margin-top: 2px; }

.bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; height: 128px; padding-top: 12px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; }
.bar b { font-size: 10px; color: var(--muted); font-weight: 600; }
.bar i { display: block; width: 100%; max-width: 20px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--p2), var(--p)); }
.bar span { font-size: 9.5px; color: #A3ACBB; }

.rank { display: flex; flex-direction: column; gap: 9px; }
.rank-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.rk { width: 18px; height: 18px; flex: none; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 10px; background: #F1F4F9; color: #7A8598; }
.rk.top { background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; }
.rank-row b { width: 58px; flex: none; font-size: 11.5px; font-weight: 600; }
.rank-bar { flex: 1; height: 7px; border-radius: 999px; background: #F1F4F9; overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--p2), var(--p)); }
.rank-row em { width: 42px; flex: none; text-align: right; font-style: normal; font-size: 10.5px; color: var(--muted); }

.cases { display: flex; flex-direction: column; gap: 10px; }
.case-card { border: 1px solid #F3E9E0; border-radius: 14px; padding: 12px; background: #FFFCFA; }
.case-top { display: flex; align-items: center; gap: 9px; }
.case-ava { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #FDF1EB; font-size: 17px; }
.case-top b { display: block; font-size: 12.5px; }
.case-top small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.case-job { font-size: 11px; font-weight: 600; color: var(--p); margin: 8px 0 4px; }
.case-card .para { font-size: 12px; line-height: 1.7; color: #5E5348; }
.ach .btn.block { margin-top: 2px; font-size: 13px; }

.me-stats{cursor:pointer}
.me-stats:active{opacity:.86}

/* ---- 我的信息 / 报名确认 ---- */
.info-sheet h3 { margin-bottom: 2px; }
.cf-list { margin-top: 14px; border-radius: 14px; background: #F8FAFC; border: 1px solid #EDF1F6; padding: 4px 13px; }
.cf-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #EDF1F6; font-size: 12px; }
.cf-row:last-child { border-bottom: 0; }
.cf-row span { color: var(--muted); flex-shrink: 0; }
.cf-row b { font-weight: 600; color: var(--ink); text-align: right; word-break: break-all; }
.cf-tip { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.cf-tip .ico { width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px; color: var(--p); }
.up-hint { margin-top: 8px; font-size: 10.5px; color: var(--muted); line-height: 1.6; }

/* ---- 身份切换 / 企业资料 / 求职者信息 ---- */
.ent-rolebar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;font-size:11px;color:rgba(255,255,255,.78)}
.ent-rolebar .mini-btn{background:rgba(255,255,255,.18);color:#fff;border:none}
.ent-rolebar .mini-btn:active{background:rgba(255,255,255,.3)}
.role-chip[data-act="set-role"][data-role="company"]{white-space:nowrap}
.applicant-card .meta-row b{max-width:62%;text-align:right}
.ap-tip{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:11px;color:var(--p)}
.ap-tip svg{width:13px;height:13px}

/* ---- 投递 / 简历闭环 ---- */
.resume-link { margin-bottom: 12px; }
.resume-link .blk-head { display: flex; justify-content: space-between; align-items: baseline; }
.resume-link .blk-head small { font-size: 10.5px; color: var(--muted); }
.rl-empty { font-size: 11.5px; line-height: 1.7; color: var(--muted); margin: 0 0 10px; }
.rl-thumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0 0; }
.rl-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.rl-thumbs span { font-size: 10.5px; color: var(--muted); }
.rl-tip { display: flex; gap: 5px; align-items: flex-start; font-size: 10.5px; color: var(--muted); line-height: 1.6; margin: 10px 0; }
.rl-tip svg { width: 13px; height: 13px; flex: none; margin-top: 1px; color: var(--p); }
.rl-ops { display: flex; gap: 8px; }
.resume-usage { display: flex; gap: 7px; align-items: flex-start; padding: 10px 12px; margin-bottom: 12px; border-radius: 12px; background: var(--soft); font-size: 11px; line-height: 1.6; color: var(--ink); }
.resume-usage svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: var(--p); }

/* ---- 推荐 / 收藏 / 培训报名 / 号码提示 ---- */
.rec-card .card-head { margin-bottom: 8px; }
.rec-hint { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }
.rec-hint svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: var(--p2); }
.rec-card .job-card + .job-card { margin-top: 10px; }
.tip-card { padding: 4px 0 0; }
.tip-card .card-head { margin-bottom: 6px; }
.tip-card .para { margin: 0; }
.fav-row { display: flex; align-items: center; gap: 8px; }
.fav-row .ri-main { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fav-type { font-size: 10px; color: var(--p); background: var(--soft); border-radius: 6px; padding: 1px 6px; flex: none; }
.fav-row .btn.tiny { flex: none; }
.jd-phone-tip { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; line-height: 1.6; color: var(--muted); margin: 2px 0 0; }
.jd-phone-tip svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: var(--p2); }
.jd-phone-tip.ok { color: #2F8F6B; }
.jd-phone-tip.ok svg { color: #2F8F6B; }


/* ---- 简历快照（投递详情） ---- */
.cv-card .blk-head { margin-bottom: 8px; }
.cv-intent { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 12px; border-bottom: 1px dashed var(--line); }
.cv-intent span { color: var(--muted); }
.cv-intent b { font-weight: 600; color: var(--ink); }
.cv-sub { margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--ink); }
.cv-works { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cv-work { position: relative; padding-left: 11px; border-left: 2px solid var(--soft); }
.cv-work b { font-size: 12.5px; }
.cv-co { font-size: 11px; color: var(--muted); margin-left: 6px; }
.cv-period { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.cv-desc { font-size: 11.5px; line-height: 1.7; color: #5C5148; margin: 4px 0 0; }
.cv-text { font-size: 12px; line-height: 1.75; color: #5C5148; margin-top: 6px; }
.cv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cv-chip { font-size: 10.5px; color: var(--p); background: var(--soft); border-radius: 999px; padding: 3px 9px; }

/* ---- 内容不存在 / 空态卡片 ---- */
.miss-card { margin: 28px 8px 0; padding: 26px 20px 22px; text-align: center; background: var(--card); border-radius: 18px; box-shadow: 0 6px 18px rgba(90,45,32,.06); }
.miss-card .ico { width: 30px; height: 30px; margin: 0 auto 10px; display: block; color: var(--p2); }
.miss-card b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; }
.miss-card p { font-size: 11.5px; line-height: 1.7; color: var(--muted); margin: 0 0 16px; }
.miss-ops { display: flex; gap: 10px; justify-content: center; }
.miss-ops .btn { font-size: 12px; padding: 9px 14px; }

/* ---- 企业详情 / 岗位详情企业入口 ---- */
.jd-company-btn { width: 100%; background: none; border: 0; padding: 0; text-align: left; }
.jd-company-btn .co-arrow { margin-left: auto; width: 15px; height: 15px; color: var(--muted); flex: none; }
.jd-company-btn:active { opacity: .82; }
.co-detail .co-hero { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.co-logo { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 600; background: linear-gradient(135deg, #A94A31, #C2543C 55%, #D07E5B); }
.co-head { flex: 1; min-width: 0; }
.co-head b { display: block; font-size: 16px; line-height: 1.35; }
.co-head span { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; color: var(--muted); }
.co-head span .ico { width: 12px; height: 12px; color: #2F8F6B; }
.co-tags { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.co-tags i { font-style: normal; font-size: 10.5px; color: var(--muted); background: var(--soft); border-radius: 6px; padding: 3px 8px; }
.co-detail .meta-row b { text-align: right; }
.co-detail .empty { padding: 18px 0; }
