*{box-sizing:border-box}:root{font-family:Inter,system-ui,-apple-system,sans-serif;color:#19352c;background:#f4f7f5;font-synthesis:none}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar{height:72px;background:#fff;border-bottom:1px solid #e4ebe7;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.brand,.staff{display:flex;align-items:center;gap:13px}.brand strong{display:block;font-size:16px}.brand small{display:block;color:#819087;font-size:11px;margin-top:3px}.brand-mark{width:44px;height:44px;border-radius:13px;background:#116c4c;color:#fff;display:grid;place-items:center;font-size:24px;font-weight:800}.brand-mark.small{width:38px;height:38px;border-radius:11px;font-size:20px}.staff{font-size:13px;color:#63756b}button{background:#116c4c;color:#fff;border:0;border-radius:9px;padding:10px 16px;font-weight:600}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:#edf4f0;color:#315b49}.workspace{height:calc(100vh - 72px);min-height:500px;display:grid;grid-template-columns:310px minmax(300px,1fr) 280px;gap:12px;padding:12px}.conversation-panel,.chat-panel,.profile-panel{background:#fff;border:1px solid #e5ece8;border-radius:13px;min-width:0;overflow:hidden}.panel-heading,.chat-heading{height:76px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1ee}h2{font-size:16px;margin:0;font-weight:700}.count{background:#e7f3ed;color:#176d4e;border-radius:20px;padding:4px 9px;font-size:12px;font-weight:700}.search{width:calc(100% - 28px);margin:14px;padding:11px 12px;border:1px solid #e0e9e4;border-radius:9px;background:#f9fbfa;outline:none}input:focus,select:focus{border-color:#399875;outline:2px solid #e0f1e8}.conversation-list{height:calc(100% - 136px);overflow:auto}.conversation{width:100%;display:flex;align-items:center;gap:11px;text-align:left;background:#fff;color:#263c32;border:0;border-bottom:1px solid #f0f3f1;border-radius:0;padding:13px}.conversation:hover,.conversation.selected{background:#eff7f2}.avatar{width:40px;height:40px;flex:0 0 40px;border-radius:50%;display:grid;place-items:center;background:#e2f1e9;color:#176c4d;font-weight:800}.conversation-copy{min-width:0;flex:1}.conversation-copy strong,.conversation-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-copy strong{font-size:13px}.conversation-copy small{font-size:11px;color:#87948d;margin-top:4px}.conversation-copy .preview{color:#687b70}.status-dot{width:8px;height:8px;border-radius:50%;background:#25a46f;flex:0 0 8px}.status-dot.pending{background:#e3a23e}.status-dot.resolved{background:#9aa79f}.chat-panel{display:flex;flex-direction:column}.chat-heading small{display:block;margin-top:5px;color:#839087;font-size:12px}.chat-heading select,.assignment select,.profile-panel select{border:1px solid #e0e9e4;border-radius:8px;padding:9px;background:#fff;color:#355447}.message-list{flex:1;overflow:auto;background:#f5f8f6;padding:22px;display:flex;flex-direction:column;gap:12px}.message{max-width:78%;padding:11px 14px;border-radius:12px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.message small{display:block;margin-top:6px;color:#84938a;font-size:10px}.message.inbound{background:#fff;border:1px solid #e8eeea;align-self:flex-start;border-top-left-radius:3px}.message.outbound{background:#dff2e6;align-self:flex-end;border-top-right-radius:3px}.message-composer{display:flex;gap:9px;padding:14px;border-top:1px solid #e9efeb;background:#fff}.message-composer input{min-width:0;flex:1;border:1px solid #dfe8e2;border-radius:9px;padding:12px}.profile-panel{padding:20px;overflow:auto}.profile-panel h2{padding-bottom:18px;border-bottom:1px solid #edf1ee}.profile-avatar{width:64px;height:64px;border-radius:50%;background:#e2f1e9;color:#176c4d;display:grid;place-items:center;font-size:25px;font-weight:800;margin:24px auto 12px}.profile-panel h3{text-align:center;margin:0;font-size:15px}.muted{text-align:center;color:#84938a;font-size:12px}.profile-details{margin-top:25px;border-top:1px solid #edf1ee}.profile-details div{padding:13px 0;border-bottom:1px solid #edf1ee}.profile-details small,.assignment label{display:block;color:#84938a;font-size:11px;margin-bottom:5px}.profile-details strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.assignment{margin-top:20px}.assignment select{width:100%}.profile-note{margin-top:20px;padding:12px;background:#f1f7f3;border-radius:9px;color:#718278;font-size:11px;line-height:1.6}.empty{padding:24px;text-align:center;color:#89968f;font-size:13px}.empty-chat{margin:auto;text-align:center;padding:25px;color:#718278}.empty-chat h2{margin:14px 0 8px}.empty-chat p{font-size:13px}.empty-icon{font-size:40px;color:#398b69}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(145deg,#edf6f0,#f8faf8)}.login{width:min(390px,100%);padding:34px;background:#fff;border:1px solid #e6eee8;border-radius:18px;box-shadow:0 15px 50px #153e2810;display:flex;flex-direction:column;gap:12px}.login .brand-mark{margin-bottom:5px}.login h1{margin:0;color:#176c4d;font-size:25px}.login p{margin:0 0 12px;color:#819087;font-size:13px}.login label{font-size:12px;font-weight:600;color:#536b5d}.login input{padding:13px;border:1px solid #dfe8e2;border-radius:9px}.login button{margin-top:8px;padding:13px}.error{padding:10px;background:#fff0ed;color:#a43b2e;border-radius:8px;font-size:12px}.toast{position:fixed;bottom:18px;right:18px;max-width:min(450px,90vw);background:#fff;border:1px solid #f0d6d1;box-shadow:0 8px 30px #0001;padding:12px 15px;border-radius:10px;color:#9b4035;font-size:12px;display:flex;gap:15px;align-items:center}.toast button{background:#f6e9e6;color:#874238;padding:7px 10px}@media(max-width:1000px){.workspace{grid-template-columns:270px minmax(280px,1fr)}.profile-panel{display:none}}@media(max-width:650px){.topbar{height:62px;padding:0 12px}.brand small{display:none}.staff{font-size:11px;gap:7px}.staff button{padding:8px}.workspace{height:calc(100vh - 62px);min-height:0;padding:6px;gap:6px;grid-template-columns:115px minmax(0,1fr)}.panel-heading{height:55px;padding:10px}.panel-heading h2{font-size:12px}.search{width:calc(100% - 12px);margin:6px;padding:8px;font-size:11px}.conversation-list{height:calc(100% - 75px)}.conversation{padding:9px 5px;gap:5px}.avatar{width:27px;height:27px;flex-basis:27px;font-size:11px}.conversation-copy strong{font-size:10px}.conversation-copy small{font-size:9px}.status-dot{display:none}.chat-heading{height:64px;padding:10px}.chat-heading h2{font-size:13px}.chat-heading select{max-width:100px;padding:7px;font-size:10px}.message-list{padding:10px}.message{max-width:94%;font-size:12px}.message-composer{padding:8px;gap:5px}.message-composer input,.message-composer button{padding:9px;font-size:11px}}
