.relay-dialog{width:min(980px,calc(100% - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;border:0;border-radius:22px;background:#f6f4ef;color:#171717;box-shadow:0 28px 90px rgba(0,0,0,.3)}
.relay-dialog::backdrop{background:rgba(10,10,10,.62);backdrop-filter:blur(4px)}
.relay-shell{display:grid;grid-template-rows:auto minmax(0,1fr);max-height:calc(100dvh - 28px)}
.relay-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 26px 20px;border-bottom:1px solid #dedbd3;background:#fff}
.relay-eyebrow{margin:0 0 5px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#75716a}
.relay-head h2{margin:0;font-size:clamp(22px,3vw,34px);line-height:1.08}
.relay-close{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ddd9d0;border-radius:50%;background:#fff;cursor:pointer;font-size:24px}
.relay-body{overflow:auto;padding:24px 26px 28px}
.relay-intro{margin:0 0 20px;color:#5e5a54;line-height:1.55}
.relay-widget{min-height:480px;background:#fff;border:1px solid #ddd9d0;border-radius:16px;overflow:hidden}
.relay-selection{display:none;margin-top:18px;padding:16px 18px;border-radius:14px;background:#171717;color:#fff}
.relay-selection.visible{display:block}
.relay-selection-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.relay-selection-title span{color:#b9efc8;font-size:13px;font-weight:800}
.relay-selection-title strong{font-size:16px;text-align:right}
.relay-selection-grid{display:grid;grid-template-columns:.7fr 1.6fr 1fr;gap:12px}
.relay-selection-grid div{display:grid;gap:4px}
.relay-selection-grid small{color:#aaa69f;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.relay-selection-grid span{font-size:13px;line-height:1.35}
.relay-load-error{display:grid;justify-items:start;gap:8px;padding:26px;background:#fff;border:1px solid #ddd9d0;border-radius:16px}
.relay-load-error span{color:#6c6861;font-size:14px}
.relay-load-error button{margin-top:8px;padding:11px 16px;border:0;border-radius:999px;background:#171717;color:#fff;font-weight:800;cursor:pointer}
.relay-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:20px}
.relay-status{margin-right:auto;color:#a23a2b;font-size:13px}
.relay-confirm{padding:14px 20px;border:0;border-radius:999px;background:#171717;color:#fff;font-weight:800;cursor:pointer}
.relay-confirm:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:680px){.relay-dialog{width:100%;max-height:100dvh;border-radius:20px 20px 0 0;margin:auto 0 0}.relay-shell{max-height:100dvh}.relay-head,.relay-body{padding-left:18px;padding-right:18px}.relay-widget{min-height:430px}.relay-selection-title{display:grid}.relay-selection-title strong{text-align:left}.relay-selection-grid{grid-template-columns:1fr}.relay-actions{align-items:stretch;flex-direction:column}.relay-status{margin:0}.relay-confirm{width:100%}}
