/* 安薪工 手机端 · 页面结构（一问一答、列表、详情）。颜色字号沿用 app.css 的变量，规范见 DESIGN.md */
.app > .login { max-width: 420px; margin: 0 auto; width: 100%; flex-direction: column; align-items: stretch; }

/* 顶部导航：返回 + 标题 */
.nav { flex: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 12px 14px 6px; }
.nav b { text-align: center; font-size: 18px; font-weight: 800; }
.nav-gap { width: 84px; }
.nav .back-btn { justify-self: start; }
.scroll { flex: 1; overflow-y: auto; padding: 6px 16px 28px; -webkit-overflow-scrolling: touch; }
.page-loading { flex: 1; }
.lead { font-size: 17px; color: var(--ink-2); margin: 6px 2px 16px; line-height: 1.6; }
.lbl { font-size: 14px; font-weight: 700; color: var(--muted); margin: 18px 2px 8px; }
.empty { color: var(--muted); font-size: 16px; padding: 24px 4px; line-height: 1.6; }
.link-btn { display: block; margin: 22px auto 0; font-size: 16px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.btn.block { width: 100%; flex: none; }
.tag.ok { background: var(--mint); color: var(--positive); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.done { background: var(--ink); color: #fff; }

/* 首页 */
.profile-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: -8px 0 16px; padding: 10px 16px; border-radius: 999px; background: var(--subtle); font-size: 15px; font-weight: 600; color: var(--ink-2); text-align: left; }
.profile-strip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-strip em { font-style: normal; text-decoration: underline; text-underline-offset: 3px; flex: none; }
.app > .dock .hold span { font-size: 18px; }

/* 一问一答 */
.wz { flex: 1; overflow-y: auto; padding: 4px 18px 20px; }
.prog { display: flex; align-items: center; gap: 10px; margin: 4px 0 20px; font-size: 14px; color: var(--muted); font-weight: 700; }
.prog .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--subtle); overflow: hidden; }
.prog .bar i { display: block; height: 100%; background: var(--ink); border-radius: 3px; transition: width .25s; }
.q { font-size: 29px; font-weight: 900; line-height: 1.22; letter-spacing: -.3px; margin: 0 0 8px; }
.qhint { font-size: 16px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.55; }
.opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 62px; padding: 12px 20px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring); font-size: 19px; font-weight: 700; margin-bottom: 10px; text-align: left; }
.opt small { display: block; font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.opt.sel { box-shadow: 0 0 0 2.5px var(--ink); }
.opt.soft { background: transparent; font-weight: 600; color: var(--ink-2); }
.opt .radio, .opt .box { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ring); }
.opt .box { border-radius: 7px; }
.opt.sel .radio { box-shadow: inset 0 0 0 7px var(--ink); }
.opt.sel .box { background: var(--ink); box-shadow: none; }
.opt.sel .box::after { content: ''; display: block; width: 7px; height: 12px; margin: 4px 0 0 8px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }
.opt.multi { font-size: 17px; min-height: 56px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring); font-size: 16px; font-weight: 600; }
.chip svg { width: 16px; height: 16px; }
.chip.sel { background: var(--ink); color: #fff; box-shadow: none; }
.chip.soft { background: transparent; color: var(--ink-2); }
.chip-date { height: 44px; border: 0; border-radius: 999px; padding: 0 12px; box-shadow: 0 0 0 1px var(--ring); background: var(--surface); font-size: 15px; }
.sub-q { font-size: 17px; font-weight: 700; margin: 18px 2px 10px; }
.seg4 .opt { min-height: 56px; }
.numbox { display: flex; align-items: baseline; justify-content: space-between; height: 82px; padding: 0 22px; border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 2.5px var(--ink); margin-bottom: 12px; }
.numbox b { font-size: 44px; font-weight: 900; line-height: 82px; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.numbox b .ph { color: rgba(14, 15, 12, .2); }
.numbox small { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.keys button { height: 58px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring); font-size: 24px; font-weight: 700; }
.keys button.fn { font-size: 16px; color: var(--ink-2); background: transparent; }
.keys.compact button { height: 50px; font-size: 21px; }
.months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 12px; }
.months .chip { justify-content: center; padding: 0; height: 42px; }
.months .chip.soft { grid-column: span 4; }
.big-input { display: block; width: 100%; height: 62px; border: 0; border-radius: 20px; padding: 0 20px; font-size: 22px; font-weight: 700; background: var(--surface); box-shadow: 0 0 0 1px var(--ring); outline: none; margin: 4px 0 8px; }
.big-input:focus { box-shadow: 0 0 0 2.5px var(--ink); }
.heard { margin: 14px 2px 0; padding: 12px 16px; border-radius: 16px; background: var(--mint); color: var(--on-green); font-size: 16px; font-weight: 600; }
.known { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin-top: 18px; padding: 12px 16px; border-radius: 16px; background: var(--subtle); font-size: 14px; color: var(--ink-2); }
.known b { color: var(--ink); font-weight: 700; }
.known a { color: var(--ink); font-weight: 700; margin-left: auto; }
.wz-dock .dock-row { gap: 12px; }
.mic-round { flex: none; width: 62px; height: 62px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.mic-round svg { width: 28px; height: 28px; }
.mic-round.on { transform: scale(.95); background: #2a2c28; }
.btn-next { flex: 1; height: 62px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 19px; font-weight: 700; }
.btn-next:disabled { background: var(--subtle); color: var(--muted); }
.wz-say { flex: 1; font-size: 15px; color: var(--muted); font-weight: 600; }

/* 找活 */
.filters { flex: none; padding: 4px 16px 10px; display: flex; flex-direction: column; gap: 8px; }
.scroll-x { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x .chip { flex: none; }
.count { font-size: 14px; color: var(--muted); font-weight: 700; margin: 2px 2px 10px; }
.job-card { display: block; width: 100%; text-align: left; background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--ring); padding: 16px 18px; margin-bottom: 10px; }
.jc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.jc-top b { font-size: 19px; font-weight: 800; line-height: 1.3; }
.jc-wage { font-size: 28px; font-weight: 900; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.jc-wage small { font-size: 13px; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.jc-meta { font-size: 15px; color: var(--ink-2); margin: 8px 0 8px; }
.jc-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* 岗位详情 */
.detail { padding: 4px 2px; }
.d-title { font-size: 28px; font-weight: 900; line-height: 1.2; margin: 4px 0 10px; }
.d-wage { font-size: 48px; font-weight: 900; letter-spacing: -1px; line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.d-wage small { font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.detail .kv { background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--ring); padding: 4px 18px; margin: 0; }
.detail .kv div { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--hair); font-size: 16px; }
.detail .kv div:first-child { border-top: 0; }
.detail dt { flex: none; width: 72px; color: var(--muted); }
.detail dd { margin: 0; font-weight: 600; }
.dock.two { display: flex; gap: 10px; }
.dock.two .btn { height: 58px; font-size: 18px; }

/* 补贴结果 */
.res { background: var(--surface); border-radius: 26px; box-shadow: 0 0 0 1px var(--ring); padding: 18px 18px 20px; margin-bottom: 14px; }
.res-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.res .btn.block { margin-top: 16px; height: 56px; }
.res-none { font-size: 22px; font-weight: 800; margin: 4px 0 8px; }
.done-card { text-align: center; padding: 30px 20px; }
.done-card > svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--mint); color: var(--positive); }
.done-card h2 { font-size: 26px; font-weight: 900; margin: 12px 0 6px; }
.done-card p { font-size: 17px; color: var(--ink-2); line-height: 1.6; }

/* 记工账 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--ring); padding: 16px 18px; margin: 4px 0 14px; }
.stats b { display: block; font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats small { font-size: 13px; color: var(--muted); }
.stats .warn b { color: var(--danger); }
.ledger { background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--ring); padding: 2px 18px; }
.lg-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--hair); }
.lg-row:first-child { border-top: 0; }
.lg-row b { display: block; font-size: 17px; }
.lg-row small { color: var(--muted); font-size: 14px; }
.lg-r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lg-r .tag { font-size: 13px; }
.form .opts .opt { min-height: 56px; font-size: 17px; }

/* 讨工钱 */
.rp-card { background: var(--surface); border-radius: 20px; box-shadow: 0 0 0 1px var(--ring); padding: 14px 18px; margin-bottom: 10px; }
.rp-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rp-h b { font-size: 18px; }
.rp-card p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }

/* 我的 */
.kv-list { background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--ring); padding: 2px 18px; }
.kv-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border-top: 1px solid var(--hair); text-align: left; font-size: 16px; }
.kv-row:first-child { border-top: 0; }
.kv-row span { color: var(--muted); }
.kv-row b { font-weight: 700; text-align: right; }
.kv-row b i { font-style: normal; color: var(--muted); font-weight: 500; }
.kv-row em { font-style: normal; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dock > .hold { width: 100%; }
.detail .kv div { justify-content: flex-start; } .detail dd { flex: 1; text-align: left; }

/* 雇主登记 */
.block-next { width: 100%; flex: none; }
.shot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 180px; border-radius: 24px; background: var(--surface); box-shadow: 0 0 0 1.5px var(--ring); border: 2px dashed rgba(14,15,12,.18); font-size: 18px; cursor: pointer; }
.shot svg { width: 40px; height: 40px; }
.shot.has { border-style: solid; border-color: var(--green); background: var(--mint); }
.big-input.code { letter-spacing: 1.5px; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.check { margin: 4px 4px 0; font-size: 16px; font-weight: 700; min-height: 1.4em; }
.check.ok { color: var(--positive); }
.check.bad { color: var(--danger); }
.heard.warn { background: var(--danger-bg); color: var(--danger); }
.done-card.bad > svg { background: var(--danger-bg); color: var(--danger); }
.kv-row[disabled] { cursor: default; }
.kv-row span { white-space: nowrap; } .kv-row { grid-template-columns: auto 1fr auto; }
.scroll > .btn.block { margin-top: 14px; height: 56px; }

/* 推荐给工人的活 */
.invite { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin: -6px 0 12px; padding: 14px 16px; border-radius: 22px; background: var(--green); color: var(--on-green); }
.invite svg { width: 26px; height: 26px; flex: none; }
.invite span { flex: 1; min-width: 0; }
.invite b { display: block; font-size: 17px; font-weight: 800; }
.invite small { display: block; font-size: 14px; font-weight: 600; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite em { font-style: normal; font-size: 13px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--on-green); color: var(--green); }
/* 雇主页 */
.person-row .acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.person-row .mini svg { width: 16px; height: 16px; }
a.mini { text-decoration: none; }
.date-sw { display: inline-flex; gap: 6px; margin-left: 6px; vertical-align: middle; }
.date-sw .chip { height: 30px; padding: 0 10px; font-size: 13px; }
.lbl .date-sw { font-weight: 600; }
.mini { white-space: nowrap; flex: none; }
/* 评价 */
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 4px; }
.thumb { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 10px; border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring); font-size: 18px; }
.thumb svg { width: 40px; height: 40px; }
.thumb.sel.good { box-shadow: 0 0 0 2.5px var(--ink); background: var(--mint); color: var(--on-green); }
.thumb.sel.bad { box-shadow: 0 0 0 2.5px var(--danger); background: var(--danger-bg); color: var(--danger); }
.big-input.area { height: 96px; padding: 14px 18px; font-size: 17px; font-weight: 500; resize: none; line-height: 1.5; }
.rep { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; font-weight: 600; }
.rep.new { color: var(--muted); font-weight: 500; }
.rep i.neg { font-style: normal; color: var(--danger); }
.rv { background: var(--surface); border-radius: 20px; box-shadow: 0 0 0 1px var(--ring); padding: 14px 16px; margin-bottom: 10px; }
.rv-h { display: flex; align-items: center; gap: 8px; }
.rv-h svg { width: 22px; height: 22px; flex: none; }
.rv.good .rv-h svg { color: var(--positive); }
.rv.bad .rv-h svg { color: var(--danger); }
.rv-h b { font-size: 16px; }
.rv-h small { margin-left: auto; color: var(--muted); font-size: 13px; }
.small-chips { margin: 8px 0 4px; gap: 6px; }
.small-chips .chip { height: 30px; padding: 0 10px; font-size: 13px; background: var(--subtle); box-shadow: none; }
.rv-t { margin: 6px 0; font-size: 15px; color: var(--ink-2); }
.rv .mini { margin-top: 6px; }
.rep-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--ring); padding: 14px 16px; margin-bottom: 10px; }
.rep-stats b { display: block; font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.rep-stats small { color: var(--muted); font-size: 12px; }
.rep-stats .neg b { color: var(--danger); }
.consent { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 20px; background: var(--subtle); font-size: 15px; margin: 4px 0 10px; }
.consent b { display: block; font-size: 16px; }
.consent small { color: var(--muted); }
.switch { flex: none; width: 50px; height: 30px; border-radius: 999px; background: rgba(14,15,12,.2); position: relative; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch.on { background: var(--ink); }
.switch.on::after { left: 23px; }
/* 本月之星 */
.stars { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.stars::-webkit-scrollbar { display: none; }
.star { background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--ring); padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.star-k { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--green); color: var(--on-green); margin-bottom: 4px; }
.star-k svg { width: 14px; height: 14px; }
.star b { font-size: 18px; font-weight: 800; }
.star small { font-size: 13px; color: var(--muted); }
.star-ask { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 22px; background: var(--mint); margin-bottom: 10px; }
.star-ask span { display: flex; flex-direction: column; }
.star-ask svg { width: 20px; height: 20px; color: var(--on-green); }
.star-ask b { font-size: 16px; color: var(--on-green); }
.star-ask small { font-size: 13px; color: var(--ink-2); }
.mini-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; margin: 10px 0 6px; }
.mini-steps i { font-style: normal; text-align: center; font-size: 11px; padding: 5px 0; border-radius: 6px; background: var(--subtle); color: var(--muted); }
.mini-steps i.on { background: var(--ink); color: #fff; font-weight: 700; }
.res.follow { box-shadow: 0 0 0 2.5px var(--ink); }
.invite.follow-b { background: var(--ink); color: #fff; }
.invite.follow-b em { background: var(--green); color: var(--on-green); }
.invite.notice { background: var(--mint); color: var(--on-green); }
.invite.notice em { background: var(--on-green); color: var(--mint); }
.star { cursor: pointer; }
.star-card .d-title { margin: 8px 0 4px; }
.ins-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 10px 0 0; font-size: 15px; font-weight: 600; color: var(--warn); }
.ins-line svg { width: 18px; height: 18px; }
.ins-line.ok { color: var(--positive); }
.warn-ask { background: var(--warn-bg); color: var(--warn); }
.warn-t { color: var(--warn); }

/* ---------- 消息中心 ---------- */
.bell { position: relative; }
.bell .dot { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font: 700 12px/20px system-ui; font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--canvas); }
.nav-link { font-size: 15px; font-weight: 600; color: var(--positive); padding: 8px 4px; }
.msg-day { font-size: 14px; color: var(--muted); font-weight: 600; margin: 18px 4px 8px; }
.msg-list { background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--hair); overflow: hidden; }
.msg { display: flex; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; align-items: flex-start; position: relative; }
.msg + .msg { border-top: 1px solid var(--hair); }
.msg-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--subtle); color: var(--ink); }
.msg-ic svg { width: 21px; height: 21px; }
.msg-ic.k-wage { background: var(--danger-bg); color: var(--danger); }
.msg-ic.k-subsidy, .msg-ic.k-settle { background: var(--mint); color: var(--positive); }
.msg-ic.k-job, .msg-ic.k-apply { background: var(--green); color: var(--on-green); }
.msg-ic.k-review { background: var(--warn-bg); color: var(--warn); }
.msg-t { flex: 1; min-width: 0; }
.msg-t b { display: block; font-size: 17px; font-weight: 600; color: var(--ink-2); line-height: 1.35; }
.msg.new .msg-t b { color: var(--ink); font-weight: 700; }
.msg-t small { display: block; font-size: 15px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.msg-t em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 5px; }
.msg.new::after { content: ''; position: absolute; top: 20px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--danger); }

/* 熟人师傅 */
.person-row small.ln { display: block; margin-top: 2px; }
.person-row .acts .tag { white-space: nowrap; }
.person-row b + .tag { margin-left: 6px; vertical-align: 2px; }

/* 页面有更新 */
.update-bar { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 90; border: 0; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 24px rgba(0,0,0,.18); cursor: pointer; }
.update-bar { background: var(--ink); color: #fff; font-size: 16px; }
