* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; color: #1f2933; background: #f7f8fa; }
header { padding: 12px 16px; background: #fff; border-bottom: 1px solid #e3e6ea; }
header .env { margin-left: 8px; padding: 2px 8px; border-radius: 10px; background: #fde68a; font-size: 12px; }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
h1 { font-size: 20px; } h2 { font-size: 16px; }
label { display: block; margin: 12px 0; font-size: 14px; }
input { display: block; width: 100%; margin-top: 4px; padding: 10px; font-size: 16px; border: 1px solid #cbd2d9; border-radius: 6px; }
button { margin-top: 12px; padding: 10px 16px; font-size: 16px; border: 0; border-radius: 6px; background: #2563eb; color: #fff; }
button.sub { background: #9aa5b1; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
th, td { padding: 8px; border-bottom: 1px solid #e3e6ea; text-align: left; }
.err { color: #b91c1c; } .note { color: #52606d; font-size: 13px; }
/* ---- A3 ロット受入判定（375px で横はみ出しなし：表は .table-wrap の中だけ横スクロール） ---- */
main.wide { max-width: 1080px; }
header .hdr-link { float: right; font-size: 14px; }
.lead { font-size: 14px; }
.msg { min-height: 1.2em; font-size: 14px; } .msg.err { color: #b91c1c; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 12px 0; }
.kpi { background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; padding: 10px; min-width: 0; }
.kpi span { display: block; font-size: 12px; color: #52606d; }
.kpi b { display: block; font-size: 20px; margin: 2px 0; overflow-wrap: anywhere; }
.kpi small { display: block; font-size: 11px; color: #52606d; overflow-wrap: anywhere; }
.ok { color: #15803d; } .warn { color: #b45309; }
.card { background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; padding: 12px; margin: 16px 0; }
.hidden { display: none !important; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; } .toolbar button { margin-top: 0; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 560px; }
#assume { min-width: 0; } #assume th { font-weight: normal; color: #52606d; }
tr.clickable { cursor: pointer; } tr.sel td { background: #eff6ff; }
.tag { display: inline-block; padding: 1px 6px; border-radius: 8px; font-size: 12px; background: #e5e7eb; white-space: nowrap; }
.tag.s-accept { background: #dcfce7; } .tag.s-narrow, .tag.s-split { background: #fef3c7; } .tag.s-decline { background: #fee2e2; } .tag.s-unknown { background: #e0e7ff; }
.actions form { border-top: 1px solid #e3e6ea; padding: 8px 0; }
.actions small { display: block; color: #52606d; font-size: 12px; }
button.danger { background: #b91c1c; }
select { display: block; width: 100%; margin-top: 4px; padding: 10px; font-size: 16px; border: 1px solid #cbd2d9; border-radius: 6px; background: #fff; }
fieldset { border: 1px solid #e3e6ea; border-radius: 6px; margin: 8px 0; padding: 8px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 6px 10px; border: 1px solid #cbd2d9; border-radius: 16px; font-size: 14px; }
.chip input { display: inline; width: auto; margin: 0; }
.warnbox { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px; padding: 8px; font-size: 13px; }
@media (max-width: 480px) { main { padding: 12px; } .kpis { grid-template-columns: 1fr 1fr; } .kpi b { font-size: 17px; } }
/* ---- B1 作業指示ボード（PC＝7列を2段／スマホ＝1列。印刷は列ごとに改ページしない一覧） ---- */
.page-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.page-h h1 small { display: block; font-size: 13px; font-weight: normal; color: #52606d; margin-top: 4px; }
a.btnlink { display: inline-block; padding: 10px 16px; font-size: 14px; border: 1px solid #cbd2d9; border-radius: 6px; background: #fff; color: #1f2933; text-decoration: none; }
.kpis.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tag-prov { background: #fde68a; } .tag-staff { background: #fee2e2; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; }
.filters .fl { font-size: 12px; color: #52606d; min-width: 3em; }
button.chip { background: #fff; color: #1f2933; font-size: 13px; padding: 5px 10px; margin: 0; }
button.chip[aria-pressed="true"] { background: #1e3a5f; border-color: #1e3a5f; color: #fff; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.board .col { background: #eef1f4; border-radius: 8px; padding: 8px; min-width: 0; }
.board .col[data-lane="done"] { background: #e8f5ec; }
.board h4 { margin: 2px 0 8px; font-size: 14px; display: flex; justify-content: space-between; gap: 4px; }
.board h4 em { font-style: normal; font-weight: normal; color: #52606d; white-space: nowrap; }
.board .empty { font-size: 12px; color: #7b8794; margin: 4px 0; }
.tk { background: #fff; border: 1px solid #e3e6ea; border-radius: 6px; padding: 8px; margin-bottom: 8px; font-size: 13px; }
.tk.staffonly { border-left: 4px solid #f87171; }
.tk .id { font-size: 11px; color: #52606d; overflow-wrap: anywhere; }
.tk .t { font-weight: 600; margin: 2px 0; overflow-wrap: anywhere; }
.tk .m { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: #3e4c59; }
.tk .proc { display: flex; gap: 3px; margin-top: 6px; }
.tk .proc i { flex: 1; height: 5px; border-radius: 3px; background: #d9dee3; }
.tk .proc i.on { background: #2f855a; } .tk .proc i.now { background: #d97706; } .tk .proc i.skip { background: transparent; border: 1px dashed #d9dee3; }
.st-in { background: #fef3c7; padding: 0 6px; border-radius: 8px; }
.tk-act select { font-size: 13px; padding: 6px; margin-top: 6px; }
.tk-btns { display: flex; gap: 6px; margin-top: 6px; }
button.mini, a.mini { margin: 0; padding: 6px 10px; font-size: 13px; border-radius: 6px; }
a.mini.link { border: 1px solid #cbd2d9; color: #1f2933; text-decoration: none; background: #fff; }
@media (max-width: 900px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .board { grid-template-columns: 1fr; } .kpis.five { grid-template-columns: 1fr 1fr; } }
@media print {
  .noprint, .tk-act { display: none !important; }
  body { background: #fff; } main.wide { max-width: none; padding: 0; }
  .kpis.five { grid-template-columns: repeat(5, 1fr); }
  .board { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .board .col { background: #fff; border: 1px solid #999; }
  .tk { break-inside: avoid; border-color: #999; }
}

/* ---- B1詳 作業詳細（4本目） ---- */
.b1d h2 small, .b1d .sec-st { font-size: 12px; font-weight: normal; color: #52606d; }
.b1d-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.b1d-head > div, .grid2 > div { min-width: 0; }
.lbl { display: block; font-size: 12px; color: #52606d; }
.b1d-head b { overflow-wrap: anywhere; }
.cur-box { margin-top: 8px; font-size: 14px; }
.stepbar { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 8px 0 0; }
.stepbar li { background: #eef1f4; border-radius: 6px; padding: 6px; font-size: 12px; min-width: 0; overflow-wrap: anywhere; }
.stepbar li b { display: block; font-size: 12px; } .stepbar li span { color: #3e4c59; }
.stepbar li.on { background: #dcfce7; } .stepbar li.now { background: #dbeafe; outline: 2px solid #2563eb; } .stepbar li.skip { opacity: .5; }
.b1d-sec.off { opacity: .6; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
textarea { display: block; width: 100%; margin-top: 4px; padding: 10px; font-size: 16px; border: 1px solid #cbd2d9; border-radius: 6px; box-sizing: border-box; font-family: inherit; }
.b1d input, .b1d select { box-sizing: border-box; }
label.chk { display: flex; align-items: center; gap: 8px; } label.chk input { display: inline; width: auto; margin: 0; }
.b1d button.mini { margin-top: 6px; padding: 8px 12px; font-size: 14px; }
.b1d-actions { display: flex; flex-wrap: wrap; gap: 8px; } .b1d-actions button { margin-top: 0; }
.b1d button:disabled { opacity: .45; }
table.cuts img.thumb { max-width: 96px; max-height: 72px; border-radius: 4px; display: block; }
.filebtn { display: inline-block; margin: 0; padding: 8px 12px; border: 1px solid #2563eb; border-radius: 6px; color: #2563eb; background: #fff; cursor: pointer; font-size: 14px; }
.filebtn input { display: none; }
.kiosk-bar { background: #1e3a5f; color: #fff; padding: 8px 16px; font-size: 14px; }
.staffsec { border-left: 4px solid #f87171; }
@media (max-width: 640px) {
  .b1d-head { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: 1fr; }
  .b1d-actions button { width: 100%; }
}

/* ---- B2 工程進捗・出来高記録（5本目） ---- */
th.num, td.num { text-align: right; white-space: nowrap; }
label.inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; }
label.inline input { display: inline-block; width: auto; margin: 0; padding: 6px; font-size: 14px; }
.bar { position: relative; height: 18px; min-width: 90px; background: #eef1f4; border-radius: 9px; overflow: hidden; }
.bar span { position: absolute; left: 0; top: 0; bottom: 0; background: #86efac; }
.bar b { position: relative; display: block; text-align: center; font-size: 12px; line-height: 18px; }
.st { padding: 0 6px; border-radius: 8px; white-space: nowrap; } .st-done { background: #dcfce7; } .st-x { background: #fee2e2; }
tr.staffrow td { color: #52606d; background: #f8fafc; }
td.effcell { font-size: 12px; min-width: 170px; }
.b2 h3 { font-size: 14px; } .b2 .grid2 button { margin-top: 8px; }
.b2 #lanes table, .b2 .table-wrap table { min-width: 640px; }
.empty { color: #7b8794; font-size: 13px; }
@media (max-width: 480px) { .b2 .toolbar { width: 100%; } }
.tag.tag-wrap { white-space: normal; overflow-wrap: anywhere; }
/* W5: 本部へ24時間以上届いていない送信のバナー（職員の画面の上）／施設設定 */
.w5-alert { background: #fef2f2; border: 2px solid #f87171; color: #7f1d1d; border-radius: 8px; padding: 10px 12px; margin: 12px auto; max-width: 1200px; font-size: 14px; }
.w5-alert a { color: #991b1b; font-weight: bold; }
tr.warnrow td { background: #fef2f2; }
.msg.ok { color: #166534; }
#size-rules input, #size-rules select { max-width: 160px; }
/* ---- W8 総合検証（2026-10-03）: スマホ幅（480px 以下）だけ、押す所を44px以上・本文を14px以上・補足を12px以上にそろえる。PC の見た目は変えない ---- */
@media (max-width: 480px) {
  button, input[type=submit], input[type=button], a.btnlink, a.mini, label.filebtn { min-height: 44px; }
  a.btnlink, a.mini, label.filebtn { display: inline-flex; align-items: center; justify-content: center; }
  button.chip, button.mini, a.mini, label.inline, .tk, .tk-act select, .warnbox { font-size: 14px; }
  .kpi small, .tk .id, main td small, main .actions small { font-size: 12px; }
}

/* ---- D1 古物台帳（7本目）: 欠落バッジ（赤）・書面プレビュー（別記様式第15号の体裁・印刷用） ---- */
.tag-miss { background: #fee2e2; color: #b91c1c; font-weight: 600; }
.miss { color: #b91c1c; font-weight: 600; }
tr.has-miss td:first-child { border-left: 4px solid #f87171; }
.d1-print { background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; padding: 12px; margin: 16px 0; }
.d1-print table { font-size: 12px; } .d1-print th, .d1-print td { border: 1px solid #9aa5b1; padding: 4px; vertical-align: top; }
body.d1.printing .no-print { display: none; }
/* D1 の残り（2026-11-03）: 立入対応モード・届出手順カード・PDF 保存の導線・ホームのバッジ */
body.d1 .d1-main-btn { min-height: 44px; margin-top: 0; }
body.d1 a.d1-main-btn { display: inline-flex; align-items: center; }
a.inspect-link { background: #1e3a5f; color: #fff; border-color: #1e3a5f; font-weight: 600; }
.d1-inspect { border: 2px solid #1e3a5f; }
.d1-loss { border-left: 4px solid #b45309; } .d1-steps { margin: 6px 0 0 1.2em; padding: 0; } .d1-steps li { margin: 4px 0; }
.d1-steps a[href^="tel:"] { font-weight: 700; font-size: 17px; }
.inspect-label { background: #1e3a5f; color: #fff; padding: 8px 12px; border-radius: 6px; font-weight: 700; margin: 0 0 8px; }
.d1-badge { background: #eff6ff; border: 1px solid #93c5fd; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.d1-badge.urgent { background: #fef2f2; border: 2px solid #f87171; }
.d1-badge a { color: inherit; display: block; min-height: 24px; }
body.d1[data-mode="inspect"] #loss-card { display: none; }
@media print {
  body.d1 { background: #fff; }
  body.d1 .no-print, body.d1 header, body.d1 .print-tools { display: none !important; }
  body.d1 main { max-width: none; padding: 0; }
  body.d1 .d1-print { display: block !important; border: 0; padding: 0; margin: 0; }
  body.d1 .d1-print .table-wrap { overflow: visible; }
  body.d1 .d1-print table { font-size: 9pt; page-break-inside: auto; } body.d1 .d1-print tr { page-break-inside: avoid; }
  @page { size: A4 landscape; margin: 10mm; }
}

/* ---- シンプル版（2026-11-03）: 本部の商品一覧 /items・お客さんの自分の商品 /my_items（375px で横はみ出しなし） ---- */
header .hdr-logout { float: right; margin: -4px 0 0; } header .hdr-logout button { margin: 0; padding: 6px 10px; font-size: 13px; }
body.simple main.wide { max-width: 1200px; }
.simple-actions .mini, .simple-actions .filebtn { margin: 0; }
.simple-actions .filebtn.mini { padding: 6px 10px; font-size: 13px; }
#items { min-width: 960px; } /* 本部一覧はPC向けの表。スマホ幅では .table-wrap の中だけ横スクロール（列を潰して1文字ずつ折り返さない） */
#items img.thumb, #c-items img.thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; display: block; background: #eef1f4; }
.nothumb { display: inline-block; font-size: 11px; color: #7b8794; }
#items select.mv { font-size: 13px; padding: 6px; margin: 0; min-width: 140px; }
#items td small code, .icard code { font-size: 11px; color: #52606d; overflow-wrap: anywhere; }
.tag.st-none { background: #e5e7eb; } .tag.st-listed { background: #dbeafe; color: #1e3a8a; } .tag.st-sold { background: #dcfce7; color: #14532d; font-weight: 600; }
.events { list-style: none; padding: 0; margin: 0; font-size: 13px; } .events li { padding: 4px 0; border-bottom: 1px solid #eef1f4; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 12px 0; }
.icard { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; overflow: hidden; min-width: 0; }
.icard.st-sold { border-color: #86efac; } .icard.st-listed { border-color: #93c5fd; }
.icard .ph { aspect-ratio: 4 / 3; background: #eef1f4; display: flex; align-items: center; justify-content: center; }
.icard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.icard .bd { padding: 10px; }
.icard .tt { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.icard .pr { display: flex; align-items: center; gap: 8px; margin: 6px 0; } .icard .pr b { font-size: 20px; } .icard .pr .lbl { font-size: 12px; color: #52606d; }
.icard .sm { font-size: 12px; color: #52606d; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .simple-actions { width: 100%; } .simple-actions .mini, .simple-actions .filebtn { width: 100%; justify-content: center; }
  main[data-page="items"] .filters label.inline { width: 100%; }
}
/* 2026-11-05: 出品データ作成の②も一覧と同じサムネイル（以前は #items にしか当たらず原寸で出ていた） */
#c-items { min-width: 760px; }
.bulk-move { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; padding: 8px 10px; background: #f5f7fa; border-radius: 6px; }
.bulk-move select { display: inline-block; width: auto; margin: 0; padding: 6px; font-size: 14px; min-width: 160px; max-width: 100%; }
.filters .datef { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.filters .datef select, .filters .datef input[type=date] { display: inline-block; width: auto; margin: 0; padding: 6px; font-size: 14px; }
.pager { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.pager[hidden], .bulk-move[hidden], #c-passed[hidden] { display: none; }
/* 2026-11-05 crfcWorksZipCompressSalesFlow1105: ③ かんたん出品（ZIP） */
#zip-easy { border: 2px solid #2b6cb0; }
#zip-easy .zip-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 6px 0 8px; }
#zip-easy .radio { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; font-weight: 600; width: auto; white-space: nowrap; }
#zip-easy .radio input, #zip-easy label.inline input { width: auto; margin: 0; flex: none; }
#zip-easy label.inline { display: inline-flex; align-items: center; gap: 6px; }
#zip-easy button.big { font-size: 1.1em; padding: 10px 22px; }
/* 販売後フロー（2026-11-05）: 発送待ちバナー・発送待ち一覧・売約バー */
.ship-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px; padding: 12px 14px; background: #fff7ed; border: 2px solid #f97316; border-radius: 10px; color: #7c2d12; text-decoration: none; font-size: 16px; }
.ship-banner b { font-size: 18px; } .ship-banner .go { margin-left: auto; font-weight: 600; text-decoration: underline; }
.ship-banner.zero { background: #f5f7fa; border: 1px solid #e3e6ea; color: #52606d; font-size: 14px; } .ship-banner.zero b { font-size: 15px; font-weight: 600; }
.ship-banner [hidden] { display: none; }
.ship-head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0; } .ship-head [hidden] { display: none; }
.ship-list { display: grid; gap: 10px; } .fac-h { font-size: 16px; margin: 14px 0 4px; }
.ship-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 10px; }
.ship-card.st-wait { border-color: #fdba74; } .ship-card.st-done { border-color: #86efac; } .ship-card.st-none { opacity: .7; }
.ship-card .ph { width: 96px; height: 96px; background: #eef1f4; display: flex; align-items: center; justify-content: center; border-radius: 6px; overflow: hidden; }
.ship-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.ship-card .tt { font-weight: 600; overflow-wrap: anywhere; } .ship-card .sm { font-size: 13px; color: #52606d; margin: 2px 0; overflow-wrap: anywhere; }
.ship-card .acts { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; }
.ship-card .acts .inline { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; } .ship-card .acts input { width: auto; margin: 0; max-width: 100%; }
.tag.ship-wait { background: #ffedd5; color: #7c2d12; font-weight: 600; } .tag.ship-done { background: #dcfce7; color: #14532d; } .tag.ship-none { background: #e5e7eb; }
.card[hidden], .hq-only[hidden] { display: none; }
.pre { white-space: pre-wrap; font-size: 13px; background: #f5f7fa; padding: 8px; border-radius: 6px; }
.sold-bar { background: #fff7ed; }
@media (max-width: 480px) { .ship-head { grid-template-columns: 1fr 1fr; } .ship-card { grid-template-columns: 64px minmax(0, 1fr); } .ship-card .ph { width: 64px; height: 64px; } .ship-banner .go { margin-left: 0; } }
/* 11/6 合同研修2回目向け: 施設の発送待ち画面の手順（番号つき）と「自分の商品」→発送待ちへのリンク */
ol.howto { padding: 10px 14px 10px 2em; margin: 8px 0 12px; } ol.howto li { margin: 3px 0; line-height: 1.6; }
.icard a.to-ship { font-weight: 600; }
@media (max-width: 480px) { .ship-card .acts .inline { width: 100%; } .ship-card .acts input.trk, .ship-card .acts input.rcv, .ship-card .acts input.hat { flex: 1 1 100%; min-width: 0; width: 100%; } }
/* ヘッダー: 「使い方ガイド」と「ログアウト」が重ならないよう横並び（シンプル版の画面） */
body.simple header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
body.simple header .hdr-guide { float: none !important; margin: 0 0 0 auto !important; white-space: nowrap; }
body.simple header .hdr-logout { float: none; margin: 0; }
.ph.noimg img { display: none; } .ph.noimg::after { content: "写真なし"; font-size: 12px; color: #52606d; }

/* 2026-11-07 送り状の依頼→本部PDF→印刷 */
.tag.lst-wait { background: #fff4e5; color: #8a4b00; }
.tag.lst-ready { background: #e6f6ec; color: #1e6b3a; }
.tag.lst-before { background: #eef1f5; color: #3e4c59; }
.exp-soon { color: #a15c00; }
.exp-bad { color: #b42318; }
.label-req select, .label-req input { margin: 2px 0; width: auto !important; display: inline-block; max-width: 12em; }
.label-req .rq-n { max-width: 14em; }

/* 2026-11-24 fcworksBpoShipQr1124 発送用QR（施設は店頭で見せる） */
.qr-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin: 8px 0; padding: 8px; border: 2px solid #2563eb; border-radius: 8px; background: #f8fbff; }
.qr-box .qr-img { width: 200px; height: 200px; object-fit: contain; background: #fff; border: 1px solid #d0d7de; border-radius: 6px; }
.qr-box .qr-info { font-size: 14px; line-height: 1.7; min-width: 0; flex: 1 1 220px; }
.qr-box .qr-code { font-size: 18px; letter-spacing: .05em; }
.qr-box .qr-big { font-size: 16px; padding: 10px 14px; }
.qr-form { margin-top: 8px; padding: 8px; border: 1px dashed #94a3b8; border-radius: 8px; background: #fafafa; font-size: 14px; line-height: 2; }
.qr-form[hidden] { display: none; }
.qr-full { position: fixed; inset: 0; z-index: 1000; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.qr-full[hidden] { display: none; }
.qr-full img { width: min(92vw, 78vh); height: min(92vw, 78vh); object-fit: contain; image-rendering: pixelated; }
.qr-full p { font-size: 20px; text-align: center; margin: 10px 0 0; }
.qr-full .qr-close { position: absolute; top: 12px; right: 12px; font-size: 18px; padding: 10px 16px; }
body.qr-open { overflow: hidden; }

/* ---- モックアップ用の追加 ---- */
.mockband { position: sticky; top: 0; z-index: 10; background: #b91c1c; color: #fff; text-align: center; font-weight: bold; font-size: 14px; padding: 8px 12px; letter-spacing: .02em; }
header .hdr-who { float: right; font-size: 13px; color: #52606d; }
.mininote { font-size: 12px; color: #52606d; border-top: 1px dashed #cbd2d9; padding-top: 8px; margin-top: 12px; }
a.linkcard { display: block; color: inherit; text-decoration: none; }
a.linkcard:hover { border-color: #2563eb; }
select { font-size: 15px; padding: 6px 8px; }
tr.warnrow td { background: #fef2f2; }
#recon { min-width: 960px; } #recon td:first-child, #recon td small { white-space: nowrap; } #recon th { font-size: 13px; vertical-align: bottom; } #recon td:first-child small { white-space: nowrap; }
#mlines td:nth-child(1), #mlines td:nth-child(2) { white-space: nowrap; }
.mockband { overflow-wrap: anywhere; }
@media (max-width: 480px) { header .hdr-who { float: none; display: block; margin-top: 4px; } }
