.yoice-ec{--yec-primary:#1c4f54;color:#173740;background:#eef5f6;padding:24px;border-radius:18px;font:16px/1.5 var(--enfold-font-family-body,Arial,sans-serif);margin:24px auto;max-width:1500px;box-sizing:border-box}.yoice-ec *{box-sizing:border-box}.yoice-ec .yec-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.yoice-ec h2{font-size:30px!important;margin:4px 0;color:#153942}.yoice-ec h3{font-size:21px!important;margin:0 0 18px;color:var(--yec-primary)}.yoice-ec p{margin:8px 0}.yoice-ec .yec-eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--yec-primary)}.yoice-ec .yec-badge{font-size:12px;padding:8px 12px;background:white;border-radius:20px;white-space:nowrap}.yoice-ec .yec-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:16px}.yoice-ec .yec-card{background:#fff;padding:22px;border:1px solid #d8e5e7;border-radius:14px;min-width:0}.yoice-ec label{display:block;font-size:14px;font-weight:400;margin:0 0 12px}.yoice-ec input[type=number],.yoice-ec select{display:block;width:100%;height:42px;padding:8px 12px;margin:5px 0 0;border:1px solid #acbec2;border-radius:6px;background:#fff;color:#173740;font:inherit}.yoice-ec button{width:100%;background:var(--yec-primary);border:0;border-radius:7px;color:white;padding:12px;font-family:inherit;font-size:17px;font-weight:600;line-height:1.4;cursor:pointer}.yoice-ec button:hover{background:#0a2d32}.yoice-ec :is(input,select,button):focus-visible{outline:3px solid #ad6100;outline-offset:3px}.yoice-ec .yec-results{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.yoice-ec .yec-results strong{display:block;font-size:clamp(22px,2.6vw,36px);line-height:1.3;color:#173740;overflow-wrap:anywhere}.yoice-ec .yec-results span,.yoice-ec small{font-size:13px}.yoice-ec small{color:#506b73}.yoice-ec .yec-note{background:#edf5f6;border-radius:9px;padding:16px;font-size:14px}.yoice-ec .yec-view{background:var(--yec-primary);color:white;border-radius:7px;padding:10px;margin-bottom:22px}.yoice-ec .yec-check{display:flex;gap:9px;align-items:center;margin:16px 0}.yoice-ec input[type=checkbox]{accent-color:var(--yec-primary);width:18px;height:18px;flex-shrink:0;margin:0}.yoice-ec .yec-muted{font-size:13px;color:#526d73}.yoice-ec .yec-error{color:#a12816;font-size:13px}.yoice-ec .yec-error:empty{display:none}.yoice-ec .yec-figure{margin:18px 0;background:#e0eef0;border:1px solid #c4dade;border-radius:14px;overflow:hidden}.yoice-ec .yec-svg-wrap{overflow:auto}.yoice-ec svg{display:block;width:100%;min-width:650px;height:auto}.yoice-ec svg text{font:14px Arial,sans-serif;fill:#173740;paint-order:stroke;stroke:#e0eef0;stroke-width:4px;stroke-linejoin:round}.yoice-ec figcaption{padding:12px 18px;font-size:13px;background:white}.yoice-ec .yec-footer{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.yoice-ec .yec-footer section{background:#ffffffba;border-radius:12px;padding:20px}.yoice-ec .yec-footer h3{font-size:17px!important;margin-bottom:10px}.yoice-ec .yec-footer p{font-size:14px}.yoice-ec [hidden]{display:none!important}@media(max-width:1050px){.yoice-ec .yec-grid{grid-template-columns:1fr 1fr}.yoice-ec .yec-grid>.yec-card:last-child{grid-column:1/-1}}@media(max-width:650px){.yoice-ec{padding:12px}.yoice-ec .yec-header{display:block}.yoice-ec .yec-badge{display:inline-block;margin-top:8px}.yoice-ec h2{font-size:25px!important}.yoice-ec .yec-grid,.yoice-ec .yec-footer{grid-template-columns:1fr}.yoice-ec .yec-card{padding:18px}.yoice-ec .yec-results strong{font-size:27px}}

.yoice-ec .yec-modes{border:1px solid #acbec2;border-radius:7px;margin:12px 0;padding:10px 12px;min-width:0}.yoice-ec .yec-modes legend{font-size:14px;font-weight:600;padding:0 4px}.yoice-ec input[type=radio]{accent-color:var(--yec-primary);width:18px;height:18px;flex-shrink:0;margin:0}.yoice-ec .yec-mode-help{font-size:13px;color:#526d73}
/* 0.2.1 compact interface */
.yoice-ec{padding:20px}.yoice-ec .yec-header{margin-bottom:16px}.yoice-ec .yec-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.yoice-ec .yec-grid>.yec-card:last-child{grid-column:auto}.yoice-ec .yec-card{padding:18px}.yoice-ec .yec-card h3{margin-bottom:12px}.yoice-ec .yec-input-row{display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:8px}.yoice-ec .yec-input-row label{min-width:0;margin-bottom:10px}.yoice-ec .yec-input-row input,.yoice-ec .yec-input-row select{margin-bottom:0}.yoice-ec .yec-modes{padding:0;border:0;margin:4px 0 0}.yoice-ec .yec-modes legend{padding:0;margin-bottom:6px;font-weight:400}.yoice-ec .yec-segments{display:flex;background:#edf5f6;border:1px solid #acbec2;border-radius:7px;overflow:hidden}.yoice-ec .yec-segments label{position:relative;flex:1;margin:0;cursor:pointer}.yoice-ec .yec-segments input{position:absolute;opacity:0;width:1px;height:1px}.yoice-ec .yec-segments span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px;text-align:center;font-size:14px}.yoice-ec .yec-segments input:checked+span{background:#1c4f54;color:#fff}.yoice-ec .yec-segments input:focus-visible+span{outline:3px solid #ad6100;outline-offset:-3px}.yoice-ec .yec-results{margin:20px 0 16px;gap:18px}.yoice-ec .yec-results strong{margin:6px 0;font-size:clamp(23px,3vw,38px)}.yoice-ec .yec-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:16px 0 8px}.yoice-ec .yec-options>span{font-weight:600;margin-right:auto}.yoice-ec .yec-options .yec-check{margin:0;min-height:36px}.yoice-ec .yec-figure{width:100%;margin:0 0 12px}.yoice-ec .yec-info{background:#fff;border:1px solid #d8e5e7;border-radius:9px}.yoice-ec .yec-info summary{cursor:pointer;padding:12px 16px;color:#1c4f54;font-weight:600}.yoice-ec .yec-info summary:focus-visible{outline:3px solid #ad6100}.yoice-ec .yec-info-body{padding:0 16px 14px;font-size:14px}.yoice-ec .yec-info h3{font-size:16px!important;margin:14px 0 6px}@media(max-width:700px){.yoice-ec{padding:12px}.yoice-ec .yec-grid{grid-template-columns:minmax(0,1fr)}.yoice-ec .yec-header{align-items:flex-start;gap:10px}.yoice-ec .yec-input-row{grid-template-columns:minmax(0,1fr) 112px}.yoice-ec .yec-card{padding:14px}.yoice-ec .yec-options{gap:4px 14px}.yoice-ec .yec-options>span{flex-basis:100%}.yoice-ec .yec-results strong{font-size:26px}}
/* Independent information bar inspired by the Discover A–Z layout. */
.yoice-ec .yec-header{margin-bottom:10px}.yoice-ec .yec-grid{align-items:start;gap:12px}.yoice-ec .yec-card{padding:14px}.yoice-ec .yec-results{margin:12px 0}.yoice-ec .yec-options{margin-top:10px}.yoice-ec .yec-infoheader{margin:0 0 12px}.yoice-ec .yec-infobar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:#111111;color:#fff;border-radius:6px}.yoice-ec .yec-infolabel{color:#fff;font-size:14px;font-weight:600;white-space:nowrap}.yoice-ec .yec-infobuttons{display:flex;gap:6px;min-width:0}.yoice-ec .yec-infobar .yec-infobutton{flex:0 0 auto;width:auto;min-height:36px;margin:0;padding:6px 11px;border:0;border-radius:4px;background:#303434;color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;box-shadow:none;cursor:pointer}.yoice-ec .yec-infobar .yec-infobutton:hover{background:#414747;color:#fff}.yoice-ec .yec-infobar .yec-infobutton[aria-expanded=true]{background:#1c4f54;color:#fff}.yoice-ec .yec-infobar .yec-infobutton:focus-visible{outline:2px solid #fff;outline-offset:2px}.yoice-ec .yec-infopanel{background:#fff;border:1px solid #d8e5e7;border-top:0;border-radius:0 0 6px 6px;padding:14px 16px;font-size:14px;overflow-wrap:anywhere}.yoice-ec .yec-infopanel h3{font-size:18px!important;margin:0 0 8px}.yoice-ec .yec-infopanel h4{font-size:15px;margin:14px 0 6px;color:#1c4f54}.yoice-ec .yec-formula{padding:9px 12px;background:#eef5f6;border-radius:4px;line-height:1.7}.yoice-ec .yec-segments input[type=radio]:checked+span{background:#1c4f54!important;color:#fff!important;-webkit-text-fill-color:#fff}.yoice-ec .yec-infopanel[hidden]{display:none!important}@media(max-width:700px){.yoice-ec .yec-infobar{flex-wrap:wrap;gap:6px;padding:8px}.yoice-ec .yec-infobuttons{width:100%;flex-wrap:wrap;gap:5px}.yoice-ec .yec-infobar .yec-infobutton{flex:1 1 auto;min-height:44px;padding:6px 8px}.yoice-ec .yec-infopanel{padding:12px}.yoice-ec .yec-header{margin-bottom:8px}}
/* A single DOM slot: below results on desktop, after SVG on mobile. */
.yoice-ec .yec-ad-layout.yec-has-ad{grid-template-areas:"inputs results" "inputs ad" "options options" "figure figure";grid-template-rows:auto auto auto auto;gap:10px 16px}.yoice-ec .yec-ad-layout>.yec-form{grid-area:inputs}.yoice-ec .yec-ad-layout>.yec-result-card{grid-area:results}.yoice-ec .yec-ad-layout>.yec-options{grid-area:options;margin:0}.yoice-ec .yec-ad-layout>.yec-figure{grid-area:figure;min-width:0}.yoice-ec .yoice-earth-curve-ad-slot{grid-area:ad;margin:10px 0 0;padding:12px;border:1px solid #cbd7da;background:#fff;border-radius:6px;min-width:0;width:100%;max-width:100%;box-sizing:border-box}.yoice-ec .yec-ad-label{font-size:11px;color:#617075;letter-spacing:.06em;margin-bottom:8px}.yoice-ec .yec-ad-content{width:100%;min-width:0;overflow-x:auto}.yoice-ec .yec-results small{display:block;overflow-wrap:anywhere}@media(max-width:700px){.yoice-ec .yec-ad-layout.yec-has-ad{grid-template-areas:"inputs" "results" "options" "figure" "ad";grid-template-columns:minmax(0,1fr)}.yoice-ec .yoice-earth-curve-ad-slot{margin-top:8px}}

.yoice-ec .yec-ad-layout:not(.yec-has-ad){grid-template-areas:"inputs results" "options options" "figure figure";grid-template-rows:auto auto auto}@media(max-width:700px){.yoice-ec .yec-ad-layout:not(.yec-has-ad){grid-template-areas:"inputs" "results" "options" "figure";grid-template-columns:minmax(0,1fr)}}
/* Release candidate: preserve visual design, extend input labels and footer. */
.yoice-ec input[data-input]{display:block;width:100%;height:42px;padding:8px 12px;margin:5px 0 0;border:1px solid #acbec2;border-radius:6px;background:#fff;color:#173740;font:inherit;box-sizing:border-box}.yoice-ec .yec-input-row{grid-template-columns:minmax(0,1fr) 150px}.yoice-ec .yec-infobar .yec-infolabel{width:auto;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;box-shadow:none;text-align:left;cursor:pointer}.yoice-ec .yec-infobar .yec-infolabel:hover{background:transparent;color:#fff}.yoice-ec .yec-infobar .yec-infolabel:focus-visible{outline:2px solid #fff;outline-offset:3px}.yoice-ec .yec-copyright{margin-top:8px;padding:0;background:none;border:0;color:#627078;font-size:11px;line-height:1.5;text-align:right}@media(max-width:700px){.yoice-ec .yec-input-row{grid-template-columns:minmax(0,1fr) 140px}.yoice-ec .yec-copyright{font-size:10px}}
