/* R34 – dedicated form design layer. No changes to shared header, PDF or catalog data. */
#main #wizard{--jvf-ink:#183b50;--jvf-muted:#536671;--jvf-border:#cbd6dc;--jvf-soft:#f5f7f8;color:var(--jvf-ink)}
#main #wizard #return{margin:0;min-height:44px;font-size:13px;font-weight:600;padding:8px 0;color:#395c6f}
#main #wizard .wizard-head{margin:0 0 16px}
#main #wizard #form-title{font-size:clamp(24px,2.5vw,30px);font-weight:700;line-height:1.25;letter-spacing:-.35px;margin:0}
#main #wizard #form-jp{font-size:12px;line-height:1.5;margin:5px 0 0}
#main #wizard .jvf-progress{background:none;border:0;border-radius:0;padding:0;margin:0 0 20px}
#main #wizard .jvf-progress-meta{justify-content:space-between;gap:8px;margin:0 0 7px;font-size:13px;font-weight:600}
#main #wizard .jvf-progress-meta .jvf-current{font-size:13px;font-weight:600}
#main #wizard .jvf-progress .step-bar{height:4px;border-radius:4px}
#main #wizard .workspace{gap:24px;grid-template-columns:minmax(0,1fr) minmax(220px,260px)}
#main #wizard .panel{padding:22px;border:1px solid #e0e7ea;border-radius:10px;box-shadow:none}
#main #wizard .step-head{padding:0 0 12px;margin:0 0 18px}
#main #wizard .step-head h2,#main #wizard #review-panel h2,#main #wizard #preview-panel h2{font-size:20px;line-height:1.35;margin:0 0 5px;font-weight:700}
#main #wizard .step-head p{font-size:13px;line-height:1.55;margin:0}
#main #wizard .step-head .jvf-required-note{font-size:12px;margin:8px 0 0}
#main #wizard #fields{gap:19px 16px;grid-template-columns:repeat(2,minmax(0,1fr))}
#main #wizard #fields .field{scroll-margin-top:90px;scroll-margin-bottom:120px;min-width:0}
#main #wizard #fields .field>label,#main #wizard #fields .field legend{font-size:14px;font-weight:600;line-height:1.45;margin:0 0 6px;color:var(--jvf-ink)}
#main #wizard #fields .field label .jp,#main #wizard #fields .field legend .jp{display:inline;font-size:11px;font-weight:400;color:#60737e;line-height:1.5;margin:0 0 0 6px;overflow-wrap:anywhere}
#main #wizard #fields input:not([type=radio]):not([type=checkbox]),#main #wizard #fields select,#main #wizard #fields textarea{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;min-height:48px!important;height:48px!important;font-size:16px!important;line-height:1.4;padding:10px 11px!important;border:1px solid var(--jvf-border);border-radius:8px;font-weight:400;box-shadow:none;background-color:#fff}
#main #wizard #fields select{appearance:auto;-webkit-appearance:menulist;padding-right:24px!important;text-overflow:ellipsis}
#main #wizard #fields textarea{height:auto!important;min-height:88px!important;resize:vertical}
#main #wizard #fields input[readonly]{background:#f0f4f5}
#main #wizard #fields .choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#main #wizard #fields .choices label{margin:0;min-height:46px;padding:9px 11px;gap:9px;font-size:14px;line-height:1.4;border-radius:8px;box-shadow:none;overflow-wrap:anywhere}
#main #wizard #fields .choices label:has(input:checked){background:#eef5f7;box-shadow:none;border-color:#537786;font-weight:600}
#main #wizard #fields .choices input,#main #wizard #fields .check-line input{width:17px;height:17px;flex:0 0 17px}
#main #wizard #fields .help{font-size:12px;line-height:1.5;margin:5px 0 0;color:var(--jvf-muted)}
#main #wizard #fields .jvf-field-tip{font-size:12px;color:#395c6f;margin-top:4px}
#main #wizard #fields .jvf-field-tip summary{cursor:pointer;min-height:30px;display:list-item;padding:5px 0;font-weight:600}
#main #wizard #fields .jvf-field-tip[open] .help{padding:8px 10px;border-left:2px solid #b4c9d1;background:#f5f8f9;margin-top:0}
#main #wizard #fields .jvf-date-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:8px}
#main #wizard #fields .jvf-date-part{min-width:0;margin:0;font-size:11px;color:var(--jvf-muted);font-weight:400}
#main #wizard #fields .jvf-date-part span{display:block;margin-bottom:4px}
#main #wizard #fields .jvf-date-part input{font-variant-numeric:tabular-nums;text-align:center}
#main #wizard #fields .field-error:not(:empty){font-size:12px;font-weight:600;margin:5px 0 0}
#main #wizard #fields .invalid input:not([hidden]),#main #wizard #fields .invalid select,#main #wizard #fields .invalid textarea{border-color:#a8323d;background:#fff9f9}
#main #wizard .actionbar{box-shadow:none;border-top:1px solid #dce5e9;gap:10px;padding:12px 0;background:#fff;margin:12px 0 0}
#main #wizard .actionbar button,#main #wizard #download{min-height:48px;font-size:14px;padding:10px 15px;border-radius:8px;font-weight:600}
#main #wizard .actionbar #back{min-width:100px;flex:0 0 auto}
#main #wizard .actionbar #continue{flex:1;min-width:0}
#main #wizard .side .panel{background:none;border:0;border-top:1px solid #dce5e9;border-radius:0;padding:12px 0;margin:0 0 8px}
#main #wizard .side h3{font-size:14px;font-weight:600;margin:0 0 5px}
#main #wizard .side .panel p,#main #wizard .side li,#main #wizard .side a{font-size:12px;line-height:1.55;margin:4px 0}
#main #wizard .side .jvf-support summary{font-size:13px;min-height:36px;padding:6px 0}
#main #wizard .side #clear{font-size:12px;min-height:36px;padding:6px 0;font-weight:600}
#main #wizard .summary-head{font-size:14px;margin-top:14px;padding:8px 10px}
#main #wizard .summary-row{font-size:13px;line-height:1.5}
#main #wizard .jvf-print-guide{padding:12px;font-size:13px}
#main #wizard .jvf-guide-row p{font-size:13px}
html body:has(#wizard:not([hidden])) #jvi-common-up{display:none!important}
@media(max-width:1023px){
 #main #wizard .workspace{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:16px}
 html body:has(#wizard:not([hidden])) #jvi-common-bottom{display:none!important}
 html body:has(#wizard:not([hidden])).jvi-common-nav{padding-bottom:calc(76px + max(16px,env(safe-area-inset-bottom,0px)))!important}
 #main #wizard .actionbar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;z-index:1002!important;margin:0!important;transform:none!important;padding:10px max(18px,env(safe-area-inset-right,0px)) calc(10px + max(16px,env(safe-area-inset-bottom,0px))) max(18px,env(safe-area-inset-left,0px))!important;background:#fff!important}
 #main #wizard .actionbar:has(#continue[hidden]) #back{flex:1}
 #main #wizard .side{margin-top:0}
}
@media(max-width:720px){
 #main #wizard .panel{padding:0;border:0;border-radius:0}
 #main #wizard .wizard-head{margin-bottom:14px}
 #main #wizard .jvf-progress{margin-bottom:18px}
 #main #wizard .step-head{margin-bottom:16px}
 #main #wizard #fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 #main #wizard #fields .field{grid-column:1/-1}
 #main #wizard #fields #field-familyName,#main #wizard #fields #field-givenName{grid-column:auto}
 #main #wizard #fields #field-familyName .jp,#main #wizard #fields #field-givenName .jp{display:none}
 #main #wizard #fields .choices:has(>label:nth-child(3)){grid-template-columns:1fr}
 #main #wizard .summary-row{grid-template-columns:minmax(0,1fr);gap:2px}
}
@media(max-width:350px){#main #wizard #fields #field-familyName,#main #wizard #fields #field-givenName{grid-column:1/-1}}
@media print{#main #wizard .actionbar{display:none!important}}
@media(max-width:720px){#main #wizard #fields .field.radio:not([hidden]){grid-column:1/-1!important}}
