@font-face{font-family:Inter;src:url(/fonts/inter.woff2)format("woff2");font-weight:100 900;font-display:swap}:root{--signalorange:#ff8a00;--bernstein:#ffb347;--nachtblau:#0b1320;--abendblau:#1c2a3f;--nacht:#060a12;--schiefer:#64748b;--schiefer-dunkel:#4f5b6e;--stein:#e5e7eb;--alpinweiss:#f8fafc;--orange-hell:#ffe8cc;--orange-text:#5c3300;--sicher:#2f9e6e;--warnrot:#c2412d;--bg:var(--alpinweiss);--surface:#fff;--text:var(--nachtblau);--muted:var(--schiefer-dunkel);--line:var(--stein);--bubble-in:#fff;--bubble-in-text:var(--nachtblau);--bubble-out:var(--abendblau);--bubble-out-text:var(--alpinweiss);--link:var(--nachtblau);--primary-bg:var(--nachtblau);--primary-text:var(--alpinweiss);--active:#eef1f5;--read:var(--bernstein);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:var(--nacht);--surface:var(--nachtblau);--text:var(--alpinweiss);--muted:#a3adbd;--line:var(--abendblau);--bubble-in:var(--nachtblau);--bubble-in-text:var(--alpinweiss);--bubble-out:var(--abendblau);--link:var(--bernstein);--primary-bg:var(--signalorange);--primary-text:var(--nachtblau);--active:var(--abendblau);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.45}#app{height:100%}h1,h2{letter-spacing:-.02em;margin:0;font-weight:600}h1{font-size:1.5rem}h2{font-size:1.15rem}p{margin:0}a{color:var(--link);-webkit-text-decoration-color:var(--signalorange);text-decoration-color:var(--signalorange);text-underline-offset:3px}button{font:inherit;color:inherit}.muted{color:var(--muted)}.small{font-size:.9rem}.center{text-align:center}.lead{color:var(--muted);max-width:34rem;font-size:1.05rem}.ok{color:var(--sicher);font-weight:500}.error{color:var(--warnrot);font-weight:500}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.btn{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 22px;font-weight:500;display:inline-flex}.btn:disabled{opacity:.45;cursor:default}.btn-main{background:var(--signalorange);color:var(--nachtblau);font-weight:600}.btn-primary{background:var(--primary-bg);color:var(--primary-text)}.btn-secondary{border-color:var(--line);color:var(--text);background:0 0}.btn-quiet{color:var(--muted);background:0 0}.btn-danger{color:var(--warnrot);border-color:var(--line);background:0 0}.btn:focus-visible,.icon-btn:focus-visible,.conv:focus-visible,.chip:focus-visible,.row-button:focus-visible,.input:focus-visible{outline:3px solid var(--bernstein);outline-offset:2px}.icon-btn{cursor:pointer;width:44px;height:44px;color:var(--text);background:0 0;border:0;border-radius:999px;place-items:center;display:inline-grid}.icon-btn:hover{background:var(--active)}.icon-btn.on-dark{color:var(--alpinweiss)}.icon-btn.on-dark:hover,.icon-btn.on-dark.active{background:var(--abendblau);color:var(--bernstein)}.link-btn{color:var(--link);text-decoration:underline;-webkit-text-decoration-color:var(--signalorange);text-decoration-color:var(--signalorange);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0}.link-btn.danger{color:var(--warnrot);text-decoration-color:currentColor}.chip{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:999px;align-items:center;gap:6px;min-height:36px;padding:0 12px;font-size:.9rem;font-weight:500;display:inline-flex}.chip:hover{background:var(--active)}.input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:48px;color:var(--text);font:inherit;border-radius:10px;padding:12px 16px}.input::placeholder{color:var(--muted)}.field{gap:6px;font-weight:500;display:grid}.spinner{border:2px solid var(--line);border-top-color:var(--signalorange);vertical-align:-3px;border-radius:50%;width:16px;height:16px;animation:.9s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.center-screen{text-align:center;place-content:center;justify-items:center;gap:16px;min-height:100%;padding:32px 16px;display:grid}.pairing{background:var(--nachtblau);place-items:center;min-height:100%;padding:32px 16px;display:grid}.pairing-card{background:var(--surface);width:min(760px,100%);color:var(--text);border-radius:28px;gap:18px;padding:36px;display:grid;box-shadow:0 30px 80px #060a1273}.pairing-logo{justify-self:start;width:auto;height:34px}@media (prefers-color-scheme:dark){.pairing-logo{content:url(/brand/pyrsa-logo-on-dark.svg)}}.pairing-body{grid-template-columns:1fr auto;align-items:center;gap:28px;margin-top:6px;display:grid}.steps{gap:14px;margin:0;padding-left:1.3rem;font-size:1.05rem;display:grid}.steps li::marker{color:var(--signalorange);font-weight:700}.pairing-code{justify-items:center;gap:12px;min-width:248px;display:grid}.qr{background:#fff;border-radius:14px;padding:6px}.qr svg{width:100%;height:100%;display:block}.qr-placeholder{border:1px dashed var(--line);text-align:center;border-radius:14px;place-content:center;justify-items:center;gap:14px;width:248px;min-height:248px;padding:16px;display:grid}.waiting{align-items:center;gap:8px;display:flex}.more summary{cursor:pointer;color:var(--muted)}.more .copy-link{margin-top:10px}@media (max-width:640px){.pairing-card{padding:24px}.pairing-body{grid-template-columns:1fr}}.shell{grid-template-columns:minmax(300px,380px) 1fr;height:100%;display:grid}.list{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex}.main{flex-direction:column;min-width:0;min-height:0;display:flex}.topbar{background:var(--nachtblau);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:12px 12px 12px 18px;display:flex}.brand-logo{width:auto;height:30px}.list-tools{border-bottom:1px solid var(--line);gap:10px;padding:12px;display:grid}.search{min-height:42px;padding:8px 14px}.list-actions{flex-wrap:wrap;gap:8px;display:flex}.conversations{flex:1;margin:0;padding:6px;list-style:none;overflow-y:auto}.conv{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:14px;align-items:center;gap:12px;width:100%;min-width:0;padding:10px;display:flex}.conv:hover{background:var(--active)}.conv.active{background:var(--active);box-shadow:inset 3px 0 0 var(--signalorange)}.conv-body{flex:1;grid-template-columns:minmax(0,1fr);gap:2px;min-width:0;display:grid}.conv-top,.conv-bottom{align-items:baseline;gap:8px;display:flex}.conv-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.conv-time{color:var(--muted);font-size:.8rem}.conv-time.fresh{color:var(--text);font-weight:600}.conv-preview{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.92rem;overflow:hidden}.badge{background:var(--signalorange);min-width:22px;height:22px;color:var(--nachtblau);border-radius:999px;place-items:center;padding:0 7px;font-size:.78rem;font-weight:700;display:inline-grid}.avatar{object-fit:cover;flex:none;display:block}.empty{text-align:center;color:var(--muted);gap:8px;padding:32px 20px;display:grid}.empty h2{color:var(--text)}.placeholder{color:var(--muted);flex:1;place-content:center;justify-items:center;gap:14px;display:grid}.chat{flex-direction:column;height:100%;min-height:0;display:flex}.chat-head{border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:4px;min-height:64px;padding:10px 14px;display:flex}.chat-title{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:4px 8px;display:flex}.chat-title:hover{background:var(--active)}.chat-name{font-size:1.05rem;font-weight:600;display:block}.chat-sub{color:var(--muted);font-size:.85rem;display:block}.back-btn{display:none}.messages{flex-direction:column;flex:1;gap:2px;padding:16px clamp(12px,4vw,40px) 24px;display:flex;overflow-y:auto}.day{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:999px;align-self:center;margin:14px 0 8px;padding:4px 12px;font-size:.82rem;font-weight:500}.system{color:var(--muted);text-align:center;align-self:center;max-width:80%;margin:6px 0;font-size:.88rem}.hint{background:var(--orange-hell);color:var(--orange-text);border-radius:10px;align-self:center;margin-bottom:8px;padding:8px 14px;font-size:.9rem}.empty-chat{color:var(--muted);align-self:center;margin:auto}.bubble-row{flex-direction:column;margin-top:6px;display:flex}.bubble-row.out{align-items:flex-end}.bubble-row.in{align-items:flex-start}.bubble{background:var(--bubble-in);max-width:min(620px,82%);color:var(--bubble-in-text);border:1px solid var(--line);border-radius:16px;padding:8px 12px 6px;position:relative}.out .bubble{background:var(--bubble-out);color:var(--bubble-out-text);border-color:#0000;border-bottom-right-radius:4px}.in .bubble{border-bottom-left-radius:4px}.out .bubble a{color:var(--bernstein)}.bubble-name{color:var(--schiefer);margin-bottom:2px;font-size:.9rem;font-weight:500}.bubble-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.125rem}.bubble-meta{opacity:.8;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:2px;font-size:.75rem;display:flex}.status.read{color:var(--read);opacity:1}.in .status.read{color:var(--signalorange)}.status.failed{color:#ffb4a6}.in .status.failed{color:var(--warnrot)}.status .link-btn{color:inherit;font-size:inherit}.react-btn{background:var(--surface);width:32px;height:32px;color:var(--muted);cursor:pointer;opacity:0;border:0;border-radius:999px;place-items:center;transition:opacity .15s;display:grid;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 1px 4px #060a1226}.in .react-btn{right:-40px}.out .react-btn{left:-40px}.bubble:hover .react-btn,.react-btn:focus-visible{opacity:1}@media (hover:none){.react-btn{opacity:.6}}.picker{z-index:5;background:var(--surface);border:1px solid var(--line);border-radius:999px;gap:2px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 6px);box-shadow:0 6px 24px #060a122e}.in .picker{left:0}.out .picker{right:0}.picker button{cursor:pointer;background:0 0;border:0;border-radius:999px;width:40px;height:40px;font-size:1.3rem}.picker button:hover,.picker button.chosen{background:var(--active)}.reactions{z-index:1;gap:4px;margin-top:-4px;padding:0 8px;display:flex;position:relative}.reaction{background:var(--surface);border:1px solid var(--line);border-radius:999px;align-items:center;gap:3px;padding:1px 7px;font-size:.95rem;display:inline-flex}.reaction.mine{border-color:var(--signalorange)}.reaction span{color:var(--muted);font-size:.75rem}.att-photo{border-radius:12px;max-width:360px;margin:2px -6px 6px;display:block;overflow:hidden}.att-photo img{object-fit:cover;width:100%;height:auto;display:block}.att-photo.placeholder{text-align:center;background:#64748b2e;place-content:center;justify-items:center;gap:6px;width:280px;min-height:120px;padding:12px;font-size:.85rem;display:grid}.att-audio{width:min(320px,100%);margin:4px 0;display:block}.att-file{cursor:pointer;text-align:left;width:min(320px,100%);color:inherit;background:#64748b1a;border:1px solid #64748b59;border-radius:10px;align-items:center;gap:10px;margin:4px 0 6px;padding:10px 12px;display:flex}.att-file-body{flex:1;min-width:0;display:grid}.att-file-name{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.att-file-size{opacity:.8;font-size:.8rem}.composer{border-top:1px solid var(--line);background:var(--surface);align-items:flex-end;gap:10px;padding:12px clamp(12px,4vw,40px);display:flex}.composer-field{flex:1;gap:4px;display:grid}.composer textarea{resize:none;border-radius:24px;max-height:200px;padding:12px 18px;font-size:1.05rem;line-height:1.4}.field-error{color:var(--warnrot);padding-left:18px;font-size:.85rem}.send-btn{background:var(--signalorange);width:48px;height:48px;color:var(--nachtblau);cursor:pointer;border:0;border-radius:999px;flex:none;place-items:center;display:grid}.send-btn:disabled{background:var(--line);color:var(--muted);cursor:default}.composer-note{border-top:1px solid var(--line);color:var(--muted);text-align:center;background:var(--surface);padding:16px clamp(12px,4vw,40px)}.page{flex-direction:column;height:100%;min-height:0;display:flex}.page-head{border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:8px;min-height:64px;padding:10px 14px;display:flex}.page-body{flex:1;align-content:start;gap:22px;width:100%;max-width:760px;padding:20px clamp(16px,4vw,40px) 40px;display:grid;overflow-y:auto}.hero{text-align:center;justify-items:center;gap:8px;padding:8px 0;display:grid}.section{gap:8px;display:grid}.section-title{letter-spacing:.28em;text-transform:uppercase;color:var(--muted);padding-left:4px;font-size:.78rem;font-weight:500}.section-footer{color:var(--muted);padding:0 4px;font-size:.9rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}.card-pad{justify-items:start;gap:12px;padding:16px;display:grid}.inline-form{grid-template-columns:1fr auto;place-items:end stretch}.row{text-align:left;background:0 0;border:0;align-items:center;gap:14px;width:100%;min-height:60px;padding:12px 16px;display:flex}.row+.row{border-top:1px solid var(--line)}.row-button{cursor:pointer}.row-button:hover{background:var(--active)}.row-icon{width:40px;height:40px;color:var(--text);border-radius:10px;flex:none;place-items:center;display:grid}.row-body{flex:1;min-width:0;display:grid}.row-title{font-weight:500}.row-text{color:var(--muted);font-size:.9rem}.row-right{flex:none}.row-actions{gap:16px;display:flex}.dot{background:var(--schiefer);border-radius:50%;width:10px;height:10px;display:inline-block}.dot.ok{background:var(--sicher)}.copy-link{gap:8px;width:100%;display:flex}.copy-link .input{min-width:0}.invite{justify-items:start;gap:14px;width:100%;display:grid}.dialog{background:var(--surface);width:min(480px,100% - 32px);color:var(--text);border:0;border-radius:28px;padding:24px}.dialog::backdrop{background:#060a128c}.dialog-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.dialog-body{gap:16px;display:grid}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}@media (max-width:760px){.shell{grid-template-columns:1fr}.shell.show-main .list,.shell.show-list .main{display:none}.list{border-right:0}.back-btn{display:inline-grid}.inline-form{grid-template-columns:1fr}.bubble{max-width:88%}.in .react-btn{right:-36px}.out .react-btn{left:-36px}}
