.attachment-checklist {
  box-sizing: border-box;
  width: min(560px, calc(100vw - 32px));
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #d8e2ec;
  border-radius: 22px;
  background: radial-gradient(ellipse at top left, #eef5fc 0, #fff 56%);
  color: #142d46;
  box-shadow: 0 24px 80px #12294033;
  font-family: 'Cabinet Grotesk', 'Segoe UI', sans-serif;
  text-align: left;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.attachment-checklist::backdrop { background: #10233880; backdrop-filter: blur(4px); }
.attachment-checklist *, .attachment-requirements-editor * { box-sizing: border-box; }
.attachment-checklist-header { display: flex; justify-content: space-between; align-items: center; padding: 28px 30px 0; }
.attachment-checklist-symbol { width: 46px; height: 46px; padding: 11px; border: 1px solid #ccdae8; border-radius: 14px; background: #fff; color: #1b4f72; }
.attachment-checklist-symbol svg { width: 100%; height: 100%; }
.attachment-checklist button { font-family: inherit; cursor: pointer; }
.attachment-checklist-close { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #53677b; font-size: 26px; line-height: 1; transition: background .18s, color .18s; }
.attachment-checklist-close:hover { background: #e7eef5; color: #142d46; }
.attachment-checklist-content { padding: 22px 30px 26px; }
.attachment-checklist h2 { width: 100%; max-width: 100%; margin: 0; color: #142d46; font-size: clamp(24px, 5vw, 30px); font-weight: 700; letter-spacing: -.8px; line-height: 1.15; }
.attachment-checklist-type { margin: 10px 0 0; color: #315575; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.attachment-checklist-intro { margin: 16px 0 22px; color: #5b6c7c; font-size: 14px; line-height: 1.65; }
.attachment-checklist-items { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: dense; gap: 8px; }
.attachment-checklist-item { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border: 1px solid #dce5ed; border-radius: 12px; background: #fff; color: #203c56; font-size: 14px; line-height: 1.5; cursor: pointer; transition: background .18s, border-color .18s; }
.attachment-checklist-item:hover { border-color: #9bb6ce; background: #f7fafc; }
.attachment-checklist-item:has(input:checked) { border-color: #a9c6bc; background: #f1f8f4; }
.attachment-checklist-item input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #1b654d; cursor: pointer; }
.attachment-checklist-item span { min-width: 0; overflow-wrap: anywhere; }
.attachment-checklist-notice { margin-top: 22px; padding: 16px 18px; border-left: 3px solid #7ca5c5; border-radius: 0 10px 10px 0; background: #edf3f9; }
.attachment-checklist-notice strong { color: #294c6a; font-size: 13px; }
.attachment-checklist-notice p { margin: 5px 0 0; color: #4b6379; font-size: 13px; line-height: 1.6; }
.attachment-checklist-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 30px; border-top: 1px solid #e0e8f0; background: #fff; }
.attachment-checklist-progress { color: #5b6c7c; font-size: 12px; }
.attachment-checklist-continue { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 18px; border: 1px solid #173f5f; border-radius: 10px; background: #173f5f; color: #fff; font-size: 14px; font-weight: 600; transition: background .18s, transform .18s; }
.attachment-checklist-continue:hover { background: #102e46; transform: translateY(-1px); }
.attachment-checklist button:focus-visible, .attachment-checklist-item:focus-within, .attachment-checklist-review:focus-visible { outline: 3px solid #4c91c4; outline-offset: 3px; }
.attachment-checklist-review { display: inline-flex; align-items: center; margin-top: 9px; padding: 5px 0; border: 0; background: transparent; color: #23567e; font: 600 12px 'Segoe UI', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.attachment-checklist-review[hidden] { display: none; }
.attachment-checklist-review:hover { color: #102e46; }
.attachment-checklist-empty { margin: 0; padding: 18px; border: 1px dashed #c4d3e0; border-radius: 12px; color: #53677b; font-size: 14px; line-height: 1.6; }
.attachment-requirements-editor { margin: 20px 0; padding: 18px; border: 1px solid #d9e5ef; border-radius: 12px; background: #f5f9fc; text-align: left; }
.attachment-requirements-editor label { display: block; margin: 0 0 8px; color: #173f5f; font-size: 14px; font-weight: 700; }
.attachment-requirements-editor textarea { display: block; width: 100%; min-height: 110px; padding: 12px; border: 1px solid #c5d5e3; border-radius: 8px; background: #fff; color: #203c56; font: 14px/1.6 'Segoe UI', sans-serif; resize: vertical; }
.attachment-requirements-editor small { display: block; margin-top: 8px; color: #52697d; font-size: 12px; line-height: 1.6; }
.doc-attachment-summary { display: block; margin-top: 8px; color: #365d7d; font-size: 12px; }
@media (max-width: 480px) {
  .attachment-checklist-header { padding: 22px 20px 0; }
  .attachment-checklist-content { padding: 18px 20px 22px; }
  .attachment-checklist-footer { padding: 18px 20px; }
  .attachment-checklist-continue { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .attachment-checklist *, .attachment-checklist-review { transition: none !important; }
}
