/* 訪談用中保真樣式：灰階＋一個強調色（藍）。字級最小 14px。 */
:root {
  --ink: #1f1f1f;
  --ink-2: #474747;
  --ink-3: #6b6b6b;
  --line: #c9c9c9;
  --line-2: #e2e2e2;
  --bg: #f2f2f0;
  --paper: #ffffff;
  --soft: #f7f7f6;
  --soft-2: #ececea;
  --accent: #2456c8;
  --accent-soft: #e6ecfa;
  --accent-ink: #163b8f;
}
* { box-sizing: border-box; }
html { font-size: 15px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.55; min-width: 1280px;
}
a { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; }
h1 { font-size: 26px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
h4 { font-size: 15px; }
p { margin: 0 0 8px; }
small, .small { font-size: 14px; }
.muted { color: var(--ink-3); }
.wrap { width: auto; max-width: none; margin: 0; padding: 0 28px 48px; }

/* 站內導覽（訪談材料本身，不是系統畫面） */
.site-nav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-nav .inner { width: auto; margin: 0; padding: 0 28px; display: flex; align-items: center; gap: 4px; height: 52px; }
.site-nav .brand { font-weight: 700; margin-right: 16px; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink-2); padding: 6px 10px; border-radius: 6px; font-size: 14px; white-space: nowrap; }
.site-nav a:hover { background: var(--soft-2); }
.site-nav a.on { background: var(--ink); color: #fff; }
.site-nav .sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }

