.home-cards{width:min(100%,720px);margin:auto;padding:22px 0 24px;animation:home-enter .24s ease both}.home-greeting{display:flex;align-items:center;gap:14px;margin:8px 0 26px}.home-greeting img{width:36px;height:36px;object-fit:contain}.home-greeting h1{font-size:clamp(22px,3vw,29px);letter-spacing:-.035em;margin:0}.home-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}.home-actions button{display:flex;align-items:flex-start;flex-direction:column;gap:14px;text-align:left;padding:16px;border-radius:18px;min-height:98px}.home-actions svg{width:21px;height:21px;flex-shrink:0}.home-actions span{font-size:14px;line-height:1.35}.home-attention{border:1px solid var(--border,#e6e6e6);border-radius:18px;overflow:hidden}.home-attention button,.home-document{display:flex;width:100%;gap:12px;align-items:center;text-align:left;border:0;border-radius:0;background:transparent;padding:14px 12px;min-height:52px}.home-attention button+button{border-top:1px solid var(--border,#e6e6e6)}.home-attention button>span{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.home-attention strong{font-size:14px;font-weight:500}.home-attention small{opacity:.65}.home-attention svg,.home-document svg{flex-shrink:0}.home-document>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-recent h2{font-size:16px;margin:0}.home-recent .section-heading{margin:22px 0 4px}.home-recent .section-heading button{border:0;background:none;font-size:13px}.home-document{font-size:14px;border-radius:12px}.home-document:hover{background:var(--surface,#f5f5f5)}.home-view .conversation{display:flex;flex-direction:column}.home-exiting{animation:home-exit .2s ease forwards;pointer-events:none}.agent-action-menu,.intake-menu{position:absolute;bottom:calc(100% + 10px);left:0;padding:10px;min-width:240px;border:1px solid var(--border,#e6e6e6);border-radius:24px;background:var(--background,#fff);box-shadow:0 12px 40px #0002;z-index:30;transform-origin:24px bottom}.agent-action-menu button,.intake-menu button{display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:12px;border:0;background:transparent;text-align:left;border-radius:14px}.agent-action-menu button svg,.intake-menu button svg{width:22px;flex:0 0 22px}.composer-wrap{position:relative}.home-cards.motion-closed{animation:home-exit .2s ease forwards}@keyframes home-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes home-exit{to{opacity:0;transform:translateY(-8px)}}@media(max-width:600px){.home-cards{padding-top:12px}.home-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-actions button{min-height:82px;padding:13px;gap:9px}.home-greeting{margin-bottom:18px}.home-greeting h1{font-size:24px}}@media(prefers-reduced-motion:reduce){.home-cards,.home-exiting,.home-cards.motion-closed{animation:none}}.home-intake-actions{display:flex;flex-direction:column;gap:8px}.home-intake-actions button{display:flex;align-items:center;gap:14px;min-height:50px;text-align:left}.agent-action-menu{background:var(--bg,#fff);border-color:var(--line,#e6e6e6)}.home-view .composer{grid-template-columns:44px minmax(0,1fr) 44px}.receive-screen{max-width:560px;margin:0 auto;text-align:center;padding:12px 0 40px}.receive-screen h2{font-size:16px;margin-top:22px}.receive-screen p{font-size:14px;line-height:1.6}.receive-qr{display:block;width:min(240px,80%);height:auto;margin:24px auto 8px;border-radius:16px}.receive-link{border:1px solid var(--line);border-radius:18px;padding:16px;margin:24px 0}.receive-link input{width:100%;font-size:13px}.receive-link .actions{justify-content:center;margin-top:12px}.receive-link button{display:flex;gap:8px;align-items:center}.public-send{max-width:600px;margin:0 auto;padding:40px 22px}.public-send h1{font-size:28px;letter-spacing:-.03em}.public-send fieldset{border:0;padding:0;margin:0}.public-send label{display:block;margin:20px 0 8px}.public-send input{width:100%;margin-top:8px}.public-file{padding:14px;border:1px solid var(--line);border-radius:16px;margin:14px 0}.public-file>div{display:flex;align-items:center;gap:10px}.public-file strong{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px}.public-file label{margin-top:12px}.public-send .primary{margin-top:20px;min-height:48px;width:100%}.public-send progress{width:100%;margin:20px 0}.public-send .muted{font-size:13px;line-height:1.6}.offline-workspace{max-width:1000px;margin:auto;height:100dvh;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}.offline-banner{display:flex;align-items:center;gap:10px;padding:12px 20px;background:var(--surface,#f5f5f5);font-size:14px}.offline-banner small{display:block;opacity:.65}.offline-nav{display:flex;gap:6px;overflow:auto;padding:12px 16px;flex-shrink:0}.offline-nav button{white-space:nowrap}.offline-nav [aria-current]{background:var(--fg,#171717);color:var(--bg,#fff)}.offline-content{padding:12px 20px 30px;overflow:auto}.offline-controls{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.offline-content>.muted{font-size:13px}.chat-view .composer{grid-template-columns:44px minmax(0,1fr) 44px}.offline-preview{width:100%;min-height:60dvh;border:0}.home-intake-actions button:focus-visible,.agent-action-menu button:focus-visible{outline:2px solid #4789ed;outline-offset:-2px}.agent-action-menu button,.intake-menu button,.home-intake-actions button{justify-content:flex-start}.agent-action-menu{transition:opacity .2s ease,transform .2s ease}.agent-action-menu.motion-open{animation:attachment-menu-expand .24s ease both}.agent-action-menu.motion-closed{opacity:0;transform:scale(.92);pointer-events:none}@media(prefers-reduced-motion:reduce){.agent-action-menu{transition:none}.agent-action-menu.motion-open{animation:none}}html[data-theme=dark] .home-greeting img{filter:invert(1)}.connection-progress{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);white-space:nowrap}.connection-retry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 18px;padding:8px 12px;border-radius:12px;background:var(--surface);font-size:13px;color:var(--muted)}.connection-retry button,.offline-banner button{min-height:40px;flex-shrink:0}.offline-banner>span{flex:1;min-width:0}.chat-list .chat-see-more{display:block;width:100%;min-height:44px;text-align:left;padding:10px 12px;border:0;background:transparent;color:var(--muted)}.main,.main .messages,.offline-content{overscroll-behavior-y:contain}@media(prefers-reduced-motion:reduce){.connection-progress .spin,.offline-banner .spin{animation:none}}.chat-progress{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:14px 0 24px;color:var(--muted);font-size:14px}.chat-progress>div{display:flex;align-items:center;gap:8px}.chat-progress small{font-size:11px;font-variant-numeric:tabular-nums}.chat-progress p{flex-basis:100%;font-size:12px;margin:0;padding-left:23px}@media(prefers-reduced-motion:reduce){.chat-progress .spin{animation:none}}.card-intake{display:flex;flex-direction:column;gap:14px;min-width:0}.card-intake h3,.card-intake p{margin:0}.card-file-choice{position:relative;display:flex;align-items:center;gap:14px;min-height:50px;padding:10px 14px;border:1px solid var(--line,#ddd);border-radius:12px;cursor:pointer}.card-file-choice input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.card-file-choice:focus-within{outline:2px solid #4789ed;outline-offset:2px}.card-draft-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.card-draft-list li{display:flex;align-items:center;gap:12px;min-width:0}.card-draft-list li span{flex:1;min-width:0;overflow-wrap:anywhere}.card-draft-list button{flex:none;min-width:44px;min-height:44px}.home-view.empty-chat .conversation{justify-content:flex-start;padding-top:0;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 18px),transparent)}.home-cards{padding:12px 0 22px;margin:0 auto;width:min(100%,720px)}.home-greeting{margin:4px 0 14px;display:block}.home-greeting h1{position:relative;font-size:20px;font-weight:500;line-height:1.4;letter-spacing:-.35px;max-width:620px}.home-greeting-space{visibility:hidden;display:block;min-height:2.8em}.home-greeting-text{position:absolute;inset:0}.home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}.home-actions button{min-height:46px;padding:10px 12px;flex-direction:row;align-items:center;justify-content:center;gap:8px;border-radius:12px}.home-actions span{font-size:14px}.home-actions svg{width:20px;height:20px}.home-categories{display:flex;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:2px 0 8px;margin-bottom:8px;scroll-snap-type:x proximity}.home-categories::-webkit-scrollbar,.home-prompts::-webkit-scrollbar{display:none}.home-category{display:flex;flex:0 0 126px;min-height:65px;gap:10px;border:0;padding:11px 12px;justify-content:flex-start;border-radius:12px;scroll-snap-align:start;background:color-mix(in srgb,var(--home-color) 9%,var(--bg));color:var(--home-color)}.home-category:hover{background:color-mix(in srgb,var(--home-color) 16%,var(--bg))}.home-category>span{display:grid;gap:2px;text-align:left}.home-category strong{font-size:18px;font-weight:600;color:var(--text)}.home-category small{font-size:12px;color:var(--text)}.home-category svg{flex:none}.home-tone-documents{--home-color:#2878c9}.home-tone-notes{--home-color:#8652cb}.home-tone-reminders{--home-color:#368451}.home-tone-assets{--home-color:#b57926}.home-tone-reports{--home-color:#6068bc}.home-feed-section{margin-top:21px}.home-feed-section>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px}.home-feed-section h2{font-size:16px;margin:0;font-weight:600}.home-feed-section header>span{font-size:12px;color:var(--muted)}.home-feed-section header button,.home-see-all{background:none;border:0;color:var(--muted);font-size:12px;min-height:44px;padding:8px 0 8px 12px}.home-feed-row{width:100%;min-height:68px;display:flex;gap:12px;border:0;border-radius:0;padding:13px 0;background:none;text-align:left;justify-content:flex-start}.home-feed-row+.home-feed-row{border-top:1px solid var(--line)}.home-feed-row>svg{flex:none}.home-feed-row>span{flex:1;min-width:0;display:grid;gap:3px}.home-feed-row strong{font-size:14px;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.45}.home-feed-row small{font-size:12px;color:var(--muted)}.home-prompts{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:5px 0 9px}.home-prompts button{flex:none;min-height:44px;border-radius:24px;padding:8px 13px;font-size:13px;white-space:nowrap}.home-prompts svg{flex:none}.home-view .composer-wrap{background:var(--bg);padding-top:0;border-top:1px solid var(--line);flex-shrink:0}.home-view .composer{min-height:48px}.home-view .chat-footnote{display:none}.home-reveal{opacity:0;transform:translateY(8px);transition:opacity .24s ease,transform .24s ease}.home-reveal.is-visible{opacity:1;transform:none}.home-loading{display:grid;gap:12px;margin:24px 0}.home-loading i{height:55px;background:var(--surface);border-radius:12px}.home-feed-error{font-size:13px;color:var(--muted)}.chat-view.overview-motion-forward-out{animation:overview-forward-out .25s cubic-bezier(.64,0,.78,.39) both}.chat-view.overview-motion-forward-in{animation:overview-forward-in .25s cubic-bezier(.22,.61,.36,1) both}.chat-view.overview-motion-back-out{animation:overview-back-out .25s cubic-bezier(.64,0,.78,.39) both}.chat-view.overview-motion-back-in{animation:overview-back-in .25s cubic-bezier(.22,.61,.36,1) both}.home-document-return:empty{display:none}.home-document-return button{min-height:44px;background:none;border:0;margin:4px 12px}.document-dock:has(.home-document-return button){display:flex;flex-direction:column}.document-dock:has(.home-document-return button)>.viewer-inline{flex:1;min-height:0;height:auto}@media(max-width:600px){.home-cards{padding-top:8px}.home-greeting{margin:4px 0 12px}.home-greeting h1{font-size:18px}.home-actions button{min-height:46px;padding:9px}.home-category{flex-basis:112px;gap:8px;padding:10px;min-height:62px}.home-category svg{width:20px}.home-category strong{font-size:17px}.home-category small{font-size:11px}.home-feed-section{margin-top:16px}.home-prompts{margin-right:-6px}.home-prompts button{min-height:44px}.home-view .conversation{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){.home-reveal{opacity:1;transform:none;transition:none}.chat-view[class*=overview-motion-]{animation:none!important}}.home-prompts{gap:5px;padding:0 0 4px}.home-prompts button{min-height:44px;padding:0 2px;border:0;background:transparent;font-size:11px;border-radius:18px}.home-prompts button>span{display:inline-flex;align-items:center;gap:6px;min-height:29px;padding:5px 10px;border:1px solid var(--line);border-radius:20px;color:var(--muted);background:var(--bg)}.home-prompts button:hover>span{background:var(--surface);color:var(--text)}.home-prompts svg{width:14px;height:14px}.home-prompts-leaving{animation:home-content-fade .22s ease both;pointer-events:none}.home-exiting{animation:home-content-fade .22s ease both}@keyframes home-content-fade{0%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.home-prompts-leaving,.home-exiting{animation:none}}.home-chat-view .composer-wrap{background:var(--bg);padding-top:0;border-top:1px solid var(--line);flex-shrink:0}.home-chat-view .composer{min-height:48px}.home-chat-view .chat-footnote{display:none}.chat-progress-pulse{display:block;width:9px;height:9px;border-radius:50%;background:currentColor;flex-shrink:0;animation:chat-progress-pulse 1.25s ease-in-out infinite}@keyframes chat-progress-pulse{0%,to{opacity:.35;transform:scale(.8)}50%{opacity:.85;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.chat-progress-pulse{animation:none;opacity:.65}}.home-view .home-feed-surface,.home-view .home-prompts{transition:opacity .22s ease,visibility 0s}.home-view .home-compose-hidden{opacity:0;visibility:hidden;transition:opacity .22s ease,visibility 0s .22s;pointer-events:none}@media(prefers-reduced-motion:reduce){.home-view .home-feed-surface,.home-view .home-prompts{transition:none}}@media(prefers-reduced-motion:no-preference){.home-feed-surface .home-cards{animation:none}.home-cards>.home-actions{--entry-delay: 156ms}.home-cards>.home-categories{--entry-delay: 313ms}.home-cards>.home-reveal{--entry-delay: 468ms}.home-cards>.home-reveal~.home-reveal{--entry-delay: 603ms}.home-feed-surface:not(.home-compose-hidden) :is(.home-greeting,.home-actions,.home-categories),.home-feed-surface:not(.home-compose-hidden) .home-reveal.is-visible>section,.home-prompts:not(.home-compose-hidden)>button{animation:home-section-enter 967ms cubic-bezier(.42,0,.35,1) var(--entry-delay, 0ms) backwards}.home-prompts>button{--entry-delay: .55s}.home-prompts>button:nth-child(2){--entry-delay: 632ms}.home-prompts>button:nth-child(3){--entry-delay: 714ms}@keyframes home-section-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
