[hidden] { display: none !important; }
.wizard-only { display: none; }
.wizard-mode-switch { margin-top: 18px; }
.wizard-active { font-size: 16px; line-height: 1.45; padding-bottom: 0; background: #f3f4f6; }
.wizard-active .wrap { display: block; max-width: 760px; padding: 22px 18px; }
.wizard-active .panel { padding: 26px 30px; border-color: #e0e3e8; border-radius: 14px; box-shadow: 0 6px 24px rgba(20, 30, 45, .04); }
.wizard-active .wizard-only { display: block; }
.wizard-active .expert-only, .wizard-active .panel > .hint,
.wizard-active #sigForm > .expert-only, .wizard-active .mobileBar { display: none !important; }
.wizard-active header { background: white; color: #282c33; border-bottom: 1px solid #e0e3e8; padding: 12px max(20px, calc((100% - 720px) / 2)); gap: 12px; }
.wizard-active header .brand { height: 38px; padding: 3px; }
.wizard-active header h1 { font-size: 20px; }
.wizard-active header p { font-size: 13px; color: #606873; }
.wizard-active .panel h2 { font-size: 24px; color: #24282e; text-transform: none; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 8px; }
.wizard-active label { font-size: 15px; color: #30343a; }
.wizard-active input:not([type=checkbox]), .wizard-active select, .wizard-active textarea { font-size: 16px; min-height: 44px; padding: 9px 11px; color: #20252a; border-color: #c4cad2; }
.wizard-active input::placeholder { color: #6a7076; opacity: 1; }
.wizard-active button, .wizard-active summary { font-size: 16px; min-height: 44px; padding: 10px 16px; }
.wizard-active button:focus-visible, .wizard-active a:focus-visible, .wizard-active summary:focus-visible { outline: 3px solid #18559a; outline-offset: 4px; }
.wizard-active input:focus, .wizard-active select:focus { outline: 3px solid #18559a; outline-offset: 2px; box-shadow: none; }
.wizard-active .form-grid { gap: 14px 16px; }
.wizard-active .wizard-personal > .full { grid-column: auto; min-width: 0; }
.wizard-active .prefixHelp { font-size: 15px; margin-top: 6px; padding: 0 8px; border: 0; background: transparent; }
.wizard-active .prefixHelp summary { padding: 5px 2px; min-height: 32px; font-size: 14px; text-decoration: underline; }
.wizard-active .prefixHelp table, .wizard-active .prefixHelp p { font-size: 14px !important; }
.wizard-active .sugItem { font-size: 16px; padding: 11px; }
.wizard-active .hint, .wizard-active .about { font-size: 14px; color: #505760; }
.wizard-kicker { font-weight: 600; font-size: 13px; color: #747b84; margin: 0 0 10px; }
.wizard-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; list-style: none; padding: 0; margin: 0 0 22px; }
.wizard-steps li { border-bottom: 3px solid #e3e6eb; padding: 7px 5px; font-size: 14px; color: #59616d; text-align: center; }
.wizard-steps li[aria-current=step] { border-color: #bd1029; color: #a40014; background: #fff4f5; border-radius: 5px 5px 0 0; font-weight: 700; }
#wizardDescription { margin: 0 0 22px; color: #59616d; }
.wizard-field-help { margin: 5px 0 0; font-size: 14px; color: #59616d; }
.wizard-choice-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.wizard-choice-group legend { padding: 0; margin: 0 0 10px; font-size: 15px; font-weight: 600; color: #30343a; }
.wizard-choices { display: grid; grid-template-columns: 1fr; }
.wizard-choice { display: block; position: relative; margin-bottom: 8px; cursor: pointer; }
.wizard-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.wizard-choice .choice-box { display: block; padding: 11px 12px; background: #ffffff; border: 1px solid #c4cad2; border-radius: 6px; }
.wizard-choice .choice-box strong { display: block; color: #20252a; }
.wizard-choice .choice-desc { display: block; margin-top: 2px; font-size: 14px; color: #59616d; }
.wizard-choice:hover .choice-box { border-color: #18559a; }
.wizard-choice input:checked + .choice-box { border-color: #18559a; background: #eef4fb; }
.wizard-choice input:checked + .choice-box strong { color: #18559a; }
.wizard-choice input:focus-visible + .choice-box { outline: 3px solid #18559a; outline-offset: 2px; }
.wizard-hint { margin: 2px 0 0; font-size: 14px; color: #59616d; }
.wizard-optional { font-size: 13px; color: #747b84; font-weight: 400; }
@media (min-width: 640px) {
  .wizard-choices { grid-template-columns: 1fr 1fr; column-gap: 12px; }
}
.wizard-active .wizard-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #e3e6eb; margin-top: 24px; padding-top: 18px; }
.wizard-active .wizard-navigation button { min-width: 145px; }
.wizard-active .wizard-navigation button[hidden] + button { margin-left: auto; }
.wizard-active .wizard-error { color: #941328; background: #fff0f1; border-left: 5px solid #ae1230; padding: 14px 18px; }
.wizard-active .wizard-confirm { display: flex; align-items: flex-start; gap: 11px; padding: 14px; background: #f6f7f9; border: 1px solid #e0e3e8; border-radius: 8px; margin: 18px 0; }
.wizard-confirm input { flex: 0 0 21px; width: 21px; height: 21px; accent-color: #c50019; margin: 1px 0 0; }
.wizard-active .preview-box, .wizard-active.preview-sheet-open .preview-box { display: block; position: static; margin: 16px 0; border: 0; padding: 0; box-shadow: none; max-height: none; }
.wizard-active .preview-box > h2, .wizard-active .preview-box > .progress, .wizard-active .preview-box > .hint { display: none; }
.wizard-active .preview-area, .wizard-active.preview-sheet-open .preview-area { max-height: 380px; padding: 20px; border: 1px solid #d6dbe2; overflow: auto; }
.wizard-active #preview { pointer-events: none; }
.wizard-preview-caption { font-size: 16px; color: #505760; }
.wizard-active .wizard-note { padding: 13px 16px; background: #f4f6f9; border-left: 3px solid #a6b3c6; border-radius: 4px; }
.wizard-download { margin: 6px 0 12px; }
.wizard-instructions { padding-left: 28px; }
.wizard-instructions li { margin-bottom: 14px; padding-left: 5px; }
.wizard-status { font-weight: 700; color: #275330; }
.wizard-active .wizard-help { margin: 20px 0; }
.wizard-active #wizardDone h2 { margin-top: 0; }
.wizard-active #wizardToggle { font-size: 14px; padding: 5px 0; background: transparent; border: none; color: #59616d; text-decoration: underline; min-height: 36px; }
.wizard-active .toast { max-width: calc(100vw - 32px); width: 620px; bottom: 20px; font-size: 17px; }
@media (max-width: 540px) {
  .wizard-active .wizard-personal > .full { grid-column: 1 / -1; }
  .wizard-active .wrap { padding: 16px 10px; }
  .wizard-active .panel { padding: 20px 16px; }
  .wizard-active .panel h2 { font-size: 23px; }
  .wizard-steps { grid-template-columns: 1fr 1fr; }
  .wizard-active .wizard-navigation button { flex: 1; min-width: 120px; }
  .wizard-active header p { display: none; }
  .wizard-active .preview-area { padding: 14px; }
}
