.cst-preview{--cst-accent:#742429;--cst-border:#d2d2d2;max-width:1050px;margin:2rem auto;color:#575757;font:18px/1.4 Merriweather,Arial,Helvetica,sans-serif}
.cst-preview *{box-sizing:border-box}.cst-preview-notice{padding:16px 20px;background:#fff6dc;border-left:4px solid #b47b00;margin-bottom:24px;font-size:14px}
.cst-fields{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px 24px}.cst-field{grid-column:var(--cst-column,auto)/span var(--cst-span);grid-row:var(--cst-row,auto);min-width:0}.cst-field[hidden]{display:none!important}
.cst-field>label,.cst-field legend{display:block;font-weight:700;margin-bottom:8px;font-size:18px}.cst-field span[aria-label=required]{color:var(--cst-accent)}
.cst-field input:not([type=radio]):not([type=checkbox]),.cst-field select,.cst-field textarea{width:100%;padding:11px 12px;border:1px solid var(--cst-border);border-radius:2px;background:#fff;color:inherit;font:inherit;min-height:44px}
.cst-field textarea{resize:vertical}.cst-field input:focus-visible,.cst-field textarea:focus-visible,.cst-field select:focus-visible,.cst-field button:focus-visible{outline:3px solid #315f99;outline-offset:3px}
.cst-field fieldset{border:0;padding:0;margin:0;min-width:0}.cst-options{display:flex;flex-wrap:wrap;gap:12px 24px}.cst-options label{display:flex;align-items:baseline;gap:6px;cursor:pointer;min-height:32px}.cst-options input{accent-color:var(--cst-accent);flex-shrink:0}
.cst-field h2{font:28px/1.5 'Roboto Slab',Arial,Helvetica,sans-serif;color:var(--cst-accent);margin:12px 0}.cst-field p{margin:0 0 10px}.cst-field hr{border:0;border-top:1px solid #ddd;margin:8px 0}
.cst-field button{border:0;background:var(--cst-accent);color:white;font:inherit;font-weight:600;padding:13px 25px;border-radius:2px;cursor:pointer}.cst-field button:disabled{opacity:.6;cursor:wait}.cst-field button small{font-weight:400}
.cst-preview .cst-hint{font-size:13px;color:#606060}.cst-preview .cst-error{color:#a11b22;font-size:14px;margin-top:6px}.cst-error:empty,.cst-status:empty{display:none}.cst-field [aria-invalid=true]{border-color:#a11b22!important}
.cst-status{padding:16px;background:#f3f6f9;border-left:4px solid #315f99;margin-bottom:24px}.cst-file-list{font-size:14px;overflow-wrap:anywhere;padding-left:20px}
.cst-file-list button{background:transparent;color:#742429;padding:4px 10px;text-decoration:underline;font-size:13px;margin-left:10px}
@media(max-width:680px){.cst-field{grid-column:span 12;grid-row:auto}.cst-fields{gap:18px}.cst-options{gap:8px 16px}.cst-field h2{font-size:21px}}

/* Measured against the existing Avada / Ninja Forms rendering. Scoped to CST. */
.cst-preview{max-width:none;margin:0;font-family:Merriweather,Arial,Helvetica,sans-serif}
.cst-preview-switch{font:13px/1.6 Arial,sans-serif;margin:0 0 24px;display:flex;flex-wrap:wrap;gap:6px 16px}.cst-preview-switch a[aria-current]{font-weight:700}
.cst-preview .cst-fields{display:block}.cst-preview .cst-row{display:flex;align-items:flex-start;flex-wrap:wrap}.cst-preview .cst-cell{padding:0 5px;min-width:0}
.cst-preview .cst-field{margin:0 0 15px;display:flow-root}.cst-preview .cst-field>label,.cst-preview .cst-field legend{font:700 18px/25.2px Merriweather,Arial,Helvetica,sans-serif;margin:0 0 10px;padding:0;float:none;width:auto}
.cst-preview .cst-field input:not([type=radio]):not([type=checkbox]):not([type=file]),.cst-preview .cst-field select{height:38px;min-height:0;padding:0 15px;font:18px Merriweather,Arial,Helvetica,sans-serif;border:1px solid #d2d2d2;border-radius:0;color:#aaa9a9;box-shadow:none}
.cst-preview .cst-field textarea{height:200px;min-height:0;padding:10px;font:13px Merriweather,Arial,Helvetica,sans-serif;border-radius:0;color:#aaa9a9}
.cst-preview .cst-field h2{font:400 28px/42px 'Roboto Slab',Arial,Helvetica,sans-serif;margin:0 0 19.6px;color:#742429}.cst-preview .cst-field p{margin:0 0 20px}
.cst-preview .cst-field hr{border:0;height:20px;margin:0}.cst-preview .cst-options{display:flex;flex-wrap:wrap;gap:0}.cst-preview .cst-options label{font:400 18px/25.2px Merriweather,Arial,Helvetica,sans-serif;margin:0 16px;min-height:0;gap:14px;align-items:baseline}
.cst-preview .cst-options input{width:13px;height:13px;margin:3px 0 0;padding:0;accent-color:auto}.cst-preview .cst-field button[type=submit]{font:700 13px/16px 'PT Sans',Arial,Helvetica,sans-serif;color:#575757;background:#efefef;border:3px solid #000;border-radius:0;padding:11px 23px;min-height:44px;box-sizing:border-box}
.cst-preview .cst-field .cst-error:empty{display:none}.cst-preview .cst-field .cst-error{font-size:14px;color:#a11b22;margin:6px 0 0}.cst-preview .cst-field .cst-hint{font:13px/1.4 Arial,sans-serif;margin:8px 0}
@media(max-width:800px){.cst-preview .cst-cell{width:100%!important}.cst-preview .cst-field h2{font-size:28px}.cst-preview .cst-options label{margin:0 16px 5px}}
.cst-preview .cst-field[data-type=listradio]:not([data-key^=geschlecht]) .cst-options{display:block}
.cst-preview .cst-field[data-type=listradio]:not([data-key^=geschlecht]) .cst-options label{margin:0 0 5px;gap:14px}
.cst-preview .cst-field[data-type=textarea]{padding-bottom:6.1875px}
.cst-preview .cst-field hr{height:0;border-top:1px solid #a0a0a0;border-bottom:1px solid #e4e4e4;margin:8px 0 10px}
.cst-preview .cst-field[data-key=html_1612894942202]{padding-bottom:49px}
.cst-preview .cst-field[data-type=listcheckbox] legend{margin-bottom:5px}
.cst-preview .cst-field[data-type=recaptcha]{min-height:78px}
.cst-preview .cst-field button[type=submit]{min-width:97.96875px}
.cst-preview .cst-field .cst-file-native{position:absolute;width:1px!important;height:1px!important;opacity:0;padding:0!important;pointer-events:none}
.cst-preview .cst-field button.cst-upload-trigger{font:13.3333px Arial;color:#000;background:#efefef;border:1px solid #767676;border-radius:2px;padding:1px 6px;margin:0 0 10px;min-height:21px}
.cst-preview .cst-field[data-type=file_upload]{min-height:110.1875px}
.cst-preview input[type=date]:invalid:not(:focus),.cst-preview input[type=time]:invalid:not(:focus){color:transparent!important}
.cst-preview input[type=date]:not(:focus)::-webkit-calendar-picker-indicator,.cst-preview input[type=time]:not(:focus)::-webkit-calendar-picker-indicator{opacity:0}
.cst-preview .cst-field[data-type=listcheckbox] fieldset{position:relative}
.cst-preview .cst-field[data-type=listcheckbox] legend{position:absolute;left:65%;top:0;width:35%;padding-left:2%;margin:0;font-weight:400}
.cst-preview .cst-field[data-type=listcheckbox] .cst-options{width:65%;display:block}
.cst-preview .cst-field[data-type=listcheckbox] .cst-options label{margin:0 0 5px;gap:14px}
.cst-preview[data-kind=contact] .cst-form{width:100%;margin-left:0;background:transparent}
.cst-preview[data-kind=contact][data-preview="1"] .cst-form{width:72%;margin-left:28%;background:#f2f2f2}
.cst-preview[data-kind=contact] .cst-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:2.5625%;row-gap:0}
.cst-preview[data-kind=contact] .cst-row,.cst-preview[data-kind=contact] .cst-cell{display:contents}
.cst-preview[data-kind=contact] .cst-field{grid-column:1 / -1;grid-row:auto}
.cst-preview[data-kind=contact] .cst-row:nth-child(-n+2) .cst-field{grid-column:auto}
.cst-preview[data-kind=contact] .cst-row:nth-child(-n+2) .cst-field>label{margin-bottom:15px}
.cst-preview[data-kind=voucher] .cst-form[data-form-id="5"] button[type=submit]{min-width:175.828125px}
.cst-preview .cst-fields[hidden]{display:none!important}
.cst-preview .cst-status.cst-success{background:#f3f6f0;border-left-color:#547441;margin:0;padding:24px;font-size:16px}
.cst-preview .cst-field input:not([type=radio]):not([type=checkbox]):not([type=file]),.cst-preview .cst-field select,.cst-preview .cst-field textarea{font-size:16px}
@media(max-width:800px){.cst-preview[data-kind=contact] .cst-form,.cst-preview[data-kind=contact][data-preview="1"] .cst-form{width:100%;margin-left:0}.cst-preview[data-kind=contact] .cst-fields{display:block}.cst-preview .cst-field select{height:25.1875px}}
