:root{--bg:#f6f3ee;--surface:#fffdf9;--text:#1f1d1a;--muted:#6b665e;--line:#e4ded4;--accent:#2f5d50;--accent-text:#fffdf9;--calm:#3d7a5e;--amber:#b7791f;--red:#a33a2c;--serif:"Iowan Old Style", "Source Serif 4", "Newsreader", Georgia, serif;--sans:system-ui, -apple-system, "Segoe UI", Inter, Roboto, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#1c1b19;--surface:#252421;--text:#ece7df;--muted:#a39d93;--line:#3a3833;--accent:#8cc2ad;--accent-text:#1c1b19}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}body{font:16px/1.55 var(--sans);-webkit-font-smoothing:antialiased}main{max-width:40rem;padding:max(1.25rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));flex-direction:column;gap:1.25rem;min-height:100dvh;margin:0 auto;display:flex}h1,h2{font-family:var(--serif);margin:0;font-weight:600;line-height:1.2}h1{font-size:1.9rem}h2{font-size:1.25rem}p{margin:0}.muted{color:var(--muted);font-size:.9rem}a{color:var(--accent)}button{font:inherit;background:var(--accent);color:var(--accent-text);cursor:pointer;border:0;border-radius:.6rem;min-height:44px;padding:.7rem 1.1rem}button.quiet{color:var(--accent);background:0 0;padding-inline:.4rem}button:disabled{opacity:.5;cursor:default}.card{background:var(--surface);border-radius:.9rem;flex-direction:column;gap:.6rem;padding:1rem;display:flex}.row{align-items:center;gap:.75rem;display:flex}.grow{flex:1}.list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.list a{background:var(--surface);color:var(--text);border-radius:.7rem;padding:.8rem 1rem;text-decoration:none;display:block}.code{font-family:var(--serif);letter-spacing:.08em;font-size:1.6rem}.qr{background:#fff;border-radius:.6rem;align-self:center;width:min(15rem,70vw);padding:.6rem}.qr svg{width:100%;height:auto;display:block}.link{word-break:break-all;font-size:.85rem}.dot{background:var(--muted);border-radius:50%;flex:none;width:.6rem;height:.6rem}.dot.on{background:var(--calm);animation:2.4s ease-in-out infinite pulse}.dot.amber{background:var(--amber)}.dot.red{background:var(--red)}@keyframes pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.dot.on{animation:none}}.messages{flex-direction:column;flex:1;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.msg{background:var(--surface);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:1rem;align-self:flex-start;max-width:85%;padding:.55rem .85rem}.msg.mine{background:color-mix(in srgb, var(--accent) 14%, var(--surface));align-self:flex-end}.msg .meta{color:var(--muted);margin-top:.15rem;font-size:.75rem;display:block}.msg.sending{opacity:.65}.composer{background:var(--bg);gap:.5rem;padding-block:.5rem;display:flex;position:sticky;bottom:0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.composer textarea:focus-visible{outline-offset:0}.composer textarea{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--line);resize:none;border-radius:.7rem;flex:1;min-height:44px;max-height:10rem;padding:.6rem .8rem}.audit{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.78rem;display:flex}.audit code{font-size:.78rem}
