/* 受け入れと検収。style.css・flow.css・br.css の上に重ねる（接頭辞 ac-） */
.ac-h4 { margin: 0; font-size: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.ac-box { padding: 12px 14px; min-width: 0; }
.ac-tbl { font-size: 12.5px; }
.ac-tbl th, .ac-tbl td { padding: 6px 8px; }
.ac-tnote { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.ac-nl { display: block; margin: 6px 0 0; }
.ac-tips { margin-top: 12px; }
.ac-case tbody th { white-space: nowrap; width: 6.5em; font-weight: 700; }
.ac-ctbl { min-width: 720px; }
.ac-ctbl td:first-child { white-space: nowrap; font-weight: 700; color: var(--ink); }
.ac-ptbl { min-width: 620px; }
.ac-ptbl td:first-child { white-space: nowrap; font-family: var(--latin); font-weight: 600; }
.ac-ltbl { min-width: 760px; }
.ac-ltbl td:nth-child(5), .ac-ltbl td:nth-child(6) { white-space: nowrap; font-family: var(--latin); }

/* 道具 */
.ac-ctl { padding: 12px 14px; display: grid; gap: 8px; margin-bottom: 10px; }
.ac-crow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ac-lab { font-size: 12.5px; font-weight: 700; color: var(--muted); min-width: 3em; }
.ac-exwhat { margin: 0; font-size: 13px; color: var(--ink2); background: var(--line2); border-radius: 8px; padding: 7px 11px; }
.ac-own { font-size: 12px; font-weight: 700; color: #92400e; align-self: center; }
.ac-tool { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 10px; align-items: start; }
.ac-form { padding: 12px 14px; display: grid; gap: 10px; min-width: 0; }
.ac-f { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.ac-f select, .ac-f input { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; min-width: 0; width: 100%; box-sizing: border-box; }
.ac-f select:focus-visible, .ac-f input:focus-visible { outline: 3px solid #2563eb; outline-offset: 1px; }
.ac-out { padding: 12px 14px; min-width: 0; }
.ac-verdict { margin: 0 0 8px; border-radius: 10px; padding: 9px 12px; display: grid; gap: 2px; }
.ac-verdict small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ac-verdict b { font: 700 20px/1.3 var(--sans); }
.ac-verdict span { font-size: 12.5px; color: var(--ink2); }
.ac-verdict.ac-ok { background: #f0fdf4; }
.ac-verdict.ac-ok b { color: #166534; }
.ac-verdict.ac-late { background: #fef2f2; }
.ac-verdict.ac-late b { color: #991b1b; }
.ac-verdict.ac-err { background: #fff7ed; }
.ac-verdict.ac-err b { font-size: 14px; color: #9a3412; }
.ac-msg { margin: 0 0 6px; font-size: 13px; color: var(--ink2); }
.ac-line { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 6px; }
.ac-line li { position: relative; display: grid; grid-template-columns: 6.6em minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; font-size: 13px; padding: 4px 8px; border-radius: 8px; }
.ac-line li::before { content: ""; position: absolute; left: -21px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid #94a3b8; }
.ac-line li.ac-ev::before { background: #94a3b8; }
.ac-line li.ac-ct::before { border-color: #c2410c; }
.ac-line li.ac-law::before { border-color: #1d4ed8; }
.ac-line li.ac-time::before { border-color: #64748b; border-style: dashed; }
.ac-line li.ac-first { background: #f0fdf4; }
.ac-line li.ac-first::before { background: #15803d; border-color: #15803d; }
.ac-line li.ac-past { background: #fef2f2; }
.ac-line li.ac-past .ac-st { color: #991b1b; }
.ac-d { font: 600 12.5px var(--latin); color: var(--ink); white-space: nowrap; }
.ac-n { color: var(--ink2); min-width: 0; overflow-wrap: anywhere; }
.ac-ev .ac-n { font-weight: 700; color: var(--ink); }
.ac-st { font-size: 12px; font-weight: 700; color: #166534; white-space: nowrap; }
.ac-sm { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.ac-rule { margin-top: 10px; }
.ac-rsrc { display: block; margin-top: 4px; }

/* 残す形 */
.ac-tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ac-tpl { padding: 12px 14px; min-width: 0; display: flex; flex-direction: column; }
.ac-tplh { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ac-pre { margin: 0; max-height: 420px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: 500 12px/1.65 var(--latin); background: var(--any-bg); border: 1px solid var(--line2); border-radius: 8px; padding: 10px 12px; }
.ac-copy:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

@media (max-width: 1100px) {
  .ac-tool, .ac-tpls { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ac-line li { grid-template-columns: minmax(0, 1fr) auto; }
  .ac-line .ac-n { grid-column: 1 / -1; grid-row: 2; }
  .ac-case tbody th { white-space: normal; width: 4.5em; }
}
