.wz-preview-note { font-size: 14px; line-height: 18px; color: var(--wz-muted); padding: 12px 16px; background: var(--wz-page); border: 1px solid var(--wz-border); border-radius: 8px; }
.wz-statements-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.wz-supporting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.wz-upload-card { border: 1px solid var(--wz-border); padding: 16px; border-radius: 12px; background: white; display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 0; overflow: hidden; }
.wz-upload-card:focus-visible { outline: 2px solid var(--wz-primary); outline-offset: 3px; }
.wz-upload-card.is-dragover { background: var(--wz-subtle); border: 2px dashed var(--wz-primary); padding: 15px; }
.wz-upload-card.is-error { border-color: var(--wz-error); }
.wz-upload-card-heading { display: flex; gap: 12px; align-items: center; min-width: 0; }
.wz-upload-card-heading h3 { font-size: 14px; font-weight: 600; line-height: 20px; flex: 1; overflow-wrap: anywhere; }
.wz-upload-card-heading .wz-text-action { padding: 0 2px; min-height: 24px; font-size: 12px; }
.wz-upload-card-heading .wz-icon { filter: invert(36%) sepia(85%) saturate(2087%) hue-rotate(230deg) brightness(94%) contrast(95%); }
.wz-upload-detail, .wz-upload-hint, .wz-upload-empty { font-size: 12px; line-height: 18px; color: #575f80; overflow-wrap: anywhere; }
[data-statement-period] { white-space: nowrap; }
.wz-upload-hint { color: var(--wz-primary); }
.wz-statement-card .wz-upload-hint { color: #575f80; }
.wz-upload-empty-track { height: 4px; border-radius: 999px; background: var(--wz-border); width: 100%; overflow: hidden; }
.wz-browse-button { min-height: 40px; padding: 7px 16px; width: 126px; max-width: 100%; align-self: start; }
.wz-upload-card-error, .wz-signature-error { color: var(--wz-error); font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.wz-file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.wz-file-row { border-top: 1px solid var(--wz-border); padding-top: 8px; display: grid; gap: 5px; min-width: 0; }
.wz-file-name { font-size: 12px; line-height: 18px; font-weight: 500; overflow-wrap: anywhere; }
.wz-file-state { font-size: 11px; line-height: 16px; color: var(--wz-muted); overflow-wrap: anywhere; }
.wz-file-state.is-error { color: var(--wz-error); }
.wz-file-progress { width: 100%; height: 6px; border-radius: 999px; overflow: hidden; display: block; background: var(--wz-border); }
.wz-file-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.wz-file-actions button { border: 0; background: transparent; color: var(--wz-primary); padding: 3px 0; font-size: 12px; min-height: 32px; }
.wz-review-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.wz-review-toolbar .btn { font-size: 12px; min-height: 40px; padding: 8px 20px; flex-shrink: 0; }
.wz-review-groups { display: grid; gap: 16px; }
.wz-review-group { border: 1px solid var(--wz-border); border-radius: 12px; overflow: hidden; min-width: 0; }
.wz-review-group-heading { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #f8f6ff; }
.wz-review-group-heading h3 { flex: 1; min-width: 0; }
.wz-review-toggle { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 0; width: 100%; border: 0; background: none; text-align: left; color: var(--wz-text); }
.wz-review-toggle > span { display: grid; gap: 4px; min-width: 0; }
.wz-review-toggle strong { font-size: 18px; line-height: 24px; font-weight: 600; }
.wz-review-toggle small { font-size: 12px; line-height: 18px; color: #575f80; overflow-wrap: anywhere; }
.wz-review-toggle[aria-expanded='true'] .wz-icon { transform: rotate(180deg); }
.wz-review-edit { border: 1px solid #cfc4f3; border-radius: 999px; min-height: 36px; min-width: 64px; padding: 6px 12px; background: white; color: var(--wz-primary); font-size: 14px; }
.wz-answer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; padding: 20px; }
.wz-answer-grid h4 { grid-column: 1 / -1; font-size: 14px; line-height: 20px; font-weight: 600; margin: 8px 0 0; }
.wz-answer-grid .wz-review-owner-heading { font-size: 16px; color: var(--wz-primary); }
.wz-answer-grid .wz-review-owner-heading:not(:first-child) { border-top: 1px solid var(--wz-border); margin-top: 12px; padding-top: 24px; }
.wz-answer-grid dl { display: grid; align-content: start; gap: 4px; margin: 0; min-width: 0; }
.wz-answer-grid dt { font-size: 12px; line-height: 18px; font-weight: 400; color: #575f80; }
.wz-answer-grid dd { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--wz-text); margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.wz-answer-wide { grid-column: 1 / -1; }
.wz-signatures-grid { display: grid; grid-template-columns: minmax(0, 576px); gap: 16px; }
.wz-signatures-grid.has-two-owners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wz-signature-card { border: 1px solid var(--wz-border); border-radius: 12px; overflow: hidden; min-width: 0; padding: 24px; display: grid; align-content: start; gap: 8px; }
.wz-signature-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.wz-signature-heading h3 { font-size: 18px; line-height: 26px; font-weight: 600; overflow-wrap: anywhere; }
.wz-signature-heading .wz-text-action { padding: 0; min-height: 32px; }
.wz-signature-surface { position: relative; height: 220px; width: 100%; border: 1px solid var(--wz-border); border-radius: 8px; background: var(--wz-subtle); overflow: hidden; }
.wz-signature-surface canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.wz-signature-surface canvas:focus-visible { outline-offset: -3px; }
.wz-signature-placeholder { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; color: var(--wz-placeholder); pointer-events: none; }
.wz-signature-modes { display: flex; gap: 12px; }
.wz-signature-modes button { padding: 4px 12px; min-height: 36px; border-radius: 999px; }
.wz-signature-modes button[aria-pressed='true'] { background: var(--wz-back-bg); }
.wz-typed-signature-preview { font-family: cursive; font-size: 32px; font-style: italic; min-height: 64px; overflow-wrap: anywhere; padding: 16px; background: var(--wz-subtle); border-radius: 8px; }
.wz-signature-card.is-error { border-color: var(--wz-error); }
.wz-signature-card .form-label { margin-top: 8px; }
#review-consent-terms[aria-invalid='true'] { border-color: var(--wz-error); }
@media (max-width: 1199.98px) { .wz-statements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 359.98px) { .wz-statements-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767.98px) {
  .wz-supporting-grid, .wz-signatures-grid.has-two-owners { grid-template-columns: minmax(0, 1fr); }
  .wz-review-toolbar { align-items: flex-start; flex-direction: column; }
  .wz-review-group-heading { padding: 12px 16px; gap: 8px; }
  .wz-review-toggle strong { font-size: 16px; }
  .wz-answer-grid { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 12px; }
  .wz-answer-grid dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; }
  .wz-answer-wide { grid-template-columns: minmax(0, 1fr) !important; }
  .wz-signature-card { padding: 16px; }
  .wz-signature-surface { height: 200px; }
}

.wz-upload-card.is-uploaded:not(.is-error) { border-color: #86cba2; background: #f5fcf8; }
.wz-upload-success { display: inline-block; color: #176b3a; background: #e1f3e8; padding: 3px 7px; border-radius: 6px; font-size: 11px; line-height: 16px; font-weight: 600; }
.wz-upload-card-heading { flex-wrap: wrap; }
.wz-file-state.is-success { color: #176b3a; font-weight: 600; }
.wz-file-progress-fill { display: block; height: 100%; background: var(--wz-primary); border-radius: inherit; transition: width 180ms linear; }
.wz-file-progress.is-indeterminate .wz-file-progress-fill { width: 35% !important; animation: wz-upload-processing 1.2s ease-in-out infinite; }
@keyframes wz-upload-processing { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .wz-file-progress-fill { transition: none; } .wz-file-progress.is-indeterminate .wz-file-progress-fill { animation: none; transform: translateX(90%); } }
