.ed-launch,.ed-panel { --ed-ink:#102e3c; --ed-deep:#102e3c; --ed-gold:#e9c487; --ed-paper:#fffaf0; --ed-line:#c6b99c; font-family:var(--sans,"Segoe UI",sans-serif) }
.ed-launch { position:fixed; right:max(1.4rem,env(safe-area-inset-right)); bottom:max(1.25rem,env(safe-area-inset-bottom)); z-index:45; display:inline-flex; align-items:center; gap:.6rem; min-height:3rem; padding:.67rem 1.05rem; border:1px solid #c5a46c; border-radius:2rem; color:#fff5df; background:var(--ed-deep); box-shadow:0 3px 18px #091c2633; font-size:.95rem; font-weight:650; transition:background .18s,transform .18s }
.ed-launch:hover { background:#1b4050; transform:translateY(-2px) }
.ed-launch svg { color:var(--ed-gold); flex:none }
.ed-panel { position:fixed; inset:auto max(1.2rem,env(safe-area-inset-right)) max(1.25rem,env(safe-area-inset-bottom)) auto; width:min(29.5rem,calc(100vw - 2.4rem)); height:auto; max-width:none; max-height: min(50rem,calc(100vh - 2.5rem)); max-height:min(50rem,calc(100dvh - 2.5rem)); padding:0; margin:0; border:1px solid #a98b56; color:var(--ed-ink); background:var(--ed-paper); box-shadow:0 12px 65px #071c3545; overflow:hidden; text-align:left }
.ed-panel[open] { display:flex; flex-direction:column; animation:ed-open .22s cubic-bezier(.2,.75,.35,1) both }
.ed-panel::backdrop { background:rgba(7,26,34,.30) }
body:has(.ed-panel[open]) { overflow:hidden }
.ed-mast { display:flex; flex:none; justify-content:space-between; align-items:center; min-height:3.4rem; padding:.38rem .75rem .38rem 1.6rem; background:var(--ed-deep); color:#fff5df; border-bottom:2px solid #bc9a61 }
.ed-brand { font:500 1.55rem/1 Georgia,serif; letter-spacing:.02em; display:inline-flex; align-items:center; gap:.65rem }
.ed-brand span { font:600 .75rem/1.3 var(--sans,sans-serif); letter-spacing:.03em; color:#ead6ad; border-left:1px solid #9b8c6d; padding-left:.65rem }
.ed-hide { background:transparent; color:#f9e9c8; width:2.75rem; height:2.75rem; font:400 1.65rem/1 var(--sans,sans-serif) }
.ed-hide:hover { background:#204353 }
.ed-scroll { overscroll-behavior:contain; overflow:auto; scrollbar-gutter:stable; padding:1.55rem 1.55rem 1.15rem; min-height:0 }
.ed-intro h2,.ed-doc h2 { color:var(--ed-ink); font:400 clamp(2rem,4vw,2.55rem)/1.02 var(--display,Georgia,serif); letter-spacing:-.045em; margin:0; overflow-wrap:break-word }
.ed-intro h2:focus,.ed-doc h2:focus { outline:none }
.ed-intro em { color:#805f2f; font-weight:400 }
.ed-intro { margin-bottom:1.2rem }
.ed-progress { margin:0 0 .55rem; font-size:.82rem; color:#6b5733; font-weight:650 }
.ed-progress:empty,.ed-lead:empty,.ed-copy-status:empty { display:none }
.ed-lead,.ed-note,.ed-copy-status { font:400 1rem/1.45 var(--sans,sans-serif); margin:.75rem 0 0; color:#3d5158 }
.ed-note,.ed-copy-status { font-size:.875rem }
.ed-choices { display:grid; gap:.55rem }
.ed-choice { display:flex; align-items:center; gap:.97rem; min-height:4.35rem; padding:.75rem .95rem; width:100%; border:1px solid var(--ed-line); text-align:left; background:#fffdf7; color:var(--ed-ink) }
.ed-choice:hover { border-color:#866736; background:#f7edda }
.ed-choice svg { width:1.65rem; height:1.65rem; flex:none; color:#81602e }
.ed-choice strong,.ed-choice small { display:block }
.ed-choice strong { font-weight:650; font-size:1rem }
.ed-choice small { margin-top:.09rem; font-size:.875rem; font-weight:400; line-height:1.35; color:#4b5b60 }
.ed-form { display:block; margin:0 }
.ed-form label:not(.ed-check),.ed-form legend { display:block; font-size:.94rem; font-weight:650; line-height:1.35; margin:0 0 .35rem }
.ed-form .ed-next-label,.ed-form [data-ed-phone]+[data-ed-email]:not([hidden]) { margin-top:.9rem }
.ed-form input:not([type=checkbox]):not([type=radio]),.ed-form textarea,.ed-form select { width:100%; min-width:0; max-width:100%; border-radius:0; border:1px solid #aa9c83; background:#fffdf8; color:var(--ed-ink); padding:.60rem .65rem; font:400 1rem/1.4 var(--sans,sans-serif); min-height:2.75rem; box-shadow:none }
.ed-form input::placeholder,.ed-form textarea::placeholder { color:#667076; opacity:1 }
.ed-form textarea { resize:vertical; min-height:5.1rem; max-height:13rem }
.ed-form select { appearance:none; padding-right:2.2rem; background:#fffdf8 linear-gradient(45deg,transparent 50%,#3b4f58 50%) calc(100% - 1.05rem) 50%/.31rem .31rem no-repeat }
.ed-pair { display:grid; grid-template-columns:1fr 1fr; gap:.72rem }
.ed-pair>div { min-width:0 }
.ed-optional { color:#606b6b; font-weight:400; font-size:.84rem }
.ed-channels { min-width:0; margin:1rem 0; padding:0; border:none }
.ed-channels>div { display:flex; gap:.4rem; flex-wrap:wrap }
.ed-channels label { cursor:pointer; position:relative; margin:0!important }
.ed-channels input { position:absolute; width:1px; height:1px; opacity:0 }
.ed-channels span { display:block; border:1px solid var(--ed-line); font-size:.94rem; font-weight:500; padding:.53rem .74rem; background:#fffdf7 }
.ed-channels input:checked+span { background:var(--ed-deep); color:#fff3d9; border-color:var(--ed-deep) }
.ed-channels input:focus-visible+span,.ed-panel :focus-visible,.ed-launch:focus-visible { outline:3px solid #946c27; outline-offset:2px }
.ed-panel [hidden],.ed-launch[hidden] { display:none!important }
.ed-panel a,.ed-copy,.ed-back { text-decoration:underline; text-underline-offset:.18em; color:#745426 }
.ed-panel a:hover,.ed-copy:hover,.ed-back:hover { color:#172e39 }
.ed-actions,.ed-alternatives { display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-top:1.05rem; flex-wrap:wrap }
.ed-back,.ed-copy { font-weight:600; font-size:.94rem; background:transparent; padding:.55rem 0; min-height:2.75rem }
.ed-primary,.ed-email-draft { display:inline-flex; align-items:center; justify-content:center; min-height:2.8rem; font:650 .96rem/1.35 var(--sans,sans-serif); background:var(--ed-deep); color:#fff6e1; padding:.65rem 1rem; border:1px solid var(--ed-deep) }
.ed-panel .ed-email-draft { color:#fff6e1; text-decoration:none }
.ed-primary:hover,.ed-panel .ed-email-draft:hover { background:#234958; color:white }
.ed-primary:disabled { opacity:.7; cursor:wait }
.ed-summary { padding:0; margin:0 0 .9rem; border-block:1px solid var(--ed-line) }
.ed-summary div { display:grid; grid-template-columns:4.1rem 1fr; gap:.4rem; font-size:.9rem; padding:.43rem 0 }
.ed-summary div+div { border-top:1px solid #e6dbc5 }
.ed-summary dt { color:#695837 }
.ed-summary dd { margin:0; overflow-wrap:anywhere; white-space:pre-line }
.ed-check { display:flex; align-items:flex-start; gap:.62rem; margin:.65rem 0; font:400 .94rem/1.45 var(--sans,sans-serif); cursor:pointer }
.ed-check input { width:1.15rem; height:1.15rem; margin:.15rem 0 0; flex:none; accent-color:var(--ed-ink) }
.ed-check small { font-size:.82rem; color:#58656a }
.ed-error { margin-top:.7rem; color:#833a2d; font-size:.94rem }
.ed-alternatives { justify-content:flex-start }
.ed-foot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.35rem .6rem; padding-top:.8rem; margin-top:1.1rem; border-top:1px solid var(--ed-line); font-size:.86rem; line-height:1.5; color:#465a60 }
.ed-foot a { font-size:.94rem; font-weight:650; padding:.25rem 0 }
.ed-doc .ed-doc-back { display:block; margin:.1rem 0 .85rem }
.ed-doc { overflow-wrap:anywhere; line-height:1.5 }
.ed-doc article h2,.ed-doc article h3 { margin:.95rem 0 .35rem; font-size:1.3rem; line-height:1.2; letter-spacing:-.02em }
.ed-doc article p,.ed-doc article ul { margin:.6rem 0; font-size:.96rem }
@keyframes ed-open { from { opacity:.3; transform:translateY(.65rem) } to { opacity:1; transform:none } }
@media (max-width:560px) {
  .ed-launch { right:max(.75rem,env(safe-area-inset-right)); bottom:max(.8rem,env(safe-area-inset-bottom)); min-height:2.9rem; padding:.65rem .86rem; font-size:.875rem }
  .ed-panel { inset:auto 0 0; width:100%; max-height:calc(100vh - .45rem); max-height:calc(100dvh - .45rem); border:0; border-top:1px solid #9c8251 }
  .ed-mast { padding-left:1.1rem }
  .ed-scroll { padding:1.15rem max(1.1rem,env(safe-area-inset-right)) max(1rem,calc(env(safe-area-inset-bottom) + .75rem)) max(1.1rem,env(safe-area-inset-left)); scrollbar-gutter:auto }
}
@media (max-width:350px) { .ed-pair { grid-template-columns:1fr }.ed-launch span { font-size:.83rem } }
@media (prefers-reduced-motion:reduce) { .ed-panel[open],.ed-launch { animation:none; transition:none } }
:root[data-motion=paused] .ed-panel[open] { animation:none }
@media print { .ed-panel,.ed-launch { display:none!important } }
