:root{--bya-lime:#d4ef48;--bya-ink:#252820;--bya-chalk:#f8f9f3;--bya-bubble:#edf4cd;--bya-panel:#fff;--bya-muted:#606658;--bya-border:#dde2d2}*{box-sizing:border-box}body{color:var(--bya-ink);background:var(--bya-chalk);margin:0;font:14px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;background:var(--bya-bubble);color:var(--bya-ink);border:0;border-radius:9px;padding:9px 13px}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--bya-ink);outline-offset:3px}input,textarea{border:1px solid var(--bya-border);width:100%;color:var(--bya-ink);background:#fff;border-radius:10px;padding:11px 12px}label{margin:15px 0 5px;font-size:13px;display:block}label input,label textarea{margin-top:6px;display:block}h1{letter-spacing:-.8px;font-size:clamp(25px,4vw,35px);font-weight:550;line-height:1.2}p{color:var(--bya-muted)}.brand{letter-spacing:-1px;color:var(--bya-ink);font-size:25px;font-weight:700}.brand span{letter-spacing:0;color:var(--bya-muted);font-size:12px;font-weight:400;display:block}.auth-page{place-items:center;min-height:100dvh;padding:25px;display:grid}.auth-card{border:1px solid var(--bya-border);background:#fff;border-radius:20px;width:min(100%,410px);padding:30px}.primary{background:var(--bya-ink);color:#fff;min-height:42px;margin-top:16px}small{color:var(--bya-muted);margin-top:20px;font-size:11px;display:block}.check{align-items:center;gap:9px;display:flex}.check input{width:auto;margin:0}.error{color:#9a302d;background:#fff0eb;border-radius:8px;padding:10px 16px}.app-shell{flex-direction:column;height:100dvh;display:flex}.app-shell>header{border-bottom:1px solid var(--bya-border);background:#fff;justify-content:space-between;align-items:center;height:62px;padding:0 24px;display:flex}.app-shell>header button{background:0 0;margin-left:8px;font-size:12px}.layout{flex:1;min-height:0;display:flex}.layout>aside{background:var(--bya-chalk);border-right:1px solid var(--bya-border);width:240px;padding:25px 18px}.layout h2{font-size:14px}.empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:25px;display:flex}@media (width<=760px){input,textarea{font-size:16px}.auth-card{padding:24px}.app-shell>header{padding:0 16px}.layout>aside{width:100%}.layout>.empty{display:none}}.backdrop{z-index:10;background:#25282055;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border-radius:18px;width:min(480px,100%);max-height:90dvh;padding:25px;overflow:auto}.dialog-head{justify-content:space-between;align-items:center;display:flex}.dialog-head h2{margin:0 0 15px;font-size:20px}.person-row{text-align:left;background:0 0;border-bottom:1px solid #edf0e6;align-items:center;gap:13px;width:100%;padding:14px 5px;display:flex}.person-row small{margin:3px 0 0}.avatar{background:var(--bya-bubble);width:39px;height:39px;color:var(--bya-ink);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.profile-detail{background:var(--bya-chalk);border-radius:13px;margin-top:16px;padding:18px}.search-row{gap:8px;display:flex}.search-row input{flex:1;min-width:0;font-size:13px}.nav-actions{gap:8px;margin:15px 0;display:flex}.nav-actions button{font-size:12px}.conversation{background:#fff;flex-direction:column;flex:1;min-width:0;display:flex}.conversation-head{border-bottom:1px solid var(--bya-border);align-items:center;gap:10px;padding:18px 22px;display:flex}.conversation-head h2{margin:0;font-size:15px}.back{display:none}.toast{z-index:30;position:fixed;bottom:20px;left:20px;right:20px}.invitation{border-bottom:1px solid var(--bya-border);padding:14px 0}.invitation p{margin:5px 0}.invitation button{margin-right:8px}[hidden]{display:none!important}@media (width<=760px){.layout>.conversation,.layout.chat-open>aside{display:none}.layout.chat-open>.conversation{display:flex}.back{background:0 0;padding:0 10px;font-size:25px;display:block}.search-row input{font-size:16px}.layout>aside{padding:18px 16px}}.conversation{flex-direction:column;min-height:0;display:flex}.message-list{flex-direction:column;flex:1;gap:12px;min-height:200px;padding:16px;display:flex;overflow:auto}.message{background:var(--bya-chalk);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:14px;align-self:flex-start;max-width:min(85%,540px);padding:10px 14px}.message.mine{background:var(--bya-bubble);align-self:flex-end}.message small{opacity:.65;margin-top:4px;font-size:10px;display:block}.message-picture{border-radius:8px;max-width:100%;max-height:300px}.composer{border-top:1px solid #eee;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;display:flex}.composer>input{flex:1;min-width:100px}.composer-tools{gap:4px;width:100%;display:flex}.composer-tools button{padding:6px 9px;font-size:13px}.picker{flex-wrap:wrap;gap:8px;padding:8px;display:flex}.conversation-head{flex:none}button svg{vertical-align:middle;flex-shrink:0}.layout>aside{width:270px;padding:20px 15px;overflow:auto}.workspace-panel{border-left:1px solid var(--bya-border);background:var(--bya-chalk);flex-direction:column;flex-shrink:0;width:310px;min-height:0;display:flex}.workspace-head{justify-content:space-between;align-items:center;padding:20px;display:flex}.workspace-head small{margin:2px 0;font-size:11px}.workspace-panel nav{gap:6px;padding:0 20px 12px;display:flex}.workspace-panel .selected{background:var(--bya-bubble)}.workspace-body{flex:1;padding:20px;overflow:auto}.file-card{border:1px solid var(--bya-border);text-align:left;overflow-wrap:anywhere;background:#fff;flex-direction:column;align-items:flex-start;gap:8px;width:100%;margin-bottom:12px;padding:16px;display:flex}.file-card small{margin:0}.file-card b{max-width:100%;font-size:12px}.canvas-note{resize:vertical;min-height:280px;font-size:14px}.composer .primary{min-width:42px;margin:0}.message-list{min-height:0}.layout{position:relative}.conversation-head{min-height:67px}.person-row b{font-size:13px}.person-row small{font-size:11px}@media (width<=1100px){.workspace-panel{z-index:6;width:min(360px,100%);position:absolute;top:0;bottom:0;right:0;box-shadow:-10px 0 35px #0001}}@media (width<=760px){.layout>aside{width:100%;padding:16px}.conversation-head{min-height:56px;padding:10px 14px}.conversation-head h2{font-size:14px}.workspace-panel{width:100%}.app-shell>header{flex-shrink:0;height:52px}.brand{font-size:22px}.composer{padding:10px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.message-list{padding:12px}.message{padding:9px 12px;font-size:14px}.dialog{padding:20px}.dialog-head h2{font-size:18px}.search-row{align-items:center}.search-row button{flex-shrink:0;width:42px;height:42px}.layout>aside .person-row{padding:14px 4px}}.analytics-page{max-width:1300px;margin:auto;padding:clamp(16px,3vw,40px)}.analytics-page h1{font-size:26px}.analytics-page h2{margin-top:28px;font-size:17px}.analytics-controls{flex-wrap:wrap;gap:15px;display:flex}.analytics-controls label{flex:1;min-width:140px;max-width:240px}.analytics-controls select{border:1px solid #ddd;border-radius:9px;width:100%;margin-top:6px;padding:12px;display:block}.analytics-tabs{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.analytics-tabs .selected{background:var(--bya-ink);color:#fff}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;display:grid}.metric-card{border:1px solid var(--bya-border);background:#fff;border-radius:12px;padding:17px}.metric-card small{margin:0}.metric-card b{margin:5px 0;font-size:27px;display:block}.metric-card span{color:var(--bya-muted);font-size:11px}.analytics-page table{border-collapse:collapse;background:#fff;width:100%;margin:15px 0;font-size:12px}.analytics-page th,.analytics-page td{text-align:left;border-bottom:1px solid var(--bya-border);padding:10px}.analytics-page>p{font-size:12px}@media (width<=600px){.analytics-page table{font-size:10px}.analytics-page th,.analytics-page td{padding:7px 4px}.analytics-page .dialog-head{display:block}}.command-menu{border-top:1px solid var(--bya-border);background:#fff;max-height:245px;padding:8px 12px;overflow:auto}.command-menu button{text-align:left;background:0 0;justify-content:space-between;width:100%;padding:10px;display:flex}.command-menu button[aria-selected=true]{background:var(--bya-bubble)}.command-menu span{color:var(--bya-muted);font-size:12px}.mention-option{text-align:left;border-radius:0;padding:12px 20px}.ai-mode{border-color:var(--bya-ink)}.privacy-label{color:var(--bya-muted);width:100%;margin:4px 0 10px;font-size:12px;display:block}.private-draft-banner button{padding:5px 9px}.ai-preview blockquote{border-left:2px solid var(--bya-ink);margin:8px 0;padding-left:10px}.ai-dialog textarea{resize:vertical;min-height:100px}.context-choice span{overflow-wrap:anywhere;max-height:100px;overflow:auto}.context-choice input{flex:none;margin-top:3px}.sound-picker{background:var(--bya-chalk);max-height:280px;padding:12px 16px;overflow:auto}.sound-picker>div{justify-content:space-between;gap:10px;margin-bottom:6px;display:flex}.sound-picker .selected{background:var(--bya-bubble)}.attachment-preview{border-radius:12px;max-width:100%;max-height:45dvh;margin:auto;display:block}.composer-info{margin:0;padding:8px 14px;font-size:12px}.private-ai-view h1{font-size:clamp(23px,3vw,30px)}.private-ai-view>button{margin-right:8px}.private-ai-view select{border:1px solid var(--bya-border);border-radius:9px;width:100%;max-width:340px;padding:10px;display:block}.private-draft small{margin:0}.private-draft p{white-space:pre-wrap;overflow-wrap:anywhere}.ai-person{margin:10px 0}.ai-person .avatar{background:var(--bya-ink);color:#fff}.app-shell{padding-top:var(--bya-safe-top,0);padding-bottom:var(--bya-safe-bottom,0)}.avatar img{object-fit:cover;border-radius:50%;width:100%;height:100%}.picture-button{background:0 0;border-radius:10px;padding:0;display:block;overflow:hidden}.image-dialog{text-align:right;width:min(90vw,1000px)}.image-dialog>img{max-width:100%;max-height:75dvh;margin:10px auto 0;display:block}.ai-dialog{max-width:580px}.primary,.analytics-tabs .selected,.ai-person .avatar{background:var(--bya-lime);color:var(--bya-ink)}.person-row[aria-current=true],.person-row.selected{background:var(--bya-bubble)}input[type=checkbox]{accent-color:var(--bya-ink)}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--bya-ink);outline-offset:2px}.brand{letter-spacing:-1px;align-items:center;gap:9px;display:flex}.brand-icon{flex:none;width:40px;height:40px;display:block}.brand-wordmark{line-height:1.1}.brand-wordmark span{margin-top:5px;line-height:1.4}.app-shell>header .brand{font-size:23px}@media (width<=760px){.app-shell>header .brand-icon{width:30px;height:30px}.app-shell>header .brand{gap:6px;font-size:21px}}.dashboard-brand{align-items:center;gap:10px;display:flex}.brand-wordmark-image{width:62px;height:auto;display:block}@media (width<=760px){.app-shell>header .brand-wordmark-image{width:50px}}.brand-icon{width:46px;height:46px}.brand-wordmark-image{width:58px}.app-shell>header .brand-icon{width:40px;height:40px}.app-shell>header .brand-wordmark-image{width:51px}@media (width<=760px){.app-shell>header .brand-icon{width:36px;height:36px}.app-shell>header .brand-wordmark-image{width:47px}}.contacts-dialog{box-sizing:border-box;width:calc(100vw - 28px);max-width:560px;max-height:calc(100dvh - 28px);overflow:auto}.contacts-dialog>button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.contacts-dialog>p[role=status]{align-items:center;gap:8px;font-size:.88rem;display:flex}.contacts-dialog input[type=search]{box-sizing:border-box;width:100%}.imported-contacts{max-height:45dvh;margin:12px 0;overflow:auto}.imported-contact{align-items:center;gap:12px;min-width:0;padding:11px 0;display:flex}.imported-contact>span:last-child{min-width:0}.imported-contact b,.imported-contact small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.imported-contact small{opacity:.7;margin-top:0;font-size:.8rem}.contact-summary{opacity:.75;justify-content:space-between;gap:12px;margin:10px 0 4px;font-size:.78rem;display:flex}.contact-tools{flex-wrap:wrap;gap:8px;margin:6px 0 10px;display:flex}.imported-contact{cursor:pointer;border-radius:10px;margin:2px -8px;padding:10px 8px}.imported-contact:hover{background:#f6f8ee}.imported-contact.selected{background:#f1f6dc}.contact-check{accent-color:#71821d;flex-shrink:0;width:18px;height:18px;margin:0}.contact-copy{flex:1}.imported-contact small.contact-state{opacity:1;white-space:nowrap;border-radius:999px;width:fit-content;margin-top:5px;padding:2px 8px;font-size:.7rem;font-weight:600;display:inline-block}.contact-state.on-bya{color:#4b5a10;background:#eaf2cb}.contact-state.off-bya{color:#666;background:#f0f0eb}.contact-note{opacity:.7;font-size:.78rem}.invite-result{background:#f4f7e8;border-radius:12px;margin:14px 0;padding:12px 14px;font-size:.86rem}.invite-result p{align-items:flex-start;gap:8px;margin:6px 0;display:flex}.invite-result p svg{flex-shrink:0;margin-top:2px}.invite-followup{margin-top:8px}.invite-followup label{margin:8px 0 0;display:block}.invite-followup input{box-sizing:border-box;width:100%}.invite-followup button{margin-top:8px}.invite-followup small{opacity:.7;margin-top:6px;display:block}.invite-people{margin:6px 0;padding-left:18px;font-size:.8rem}.invite-people small{opacity:.7}.invite-handoff{margin-top:8px}.invite-handoff label,.invite-link label{margin:8px 0 0;display:block}.invite-handoff textarea,.invite-link input{box-sizing:border-box;width:100%}.invite-handoff textarea{min-height:96px;margin-top:6px;font-size:12px}.invite-handoff button,.invite-link button,.invite-link{margin-top:8px}.invite-result summary{cursor:pointer;margin-top:6px;font-size:.8rem}.imported-contact.static{cursor:default}.invite-manual{margin-top:8px}.share-link{margin:10px 0 0}.contact-done{background:#e9eddf!important;border:0!important}.auth-separator{text-align:center;opacity:.65;font-size:.85rem}.contact-spin{animation:1.4s linear infinite contact-spin}@keyframes contact-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.contact-spin{animation:none}}.contacts-dialog{max-height:calc(100dvh - 24px);padding:18px;overflow:auto}.contacts-dialog .dialog-head{gap:12px;margin:0 0 14px}.contacts-dialog h2{letter-spacing:-.5px;margin:0;font-size:clamp(20px,3vw,24px);line-height:1.2}.contacts-dialog .dialog-head button{flex-shrink:0;place-items:center;width:36px;height:36px;min-height:36px;padding:0;display:grid}.contact-primary-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.contact-primary-actions .primary{white-space:nowrap;justify-content:center;align-items:center;gap:6px;height:36px;min-height:36px;margin:0;padding:6px 10px;font-size:13px;display:flex}.contacts-dialog>p[role=status]{margin:10px 0;font-size:12px}.contacts-dialog input[type=search]{height:40px;padding:8px 10px}.contact-selection-bar{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;font-size:12px;display:flex}.contact-selection-bar .contact-tools{flex-wrap:nowrap;gap:6px;margin:0}.contact-tools button{min-height:36px;padding:6px 10px;font-size:12px}.contacts-dialog .imported-contacts{overscroll-behavior:contain;max-height:min(52dvh,460px);margin:8px 0 0;padding:0 4px;overflow:auto}.contacts-dialog label.imported-contact{border-radius:10px;align-items:center;gap:10px;min-height:62px;margin:0;padding:9px 6px;font-size:14px;display:flex}.contacts-dialog .imported-contact .contact-check{cursor:pointer;flex:0 0 20px;width:20px;min-width:20px;max-width:20px;height:20px;margin:0;padding:0;display:block}.contacts-dialog .imported-contact .avatar{width:34px;min-width:34px;height:34px;font-size:14px}.contacts-dialog .contact-copy{min-width:0}.contacts-dialog .contact-copy b{font-size:14px}.contacts-dialog .contact-copy small{font-size:12px}.contact-scroll-end{text-align:center;min-height:2px;color:var(--bya-muted);font-size:12px}.contacts-dialog .invite-result{margin-top:10px;font-size:13px}.contacts-dialog .invite-followup button,.contacts-dialog .invite-handoff button,.contacts-dialog .invite-link button{min-height:36px;font-size:13px}.contacts-dialog .invite-handoff textarea{font-size:13px}@media (width<=760px){.contacts-dialog{width:calc(100vw - 24px);padding:16px}.contact-primary-actions .primary,.contacts-dialog .dialog-head button,.contact-tools button,.contacts-dialog .invite-followup button{height:44px;min-height:44px}.contacts-dialog .dialog-head button{width:44px}.contacts-dialog input[type=search]{height:44px;font-size:16px}.contact-tools button{padding:6px 8px}.contact-selection-bar{font-size:12px}.contacts-dialog .imported-contacts{max-height:48dvh}}.contacts-backdrop{justify-content:center;align-items:center;padding:12px;display:flex;overflow:hidden}.contacts-backdrop .contacts-dialog{flex:0 560px;width:100%;min-width:0;max-width:560px;max-height:calc(100dvh - 24px);margin:auto}.contacts-backdrop .contacts-dialog .imported-contacts{min-height:0}.assistant-thread{flex-direction:column;flex:1;min-height:0;display:flex}.assistant-empty{flex-direction:column;gap:10px;max-width:520px;padding:clamp(16px,4vw,40px);display:flex}.assistant-empty h2{margin:0;font-size:20px}.assistant-empty ul{flex-direction:column;gap:8px;margin:8px 0 0;padding:0;list-style:none;display:flex}.assistant-empty li button{text-align:left;border:1px solid var(--bya-border);background:#fff;border-radius:12px;width:100%;padding:12px 14px;font-size:13px}.assistant-empty li button:hover{background:var(--bya-bubble)}.typing{align-items:center;gap:4px;min-height:18px;display:inline-flex}.typing i{background:var(--bya-muted);opacity:.35;border-radius:50%;width:6px;height:6px;animation:1s infinite bya-typing}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes bya-typing{0%,60%,to{opacity:.25;transform:translateY(0)}30%{opacity:.9;transform:translateY(-2px)}}.assistant-turns{flex-direction:column;gap:10px;max-height:min(42dvh,380px);margin:6px 0 12px;display:flex;overflow:auto}.assistant-turn{border:1px solid var(--bya-border);background:var(--bya-chalk);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.turn-request{color:var(--bya-muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px}.turn-draft{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px}.turn-actions{flex-wrap:wrap;gap:8px;display:flex}.turn-actions .primary{margin:0}.context-strip{border:1px solid var(--bya-border);background:#fff;border-radius:10px;margin:8px 0 12px;padding:10px 12px;font-size:12px}.context-strip summary{cursor:pointer;color:var(--bya-ink)}.context-strip ul{flex-direction:column;gap:6px;max-height:150px;margin:8px 0;padding:0;list-style:none;display:flex;overflow:auto}.context-strip li{border-bottom:1px solid var(--bya-border);justify-content:space-between;align-items:flex-start;gap:8px;padding-bottom:6px;display:flex}.context-strip li span{overflow-wrap:anywhere;white-space:pre-wrap;max-height:72px;overflow:auto}.context-strip li button{flex:none}.context-strip p{margin:4px 0 0}.dialog-foot{border-top:1px solid var(--bya-border);justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:12px;display:flex}.muted{color:var(--bya-muted);font-size:12px}button.link{color:var(--bya-muted);background:0 0;padding:0;font-size:12px}@media (width<=760px){.assistant-turns{max-height:34dvh}}.aside-foot{border-top:1px solid var(--bya-border);flex-direction:column;align-items:flex-start;gap:6px;margin-top:18px;padding-top:12px;display:flex}.composer textarea{border:1px solid var(--bya-border);min-width:120px;min-height:64px;font:inherit;resize:vertical;border-radius:9px;flex:1;padding:8px 10px}.primary[aria-disabled=true]{opacity:.6;cursor:default}.bya-label{letter-spacing:.04em;text-transform:uppercase;opacity:.75;margin-bottom:2px;font-size:10px;font-weight:700;display:block}.bya-turn{border:1px solid var(--bya-border)}.memory-dialog h3{margin:16px 0 8px;font-size:13px}.memory-sources ul,.memory-facts,.memory-conflicts{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.memory-sources li{flex-wrap:wrap;align-items:baseline;gap:8px;font-size:12px;display:flex}.memory-sources .ok{color:var(--bya-muted)}.memory-sources .bad{color:#a33}.memory-facts li,.memory-conflicts li{border:1px solid var(--bya-border);background:var(--bya-chalk);border-radius:10px;padding:10px}.memory-claim{overflow-wrap:anywhere;margin:0 0 4px}.memory-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.memory-actions button{padding:5px 9px;font-size:12px}.memory-facts form{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.memory-facts form input{flex:1;min-width:140px}.forget-action{display:inline-flex;position:relative}.forget-tooltip{z-index:5;color:#fff;background:#252820;border-radius:10px;width:260px;max-width:70vw;padding:10px 12px;font-size:12px;line-height:1.45;display:none;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 4px 14px #0002}.forget-action:hover .forget-tooltip,.forget-action:focus-within .forget-tooltip{display:block}.people-settings-dialog{overflow-wrap:anywhere;width:min(440px,100%);min-width:0;padding:20px}.people-settings-dialog .dialog-head{align-items:center;gap:12px;margin-bottom:16px}.people-settings-dialog .dialog-head h2{margin:0;font-size:19px;line-height:1.25}.people-settings-dialog .dialog-head>button{flex:0 0 40px;width:40px;height:40px;padding:0}.people-settings-dialog>p{margin:0 0 18px;font-size:14px}.people-settings-actions{flex-direction:column;gap:10px;display:flex}.people-settings-actions button{white-space:normal;width:100%;min-height:44px;margin:0;padding:10px 14px;font-size:14px;line-height:1.35}.assistant-thread{min-width:0;overflow:hidden}.assistant-thread .composer-info{padding:10px 16px;padding-bottom:max(10px,env(safe-area-inset-bottom));overflow-wrap:anywhere;background:var(--bya-chalk);flex:none;font-size:12px;line-height:1.45}@media (width<=760px){.people-settings-dialog{padding:18px}.people-settings-dialog .dialog-head>button{flex-basis:44px;width:44px;height:44px}.assistant-empty{gap:8px;padding:16px 8px}.assistant-empty h2{font-size:18px;line-height:1.3}.assistant-empty>p{margin:4px 0;font-size:13px;line-height:1.5}.assistant-empty .privacy-label{font-size:11px}.ai-dialog{flex-direction:column;max-height:calc(100dvh - 24px);padding:16px;display:flex}.ai-dialog .assistant-turns{min-height:100px;padding:10px 0}.ai-dialog .composer{flex:none;padding:10px 0}.ai-dialog .dialog-foot{flex:none}.backdrop{padding:12px}}.app-shell{padding-top:max(env(safe-area-inset-top,0px),var(--bya-safe-top,0px));padding-right:max(env(safe-area-inset-right,0px),var(--bya-safe-right,0px));padding-bottom:max(env(safe-area-inset-bottom,0px),var(--bya-safe-bottom,0px));padding-left:max(env(safe-area-inset-left,0px),var(--bya-safe-left,0px))}@media (width<=760px){html[data-bya-embedded=true] .app-shell{padding-top:max(env(safe-area-inset-top,0px),var(--bya-safe-top,96px));padding-bottom:max(env(safe-area-inset-bottom,0px),var(--bya-safe-bottom,76px))}html:has(meta[name=bya-hosted]) .app-shell{padding-top:max(env(safe-area-inset-top,0px),var(--bya-safe-top,96px));padding-bottom:max(env(safe-area-inset-bottom,0px),var(--bya-safe-bottom,76px))}}html[data-bya-embedded=true] .backdrop{padding-top:calc(var(--bya-safe-top,0px) + 12px);padding-bottom:calc(var(--bya-safe-bottom,0px) + 12px);padding-left:calc(var(--bya-safe-left,0px) + 12px);padding-right:calc(var(--bya-safe-right,0px) + 12px)}html[data-bya-embedded=true] .backdrop .dialog{max-height:calc(100dvh - var(--bya-safe-top,0px) - var(--bya-safe-bottom,0px) - 24px)}@media (width<=760px){html[data-bya-embedded=true] .backdrop .dialog{max-height:calc(100dvh - var(--bya-safe-top,96px) - var(--bya-safe-bottom,76px) - 24px)}}.account-menu{flex:none;position:relative}.menu-trigger{width:40px;height:40px;color:var(--bya-ink);background:0 0;border-radius:50%;place-items:center;padding:0;font-size:19px;line-height:1;display:grid}.menu-trigger[aria-expanded=true]{background:var(--bya-bubble)}.menu-panel{z-index:30;border:1px solid var(--bya-border);background:#fff;border-radius:12px;flex-direction:column;min-width:224px;padding:6px;display:flex;position:absolute;top:46px;right:0;box-shadow:0 14px 40px #0002}.menu-panel button{text-align:left;color:var(--bya-ink);background:0 0;border-radius:8px;padding:11px 12px;font-size:13px}.menu-panel button:hover{background:var(--bya-chalk)}.menu-heading{border-bottom:1px solid var(--bya-border);border-radius:0;flex-direction:column;gap:2px;margin-bottom:4px;padding-bottom:12px;display:flex}.menu-heading small{color:var(--bya-muted);font-size:11px}.conversation-title{flex-direction:column;gap:1px;min-width:0;display:flex}.conversation-title h2{margin:0;font-size:15px}@media (width<=760px){.menu-trigger{width:44px;height:44px}}.conversation-head .workspace-toggle{width:36px;height:36px;color:var(--bya-ink);background:0 0;border-radius:10px;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}.conversation-head .workspace-toggle[aria-pressed=true]{background:var(--bya-bubble)}.invite-composer{box-sizing:border-box;width:min(100% - 24px,520px);max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.invite-composer .dialog-head{align-items:flex-start;gap:12px;margin-bottom:20px}.invite-composer h2{letter-spacing:-.6px;margin:0;font-size:clamp(21px,5vw,28px);line-height:1.15}.invite-composer .dialog-head button{flex:0 0 44px;place-items:center;height:44px;padding:0;display:grid}.invitation-recipients{background:#f4f5ed;border-radius:16px;align-items:center;gap:10px;margin-bottom:20px;padding:12px;display:flex}.invitation-recipients>span:nth-child(2){flex:1;min-width:0}.invitation-recipients b,.invitation-recipients small{overflow-wrap:anywhere;display:block}.invitation-recipients small{color:var(--bya-muted);margin-top:3px;font-size:12px}.invitation-recipients button{min-height:44px;padding:8px 12px}.invitation-card-tools{justify-content:space-between;align-items:center;gap:10px;margin:12px 0;display:flex}.invitation-card-tools button{align-items:center;gap:6px;min-height:44px;padding:8px 12px;font-size:13px;display:flex}.invitation-card-viewport{touch-action:pan-y;border-radius:24px;width:100%;min-width:0;overflow:hidden}.invitation-art-card{background:#f0e3ce;border-radius:24px;margin:0;overflow:hidden}.invitation-art-card img{aspect-ratio:440/245;object-fit:cover;width:100%;display:block}.invitation-art-copy{text-align:center;padding:10px 20px 24px}.invitation-art-copy h3{margin:0 0 12px;font-family:Georgia,serif;font-size:clamp(24px,7vw,37px);font-style:italic;font-weight:600;line-height:1.05}.invitation-art-copy p{margin:0;font-size:clamp(13px,3.5vw,16px);line-height:1.4}.template-coffee{background:#e4e8d8}.template-hello{background:#e9e0ee}.custom-art img{aspect-ratio:1;object-fit:contain;background:#f0f1e8}.invitation-pagination{justify-content:center;align-items:center;gap:8px;margin:8px 0 16px;display:flex}.invitation-pagination>button{background:0 0;place-items:center;width:44px;height:44px;padding:0;display:grid}.invitation-pagination>div{flex-wrap:wrap;justify-content:center;align-items:center;max-width:220px;display:flex}.invitation-pagination>div button{background:0 0;width:28px;height:44px;padding:0;position:relative}.invitation-pagination>div button:after{content:"";background:#d0d5c4;border-radius:8px;width:8px;height:8px;position:absolute;top:18px;left:10px}.invitation-pagination>div button.active:after{background:#252820;width:20px;left:4px}.invitation-message{margin-top:16px;font-size:14px;font-weight:600;display:block}.invitation-message textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:110px;margin-top:8px;font:400 16px/1.5 system-ui;display:block}.invitation-file-input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.invitation-send{width:100%;min-height:44px;margin-top:16px}.invitation-sent-tick{background:var(--bya-lime,#d3f542);border-radius:50%;place-items:center;width:48px;height:48px;margin:0 auto 20px;display:grid}.invitation-send-status{padding-left:20px;font-size:13px}.invitation-resume{min-height:44px;margin-top:10px}.invite-composer p[role=status]{font-size:13px}.invite-composer-backdrop{box-sizing:border-box;padding:max(12px,var(--host-safe-top,0px)) 0 max(12px,var(--host-safe-bottom,0px));overflow:auto}@media (width<=400px){.invite-composer{padding:16px}.invitation-art-copy{padding:8px 14px 20px}}.received-invitation-card{background:#f4f5ed;border-radius:18px;max-width:320px;margin:12px 0;overflow:hidden}.received-invitation-card img{width:100%;display:block}.received-invitation-card p{white-space:pre-wrap;overflow-wrap:anywhere;padding:0 14px 14px}.invite-composer .invitation-send{z-index:1;position:sticky;bottom:0;box-shadow:0 -8px 16px 4px #fff}.invite-composer .invitation-recipients .avatar{flex-shrink:0}.invite-composer-backdrop{padding-top:max(12px,env(safe-area-inset-top,0px),var(--bya-safe-top,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px),var(--bya-safe-bottom,0px))}.rewrite-chips{flex-wrap:nowrap;gap:6px;padding:8px 12px 0;display:flex;overflow-x:auto}.rewrite-chips button{border:1px solid var(--bya-border);background:var(--bya-chalk);color:var(--bya-ink);white-space:nowrap;border-radius:999px;padding:6px 11px;font-size:12px}.rewrite-chips button:hover{background:var(--bya-bubble)}.rewrite-suggestion{border:1px solid var(--bya-border);background:var(--bya-chalk);border-radius:12px;margin:8px 12px 0;padding:12px}.rewrite-suggestion p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 10px}.rewrite-actions{flex-wrap:wrap;gap:8px;display:flex}.rewrite-actions .primary{margin:0}.setting-row{align-items:flex-start;gap:12px;padding:12px 0;display:flex}.setting-row input{width:20px;height:20px;margin-top:2px}.setting-row span{flex-direction:column;gap:4px;display:flex}.meme-preview{border:1px solid var(--bya-border);background:var(--bya-chalk);border-radius:12px;flex-direction:column;align-items:flex-start;gap:10px;margin:8px 12px 0;padding:10px;display:flex}.meme-preview img{border-radius:10px;max-width:100%;max-height:280px;display:block}.voice-help,.voice-message-preview{box-sizing:border-box;width:min(100% - 24px,520px);overflow:auto}.voice-help h2,.voice-message-preview h2{font-size:clamp(20px,5vw,25px);line-height:1.2}.voice-help p,.voice-help li,.voice-message-preview p{font-size:14px;line-height:1.55}.voice-help ul{padding-left:20px}.voice-help li{margin:8px 0}.voice-help .dialog-head button,.voice-message-preview .dialog-head button{place-items:center;min-width:44px;min-height:44px;padding:0;display:grid}.voice-message-preview textarea{box-sizing:border-box;resize:vertical;width:100%;font:16px/1.5 system-ui}.voice-preview-actions{flex-wrap:wrap;gap:8px;display:flex}.voice-preview-actions button,.voice-help>.primary{min-height:44px}.voice-message-preview label{display:block}:root{--bya-host-composer:104px}@media (width<=760px){:root{--bya-host-composer:136px}}html[data-bya-embedded=true] .app-shell{padding-bottom:max(env(safe-area-inset-bottom,0px),var(--bya-safe-bottom,var(--bya-host-composer)))}html:has(meta[name=bya-hosted]) .app-shell{padding-bottom:max(env(safe-area-inset-bottom,0px),var(--bya-safe-bottom,var(--bya-host-composer)))}@media (width<=760px){html[data-bya-embedded=true] .composer{padding-bottom:10px}}.workspace-panel nav button{align-items:center;gap:5px;display:inline-flex}.notes-body{flex-direction:column;gap:8px;display:flex}.note-toolbar{align-items:center;gap:6px;display:flex}.note-toolbar input{flex:1;min-width:0;height:34px;padding:6px 8px;font-size:12px}.note-toolbar .primary{height:34px;min-height:34px;margin:0;padding:6px 10px;font-size:12px}.note-toolbar.secondary{flex-wrap:wrap;justify-content:space-between}.note-toolbar.secondary .quiet{min-height:30px;padding:5px 8px;font-size:11px}.note-filters{gap:2px;display:flex}.note-filters button{min-height:26px;padding:4px 7px;font-size:11px}.note-filters button.selected{background:var(--bya-lime)}.note-list{flex-direction:column;gap:6px;display:flex}.note-card{text-align:left;border:1px solid var(--bya-border);background:#fff;border-radius:10px;flex-direction:column;gap:3px;min-height:0;padding:9px 10px;display:flex}.note-card:hover{background:#f6f8ee}.note-card-title{justify-content:space-between;align-items:center;gap:6px;width:100%;display:flex}.note-card-title b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.note-snippet{text-overflow:ellipsis;white-space:nowrap;color:var(--bya-muted);margin:0;font-size:11px;display:block;overflow:hidden}.note-badge{color:#4d5b12;white-space:nowrap;background:#eef1e5;border-radius:999px;align-items:center;gap:3px;width:fit-content;padding:2px 6px;font-size:10px;display:inline-flex}.note-badge.shared{color:#2f4a68;background:#e6eef7}.note-badge small{color:inherit;margin:0;font-size:10px;display:inline}.note-empty{text-align:center;padding:12px 6px;font-size:12px}.note-help{color:var(--bya-muted);margin:4px 0 0;font-size:10px;line-height:1.35}.note-editor{flex-direction:column;gap:8px;display:flex}.note-editor-head{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.note-back{background:0 0;align-items:center;gap:3px;padding:0 4px 0 0;font-size:12px;display:inline-flex}.note-editor-head .note-badge{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.note-editor-head .quiet{min-height:26px;padding:4px 6px;font-size:11px}.note-editor-head .danger{color:#9a302d}.note-title-input{padding:8px 9px;font-size:15px;font-weight:600}.note-body{resize:vertical;min-height:220px;padding:8px 9px;font-size:13px;line-height:1.45}.note-footer{color:var(--bya-muted);justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.note-footer .quiet{align-items:center;gap:4px;min-height:28px;padding:5px 7px;font-size:11px;display:inline-flex}@media (width<=760px){.note-toolbar .primary,.note-toolbar input{height:40px;min-height:40px}.note-title-input{font-size:16px}.note-body{min-height:180px;font-size:16px}}html[data-bya-embedded=true],html[data-bya-embedded=true] body,html[data-bya-embedded=true] #root{height:100%;min-height:0;overflow:hidden}html[data-bya-embedded=true] .app-shell{height:var(--bya-viewport-height,100dvh);max-height:var(--bya-viewport-height,100dvh);overflow:hidden}.conversation>.composer,.assistant-thread>.composer{background:var(--bya-panel);flex:none}html[data-bya-embedded=true] .toast{bottom:calc(max(env(safe-area-inset-bottom,0px),var(--bya-safe-bottom,var(--bya-host-composer))) + 12px)}.contacts-dialog .imported-contact>.contact-state{flex:none;align-self:center;margin:0 0 0 auto;padding:3px 7px;font-size:10px;line-height:1.4}.people-settings-actions.settings-contact-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.connection-control{flex-shrink:0;justify-content:flex-end;padding:6px 12px;display:flex}.connection-control button{background:var(--lime,#d5f348);color:#252820;border:0;border-radius:22px;min-height:44px;padding:8px 14px;font-size:14px;box-shadow:0 2px 10px #00000012}.invitation-share-options{border-top:1px solid var(--bya-border);margin:12px 0;padding:12px 0}.invitation-share-options>p{margin:0 0 8px}.invitation-share-actions{flex-wrap:wrap;gap:8px;display:flex}.invitation-share-actions button{min-height:44px}.invitation-share-options label{margin:10px 0 0}.invitation-share-options input{margin-top:6px;font-size:13px}.auth-entry .auth-action{text-align:center;justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.auth-entry .auth-separator{text-align:center;color:var(--bya-muted);margin:20px 0}.auth-entry .auth-switch{text-align:center;margin:20px 0 0;font-size:12px}.auth-entry .auth-switch a{color:var(--bya-ink);text-underline-offset:3px}.auth-entry .auth-switch a[aria-disabled=true]{pointer-events:none;opacity:.5}.auth-entry .auth-forgot{width:fit-content;min-height:0;color:var(--bya-muted);box-shadow:none;background:0 0;border:0;border-radius:0;margin:-4px 0 12px auto;padding:4px 0;font-size:12px;font-weight:400;line-height:1.5;display:block}.auth-entry .auth-forgot:hover{color:var(--bya-ink);text-underline-offset:3px;background:0 0;text-decoration:underline}.auth-entry .auth-forgot:focus-visible{outline:2px solid var(--bya-ink);outline-offset:4px}.auth-confirmation{overflow-wrap:anywhere}.auth-confirmation form{margin:24px 0 0}.auth-confirmation form>.primary,.auth-confirmation>button{white-space:normal;overflow-wrap:anywhere;text-align:center;width:100%;height:auto;min-height:48px;padding:12px 16px;line-height:1.4;display:block}.auth-confirmation>button{margin-top:12px}.contact-import-progress{color:var(--bya-muted);align-items:center;gap:12px;margin:12px 0;display:flex}.contact-import-progress>p{flex:1;min-width:0;margin:0;font-size:13px;line-height:1.5}.contact-import-stop{width:44px;height:44px;color:var(--bya-ink);background:0 0;flex:0 0 44px;place-items:center;padding:0;display:grid;position:relative}.contact-import-ring{border:2px solid var(--bya-border);border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;animation:1.4s linear infinite contact-spin;position:absolute;inset:7px}.contact-import-stop:hover{background:var(--bya-bubble)}@media (prefers-reduced-motion:reduce){.contact-import-ring{animation:none}}
