.swr { --ink:#262b2c; --muted:#5b6262; --hair:#dfe2df; box-sizing:border-box; min-width:0; align-content:center; padding:clamp(16px,3vw,42px); color:var(--ink); text-align:left; }
.swr *, .swr *::before, .swr *::after { box-sizing:border-box; }
.swr-map { background:radial-gradient(circle,#748e7734 1px,transparent 1.3px) 0 0/9px 9px,linear-gradient(145deg,#e2eee2,#b6cfc1); }
.swr-email { background:repeating-linear-gradient(145deg,transparent 0 15px,#647b9a11 15px 16px),linear-gradient(145deg,#e4ecf6,#bacbe1); }
.swr-window { width:100%; max-width:490px; margin:auto; border:1px solid #25333325; border-radius:17px; overflow:hidden; background:#fff; box-shadow:0 20px 40px -22px #29373567,0 2px 5px #283d4314; }
.swr-titlebar { display:flex; flex-wrap:wrap; align-items:center; gap:9px; padding:15px clamp(12px,2vw,23px); border-bottom:1px solid var(--hair); }
.swr-titlebar strong { font-size:16px; font-weight:650; letter-spacing:-.025em; }.swr-titlebar small { color:var(--muted); margin-inline-start:auto; font-size:12px; }
.swr-glyph { display:block; position:relative; flex:none; }
.swr-globe { width:17px; height:17px; border:1.5px solid currentColor; border-radius:50%; }
.swr-globe::before { content:""; position:absolute; inset:-1px 3px; border:1px solid currentColor; border-radius:50%; }.swr-globe::after { content:""; position:absolute; left:0; right:0; top:46%; border-top:1px solid currentColor; }
.swr-screen { width:26px; height:18px; border:1.6px solid currentColor; border-radius:3px; margin-bottom:4px; }
.swr-screen::after { content:""; position:absolute; left:5px; right:5px; bottom:-5px; border-bottom:1.5px solid currentColor; }
.swr-mailicon { width:21px; height:15px; border:1.5px solid currentColor; border-radius:3px; overflow:hidden; }
.swr-mailicon::before { content:""; position:absolute; width:75%; aspect-ratio:1; border:1.3px solid currentColor; left:12.5%; top:-68%; transform:rotate(45deg); }
.swr-switch { display:flex; padding:3px; gap:3px; background:#efefeb; border-radius:10px; }
.swr-map .swr-switch { margin:18px clamp(12px,2vw,23px) 0; }
.swr button { cursor:pointer; font-family:inherit; font-size:14px; line-height:1.3; }
.swr-switch button { flex:1; min-width:0; padding:9px 5px; background:none; color:#515858; border:0; border-radius:7px; }
.swr-switch button[aria-pressed=true] { background:white; color:#282d2e; font-weight:650; box-shadow:0 1px 4px #2223; }
.swr button:focus-visible { outline:3px solid #ad491d; outline-offset:2px; }
.swr-diagram { max-width:410px; margin:auto; padding:23px clamp(12px,2vw,24px) 19px; }
.swr-origin { position:relative; display:flex; align-items:center; justify-content:center; gap:10px; width:max-content; max-width:100%; margin:auto; padding:12px 18px; border-radius:10px; background:#2d3031; color:white; box-shadow:0 3px 8px #38443c19; }
.swr-origin b { font-family:ui-monospace,monospace; font-size:14px; font-weight:500; }
.swr-origin::after,.swr-node::before { content:""; position:absolute; height:13px; width:1.5px; background:#839888; left:50%; }
.swr-origin::after { top:100%; }.swr-node::before { bottom:100%; }
.swr-branches { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding-top:26px; }
.swr-branches::before { content:""; position:absolute; top:12px; left:calc(25% - 2.5px); right:calc(25% - 2.5px); height:1.5px; background:#839888; }
.swr-node { display:grid; justify-items:center; align-content:end; position:relative; padding:12px 4px; background:#f7f8f5; border:1px solid #d7dcd5; border-radius:9px; gap:4px; }
.swr-node small { color:var(--muted); font-size:12px; margin-top:4px; }.swr-node strong { font-size:15px; line-height:1.15; }
.swr-moved .swr-web-node { background:#ffefe4; color:#64341d; border-color:#e9af8a; }
.swr-caption { border-top:1px solid var(--hair); padding:12px clamp(12px,2vw,23px); color:var(--muted); font-size:14px; line-height:1.4; min-height:4.4em; }
.swr-email .swr-titlebar { background:#30353c; color:#fff; border:0; }.swr-email .swr-titlebar small { color:#e1e5e9; }
.swr-email-body { padding:clamp(13px,2vw,23px); }.swr-email .swr-switch { background:#edf1f6; }
.swr-inbox { margin:15px 0; border:1px solid #cfd8e5; border-radius:10px; background:linear-gradient(145deg,#fff,#f5f8fb); }
.swr-inboxbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:5px; border-bottom:1px solid #d9dfe7; padding:12px; }.swr-inboxbar b { font-size:19px; letter-spacing:-.04em; }.swr-inboxbar span { font-size:12px; color:#526271; }
.swr-message { display:flex; align-items:center; min-height:102px; padding:16px 12px; gap:14px; }.swr-message strong,.swr-message small { display:block; }
.swr-message strong { font-size:16px; line-height:1.25; }.swr-message small { margin-top:5px; color:#566272; font-size:13px; line-height:1.4; }
.swr-envelope { position:relative; width:43px; height:32px; flex:none; border:1px solid #a8bdd1; border-radius:5px; background:linear-gradient(135deg,#e5eff8,#ccdfef); overflow:hidden; }
.swr-envelope::before { content:""; position:absolute; width:31px; height:31px; left:5px; top:-17px; border:1px solid #90abc7; background:#eef5fa; transform:rotate(45deg); border-radius:2px; }
.swr-delivered .swr-envelope { background:#d7e8dd; border-color:#9fb5a6; }.swr-delivered .swr-envelope::before { border-color:#91ad99; background:#f1f8f2; }
.swr-send { width:100%; background:#30353b; color:white; border:0; border-radius:8px; font-weight:600; padding:12px 8px; }.swr-send:hover { background:#454c54; }
@media (prefers-reduced-motion:no-preference) { .swr-delivered .swr-envelope { animation:swr-arrival .45s ease-out; } .swr-moved .swr-web-node { animation:swr-route .4s ease-out; } }
@keyframes swr-arrival { from { transform:translate(-7px,-3px) rotate(-6deg); opacity:.55; } }
@keyframes swr-route { from { transform:translateY(-3px); } }
@media (max-width:400px) { .swr { padding:13px; }.swr-titlebar { gap:6px; }.swr-titlebar strong { font-size:15px; }.swr-titlebar small { font-size:12px; } }
