.jbl-signed-form-dialog { width: min(calc(100% - 32px), 960px); max-height: calc(100vh - 32px); padding: 0; overflow: auto; color: #263238; background: #fff; border: 0; border-radius: 10px; }
.jbl-signed-form-dialog::backdrop { background: rgba(28, 48, 73, .42); }
.jbl-signed-form-document { max-width: 900px; margin: 0 auto; padding: clamp(24px, 5vw, 55px); color: #263238; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif; }
.jbl-signed-form-header { padding-bottom: 20px; border-bottom: 2px solid #1c3049; }
.jbl-signed-form-header p, .jbl-signed-form-header span { color: #6b777f; }
.jbl-signed-form-header h1 { margin: 7px 0 12px; }
.jbl-signed-form-section, .jbl-signed-form-signature { margin-top: 25px; break-inside: avoid; }
.jbl-signed-form-section h2, .jbl-signed-form-signature h2 { font-size: 17px; }
.jbl-signed-form-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid #eceeef; white-space: pre-wrap; }
.jbl-signed-form-notice { margin-top: 24px; padding: 14px; color: #725e57; background: #f5ede9; border-radius: 8px; }
.jbl-signed-form-signature img { display: block; max-width: 420px; max-height: 190px; margin: 12px 0; object-fit: contain; }
.jbl-signed-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 28px 28px; }
.jbl-signed-form-actions button { min-height: 42px; padding: 9px 16px; border-radius: 9px; font: inherit; font-weight: 650; cursor: pointer; }
.jbl-signed-form-print { color: #fff; background: #1c3049; border: 1px solid #1c3049; }
.jbl-signed-form-close { color: #1c3049; background: #fff; border: 1px solid #9aaab4; }
@media (max-width: 720px) { .jbl-signed-form-row { grid-template-columns: 1fr; gap: 5px; } }
@media print {
    body.jbl-signed-form-printing > * { display: none !important; }
    body.jbl-signed-form-printing > .jbl-signed-form-dialog { display: block !important; position: static; width: auto; max-height: none; overflow: visible; border: 0; }
    body.jbl-signed-form-printing .jbl-signed-form-actions { display: none !important; }
    body.jbl-signed-form-printing .jbl-signed-form-document { max-width: none; padding: 0; }
    @page { size: A4; margin: 16mm; }
}

.jbl-signed-form-clause { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 15px; line-height: 1.8; }
.jbl-signed-form-clause-card { margin: 14px 0 0; border: 1px solid #e3e7e9; border-radius: 9px; overflow: hidden; background: #fff; }
.jbl-signed-form-clause-card .clause-title { margin: 0; padding: 13px 16px; color: #253b54; border-bottom: 1px solid #e9edef; font-size: 16px; line-height: 1.55; }
.jbl-signed-form-clause-card .clause-body { padding: 15px 16px 17px; color: #37454d; }
.jbl-signed-form-clause-card .clause-paragraph, .jbl-signed-form-clause-card .clause-subitem { margin: 0 0 12px; overflow-wrap: anywhere; font-size: 15px; line-height: 1.85; }
.jbl-signed-form-clause-card .clause-subitem { padding-left: 1.25em; text-indent: -1.25em; }
.jbl-signed-form-clause-card .clause-paragraph:last-child, .jbl-signed-form-clause-card .clause-subitem:last-child { margin-bottom: 0; }
.jbl-signed-form-header a { display: inline-block; margin-top: 10px; color: #1c3049; font-weight: 650; }
.jbl-signed-form-execution-date { margin: 22px 0 0; padding: 13px 16px; color: #304b5e; background: #edf3f5; border: 1px solid #c9dbe1; border-radius: 9px; font-weight: 650; line-height: 1.65; }