.page-head { padding: 28px 0 18px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .lead { font-size: 16px; color: var(--ink-2); max-width: 900px; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.section { margin-top: 28px; }
.section > h2 { margin-bottom: 12px; }

/* 待確認（簡報標【推論】）與系統尚未提供 */
.tbc { display: inline; border: 1.5px dashed var(--accent); background: var(--accent-soft); color: var(--accent-ink); border-radius: 4px; padding: 0 5px; }
.tbc b { font-weight: 700; margin-right: 4px; }
.tbc-badge { display: inline-block; border: 1.5px dashed var(--accent); color: var(--accent-ink); background: var(--accent-soft); border-radius: 4px; padding: 0 6px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.na { display: inline; background: repeating-linear-gradient(135deg, #f0f0ee 0 6px, #e4e4e1 6px 12px); border: 1px solid var(--line); color: var(--ink-2); border-radius: 4px; padding: 0 5px; }
.na b { margin-right: 4px; }
.na-block { background: repeating-linear-gradient(135deg, #f4f4f2 0 8px, #e9e9e6 8px 16px); border: 1px dashed #9a9a9a; border-radius: 8px; padding: 12px 14px; color: var(--ink-2); }
.filler { color: var(--ink-3); font-size: 14px; }
.gloss { color: var(--ink-3); font-size: 14px; font-weight: 400; }

/* 圖例 */
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 14px; color: var(--ink-2); }
.legend .sw { display: inline-block; width: 26px; height: 16px; vertical-align: -3px; margin-right: 6px; border-radius: 3px; }
.status-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 14px; }
.status-legend .row { display: flex; gap: 8px; align-items: baseline; }

/* 角色頁頂部 */
.role-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.role-intro dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; }
.role-intro dt { color: var(--ink-3); font-size: 14px; }
.role-intro dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; border: 1px solid var(--line); background: var(--soft); border-radius: 999px; padding: 1px 10px; font-size: 14px; white-space: nowrap; }
.chip.turn { background: var(--accent); color: #fff; border-color: var(--accent); }

/* 一個畫面 = mockup + 說明欄 */
.screen { margin-top: 34px; }
.screen-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.screen-title .no { background: var(--ink); color: #fff; border-radius: 6px; padding: 1px 9px; font-size: 14px; font-weight: 700; }
.screen-title .sub { color: var(--ink-3); font-size: 14px; }
.screen-body { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.explain { position: sticky; top: 64px; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.explain h4 { font-size: 15px; margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.explain h4:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.explain p, .explain li { font-size: 14px; color: var(--ink-2); }
.explain ul { margin: 0; padding-left: 18px; }

/* 系統畫面外框（mockup） */
.app { background: var(--paper); border: 1px solid #9d9d9d; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.app-top { background: #2e2e2e; color: #fff; display: flex; align-items: center; height: 46px; padding: 0 14px; gap: 6px; font-size: 14px; }
.app-top .sys { font-weight: 700; margin-right: 14px; }
.app-top .nav { padding: 4px 10px; border-radius: 5px; color: #d6d6d6; white-space: nowrap; }
.app-top .nav.on { background: #fff; color: #222; font-weight: 700; }
.app-top .me { margin-left: auto; color: #e6e6e6; white-space: nowrap; }
.app-top .me .role { color: #a9a9a9; margin-left: 6px; }
.app-body { padding: 18px 20px 22px; }
.crumb { color: var(--ink-3); font-size: 14px; margin-bottom: 6px; }
.obj-head { display: flex; align-items: flex-start; gap: 14px; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.obj-head h2 { font-size: 20px; }
.obj-head .meta { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.turnbox { border: 2px solid var(--accent); border-radius: 8px; padding: 6px 12px; min-width: 230px; font-size: 14px; background: var(--accent-soft); }
.turnbox b { display: block; color: var(--accent-ink); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.btn { font: inherit; font-size: 14px; border: 1px solid #8f8f8f; background: #fff; color: var(--ink); border-radius: 6px; padding: 6px 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--soft-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.ghost { border-style: dashed; color: var(--ink-3); background: var(--soft); }
.btn.sm { padding: 3px 10px; }
.btn .why { display: block; font-size: 14px; font-weight: 400; }

.pill { display: inline-block; border-radius: 999px; padding: 0 10px; font-size: 14px; border: 1px solid #8f8f8f; background: #fff; white-space: nowrap; line-height: 1.6; }
.pill.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.mid { background: #d9d9d6; border-color: #d9d9d6; }
.pill.turn { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.pill.warn { background: #fff; border: 2px solid var(--ink); font-weight: 700; }
.pill.done { background: var(--soft-2); color: var(--ink-2); border-color: var(--line); }

.box { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-top: 12px; }
.box > h3, .box > .bh { font-size: 15px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.box > .bh .r { margin-left: auto; font-weight: 400; }
.callout { border-left: 4px solid var(--ink); background: var(--soft); padding: 10px 12px; border-radius: 0 6px 6px 0; margin-top: 12px; font-size: 14px; }
.callout.accent { border-left-color: var(--accent); background: var(--accent-soft); }
.callout b { font-size: 15px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 14px; }
.kv .k { color: var(--ink-3); }
.kv.cols2 { grid-template-columns: 110px 1fr 110px 1fr; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; color: var(--ink-3); font-weight: 600; border-bottom: 1px solid var(--line); padding: 6px 8px; white-space: nowrap; background: var(--soft); }
table.t td { border-bottom: 1px solid var(--line-2); padding: 7px 8px; vertical-align: top; }
table.t tr.hl td { background: var(--accent-soft); }
table.t td.num { text-align: right; white-space: nowrap; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* 三關簽核進度 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 4px 0 2px; }
.step { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; position: relative; background: #fff; }
.step + .step { border-left: 0; }
.step:first-child { border-radius: 8px 0 0 8px; }
.step:last-child { border-radius: 0 8px 8px 0; }
.step .lv { color: var(--ink-3); }
.step .who { font-weight: 700; font-size: 15px; }
.step.ok { background: var(--soft-2); }
.step.now { background: var(--accent-soft); outline: 2px solid var(--accent); outline-offset: -2px; z-index: 1; }
.step.bad { background: #fff; outline: 2px solid var(--ink); outline-offset: -2px; z-index: 1; }

/* 案件狀態進度 */
.track { display: flex; gap: 0; margin: 8px 0 4px; font-size: 14px; }
.track span { flex: 1; text-align: center; padding: 5px 4px; border: 1px solid var(--line); border-left: 0; background: #fff; color: var(--ink-3); }
.track span:first-child { border-left: 1px solid var(--line); border-radius: 6px 0 0 6px; }
.track span:last-child { border-radius: 0 6px 6px 0; }
.track span.past { background: var(--soft-2); color: var(--ink-2); }
.track span.cur { background: var(--accent); color: #fff; font-weight: 700; border-color: var(--accent); }

/* 首頁佇列 */
.queue { border: 1px solid var(--line); border-radius: 8px; margin-top: 12px; overflow: hidden; }
.queue .qh { display: flex; align-items: center; gap: 10px; background: var(--soft); padding: 8px 12px; border-bottom: 1px solid var(--line); font-weight: 700; }
.queue .qh .count { background: var(--ink); color: #fff; border-radius: 999px; min-width: 28px; text-align: center; padding: 0 8px; font-size: 14px; }
.queue .qh .count.zero { background: #fff; color: var(--ink-3); border: 1px solid var(--line); }
.queue .qh .r { margin-left: auto; font-weight: 400; font-size: 14px; color: var(--ink-3); }
.queue .qi { padding: 10px 12px; border-bottom: 1px solid var(--line-2); display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.queue .qi:last-child { border-bottom: 0; }
.queue .qi .main { flex: 1; }
.queue .qi .main b { font-size: 15px; }
.queue .empty { padding: 14px 12px; color: var(--ink-3); font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
.kpi .n { font-size: 26px; font-weight: 700; }
.kpi .l { font-size: 14px; color: var(--ink-2); }
.kpi.na-kpi { background: repeating-linear-gradient(135deg, #f4f4f2 0 8px, #e9e9e6 8px 16px); border-style: dashed; }

/* 表單 */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 14px; }
.field label { display: block; color: var(--ink-3); margin-bottom: 3px; }
.field .in { border: 1px solid #a9a9a9; border-radius: 6px; padding: 6px 10px; background: #fff; min-height: 34px; }
.field .in.sel::after { content: " ▾"; color: var(--ink-3); float: right; }
.field.full { grid-column: 1 / -1; }
.upl { display: flex; gap: 8px; flex-wrap: wrap; }
.upl .f { border: 1px dashed #8f8f8f; border-radius: 6px; padding: 6px 10px; background: var(--soft); }
.stepper { display: flex; gap: 0; margin-bottom: 12px; font-size: 14px; }
.stepper span { flex: 1; padding: 6px 8px; border: 1px solid var(--line); border-left: 0; text-align: center; color: var(--ink-3); background: #fff; }
.stepper span:first-child { border-left: 1px solid var(--line); border-radius: 6px 0 0 6px; }
.stepper span:last-child { border-radius: 0 6px 6px 0; }
.stepper span.past { background: var(--soft-2); color: var(--ink-2); }
.stepper span.cur { background: var(--ink); color: #fff; font-weight: 700; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; font-size: 14px; }
.tabs span { padding: 6px 12px; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; color: var(--ink-3); }
.tabs span.on { border-color: var(--line); background: #fff; color: var(--ink); font-weight: 700; margin-bottom: -1px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; align-items: center; }
.filters .f { border: 1px solid #a9a9a9; border-radius: 6px; padding: 4px 10px; background: #fff; }
.filters .f::after { content: " ▾"; color: var(--ink-3); }
.mailview { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--soft); font-size: 14px; }
.mailview .subj { font-weight: 700; font-size: 15px; margin-bottom: 6px; word-break: break-word; }
.ext-tag { display: inline-block; border: 1.5px solid var(--ink); border-radius: 4px; padding: 0 6px; font-size: 14px; background: #fff; font-weight: 600; white-space: nowrap; }
.ext-tag::before { content: "⇄ "; color: var(--ink-3); font-weight: 400; }
.note-flag { display: inline-block; font-size: 14px; color: var(--ink-2); }

/* 彈出提示 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: none; align-items: center; justify-content: center; z-index: 100; }
.modal-mask.show { display: flex; }
.modal { background: #fff; width: 520px; border-radius: 12px; padding: 20px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.modal h3 { margin-bottom: 4px; }
.modal .tag { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; }
.modal dl { margin: 0; }
.modal dt { font-weight: 700; margin-top: 10px; font-size: 15px; }
.modal dd { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.modal .close { margin-top: 16px; text-align: right; }

/* 旅程泳道 */
.swim-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; position: relative; }
.swim { position: relative; display: grid; }
.swim .lane-h { background: var(--soft); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line-2); padding: 10px 10px; font-weight: 700; font-size: 14px; position: sticky; left: 0; z-index: 5; }
.swim .lane-h .s { display: block; font-weight: 400; color: var(--ink-3); font-size: 14px; }
.swim .lane-h.auto { background: #e5e5e2; }
.swim .lane-h.ext { background: #fff; border-top: 2px solid var(--ink); }
.swim .cell { border-bottom: 1px solid var(--line-2); border-right: 1px dotted var(--line-2); padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; justify-content: center; position: relative; z-index: 2; }
.swim .cell.auto { background: #f6f6f4; }
.swim .cell.ext { border-top: 2px solid var(--ink); justify-content: flex-start; gap: 5px; }
.swim .colh { font-size: 14px; color: var(--ink-3); padding: 6px 8px; border-bottom: 1px solid var(--line); background: #fff; text-align: center; }
.swim .corner { background: #fff; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); position: sticky; left: 0; z-index: 6; padding: 6px 10px; font-size: 14px; color: var(--ink-3); }
.jnode { background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; padding: 6px 8px; cursor: pointer; font-size: 14px; text-align: left; font: inherit; line-height: 1.35; }
.jnode:hover, .jnode.sel { outline: 3px solid var(--accent); }
.jnode .k { font-weight: 700; font-size: 14px; color: var(--accent-ink); }
.jnode .t { display: block; font-size: 14px; font-weight: 600; }
.jnode.auto { background: #e9e9e6; border-style: solid; border-color: #7a7a7a; }
.jnode.has-tbc { box-shadow: inset 0 0 0 2px var(--accent-soft); }
.jnode .mini { display: block; font-size: 14px; color: var(--accent-ink); margin-top: 2px; }
.jghost { border: 1.5px dashed #8f8f8f; border-radius: 8px; padding: 4px 7px; font-size: 14px; color: var(--ink-2); background: #fff; cursor: pointer; text-align: left; font: inherit; line-height: 1.35; }
.jghost .k { font-weight: 700; }
.jext { border: 1.5px solid var(--ink); background: #fff; border-radius: 4px; padding: 2px 6px; font-size: 14px; line-height: 1.35; position: relative; }
.jext .d { color: var(--ink-3); }
.jext.off { border-style: dotted; }
.swim svg.edges { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: visible; }

/* 節點詳情抽屜 */
.drawer { position: fixed; top: 52px; right: 0; bottom: 0; width: 460px; background: #fff; border-left: 2px solid var(--ink); box-shadow: -6px 0 24px rgba(0,0,0,.12); transform: translateX(100%); transition: transform .18s ease; z-index: 60; overflow-y: auto; padding: 18px 22px 30px; }
.drawer.show { transform: translateX(0); }
.drawer h3 { font-size: 19px; margin-bottom: 2px; }
.drawer .lane-of { color: var(--ink-3); font-size: 14px; margin-bottom: 8px; }
.drawer .f { border-top: 1px solid var(--line-2); padding: 10px 0; }
.drawer .f h4 { font-size: 15px; margin-bottom: 4px; }
.drawer .f p, .drawer .f li { font-size: 14px; color: var(--ink-2); margin: 0; }
.drawer .f ul { margin: 0; padding-left: 18px; }
.drawer .x { position: absolute; right: 16px; top: 14px; }

/* 矩陣 */
table.matrix { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
table.matrix th, table.matrix td { border: 1px solid var(--line); padding: 7px 8px; vertical-align: top; }
table.matrix th { background: var(--soft); text-align: left; }
table.matrix td.do { background: var(--accent); color: #fff; }
table.matrix td.do .n { color: #e6ecfa; }
table.matrix td.note { background: var(--accent-soft); }
table.matrix td.view { background: #fff; color: var(--ink-2); }
table.matrix td.can { background: #fff; outline: 2px dashed var(--accent); outline-offset: -4px; color: var(--accent-ink); }
table.matrix td.none { background: repeating-linear-gradient(135deg, #fafafa 0 6px, #f0f0ee 6px 12px); color: var(--ink-3); }
table.matrix .lbl { font-weight: 700; display: block; }
table.matrix .n { display: block; font-size: 14px; color: var(--ink-3); }
table.matrix td.do .tbc { color: var(--accent-ink); }

/* 問題清單 */
.qlist { margin: 0; padding-left: 0; list-style: none; }
.qlist li { border-bottom: 1px solid var(--line-2); padding: 9px 0; display: grid; grid-template-columns: 70px 1.2fr 1fr 200px; gap: 12px; font-size: 14px; }
.qlist li.qhd { font-weight: 700; color: var(--ink-3); }
.qlist li .why { color: var(--ink-2); }
.bank-h { margin: 22px 0 6px; }
.ask-list li .why { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.qlist li .src { font-weight: 700; color: var(--accent-ink); }
.qlist li .who { color: var(--ink-3); }
.ask-list { margin: 0; padding-left: 22px; }
.ask-list li { padding: 5px 0; font-size: 15px; }
.ask-list li .src { color: var(--ink-3); font-size: 14px; margin-left: 6px; }
.entry { display: block; text-decoration: none; color: inherit; }
.entry:hover { outline: 3px solid var(--accent); }
.entry h3 { margin-bottom: 4px; }

/* 2026-10-21 修訂：狀態短註、必填、缺口、危險按鈕、旅程分段與展開、列印 */
.stx { display: inline-block; font-size: 14px; color: var(--ink-3); margin-left: 4px; }
.track span i { display: block; font-style: normal; font-size: 14px; font-weight: 400; opacity: .85; }
.req { display: inline-block; font-size: 14px; color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 4px; padding: 0 4px; margin-left: 4px; }
.gap { border-style: dashed; }
.queue.gapq { border-style: dashed; background: repeating-linear-gradient(135deg, #fafaf9 0 8px, #f3f3f1 8px 16px); }
.queue.gapq .qh { background: transparent; }
.btn.danger { background: #fff; border: 2px solid #b3261e; color: #b3261e; font-weight: 700; }
.btn.danger:hover { background: #fbeceb; }
.ul { margin: 0; padding-left: 20px; font-size: 14px; }
.ul li { margin: 4px 0; }
.seg-note { font-size: 14px; color: var(--ink-2); padding: 6px 12px; background: var(--soft); border-bottom: 1px solid var(--line-2); }
.seg-note:last-child { border-bottom: 0; border-top: 1px solid var(--line-2); text-align: right; }
.swim-wrap { overflow: hidden; }
.swim .jnode, .swim .jghost, .swim .jext { word-break: break-word; }
.expand-bar { display: flex; gap: 12px; align-items: center; margin: 14px 0 0; }
.node-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.node-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; break-inside: avoid; page-break-inside: avoid; }
.node-card .lane-of { color: var(--ink-3); font-size: 14px; }
.node-card .nc-h { font-size: 16px; margin-bottom: 4px; }
.node-card .f { border-top: 1px solid var(--line-2); padding: 6px 0; }
.node-card .f h4 { font-size: 14px; color: var(--ink-3); margin-bottom: 2px; }
.node-card .f p, .node-card .f li { font-size: 14px; margin: 0; color: var(--ink-2); }
.node-card .f ul { margin: 0; padding-left: 18px; }
.all-h { margin: 18px 0 8px; }
@media print {
  .site-nav, .drawer, .modal-mask, .expand-bar .btn { display: none !important; }
  body { min-width: 0; background: #fff; }
  .explain { position: static; }
}
/* 寬表格不撐破版面：示意欄最小寬 0、表頭可換行 */
.screen-body { grid-template-columns: minmax(0, 1fr) 340px; }
.mock { min-width: 0; }
.mock table.t th { white-space: normal; }
.mock table.t td { word-break: break-word; }

/* ====== 訪談答案回寫（預覽站才出現） ====== */
#mixxin-gate-user { margin-left: auto; }
.ans-btn { margin-left: 6px; vertical-align: 1px; font-size: 13px; color: var(--ink-2); }
.ans-wrap { display: block; margin: 6px 0 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); font-size: 14px; }
.ans-wrap .ans-list { margin-bottom: 6px; }
.ans-items { margin: 2px 0 0; padding-left: 16px; font-size: 13px; color: var(--ink-2); }
.ans-items li { padding: 1px 0; }
.ans-form .ans-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ans-form .ans-row span { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.ans-form input, .ans-form textarea { font: inherit; font-size: 14px; border: 1px solid #8f8f8f; border-radius: 6px; padding: 4px 8px; background: #fff; color: var(--ink); }
.ans-form input { width: 220px; max-width: 100%; }
.ans-form textarea { width: 100%; box-sizing: border-box; resize: vertical; margin-bottom: 6px; }
.ans-form .ans-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ans-form button[disabled] { opacity: .55; cursor: default; }
.ans-msg { color: var(--ink-2); }
.ans-err { color: var(--ink); font-weight: 700; }
@media print { .ans-btn, .ans-wrap { display: none !important; } }
