@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--green:#087e70;--green-dark:#075e54;--ink:#172b2a;--muted:#71817f;--line:#e8eeec;--bg:#f4f7f6;--white:#fff}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink)}button,input{font:inherit}
.login-page{min-height:100vh;background:linear-gradient(135deg,#eaf3f1,#f5f7f7);display:grid;place-items:center;padding:24px}
.login-card{width:100%;max-width:420px;background:#fff;padding:42px;border:1px solid #e7eeeb;border-radius:18px;box-shadow:0 18px 60px #183c3514}
.brand-mark{width:48px;height:48px;border-radius:14px;background:var(--green);color:white;display:grid;place-items:center;font-size:26px;font-weight:800;box-shadow:0 8px 20px #087e7033}
.brand-title{font-size:25px;font-weight:800;letter-spacing:-.8px;margin-top:18px}.brand-title span,.brand-small span{color:var(--green)}
.muted{color:var(--muted)}.login-subtitle{margin:8px 0 28px}
label{display:block;font-size:13px;font-weight:700;margin:17px 0 8px}
.login-card input{width:100%;height:46px;border:1px solid #dce5e2;border-radius:9px;padding:0 13px;outline:none}.login-card input:focus{border-color:var(--green);box-shadow:0 0 0 3px #087e7015}
.btn-primary{background:var(--green);color:white;border:0;border-radius:9px;font-weight:700;height:48px;cursor:pointer}.btn-primary:hover{background:var(--green-dark)}.btn-full{width:100%;margin-top:25px}
.login-foot{text-align:center;font-size:12px;color:#93a19e;margin:24px 0 0}.alert{padding:12px;border-radius:8px;font-size:13px}.alert-error{background:#fff0ef;color:#a33a31}
.app-page{background:var(--bg);min-height:100vh}.app-shell{display:grid;grid-template-columns:370px minmax(0,1fr);min-height:100vh;max-width:1800px;margin:auto;background:white;box-shadow:0 0 45px #183c3508}
.sidebar{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:100vh;background:#fff}
.side-header{height:76px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand-small{display:flex;align-items:center;gap:11px;font-size:16px;letter-spacing:-.4px}.brand-mark.mini{width:34px;height:34px;border-radius:10px;font-size:19px}
.profile-chip{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#e2f2ee;color:var(--green-dark);font-weight:800}
.side-tools{padding:22px 18px 12px}.section-label,.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#82918e}
.search-wrap{height:42px;background:#f3f6f5;border:1px solid #edf1ef;border-radius:9px;display:flex;align-items:center;gap:9px;padding:0 12px;margin-top:15px;color:#82918e}.search-wrap span{font-size:22px}.search-wrap input{border:0;outline:0;background:transparent;width:100%;font-size:12px}
.filters{display:flex;gap:5px;margin-top:15px;overflow-x:auto}.filter{border:0;background:transparent;color:#71817f;padding:8px 10px;border-radius:7px;font-size:11px;white-space:nowrap;cursor:pointer}.filter.active{background:#e8f4f1;color:var(--green-dark);font-weight:700}.filter span{margin-left:4px}
.conversation-list{flex:1;overflow:auto;border-top:1px solid var(--line)}.conversation-row{display:flex;gap:12px;width:100%;padding:15px 18px;border:0;border-bottom:1px solid #f0f3f2;background:white;text-align:left;cursor:pointer}.conversation-row:hover{background:#f8fbfa}.conversation-row[hidden]{display:none}
.avatar{flex:0 0 43px;width:43px;height:43px;border-radius:50%;background:#e4f0ed;color:#277568;display:grid;place-items:center;font-weight:700}.conversation-copy{min-width:0;flex:1}.conversation-top,.conversation-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.conversation-top strong{font-size:12px}.conversation-top time,.conversation-bottom span{font-size:10px;color:#84918f}.conversation-bottom{margin-top:7px}.conversation-bottom span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unread{background:var(--green);color:white;border-radius:20px;min-width:18px;text-align:center;padding:3px 5px;font-size:9px}
.empty-list{padding:50px 28px;text-align:center;color:#879591}.empty-icon{font-size:36px;color:#9ebbb4;margin-bottom:12px}.empty-list strong{display:block;color:#40524e;font-size:13px}.empty-list p{font-size:12px;line-height:1.6}
.side-footer{border-top:1px solid var(--line);padding:15px 18px;display:flex;align-items:center;justify-content:space-between}.logged-user{display:flex;align-items:center;gap:10px}.avatar-small{width:34px;height:34px;flex-basis:34px;font-size:12px}.logged-user strong,.logged-user small{display:block}.logged-user strong{font-size:11px}.logged-user small{font-size:10px;color:#8b9996;margin-top:3px}.logout-button{border:0;background:#f3f6f5;color:#61736e;width:34px;height:34px;border-radius:8px;font-size:19px;cursor:pointer}
.workspace{padding:42px clamp(24px,5vw,76px);background:#fbfcfc;min-width:0}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.workspace-header h1{font-size:29px;letter-spacing:-1px;margin:8px 0 5px}.workspace-header p{font-size:13px;color:#7c8b87;margin:0}.header-status{font-size:11px;color:#60736d;background:#fff;border:1px solid var(--line);padding:10px 13px;border-radius:30px;white-space:nowrap}.status-dot{display:inline-block;width:7px;height:7px;background:#28ae75;border-radius:50%;margin-right:7px}
.welcome-panel{margin-top:34px;background:linear-gradient(110deg,#eaf5f2,#f2f8f6);border:1px solid #e2efeb;border-radius:18px;min-height:310px;display:grid;grid-template-columns:.85fr 1.15fr;overflow:hidden}
.welcome-art{position:relative;display:grid;place-items:center;min-height:300px;background:radial-gradient(circle at 50% 50%,#d3ebe4 0,#e7f3ef 48%,transparent 49%)}
.welcome-orbit{width:110px;height:110px;border-radius:34px;display:grid;place-items:center;background:var(--green);color:white;font-size:54px;font-weight:800;box-shadow:0 20px 45px #087e7033;transform:rotate(-8deg)}
.chat-bubble{position:absolute;background:white;padding:12px 15px;border-radius:12px;box-shadow:0 8px 22px #204c4012;font-size:10px;color:#52635e}.bubble-one{top:48px;left:10%}.bubble-two{right:7%;bottom:48px}
.welcome-content{padding:38px 38px 32px 15px}.pill{font-size:9px;letter-spacing:1px;font-weight:800;color:var(--green);background:#dcefe9;padding:7px 10px;border-radius:20px}.welcome-content h2{font-size:23px;line-height:1.25;letter-spacing:-.6px;margin:19px 0 10px;max-width:460px}.welcome-content>p{font-size:12px;line-height:1.7;color:#71817c;max-width:510px;margin:0}
.setup-steps{display:flex;gap:18px;margin-top:24px;flex-wrap:wrap}.setup-step{display:flex;align-items:center;gap:8px}.setup-step>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e4eae8;color:#73817d;font-size:11px;font-weight:800}.setup-step.done>span{background:#cce9dd;color:#16805c}.setup-step strong,.setup-step small{display:block}.setup-step strong{font-size:10px}.setup-step small{font-size:9px;color:#899692;margin-top:3px}
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.stat-card{background:white;border:1px solid var(--line);border-radius:13px;padding:18px;display:grid;grid-template-columns:38px 1fr;column-gap:12px;align-items:center}.stat-icon{grid-row:span 2;width:38px;height:38px;border-radius:10px;background:#edf6f3;color:var(--green);display:grid;place-items:center;font-size:19px}.stat-card small,.stat-card strong{display:block}.stat-card small{font-size:10px;color:#83918d}.stat-card strong{font-size:22px;margin-top:3px}.stat-card em{grid-column:2;font-size:9px;color:#9aa6a2;font-style:normal;margin-top:4px}
.notice{margin-top:22px;border:1px solid #e9eeec;background:white;border-radius:10px;padding:15px 17px;font-size:11px;color:#71817d;line-height:1.6}.notice strong{color:#40544e}
@media(max-width:900px){.app-shell{grid-template-columns:320px minmax(0,1fr)}.workspace{padding:30px 24px}.welcome-panel{grid-template-columns:1fr}.welcome-art{min-height:170px}.welcome-content{padding:15px 25px 28px}}
@media(max-width:650px){.app-shell{display:block}.sidebar{min-height:auto;height:48vh;border-right:0;border-bottom:1px solid var(--line)}.conversation-list{min-height:100px}.side-footer{display:none}.workspace{padding:26px 18px}.workspace-header{align-items:flex-start;flex-direction:column}.workspace-header h1{font-size:24px}.welcome-art{min-height:130px}.welcome-orbit{width:75px;height:75px;font-size:38px;border-radius:24px}.bubble-one{top:15px}.bubble-two{bottom:15px}.welcome-content{padding:16px 20px 24px}.welcome-content h2{font-size:20px}.stats-grid{grid-template-columns:1fr;gap:10px}}

.header-actions{display:flex;align-items:center;gap:12px}.admin-link{font-size:11px;font-weight:700;color:#087e70;text-decoration:none;padding:10px 13px;border:1px solid #dcebe6;background:#fff;border-radius:9px}.admin-link:hover{background:#edf6f3}@media(max-width:650px){.header-actions{flex-wrap:wrap}}
