.fgw{--forest:#203b2e;--sand:#f5f0e7;--gold:#b7965d;max-width:820px;margin:30px auto;padding:clamp(22px,5vw,56px);background:var(--sand);color:#25382b;border-radius:24px;box-shadow:0 12px 40px #1c2c2014;font-family:inherit}.fgw *{box-sizing:border-box}.fgw-head{text-align:center}.fgw-kicker{letter-spacing:.18em;font-size:11px;color:#8a734a;font-weight:700}.fgw h2{font-size:clamp(29px,4vw,43px);line-height:1.16;margin:16px 0;color:var(--forest)}.fgw h3{font-size:26px;color:var(--forest);margin:14px 0}.fgw p{line-height:1.65}.fgw-progress{height:7px;background:#dfd7c9;border-radius:10px;overflow:hidden;margin:32px 0 12px}.fgw-progress-bar{height:100%;background:var(--gold);transition:width .25s}.fgw-step-label{font-size:13px;color:#776e5d;margin:0 0 22px}.fgw-step label:not(.fgw-check){display:block;margin:19px 0;font-weight:600}.fgw label span:not(.fgw-check span){color:#a26938}.fgw input:not([type=checkbox]):not([type=radio]),.fgw textarea,.fgw select{display:block;width:100%;margin-top:9px;padding:14px;border:1px solid #c9c5b9;border-radius:10px;background:#fff;color:#26372b;font:inherit}.fgw textarea{resize:vertical}.fgw fieldset{border:0;padding:0;margin:22px 0}.fgw legend{font-weight:700;margin-bottom:12px}.fgw-check{display:flex;align-items:flex-start;gap:10px;margin:11px 0;font-weight:400}.fgw-check input{margin-top:5px;accent-color:var(--forest)}.fgw-check span{color:inherit}.fgw-check a{color:#34674c;text-decoration:underline}.fgw-note{font-size:13px;color:#726b5d;background:#ebe4d7;padding:12px 14px;border-radius:9px}.fgw-actions{display:flex;gap:12px;justify-content:space-between;margin-top:30px}.fgw button{border-radius:12px;padding:13px 22px;font:inherit;cursor:pointer}.fgw-next,.fgw-submit{background:var(--forest);color:white;border:1px solid var(--forest);margin-left:auto}.fgw-back{background:transparent;border:1px solid #a7a28e;color:var(--forest)}.fgw button:disabled{opacity:.6;cursor:wait}.fgw-error{background:#f8e5df;color:#8a3027;padding:12px;border-radius:8px;margin-top:16px}.fgw-summary{padding:16px;background:#fff;border-radius:12px;overflow-wrap:anywhere}.fgw-summary p{margin:8px 0}.fgw-success{text-align:center;padding:35px 0}.fgw [hidden]{display:none!important}@media(max-width:520px){.fgw{border-radius:14px;margin:10px auto}.fgw-actions button{padding:12px 14px}}

/* V0.5: prevent theme radio layout rules from separating control and label */
.fgw .fgw-step label.fgw-check{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;gap:12px!important;width:100%;margin:11px 0!important;text-align:left!important;float:none!important;line-height:1.5!important}.fgw .fgw-step label.fgw-check input[type="radio"],.fgw .fgw-step label.fgw-check input[type="checkbox"]{display:inline-block!important;position:static!important;float:none!important;flex:0 0 auto!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;margin:3px 0 0!important;padding:0!important;vertical-align:top!important;accent-color:#203b2e!important}.fgw .fgw-step label.fgw-check span{flex:1 1 auto;min-width:0;color:inherit!important}

/* V0.7: conditional form fields */
.fgw [data-show-when][hidden]{display:none!important}.fgw input[type=time]{max-width:260px}.fgw-step fieldset{min-width:0}

/* V0.8: theme-safe select positioning and readable selected option */
.fgw .fgw-step select {
  display:block !important; width:100% !important; min-height:52px !important;
  height:52px !important; line-height:24px !important; padding:12px 42px 12px 15px !important;
  font-size:16px !important; font-weight:400 !important; letter-spacing:normal !important;
  text-transform:none !important; text-indent:0 !important; vertical-align:middle !important;
  color:#26372b !important; background-color:#fff !important;
  box-sizing:border-box !important; appearance:auto !important; -webkit-appearance:menulist !important;
  overflow:visible !important;
}
.fgw .fgw-step select option { color:#26372b; background:#fff; font-size:16px; text-transform:none; }
