/* 判断工具页（2026-10-26）：应届身份体检 / 我的日程 / offer 体检 / 面试追问 / 看清这家 / 来源表
   纪律：一屏一件事；用细线分组，不叠卡片；结论用字色区分，不用大色块；板块色只做小标识。 */

.tool { max-width: 880px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--pad) clamp(56px, 8vw, 96px); }
.tool--wide { max-width: 1080px; }
.tool__h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; overflow-wrap: break-word; min-width: 0; }
.tool__lede { margin-top: 12px; max-width: 60ch; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.tool__fine { margin-top: 10px; font-size: 13px; line-height: 1.75; color: var(--ink-3); }
.tool__sec { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid var(--line); }
.tool__sec > h2 { font-size: 17px; letter-spacing: -0.01em; }
.tool__sec > p.sub { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.8; max-width: 62ch; }

/* 表单 */
.f-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f > label, .f > .f__k { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.f__hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.f input[type=text], .f input[type=number], .f input[type=date], .f input[type=url], .f select, .f textarea {
  width: 100%; min-height: 44px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px;
}
.f textarea { min-height: 140px; line-height: 1.7; resize: vertical; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.f__row { display: flex; gap: 10px; min-width: 0; }
.f__row > * { flex: 1 1 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; color: var(--ink-2); cursor: pointer; background: var(--bg); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.tool__actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tool__err { margin-top: 10px; font-size: 14px; color: var(--red-2); }
.tool__err:empty { display: none; }

/* 结论行：左边对象，右边结论 + 为什么 + 依据 */
.verdicts { margin-top: 18px; }
.vrow { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 6px 20px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.vrow:first-child { border-top: 0; }
.vrow__k { font-size: 14.5px; font-weight: 700; color: var(--ink); padding-top: 1px; }
.vrow__v { font-size: 15px; font-weight: 700; }
.vrow__v--yes { color: #047857; }
.vrow__v--no { color: var(--ink-2); }
.vrow__v--maybe { color: #A15C07; }
.vrow__v--notice { color: var(--ink-2); font-weight: 600; }
.vrow__why { margin-top: 6px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

/* 依据：原文 vs 经验 —— 两种样子，经验不冒充规定 */
.ys-basis { margin-top: 10px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; font-size: 13px; line-height: 1.75; color: var(--ink-3); }
.ys-basis__k { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: var(--r-sm); align-self: start; white-space: nowrap; }
.ys-basis--rule .ys-basis__k { color: var(--ink); background: var(--surface-2); }
.ys-basis--exp .ys-basis__k { color: #6B5442; background: #FFF8EE; }
.ys-basis--rule .ys-basis__t { color: var(--ink-2); }
.ys-basis__src { grid-column: 2; }
.ys-basis__src { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ys-basis__src:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.next { margin-top: 14px; padding: 0; list-style: none; counter-reset: n; }
.next li { counter-increment: n; position: relative; padding: 10px 0 10px 30px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); border-top: 1px solid var(--line-soft); }
.next li:first-child { border-top: 0; }
.next li::before { content: counter(n); position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* 标记：命中原句 */
.hit { margin-top: 14px; }
.hit__k { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.hit__why { margin-top: 4px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.hit__q { margin-top: 8px; padding: 8px 12px; border-left: 2px solid var(--red); background: var(--red-soft); font-size: 13.5px; line-height: 1.75; color: var(--ink); }
.hit__q--ok { border-left-color: var(--green); background: var(--green-soft); }

/* 会员锁 */
.lock { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r); font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.lock a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.linkbtn { background: none; border: 0; padding: 0 2px; min-height: 36px; font: inherit; font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12.5px; color: var(--ink-2); background: var(--surface-2); white-space: nowrap; }

/* 2026-10-28 工作台细修：页头一行（标题 + 主操作）、区块标题一行（标题 + ⓘ + 右侧计数）；
   说明文字进 ⓘ（deploy/CLAUDE.md 界面文案原则），不再每个区块下面压一段灰字 */
.tool__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tool__head .tool__h1 { margin-right: auto; }
/* 倒数小签：和首页时间表同一套（今天 / 明天 / 还有 N 天；三天内转红） */
.left-chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; background: var(--surface-2); font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.left-chip--soon { color: var(--red-2); background: var(--red-soft); }
.left-chip--late { color: #fff; background: var(--red-2); }

@media (max-width: 640px) {
  .f-grid { grid-template-columns: minmax(0, 1fr); }
  .vrow { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .tool * { transition: none !important; animation: none !important; } }
