.note-thread-wrap{flex:1;min-height:0;position:relative;display:flex;flex-direction:column}.note-thread{flex:1;min-height:0;overflow-y:auto;padding:8px 12px 14px;display:flex;flex-direction:column;overflow-anchor:auto}.note-loading-older{position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:5;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:6px 14px;font-size:11px;color:var(--muted);box-shadow:0 4px 14px #0f192824}.note-thread-spacer{margin-top:auto;flex:none}.note-thread-start{flex:none;align-self:center;font-size:10.5px;color:var(--muted);padding:6px 0 10px}.note-empty{margin-top:auto;font-size:12px;color:var(--muted);text-align:center;padding:26px 16px}.note-day{flex:none;align-self:center;margin:14px 0 6px;padding:3px 11px;border-radius:999px;background:color-mix(in srgb,var(--muted) 12%,transparent);color:var(--muted);font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.note-event{flex:none;align-self:center;max-width:92%;margin:8px 0 2px;display:inline-flex;align-items:flex-start;gap:6px;padding:5px 11px;border-radius:11px;background:color-mix(in srgb,var(--muted) 11%,transparent);color:var(--muted);font-size:10.5px;line-height:1.45}.note-event-icon{flex:none;margin-top:1px;opacity:.8}.note-event-text{min-width:0;word-break:break-word}.note-event-text b{color:var(--text);font-weight:600}.note-event-when{white-space:nowrap;opacity:.85}.note-row{flex:none;display:flex;gap:8px;align-items:flex-start;margin-top:12px}.note-row.grouped{margin-top:2px}.note-row.mine{flex-direction:row-reverse}.note-avatar{width:28px;height:28px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#fff}.note-avatar-gap{width:28px;flex:none}.note-row:not(.mine):not(.grouped) .note-avatar{margin-top:17px}.note-stack{max-width:86%;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.note-row.mine .note-stack{align-items:flex-end}.note-row.editing .note-stack{max-width:100%;width:100%;align-items:stretch}.note-who{display:flex;align-items:center;gap:5px;margin:0 0 3px 4px;font-size:10.5px;font-weight:650;color:var(--primary)}.note-badge{flex:none;font-size:8.5px;font-weight:700;letter-spacing:.05em;padding:1px 5px;border-radius:3px;text-transform:uppercase}.note-badge.admin{background:color-mix(in srgb,var(--primary) 15%,transparent);color:var(--primary)}.note-badge.agent{background:color-mix(in srgb,var(--ok) 17%,transparent);color:var(--ok)}:root{--note-mine-bg: #18609C;--note-mine-bd: #18609C;--note-mine-fg: #FFFFFF}[data-theme=dark]{--note-mine-bg: #1E3A5C;--note-mine-bd: #2C5480;--note-mine-fg: #E7EDF6}.note-bubble{background:var(--surface);border:1px solid var(--border);border-radius:4px 14px 14px;padding:8px 11px 9px;cursor:pointer;min-width:0;max-width:100%}.note-row.grouped .note-bubble{border-radius:14px}.note-row.mine .note-bubble{background:var(--note-mine-bg);border-color:var(--note-mine-bd);color:var(--note-mine-fg);border-radius:14px 4px 14px 14px}.note-row.mine.grouped .note-bubble{border-radius:14px}.note-bubble.deleted,.note-row.mine .note-bubble.deleted{background:transparent;border:1px dashed var(--border);color:var(--muted);cursor:default}.note-row.mine .note-bubble .note-content{color:var(--note-mine-fg)}.note-row.mine .note-bubble .note-content a{color:#cfe3f7}.note-row.mine .note-bubble .note-mention{color:#cfe3f7;background:#ffffff2b}.note-row.mine .note-bubble .note-resource{color:#e6dbfb;background:#ffffff2b}.note-row.mine .note-bubble .note-resource.receipt{color:#c7edd9}.note-row.mine .note-bubble .note-content blockquote{border-left-color:#ffffff52;color:#ffffffc7}.note-row.mine .note-bubble .note-content pre{background:#ffffff1c}.note-row.mine .note-bubble .note-file{background:#ffffff21;border-color:#ffffff38;color:#dce8f5}.note-row.mine .note-bubble .note-file-size{color:#ffffffad}.note-row.mine .note-bubble .note-images img{border-color:#ffffff38}.note-quote{border-left:2.5px solid var(--primary);background:color-mix(in srgb,var(--primary) 10%,transparent);border-radius:5px;padding:5px 8px;margin-bottom:6px;font-size:11px;min-width:0}.note-quote b{display:block;font-size:10px;font-weight:650;color:var(--primary)}.note-quote span{display:block;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-row.mine .note-quote{border-left-color:#9dc6f2;background:#ffffff24}.note-row.mine .note-quote b{color:#cfe3f7}.note-row.mine .note-quote span{color:#ffffffbd}.note-meta{font-size:9.5px;color:var(--muted);margin:3px 4px 0}.note-docked{margin:4px 2px 0}.note-edit-actions{display:flex;align-items:center;gap:10px;margin-top:7px}.note-edit-btn{border:0;background:transparent;padding:2px 0;font-size:11.5px;font-weight:650;font-family:inherit;color:var(--muted);cursor:pointer}.note-edit-btn.go{color:var(--primary)}.note-edit-btn:disabled{opacity:.5;cursor:default}.note-content{font-size:12.5px;line-height:1.55;color:var(--text);word-break:break-word}.note-content p{margin:0}.note-content p+p{margin-top:6px}.note-content ul,.note-content ol{margin:4px 0;padding-left:20px}.note-content li{margin:2px 0}.note-content blockquote{margin:6px 0;padding-left:10px;border-left:3px solid var(--border);color:var(--muted)}.note-content pre{margin:6px 0;padding:8px 10px;border-radius:8px;background:var(--bg);overflow-x:auto;font-size:11.5px}.note-content code{font-family:ui-monospace,monospace;font-size:11.5px}.note-content a{color:var(--primary);text-decoration:underline}.note-content strong{font-weight:700}.note-deleted{font-size:12px;font-style:italic;color:var(--muted)}.note-mention{display:inline;font-weight:600;color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,transparent);border-radius:4px;padding:0 3px}.note-resource{display:inline-flex;align-items:center;gap:3px;font-weight:600;border-radius:4px;padding:0 5px;cursor:pointer}.note-resource.receipt{color:var(--ok);background:color-mix(in srgb,var(--ok) 13%,transparent)}.note-resource.attachment{color:var(--purple);background:color-mix(in srgb,var(--purple) 13%,transparent)}.note-images{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.note-images img{width:72px;height:72px;object-fit:cover;border-radius:8px;border:1px solid var(--border);cursor:pointer}.note-files{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:8px}.note-file{display:inline-flex;align-items:center;gap:6px;max-width:100%;font-size:11px;font-weight:600;color:var(--primary);background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:6px 9px;cursor:pointer}.note-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-file-size{font-weight:500;color:var(--muted);flex:none}.note-reactions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;position:relative}.reaction-badge{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 7px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:11.5px;line-height:1;cursor:pointer;font-family:inherit;color:inherit}.reaction-badge.reacted{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 13%,transparent)}.reaction-badge .reaction-count{font-size:10px;font-weight:700;color:var(--muted)}.reaction-badge.reacted .reaction-count{color:var(--primary)}.reaction-add{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;border:1px dashed var(--border);background:transparent;color:var(--muted);cursor:pointer;padding:0}.reaction-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}.reaction-picker button{width:36px;height:32px;font-size:17px;line-height:1;border-radius:7px;border:1px solid transparent;background:transparent;cursor:pointer}.reaction-picker button.reacted{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,transparent)}.note-sheet-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4600;background:#0a101a6b;display:flex;align-items:flex-end}.note-sheet{width:100%;background:var(--surface);border-radius:18px 18px 0 0;padding:8px 0 calc(14px + env(safe-area-inset-bottom))}.note-sheet-grip{width:34px;height:4px;border-radius:4px;background:var(--border);margin:4px auto 10px}.note-sheet-reacts{display:flex;justify-content:space-between;gap:4px;padding:0 14px 12px;border-bottom:1px solid var(--border)}.note-sheet-reacts button{width:38px;height:38px;font-size:19px;border:1px solid transparent;background:transparent;border-radius:9px;cursor:pointer}.note-sheet-reacts button.reacted{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,transparent)}.note-sheet-act{display:flex;align-items:center;gap:11px;width:100%;border:0;background:transparent;cursor:pointer;padding:13px 18px;font:600 13px inherit;font-family:inherit;color:var(--text);text-align:left}.note-sheet-act svg{color:var(--muted);flex:none}.note-sheet-act.danger{color:var(--bad)}.note-sheet-act.danger svg{color:var(--bad)}.note-composer{flex:none;background:var(--surface);border-top:1px solid var(--border);padding:9px 12px calc(11px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px}.note-reply-to{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted);background:var(--bg);border-radius:8px;padding:6px 10px}.note-reply-to b{color:var(--text);font-weight:600}.note-reply-to button{margin-left:auto;background:none;border:0;color:var(--muted);cursor:pointer;padding:0;line-height:1}.note-composer-collapsed{display:flex;align-items:center;gap:9px;width:100%;border:1px solid var(--border);background:var(--bg);border-radius:11px;padding:10px 12px;cursor:text;font:12.5px inherit;font-family:inherit;color:var(--muted);text-align:left}.note-pending-files{display:flex;flex-wrap:wrap;gap:6px}.note-pending-file{display:inline-flex;align-items:center;gap:6px;max-width:100%;font-size:11px;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:5px 8px;color:var(--text)}.note-pending-file img{width:24px;height:24px;border-radius:4px;object-fit:cover}.note-pending-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.note-pending-file button{background:none;border:0;color:var(--muted);cursor:pointer;padding:0;line-height:1}.note-composer-actions{display:flex;align-items:center;gap:8px}.note-composer-hint{font-size:10px;color:var(--muted);margin-right:auto}.note-icon-btn{flex:none;width:34px;height:34px;border-radius:9px;border:1px solid var(--border);background:var(--surface);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.note-icon-btn.note-btn-text{width:auto;padding:0 13px;font-size:12px;font-weight:600;color:var(--text)}.note-icon-btn.note-btn-primary{padding:0 15px;background:var(--primary);border-color:var(--primary);color:#fff}.note-icon-btn.note-btn-primary:disabled{opacity:.5;cursor:default}.note-editor{border:1px solid var(--border);border-radius:11px;background:var(--bg);overflow:hidden}.note-editor-toolbar{display:flex;align-items:center;gap:2px;padding:4px 5px;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none}.note-editor-toolbar::-webkit-scrollbar{display:none}.note-editor-toolbar button{flex:none;width:29px;height:29px;border-radius:7px;border:0;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:13px;font-weight:700}.note-editor-toolbar button.is-active{background:var(--chip);color:var(--primary)}.note-editor-toolbar button:disabled{opacity:.35;cursor:default}.note-editor-sep{flex:none;width:1px;height:16px;background:var(--border);margin:0 3px}.note-editor .ProseMirror{padding:9px 12px;min-height:62px;max-height:30vh;overflow-y:auto;font-size:12.5px;line-height:1.5;color:var(--text);outline:none}.note-editor.compact .ProseMirror{min-height:44px}.note-editor .ProseMirror p{margin:0}.note-editor .ProseMirror p+p{margin-top:6px}.note-editor .ProseMirror ul,.note-editor .ProseMirror ol{margin:4px 0;padding-left:20px}.note-editor .ProseMirror a{color:var(--primary);text-decoration:underline}.note-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--muted);float:left;height:0;pointer-events:none}.note-editor .ProseMirror .mention-highlight{font-weight:600;color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,transparent);border-radius:4px;padding:0 3px}.note-editor .ProseMirror .resource-mention-highlight{font-weight:600;border-radius:4px;padding:0 4px;color:var(--purple);background:color-mix(in srgb,var(--purple) 13%,transparent)}.note-editor .ProseMirror .resource-mention-highlight.resource-type-receipt{color:var(--ok);background:color-mix(in srgb,var(--ok) 13%,transparent)}.note-suggest{border-bottom:1px solid var(--border);background:var(--surface);max-height:168px;overflow-y:auto}.note-suggest-item{display:flex;align-items:center;gap:8px;width:100%;padding:9px 12px;border:0;background:transparent;text-align:left;cursor:pointer;font-size:12.5px;color:var(--text)}.note-suggest-item.active{background:var(--chip)}.note-suggest-item .note-suggest-kind{margin-left:auto;font-size:9.5px;font-weight:700;letter-spacing:.04em;color:var(--muted);text-transform:uppercase}.note-suggest-empty{padding:10px 12px;font-size:12px;color:var(--muted)}:root{--navy: #241854;--primary: #18609C;--primary-hover: #144F80;--accent: #2E7CC4;--grey: #6C6C6C;--bg: #EEF2F7;--surface: #FFFFFF;--surface2: #F6F8FB;--border: #E3E8F0;--chip: #EEF4FB;--text: #16202E;--muted: #5B6B82;--ok: #2F9E6F;--warn: #D98A1E;--bad: #D05050;--purple: #7A54C8;--orange: #E0762F}[data-theme=dark]{--navy: #6C7BC4;--primary: #4A93DE;--primary-hover: #5AA1EA;--accent: #5AA1EA;--grey: #93A2B8;--bg: #0E1420;--surface: #18202E;--surface2: #1F2A3B;--border: #2A3648;--chip: #22303F;--text: #E7EDF6;--muted: #93A2B8;--purple: #A78BE0;--orange: #EE9A55}:root{--field-h: 46px}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%}body{font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-hover)}input,textarea,select,button{font-family:inherit}input::placeholder,textarea::placeholder{color:var(--muted)}input:focus,textarea:focus{outline:2px solid rgba(46,124,196,.35);outline-offset:0}.scrx{scrollbar-width:none}.scrx::-webkit-scrollbar{display:none}.scrx>*{flex-shrink:0}@keyframes shimmer{0%{background-position:-300px 0}to{background-position:300px 0}}@keyframes toastin{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fillup{0%{width:0}}@keyframes sheetin{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}:root{--sheet-in: .3s;--sheet-out: .22s;--sheet-ease: cubic-bezier(.32, .72, 0, 1)}@keyframes sheet-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes sheet-scrim-out{0%{opacity:1}to{opacity:0}}@keyframes sheet-rise-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes sheet-rise-out{0%{transform:translateY(0)}to{transform:translateY(100%)}}.sheet-scrim{animation:sheet-scrim-in var(--sheet-in) ease backwards}.sheet-scrim.is-closing{animation:sheet-scrim-out var(--sheet-out) ease forwards}.sheet-panel{animation:sheet-rise-in var(--sheet-in) var(--sheet-ease) backwards}.sheet-panel.is-closing{animation:sheet-rise-out var(--sheet-out) var(--sheet-ease) forwards}@keyframes rise-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.rise-in{animation:rise-in .34s var(--sheet-ease) backwards}.rise-in.d1{animation-delay:.05s}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-delay:0ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0ms!important;scroll-behavior:auto!important}}.app-frame{width:100%;max-width:460px;height:100dvh;margin:0 auto;background:var(--bg);display:flex;flex-direction:column;position:relative;overflow:hidden;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.skel{border-radius:14px;background:linear-gradient(90deg,var(--surface2) 25%,var(--chip) 50%,var(--surface2) 75%);background-size:600px 100%;animation:shimmer 1.1s linear infinite}.kv-card>*:last-child{border-bottom:none!important}.field-spotlight{animation:field-spotlight 2.4s ease-out;border-radius:10px}@keyframes field-spotlight{0%{background:#faad1447;box-shadow:0 0 0 6px #faad1447}70%{background:#faad1429;box-shadow:0 0 0 6px #faad1429}to{background:transparent;box-shadow:0 0 0 6px #faad1400}}@media(prefers-reduced-motion:reduce){.field-spotlight{animation:none;outline:2px solid #faad14;outline-offset:3px}}
