
html.coa-open, html.coa-open body { overflow: hidden; }
.coa-backdrop { position: fixed; inset: 0; z-index: 1300; background: rgba(11, 27, 39, .5); }
.coa-backdrop[hidden] { display: none; }
.coa-dialog { position: fixed; z-index: 1301; left: 50%; top: 50%; transform: translate(-50%, -50%); box-sizing: border-box;
  width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 27, 39, .28);
  color: var(--ink); font-family: 'Figtree', sans-serif; overflow: hidden; }
.coa-dialog[hidden] { display: none; }
.coa-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 12px 20px; border-bottom: 1px solid var(--line-soft); }
.coa-eyebrow { margin: 0 0 2px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); }
.coa-title { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.coa-title .coa-lot { font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.coa-close { flex: none; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 980px; background: #fff;
  color: var(--ink); font: 600 13px/1 'Figtree', sans-serif; cursor: pointer; }
.coa-close:hover { background: var(--line-soft); }
.coa-close:focus-visible, .coa-pdf:focus-visible, .coa-body:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.coa-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 20px 20px; min-width: 0; }
.coa-rows { margin: 0 0 14px; }
.coa-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.coa-k { color: var(--ink-2); flex: none; }
.coa-v { color: var(--ink); font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.coa-v.ok { color: var(--ok); }
.coa-v.bad { color: #A1343C; }
.coa-pages { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.coa-page { display: block; box-sizing: border-box; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--line-soft); min-height: 120px; }
.coa-dl { margin: 0 0 14px; }
.coa-pdf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: 980px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.coa-pdf:hover { background: var(--blue-deep); }
.coa-ruo { margin: 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .coa-dialog { animation: coa-in .18s ease-out; }
  @keyframes coa-in { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }
}
