.ewf-field-line{display:flex!important;align-items:flex-start!important;gap:0!important;width:100%;min-width:0}
.ewf-field-line>.evr-input-addon{flex:1 1 0%!important;min-width:0!important;width:auto!important}
.ewf-field-line>.evr-input-addon input{min-width:0!important;width:100%!important}
.ewf-field-line>.ewf-field-button{box-sizing:border-box!important;flex:0 0 auto!important;align-self:flex-start!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0 12px!important;min-height:0!important;border:1px solid #2e7d32;border-left:0!important;border-radius:0!important;background:#fff!important;color:#2e7d32;font:inherit;line-height:1.2!important;letter-spacing:normal!important;text-transform:none!important;cursor:pointer;box-shadow:none!important}
.ewf-field-line>.ewf-field-button:hover{background:#edf5e9!important}
.ewf-field-button:focus-visible,.ewf-dialog button:focus-visible,.ewf-launch:focus-visible{outline:3px solid #88b96e!important;outline-offset:2px}
.ewf-dialog{box-sizing:border-box;width:min(1000px,calc(100% - 28px));max-width:1000px;max-height:90dvh;margin:auto;padding:26px;border:1px solid #bad3ac;border-radius:14px;background:white;color:#1f2937;font-family:inherit;font-size:16px;line-height:1.5;overflow:auto}
.ewf-dialog::backdrop{background:rgba(13,30,18,.55)}
.ewf-dialog *{box-sizing:border-box}
.ewf-dialog [hidden]{display:none!important}
.ewf-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ewf-top small{color:#2e7d32;font-weight:700;letter-spacing:1px}
.ewf-top h2{margin:4px 0 0;font-size:26px;line-height:1.2;color:#2e7d32}
.ewf-dialog p{margin:14px 0;font-size:14px}
.ewf-rows{display:grid;gap:12px}
.ewf-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(95px,.7fr) minmax(160px,1.5fr) 95px 32px;align-items:end;gap:10px;background:#f5f9f2;border:1px solid #d7e4cf;padding:14px;border-radius:8px}
.ewf-row label{display:grid;gap:5px;min-width:0;margin:0;font-size:12px;font-weight:600}
.ewf-dialog input[type=text],.ewf-dialog select{display:block;width:100%;min-width:0;height:44px;border:1px solid #8eaf80;border-radius:5px;padding:8px;background:#fff;color:#1f2937;font-family:inherit;font-size:16px}
.ewf-dialog input[aria-invalid=true]{border-color:#b42318}
.ewf-row .ewf-check{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400}
.ewf-check input{width:18px;height:18px;accent-color:#2e7d32;margin:0;flex-shrink:0}
.ewf-subtotal{display:flex;align-items:center;min-height:44px;font-weight:700;color:#2e7d32;white-space:nowrap;font-size:14px}
.ewf-dialog button,.ewf-launch{min-height:44px;border:1px solid #2e7d32;border-radius:6px;padding:9px 14px;background:white;color:#2e7d32;font-family:inherit;font-size:15px;font-weight:700;cursor:pointer;text-transform:none;letter-spacing:normal;line-height:1.3}
.ewf-dialog button:hover{background:#edf5e9}
.ewf-dialog .ewf-delete,.ewf-dialog .ewf-close{font-size:25px;min-width:32px;padding:0 6px}
.ewf-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.ewf-summary{padding:16px;background:#f0f6ec;border:1px solid #a9c59a;border-radius:8px}
.ewf-summary>div{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:4px 0}
.ewf-summary strong{color:#2e7d32;font-size:22px}
.ewf-dialog .ewf-apply{width:100%;border:2px solid #2e7d32;color:#2e7d32;background:#fff}
.ewf-dialog button:disabled{opacity:.45;cursor:not-allowed}
.ewf-error{color:#b42318}.ewf-dialog details{margin-top:18px;font-size:14px}.ewf-dialog summary{cursor:pointer;font-weight:700;color:#2e7d32}
@media(max-width:700px){.ewf-dialog{padding:18px}.ewf-row{grid-template-columns:minmax(0,1fr) 95px 32px}.ewf-room,.ewf-kind{grid-column:1/-1}.ewf-row>label:nth-child(2){grid-column:1}.ewf-dialog h2{font-size:23px}}
@media(max-width:420px){.ewf-field-line>.ewf-field-button{padding-left:8px!important;padding-right:8px!important}}

/* 1.0.1: kompakt und unabhängig von globalen Breakdance-Textgrößen. */
.ewf-dialog{width:min(900px,calc(100% - 24px));padding:18px!important;font-size:13px!important;line-height:1.35!important}
.ewf-dialog .ewf-top h2{font-size:22px!important;line-height:1.2!important;margin:2px 0!important}
.ewf-dialog .ewf-top small{font-size:11px!important}
.ewf-dialog p{font-size:12px!important;line-height:1.4!important;margin:8px 0!important}
.ewf-dialog .ewf-basis{font-size:11px!important;color:#53634e}
.ewf-basis a{color:#2f7d32;text-decoration:underline}
.ewf-dialog .ewf-row{padding:9px!important;gap:6px 9px!important}
.ewf-dialog .ewf-rows{gap:7px!important}
.ewf-dialog .ewf-row label,.ewf-dialog .ewf-row label>span{font-size:11px!important;line-height:1.3!important}
.ewf-dialog input[type=text],.ewf-dialog select{height:34px!important;min-height:34px!important;padding:5px 7px!important;font-size:13px!important}
.ewf-dialog .ewf-subtotal{min-height:34px!important;font-size:13px!important}
.ewf-dialog .ewf-check input{width:15px!important;height:15px!important}
.ewf-dialog .ewf-actions{gap:6px!important;margin:10px 0!important}
.ewf-dialog button{min-height:34px!important;padding:6px 10px!important;font-size:12px!important}
.ewf-dialog .ewf-delete,.ewf-dialog .ewf-close{font-size:21px!important;padding:0 6px!important}
.ewf-dialog .ewf-summary{padding:9px 12px!important}
.ewf-dialog .ewf-summary>div{padding:2px 0!important;font-size:13px!important}
.ewf-dialog .ewf-summary strong{font-size:18px!important}
.ewf-dialog .ewf-apply{min-height:38px!important;font-size:14px!important}
.ewf-dialog details{margin-top:10px!important;font-size:12px!important}
.ewf-dialog summary{font-size:12px!important;line-height:1.4!important}
.ewf-dialog .ewf-status:empty{display:none!important}
@media(max-width:700px){.ewf-dialog{padding:12px!important}.ewf-dialog input[type=text],.ewf-dialog select{font-size:16px!important;min-height:36px!important;height:36px!important}.ewf-dialog .ewf-row{grid-template-columns:minmax(0,1fr) 85px 30px}}

/* Rechner-Button wie vorhandener Weiter-CTA, mit eckigen Kanten. */
.ewf-field-line>.ewf-field-button{background:#d9ebd7!important;color:#1f5f24!important;border-color:#6aa443!important;border-radius:0!important;font-weight:800!important}
.ewf-field-line>.ewf-field-button:hover,.ewf-field-line>.ewf-field-button:focus-visible{background:#cfe4cc!important;color:#1f5f24!important}

/* 1.0.3: Übernahme-CTA im Rechner-Stil, abgerundet. */
.ewf-dialog .ewf-apply{background:#d9ebd7!important;color:#1f5f24!important;border:1px solid #6aa443!important;border-radius:12px!important;font-weight:800!important}
.ewf-dialog .ewf-apply:hover,.ewf-dialog .ewf-apply:focus-visible{background:#cfe4cc!important;color:#1f5f24!important}

/* 1.0.11: mobil drei schmale Felder links, Ergebnis und X rechts. */
@media(max-width:700px){
 .ewf-dialog .ewf-row{grid-template-columns:minmax(0,1fr) minmax(68px,max-content) 32px!important;grid-template-rows:auto auto auto auto!important;align-items:start!important;gap:7px 8px!important}
 .ewf-dialog .ewf-row>.ewf-room{grid-column:1!important;grid-row:1!important}
 .ewf-dialog .ewf-row>label:nth-child(2){grid-column:1!important;grid-row:2!important}
 .ewf-dialog .ewf-row>.ewf-kind{grid-column:1!important;grid-row:3!important}
 .ewf-dialog .ewf-row>.ewf-subtotal{grid-column:2!important;grid-row:1 / 4!important;align-self:center!important;justify-content:flex-end!important;min-width:0!important;padding:0!important;margin:0!important}
 .ewf-dialog .ewf-row>.ewf-delete{grid-column:3!important;grid-row:1 / 4!important;align-self:center!important;justify-self:end!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:34px!important;padding:0!important;margin:0!important}
 .ewf-dialog .ewf-row>.ewf-check{grid-column:1 / -1!important;grid-row:4!important;min-width:0!important;margin-top:2px!important}
 .ewf-dialog .ewf-row>label:not(.ewf-check){width:100%!important;max-width:100%!important;min-width:0!important}
 .ewf-dialog .ewf-row input[type=text],.ewf-dialog .ewf-row select{width:100%!important;max-width:100%!important;min-width:0!important}
}

/* 1.0.12: eigenständige, direkt verlinkbare Rechnerseite. */
body.ewf-standalone{margin:0!important;padding:24px 0!important;background:#f5f9f2!important;color:#1f2937;font-family:Arial,sans-serif!important;min-height:100vh}
.ewf-standalone>.ewf-launch{display:none!important}
.ewf-standalone .ewf-dialog{position:static!important;inset:auto!important;display:block!important;width:min(900px,calc(100% - 24px))!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0 auto!important;box-shadow:0 5px 24px #173c2a14}
.ewf-standalone .ewf-dialog .ewf-close,.ewf-standalone .ewf-dialog .ewf-apply,.ewf-standalone .ewf-dialog .ewf-round{display:none!important}
@media(max-width:700px){body.ewf-standalone{padding:12px 0!important}}

/* 1.0.13: mobile Aktionsleiste kompakt in einer Zeile. */
@media(max-width:700px){
 .ewf-dialog .ewf-actions{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;width:100%!important;min-width:0!important}
 .ewf-dialog .ewf-actions>button{padding:2px!important;flex:1 1 0!important;min-width:0!important;width:auto!important;white-space:nowrap!important;letter-spacing:normal!important;font-size:12px!important}
}

/* 1.0.14: Ergebnis und X direkt am Grundflächen-Eingabefeld ausrichten. */
@media(max-width:700px){
 .ewf-dialog .ewf-row>label:nth-child(2){align-self:end!important}
 .ewf-dialog .ewf-row input[type=text],.ewf-dialog .ewf-row select{box-sizing:border-box!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important}
 .ewf-dialog .ewf-row>.ewf-subtotal{grid-column:2!important;grid-row:2!important;align-self:end!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;box-sizing:border-box!important;height:36px!important;min-height:36px!important;max-height:36px!important;line-height:1!important;padding:0!important;margin:0!important}
 .ewf-dialog .ewf-row>.ewf-delete{grid-column:3!important;grid-row:2!important;align-self:end!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;height:36px!important;min-height:36px!important;max-height:36px!important;line-height:1!important;padding:0!important;margin:0!important}
}

/* 1.0.15: vollständige, automatisch hohe Einbettung für Breakdance. */
iframe.ewf-inline-frame{display:block!important;width:100%!important;max-width:100%!important;border:0!important;margin:0!important;padding:0!important}
body.ewf-standalone.ewf-embedded{padding:0!important;min-height:0!important;background:transparent!important}
.ewf-standalone.ewf-embedded .ewf-dialog{width:100%!important;max-width:none!important;margin:0!important;box-shadow:none!important}

/* 1.0.16: Adminleiste und deren Abstand nur auf der Rechnerseite entfernen. */
html.ewf-standalone-page{margin-top:0!important}
body.ewf-standalone #wpadminbar{display:none!important}

/* 1.0.17: Höhenmessung darf nicht durch Theme-/Breakdance-Regeln begrenzt werden. */
iframe.ewf-inline-frame{height:850px;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;flex:none!important;overflow:visible!important;box-sizing:border-box!important}
html.ewf-standalone-page:has(body.ewf-embedded){height:auto!important;min-height:0!important;overflow-x:hidden!important}
body.ewf-standalone.ewf-embedded{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.ewf-standalone.ewf-embedded .ewf-dialog{height:auto!important;max-height:none!important;overflow:visible!important}
