.ed-wizard-shell { max-width: 900px; margin: 0 auto; color: #18352f; }
.ed-honeypot { position: absolute !important; left: -10000px !important; opacity: 0 !important; pointer-events: none !important; }
.ed-notice { margin: 0 0 18px; padding: 15px 18px; border: 1px solid #ead7a9; border-radius: 13px; background: #fff8df; color: #6b5215; font-weight: 700; }
.ed-wizard-head { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.ed-kicker { color: #b5222c; font-weight: 900; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.ed-wizard-head h1 { margin: 8px 0 12px; font-family: Georgia,serif; font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1; }
.ed-wizard-head p { color: #66756f; }
.ed-recovery-link { display: inline-block; margin-top: 8px; color: #0b6957; font-size: .86rem; font-weight: 900; text-underline-offset: 3px; }
.ed-progress { display: flex; align-items: center; justify-content: center; max-width: 470px; margin: 34px auto; }
.ed-progress span { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid #d9e4e0; border-radius: 50%; color: #74817d; background: #fff; font-weight: 900; transition: .25s ease; }
.ed-progress span.active { color: #fff; border-color: #b5222c; background: #b5222c; }
.ed-progress i { width: 65px; height: 2px; background: #d9e4e0; }
.ed-form { background: #fff; border: 1px solid #e0e9e5; border-radius: 28px; box-shadow: 0 25px 70px rgba(7,59,50,.12); overflow: hidden; }
.ed-panel { display: none; padding: 44px; animation: ed-in .3s ease; }
.ed-panel.active { display: block; }
@keyframes ed-in { from { opacity:0; transform:translateY(7px); } }
.ed-panel-title { margin-bottom: 30px; }
.ed-panel-title > span { color: #b5222c; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.ed-panel-title h2 { margin: 6px 0; font-family: Georgia,serif; font-size: 2.05rem; }
.ed-panel-title p { margin: 0; color: #71807b; }
.ed-fields { display: grid; gap: 20px; margin-bottom: 20px; }
.ed-fields.two { grid-template-columns: 1fr 1fr; }
.ed-fields label { display: grid; gap: 7px; font-weight: 800; font-size: .9rem; }
.ed-fields small { color: #7e8986; font-weight: 500; }
.ed-fields input, .ed-fields select, .ed-fields textarea { width: 100%; border: 1.5px solid #d7e2de; border-radius: 13px; padding: 14px 15px; color: #18352f; background: #fbfdfc; font: inherit; outline: none; }
.ed-fields textarea { min-height: 105px; resize: vertical; }
.ed-fields input:focus, .ed-fields select:focus, .ed-fields textarea:focus { border-color: #0b6957; box-shadow: 0 0 0 4px rgba(11,105,87,.09); }
.ed-fields .invalid, .ed-consent input.invalid { border-color: #bd1d2b; box-shadow: 0 0 0 3px rgba(189,29,43,.1); }
.ed-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; }
.ed-actions button, .ed-reveal-actions button, .ed-reveal-actions a { appearance: none; border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; text-decoration: none; font: inherit; font-weight: 900; }
.ed-next, .ed-preview-next, .ed-submit { margin-left: auto; color: #fff; background: #b5222c; box-shadow: 0 10px 22px rgba(181,34,44,.2); }
.ed-back { color: #53645f; background: #edf3f1; }
.ed-actions button:disabled { opacity: .55; cursor: wait; }
.ed-choice-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.ed-choice input, .ed-package input { position: absolute; opacity: 0; pointer-events: none; }
.ed-choice > span { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 14px; text-align: center; border: 1.5px solid #dde6e3; border-radius: 16px; cursor: pointer; font-size: .84rem; font-weight: 800; transition: .18s ease; }
.ed-choice b { font-size: 1.65rem; }
.ed-choice input:checked + span { border-color: #0b6957; background: #edf8f4; box-shadow: 0 0 0 3px rgba(11,105,87,.08); }
.ed-package-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-bottom: 25px; }
.ed-package > span { min-height: 180px; display: flex; flex-direction: column; padding: 22px; border: 1.5px solid #dce6e2; border-radius: 18px; cursor: pointer; transition: .18s ease; }
.ed-package strong { font-family: Georgia,serif; font-size: 1.22rem; }
.ed-package b { margin: 12px 0; color: #0b6957; font-size: 1.75rem; }
.ed-package small { color: #6a7874; line-height: 1.45; }
.ed-package input:checked + span { border-color: #b5222c; background: #fff8f5; box-shadow: 0 0 0 3px rgba(181,34,44,.08); }
.ed-delivery-options { margin: 0 0 24px; padding: 24px; border: 1px solid #dce6e2; border-radius: 18px; }
.ed-delivery-options legend { padding: 0 8px; color: #173f36; font-family: Georgia,serif; font-size: 1.15rem; font-weight: 800; }
.ed-delivery-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ed-delivery-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ed-delivery-choice > span { min-height: 96px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 12px; padding: 16px; border: 1.5px solid #dce6e2; border-radius: 15px; cursor: pointer; transition: .18s ease; }
.ed-delivery-choice b { grid-row: 1 / 3; align-self: center; font-size: 1.55rem; }
.ed-delivery-choice strong { font-size: .92rem; }
.ed-delivery-choice small { margin-top: 3px; color: #6a7874; line-height: 1.35; }
.ed-delivery-choice input:checked + span { border-color: #0b6957; background: #edf8f4; box-shadow: 0 0 0 3px rgba(11,105,87,.08); }
.ed-schedule-fields { margin-top: 17px; padding: 18px; border-radius: 14px; background: #f5f8f7; }
.ed-schedule-fields[hidden] { display: none; }
.ed-schedule-fields label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 900; }
.ed-schedule-fields input { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1.5px solid #d7e2de; border-radius: 12px; color: #18352f; background: #fff; font: inherit; }
.ed-schedule-fields input:focus { border-color: #0b6957; outline: none; box-shadow: 0 0 0 4px rgba(11,105,87,.09); }
.ed-schedule-fields input.invalid { border-color: #bd1d2b; }
.ed-schedule-fields small { display: block; margin-top: 8px; color: #71807b; line-height: 1.45; }
.ed-consent { display: flex; align-items: flex-start; gap: 10px; padding: 17px; border-radius: 14px; background: #f5f8f7; color: #53635f; font-size: .84rem; }
.ed-consent input { margin-top: 4px; }
.ed-preview-card { position: relative; padding: 24px; border: 1px solid #e7dbc2; border-radius: 20px; background: #fffdf7; box-shadow: inset 0 0 0 7px #faf5e9; }
.ed-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ed-preview-heading span { color: #b5222c; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ed-preview-heading small { color: #65736f; font-weight: 700; }
.ed-preview-label { display: block; margin-bottom: 8px; color: #173f36; font-family: Georgia,serif; font-size: 1.15rem; font-weight: 800; }
.ed-preview-text { width: 100%; min-height: 390px; box-sizing: border-box; padding: 24px; border: 1px solid #ded1b8; border-radius: 12px; color: #263e38; background: rgba(255,255,255,.7); font-family: Georgia,serif; font-size: 1.02rem; line-height: 1.75; resize: vertical; transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ed-preview-text:focus { border-color: #0b6957; outline: none; box-shadow: 0 0 0 4px rgba(11,105,87,.09); }
.ed-preview-text.is-loading { opacity: .45; }
.ed-preview-text.invalid { border-color: #bd1d2b; box-shadow: 0 0 0 3px rgba(189,29,43,.1); }
.ed-preview-help { margin: 14px 0 0; color: #6d7874; font-size: .8rem; }
.ed-video-script-preview { margin-top: 22px; padding-top: 22px; border-top: 1px solid #e7dbc2; }
.ed-video-script-preview > span { display: block; margin-bottom: 12px; color: #b5222c; font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.ed-video-script-text { width: 100%; min-height: 145px; resize: vertical; padding: 17px; border: 1.5px solid #d7e2de; border-radius: 13px; color: #18352f; background: #fff; font: inherit; line-height: 1.6; }
.ed-video-script-text:focus { border-color: #0b6957; outline: none; box-shadow: 0 0 0 4px rgba(11,105,87,.09); }
.ed-video-options { margin: 0 0 25px; padding: 24px; border: 1px solid #d7e5e0; border-radius: 20px; background: #f3faf7; }
.ed-video-options legend { padding: 0 8px; color: #073b32; font-family: Georgia,serif; font-size: 1.25rem; font-weight: 800; }
.ed-video-options > p { margin: 0 0 18px; color: #60736d; font-size: .84rem; }
.ed-video-roster-note { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 12px; color: #fff; background: #073b32; }
.ed-video-roster-note span { color: rgba(255,255,255,.73); font-size: .78rem; }
.ed-preview-actions { flex-wrap: wrap; }
.ed-regenerate { color: #0b5b4d; background: #e8f4f0; }
.ed-error { margin-top: 18px; padding: 14px 17px; border-radius: 12px; color: #7f1220; background: #fff0f1; font-weight: 700; }
.ed-loading, .ed-reveal-card { padding: 70px 25px; text-align: center; background: #fff; border: 1px solid #dfebe6; border-radius: 28px; box-shadow: 0 20px 60px rgba(7,59,50,.1); }
.ed-loading h2, .ed-reveal-card h1 { font-family: Georgia,serif; font-size: 2rem; }
.ed-recovery-shell { max-width: 760px; margin: 0 auto; color: #18352f; }
.ed-recovery-form { padding: 36px; border: 1px solid #e0e9e5; border-radius: 24px; background: #fff; box-shadow: 0 22px 65px rgba(7,59,50,.11); }
.ed-recovery-form > label { display: block; margin-bottom: 9px; font-weight: 900; }
.ed-recovery-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.ed-recovery-row input { min-width: 0; padding: 14px 15px; border: 1.5px solid #d7e2de; border-radius: 13px; color: #18352f; background: #fbfdfc; font: inherit; }
.ed-recovery-row input:focus { border-color: #0b6957; outline: none; box-shadow: 0 0 0 4px rgba(11,105,87,.09); }
.ed-recovery-row input.invalid { border-color: #bd1d2b; }
.ed-recovery-row button { border: 0; border-radius: 999px; padding: 14px 20px; color: #fff; background: #b5222c; font: inherit; font-weight: 900; cursor: pointer; }
.ed-recovery-row button:disabled { opacity: .6; cursor: wait; }
.ed-recovery-form > p { margin: 13px 0 0; color: #71807b; font-size: .78rem; line-height: 1.5; }
.ed-recovery-result { margin-top: 18px; padding: 15px 17px; border-radius: 12px; color: #165846; background: #eaf7f2; font-weight: 800; }
.ed-recovery-result.is-error { color: #7f1220; background: #fff0f1; }
.ed-recovery-footer { margin-top: 22px; text-align: center; }
.ed-recovery-footer a { color: #0b6957; font-weight: 900; }
.ed-spinner { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto; color: #fff; background: #b5222c; border-radius: 50%; font-size: 2rem; animation: ed-spin 1.6s ease-in-out infinite; }
@keyframes ed-spin { 50% { transform: rotate(180deg) scale(1.08); } 100% { transform: rotate(360deg); } }
.ed-reveal-wrap { max-width: 760px; margin: 0 auto; }
.ed-reveal-top { padding: 22px; text-align: center; color: #fff; background: #073b32; border-radius: 22px 22px 0 0; }
.ed-reveal-top span { display: block; font-weight: 900; letter-spacing: .07em; }
.ed-reveal-top small { color: rgba(255,255,255,.68); }
.ed-letter { position: relative; padding: 60px 62px 44px; background: #fffdf7; border: 1px solid #eadfc9; box-shadow: 0 25px 70px rgba(7,59,50,.14); overflow: hidden; }
.ed-letter::before { content:""; position:absolute; inset:12px; border:1px solid #eadfc9; pointer-events:none; }
.ed-letter-brand { position: relative; display: flex; flex-direction: column; margin-bottom: 44px; color: #0b463b; text-transform: uppercase; letter-spacing: .14em; }
.ed-letter-brand strong { font-family: Georgia,serif; font-size: 1rem; letter-spacing: .08em; }
.ed-letter-brand span { margin-top: 3px; color: #907b56; font-size: .55rem; font-weight: 800; }
.ed-letter-stamp { position: absolute; right: 34px; top: 35px; padding: 13px; border: 3px double #b5222c; border-radius: 50%; color: #b5222c; text-align: center; font-size: .65rem; font-weight: 900; transform: rotate(7deg); }
.ed-letter-kicker { color: #b5222c; text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 900; }
.ed-letter h1 { max-width: 70%; margin: 7px 0 34px; font-family: Georgia,serif; font-size: clamp(2.6rem,7vw,4.8rem); line-height: 1; }
.ed-letter-copy { position: relative; font-family: Georgia,serif; font-size: 1.08rem; line-height: 1.9; }
.ed-letter-sign { position: relative; margin-top: 32px; color: #b5222c; font-family: cursive; font-size: 1.25rem; }
.ed-letter-reference { position: relative; margin-top: 38px; padding-top: 13px; border-top: 1px solid #eadfc9; color: #998b72; text-transform: uppercase; letter-spacing: .12em; font-size: .55rem; font-weight: 800; }
.ed-audio { position: relative; margin: 0 0 30px; padding: 18px; border-radius: 16px; background: #edf7f3; }
.ed-audio span, .ed-audio small { display: block; font-weight: 800; font-size: .76rem; }
.ed-audio audio { width: 100%; margin: 9px 0 3px; }
.ed-audio small { color: #65736f; font-weight: 500; }
.ed-audio a[download] { display: inline-block; margin: 6px 0 8px; color: #174c40; font-size: .82rem; font-weight: 800; }
.ed-audio-pending { background: #fff3d7; border: 1px solid #e7c978; color: #604a18; }
.ed-audio-pending p { margin: 8px 0 0; }
.ed-video { margin: 0 0 24px; padding: 22px; border-radius: 0 0 22px 22px; color: #fff; background: #03251f; box-shadow: 0 22px 60px rgba(7,59,50,.16); }
.ed-video > span, .ed-video > small { display: block; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ed-video video { display: block; width: 100%; margin: 14px 0 10px; border-radius: 15px; background: #000; }
.ed-video a { display: inline-block; margin: 3px 0 10px; color: #ffe2a1; font-weight: 900; }
.ed-video > small { color: rgba(255,255,255,.62); font-size: .62rem; }
.ed-video-pending { padding: 32px; text-align: center; color: #604a18; background: #fff3d7; border: 1px solid #e7c978; }
.ed-video-pending .ed-spinner { width: 52px; height: 52px; font-size: 1.3rem; }
.ed-video-pending h2 { margin: 16px 0 8px; font-family: Georgia,serif; }
.ed-video-pending p { margin: 0; }
.ed-reveal-actions { display: flex; justify-content: center; gap: 12px; margin-top: 25px; }
.ed-reveal-actions button { color: #fff; background: #b5222c; }
.ed-reveal-actions a { color: #073b32; background: #e9f2ef; }
.ed-scheduled-wrap { display: grid; gap: 24px; }
.ed-scheduled-card { padding: 54px 32px; }
.ed-scheduled-card h1 { margin: 8px 0 18px; }
.ed-scheduled-card time { display: inline-block; margin: 8px 0 18px; padding: 13px 19px; border: 1px solid #e0cc9c; border-radius: 999px; color: #654c11; background: #fff8df; font-weight: 900; }
.ed-scheduled-seal { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: #fff; background: #b5222c; font-size: 1.8rem; }
.ed-scheduled-note { max-width: 560px; margin: 5px auto 0; color: #71807b; font-size: .82rem; line-height: 1.55; }
.ed-qr-card { margin-top: 24px; padding: 22px; border-radius: 24px; background: #e7f2ee; }
.ed-qr-card-inner { position: relative; max-width: 560px; margin: auto; padding: 46px 36px 38px; overflow: hidden; border: 2px solid #d7b45d; outline: 8px solid #fffdf7; outline-offset: -13px; text-align: center; color: #123b32; background: radial-gradient(circle at top,#fff,#fffdf7 62%); }
.ed-qr-card-inner::before, .ed-qr-card-inner::after { content:""; position:absolute; width:90px; height:90px; border:2px solid rgba(181,34,44,.12); transform:rotate(45deg); }
.ed-qr-card-inner::before { top:-56px; left:-56px; }
.ed-qr-card-inner::after { right:-56px; bottom:-56px; }
.ed-qr-snow { color: #b5222c; letter-spacing: .45em; }
.ed-qr-eyebrow { margin: 15px 0 8px; color: #9b7726; font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.ed-qr-card h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(1.8rem,5vw,2.65rem); line-height: 1.08; }
.ed-qr-child { display: block; margin: 10px 0 20px; color: #b5222c; font-family: Georgia,serif; font-size: clamp(2.3rem,7vw,4rem); line-height: 1; }
.ed-qr-code { width: 225px; min-height: 225px; display: grid; place-items: center; margin: 0 auto 16px; color: #6c7773; background: #fff; font-size: .75rem; }
.ed-qr-code svg { display: block; width: 100%; height: auto; }
.ed-qr-instruction { max-width: 340px; margin: 0 auto 18px; font-weight: 800; line-height: 1.45; }
.ed-qr-card small { color: #7b827f; font-size: .61rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ed-deluxe-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.ed-certificate, .ed-mission { padding: 28px; border-radius: 20px; text-align: center; }
.ed-certificate { background: #fffdf7; border: 5px double #e7b94f; }
.ed-mission { color: #fff; background: #073b32; border: 2px dashed rgba(255,255,255,.35); }
.ed-deluxe-extras span { color: #b5222c; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ed-mission span { color: #ffd978; }
.ed-deluxe-extras h2 { margin: 8px 0; font-family: Georgia,serif; font-size: 1.7rem; }
.ed-deluxe-extras p { margin: 8px 0 16px; }

/* North Pole Archives */
.ed-archives { margin: -70px calc(50% - 50vw) -100px; color: #18352f; background: #f4faf8; }
.ed-archives-hero { padding: 90px max(24px, calc((100vw - 1040px)/2)) 72px; text-align: center; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(231,185,79,.23), transparent 26%), linear-gradient(135deg,#03251f,#0b5b4d); }
.ed-archives-hero h1 { margin: 12px auto 18px !important; color: #fff; font-family: Georgia,serif; font-size: clamp(3rem,7vw,5.8rem) !important; line-height: .96; letter-spacing: -.045em; }
.ed-archives-hero > p { max-width: 720px; margin: 0 auto; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.ed-archives-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ed-archives-trust span { padding: 8px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; color: #ffe6a9; font-size: .72rem; font-weight: 800; }
.ed-archive-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; max-width: 1120px; margin: 0 auto; padding: 38px 20px 12px; }
.ed-archive-filters button { padding: 10px 15px; border: 1px solid #d7e5e0; border-radius: 99px; color: #315a50; background: #fff; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.ed-archive-filters button.active { color: #fff; border-color: #b5222c; background: #b5222c; box-shadow: 0 8px 20px rgba(181,34,44,.2); }
.ed-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; max-width: 1120px; margin: 0 auto; padding: 28px 20px 80px; }
.ed-archive-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce9e4; border-radius: 24px; background: #fff; box-shadow: 0 14px 38px rgba(7,59,50,.08); transition: transform .2s ease, box-shadow .2s ease; }
.ed-archive-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(7,59,50,.13); }
.ed-archive-card[hidden] { display: none; }
.ed-archive-card-top { display: flex; align-items: center; gap: 10px; padding: 16px 19px; color: #fff; background: #073b32; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ed-archive-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.11); font-size: 1rem; }
.ed-archive-paper { position: relative; flex: 1; margin: 14px; padding: 28px 25px; overflow: hidden; border: 1px solid #eadfc9; background: #fffdf7; }
.ed-archive-paper::after { content:""; position:absolute; inset:7px; border:1px solid #f0e9da; pointer-events:none; }
.ed-archive-paper small { position: relative; z-index: 1; color: #b5222c; font-size: .6rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ed-archive-paper h2 { position: relative; z-index: 1; margin: 5px 0 18px; font-family: Georgia,serif; font-size: 2.15rem; line-height: 1; }
.ed-archive-paper p { position: relative; z-index: 1; margin: 0 0 20px; color: #52635f; font-family: Georgia,serif; font-size: .91rem; line-height: 1.7; }
.ed-archive-paper strong { position: relative; z-index: 1; color: #b5222c; font-family: cursive; font-size: 1rem; }
.ed-archive-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 18px 19px; }
.ed-archive-card-actions button { padding: 0; border: 0; color: #073b32; background: none; font: inherit; font-size: .8rem; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ed-archive-card-actions a { color: #b5222c; font-size: .8rem; font-weight: 900; text-decoration: none; }
.ed-archives-cta { padding: 72px 20px 82px; text-align: center; color: #fff; background: #03251f; }
.ed-archives-cta span { color: #ffd978; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ed-archives-cta h2 { margin: 10px 0 28px; color: #fff; font-family: Georgia,serif; font-size: clamp(2.3rem,5vw,4.2rem); line-height: 1; }
.ed-archives-cta a, .ed-archive-modal-cta { display: inline-flex; padding: 14px 22px; border-radius: 99px; color: #fff; background: #b5222c; font-weight: 900; text-decoration: none; }
.ed-archive-modal[hidden] { display: none; }
.ed-archive-modal { position: fixed; z-index: 99999; inset: 0; display: grid; place-items: center; padding: 24px; }
.ed-archive-backdrop { position: absolute; inset: 0; background: rgba(1,23,19,.82); backdrop-filter: blur(8px); }
.ed-archive-dialog { position: relative; width: min(720px,100%); max-height: min(850px,90vh); overflow: auto; padding: 58px 62px; border: 1px solid #eadfc9; background: #fffdf7; box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.ed-archive-dialog::before { content:""; position:absolute; inset:13px; border:1px solid #eadfc9; pointer-events:none; }
.ed-archive-close { position: absolute; z-index: 2; top: 20px; right: 20px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: #073b32; font-size: 1.5rem; cursor: pointer; }
.ed-archive-seal { float: right; width: 84px; height: 84px; display: grid; place-items: center; margin: 0 0 20px 20px; border: 3px double #b5222c; border-radius: 50%; color: #b5222c; text-align: center; font-size: .62rem; font-weight: 900; transform: rotate(7deg); }
.ed-archive-recipient { margin: 7px 0 30px; font-family: Georgia,serif; font-size: clamp(2.8rem,8vw,5rem); line-height: 1; }
.ed-archive-full-copy { clear: both; font-family: Georgia,serif; font-size: 1.02rem; line-height: 1.8; }
.ed-archive-modal-cta { position: relative; margin-top: 20px; }
body.ed-modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .ed-panel { padding: 28px 20px; }
  .ed-recovery-form { padding: 27px 20px; }
  .ed-recovery-row { grid-template-columns: 1fr; }
  .ed-fields.two { grid-template-columns: 1fr; }
  .ed-choice-grid { grid-template-columns: repeat(2,1fr); }
  .ed-package-grid { grid-template-columns: 1fr; }
  .ed-package > span { min-height: 0; }
  .ed-delivery-choice-grid { grid-template-columns: 1fr; }
  .ed-progress i { width: 35px; }
  .ed-progress span { width: 32px; height: 32px; }
  .ed-progress i { width: 20px; }
  .ed-preview-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .ed-preview-card { padding: 18px; }
  .ed-preview-text { min-height: 440px; padding: 18px; }
  .ed-preview-actions button { width: 100%; margin-left: 0; }
  .ed-letter { padding: 48px 28px; }
  .ed-letter-stamp { right: 25px; top: 26px; transform: scale(.8) rotate(7deg); transform-origin: top right; }
  .ed-letter h1 { max-width: 62%; }
  .ed-reveal-actions { flex-direction: column; }
  .ed-reveal-actions > * { text-align: center; }
  .ed-deluxe-extras { grid-template-columns: 1fr; }
  .ed-qr-card { padding: 12px; }
  .ed-qr-card-inner { padding: 42px 22px 34px; }
  .ed-qr-code { width: 205px; min-height: 205px; }
  .ed-archive-grid { grid-template-columns: 1fr; }
  .ed-archive-dialog { padding: 50px 26px 34px; }
  .ed-archive-seal { width: 68px; height: 68px; font-size: .52rem; }
}
@media print {
  @page { size: Letter portrait; margin: 0; }
  html, body { width: 8.5in !important; height: 11in !important; margin: 0 !important; padding: 0 !important; background: #fffdf7 !important; }
  body * { visibility: hidden !important; }
  .ed-letter, .ed-letter * { visibility: visible !important; }
  .ed-letter { position: fixed !important; inset: 0 !important; width: 8.5in !important; height: 11in !important; box-sizing: border-box !important; margin: 0 !important; padding: .62in .72in .5in !important; overflow: hidden !important; border: 0 !important; box-shadow: none !important; background: #fffdf7 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .ed-letter::before { inset: .25in !important; border: 1px solid #d8c9aa !important; }
  .ed-letter-brand { margin-bottom: .35in !important; }
  .ed-letter-stamp { right: .7in !important; top: .62in !important; }
  .ed-letter h1 { margin-bottom: .28in !important; font-size: 36pt !important; }
  .ed-letter-copy { font-size: 11.5pt !important; line-height: 1.55 !important; }
  .ed-letter-copy p { margin: 0 0 11pt !important; }
  .ed-letter-sign { margin-top: 18pt !important; font-size: 15pt !important; }
  .ed-letter-reference { position: absolute !important; right: .72in !important; bottom: .48in !important; left: .72in !important; }
  .ed-audio, .ed-video, .ed-reveal-actions, .ed-deluxe-extras { display: none !important; }
  body.ed-print-qr .ed-letter, body.ed-print-qr .ed-letter * { visibility: hidden !important; }
  body.ed-print-qr .ed-qr-card, body.ed-print-qr .ed-qr-card * { visibility: visible !important; }
  body.ed-print-qr .ed-qr-card { position: fixed !important; inset: 0 !important; width: 8.5in !important; height: 11in !important; display: grid !important; place-items: center !important; box-sizing: border-box !important; margin: 0 !important; padding: .65in !important; border-radius: 0 !important; background: #e7f2ee !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body.ed-print-qr .ed-qr-card-inner { width: 5.8in !important; min-height: 7.7in !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; padding: .55in !important; outline-width: 10px !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body.ed-print-qr .ed-qr-code { width: 2.55in !important; min-height: 2.55in !important; }
  body.ed-print-qr .ed-qr-card h2 { font-size: 27pt !important; }
  body.ed-print-qr .ed-qr-child { font-size: 43pt !important; }
}
