:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:16px;line-height:1.5;--background: #0b0b0f;--foreground: #f5f5f7;--primary: #e0a444;--primary-foreground: #1a1206;--secondary: #1e1e26;--muted-foreground: #a1a1aa;--accent: #26262f;--border: #2a2a33;--destructive: #ef4444;color:var(--foreground);background:var(--background);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}*,:before,:after{box-sizing:border-box;margin:0;padding:0;border:0 solid var(--border)}body{min-width:280px;min-height:100dvh;background:var(--background)}button,textarea{font:inherit;letter-spacing:inherit;color:inherit;background:transparent}button{cursor:pointer}button:disabled{pointer-events:none;opacity:.5}img{display:block;max-width:100%;height:auto}ul{list-style:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.page{display:flex;flex-direction:column;gap:24px;width:100%;max-width:672px;margin-inline:auto;padding:32px 16px}.intro{line-height:1.7}.intro p{color:var(--muted-foreground);margin-bottom:16px}.button{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:8px;height:36px;padding:8px 16px;border-radius:6px;font-size:14px;line-height:1.42857;font-weight:500;white-space:nowrap;transition:background-color .15s}.button:focus-visible,.close:focus-visible{outline:0;box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--primary)}.icon{display:inline-block;flex-shrink:0;width:16px;height:16px;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;pointer-events:none}.launcher{position:fixed;z-index:20;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:56px;height:56px;border-radius:9999px;background:var(--secondary);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.launcher:hover{background:#1e1e26cc}.launcher .icon{width:24px;height:24px}.sheet{position:fixed;inset:0 0 0 auto;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;padding:0;border-left:1px solid var(--border);background:var(--background);color:var(--foreground);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:hidden}.sheet[open]{display:flex;flex-direction:column;animation:slide-in .5s cubic-bezier(.4,0,.2,1)}.sheet::backdrop,.image-dialog::backdrop{background:#000c}.sheet[open]::backdrop{animation:fade-in .15s ease-out}.sheet.is-closing{animation:slide-out .3s cubic-bezier(.4,0,.2,1) forwards}.sheet.is-closing::backdrop{animation:fade-out .3s forwards}.sheet>h2{flex-shrink:0;padding:12px 48px 12px 16px;border-bottom:1px solid var(--border);font-size:18px;font-weight:600;line-height:1.55556}.close{position:absolute;top:16px;right:16px;display:inline-flex;width:16px;height:16px;border-radius:2px;opacity:.7;transition:opacity .15s}.close:hover{opacity:1}.messages{display:flex;flex:1;flex-direction:column;gap:8px;overflow-y:auto;min-height:0;padding:16px}.message{display:flex;justify-content:flex-end}.bubble{display:flex;max-width:85%;flex-direction:column;gap:8px;padding:8px 12px;border-radius:8px;font-size:14px;line-height:1.42857;background:var(--accent)}.bubble p{overflow-wrap:anywhere;white-space:pre-wrap}.bubble a{color:inherit;text-decoration:underline;text-underline-offset:2px}.message-image{overflow:hidden;border-radius:6px;cursor:zoom-in}.message-image img{width:100%;max-height:256px;object-fit:cover}.composer{display:flex;flex-shrink:0;align-items:flex-end;gap:8px;border-top:1px solid var(--border);padding:12px}.ghost:hover{background:var(--accent)}.attach{width:36px;padding:0}.composer textarea{display:flex;width:100%;min-width:0;min-height:36px;flex:1;resize:none;border:1px solid var(--border);border-radius:6px;padding:8px 12px;font-size:14px;line-height:1.42857;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.composer textarea::placeholder{color:var(--muted-foreground);opacity:1}.composer textarea:focus-visible{outline:none;box-shadow:0 0 0 1px var(--background),0 0 0 3px var(--primary),0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.primary{background:var(--primary);color:var(--primary-foreground);box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.primary:hover{background:#e0a444e5}.photo-preview{display:flex;flex-shrink:0;align-items:center;gap:12px;border-top:1px solid var(--border);padding:12px}.photo-preview>img{width:64px;height:64px;border-radius:6px;object-fit:cover}.filename{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.42857;color:var(--muted-foreground)}.error{padding:0 16px 8px;color:var(--destructive);font-size:12px;line-height:1.33333}.drop-target{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0b0b0fe5;pointer-events:none;font-size:14px;font-weight:500}.image-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:calc(100% - 32px);max-width:768px;max-height:calc(100dvh - 32px);margin:auto;padding:8px;border:1px solid var(--border);border-radius:10px;background:var(--background);color:var(--foreground)}.image-dialog>img{width:100%;max-height:85dvh;object-fit:contain;border-radius:6px}@media(min-width:768px){.page{padding-inline:24px}.sheet{width:420px}}@keyframes slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slide-out{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
