/* Shared form styles. Themes set: --f-accent, --f-ink, --f-muted, --f-line, --f-surface, --f-radius, --f-font */
.ntf { --_a: var(--f-accent, #2f7d4f); --_ink: var(--f-ink, #1f2a2e); --_mut: var(--f-muted, #5c676b); --_line: var(--f-line, #d8dcd6); --_bg: var(--f-surface, #fff); --_r: var(--f-radius, 12px);
  font-family: var(--f-font, inherit); color: var(--_ink); font-size: 18px; line-height: 1.5; }
.ntf *, .ntf *::before, .ntf *::after { box-sizing: border-box; }
.ntf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ntf-alert { border: 2px solid #c2410c; background: #fff4ed; color: #7c2d12; border-radius: var(--_r); padding: 14px 18px; margin-bottom: 24px; }
.ntf-alert p { margin: 4px 0 0; }
.ntf-progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 28px; counter-reset: s; overflow-x: auto; }
.ntf-progress li { flex: 1 1 0; min-width: 44px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--_mut); }
.ntf-progress li::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--_line); transition: background .3s; }
.ntf-progress li.is-done::before, .ntf-progress li.is-current::before { background: var(--_a); }
.ntf-progress li span { display: none; }
.ntf-progress li em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ntf-progress li.is-current em { color: var(--_ink); font-weight: 600; }
@media (max-width: 640px) { .ntf-progress li em { display: none; } .ntf-progress li.is-current em { display: block; position: absolute; } .ntf-progress { position: relative; padding-bottom: 26px; } }
.ntf-step { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.ntf-step legend { font-size: 1.35em; font-weight: 700; padding: 0; margin-bottom: 6px; }
.ntf-step-intro { color: var(--_mut); margin: 0 0 18px; }
.ntf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 14px; }
.ntf .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .ntf-grid { grid-template-columns: 1fr; } }
.ntf .f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ntf .f[hidden] { display: none; }
.ntf label, .ntf .lbl { font-weight: 600; margin: 0; }
.ntf .req { color: #c2410c; }
.ntf .help { font-size: 15px; color: var(--_mut); margin: 0; }
.ntf .err { color: #b91c1c; font-size: 15px; margin: 0; font-weight: 600; }
.ntf input[type=text], .ntf input[type=email], .ntf input[type=tel], .ntf input[type=date], .ntf input[type=number], .ntf select, .ntf textarea {
  font: inherit; font-size: 17px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--_line); border-radius: calc(var(--_r) * .7); background: var(--_bg); color: var(--_ink); min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.ntf textarea { resize: vertical; }
.ntf input:focus-visible, .ntf select:focus-visible, .ntf textarea:focus-visible { outline: none; border-color: var(--_a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--_a) 22%, transparent); }
.ntf .has-err input, .ntf .has-err select, .ntf .has-err textarea { border-color: #b91c1c; }
.ntf input[type=file] { font-size: 16px; padding: 10px; border: 1.5px dashed var(--_line); border-radius: calc(var(--_r) * .7); background: var(--_bg); width: 100%; }
.ntf .choices { display: flex; flex-direction: column; gap: 8px; }
.ntf .choices.inline { flex-direction: row; flex-wrap: wrap; }
.ntf .choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; padding: 10px 14px; border: 1.5px solid var(--_line); border-radius: calc(var(--_r) * .7); background: var(--_bg); cursor: pointer; transition: border-color .15s, background .15s; }
.ntf .choice:has(input:checked) { border-color: var(--_a); background: color-mix(in srgb, var(--_a) 8%, var(--_bg)); }
.ntf .choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--_a); flex: none; }
.ntf .choice.consent { font-weight: 500; }
.ntf .yn-details { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.ntf .yn-details label { font-weight: 500; font-size: 15px; color: var(--_mut); }
.ntf .f-yesno { padding-bottom: 14px; border-bottom: 1px solid var(--_line); }
.ntf .f-heading { font-size: 1.05em; margin: 12px 0 0; }
.ntf .f-info { color: var(--_mut); background: color-mix(in srgb, var(--_a) 6%, transparent); border-radius: var(--_r); padding: 4px 16px; }
.ntf .grid-wrap { overflow-x: auto; border: 1px solid var(--_line); border-radius: var(--_r); }
.ntf-table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.ntf-table th, .ntf-table td { padding: 8px; border-bottom: 1px solid var(--_line); text-align: left; }
.ntf-table thead th { background: color-mix(in srgb, var(--_a) 8%, var(--_bg)); }
.ntf-table input { min-height: 40px !important; padding: 6px 8px !important; font-size: 15px !important; }
.ntf .rep-items { display: flex; flex-direction: column; gap: 16px; }
.ntf .rep-item { border: 1.5px solid var(--_line); border-radius: var(--_r); padding: 16px; background: var(--_bg); }
.ntf .rep-head { display: flex; justify-content: space-between; align-items: center; }
.ntf .rep-remove { font: inherit; font-size: 15px; background: none; border: 0; color: #b91c1c; cursor: pointer; text-decoration: underline; min-height: 44px; padding: 0 4px; }
.ntf .rep-add { margin-top: 12px; align-self: flex-start; }
.ntf .sig { display: flex; flex-direction: column; gap: 8px; }
.ntf .sig canvas { width: 100%; max-width: 600px; height: auto; aspect-ratio: 600/160; border: 1.5px dashed var(--_line); border-radius: var(--_r); background: var(--_bg); touch-action: none; cursor: crosshair; }
.ntf .sig-clear { align-self: flex-start; font: inherit; font-size: 15px; background: none; border: 0; text-decoration: underline; color: var(--_mut); cursor: pointer; padding: 10px 0; min-height: 44px; }
.ntf-privacy { font-size: 15px; color: var(--_mut); margin: 24px 0 0; }
.ntf-privacy a { color: inherit; }
.ntf-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.ntf-btn { font: inherit; font-weight: 700; font-size: 17px; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--_a); background: var(--_a); color: #fff; cursor: pointer; transition: transform .12s ease-out, filter .15s; }
.ntf-btn:hover { filter: brightness(1.06); }
.ntf-btn:active { transform: scale(.97); }
.ntf-btn.ghost, .ntf-prev { background: transparent; color: var(--_a); }
.ntf-btn[hidden] { display: none; }
.ntf-btn:disabled { opacity: .6; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .ntf * { transition: none !important; } }
