:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#172033;background:#f5f7fb;letter-spacing:0}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}header{height:64px;background:#fff;border-bottom:1px solid #dce2ea;display:flex;align-items:center;gap:12px;padding:8px 18px}.brand{width:210px;display:flex;flex-direction:column}.brand span{font-size:12px;color:#667085}header form{flex:1;display:flex}header input{width:100%;height:40px;border:1px solid #cfd7e3;border-radius:6px 0 0 6px;padding:0 14px}header button,.primary{height:40px;border:0;border-radius:6px;padding:0 18px;background:#1769e0;color:#fff;font-weight:600}header form button{border-radius:0 6px 6px 0}header select{height:40px;border:1px solid #cfd7e3;border-radius:6px;padding:0 10px}header>a{color:#344054;text-decoration:none;font-size:13px}
main{height:calc(100vh - 64px);display:grid;grid-template-columns:168px 370px minmax(460px,1fr) 300px;overflow:hidden}nav,.cases,#context{background:#fff;border-right:1px solid #dce2ea;overflow:auto;padding:16px 10px}h2{font-size:15px;margin:0 0 12px}.nav{width:100%;border:0;background:transparent;border-radius:5px;padding:10px;text-align:left;display:flex;justify-content:space-between;color:#344054}.nav.active{background:#eaf2ff;color:#1457b8;font-weight:600}.case-head{display:flex;justify-content:space-between;padding:0 6px}.case{padding:12px;border-bottom:1px solid #e4e7ec;cursor:pointer;border-left:3px solid transparent}.case:hover{background:#f8fafc}.case.active{background:#edf4ff;border-left-color:#1769e0}.case .line{display:flex;justify-content:space-between;gap:8px}.case strong{font-size:14px}.case time,.meta{font-size:12px;color:#667085}.case .subject{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:7px 0}.pill{font-size:11px;color:#475467}.dot{width:7px;height:7px;border-radius:50%;background:#1769e0;display:inline-block;margin-right:5px}
#workspace{overflow:hidden;display:flex;flex-direction:column;padding:18px;background:#f5f7fb}.empty{margin:auto;text-align:center;color:#667085}.case-title{background:#fff;border:1px solid #dce2ea;border-radius:6px;padding:14px 18px}.case-title h1{font-size:20px;margin:0 0 7px}.conversation{flex:1;overflow:auto;padding:18px 8%;}.message{max-width:760px;background:#fff;border:1px solid #e1e6ed;border-radius:6px;padding:16px;margin-bottom:14px;line-height:1.5}.message .who{font-weight:600;margin-bottom:8px}.composer{background:#fff;border:1px solid #cfd7e3;border-radius:6px;padding:14px}.composer textarea{width:100%;min-height:120px;resize:vertical;border:0;outline:0;font:inherit}.composer-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e4e7ec;padding-top:10px}.composer-foot small{color:#667085}.attachments{font-size:12px;color:#475467;margin-top:7px}
#context{border-left:1px solid #dce2ea;border-right:0}#context dl{margin:0}#context dt{font-size:11px;color:#667085;margin-top:14px}#context dd{margin:3px 0;font-size:13px;overflow-wrap:anywhere}.notice{padding:10px;border-radius:5px;margin-bottom:10px;background:#ecfdf3;color:#027a48}.error{padding:10px;border-radius:5px;margin-bottom:10px;background:#fef3f2;color:#b42318}
.login-page{min-height:100vh;display:grid;place-items:center}.login-card{width:min(390px,90vw);background:#fff;border:1px solid #dce2ea;border-radius:8px;padding:28px;box-shadow:0 12px 30px #18223014}.login-card h1{font-size:24px;margin:0}.login-card p{color:#667085}.login-card label{display:block;font-size:13px;margin:16px 0}.login-card input{display:block;width:100%;height:42px;margin-top:6px;border:1px solid #cfd7e3;border-radius:6px;padding:0 10px}.login-card .primary{width:100%}
@media(max-width:1400px){main{grid-template-columns:58px 330px 1fr}nav h2{display:none}.nav{font-size:0}.nav b{font-size:12px}#context{display:none}.brand{width:180px}}
