:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233b38;background:#f2f5f2;font-synthesis:none;--green:#176b58;--deep:#103d36;--muted:#75827d;--line:#e3e9e4}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #a6d5a3;outline-offset:4px}input:focus,textarea:focus{outline:none}input:focus-visible{border-color:var(--green);box-shadow:0 0 0 3px #176b5814}[hidden]{display:none!important}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:21px;font-weight:650;letter-spacing:-.8px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:43px;height:43px;border-radius:13px;font-size:34px;font-weight:750;letter-spacing:-4px;background:#d9efad;color:#174d3e;padding-right:4px;padding-bottom:4px;line-height:1}.brand-mark span{color:#174d3e;font-size:33px}.small-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#95caa4}.eyebrow,.section-label{font-size:10px;font-weight:700;letter-spacing:2px}.muted{color:var(--muted);line-height:1.7}.boot{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);font-size:14px}.boot .brand-mark{width:58px;height:58px}.auth-view{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(440px,1fr);min-height:100dvh}.auth-story{background:var(--deep);color:white;padding:48px 11%;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:650px;height:650px;right:-370px;bottom:-300px;border:1px solid #ffffff0b;border-radius:50%;box-shadow:0 0 0 55px #ffffff03,0 0 0 110px #ffffff03;pointer-events:none}.story-content{margin:auto 0;padding:75px 0 60px;position:relative;z-index:1}.eyebrow{display:flex;align-items:center;gap:9px;color:#b2cab8;font-size:9px;letter-spacing:1.8px}.story-content h1{font-size:clamp(36px,3.7vw,59px);line-height:1.15;font-weight:500;letter-spacing:-2.5px;margin:25px 0}.story-content h1 em{font-style:normal;color:#d9efad}.story-content>p{font-size:15px;line-height:1.9;max-width:365px;color:#b5c9c0}.story-conversation{margin-top:36px;max-width:380px;border:1px solid #ffffff18;border-radius:17px;background:#ffffff05;padding:23px}.example-label{font-size:8px;letter-spacing:1.6px;color:#a3bbb1;margin-bottom:17px;font-weight:600}.example-message{background:#dceecb;color:#264f3b;padding:15px 16px;border-radius:13px 13px 2px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.example-message .icon{width:18px;height:18px}.story-feature{font-size:10px;color:#b9cec3;margin-top:18px;display:flex;gap:8px;align-items:center}.feature-check{color:#c8dfb2}.story-footer{display:flex;justify-content:space-between;gap:15px;color:#92afa2;font-size:10px;z-index:1;position:relative}.auth-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fcfdfb;padding:45px 45px 22px;position:relative}.auth-card{width:100%;max-width:360px;margin:auto 0;padding:45px 0}.auth-card>.section-label{color:#818e82;font-size:9px;letter-spacing:1.6px}.auth-card h2{font-size:30px;letter-spacing:-1.1px;font-weight:600;margin:15px 0 6px}.auth-card>.muted{font-size:13px;margin:0 0 28px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:27px}.auth-tabs button{background:transparent;color:#8b958e;width:50%;padding:12px;position:relative;font-size:13px}.auth-tabs button.selected{color:var(--deep);font-weight:650}.auth-tabs button.selected:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--green)}.field{margin-bottom:18px}.field label{display:block;font-size:12px;font-weight:550;margin-bottom:9px}.field input{width:100%;border:1px solid #dfe5df;border-radius:8px;padding:13px 14px;font-size:13px;background:white;color:#203b32;transition:box-shadow .15s}.field input::placeholder{color:#a1aaa5}.field small{display:block;font-size:11px;color:#829087;margin-top:7px}.consent{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.65;margin:15px 0 22px;color:#718176}.consent input{accent-color:var(--green);margin-top:3px}.consent a{text-decoration:underline;text-underline-offset:2px}.primary{background:var(--green);color:white;border-radius:8px;padding:14px 18px;font-size:13px;font-weight:600}.primary:hover{background:#125b49}.auth-submit{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:24px}.auth-submit .icon{width:18px;height:18px}.auth-note{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:#849187;margin-top:21px}.auth-note .icon{width:13px;height:13px}.auth-footer{color:#9ba69d;font-size:10px;text-align:center}.auth-footer span{padding:0 7px}.error{color:#a33b36;background:#fff0ed;border-radius:6px;padding:12px;font-size:12px;line-height:1.6}.mobile-brand{display:none}
.workspace{display:flex;height:100dvh;max-height:100dvh;overflow:hidden;background:#f5f6f0}.sidebar{width:318px;min-width:318px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 22px 0;z-index:20}.sidebar-brand{display:flex;align-items:center;justify-content:space-between}.sidebar .brand{font-size:20px}.sidebar .brand-mark{width:35px;height:35px;font-size:29px;border-radius:10px}.sidebar .brand-mark span{font-size:29px}.sidebar-greeting{padding:38px 6px 27px}.sidebar-greeting .section-label{color:#8a968d;font-size:8px;letter-spacing:1.6px}.sidebar-greeting h2{font-size:25px;font-weight:550;letter-spacing:-1px;margin:11px 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.greeting-dot{color:#88ab4c}.sidebar-greeting p{font-size:11px;color:#8d988f;margin:0}.sidebar-section-label{display:flex;justify-content:space-between;align-items:center;color:#929e95;font-size:9px;letter-spacing:1.4px;font-weight:650;padding:0 6px;margin-bottom:13px}.sidebar-section-label span{font-size:8px;background:#f1f5f0;padding:3px 6px;border-radius:4px;letter-spacing:0}.conversation-card{display:flex;align-items:center;width:100%;gap:12px;background:#edf4ed;text-align:left;padding:15px 12px;border-radius:10px;color:#264239}.avatar{width:43px;height:43px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#daeacb;color:#315c36;flex-shrink:0}.conversation-card strong{display:block;font-size:12px;margin-bottom:5px;font-weight:650}.conversation-card small{font-size:9px;color:#82917e;display:block}.conversation-dot{width:6px;height:6px;background:#4a8861;border-radius:50%;margin-left:auto}.month-overview{margin:29px 5px 0;border:1px solid #e6ebe3;border-radius:12px;padding:19px 16px}.overview-heading{display:flex;align-items:center;justify-content:space-between}.overview-heading h3{font-size:11px;margin:0;font-weight:650}.overview-heading .icon{width:17px;height:17px;color:#9aac95}.month-label{font-size:9px;color:#94a08f;margin:7px 0 23px;text-transform:capitalize}.overview-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0;font-size:11px}.overview-line>span{display:flex;align-items:center;gap:7px;color:#7c8b7d}.overview-line strong{font-weight:550;color:#52624e}.stat-dot{width:6px;height:6px;border-radius:50%;display:inline-block}.stat-dot.income{background:#7f9b63}.stat-dot.expense{background:#c29980}.overview-result{border-top:1px solid #e8ede5;padding-top:17px;margin-top:17px;display:flex;flex-direction:column;gap:8px}.overview-result>span{font-size:10px;color:#879580}.overview-result>strong{font-size:24px;letter-spacing:-.7px;font-weight:550}.summary-note{font-size:9px;line-height:1.65;color:#98a28f;margin:12px 0 19px}.text-button{background:none;width:100%;border-top:1px solid #e8ede5;padding:14px 0 0;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#577c49}.sidebar-bottom{margin-top:auto;padding:24px 5px;display:flex;align-items:center;justify-content:space-between;gap:8px}.profile{display:flex;align-items:center;gap:10px;min-width:0}.profile>span:last-child{min-width:0}.profile strong{display:block;font-size:11px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.profile small{display:block;font-size:9px;color:#93a08f;margin-top:4px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-avatar{width:33px;height:33px;display:flex;align-items:center;justify-content:center;background:#edece3;color:#9b8d73;border-radius:50%;font-size:11px;font-weight:600;flex-shrink:0}.icon-button{background:transparent;color:#879485;padding:7px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:#edf2e9}.icon-button .icon{width:19px;height:19px}.conversation{display:flex;flex:1;min-width:0;flex-direction:column;background:#f4f5ef}.chat-header{height:85px;min-height:85px;padding:0 36px;display:flex;align-items:center;gap:13px;background:#ffffffd9;border-bottom:1px solid #e8ece1}.chat-header .avatar{width:42px;height:42px}.chat-identity h1{font-size:14px;font-weight:650;margin:0 0 6px}.chat-identity p{font-size:10px;color:#95a18e;margin:0;display:flex;align-items:center;gap:5px}.chat-identity .small-dot{width:5px;height:5px;background:#86ab74}.private-badge{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:10px;color:#8c9b81}.private-badge .icon{height:13px;width:13px}.chat-scroll{flex:1;overflow:auto;padding:25px max(30px,5vw) 32px;overscroll-behavior:contain;background-image:radial-gradient(#b6c2aa35 .8px,transparent .8px);background-size:19px 19px;scroll-behavior:smooth}.conversation-intro{display:flex;align-items:center;justify-content:center;gap:7px;color:#98a28c;font-size:9px;margin:0 auto 28px;text-align:center;line-height:1.6}.conversation-intro .icon{height:12px;width:12px}.messages{max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:17px}.date-divider{font-size:9px;color:#8f9c82;background:#e9ede2;border-radius:6px;padding:6px 11px;margin:0 auto 4px;width:max-content}.message{max-width:min(80%,650px);display:flex;flex-direction:column;align-self:flex-start;gap:6px;animation:appear .18s ease-out}.message.sent{align-self:flex-end}.bubble{font-size:13px;line-height:1.8;padding:15px 18px 9px;background:white;border:1px solid #e5eadf;box-shadow:0 2px 2px #30402003;border-radius:0 12px 12px 12px;overflow-wrap:anywhere;white-space:pre-wrap;color:#435440}.sent .bubble{background:#e2edce;border-color:#dce6c9;border-radius:12px 0 12px 12px;color:#3c5136}.bubble-sender{display:block;font-size:10px;font-weight:650;color:#57784b;line-height:1.2;margin:1px 0 9px;white-space:normal}.bubble-time{font-size:9px;color:#9ba78e;display:block;text-align:right;margin-top:8px;line-height:1.3}.sent .bubble-time:after{content:" ✓";color:#7f9f65}.message.pending .bubble-time:after{content:" ·"}.message.pending{opacity:.75}.welcome-title{font-size:16px;font-weight:550;margin:0 0 10px}.composer-area{padding:17px max(26px,4vw) 12px;background:#fafbf6;border-top:1px solid #e5eade}.suggestions{display:flex;gap:8px;max-width:1000px;margin:0 auto 13px;overflow-x:auto;scrollbar-width:none}.suggestions button{font-size:10px;color:#728167;background:#f7f9f1;border:1px solid #dfe7d6;border-radius:16px;padding:7px 12px;white-space:nowrap}.suggestions button:hover{border-color:#93b17d;background:#eef4e5}.message-form{display:flex;align-items:flex-end;gap:13px;max-width:1000px;margin:auto;border:1px solid #dfe6d8;border-radius:12px;padding:10px 11px 10px 18px;background:white}.message-form:focus-within{border-color:#b1c59c;box-shadow:0 0 0 2px #b1c59c12}textarea{width:100%;resize:none;max-height:140px;min-height:38px;height:38px;border:0;padding:9px 0;font-size:12px;line-height:20px;background:transparent;color:#354830}textarea::placeholder{color:#a3ad99}.send-button{background:var(--green);color:#fff;width:38px;height:38px;flex-shrink:0;border-radius:9px;display:flex;align-items:center;justify-content:center}.send-button .icon{width:18px;height:18px}.send-button:hover{background:#14533e}.composer-note{text-align:center;font-size:8px;color:#a1ac95;margin:9px 0 0;line-height:1.5}.composer-note span{padding:0 5px}.chat-error{max-width:1000px;margin:0 auto 12px;color:#9b4a36;background:#fff0e7;padding:10px 14px;border-radius:8px;font-size:11px;line-height:1.6}.chat-error button{background:transparent;color:#95492b;font-weight:650;text-decoration:underline;margin-left:10px;padding:2px}.mobile-only{display:none}.sidebar-backdrop{position:fixed;inset:0;background:#17342966;z-index:19}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes appear{from{transform:translateY(4px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1600px){.workspace{max-width:1600px;margin:auto;border-left:1px solid var(--line);border-right:1px solid var(--line)}.auth-story{padding-left:15%;padding-right:15%}.chat-scroll{padding-top:35px}}
@media(max-height:760px) and (min-width:761px){.sidebar-greeting{padding-top:25px;padding-bottom:23px}.month-overview{margin-top:22px;padding:15px}.summary-note{margin-bottom:12px}.overview-line{margin:11px 0}.sidebar-bottom{padding-top:18px;padding-bottom:18px}.story-content{padding:45px 0}.auth-story{padding-top:35px;padding-bottom:30px}.story-conversation{margin-top:25px}}
@media(max-width:1000px){.auth-story{padding:35px 8%}.story-content h1{font-size:40px}.story-footer{flex-direction:column;gap:7px}.sidebar{width:280px;min-width:280px;padding-left:17px;padding-right:17px}.sidebar-greeting h2{font-size:23px}.chat-header{padding:0 25px}.chat-scroll{padding-left:25px;padding-right:25px}.private-badge{font-size:9px}.composer-area{padding-left:22px;padding-right:22px}}
@media(max-width:760px){.auth-view{display:block;min-height:100dvh;background:#fcfdfb}.auth-story{display:none}.auth-panel{min-height:100dvh;padding:30px 26px 20px;justify-content:flex-start}.mobile-brand{display:flex;align-items:center;gap:10px;font-size:19px;letter-spacing:-.6px}.mobile-brand .brand-mark{width:35px;height:35px;font-size:28px}.mobile-brand .brand-mark span{font-size:28px}.auth-card{padding:45px 0 35px;max-width:370px}.auth-card h2{font-size:29px}.auth-footer{margin-top:auto}.workspace{height:100dvh}.sidebar{position:fixed;top:0;bottom:0;left:0;width:min(88vw,320px);min-width:0;transform:translateX(-100%);transition:transform .2s ease;box-shadow:10px 0 40px #163e2810;overflow:auto}.sidebar.is-open{transform:translateX(0)}.mobile-only{display:inline-flex}.sidebar-greeting{padding-top:30px}.sidebar-bottom{padding-top:30px}.chat-header{height:73px;min-height:73px;padding:0 14px;gap:9px}.chat-header .avatar{width:36px;height:36px}.chat-header .avatar .icon{width:20px;height:20px}.chat-identity h1{font-size:13px}.chat-identity p{font-size:9px}.private-badge{font-size:0;gap:0}.private-badge .icon{width:15px;height:15px}.chat-scroll{padding:21px 16px 25px}.conversation-intro{font-size:8px;margin-bottom:22px}.message{max-width:90%}.bubble{padding:13px 14px 8px;font-size:12px}.composer-area{padding:13px 13px 10px}.suggestions{gap:6px;margin-bottom:11px}.suggestions button{font-size:9px;padding:7px 10px}.message-form{padding:8px 8px 8px 13px;gap:8px;border-radius:10px}textarea{font-size:16px;line-height:22px;padding:8px 0}.send-button{width:38px;height:38px}.composer-note{font-size:7px}.desktop-note{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.audio-message{min-width:0}.audio-message .bubble{min-width:0}.audio-message .message-text{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.audio-message audio{display:block;width:260px;max-width:100%;height:42px;margin-bottom:6px}.audio-transcript{font-size:12px;line-height:1.5;margin:8px 0}.audio-transcript summary{cursor:pointer;color:#52745c}.audio-transcript p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.audio-error{display:block;font-size:12px;color:#a44232;margin:8px 0}.audio-retry{display:block;margin-top:8px}
.audio-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin:0}.audio-controls .text-button{font-size:12px;padding:6px 0}.audio-controls [role=status]{font-size:11px;line-height:1.5;color:#657668}.audio-controls [role=status]:not(:empty){padding:0 0 10px}.audio-controls button:disabled{opacity:.5;cursor:wait}#cancel-recording{color:#a44232}.audio-record-button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border-radius:10px;background:#e8f2ed;color:#16705c;cursor:pointer}.audio-record-button:hover{background:#d9ebe2}.audio-record-button .stop-icon{display:none}.audio-record-button.is-recording{background:#fbe4df;color:#b53426}.audio-record-button.is-recording .mic-icon{display:none}.audio-record-button.is-recording .stop-icon{display:block}.audio-record-button:disabled,.audio-attach:disabled{opacity:.5}.message-form textarea{min-width:0}.audio-attach{flex-shrink:0}@media(max-width:600px){.audio-record-button{width:34px;height:38px}.audio-attach{width:26px}.message-form{gap:6px}}
#users-dialog{width:min(520px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:28px;color:#264239;background:#fff;box-shadow:0 24px 80px #0003}#users-dialog::backdrop{background:#1238}#users-dialog h2{font-size:23px;margin:12px 0}#users-dialog p{font-size:13px;line-height:1.6}#users-dialog .field{margin:16px 0}#users-list{padding-left:18px;font-size:13px;line-height:1.8;overflow-wrap:anywhere}#manage-users{margin:16px 0;text-align:left}#users-feedback{min-height:22px}
