.sc-ew {
  --sc-ew-ink: #163b65;
  --sc-ew-accent: #11736f;
  --sc-ew-line: #c7d7df;
  background: #f4f8fb;
  color: #192c39;
  border: 1px solid var(--sc-ew-line);
  border-radius: 14px;
  padding: clamp(1rem, 3vw, 1.5rem);
  margin: 1.5rem 0;
  max-width: 100%;
  box-sizing: border-box;
}
.sc-ew *, .sc-ew *::before, .sc-ew *::after { box-sizing: border-box; }
.sc-ew h3 { color: var(--sc-ew-ink); margin-top: 0; }
.sc-ew p { margin: 0.65rem 0; }
.sc-ew-fields { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.sc-ew label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 650; }
.sc-ew input, .sc-ew select {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  border: 1px solid #8097a3;
  border-radius: 8px;
  padding: 0.7rem;
  background: #fff;
  color: #192c39;
  font: inherit;
}
.sc-ew button {
  border: 2px solid var(--sc-ew-accent);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  background: var(--sc-ew-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.sc-ew .sc-ew-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.sc-ew [data-example][aria-pressed="false"] { background: #fff; color: var(--sc-ew-accent); }
.sc-ew :is(button, input, select):focus-visible { outline: 3px solid #efb751; outline-offset: 3px; }
.sc-ew [aria-invalid="true"] { border: 2px solid #9f2c3b; }
.sc-ew-note, .sc-ew .muted { color: #405466; font-size: 0.93rem; }
.sc-ew-result { min-height: 1.4em; margin-top: 1rem; overflow-wrap: anywhere; }
.sc-ew-result strong { font-size: 1.3rem; color: var(--sc-ew-ink); }
.sc-ew-result.error { border-left: 4px solid #9f2c3b; padding-left: 0.8rem; }
.sc-ew-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 380px) { .sc-ew { padding: 0.9rem; } .sc-ew button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sc-ew * { scroll-behavior: auto !important; } }
