.eda-open {
  display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 12px; color: #0b2f57; background: transparent; border: 1px solid rgba(11,47,87,.2);
  border-radius: 10px; font-size: 12px; font-weight: 750; cursor: pointer;
}
.eda-open:hover { background: rgba(49,93,140,.07); }
.eda-open--compact { width: 42px; min-width: 42px; padding: 0; font-family: Georgia,serif; font-size: 14px; }
.eda-panel { position: fixed; z-index: 9000; inset: 0; display: grid; place-items: center; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.eda-panel.is-open { opacity: 1; visibility: visible; }
.eda-panel__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(3,18,33,.72); border: 0; backdrop-filter: blur(6px); }
.eda-panel__dialog { position: relative; z-index: 2; width: min(100%,720px); max-height: 88svh; padding: 28px; overflow: auto; color: #24303b; background: #fffdf9; border-radius: 20px; box-shadow: 0 32px 100px rgba(0,0,0,.38); }
.eda-panel__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eda-panel__header span { color: #c79b57; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eda-panel__header h2 { margin: 6px 0 0; color: #0b2f57; font-family: Georgia,"Times New Roman",serif; font-size: 32px; font-weight: 500; line-height: 1.1; }
.eda-panel__close { width: 44px; height: 44px; flex: 0 0 auto; color: #0b2f57; background: #f5efe6; border: 1px solid rgba(11,47,87,.14); border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.eda-control-group h3 { margin: 0 0 10px; color: #0b2f57; font-size: 14px; }
.eda-segmented { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.eda-segmented button, .eda-toggle { min-height: 48px; padding: 10px 12px; color: #24303b; background: #f5f0e8; border: 1px solid rgba(11,47,87,.14); border-radius: 10px; cursor: pointer; }
.eda-segmented button[aria-pressed="true"], .eda-toggle[aria-pressed="true"] { color: #fff; background: #0b2f57; border-color: #0b2f57; }
.eda-control-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 20px; }
.eda-toggle { display: flex; min-height: 82px; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; }
.eda-toggle strong { font-size: 14px; }
.eda-toggle span { margin-top: 4px; color: #65717c; font-size: 12px; }
.eda-toggle[aria-pressed="true"] span { color: rgba(255,255,255,.76); }
.eda-panel__footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(11,47,87,.12); }
.eda-reset, .eda-done { min-height: 46px; padding: 10px 16px; border-radius: 10px; cursor: pointer; }
.eda-reset { color: #0b2f57; background: transparent; border: 1px solid rgba(11,47,87,.24); }
.eda-done { color: #fff; background: #0b2f57; border: 1px solid #0b2f57; }

html.ed-a11y-font-large { font-size: 112.5%; }
html.ed-a11y-font-xlarge { font-size: 125%; }
html.ed-a11y-simple-font *, html.ed-a11y-simple-font *::before, html.ed-a11y-simple-font *::after { font-family: Arial, Helvetica, sans-serif !important; font-style: normal !important; letter-spacing: normal !important; }
html.ed-a11y-underline a:not(.ed-button):not(.edf-submit) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .2em !important; }
html.ed-a11y-no-motion { scroll-behavior: auto !important; }
html.ed-a11y-no-motion *, html.ed-a11y-no-motion *::before, html.ed-a11y-no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.ed-a11y-contrast, html.ed-a11y-contrast body { color: #fff !important; background: #000 !important; }
html.ed-a11y-contrast body *, html.ed-a11y-contrast body *::before, html.ed-a11y-contrast body *::after { border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.ed-a11y-contrast body section, html.ed-a11y-contrast body header, html.ed-a11y-contrast body footer, html.ed-a11y-contrast body article, html.ed-a11y-contrast body div:not(.eda-panel__backdrop) { background-color: #000 !important; background-image: none !important; }
html.ed-a11y-contrast body, html.ed-a11y-contrast body p, html.ed-a11y-contrast body span, html.ed-a11y-contrast body li, html.ed-a11y-contrast body small { color: #fff !important; }
html.ed-a11y-contrast body h1, html.ed-a11y-contrast body h2, html.ed-a11y-contrast body h3, html.ed-a11y-contrast body strong, html.ed-a11y-contrast body a { color: #ffed00 !important; }
html.ed-a11y-contrast body .ed-button, html.ed-a11y-contrast body button:not(.eda-panel__backdrop):not(.ed-lightbox__backdrop):not(.ed-modal__backdrop) { color: #000 !important; background: #ffed00 !important; border-color: #ffed00 !important; }
html.ed-a11y-contrast body img { filter: grayscale(1) contrast(1.15); }
html.ed-a11y-contrast .eda-panel__dialog { color: #fff !important; background: #000 !important; border: 2px solid #fff !important; }

@media (max-width: 640px) {
  .eda-panel__dialog { padding: 22px 16px; border-radius: 14px; }
  .eda-control-grid, .eda-segmented { grid-template-columns: 1fr; }
  .eda-panel__footer { flex-direction: column; }
  .eda-reset, .eda-done { width: 100%; }
}
