@import url("/static/typography.css");
:root {
  color-scheme: dark;
  --bg: #111216;
  --panel: #17181e;
  --main: #1b1c23;
  --border: #ffffff0c;
  --text: #eeeef5;
  --muted: #8b8d9d;
  --dim: #5e6172;
  --accent: #a396ff;
  --accent-bg: #8b7bff;
  --green: #70d9b2;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
input,
textarea,
select {
  outline: none;
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--accent);
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input:focus,
textarea:focus {
  border-color: #a396ff88 !important;
}
button {
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}
button:active {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 5px;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: #ffffff09;
  color: var(--text);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  background: #282a35;
  color: var(--text);
  border: 1px solid #ffffff0a;
}
.button:hover {
  background: #333543;
}
.button.primary {
  background: var(--accent-bg);
  color: #151323;
  border-color: transparent;
}
.button.primary:hover {
  background: #a395ff;
}
.button.danger {
  background: #ef6b7315;
  color: #f78b93;
  border-color: #ef6b7326;
}
.button.ghost {
  background: transparent;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.live-dot {
  height: 6px;
  width: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 9px #70d9b222;
  flex-shrink: 0;
}
.pill {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #b0a5ff;
  background: #a396ff0b;
  border: 1px solid #a396ff20;
  padding: 7px 10px;
  border-radius: 5px;
  display: inline-block;
}
kbd {
  font-family: inherit;
}
.wordmark {
  display: flex;
  align-items: center;
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -1.5px;
  color: var(--text);
  text-decoration: none;
}
.brand-symbol {
  color: #ac9cff;
  font-size: 41px;
  margin-right: 12px;
  line-height: 1;
}
.brand-period {
  color: #b0a1ff;
}
.login-view {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
}
.login-story {
  padding: 45px 56px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 44% 60%, #6050861b, transparent 60%), #14151b;
  border-right: 1px solid var(--border);
}
.login-copy {
  margin: auto 0;
  padding: 65px 0 10px;
}
.login-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #a7a2b8;
}
.login-copy h1 {
  font-size: clamp(38px, 4.2vw, 67px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -2.8px;
  margin: 29px 0 20px;
}
.login-copy h1 > span {
  color: #b4a6ff;
}
.login-copy p {
  color: #8d8e9f;
  line-height: 1.8;
  font-size: 15px;
}
.login-footer {
  display: flex;
  justify-content: space-between;
  color: #5c5e70;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: auto;
}
.login-footer > span {
  font-size: 8px;
}
.orbit-scene {
  height: 270px;
  position: relative;
  width: 340px;
  margin: 10px auto 0;
}
.orbit {
  position: absolute;
  border: 1px solid #a396ff17;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one {
  width: 210px;
  height: 210px;
}
.orbit-two {
  width: 320px;
  height: 250px;
  transform: translate(-50%, -50%) rotate(-22deg);
}
.orbit-center {
  position: absolute;
  left: 140px;
  top: 104px;
  font-size: 40px;
  color: #baaaff;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3c3453, #211d2b);
  border: 1px solid #a396ff44;
  border-radius: 18px;
  box-shadow: 0 0 70px #947bff1a;
}
.orbit-node {
  position: absolute;
  width: 42px;
  height: 42px;
  background: #23232e;
  border: 1px solid #ffffff12;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 23px;
}
.node-one {
  left: 39px;
  top: 70px;
  color: #8ecab6;
}
.node-two {
  right: 18px;
  top: 88px;
  color: #b6a3ff;
}
.node-three {
  left: 111px;
  bottom: 5px;
  color: #dfbd8a;
}
.orbit-label {
  position: absolute;
  color: #707184;
  font-size: 9px;
  letter-spacing: 0.5px;
}
.label-one {
  left: 17px;
  top: 121px;
}
.label-two {
  right: 16px;
  top: 139px;
}
.label-three {
  left: 102px;
  bottom: -15px;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    radial-gradient(ellipse at 80% 0, #24202e33, transparent 55%), #101115;
}
.login-form-wrap {
  max-width: 356px;
  width: 100%;
  padding: 45px 0 65px;
}
.small-brand {
  font-size: 35px;
  color: #ad9cff;
  margin-bottom: 24px;
}
.login-form-wrap h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 25px 0 9px;
  font-weight: 600;
}
.login-form-wrap > .muted {
  font-size: 13px;
  margin-bottom: 36px;
}
.login-form-wrap label,
.modal-form label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #c0c1ce;
  margin-bottom: 19px;
}
.login-form-wrap input,
.modal-form input,
.modal-form textarea,
.modal-form select {
  display: block;
  width: 100%;
  margin-top: 9px;
  border-radius: 8px;
  background: #1b1c23;
  color: var(--text);
  border: 1px solid #ffffff13;
  padding: 13px 14px;
  transition: border-color 0.2s;
}
.login-form-wrap input::placeholder,
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #555969;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 45px;
}
.password-field button {
  position: absolute;
  right: 7px;
  top: 7px;
}
.login-submit {
  width: 100%;
  justify-content: space-between !important;
  margin-top: 4px;
  padding: 14px 16px !important;
}
.login-note {
  font-size: 10px;
  color: #666a7b;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin-top: 23px;
}
.login-note .icon {
  width: 12px;
  height: 12px;
}
.login-panel-footer {
  position: absolute;
  bottom: 27px;
  color: #555868;
  font-size: 11px;
}
.form-error {
  font-size: 12px;
  color: #f3949c;
  line-height: 1.5;
  margin: 7px 0;
  min-height: 16px;
}
.app-shell {
  display: flex;
  height: 100dvh;
  overflow: hidden;
}
.server-rail {
  width: 72px;
  background: #101115;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 19px 0 16px;
  gap: 14px;
  flex-shrink: 0;
}
.rail-logo {
  width: 43px;
  height: 43px;
  background: transparent;
  color: #b0a1ff;
  font-size: 40px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.rail-divider {
  height: 1px;
  width: 28px;
  background: #ffffff0c;
  margin: 4px 0 2px;
}
.server-button {
  position: relative;
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: #a396ff;
  color: #1e1936;
  font-size: 20px;
  font-weight: 700;
}
.server-button.selected:before {
  content: "";
  position: absolute;
  left: -15px;
  top: 12px;
  height: 20px;
  width: 3px;
  background: #c7bfff;
  border-radius: 0 3px 3px 0;
}
.server-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #111216;
  position: absolute;
  right: -3px;
  bottom: 0;
}
.rail-add {
  height: 40px;
  width: 40px;
  background: #1b1d25;
  border-radius: 50%;
  color: #7f8294;
  display: grid;
  place-items: center;
}
.rail-add:hover {
  background: #a396ff22;
  color: #b7aaff;
}
.rail-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: center;
}
.rail-help {
  background: none;
  color: #63677b;
}
.self-avatar {
  width: 35px;
  height: 35px;
  border: 1px solid #a396ff37;
  border-radius: 50%;
  background: #342e45;
  color: #c2afff;
  font-weight: 650;
  font-size: 13px;
}
.channels-panel {
  width: 239px;
  flex-shrink: 0;
  background: #16171d;
  border-right: 1px solid #ffffff06;
  display: flex;
  flex-direction: column;
}
.workspace-title {
  height: 77px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace-icon {
  width: 31px;
  height: 31px;
  border: 1px solid #ffffff0c;
  border-radius: 9px;
  background: #262630;
  display: grid;
  place-items: center;
  font-weight: 650;
  color: #d0c8ee;
}
.workspace-title strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.workspace-title span:not(.workspace-chevron) {
  font-size: 10px;
  color: #6e7183;
  display: block;
  margin-top: 4px;
}
.workspace-chevron {
  margin-left: auto;
  color: #7b7d8e;
}
.workspace-chevron .icon {
  width: 14px;
}
.quick-search {
  background: #101116;
  border: 1px solid #ffffff05;
  border-radius: 7px;
  padding: 10px 9px;
  color: #747789;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  margin: 0 14px 27px;
}
.quick-search .icon {
  width: 14px;
  height: 14px;
}
.quick-search kbd {
  font-size: 9px;
  color: #646779;
  padding: 2px 4px;
  border: 1px solid #ffffff0b;
  border-radius: 3px;
  margin-left: auto;
}
.channel-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 8px 20px;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #74788b;
  font-weight: 650;
}
.channel-section-label .icon-btn {
  width: 20px;
  height: 20px;
  padding: 2px;
}
.channel-section-label .icon {
  width: 14px;
  height: 14px;
}
.room-list {
  padding: 0 10px;
  max-height: 55vh;
  overflow-y: auto;
}
.channel {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  background: none;
  color: #85899b;
  border-radius: 7px;
  margin: 3px 0;
  font-size: 12px;
  font-weight: 500;
}
.channel:hover {
  background: #ffffff04;
  color: #c3c4d2;
}
.channel.selected {
  background: #a396ff12;
  color: #c5bcff;
}
.channel.selected:before {
  content: "";
  position: absolute;
  left: -10px;
  top: 11px;
  bottom: 11px;
  width: 2px;
  background: #a396ff;
}
.channel .hash {
  font-size: 20px;
  color: #696c7d;
  line-height: 1;
}
.channel.selected .hash {
  color: #ad9fff;
}
.channel-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.channel .unread {
  margin-left: auto;
  font-size: 9px;
  min-width: 17px;
  height: 17px;
  background: #a396ff;
  color: #211b34;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-weight: 700;
}
.sidebar-grow {
  flex: 1;
}
.sidebar-promo {
  margin: 25px 16px 16px;
  border: 1px solid #a396ff19;
  border-radius: 10px;
  background: radial-gradient(ellipse at 0 0, #75609b14, transparent 90%);
  padding: 16px;
}
.promo-mark {
  font-size: 23px;
  color: #b4a4ff;
  display: block;
  margin-bottom: 10px;
}
.sidebar-promo strong {
  font-size: 11px;
  font-weight: 600;
}
.sidebar-promo p {
  font-size: 11px;
  line-height: 1.7;
  color: #777b8f;
  margin: 7px 0 16px;
}
.sidebar-promo button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  color: #b4a5ff;
  padding: 0;
  width: 100%;
  font-size: 10px;
  font-weight: 550;
}
.sidebar-promo .icon {
  width: 14px;
  height: 14px;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  font-size: 9px;
  color: #74788b;
}
.sidebar-footer .live-dot {
  height: 5px;
  width: 5px;
}
.version {
  margin-left: auto;
  color: #515568;
}
.main-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--main);
}
.room-header {
  height: 77px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 11px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.header-hash {
  font-size: 25px;
  color: #6f7284;
  font-weight: 400;
}
.room-header h1 {
  font-size: 15px;
  letter-spacing: -0.25px;
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-divider {
  height: 18px;
  width: 1px;
  background: #ffffff0b;
  margin: 0 5px;
}
.room-header p {
  color: #727688;
  font-size: 11px;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 320px;
}
.header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-left: auto;
}
.connect-button {
  font-size: 10px;
  color: #bbadff;
  background: #a396ff0d;
  border: 1px solid #a396ff24;
  padding: 9px 12px;
  white-space: nowrap;
}
.connect-button:hover {
  background: #a396ff1c;
}
.connect-button .icon {
  width: 14px;
  height: 14px;
}
.room-tabs {
  height: 55px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  padding: 0 27px;
  gap: 27px;
  flex-shrink: 0;
}
.tab {
  background: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #777c90;
  font-size: 11px;
  padding: 0 1px;
  font-weight: 500;
}
.tab .icon {
  width: 15px;
  height: 14px;
}
.tab.active {
  color: #d0c5ff;
}
.tab.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ac9bff;
  border-radius: 2px;
}
.count {
  font-size: 9px;
  background: #ffffff08;
  color: #8d90a1;
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 1px;
}
.tab-spacer {
  flex: 1;
}
.room-private {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #666b7c;
}
.room-private .icon {
  width: 11px;
  height: 11px;
}
.room-body {
  flex: 1;
  min-height: 0;
  display: flex;
}
.conversation {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.chat-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.topic-strip {
  margin: 19px 27px 0;
  background: #ffffff02;
  border: 1px solid #ffffff08;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  flex-shrink: 0;
}
.topic-icon {
  color: #a396ff;
}
.topic-icon .icon {
  width: 12px;
  height: 12px;
}
.topic-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #89839c;
  white-space: nowrap;
  font-weight: 650;
}
.topic-strip p {
  font-size: 10px;
  color: #7e8193;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1.5;
}
.topic-strip .icon-btn {
  margin-left: auto;
  width: 20px;
  height: 20px;
}
.topic-strip .icon-btn .icon {
  width: 12px;
  height: 12px;
}
.message-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #373947 transparent;
  padding: 12px 0 20px;
  overscroll-behavior: contain;
}
.room-intro {
  padding: 40px 30px 23px;
}
.room-intro-icon {
  height: 57px;
  width: 57px;
  background: #a396ff11;
  border: 1px solid #a396ff1e;
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #b5a7ff;
  font-size: 37px;
  margin-bottom: 19px;
}
.room-intro .eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #82798f;
}
.room-intro h2 {
  font-size: 25px;
  letter-spacing: -0.9px;
  font-weight: 550;
  margin: 9px 0;
}
.room-intro p {
  font-size: 12px;
  line-height: 1.8;
  color: #7d8296;
  margin: 0;
  max-width: 450px;
}
.intro-actions {
  display: flex;
  gap: 8px;
  margin-top: 19px;
}
.intro-actions .button {
  font-size: 10px;
  padding: 9px 12px;
}
.intro-actions .icon {
  width: 13px;
  height: 13px;
}
.day-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  color: #676c80;
  font-size: 9px;
}
.day-divider:before,
.day-divider:after {
  content: "";
  height: 1px;
  background: #ffffff08;
  flex: 1;
}
.message {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 13px 29px 10px;
  scroll-margin: 30px;
}
.message:hover {
  background: #ffffff02;
}
.message.own-message {
  background: #a396ff02;
}
.avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 650;
  background: hsl(var(--hue) 20% 24%);
  color: hsl(var(--hue) 50% 78%);
  border: 1px solid hsl(var(--hue) 20% 35% / 0.35);
}
.message-body {
  min-width: 0;
  flex: 1;
}
.message-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 17px;
  flex-wrap: wrap;
}
.author-name {
  font-size: 13px;
  font-weight: 600;
  color: #d2cce3;
}
.bot-tag {
  font-size: 7px;
  letter-spacing: 0.7px;
  color: #aaa0d0;
  background: #a396ff13;
  padding: 3px 5px;
  border-radius: 3px;
  font-weight: 650;
}
.human-tag {
  font-size: 7px;
  color: #80bfa8;
  background: #70d9b210;
  letter-spacing: 0.4px;
  padding: 3px 5px;
  border-radius: 3px;
}
.message-time {
  font-size: 10px;
  color: #555d73;
  margin-left: 3px;
}
.message-kind {
  font-size: 8px;
  color: #b9a1df;
  border: 1px solid #a396ff20;
  padding: 2px 5px;
  border-radius: 3px;
}
.message-text {
  font-size: 14px;
  line-height: 1.85;
  color: #b6b9ca;
  overflow-wrap: anywhere;
  margin-top: 5px;
  white-space: pre-wrap;
}
.message-text strong {
  font-weight: 600;
  color: #e0dce9;
}
.message-text code {
  background: #12141b;
  color: #bdace8;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  padding: 2px 5px;
  border-radius: 4px;
}
.message-text pre {
  background: #121319;
  padding: 14px;
  border: 1px solid #ffffff08;
  border-radius: 7px;
  overflow: auto;
  white-space: pre;
  margin: 10px 0;
}
.message-text pre code {
  padding: 0;
  background: none;
  color: #b8c0d4;
  line-height: 1.7;
}
.reply-ref {
  font-size: 10px;
  color: #89829b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.reply-ref .icon {
  width: 12px;
  height: 12px;
}
.message-actions {
  display: none;
  position: absolute;
  right: 20px;
  top: 5px;
  padding: 2px;
  background: #25262f;
  border: 1px solid #ffffff09;
  border-radius: 6px;
}
.message:hover .message-actions,
.message:focus-within .message-actions {
  display: flex;
}
.message-actions .icon {
  width: 14px;
  height: 14px;
}
.message-recipient {
  font-size: 9px;
  color: #a49acd;
  padding: 2px 0;
}
.composer-wrap {
  padding: 8px 27px 15px;
  flex-shrink: 0;
}
.composer {
  border-radius: 10px;
  background: #24252e;
  border: 1px solid #ffffff0b;
  box-shadow: 0 4px 20px #0000000a;
  padding: 13px 14px 10px;
}
.composer:focus-within {
  border-color: #a396ff40;
}
.composer textarea {
  resize: none;
  border: none !important;
  color: #ddd9eb;
  background: transparent;
  display: block;
  width: 100%;
  min-height: 35px;
  max-height: 130px;
  line-height: 1.7;
  padding: 0;
  font-size: 13px;
  scrollbar-width: thin;
}
.composer textarea::placeholder {
  color: #686e82;
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
}
.composer-options {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6f7588;
  min-width: 0;
}
.composer-options select {
  color: #8e93a7;
  background: transparent;
  border: 0;
  font-size: 9px;
  max-width: 145px;
  padding: 3px 0;
}
.composer-options select option {
  background: #252630;
}
.composer-options > .icon {
  width: 12px;
  height: 12px;
}
.composer-separator {
  height: 12px;
  width: 1px;
  background: #ffffff0a;
  margin: 0 4px;
}
.send-button {
  height: 29px;
  width: 29px;
  display: grid;
  place-items: center;
  background: #aa9bff;
  color: #252033;
  border-radius: 7px;
  flex-shrink: 0;
}
.send-button:hover {
  background: #bfb3ff;
}
.send-button .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.composer-hint {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #535c72;
  margin-top: 10px;
  line-height: 1.5;
}
.composer-hint .icon {
  width: 10px;
  height: 10px;
  vertical-align: -2px;
  margin-left: 3px;
}
.composer-hint kbd {
  color: #6b7287;
}
.hint-dot {
  margin: 0 6px;
}
.reply-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #a396ff10;
  font-size: 10px;
  color: #b2a6d3;
  padding: 4px 9px 4px 13px;
  border-radius: 7px 7px 0 0;
}
.details-panel {
  width: 274px;
  flex-shrink: 0;
  background: #18191f;
  border-left: 1px solid #ffffff06;
  padding: 24px 19px 15px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
}
.details-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.details-top .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #696e82;
}
.details-top h2 {
  font-size: 12px;
  letter-spacing: -0.1px;
  font-weight: 550;
  margin: 10px 0 0;
}
.details-top h2 span {
  font-size: 9px;
  font-weight: 400;
  color: #757b8d;
  margin-left: 6px;
}
.details-top .icon-btn {
  width: 25px;
  height: 25px;
}
.details-top .icon {
  width: 15px;
  height: 15px;
}
.participant {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  background: none;
  padding: 10px 0;
  color: inherit;
}
.participant:hover .participant-name {
  color: #b9abff;
}
.participant-avatar {
  position: relative;
}
.participant-avatar > .avatar {
  height: 29px;
  width: 29px;
  border-radius: 9px;
  font-size: 10px;
}
.presence-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  border: 2px solid #18191f;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  background: #565b6d;
}
.presence-dot.online {
  background: #70d9b2;
}
.participant-name {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #b7b8cc;
}
.participant-role {
  display: block;
  font-size: 10px;
  color: #666e83;
  margin-top: 4px;
  max-width: 155px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.participant > .bot-tag {
  margin-left: auto;
  font-size: 6px;
}
.members-empty {
  padding: 12px 0 5px;
  color: #737a8d;
  font-size: 11px;
  line-height: 1.8;
}
.members-empty button {
  background: none;
  color: #ab9bec;
  padding: 7px 0;
  font-size: 10px;
}
.details-divider {
  height: 1px;
  background: #ffffff08;
  margin: 21px 0 17px;
  flex-shrink: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-heading h3 {
  font-size: 11px;
  font-weight: 550;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.section-heading h3 .icon {
  width: 13px;
  height: 13px;
  color: #7a7890;
}
.section-heading .icon-btn {
  height: 20px;
  width: 20px;
}
.section-heading .icon-btn .icon {
  width: 13px;
  height: 13px;
}
.task-mini {
  width: 100%;
  padding: 11px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: none;
  text-align: left;
  border-bottom: 1px solid #ffffff05;
}
.task-status-dot {
  height: 10px;
  width: 10px;
  border: 1.5px solid #77768b;
  border-radius: 3px;
  margin-top: 3px;
  flex-shrink: 0;
}
.task-status-dot.working {
  border-color: #b29aff;
  background: #b29aff36;
}
.task-status-dot.done {
  border-color: #70d9b2;
  background: #70d9b240;
}
.task-status-dot.needs_input {
  border-color: #e1ba80;
}
.task-mini-title {
  display: block;
  color: #a7aabe;
  font-size: 12px;
  line-height: 1.6;
}
.task-mini-meta {
  display: block;
  color: #777f95;
  font-size: 10px;
  margin-top: 5px;
}
.empty-tasks {
  border: 1px dashed #ffffff0c;
  border-radius: 8px;
  padding: 17px 13px;
  text-align: center;
  font-size: 10px;
  color: #646d83;
  line-height: 1.8;
}
.empty-tasks .icon {
  display: block;
  margin: 0 auto 9px;
  color: #565f76;
  width: 19px;
  height: 19px;
}
.details-grow {
  flex: 1;
  min-height: 22px;
}
.connection-card {
  position: relative;
  padding: 14px 13px;
  border: 1px solid #ffffff08;
  border-radius: 9px;
  background: radial-gradient(ellipse at 80% 0, #9b82bd0c, transparent 90%);
  margin-top: 20px;
}
.connection-card-icon {
  color: #9c90c3;
  margin-bottom: 9px;
}
.connection-card-icon .icon {
  width: 20px;
  height: 20px;
}
.connection-card strong {
  font-size: 10px;
  font-weight: 550;
  color: #aca8bd;
}
.connection-card p {
  font-size: 9px;
  line-height: 1.8;
  color: #676e84;
  margin: 7px 0 14px;
}
.connection-card > span {
  font-size: 8px;
  color: #789f92;
  display: flex;
  align-items: center;
  gap: 6px;
}
.connection-card .live-dot {
  height: 4px;
  width: 4px;
}
.details-footnote {
  margin-top: 14px;
  font-size: 7px;
  color: #565f73;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 5px;
}
.details-footnote .icon {
  width: 10px;
  height: 10px;
}
.search-bar {
  padding: 12px 27px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  background: #a396ff04;
}
.search-bar > .icon {
  color: #9b8dd0;
  width: 15px;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: var(--text);
  border: 0;
  font-size: 12px;
}
.search-bar > span {
  font-size: 10px;
  color: #757b91;
}
.load-older {
  display: block;
  margin: 7px auto 15px;
  background: #ffffff05;
  color: #9398ae;
  border: 1px solid #ffffff09;
  border-radius: 7px;
  font-size: 10px;
  padding: 9px 13px;
}
.content-pane {
  overflow: auto;
  flex: 1;
  padding: 32px;
}
.pane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.pane-heading h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  font-weight: 550;
  margin: 0;
}
.pane-heading p {
  font-size: 12px;
  color: #82889f;
  margin: 9px 0 0;
}
.task-card {
  border: 1px solid #ffffff0a;
  border-radius: 10px;
  padding: 18px;
  background: #ffffff02;
  margin-bottom: 12px;
}
.task-card-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.task-card h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 0;
  line-height: 1.6;
}
.task-card p {
  font-size: 12px;
  color: #898fa5;
  line-height: 1.8;
  white-space: pre-wrap;
}
.task-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #676f87;
  font-size: 10px;
  margin-top: 15px;
}
.status-badge {
  font-size: 8px;
  padding: 4px 7px;
  background: #a396ff10;
  color: #a79acd;
  border: 1px solid #a396ff12;
  border-radius: 4px;
  white-space: nowrap;
}
.status-badge.done {
  color: #82c8ac;
  background: #70d9b210;
  border-color: #70d9b220;
}
.status-badge.working {
  color: #c0a9f5;
}
.status-badge.needs_input {
  color: #d5b98d;
  background: #d5b98d0e;
}
.about-card {
  background: #ffffff02;
  border: 1px solid #ffffff09;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 18px;
}
.about-card h3 {
  font-size: 12px;
  margin: 0 0 13px;
  font-weight: 600;
}
.about-card p {
  font-size: 12px;
  line-height: 1.85;
  color: #8e94ab;
  white-space: pre-wrap;
}
.code-block {
  font:
    11px/1.8 ui-monospace,
    SFMono-Regular,
    monospace;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #111319;
  border: 1px solid #ffffff0a;
  border-radius: 7px;
  padding: 15px;
  color: #afa8c6;
  max-height: 300px;
}
.export-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.export-links a {
  text-decoration: none;
}
.search-empty {
  padding: 70px 25px;
  text-align: center;
  color: #7b8298;
  font-size: 13px;
}
.search-empty > .icon {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto 15px;
  color: #766b98;
}
.mobile-only {
  display: none;
}
dialog {
  color: var(--text);
  background: #1b1c24;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  padding: 0;
  max-width: 520px;
  width: calc(100vw - 32px);
  max-height: 90dvh;
  box-shadow: 0 25px 100px #0008;
}
dialog::backdrop {
  background: #08090dbb;
  backdrop-filter: blur(5px);
}
.modal-head {
  padding: 26px 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.modal-head h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 550;
  margin: 5px 0 8px;
}
.modal-head p {
  font-size: 12px;
  line-height: 1.7;
  color: #7b8298;
  margin: 0;
}
.modal-head .eyebrow {
  font-size: 8px;
  color: #9a8cbe;
}
.modal-body {
  padding: 24px 28px 28px;
}
.modal-form label {
  font-size: 11px;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
  font-size: 12px;
  background: #14151c;
  padding: 11px 12px;
}
.modal-form textarea {
  resize: vertical;
  min-height: 85px;
  line-height: 1.7;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}
.form-help {
  font-size: 10px;
  color: #686f86;
  line-height: 1.8;
  margin: 8px 0;
}
.modal-info {
  background: #a396ff0a;
  border: 1px solid #a396ff1a;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.8;
  color: #a8a0c0;
  margin-bottom: 20px;
}
.copy-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 20px;
}
.copy-row .code-block {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 10px;
}
.copy-row .button {
  font-size: 10px;
  padding: 9px;
}
.copy-label {
  font-size: 10px;
  color: #9691aa;
  display: block;
  margin-top: 15px;
}
.credentials-warning {
  font-size: 11px;
  line-height: 1.8;
  color: #c7b69b;
  background: #cba4760c;
  border: 1px solid #cba47620;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.connect-methods {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.connect-methods .button {
  font-size: 10px;
  padding: 8px 12px;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 23px;
}
.profile-hero .avatar {
  height: 48px;
  width: 48px;
  border-radius: 15px;
  font-size: 18px;
}
.profile-hero h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.profile-hero p {
  font-size: 11px;
  color: #7b8298;
  margin: 0;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #33303e;
  border: 1px solid #b1a2d52b;
  color: #ddd5ed;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 12px;
  box-shadow: 0 10px 35px #0005;
  max-width: 90vw;
  text-align: center;
}
.toast.error {
  background: #3e252b;
  color: #f0bbc2;
  border-color: #f58b9d22;
}
.invite-heading {
  font-size: 16px;
  color: #c5b8ed;
  margin-bottom: 15px;
}
.skeleton {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  color: #a396ff;
  font-size: 40px;
}
.empty-state-icon {
  color: #7d729b;
  margin-bottom: 12px;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background: #343745;
  border-radius: 5px;
}
::selection {
  background: #a396ff40;
  color: #eee9ff;
}
@media (min-width: 1600px) {
  .details-panel {
    width: 310px;
    padding-left: 25px;
    padding-right: 25px;
  }
  .channels-panel {
    width: 255px;
  }
  .room-header p {
    max-width: 500px;
  }
  .message-text {
    font-size: 14px;
  }
  .room-intro h2 {
    font-size: 29px;
  }
}
@media (max-width: 1200px) {
  .details-panel {
    width: 235px;
    padding: 22px 15px;
  }
  .channels-panel {
    width: 211px;
  }
  .room-header {
    padding: 0 22px;
  }
  .room-header p {
    max-width: 140px;
  }
  .room-tabs {
    gap: 20px;
    padding: 0 22px;
  }
  .room-private {
    display: none;
  }
  .composer-hint > span:last-child {
    display: none;
  }
  .topic-label {
    display: none;
  }
  .workspace-title {
    padding: 0 15px;
  }
  .sidebar-promo {
    padding: 13px;
    margin: 15px 12px;
  }
  .message {
    padding-left: 24px;
    padding-right: 24px;
  }
  .topic-strip {
    margin-left: 22px;
    margin-right: 22px;
  }
  .composer-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (max-width: 1020px) {
  .details-panel {
    display: none;
  }
  .details-panel.open {
    display: flex;
    position: absolute;
    right: 0;
    top: 132px;
    bottom: 0;
    z-index: 15;
    width: 275px;
    box-shadow: -15px 0 50px #0005;
  }
  .room-header p {
    max-width: 230px;
  }
  .login-story {
    padding: 32px;
  }
  .login-form-wrap {
    padding: 30px;
    max-width: 380px;
  }
  .login-footer {
    font-size: 7px;
  }
  .login-footer > span {
    display: none;
  }
}
@media (max-width: 760px) {
  .server-rail {
    width: 58px;
    padding-top: 18px;
  }
  .server-button {
    width: 37px;
    height: 37px;
    border-radius: 12px;
    font-size: 17px;
  }
  .server-button.selected:before {
    left: -11px;
  }
  .rail-logo {
    font-size: 35px;
  }
  .channels-panel {
    width: 190px;
  }
  .workspace-title {
    height: 65px;
    padding: 0 13px;
    gap: 7px;
  }
  .workspace-title strong {
    font-size: 10px;
  }
  .workspace-title span:not(.workspace-chevron) {
    font-size: 9px;
  }
  .workspace-chevron {
    display: none;
  }
  .workspace-icon {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .room-header {
    height: 65px;
    padding: 0 17px;
  }
  .room-header p,
  .header-divider {
    display: none;
  }
  .room-header h1 {
    font-size: 13px;
    max-width: 180px;
  }
  .room-tabs {
    height: 49px;
    gap: 19px;
    padding: 0 20px;
  }
  .connect-button {
    padding: 8px;
    font-size: 9px;
  }
  .connect-button .icon {
    width: 12px;
  }
  .header-actions {
    gap: 3px;
  }
  .header-actions > #edit-room {
    display: none;
  }
  .room-intro {
    padding: 27px 23px 15px;
  }
  .room-intro h2 {
    font-size: 23px;
  }
  .room-intro p {
    font-size: 11px;
  }
  .message {
    padding-left: 19px;
    padding-right: 19px;
    gap: 9px;
  }
  .avatar {
    height: 28px;
    width: 28px;
    border-radius: 9px;
  }
  .message-text {
    font-size: 13px;
  }
  .message-meta {
    gap: 5px;
  }
  .author-name {
    font-size: 11px;
  }
  .message-time {
    font-size: 8px;
  }
  .topic-strip {
    margin: 15px 17px 0;
  }
  .composer-wrap {
    padding: 8px 17px 12px;
  }
  .composer-options select {
    font-size: 8px;
    max-width: 95px;
  }
  .details-panel.open {
    top: 114px;
  }
  .login-view {
    grid-template-columns: 1fr;
  }
  .login-story {
    display: none;
  }
  .login-panel {
    min-height: 100dvh;
  }
  .login-form-wrap {
    max-width: 420px;
    padding: 35px;
  }
  .login-form-wrap h2 {
    font-size: 29px;
  }
  .quick-search kbd {
    display: none;
  }
  .tab {
    font-size: 10px;
  }
  .tab .icon {
    width: 12px;
    height: 12px;
  }
  .content-pane {
    padding: 24px 20px;
  }
}
@media (max-width: 580px) {
  .server-rail {
    display: none;
  }
  .channels-panel {
    display: none;
  }
  .channels-panel.open {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 20;
    width: 230px;
    box-shadow: 15px 0 70px #000a;
  }
  .mobile-only {
    display: inline-flex;
  }
  .room-header {
    gap: 7px;
    height: 62px;
    padding: 0 11px;
  }
  .header-hash {
    font-size: 21px;
  }
  .room-header h1 {
    max-width: 140px;
    font-size: 13px;
  }
  .connect-button > span:last-child {
    display: none;
  }
  .connect-button {
    padding: 8px;
  }
  .connect-button .icon {
    width: 16px;
    height: 16px;
  }
  .header-actions .icon-btn {
    width: 28px;
  }
  .room-tabs {
    gap: 25px;
    padding: 0 20px;
  }
  .room-intro {
    padding-top: 25px;
  }
  .room-intro h2 {
    font-size: 24px;
  }
  .message-text {
    font-size: 12px;
  }
  .message {
    padding: 12px 17px;
  }
  .topic-strip p {
    font-size: 9px;
  }
  .topic-strip {
    margin-left: 17px;
    margin-right: 17px;
  }
  .composer {
    padding: 12px;
  }
  .composer textarea {
    font-size: 12px;
  }
  .composer-options select {
    max-width: 110px;
    font-size: 9px;
  }
  .composer-options {
    gap: 5px;
  }
  .message-actions {
    display: flex;
    position: static;
    background: transparent;
    border: none;
    align-self: flex-start;
    padding: 0;
    margin-left: -5px;
  }
  .message-actions .icon-btn {
    width: 23px;
    height: 23px;
  }
  .message-actions .copy-message {
    display: none;
  }
  .details-panel.open {
    top: 111px;
    max-width: 90vw;
  }
  .modal-head {
    padding: 22px 22px 0;
  }
  .modal-body {
    padding: 20px 22px 24px;
  }
  .modal-head h2 {
    font-size: 21px;
  }
  .pane-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .pane-heading h2 {
    font-size: 21px;
  }
  .pane-heading .button {
    font-size: 10px;
    padding: 9px;
  }
  .search-bar {
    padding: 10px 17px;
  }
  .profile-hero {
    gap: 10px;
  }
}
