.return-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;border:1px solid var(--line,#ddd);border-radius:22px;padding:22px;margin:20px 0;background:var(--panel,#f6f6f7);color:var(--ink,#181818)}
.return-card>img{border-radius:12px}.return-card h2{font-size:1.25rem;line-height:1.5;margin:3px 0 8px}.return-kicker{font-size:.8rem;margin:0;font-weight:700;color:var(--muted,#666)}.return-card p{line-height:1.65}.return-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.return-actions button{min-height:48px}.return-footnote{font-size:.83rem;line-height:1.7;color:var(--muted,#64646c);margin:12px 0 0}.return-early{background:transparent;border:0;text-align:left;font:inherit;font-size:.85rem;text-decoration:underline;text-underline-offset:3px;min-height:44px;margin:12px 0 0;padding:6px 0;color:inherit}
.return-dialog{box-sizing:border-box;width:min(100% - 24px,560px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#ddd);border-radius:24px;background:var(--bg,#fff);color:var(--ink,#181818);overflow:auto;overscroll-behavior:contain}.return-dialog::backdrop{background:rgba(0,0,0,.5)}.return-dialog-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:var(--bg,#fff);border-bottom:1px solid var(--line,#ddd)}.return-dialog-head h2{font-size:1.15rem;margin:0}.return-dialog-head button{flex-shrink:0}.return-dialog [data-return-body]{padding:0 20px 20px}.return-dialog p{line-height:1.8}.return-dialog h3{font-size:1.03rem;line-height:1.6;margin:0 0 8px}.return-selects{display:grid;gap:12px;margin:18px 0}.return-selects label{font-size:.85rem;font-weight:700;display:grid;gap:6px}.return-selects select{box-sizing:border-box;width:100%;min-height:48px;background:var(--panel,#f5f5f7);color:inherit;border:1px solid var(--line,#ddd);border-radius:12px;padding:10px;font:inherit;font-size:1rem}.return-warning,.return-notice{border-radius:16px;padding:16px;background:var(--panel,#f4f4f6);border:1px solid var(--line,#ddd);margin:18px 0}.return-warning{border-left:4px solid #b39500}.return-warning ol{padding-left:1.4em;line-height:1.9}.return-check{display:flex;gap:10px;font-size:.9rem;line-height:1.7;margin-top:18px;align-items:flex-start}.return-check input{width:22px;height:22px;flex-shrink:0;margin:3px 0}.return-steps{list-style:none;counter-reset:return-step;padding:0;display:grid;gap:12px}.return-steps>li{counter-increment:return-step;position:relative;padding:16px 14px 16px 48px;border:1px solid var(--line,#ddd);border-radius:16px}.return-steps>li:before{content:counter(return-step);position:absolute;left:12px;top:16px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#ffdb32;color:#191919;font-weight:800}.return-steps p{font-size:.9rem;margin:8px 0}.return-url{display:block;overflow-wrap:anywhere;user-select:all;font-size:.8rem;margin-top:12px}.return-dialog-footer{position:sticky;bottom:0;padding:12px 20px max(12px,env(safe-area-inset-bottom));background:var(--bg,#fff);border-top:1px solid var(--line,#ddd)}.return-official{display:inline-block;padding:10px 0;color:inherit;text-underline-offset:4px}.return-result{font-size:.9rem}.return-dialog button:focus-visible,.return-dialog select:focus-visible,.return-early:focus-visible,.return-card button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:430px){.return-card{padding:18px;gap:12px;grid-template-columns:38px minmax(0,1fr)}.return-card>img{width:38px;height:38px}.return-card h2{font-size:1.1rem}.return-actions button:first-child{flex:1}.return-card p:not(.return-kicker):not(.return-footnote){font-size:.9rem}.return-dialog-head,.return-dialog [data-return-body]{padding-left:16px;padding-right:16px}}

/* Keep the three iPhone actions visible; troubleshooting remains available. */
.return-dialog .return-intro{font-size:.9rem;line-height:1.6;margin:12px 0}
.return-selects{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:12px 0}
.return-selects select{font-size:.85rem;padding:8px;min-height:44px}
.return-selects label{min-width:0;font-size:.78rem}
.return-compact{gap:8px;margin:10px 0}
.return-compact>li{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 40px;min-height:64px;box-sizing:border-box}
.return-compact>li:before{width:20px;height:20px;left:10px;top:12px;font-size:.75rem}
.return-symbol{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:var(--panel,#f4f4f6);font-size:28px;line-height:1;color:var(--ink,#181818)}
.return-compact>li>div{min-width:0;flex:1}.return-compact strong{font-size:.93rem;line-height:1.5}.return-compact p{font-size:.8rem;line-height:1.6;margin:3px 0 0}.return-compact button{margin-top:8px;min-height:44px}.return-compact .return-url{margin-top:6px;font-size:.7rem}
.return-help{font-size:.82rem;margin-top:10px}.return-help summary{min-height:44px;box-sizing:border-box;padding:10px 0;line-height:1.6;cursor:pointer}.return-help p{line-height:1.7}.return-dialog .return-result:empty{display:none}
@media(max-width:350px){.return-compact>li{gap:8px;padding-left:36px}.return-symbol{flex-basis:28px;width:28px;height:28px}.return-compact strong{font-size:.85rem}}

/* First visit: choose a familiar entrance before starting setup. */
.home-dashboard .return-first-visit{margin:0 0 16px;padding:20px 16px}
.return-first-visit h2{font-size:1.12rem;line-height:1.5;margin:0 0 8px}
.return-first-visit>p:not(.return-footnote){font-size:.9rem;line-height:1.7;margin:0 0 14px}
.return-first-visit button{white-space:normal;line-height:1.5;min-height:52px}
.return-first-visit .return-footnote{margin-top:10px}
.return-first-visit button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
