/* 使用說明／障礙排除 — 紙墨紅・職人（閱讀版）：手機、平板、A4 列印三用 */
[hidden] { display: none !important; }
body.help { user-select: text; background: var(--paper); line-height: 1.75; font-size: 17px; }
.help-wrap { max-width: 860px; margin: 0 auto; padding: var(--s6) var(--s5) var(--s7); }
.help-top { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s4); border-bottom: 2px solid var(--ink); margin-bottom: var(--s5); }
.help-top img { height: 48px; }
.help-top .rule { width: 2px; height: 30px; background: var(--red); border-radius: 1px; }
.help-top .t { font-family: var(--serif); font-weight: 900; font-size: 26px; letter-spacing: .06em; }
.help-top .sub { color: var(--ink-3); font-size: 13px; letter-spacing: .14em; margin-left: auto; text-align: right; }
.help-nav { display: flex; gap: var(--s2); flex-wrap: wrap; margin: 0 0 var(--s5); }
.help-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s3); border: 1px solid var(--hair); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 14px; background: var(--white); }
.help-nav a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 700; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 var(--s5); }
.toc { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r); padding: var(--s4) var(--s5); margin-bottom: var(--s6); }
.toc h2 { margin: 0 0 var(--s2); font-size: 15px; color: var(--ink-3); letter-spacing: .12em; font-weight: 500; font-family: var(--sans); border: 0; padding: 0; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: var(--s6); }
.toc li { break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair); }
h2 { font-family: var(--serif); font-weight: 900; font-size: 24px; margin: var(--s7) 0 var(--s3); padding-top: var(--s2); border-top: 1px solid var(--hair); scroll-margin-top: 12px; }
h2 .no { color: var(--red); margin-right: .35em; font-variant-numeric: tabular-nums; }
h3 { font-size: 18px; margin: var(--s5) 0 var(--s2); }
p { margin: var(--s2) 0; }
.who-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 1px 8px; border-radius: 3px; border: 1px solid var(--ink-2); color: var(--ink-2); vertical-align: 3px; margin-left: 6px; font-family: var(--sans); }
.who-tag.staff { border-color: var(--green); color: var(--green); }
.who-tag.mgr { border-color: var(--warn); color: var(--warn); }
.who-tag.hq { border-color: var(--red); color: var(--red); }
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: var(--s3) 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 var(--s3) 46px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 2px solid var(--red); color: var(--red); border-radius: 4px; display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 16px; }
ol.steps > li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--hair); }
.btnname { display: inline-block; padding: 0 8px; border: 1px solid var(--ink); border-radius: 4px; font-size: .9em; font-weight: 700; line-height: 1.6; background: var(--white); white-space: nowrap; }
.btnname.red { border-color: var(--red); color: var(--red); }
.note, .warn, .tip { border-left: 4px solid var(--ink-3); background: var(--white); padding: var(--s3) var(--s4); margin: var(--s3) 0; border-radius: 0 var(--r) var(--r) 0; font-size: 16px; }
.warn { border-left-color: var(--red); background: var(--red-wash); }
.tip { border-left-color: var(--green); background: var(--green-wash); }
.note b:first-child, .warn b:first-child, .tip b:first-child { margin-right: .4em; }
table.t { width: 100%; border-collapse: collapse; margin: var(--s3) 0; font-size: 15px; background: var(--white); }
table.t th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 13px; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--ink); }
table.t td { padding: 9px 10px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.tbl-wrap { overflow-x: auto; }
.check { list-style: none; padding: 0; margin: var(--s3) 0; }
.check li { padding: 6px 0 6px 34px; position: relative; border-bottom: 1px dashed var(--hair); }
.check li::before { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 3px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--s3); margin: var(--s3) 0; }
.card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r); padding: var(--s3) var(--s4); }
.card .k { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }
.card .v { font-family: var(--serif); font-size: 20px; font-weight: 900; word-break: break-all; }
.card .d { font-size: 14px; color: var(--ink-2); }
.stamp-demo { display: inline-grid; place-items: center; min-width: 88px; height: 56px; padding: 0 12px; border: 3px solid var(--red); color: var(--ink); font-family: var(--serif); font-weight: 900; font-size: 32px; border-radius: 4px; }
.qa { border: 1px solid var(--hair); border-radius: var(--r); background: var(--white); margin: var(--s3) 0; }
.qa > summary { cursor: pointer; list-style: none; padding: var(--s3) var(--s4); font-weight: 700; font-size: 17px; display: flex; gap: var(--s2); align-items: baseline; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::before { content: '＋'; color: var(--red); font-weight: 900; flex: none; }
.qa[open] > summary::before { content: '－'; }
.qa > .a { padding: 0 var(--s4) var(--s3); border-top: 1px solid var(--hair); }
.legend { font-size: 14px; color: var(--ink-2); line-height: 2.2; margin: 0 0 var(--s5); }
.legend .lvl { margin: 0 4px 0 0; }
.lvl { display: inline-block; font-size: 12px; padding: 0 6px; border-radius: 3px; margin-left: auto; flex: none; font-weight: 500; }
.lvl.self { border: 1px solid var(--green); color: var(--green); }
.lvl.mgr { border: 1px solid var(--warn); color: var(--warn); }
.lvl.call { border: 1px solid var(--red); color: var(--red); }
.contact { border: 2px solid var(--ink); border-radius: var(--r); padding: var(--s4) var(--s5); background: var(--white); margin: var(--s5) 0; }
.contact .big { font-family: var(--serif); font-size: 26px; font-weight: 900; }
.contact a { color: var(--red); }
.help-foot { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--hair); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }
.back-top { position: fixed; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--hair); background: var(--white); color: var(--ink); display: grid; place-items: center; text-decoration: none; font-size: 20px; box-shadow: var(--shadow-sm); }
@media (max-width: 640px) {
  body.help { font-size: 16px; }
  .help-wrap { padding: var(--s4) var(--s4) var(--s7); }
  .help-top .t { font-size: 21px; }
  .help-top .sub { display: none; }
  .toc ol { columns: 1; }
  h2 { font-size: 21px; }
}
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  body.help { background: var(--white); font-size: 11.5pt; line-height: 1.6; }
  .help-wrap { max-width: none; padding: 0; }
  .help-nav, .back-top, .no-print { display: none !important; }
  h2 { break-after: avoid; margin-top: 10mm; }
  h3 { break-after: avoid; }
  .toc { break-after: page; }
  .qa { break-inside: avoid; }
  .qa > .a { display: block !important; }
  details.qa:not([open]) > .a { display: block; }
  .note, .warn, .tip, .card, table.t tr, ol.steps > li { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
