:root{--green:#075e54;--green2:#087f70;--mint:#e4f3ee;--ink:#17312d;--muted:#80908d;--line:#e9efec;--paper:#fbfcfb;--white:#fff;--shadow:0 22px 70px #213c3517}*{box-sizing:border-box}body{margin:0;background:#f2f6f3;color:var(--ink);font-family:'DM Sans',sans-serif;min-height:100vh}.ambient{position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 8% 5%,#dfeee8 0,transparent 36%),radial-gradient(ellipse at 90% 92%,#e7f2ed 0,transparent 34%),#f5f8f6}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}.auth-screen{width:min(1080px,calc(100% - 40px));min-height:640px;height:min(740px,calc(100vh - 60px));margin:30px auto;background:var(--white);border-radius:26px;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.auth-card{padding:56px 68px 36px;display:flex;flex-direction:column;justify-content:center}.brand{display:flex;align-items:center;gap:10px;font:800 24px 'Manrope',sans-serif;letter-spacing:-1px;color:var(--green)}.brand-mark{width:33px;height:33px;display:grid;place-items:center;color:white;background:var(--green);border-radius:12px 12px 12px 3px;font:800 22px 'Manrope',sans-serif}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--green2);font-weight:700;margin:44px 0 14px}.auth-card h1,.welcome-panel h2{font:800 38px/1.18 'Manrope',sans-serif;letter-spacing:-1.5px;margin:0;color:#19352f}.auth-card h1 em{font-style:normal;color:#78968d}.muted{color:var(--muted);font-size:13px;line-height:1.7}.intro{margin:14px 0 27px}.field{font-size:11px;font-weight:700;color:#526762;display:block;margin-bottom:15px}.field input,.modal-search input{display:block;width:100%;margin-top:8px;border:1px solid #e4ebe7;background:#fbfcfb;border-radius:9px;padding:13px 14px;outline:none;font-size:13px;color:var(--ink);transition:.2s}.field input:focus,.modal-search input:focus,.composer input:focus{border-color:#8dbcb0;box-shadow:0 0 0 3px #dff0ea}.field input::placeholder,.modal-search input::placeholder{color:#b0bfba}.primary-btn{border:0;background:var(--green);color:white;border-radius:9px;padding:13px 16px;font-weight:700;font-size:13px;box-shadow:0 6px 14px #075e5425;transition:.2s}.primary-btn:hover{background:#087669;transform:translateY(-1px)}.primary-btn span{float:right;font-size:17px;line-height:14px}.switch-auth{font-size:11px;color:#82928e;margin-top:18px}.switch-auth button{border:0;background:none;padding:0;color:var(--green);font-weight:700}.auth-foot{margin:auto 0 0;color:#a1afab;font-size:10px}.error{color:#ad4d49;min-height:15px;font-size:11px;margin:2px 0 10px}.auth-art{position:relative;overflow:hidden;background:linear-gradient(145deg,#064d47,#08776c 60%,#2f9882);display:flex;align-items:center;justify-content:center}.auth-art:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,#ffffff20,transparent 45%)}.art-orbit{position:absolute;border:1px solid #ffffff20;border-radius:50%;width:430px;height:430px}.orbit-two{width:560px;height:560px;border-color:#ffffff12}.quote-card{position:relative;z-index:2;background:#fffdf9;border-radius:16px;padding:29px 33px 23px;width:260px;box-shadow:0 25px 60px #073b3544;transform:rotate(-3deg)}.quote-icon{font:700 53px Georgia;color:#a7d2c2;height:35px;display:block}.quote-card>p{font:700 22px/1.3 'Manrope';letter-spacing:-.7px;margin:4px 0 23px;color:#26443c}.quote-person{border-top:1px solid #e9efea;padding-top:14px;display:flex;align-items:center;gap:9px}.mini-avatar{width:31px;height:31px;background:#f4d8b4;color:#875833;border-radius:50%;display:grid;place-items:center;font-weight:700}.quote-person b,.quote-person small{display:block}.quote-person b{font-size:10px}.quote-person small{font-size:9px;color:#91a09b;margin-top:3px}.quote-person i,.online-dot{width:7px;height:7px;background:#58b889;border-radius:50%;margin-left:auto}.floating-bubble{position:absolute;z-index:3;background:#ffffffed;border-radius:12px;padding:11px 14px;box-shadow:0 12px 25px #064d4730;font-size:11px;font-weight:600}.floating-bubble span{font-size:8px;color:#95a8a2;margin-left:9px}.bubble-a{top:24%;left:13%;transform:rotate(-5deg)}.bubble-b{right:9%;bottom:26%;background:#d5f4e4;transform:rotate(4deg)}.art-caption{position:absolute;bottom:37px;left:42px;color:#e3f4eea8;font:700 14px/1.4 'Manrope';letter-spacing:.4px}.app-shell{width:min(1160px,calc(100% - 40px));height:min(780px,calc(100vh - 54px));min-height:580px;margin:27px auto;background:white;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);display:flex;position:relative}.sidebar{width:340px;flex:0 0 340px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#fff}.side-head{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;border-bottom:1px solid #f1f4f2}.icon-btn{border:0;background:transparent;color:#91a39d;width:34px;height:34px;border-radius:10px;font-size:17px}.icon-btn:hover{background:#eef6f2;color:var(--green)}.current-user{display:flex;align-items:center;gap:10px;padding:17px 22px}.avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:14px 14px 14px 4px;background:#e4f3ee;color:var(--green);font:700 15px 'Manrope';flex:0 0 auto}.user-meta{display:flex;flex-direction:column;gap:4px;min-width:0}.user-meta b{font-size:12px;color:#263f39}.user-meta small{font-size:10px;color:#98a7a3}.current-user .online-dot{margin-left:auto}.list-heading{padding:17px 22px 10px;display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:700;letter-spacing:1.5px;color:#91a19c}.new-chat{border:0;background:#e9f5f0;color:var(--green);border-radius:8px;width:28px;height:28px;font-size:20px;line-height:20px}.search-wrap{margin:4px 18px 14px;padding:0 12px;height:37px;background:#f5f8f6;border-radius:8px;display:flex;align-items:center;gap:8px;color:#9aaba5}.search-wrap span{font-size:20px}.search-wrap input{border:0;outline:0;background:none;width:100%;font-size:10px;color:var(--ink)}.chat-list{overflow:auto;flex:1}.empty-list{padding:18px 22px;color:#9caaa6;font-size:11px;line-height:1.6}.chat-item{width:100%;display:flex;align-items:center;gap:11px;padding:12px 20px;border:0;background:white;text-align:left;cursor:pointer}.chat-item:hover,.chat-item.active{background:#f3f8f5}.chat-item .avatar{width:42px;height:42px}.chat-item-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}.chat-item-copy b{font-size:11px;color:#304a43}.chat-item-copy small{font-size:10px;color:#92a19d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-time{font-size:9px;color:#a4b1ac;align-self:flex-start;margin-top:3px}.side-footer{padding:17px 21px;border-top:1px solid #f0f3f1;color:#a0aeaa;font-size:9px;display:flex;align-items:center;gap:7px}.lock-icon{color:#6caaa0;font-size:15px}.conversation-area{position:relative;flex:1;min-width:0;background:#fafcfb}.welcome-panel{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px}.welcome-art{height:150px;width:150px;border:1px solid #e2eee8;border-radius:50%;display:grid;place-items:center;position:relative;margin-bottom:16px}.welcome-art span{width:71px;height:71px;background:var(--green);color:white;border-radius:25px 25px 25px 7px;display:grid;place-items:center;font:800 47px 'Manrope';box-shadow:0 12px 30px #075e5435}.welcome-orbit{position:absolute;inset:15px;border:1px dashed #d1e4dc;border-radius:50%}.welcome-panel .eyebrow{margin:5px 0 12px}.welcome-panel h2{font-size:28px}.welcome-panel>.muted{max-width:310px;margin:12px 0 20px}.small{font-size:11px;padding:11px 14px}.chat-panel{height:100%;display:flex;flex-direction:column}.chat-header{height:72px;display:flex;align-items:center;gap:11px;padding:0 23px;background:white;border-bottom:1px solid var(--line);flex:0 0 auto}.chat-header .avatar{width:38px;height:38px}.header-actions{margin-left:auto}.secure-label{font-size:10px;color:#72a496;display:flex;align-items:center;gap:5px}.secure-label:first-letter{font-size:16px}.messages{flex:1;overflow:auto;padding:23px 7%;display:flex;flex-direction:column;gap:9px;background-color:#f8fbf9;background-image:radial-gradient(#a5c5b71c .8px,transparent .8px);background-size:18px 18px}.day-divider{text-align:center;margin:0 auto 10px;background:#eef5f1;color:#97a7a2;padding:6px 12px;border-radius:12px;font-size:9px}.message-row{display:flex;flex-direction:column;max-width:74%;align-self:flex-start}.message-row.mine{align-self:flex-end}.bubble{padding:10px 13px;background:white;border:1px solid #edf1ee;border-radius:3px 12px 12px 12px;box-shadow:0 2px 5px #17312d06;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.mine .bubble{background:#dff3e7;border-color:#d9eee1;border-radius:12px 3px 12px 12px}.message-time{font-size:8px;color:#a0afaa;align-self:flex-end;margin-top:4px}.composer{display:flex;align-items:center;gap:10px;background:#fff;padding:13px 20px;border-top:1px solid var(--line)}.composer input{flex:1;min-width:0;border:1px solid #ebf0ed;background:#f8faf9;border-radius:22px;padding:11px 16px;outline:0;font-size:12px}.attach-btn{border:0;background:none;color:#9bb0a8;font-size:23px;transform:rotate(45deg);padding:4px}.send-btn{border:0;background:var(--green);color:#fff;border-radius:50%;height:37px;width:37px;transform:rotate(-20deg);font-size:15px;padding:0 2px 2px 0;box-shadow:0 5px 12px #075e5430}.back-btn{display:none}.modal-backdrop{position:absolute;inset:0;background:#183b344f;display:grid;place-items:center;z-index:10;padding:20px}.modal{position:relative;width:min(440px,100%);background:white;border-radius:18px;padding:30px;box-shadow:0 20px 70px #133a343d}.modal-close{position:absolute;top:14px;right:17px;border:0;background:none;color:#91a39d;font-size:24px}.modal .eyebrow{margin:5px 0 10px}.modal h2{margin:0;font:800 24px 'Manrope';letter-spacing:-.7px}.modal>.muted{margin:8px 0 19px}.modal-search{display:flex;gap:8px}.modal-search input{margin:0;min-width:0}.modal-search .primary-btn{white-space:nowrap}.search-result{margin-top:14px}.result-user{display:flex;align-items:center;gap:10px;padding:12px;background:#f5f9f6;border-radius:11px}.result-user .primary-btn{margin-left:auto;padding:9px 12px;font-size:11px}.result-user b,.result-user small{display:block}.result-user b{font-size:11px}.result-user small{font-size:9px;color:#95a59f;margin-top:4px}.toast{position:absolute;bottom:22px;left:50%;transform:translate(-50%,20px);background:#1b4039;color:#fff;font-size:11px;padding:11px 17px;border-radius:9px;opacity:0;transition:.25s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:760px){.auth-screen{height:auto;min-height:calc(100vh - 24px);margin:12px auto;display:block}.auth-card{padding:30px 27px;min-height:calc(100vh - 24px)}.auth-card .eyebrow{margin-top:38px}.auth-card h1{font-size:31px}.auth-art{display:none}.app-shell{width:100%;height:100dvh;min-height:0;margin:0;border-radius:0}.sidebar{width:100%;flex-basis:100%}.conversation-area{display:none}.app-shell.mobile-chat .sidebar{display:none}.app-shell.mobile-chat .conversation-area{display:block}.back-btn{display:block;margin-left:auto;order:-1}.chat-header{padding:0 14px;gap:8px}.chat-header .user-meta{flex:1}.header-actions{margin-left:0}.messages{padding:20px 16px}.composer{padding:11px 12px}.modal{padding:25px 20px}.secure-label span{display:none}}
