:root{color:#111318;background:#f4f7fb;font-family:Inter,Noto Sans SC,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--canvas: #f4f7fb;--sidebar: #f8fafd;--surface: #ffffff;--surface-subtle: #eef3f9;--surface-hover: #e8eef6;--ink: #111318;--ink-muted: #5f6672;--ink-faint: #68707d;--border-subtle: #e3e9f1;--focus: #3478f6;--success: #197052;--success-subtle: #eaf5f0;--danger: #b93b3b;--danger-subtle: #fbecec}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;background:var(--canvas)}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:2px}button:disabled,input:disabled,textarea:disabled{cursor:not-allowed}.app-shell{min-height:100vh;display:grid;grid-template-columns:176px minmax(0,1fr);background:var(--canvas)}.sidebar{position:sticky;top:0;z-index:2;height:100vh;padding:24px 14px 18px;display:flex;flex-direction:column;background:var(--sidebar)}.brand{height:44px;display:flex;align-items:center;gap:9px;padding:0 12px;font-size:24px;font-weight:700;letter-spacing:-.04em}.primary-nav{display:grid;gap:4px;margin-top:26px}.nav-item,.account-row{border:0;background:transparent}.nav-item{width:100%;height:44px;padding:0 12px;display:flex;align-items:center;gap:10px;border-radius:8px;font-size:14px;text-align:left;cursor:pointer}.nav-item:hover,.nav-item[data-active=true]{background:var(--surface-subtle)}.account-row{min-width:0;min-height:48px;margin-top:auto;padding:8px;display:grid;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:8px;border-radius:8px;text-align:left;cursor:pointer}.account-row:hover:not(:disabled){background:var(--surface-hover)}.account-row:disabled{opacity:.58}.avatar{width:32px;height:32px;border-radius:50%;object-fit:cover}.avatar-fallback{display:grid;place-items:center;color:var(--ink-muted);background:var(--surface-subtle)}.account-copy{min-width:0;display:grid;gap:1px}.account-copy strong,.account-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy strong{font-size:13px;font-weight:600}.account-copy small{color:var(--ink-faint);font-size:11px}.workspace{min-width:0}.workspace-content{width:min(1440px,100%);margin:0 auto;padding:28px 28px 52px}.narrow-content{width:min(760px,100%);margin-left:0}.page-heading{min-height:36px;display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.eyebrow{margin:0 0 3px;color:var(--ink-faint);font-size:12px;font-weight:550;line-height:1.45}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:26px;font-weight:650;line-height:1.25;letter-spacing:-.025em}h2{font-size:18px;font-weight:600;line-height:1.35;letter-spacing:-.015em}.capture-composer{min-height:176px;padding:24px 26px 16px;display:flex;flex-direction:column;border-radius:12px;background:var(--surface)}.capture-composer textarea{width:100%;min-height:96px;flex:1;padding:0;resize:vertical;border:0;outline:0;color:var(--ink);background:transparent;font-size:16px;line-height:1.55}.capture-composer textarea::placeholder,.search-field input::placeholder{color:#7b8490}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}.composer-attachment-button{width:38px;height:38px;padding:0;border:0;display:grid;place-items:center;color:var(--ink);background:transparent}.composer-attachment-button:disabled{color:var(--ink-muted);opacity:.72}.save-button{min-width:84px}.primary-button,.secondary-button,.icon-button{min-height:40px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;font-size:13px;font-weight:600;cursor:pointer;transition:background-color .15s ease,color .15s ease}.primary-button{color:#fff;background:var(--ink)}.primary-button:hover:not(:disabled){background:#292d34}.secondary-button,.icon-button{background:var(--surface-subtle)}.secondary-button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--surface-hover)}.primary-button:disabled,.secondary-button:disabled,.icon-button:disabled{opacity:.48}.records-header{padding:18px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.records-title{display:flex;align-items:baseline;gap:9px;white-space:nowrap}.records-title h2{margin:0;font-size:20px}.records-title span{color:#6683b8;font-size:13px}.records-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:10px}.search-field{width:min(370px,34vw);height:44px;padding:0 12px;display:flex;align-items:center;gap:9px;border-radius:8px;color:var(--ink-faint);background:var(--surface-subtle)}.toolbar-button{min-height:44px;padding:0 14px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--ink);background:var(--surface-subtle);font-size:13px;font-weight:550;white-space:nowrap}.toolbar-button:disabled{cursor:not-allowed;opacity:.7}.search-field input{width:100%;border:0;outline:0;color:var(--ink);background:transparent;font-size:14px}.refresh-records-button{width:44px;min-width:44px;height:44px;padding:0}.records-message{margin:-4px 0 16px;color:var(--ink-muted);font-size:13px}.record-feed{column-count:3;column-gap:12px}.record-card{margin:0 0 12px;padding:14px 15px;break-inside:avoid;border-radius:12px;background:var(--surface);transition:background-color .15s ease,box-shadow .15s ease}.record-card-heading{margin-bottom:10px;display:grid;grid-template-columns:34px minmax(0,1fr) 24px;align-items:center;gap:8px}.record-kind-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;color:#5875aa;background:#eef3fb}.record-card-heading time{justify-self:end;color:#7890ba;font-size:12px}.record-more-button{width:24px;height:24px;padding:0;border:0;display:grid;place-items:center;color:#4a80db;background:transparent}.record-more-button:disabled{opacity:.55}.record-card:hover{background:#fff;box-shadow:0 4px 14px #1113180f}.record-status{margin:9px 0 0;display:flex;align-items:center;gap:6px;color:#6683b8;font-size:12px;font-weight:550}.record-status-dot{width:7px;height:7px;border-radius:50%;background:#7397d5}.record-card[data-stage=completed] .record-status-dot{background:var(--success)}.record-card[data-stage=failed] .record-status-dot,.record-card[data-stage=processing_failed] .record-status-dot{background:var(--danger)}.record-card-text{margin-bottom:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.record-retry-button{min-height:34px;margin-top:10px}.record-error{margin:10px 0 0;padding:9px 10px;border-radius:6px;color:var(--danger);background:var(--danger-subtle);font-size:12px;line-height:1.5}.auth-icon{display:grid;place-items:center;color:var(--ink-muted);background:var(--surface-subtle)}.settings-title-row p,.auth-intro>p:last-child,.form-context{margin-bottom:0;color:var(--ink-muted);font-size:14px;line-height:1.6}.settings-panel{padding:22px;border-radius:12px;background:var(--surface)}.settings-title-row{display:flex;align-items:center;gap:12px;margin-bottom:24px}.settings-title-row h2{margin-bottom:1px}.danger-action{color:var(--danger);background:var(--danger-subtle)}.signed-out-backdrop{opacity:.38;filter:blur(.2px)}.backdrop-composer,.backdrop-columns div,.backdrop-line{border-radius:12px;background:var(--surface)}.backdrop-composer{height:142px}.backdrop-line{height:40px;margin:20px 0 16px}.backdrop-line.short{width:min(430px,100%)}.backdrop-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.backdrop-columns div:nth-child(1){height:210px}.backdrop-columns div:nth-child(2){height:284px}.backdrop-columns div:nth-child(3){height:242px}.auth-overlay{position:fixed;z-index:10;inset:0 0 0 176px;padding:7vh max(28px,8vw) 28px;display:flex;align-items:flex-start;justify-content:flex-end;overflow-y:auto;background:#f4f7fbb3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.auth-panel{width:min(430px,100%);padding:26px;border-radius:16px;background:var(--surface);box-shadow:0 10px 30px #1113181a;animation:panel-in .21s ease-out both}.auth-intro{margin-bottom:24px}.auth-icon{width:38px;height:38px;margin-bottom:18px;border-radius:10px}.auth-intro h1{margin-bottom:9px}.auth-form{display:grid;gap:14px}.field{display:grid;gap:7px}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.field label,.field-label-row button{font-size:13px;font-weight:550}.field-label-row button,.auth-switch button,.text-button{padding:0;border:0;color:var(--focus);background:transparent;cursor:pointer}.field input{width:100%;height:42px;padding:0 12px;border:1px solid var(--border-subtle);border-radius:8px;color:var(--ink);background:var(--surface);font-size:14px;transition:border-color .15s ease,box-shadow .15s ease}.field input:hover{border-color:#cbd4df}.field input:focus{border-color:var(--focus);box-shadow:0 0 0 2px #3478f61f}.full-width{width:100%}.auth-switch{margin:1px 0 0;color:var(--ink-muted);font-size:13px;text-align:center}.auth-switch button{margin-left:5px;font-weight:600}.auth-subflow{display:grid;gap:18px}.subflow-heading{display:flex;align-items:center;gap:10px}.subflow-heading h2{margin:0}.back-button{width:34px;height:34px;padding:0;border:0;border-radius:8px;display:grid;place-items:center;background:var(--surface-subtle);cursor:pointer}.text-button{justify-self:center;font-size:13px;font-weight:550}.inline-notice{margin:0;padding:10px 11px;border-radius:6px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.inline-notice[data-tone=error]{color:var(--danger);background:var(--danger-subtle)}.inline-notice[data-tone=success]{color:var(--success);background:var(--success-subtle)}.session-check{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--ink-muted);background:var(--canvas);font-size:13px}.spin{animation:spin .9s linear infinite}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes panel-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(max-width:899px){.app-shell{grid-template-columns:64px minmax(0,1fr)}.sidebar{padding:14px 8px}.brand{justify-content:center;padding:0}.brand>span:last-child,.nav-item span,.account-copy,.account-row>svg{display:none}.nav-item{justify-content:center;padding:0}.account-row{display:grid;grid-template-columns:32px;justify-content:center;padding:8px}.auth-overlay{left:64px}.backdrop-columns{grid-template-columns:repeat(2,1fr)}.backdrop-columns div:last-child{display:none}}@media(max-width:1199px){.record-feed{column-count:2}.sort-button{display:none}}@media(max-width:767px){.app-shell{display:block;padding-top:64px}.sidebar{position:fixed;inset:0 0 auto;z-index:12;width:100%;height:64px;padding:10px 14px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.record-feed{column-count:1}.brand{justify-content:flex-start}.brand>span:last-child{display:inline}.primary-nav{display:flex;justify-content:center;margin:0}.nav-item{width:44px;height:44px}.account-row{min-height:44px;margin:0;padding:6px}.workspace-content{padding:22px 16px}.capture-composer{min-height:154px;padding:20px 18px 14px}.records-header{align-items:flex-start;flex-direction:column}.records-actions,.search-field{width:100%}.records-actions .toolbar-button:not(.refresh-records-button){display:none}.auth-overlay{inset:64px 0 0;padding:18px 14px 28px;justify-content:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.auth-panel{padding:22px}.backdrop-columns{grid-template-columns:1fr}.backdrop-columns div:nth-child(n+2){display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.composer-files,.record-files{list-style:none;margin:0;padding:0;overflow-wrap:anywhere}.composer-files li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:13px}.composer-files button{border:0;background:transparent;color:var(--text-secondary);cursor:pointer}.record-files{font-size:13px;margin-bottom:12px}.drop-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:#f5f2edeb;border:3px dashed #7569db;font-size:24px;pointer-events:none}.interrupted-draft{border:1px solid #d8d3c9;border-radius:12px;padding:12px;margin-bottom:12px;white-space:pre-wrap}.record-card[data-stage=uploading],.record-card[data-stage=validating]{border-color:#b9b0df}.workspace-records-header{flex-wrap:wrap}.search-submit{border:0;background:transparent;color:var(--text-muted,#64748b);cursor:pointer;padding:8px;white-space:nowrap}.toolbar-select select,.query-filters select,.query-filters input{border:1px solid #e5e9ef;border-radius:8px;padding:8px;background:#fff;color:#334155;font:inherit;min-width:0}.query-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;width:100%;padding:16px 0}.query-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#64748b}.numeric-filter{border:0;margin:0;padding:0;min-width:0;font-size:12px;color:#64748b}.numeric-filter legend{padding:0;margin-bottom:6px}.numeric-filter>div{display:flex;gap:8px}.numeric-filter input{width:110px}.numeric-filter [role=alert]{display:block;max-width:240px;color:#b42318;margin-top:6px}.record-open-content{border:0;background:transparent;width:100%;text-align:left;padding:0;color:inherit;cursor:pointer;font:inherit}.record-open-content:disabled{cursor:default}.record-actions{display:flex;gap:14px;margin-top:12px}.record-actions button{border:0;background:transparent;padding:0;font:inherit;color:#64748b;font-size:12px;cursor:pointer}.record-day{grid-column:1/-1;margin:16px 0 0;font-size:13px;font-weight:500;color:#64748b}.feed-sentinel{height:1px}.feed-end{text-align:center;color:#94a3b8;font-size:12px;margin:24px 0}.record-detail{position:fixed;inset:16px 16px 16px auto;width:min(680px,calc(100vw - 32px));max-width:none;height:calc(100dvh - 32px);max-height:none;margin:0;border:0;border-radius:16px;padding:28px;background:#fff;color:#1e293b;box-shadow:0 16px 48px #0f172a24}.record-detail::backdrop{background:#0f172a40}.detail-toolbar{display:flex;gap:8px;justify-content:flex-end;position:sticky;top:-28px;background:#fff;z-index:1;padding:8px 0}.record-detail section{margin-top:28px}.record-detail h3{font-size:14px}.detail-text{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.detail-meta{font-size:12px;color:#64748b;overflow-wrap:anywhere}.detail-files{list-style:none;padding:0}.detail-files li{display:flex;flex-direction:column;gap:6px;margin:16px 0;overflow-wrap:anywhere}.detail-files span{font-size:12px;color:#64748b}.detail-actions{display:flex;gap:12px;margin-top:28px}.preference-row{display:flex;gap:16px;align-items:flex-start;margin:24px 0}.preference-row input{margin-top:4px}.preference-row p{margin:6px 0;color:#64748b;line-height:1.6;font-size:13px}.ai-consent{padding:20px;border-radius:12px;background:#f4f6f9;margin:20px 0}@media(max-width:650px){.records-actions{flex-wrap:wrap}.toolbar-select,.query-filters label{max-width:100%}.record-detail{padding:20px}}.detail-preview{display:block;max-width:100%;max-height:50vh;object-fit:contain;border-radius:8px}.detail-edit{display:block;width:100%;min-height:180px;padding:12px;border:1px solid var(--border);border-radius:8px;font:inherit;resize:vertical}.record-card-title{display:block;margin-bottom:8px}.detail-context>div{display:flex;gap:1rem;margin:.5rem 0}.detail-context dt{color:var(--color-text-muted, #657080);min-width:7em}.detail-context dd{margin:0;overflow-wrap:anywhere}.detail-preview{max-width:100%;max-height:500px;object-fit:contain}.detail-edit{display:block;width:100%;min-height:200px;font:inherit}.query-facets{flex-basis:100%;display:flex;gap:.7rem;flex-wrap:wrap;font-size:.85rem;color:#657080}
