:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0b0b0c;
  --panel-2: #111112;
  --line: rgba(255,255,255,.075);
  --text: #f5f7fb;
  --muted: #7f8798;
  --cyan: #ed1c24;
  --violet: #ff4148;
  --green: #4ade9b;
  --red: #ff6b7a;
  --yellow: #f3c969;
}
* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; background: var(--bg); color: var(--text); font: 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.app-shell { display: grid; grid-template-columns: 68px 286px minmax(460px,1fr) 286px; height: 100vh; background: radial-gradient(circle at 55% -15%, rgba(237,28,36,.08), transparent 36%), var(--bg); }
.workspace-rail { background: #07090e; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 50px 0 18px; gap: 12px; }
.brand-mark { width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#111;border:1px solid rgba(255,255,255,.15);box-shadow:0 10px 30px rgba(0,0,0,.35);overflow:hidden }.brand-mark img{width:35px;height:35px;object-fit:contain}
.rail-button { width: 38px; height: 38px; border:0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 18px; cursor:pointer; }
.rail-button:hover,.rail-button.active { background:#171c29; color:var(--text); }
.rail-spacer { flex:1; }
.connection-dot { width:10px;height:10px;border-radius:50%;background:var(--yellow);box-shadow:0 0 12px currentColor; }
.connection-dot.online { background:var(--green); }.connection-dot.offline{background:var(--red);}
.channels-panel,.team-panel { background: rgba(14,17,26,.94); }
.channels-panel { position:relative; border-right:1px solid var(--line); display:flex; flex-direction:column; min-width:0; }
.mac-drag { height:42px; -webkit-app-region:drag; }
.workspace-title { display:flex;align-items:center;justify-content:space-between;padding:0 16px 18px;gap:10px }.workspace-brand{min-width:0}.workspace-brand img{display:block;width:178px;height:42px;object-fit:contain;object-position:left center;margin:-6px 0 -3px}.workspace-brand span{display:block;color:#777;font-size:9px;letter-spacing:.12em;text-transform:uppercase;padding-left:2px}
.eyebrow,.channel-kicker,.section-label { font-size:10px;letter-spacing:.14em;color:#687083;font-weight:700; }
h1,h2,h3,p { margin:0; } h1{font-size:19px;margin-top:3px;} h2{font-size:21px;margin-top:2px;} h3{font-size:16px;margin-top:3px;}
.status-pill { color:var(--yellow);font-size:11px;background:rgba(243,201,105,.09);border:1px solid rgba(243,201,105,.17);padding:5px 8px;border-radius:999px; }
.status-pill{cursor:pointer}.status-pill:hover{filter:brightness(1.18)}
.status-pill.online { color:var(--green);background:rgba(74,222,155,.08);border-color:rgba(74,222,155,.16); }
.search-box { margin:0 14px 18px; height:38px;border:1px solid var(--line);background:#0a0d14;border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 11px;color:var(--muted); }
.search-box input { min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text); }
.section-label { padding:0 18px 8px; }
.channels { overflow:auto;padding:0 8px 8px;max-height:42vh; }
.channel-category{margin:0 0 7px}.category-title{display:flex;align-items:center;gap:5px;padding:7px 9px 4px;color:#707581;font-size:9px;font-weight:800;letter-spacing:.1em}.category-title span{font-size:10px;color:#4d525d}.channel-category+.channel-category{border-top:1px solid rgba(255,255,255,.035);padding-top:4px}
.channel { width:100%;border:0;background:transparent;padding:8px 10px;border-radius:9px;display:flex;align-items:center;gap:9px;color:#aab0bf;cursor:pointer;text-align:left;margin:1px 0; }
.channel:hover { background:#171718;color:var(--text); }.channel.active{background:linear-gradient(90deg,rgba(237,28,36,.25),rgba(237,28,36,.07));color:#fff;box-shadow:inset 3px 0 0 #ed1c24}
.channel .hash { color:#697184;font-weight:700; }.channel.active .hash{color:var(--cyan);}.channel-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;}.channel-count{font-size:11px;color:#606779;}.unread{width:7px;height:7px;border-radius:50%;background:var(--violet);box-shadow:0 0 9px rgba(155,140,255,.65);}
.profile-card { margin-top:auto;border-top:1px solid var(--line);padding:14px;display:flex;align-items:center;gap:10px;background:#090909; }.profile-card strong{display:block;font-size:12px}.profile-card span{display:block;color:var(--muted);font-size:10px}.avatar{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-weight:750;font-size:11px;background:#222;color:#eee}.avatar.bastien{background:linear-gradient(135deg,#fff,#c9c9c9);color:#080808}.presence{margin-left:auto;width:8px;height:8px;border-radius:50%;}.presence.online{background:var(--green)}
.direct-label{display:flex;align-items:center;justify-content:space-between;margin-top:5px}.direct-label button{border:0;background:transparent;color:var(--muted);font-size:17px;cursor:pointer}.direct-label button:hover{color:var(--text)}.direct-messages{padding:0 8px 9px;overflow:auto;max-height:24vh}.direct{width:100%;border:0;background:transparent;color:#aab0bf;display:flex;align-items:center;gap:9px;padding:6px 10px;border-radius:9px;cursor:pointer;text-align:left}.direct:hover,.direct.active{background:#151a26;color:var(--text)}.direct.active{background:linear-gradient(90deg,rgba(155,140,255,.17),rgba(110,231,242,.07))}.direct-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.direct-empty{padding:7px 11px;color:#606879;font-size:11px}.mini-avatar{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#202737;color:#dde3ef;font-size:9px;font-weight:750;flex:0 0 auto}
.conversation { min-width:0;min-height:0;height:100vh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto; }
.conversation-header { min-height:94px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:30px 28px 16px;-webkit-app-region:drag; }.conversation-header p{color:var(--muted);font-size:12px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:650px}.header-actions{display:flex;align-items:center;gap:12px;-webkit-app-region:no-drag}.header-actions button{width:35px;height:35px;border:1px solid var(--line);border-radius:10px;background:#111620;cursor:pointer}.header-actions button:hover{border-color:#374055}.metric{color:var(--muted);font-size:11px}
.messages { min-height:0;overflow:auto;padding:20px 30px 28px;scroll-behavior:smooth; }
.loading,.empty { height:100%;display:grid;place-items:center;color:var(--muted); }
.message { display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:9px 10px;border-radius:12px;margin:1px 0; }.message:hover{background:rgba(255,255,255,.025)}
.message-head{display:flex;align-items:baseline;gap:8px}.message-author{font-weight:700;font-size:13px}.message-time{font-size:10px;color:#606879}.badge{font-size:9px;font-weight:750;letter-spacing:.08em;padding:2px 6px;border-radius:999px;color:var(--muted);background:#181d29}.badge.task{color:var(--cyan);background:rgba(110,231,242,.08)}.badge.blocker{color:var(--red);background:rgba(255,107,122,.08)}.badge.ready,.badge.integrated{color:var(--green);background:rgba(74,222,155,.08)}
.message-body{white-space:pre-wrap;word-break:break-word;color:#cdd2dc;margin-top:3px;font-size:13px}.message.own{background:rgba(110,231,242,.035)}.mention{color:#82dff0;background:rgba(110,231,242,.10);border-radius:4px;padding:1px 3px;font-weight:650}
.inline-code{font:12px/1.4 "SFMono-Regular",Consolas,monospace;color:#e5c07b;background:#171c27;border:1px solid rgba(255,255,255,.07);border-radius:5px;padding:2px 5px}.code-block{margin:10px 0 5px;border:1px solid #2b3241;border-radius:10px;overflow:hidden;background:#090c13;white-space:normal;box-shadow:0 8px 24px rgba(0,0,0,.18)}.code-block header{height:34px;padding:0 10px 0 13px;background:#151a24;border-bottom:1px solid #252c3a;display:flex;align-items:center;justify-content:space-between}.code-block header span{font:600 10px/1 "SFMono-Regular",Consolas,monospace;color:#8f98ab;text-transform:lowercase;letter-spacing:.04em}.copy-code{border:0;background:transparent;color:#8f98ab;font-size:10px;cursor:pointer;padding:5px 7px;border-radius:5px}.copy-code:hover{background:#242b39;color:#fff}.code-block pre{margin:0;padding:14px 16px;overflow:auto;white-space:pre;tab-size:4}.code-block pre code{font:12px/1.62 "SFMono-Regular",Menlo,Consolas,monospace;color:#d9e0ea}
.composer { position:relative;border-top:1px solid var(--line);padding:14px 26px 17px;background:rgba(8,10,16,.98);z-index:5 }.composer-box{position:relative;border:1px solid #333b4c;background:#10141d;border-radius:12px;padding:12px 12px 9px;box-shadow:0 14px 40px rgba(0,0,0,.22)}.composer-box:focus-within{border-color:rgba(110,231,242,.55);box-shadow:0 0 0 3px rgba(110,231,242,.06)}textarea{display:block;width:100%;resize:none;min-height:34px;max-height:130px;border:0;outline:0;background:transparent;color:var(--text);line-height:1.5}.composer-actions{display:flex;align-items:center;gap:7px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.045)}.format-button{width:28px;height:27px;border:0;border-radius:6px;background:transparent;color:#929aab;cursor:pointer}.format-button:hover{background:#202634;color:#fff}.hint{margin-left:auto;color:#5f6778;font-size:10px}.task-toggle{border:0;background:transparent;color:#687083;font-size:11px;cursor:pointer}.task-toggle.active{color:var(--cyan)}.send-button{border:0;border-radius:8px;padding:7px 13px;background:linear-gradient(135deg,#6ee7f2,#8e7cf7);color:#080a10;font-weight:750;cursor:pointer}.send-button:disabled{opacity:.45}.composer-status{height:15px;color:var(--muted);font-size:10px;padding:4px 3px 0}.mention-menu{position:absolute;left:0;bottom:calc(100% + 10px);width:min(430px,90vw);max-height:310px;overflow:auto;padding:6px;background:#171b25;border:1px solid #343b4c;border-radius:12px;box-shadow:0 18px 60px rgba(0,0,0,.55);z-index:20}.mention-menu.hidden{display:none}.mention-option{width:100%;border:0;background:transparent;color:var(--text);display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;text-align:left;cursor:pointer}.mention-option:hover,.mention-option.active{background:#272e3e}.mention-option span:nth-child(2){display:flex;flex-direction:column;min-width:0}.mention-option strong{font-size:12px}.mention-option small{color:var(--muted);font-size:10px}.mention-option code{margin-left:auto;color:var(--cyan);font-size:10px}
.team-panel { border-left:1px solid var(--line);padding:51px 16px 16px;overflow:hidden;display:flex;flex-direction:column }.team-heading{display:flex;align-items:center;justify-content:space-between;padding:0 5px 14px}.online-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;color:var(--green);background:rgba(74,222,155,.08);font-size:11px;font-weight:750}.team-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:15px}.team-summary div{background:#111620;border:1px solid var(--line);border-radius:11px;padding:10px}.team-summary strong{display:block;font-size:17px}.team-summary span{font-size:10px;color:var(--muted)}.agents{min-height:0;flex:1;overflow:auto}.agent{width:100%;border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:9px;padding:7px 6px;border-radius:9px;text-align:left;cursor:pointer}.agent:hover{background:#151a25}.agent-info{min-width:0;flex:1}.agent-info strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-info span{display:block;color:var(--muted);font-size:9px}.status-dot{width:7px;height:7px;border-radius:50%;background:#4c5362}.status-dot.online{background:var(--green);box-shadow:0 0 8px rgba(74,222,155,.45)}.status-dot.failed{background:var(--red);box-shadow:0 0 8px rgba(255,107,122,.4)}.team-help{border-top:1px solid var(--line);padding:12px 6px 0;color:#606879;font-size:10px;text-align:center}
.agent-group{margin:0 0 11px}.agent-group h4{position:sticky;top:0;z-index:2;margin:0;padding:8px 6px 5px;background:rgba(11,11,12,.96);color:#777d89;font-size:9px;letter-spacing:.1em;text-transform:uppercase}.agent-group h4::before{content:"";display:inline-block;width:5px;height:5px;margin:0 7px 1px 0;border-radius:50%;background:#ed1c24}
@media (max-width:1180px){.app-shell{grid-template-columns:62px 250px minmax(440px,1fr)}.team-panel{display:none}}@media (max-width:820px){.app-shell{grid-template-columns:58px 220px 1fr}.conversation-header{padding-left:20px}.messages{padding-left:18px;padding-right:18px}}

/* Identité Bastivan Consulting : noir, blanc et rouge signature. */
.channels-panel,.team-panel{background:rgba(11,11,12,.97)}
.direct.active{background:linear-gradient(90deg,rgba(237,28,36,.22),rgba(237,28,36,.05));box-shadow:inset 3px 0 0 #ed1c24}
.composer-box:focus-within{border-color:rgba(237,28,36,.62);box-shadow:0 0 0 3px rgba(237,28,36,.08)}
.send-button{background:#ed1c24;color:#fff;box-shadow:0 7px 20px rgba(237,28,36,.18)}
.send-button:hover{background:#ff3038}
.mention{color:#ff6970;background:rgba(237,28,36,.13)}
.mention-option code{color:#ff5158}

/* Dernière passe de finition — densité et interactions inspirées des outils collaboratifs. */
*{scrollbar-width:thin;scrollbar-color:#343434 transparent}
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:#343434;border:2px solid transparent;background-clip:padding-box;border-radius:999px}
*::-webkit-scrollbar-thumb:hover{background:#4a4a4a;background-clip:padding-box}
.workspace-rail{background:linear-gradient(180deg,#080808,#050505);box-shadow:inset -1px 0 rgba(255,255,255,.025)}
.channels-panel{box-shadow:8px 0 30px rgba(0,0,0,.12)}
.search-box{transition:border-color .18s,background .18s,box-shadow .18s}
.search-box:focus-within{background:#101010;border-color:#343434;box-shadow:0 0 0 3px rgba(255,255,255,.025)}
.channel,.direct,.agent{transition:background .14s,color .14s,transform .14s}
.channel:active,.direct:active,.agent:active{transform:scale(.985)}
.conversation-header{background:rgba(7,7,7,.92);backdrop-filter:blur(18px);box-shadow:0 8px 28px rgba(0,0,0,.14);z-index:4}
.conversation-header h2{font-size:22px;letter-spacing:-.025em}
.conversation-header p{color:#8c8f98}
.messages{padding-top:14px;padding-bottom:18px}
.message{position:relative;padding:10px 12px;margin:2px 0;transition:background .14s,box-shadow .14s}
.message:hover{background:#101011;box-shadow:inset 2px 0 #282828}
.message.own{background:rgba(237,28,36,.035);box-shadow:inset 2px 0 rgba(237,28,36,.45)}
.message.own:hover{background:rgba(237,28,36,.065);box-shadow:inset 2px 0 #ed1c24}
.message-author{letter-spacing:-.012em}.message-body{line-height:1.55;color:#e0e1e5}
.message .avatar{border-radius:10px;background:linear-gradient(145deg,#292929,#171717);border:1px solid rgba(255,255,255,.045)}
.message.own .avatar{background:#f3f3f3;color:#111;border-color:#fff}
.badge{border:1px solid rgba(255,255,255,.04)}
.composer{box-shadow:0 -12px 35px rgba(0,0,0,.22)}
.composer-box{background:linear-gradient(180deg,#121212,#0e0e0f);border-color:#343434;transition:border-color .18s,box-shadow .18s}
.send-button{transition:background .14s,transform .14s,box-shadow .14s}.send-button:hover{box-shadow:0 9px 26px rgba(237,28,36,.28)}.send-button:active{transform:translateY(1px) scale(.98)}
.team-panel{background:linear-gradient(180deg,#0b0b0c,#080808)}
.team-summary div{background:linear-gradient(145deg,#151515,#101011);border-color:#292929}
.agent:hover{background:#151515}.agent .avatar{border:1px solid rgba(255,255,255,.05)}
.status-dot.online{box-shadow:0 0 0 3px rgba(74,222,155,.08),0 0 10px rgba(74,222,155,.45)}
.profile-card{box-shadow:0 -12px 32px rgba(0,0,0,.25)}
.code-block{border-color:#323232}.code-block header{background:#171717;border-color:#2b2b2b}
.avatar-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar:has(.avatar-photo),.mini-avatar:has(.avatar-photo){padding:0;overflow:hidden;background:#171717}.message.own .avatar:has(.avatar-photo){background:#f3f3f3}
.message-body strong{color:#fff;font-weight:750}.message-body em{color:#c8c9cf}.md-line{min-height:1.45em}.md-spacer{height:9px}.md-heading{margin:10px 0 5px;color:#fff;font-size:12px;font-weight:750;letter-spacing:.015em;text-transform:none}.md-heading:first-child{margin-top:2px}.md-list{margin:5px 0 8px;padding:0;list-style:none}.md-list li{position:relative;margin:4px 0;padding-left:16px;line-height:1.5}.md-list li::before{content:"";position:absolute;left:1px;top:.68em;width:5px;height:5px;border-radius:50%;background:#ed1c24;box-shadow:0 0 0 3px rgba(237,28,36,.09)}.md-rule{height:1px;border:0;background:#282828;margin:10px 0}.md-signature{margin-top:12px;color:#858994;font-size:11px;font-style:italic}.message-body:has(.md-list,.md-heading,.code-block){padding:3px 0 2px}.message:has(.md-heading,.md-list){margin-top:5px;margin-bottom:5px;padding-top:12px;padding-bottom:13px}
.typing-row{display:flex;align-items:center;gap:11px;padding:10px 12px;color:#7f8490}.typing-bubble{display:flex;align-items:center;gap:4px;background:#121213;border:1px solid #282828;border-radius:12px;padding:9px 12px}.typing-bubble span{width:5px;height:5px;border-radius:50%;background:#ed1c24;animation:typing 1.15s infinite ease-in-out}.typing-bubble span:nth-child(2){animation-delay:.15s}.typing-bubble span:nth-child(3){animation-delay:.3s}.typing-bubble em{font-size:10px;margin-left:5px;color:#737782}@keyframes typing{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-3px);opacity:1}}
/* Authentification web */
.auth-gate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,rgba(38,74,255,.12) 0,#0b0b0e 42%,#050506 100%);padding:24px}.auth-gate.hidden{display:none}.auth-card{width:min(460px,calc(100vw - 48px));padding:48px;border:1px solid #2a2a31;border-radius:24px;background:rgba(15,15,18,.94);box-shadow:0 30px 90px rgba(0,0,0,.55);text-align:center}.auth-card img.noliae-login-mark{display:block;width:96px;height:96px;object-fit:contain;margin:0 auto 24px;filter:drop-shadow(0 12px 28px rgba(60,72,255,.3))}.auth-card h1{margin:0 0 14px;font-size:30px;letter-spacing:-.04em}.auth-card p{margin:0 auto 28px;max-width:380px;color:#a9a9b2;line-height:1.55}.auth-card small{display:block;margin-top:18px;color:#777782}.login-button{width:100%;padding:15px 20px;border:0;border-radius:12px;background:linear-gradient(110deg,#008cff,#643cff);color:#fff;font-weight:750;font-size:15px;cursor:pointer;box-shadow:0 12px 28px rgba(66,62,255,.22)}.login-button:hover{filter:brightness(1.1)}.login-button:disabled{opacity:.6;cursor:wait}

/* Noliae Team — interface collaborative inspirée des codes Slack, sans clonage visuel. */
:root{--bg:#0d0e14;--panel:#171525;--panel-2:#11121a;--line:rgba(255,255,255,.09);--text:#f7f7fb;--muted:#9295a5;--cyan:#2894ff;--violet:#7257ff;--green:#49d99a;--red:#ff6378;--yellow:#f4c96b}
body{background:#0d0e14}
.global-topbar{height:48px;display:grid;grid-template-columns:250px minmax(260px,680px) 250px;align-items:center;justify-content:space-between;gap:22px;padding:0 14px;background:linear-gradient(90deg,#161326,#21193c 55%,#171426);border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 5px 22px rgba(0,0,0,.22);position:relative;z-index:20;-webkit-app-region:drag}
.topbar-brand{display:flex;align-items:center;gap:9px;font-size:13px;letter-spacing:-.01em}.topbar-brand img{width:27px;height:27px;object-fit:contain}.global-search{height:32px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(255,255,255,.09);color:#b7b4c8;-webkit-app-region:no-drag;transition:.18s}.global-search:focus-within{background:rgba(255,255,255,.14);border-color:rgba(129,113,255,.75);box-shadow:0 0 0 3px rgba(112,87,255,.14)}.global-search input{width:100%;border:0;outline:0;background:transparent;color:#fff}.global-search input::placeholder{color:#aaa7b9}.topbar-actions{justify-self:end;display:flex;gap:5px;-webkit-app-region:no-drag}.topbar-actions button{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#c8c5d3;cursor:pointer}.topbar-actions button:hover{background:rgba(255,255,255,.1);color:#fff}
.app-shell{height:calc(100vh - 48px);grid-template-columns:76px 282px minmax(460px,1fr) 292px;background:#0d0e14}
.workspace-rail{padding:13px 7px 12px;gap:6px;background:linear-gradient(180deg,#121020,#0e0d18);border-color:rgba(255,255,255,.08);box-shadow:none}.brand-mark{width:42px;height:42px;margin-bottom:10px;border:0;background:transparent;box-shadow:none}.brand-mark img{width:40px;height:40px}.rail-button{width:62px;height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:10px;font-size:19px;color:#aaa7b8}.rail-button small{font-size:9px;font-weight:600}.rail-button:hover,.rail-button.active{background:rgba(113,87,255,.17);color:#fff}.rail-button.active{box-shadow:inset 3px 0 #6f5cff}.connection-dot{margin-bottom:7px}
.channels-panel{background:#19162b;box-shadow:none;border-color:rgba(255,255,255,.08)}.workspace-title{min-height:70px;padding:13px 15px 12px;border-bottom:1px solid rgba(255,255,255,.08)}.workspace-brand strong{display:block;font-size:18px;letter-spacing:-.03em}.workspace-brand span{padding:0;margin-top:2px;color:#9994ab;letter-spacing:.06em}.status-pill{font-size:10px;padding:5px 7px}.section-label{padding:15px 17px 7px;color:#8e89a1;font-size:9px}.channels{max-height:46vh;padding:0 8px 8px}.category-title{color:#888398;padding-left:8px}.channel{padding:7px 10px;border-radius:7px;color:#c3bfcd}.channel:hover{background:rgba(255,255,255,.075)}.channel.active{background:linear-gradient(90deg,#654dcb,#5942bb);box-shadow:none;color:#fff}.channel.active .hash{color:#fff}.channel-count{color:#aaa4bd}.direct-label{margin-top:2px}.direct-messages{max-height:25vh}.direct{border-radius:7px;color:#c3bfcd}.direct:hover{background:rgba(255,255,255,.075)}.direct.active{background:rgba(112,87,255,.28);box-shadow:none}.profile-card{padding:12px 14px;background:#141222;border-color:rgba(255,255,255,.09);box-shadow:0 -8px 24px rgba(0,0,0,.15)}
.conversation{height:calc(100vh - 48px);background:#0f1017}.conversation-header{min-height:72px;padding:14px 22px;background:rgba(15,16,23,.96);box-shadow:none;border-color:rgba(255,255,255,.09)}.conversation-header h2{font-size:20px}.channel-kicker{display:none}.conversation-header p{margin-top:2px;color:#9699a7}.header-actions button{width:33px;height:33px;border-radius:8px;background:#171923}.member-button{font-size:16px}.metric{padding:5px 9px;border-radius:999px;background:#171923;color:#a3a6b2}
.messages{padding:18px 22px 22px;background:radial-gradient(circle at 50% -10%,rgba(81,65,167,.07),transparent 35%)}.message{max-width:1040px;margin:1px auto;padding:8px 10px;border-radius:8px;grid-template-columns:40px minmax(0,1fr)}.message:hover{background:#171821;box-shadow:none}.message.own,.message.own:hover{background:rgba(113,87,255,.08);box-shadow:inset 3px 0 #7057ff}.message .avatar{width:36px;height:36px;border-radius:8px}.message-author{font-size:13px}.message-body{font-size:13px;line-height:1.5;color:#e3e4ea}.badge{background:#20222d}.mention{color:#a99dff;background:rgba(112,87,255,.16)}
.composer{padding:10px 22px 14px;background:#0f1017;border-color:transparent;box-shadow:none}.composer-box{max-width:1040px;margin:0 auto;background:#171821;border:1px solid #3b3e4d;border-radius:11px;box-shadow:0 8px 25px rgba(0,0,0,.16)}.composer-box:focus-within{border-color:#7462db;box-shadow:0 0 0 3px rgba(116,98,219,.12)}.composer-actions{border-color:rgba(255,255,255,.07)}.send-button{background:#6752d5;color:#fff;box-shadow:none}.send-button:hover{background:#7965e5;box-shadow:none}.task-toggle.active{color:#a99dff}.composer-status{max-width:1040px;margin:0 auto}
.team-panel{padding:15px 14px;background:#141521;border-color:rgba(255,255,255,.08)}.team-heading{min-height:43px;padding:0 5px 11px}.team-summary{margin-bottom:10px}.team-summary div{padding:9px;background:#1b1d28;border-color:rgba(255,255,255,.08)}.agent-group h4{background:#141521}.agent-group h4::before{background:#7257ff}.agent{padding:7px;border-radius:7px}.agent:hover{background:#1e202b}.team-help{color:#777b8b}
.code-block{background:#0c0d13;border-color:#333644}.code-block header{background:#1b1d26;border-color:#31333e}.md-list li::before{background:#7257ff;box-shadow:0 0 0 3px rgba(114,87,255,.12)}
@media(max-width:1180px){.global-topbar{grid-template-columns:190px minmax(260px,620px) 90px}.app-shell{grid-template-columns:70px 260px minmax(420px,1fr)}.team-panel{display:none}}@media(max-width:820px){.global-topbar{grid-template-columns:auto 1fr auto}.topbar-brand strong{display:none}.app-shell{grid-template-columns:62px 220px 1fr}.rail-button{width:50px}.rail-button small{display:none}.conversation-header{padding-left:18px}.messages{padding-left:12px;padding-right:12px}.composer{padding-left:12px;padding-right:12px}}
.format-button{width:32px!important;white-space:nowrap;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.direct .mini-avatar{outline:2px solid rgba(111,92,255,.34)}
.direct::before{content:'↗';font-size:10px;color:#8f82e8;margin-right:2px}
.workspace-rail .brand-mark,.workspace-rail .connection-dot{display:none}
.profile-card>.presence{display:none}
.workspace-rail,.topbar-actions,.conversation-header .member-button,.conversation-header #refreshButton{display:none!important}
.app-shell{grid-template-columns:280px minmax(520px,1fr) 290px}
.global-topbar{grid-template-columns:280px minmax(320px,680px) 1fr}
@media(max-width:1180px){.app-shell{grid-template-columns:260px minmax(420px,1fr)}.global-topbar{grid-template-columns:260px minmax(260px,620px) 1fr}}
@media(max-width:820px){.app-shell{grid-template-columns:220px minmax(360px,1fr)}.global-topbar{grid-template-columns:220px 1fr}.topbar-brand strong{display:inline}}
