:root{color-scheme:light;--forest:#153b34;--forest-deep:#102f29;--jade:#177d63;--jade-dark:#11644f;--mint:#e5f2eb;--paper:#fbfcfa;--white:#fff;--ink:#1b2824;--muted:#6d7974;--line:#e7ebe7;--gold:#bc9657;--coral:#c46654;--shadow:0 22px 70px rgba(17,46,39,.16);font-family:'Avenir Next',Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#e9eee9;color:var(--ink)}body{min-height:100dvh}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(23,125,99,.28);outline-offset:2px}.hidden{display:none!important}.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}
.shell{width:min(1200px,calc(100% - 56px));height:min(820px,calc(100dvh - 56px));min-height:560px;margin:28px auto;display:grid;grid-template-columns:230px minmax(0,1fr);overflow:hidden;border-radius:18px;background:var(--paper);box-shadow:var(--shadow)}
.rail{position:relative;display:flex;flex-direction:column;padding:32px 27px 26px;color:#eaf4ee;background:var(--forest);overflow:hidden}.rail:after{position:absolute;content:"";width:240px;height:240px;border:1px solid rgba(227,240,231,.12);border-radius:50%;left:-130px;bottom:92px;box-shadow:0 0 0 27px rgba(227,240,231,.025),0 0 0 56px rgba(227,240,231,.02)}.brand-lockup,.modal-brand{display:flex;align-items:center;gap:10px;font-family:Manrope, sans-serif;font-weight:800;letter-spacing:-.055em;font-size:22px}.brand-mark,.mobile-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:11px 11px 11px 4px;background:#ddf1e5;color:var(--forest);font-family:Manrope,sans-serif;font-size:21px;font-weight:800;line-height:1}.rail-note{display:flex;align-items:center;gap:9px;margin-top:52px;font-size:12px;color:#b7cdc3}.status-dot{width:7px;height:7px;background:#84d0a9;border-radius:50%;box-shadow:0 0 0 4px rgba(132,208,169,.12)}.rail-bottom{margin-top:auto;position:relative;z-index:1;display:flex;justify-content:space-between;align-items:end}.rail-caption{font-family:Manrope,sans-serif;font-size:17px;font-weight:600;line-height:1.35;letter-spacing:-.035em;color:#d2e4da}.rail-version{font-size:9px;letter-spacing:.12em;color:#78958a}
.workspace{min-width:0;display:flex;flex-direction:column;background:var(--paper)}.topbar{height:82px;flex:none;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.topbar-title{display:flex;align-items:center;gap:11px}.topbar-title h1{font-family:Manrope,sans-serif;font-size:16px;line-height:1.1;margin:0;font-weight:700;letter-spacing:-.03em}.topbar-title p{color:var(--muted);font-size:11px;margin:4px 0 0}.mobile-mark{display:none}.topbar-actions{display:flex;align-items:center;gap:18px}.icon-button,.text-button{border:0;background:transparent;color:var(--muted)}.icon-button{width:36px;height:36px;padding:8px;border-radius:10px}.icon-button:hover,.text-button:hover{background:#eff4f0;color:var(--forest)}.icon-button svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.text-button{font-size:12px;padding:8px 10px;border-radius:8px}
.chat{position:relative;flex:1;min-height:0;overflow-y:auto;padding:28px 8% 32px;scroll-behavior:smooth}.welcome{width:min(500px,100%);margin:6vh auto 36px;text-align:center}.welcome-glyph{width:48px;height:48px;margin:0 auto 21px;border:1px solid #d9e6dd;border-radius:15px 15px 15px 5px;display:flex;justify-content:center;align-items:center;gap:4px;transform:rotate(-4deg)}.welcome-glyph span{width:4px;border-radius:5px;background:var(--jade);transform:rotate(4deg)}.welcome-glyph span:nth-child(1){height:11px}.welcome-glyph span:nth-child(2){height:21px}.welcome-glyph span:nth-child(3){height:15px}.welcome-kicker{font-size:9px;font-weight:700;letter-spacing:.14em;color:var(--jade);margin:0 0 12px}.welcome h2,.auth-heading h2,.modal h2{font-family:Manrope,sans-serif;font-size:32px;line-height:1.12;letter-spacing:-.055em;color:var(--forest-deep);margin:0;font-weight:700}.welcome-copy{max-width:386px;margin:15px auto 22px;font-size:13px;line-height:1.65;color:var(--muted)}.suggestions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.suggestions button{padding:9px 13px;color:#41534b;background:#fff;border:1px solid var(--line);border-radius:99px;font-size:11px;transition:background .18s,border-color .18s}.suggestions button:hover{background:var(--mint);border-color:#c9dfd1}
.messages{display:flex;flex-direction:column;gap:17px;max-width:680px;margin:0 auto}.message-row{display:flex;align-items:flex-end;gap:9px;animation:appear .2s ease-out}.message-row.user{justify-content:flex-end}.message-mark{width:25px;height:25px;flex:none;display:grid;place-items:center;background:var(--forest);color:#e8f5ed;border-radius:9px 9px 9px 3px;font-family:Manrope;font-size:14px;font-weight:800}.bubble{max-width:min(78%,530px);padding:12px 15px;border-radius:15px 15px 15px 4px;background:#eef3ef;color:#283a32;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.user .bubble{background:var(--forest);color:#f2f8f3;border-radius:15px 15px 4px 15px}.bubble p{margin:0;white-space:pre-wrap}.bubble .small-note{font-size:10px;color:#6d8176;margin-top:7px}.user .bubble .small-note{color:#bed6c9}.bubble-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.mini-button{border:1px solid #d6e4da;background:#fff;border-radius:8px;padding:8px 10px;color:var(--forest);font-size:11px}.mini-button:hover{background:#e5f2eb}.mini-button.danger{color:#9d4036;border-color:#ecd3cf}.account-result{margin-top:9px;padding:12px 13px;background:#fff;border:1px solid #e1e9e3;border-radius:10px}.account-result-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.account-result-title strong{font-size:12px;color:var(--forest)}.account-result-title span{font-size:10px;color:var(--muted)}.credential-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-top:9px;border-top:1px solid #edf0ed;font-size:11px}.credential-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#42534b}.credential-controls{display:flex;flex:none;gap:5px}.credential-controls button{border:0;background:transparent;padding:5px 7px;border-radius:6px;color:var(--jade-dark);font-size:10px}.credential-controls button:hover{background:var(--mint)}
.composer-wrap{flex:none;padding:14px 8% 19px;background:linear-gradient(0deg,var(--paper) 78%,rgba(251,252,250,0))}.composer{max-width:680px;min-height:52px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:7px 8px 7px 17px;border:1px solid #dfe6e0;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(21,59,52,.035)}.composer:focus-within{border-color:#a8c9b4;box-shadow:0 0 0 3px rgba(23,125,99,.07)}.composer textarea{resize:none;flex:1;max-height:112px;border:0;outline:none;background:transparent;color:var(--ink);font-size:13px;line-height:1.5;padding:7px 0}.composer textarea::placeholder{color:#98a49d}.composer textarea:focus-visible{outline:0}.send-button{width:37px;height:37px;border:0;display:grid;place-items:center;border-radius:10px;background:var(--jade);color:white;transition:background .15s,transform .15s}.send-button:hover:not(:disabled){background:var(--jade-dark);transform:translateY(-1px)}.send-button:disabled{background:#d9e4dc;color:#9baaa0;cursor:not-allowed}.send-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.composer-footnote{margin:9px auto 0;max-width:680px;text-align:center;color:#89958e;font-size:9px}.composer-lock{color:var(--gold);font-size:8px;margin-right:4px}
.modal-layer{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:18px;background:rgba(15,39,33,.45);backdrop-filter:blur(6px);overflow:auto}.modal{position:relative;width:min(420px,100%);padding:32px 34px 25px;background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:18px;box-shadow:0 24px 80px rgba(10,39,30,.23);animation:modalIn .2s ease-out}.auth-card{width:min(440px,100%)}.modal-brand{color:var(--forest);font-size:20px;margin-bottom:29px}.modal-brand .brand-mark{width:29px;height:29px;font-size:19px}.auth-heading h2{font-size:29px}.auth-heading>p:last-child,.modal-copy{font-size:12px;line-height:1.6;color:var(--muted);margin:11px 0 19px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:9px;background:#f0f4f0;margin-bottom:16px}.auth-tabs button{border:0;border-radius:7px;padding:9px 6px;background:transparent;color:#728078;font-size:11px}.auth-tabs button.active{background:#fff;color:var(--forest);box-shadow:0 1px 4px rgba(24,53,44,.1);font-weight:600}.field-stack{display:grid;gap:12px}.field-stack label{display:grid;gap:6px;color:#45554c;font-size:11px;font-weight:600}.field-stack input{width:100%;height:43px;padding:0 12px;border:1px solid #dfe6e0;border-radius:9px;background:#fff;color:var(--ink);font-size:12px;font-weight:400}.field-stack textarea{width:100%;resize:vertical;min-height:68px;padding:10px 12px;border:1px solid #dfe6e0;border-radius:9px;background:#fff;color:var(--ink);font-size:12px;font-weight:400}.field-stack input::placeholder,.field-stack textarea::placeholder{color:#a6afa9}.primary-button,.secondary-button{min-height:43px;border-radius:9px;font-size:12px;font-weight:600}.primary-button{border:1px solid var(--forest);background:var(--forest);color:#fff}.primary-button:hover:not(:disabled){background:var(--jade-dark)}.primary-button:disabled{opacity:.45;cursor:not-allowed}.secondary-button{border:1px solid #dce6df;background:#fff;color:var(--forest);padding:0 12px}.form-message{display:none;margin:0;color:#ac453b;font-size:11px;line-height:1.45}.form-message.visible{display:block}.form-hint,.auth-privacy{margin:8px 0 0;color:#89948d;font-size:10px;line-height:1.5}.auth-privacy{border-top:1px solid #edf0ed;margin-top:19px;padding-top:14px}.small-shield{color:var(--gold);font-size:8px;margin-right:5px}.vault-card{width:min(440px,100%)}.vault-card .modal-brand{margin-bottom:21px}.vault-card h2,.entry-card h2{font-size:27px}.vault-card .modal-copy,.entry-card .modal-copy{margin-bottom:17px}.modal-close{position:absolute;right:17px;top:15px;width:30px;height:30px;border:0;border-radius:8px;background:#f2f5f2;color:#77837c;font-size:22px;line-height:1}.optional{font-weight:400;color:#929d96}.recovery-box{display:grid;gap:10px;margin-top:14px;padding:14px;border-radius:11px;background:#f2f7f3;border:1px solid #dce9df}.recovery-title{margin:0;color:var(--forest);font-size:12px;font-weight:700}.recovery-copy{margin:-5px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.recovery-box code{overflow-wrap:anywhere;padding:10px;border-radius:7px;background:#fff;color:#354a3e;font-size:11px;line-height:1.6;letter-spacing:.03em}.check-row{display:flex;align-items:center;gap:8px;color:#516057;font-size:10px}.check-row input{accent-color:var(--jade)}.entry-card{max-height:calc(100dvh - 32px);overflow:auto}.entry-card .field-stack{gap:10px}.entry-card .field-stack input,.entry-card .field-stack textarea{min-height:40px}.entry-card .auth-privacy{margin-top:14px}
@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes modalIn{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){html,body{background:var(--paper)}.shell{width:100%;height:100dvh;min-height:0;margin:0;grid-template-columns:1fr;border-radius:0;box-shadow:none}.rail{display:none}.topbar{height:70px;padding:0 20px}.topbar-title{gap:10px}.mobile-mark{display:grid;width:29px;height:29px;border-radius:10px 10px 10px 4px;background:#e2f1e7;color:var(--forest);font-family:Manrope,sans-serif;font-size:19px;font-weight:800}.chat{padding:21px 19px 26px}.welcome{margin:9vh auto 30px}.welcome h2{font-size:29px}.welcome-copy{font-size:12px}.composer-wrap{padding:11px 14px max(14px,env(safe-area-inset-bottom))}.composer{min-height:50px}.composer-footnote{font-size:8px}.bubble{max-width:86%;font-size:12px}.modal-layer{align-items:center;padding:12px}.modal{padding:27px 24px 21px;border-radius:16px}.modal-brand{margin-bottom:22px}.auth-heading h2{font-size:27px}}
@media(max-height:700px) and (min-width:761px){.shell{height:calc(100dvh - 24px);margin:12px auto}.welcome{margin:2vh auto 25px}.chat{padding-top:20px}.modal{padding-top:24px;padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
