/* Editorial direction selected by the owner. Scoped to the existing invitation. */
.friend-invitation.friend-editorial{
 --editorial-ink:#192d2a;--editorial-muted:#53645c;--editorial-action:#1c655b;--editorial-line:#19332d25;
 position:fixed;inset:0;box-sizing:border-box;width:min(800px,calc(100vw - 48px));max-width:none;
 max-height:calc(100svh - 32px);margin:auto;padding:32px;border:0;border-radius:0;
 background:#f4f0e7;color:var(--editorial-ink);box-shadow:0 14px 50px #15241e1f;
 overflow:auto;font-family:"Segoe UI",Arial,sans-serif;
}
.friend-invitation.friend-editorial[open]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:30px;align-items:center}
.friend-invitation.friend-editorial::backdrop{background:#07120f66}
.friend-editorial-art,.friend-editorial-copy{min-width:0}
.friend-editorial-art img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.friend-editorial .friend-editorial-eyebrow{margin:0 26px 12px 0;color:#70572f;font:600 9px/1.5 "Segoe UI",Arial,sans-serif;letter-spacing:.12em}
.friend-editorial h2{margin:0 0 16px;color:var(--editorial-ink);font:400 29px/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.035em}
.friend-editorial h2 em{font-weight:400}
.friend-editorial-milestones{display:flex;gap:20px;padding:0 0 18px;margin:0 0 16px;border-bottom:1px solid var(--editorial-line)}
.friend-editorial-milestones p{margin:0;flex:1;font-size:13px;line-height:1.5}
.friend-editorial-milestones strong{display:block;font-weight:600;color:var(--editorial-ink)}
.friend-editorial-milestones span{display:block;margin-top:4px;color:var(--editorial-muted)}
.friend-editorial .friend-editorial-rule{margin:0 0 20px;font-size:12px;line-height:1.6;color:var(--editorial-muted)}
.friend-editorial-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.friend-editorial-action{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:0 16px;border:0;background:var(--editorial-action);color:#fff;text-decoration:none;font:600 13px/1.4 "Segoe UI",Arial,sans-serif;cursor:pointer}
.friend-editorial-action span{font-size:18px;font-weight:400}
.friend-editorial-action:hover{background:#164f47}
.friend-editorial-actions button{min-height:44px;padding:0;border:0;background:transparent;color:var(--editorial-muted);font:400 12px/1.5 "Segoe UI",Arial,sans-serif;cursor:pointer}
.friend-editorial-close{position:absolute;z-index:2;top:8px;right:8px;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--editorial-muted);font:26px/1 "Segoe UI",Arial,sans-serif;cursor:pointer}
.friend-editorial :focus-visible{outline:2px solid var(--editorial-action);outline-offset:3px}
@media(max-width:600px){
 .friend-invitation.friend-editorial{width:calc(100vw - 28px);max-height:calc(100svh - 24px);padding:22px}
 .friend-invitation.friend-editorial[open]{grid-template-columns:1fr;gap:18px}
 .friend-editorial-art img{max-height:120px}
 .friend-editorial h2{font-size:27px}
 .friend-editorial .friend-editorial-eyebrow{margin-bottom:10px}
 .friend-editorial-milestones{padding-bottom:14px;margin-bottom:14px}
 .friend-editorial .friend-editorial-rule{margin-bottom:16px}
}
@media(max-width:360px){
 .friend-editorial h2{font-size:25px}
 .friend-editorial-art img{height:100px;max-height:100px;object-fit:contain}
 .friend-editorial-milestones{display:grid;gap:7px}
 .friend-editorial-milestones p{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px}
 .friend-editorial-milestones span{margin-top:0}
 .friend-editorial-actions{gap:12px}
}
@media(min-width:480px) and (max-width:800px) and (max-height:420px){
 .friend-invitation.friend-editorial[open]{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;padding:18px 22px}
 .friend-editorial-art img{height:auto;max-height:none;object-fit:contain}
 .friend-editorial h2{font-size:25px;margin-bottom:12px}
 .friend-editorial-milestones{display:grid;gap:5px;padding-bottom:10px;margin-bottom:10px}
 .friend-editorial-milestones p{display:flex;justify-content:space-between;gap:8px;font-size:12px}
 .friend-editorial-milestones span{margin-top:0}
 .friend-editorial .friend-editorial-rule{margin-bottom:10px;font-size:11px}
 .friend-editorial-actions{gap:10px}
 .friend-editorial-action{padding-inline:12px}
}
