:root{font-family:Inter,system-ui,sans-serif;color:#172033;background:#edf3f9}*{box-sizing:border-box}body{margin:0}.admin-shell{height:100vh;display:grid;grid-template-columns:290px minmax(0,1fr) 280px;max-width:1500px;margin:auto;background:#fff}.admin-shell>aside,.details{padding:22px;border-right:1px solid #dce7f3;overflow:auto}.admin-shell h1{font-size:20px;color:#0f548b}.admin-shell h2{font-size:16px}.admin-shell input{width:100%;padding:11px;border:1px solid #c8d6e6;border-radius:9px}.item{padding:14px 8px;border-bottom:1px solid #edf1f5;cursor:pointer}.item:hover,.item.active{background:#eef5ff}.item strong,.item small{display:block}.item small{color:#74849b;margin-top:4px}.thread{min-width:0;display:grid;grid-template-rows:auto 1fr auto}.thread header{padding:16px 22px;background:#fff;color:#172033;border-bottom:1px solid #dce7f3}.thread header button{float:right;border:1px solid #c8d6e6;background:#fff;border-radius:8px;padding:8px}.messages{padding:22px;overflow-y:auto;min-height:0;background:#f7faff;overscroll-behavior:contain}.bubble{max-width:75%;padding:12px 14px;border-radius:14px;margin:0 0 13px;white-space:pre-wrap}.bubble.visitor{background:#fff;border:1px solid #dce7f3}.bubble.admin{margin-left:auto;background:#155eef;color:#fff}.bubble small{display:block;font-size:10px;opacity:.65;margin-top:7px}.attachment{display:inline-block;color:inherit;text-decoration:underline;font-weight:700}.composer{display:flex;gap:10px;padding:14px;border-top:1px solid #dce7f3}.composer input{flex:1}.composer button{background:#155eef;color:#fff;border:0;border-radius:9px;padding:0 18px;font-weight:700}.details dl{font-size:13px}.details dt{margin-top:14px;color:#8090a5;text-transform:uppercase;font-size:10px;font-weight:700}.details dd{margin:4px 0;overflow-wrap:anywhere}.journey{margin:6px 0;padding-left:18px}.journey li{margin:7px 0}.journey small{display:block;color:#8090a5;margin-top:2px}@media(max-width:900px){.admin-shell{grid-template-columns:240px minmax(0,1fr)}.details{display:none}}@media(max-width:600px){.admin-shell{display:block;height:auto;min-height:100vh}.admin-shell>aside{height:35vh}.thread{height:65vh}.messages{padding:14px}.bubble{max-width:90%}.composer{position:sticky;bottom:0;background:#fff}}
[hidden]{display:none!important}button{font:inherit;cursor:pointer}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.ghost{border:1px solid #c8d6e6;background:#fff;border-radius:8px;padding:6px 10px}.filters{display:flex;gap:6px;margin:12px 0}.filters button{border:1px solid #c8d6e6;background:#fff;border-radius:999px;padding:4px 10px;font-size:12px}.filters button.on{background:#155eef;color:#fff;border-color:#155eef}.item{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #edf1f5}.item .unread{float:right;background:#d92d20;color:#fff;border-radius:999px;font-size:11px;padding:1px 7px}.snippet{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread header{display:flex;align-items:center;justify-content:space-between;gap:10px}.thread select{padding:7px;border:1px solid #c8d6e6;border-radius:8px}.bubble img{display:block;max-width:220px;max-height:220px;border-radius:8px;margin-bottom:6px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:16px}.login-screen form{background:#fff;border:1px solid #dce7f3;border-radius:16px;padding:26px;width:min(100%,400px)}.login-screen label{display:block;font-size:13px;font-weight:600;margin:12px 0}.login-screen input{display:block;width:100%;padding:11px;border:1px solid #c8d6e6;border-radius:9px;margin-top:6px}.login-screen button{width:100%;margin-top:10px;background:#155eef;color:#fff;border:0;border-radius:9px;padding:12px;font-weight:700}.muted{color:#74849b;font-size:13px}.error{color:#b42318;font-size:13px;min-height:1em}
