/* ATAD Chat – gate + workspace shell (from One dashboard chat layout) */

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #eef1f6;
  color: #0b1a2e;
  font-size: 14px;
}
[hidden] { display: none !important; }

/* ── Login gate ── */
.gate {
  height: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.35), rgba(8, 16, 28, 0.45)),
    url("assets/images/atad-login-bg-2026.jpg") center / cover no-repeat;
  background-color: #0b1a2e;
}
.gate-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 28px 24px 24px;
  width: min(400px, 100%);
  border: 1px solid rgba(11, 26, 46, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.gate-brand {
  margin: 0 0 8px;
  font-size: clamp(26px, 5.5vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #0b1a2e;
  text-align: center;
}
.gate-lead {
  margin: 0 0 18px;
  color: #5c6f8a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}
.gate-error {
  margin: 0 0 12px;
  color: #c8341b;
  font-size: 12px;
  text-align: left;
}
.gate-card .login-form {
  text-align: left;
}
.login-form label { display: block; font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.login-form input {
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid rgba(11,26,46,.15);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}
.login-pass-wrap {
  position: relative;
  margin-bottom: 12px;
}
.login-pass-wrap input {
  margin-bottom: 0;
  padding-right: 42px;
}
.login-pass-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5c6f8a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.login-pass-toggle:hover {
  color: #0b1a2e;
  background: rgba(11, 26, 46, 0.06);
}
.login-pass-toggle[aria-pressed="true"] {
  color: #1a5fcc;
}
.login-form > button[type="submit"] {
  width: 100%;
  border: 0;
  background: #1a5fcc;
  color: #fff;
  border-radius: 8px;
  padding: 11px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  font-family: inherit;
}
.one-password-form > button[type="submit"] {
  width: 100%;
  border: 0;
  background: #1a5fcc;
  color: #fff;
  border-radius: 8px;
  padding: 11px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  font-family: inherit;
}

/* ── One shell: header + rail + workspace ── */
.one-shell {
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #eef1f6;
}
.one-app-header {
  height: 44px;
  flex-shrink: 0;
  background: #0c1e38;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 40;
  overflow: visible;
}
.one-app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.one-app-brand img {
  width: 20px;
  height: auto;
  border-radius: 3px;
  display: block;
}
.one-app-brand span {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.one-nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}
.one-nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow: visible;
  padding-block: 3px;
}
.one-nav-desktop a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}
.one-nav-desktop a.is-nav-overflow {
  display: none !important;
}
.one-nav-more {
  position: relative;
  flex-shrink: 0;
  margin-left: 2px;
}
.one-nav-more[hidden] { display: none !important; }
.one-nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 4px 10px;
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  cursor: pointer;
}
.one-nav-more-btn:hover,
.one-nav-more-btn[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.one-nav-more-dropdown {
  position: fixed;
  top: 0;
  right: 0;
  min-width: 200px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(11, 26, 46, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11, 26, 46, 0.18);
  padding: 6px;
  z-index: 200;
}
.one-nav-more-dropdown[hidden] { display: none !important; }
.one-nav-more-dropdown .one-apps-dropdown-item {
  width: 100%;
}
.one-nav-desktop a:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.one-nav-desktop a.is-active {
  color: #fff;
  background: rgba(255,255,255,.15);
}
.one-nav-desktop a.one-nav-app {
  position: relative;
  overflow: visible;
}
.one-nav-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.one-nav-desktop a.one-nav-app .one-nav-badge {
  position: static;
  margin-left: 0;
  flex-shrink: 0;
  box-shadow: none;
  transform: none;
}
.one-nav-apps-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
  margin: 0 4px;
}
.one-nav-badge {
  position: absolute;
  top: -2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #e11d48;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1.5px #0c1e38;
  z-index: 1;
  pointer-events: none;
}
.one-nav-badge[hidden] { display: none !important; }
.one-apps-menu {
  position: relative;
  display: none;
}
.one-apps-trigger {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.85);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.one-apps-trigger:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.one-apps-trigger:focus-visible {
  outline: 2px solid #8eb6f5;
  outline-offset: 2px;
}
.one-apps-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(11,26,46,.1);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11,26,46,.18);
  padding: 6px;
  z-index: 50;
}
.one-apps-dropdown[hidden] { display: none !important; }
.one-apps-dropdown-item {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 550;
  color: #0b1a2e;
  cursor: pointer;
  text-align: left;
}
.one-apps-dropdown-item span { flex: 1; min-width: 0; }
.one-apps-dropdown-item .one-nav-label-wrap {
  flex: 1;
  min-width: 0;
}
.one-apps-dropdown-item:hover { background: #f4f7fb; }
.one-apps-dropdown-item.is-active {
  background: #eef4fc;
  color: #1a5fcc;
}
.one-apps-dropdown-item .one-nav-badge {
  position: static;
  box-shadow: none;
  flex-shrink: 0;
  margin-left: 0;
}
.one-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.one-profile-menu { position: relative; }
.one-profile-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
}
.one-profile-trigger:focus-visible {
  outline: 2px solid #8eb6f5;
  outline-offset: 2px;
}
.one-profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #1a5fcc;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.one-profile-avatar.has-img { background: #d6deea; padding: 0; }
.one-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.one-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid rgba(11,26,46,.1);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11,26,46,.18);
  padding: 6px;
  z-index: 50;
}
.one-profile-dropdown[hidden] { display: none !important; }
.one-profile-dropdown button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 6px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 550;
  color: #0b1a2e;
  cursor: pointer;
  text-align: left;
}
.one-profile-dropdown button:hover { background: #f4f7fb; }
.one-profile-dropdown button.is-danger { color: #c8341b; }
.one-profile-dropdown button.is-danger:hover { background: #fde8e4; }

.one-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.one-profile-modal[hidden] { display: none !important; }
.one-profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 28, 0.45);
}
.one-profile-modal-card {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(11, 26, 46, 0.1);
  box-shadow: 0 18px 48px rgba(11, 26, 46, 0.28);
  overflow: hidden;
}
.one-profile-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(11, 26, 46, 0.08);
}
.one-profile-modal-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: #0b1a2e;
}
.one-profile-modal-close {
  border: 0;
  background: #f0f4f9;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3a4d66;
}
.one-profile-modal-close:hover { background: #e4ebf4; }
.one-profile-modal-body {
  padding: 20px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.one-profile-modal-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #1a5fcc;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.one-profile-modal-avatar.has-img { background: #d6deea; padding: 0; }
.one-profile-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.one-profile-modal-fields {
  margin: 0;
  width: 100%;
  display: grid;
  gap: 12px;
}
.one-profile-modal-fields > div {
  display: grid;
  gap: 2px;
}
.one-profile-modal-fields dt {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #7a8ba3;
}
.one-profile-modal-fields dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #0b1a2e;
  word-break: break-word;
}

.one-password-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.one-password-modal[hidden] { display: none !important; }
.one-password-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 28, 0.55);
}
.one-password-modal-card {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(11, 26, 46, 0.1);
  box-shadow: 0 18px 48px rgba(11, 26, 46, 0.28);
  padding: 22px 20px 18px;
}
.one-password-modal-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 650;
  color: #0b1a2e;
}
.one-password-lead {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 400;
  color: #5c6f8a;
  line-height: 1.45;
}
.one-password-form { margin: 0; }
.one-password-logout {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #c8341b;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px;
}
.one-password-logout:hover { text-decoration: underline; }

.one-workspace {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  position: relative;
  background: #eef1f6;
  overflow: hidden;
}

.one-pane-backdrop { display: none; }

.one-pane {
  width: 300px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid rgba(11,26,46,.09);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.one-pane.is-hidden { display: none !important; }

.one-pane-head {
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(11,26,46,.08);
  flex-shrink: 0;
}
.one-pane-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.one-pane-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(11,26,46,.12);
  background: #f4f7fb;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  outline: none;
  font-family: inherit;
}
.one-pane-search:focus { border-color: #1a5fcc; background: #fff; }
.one-pane-list { flex: 1; overflow: auto; min-height: 0; }

.one-row {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(11,26,46,.05);
  color: inherit;
  font-family: inherit;
}
.one-row:hover { background: #f4f7fb; }
.one-row.is-active { background: #e8f0fc; }
.one-row-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #b20101;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.one-row-avatar.is-person { border-radius: 999px; background: #1a5fcc; }
.one-row-avatar.has-img {
  background: #d6deea;
  padding: 0;
}
.one-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.one-row-main { min-width: 0; flex: 1; }
.one-row-top, .one-row-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.one-row-name {
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.one-row-time, .one-row-preview {
  font-size: 11px;
  color: #5c6f8a;
}
.one-row-preview {
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.one-row .one-row-name { font-weight: 500; color: #0b1a2e; }
.one-row.is-unread .one-row-name { font-weight: 700; color: #0b1a2e; }
.one-row.is-unread .one-row-preview { color: #0b1a2e; font-weight: 600; }
.one-row.is-active:not(.is-unread) .one-row-name { color: #1a5fcc; font-weight: 600; }
.one-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #1a5fcc;
  flex-shrink: 0;
}

.one-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #eef1f6;
}
.one-stage-view {
  display: none;
  flex: 1;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
}
.one-stage-view.is-active { display: flex; }

.one-chat-head {
  height: 52px;
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid rgba(11,26,46,.09);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}
.one-back {
  display: none;
  border: 0;
  background: #f0f3f8;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0c1e38;
}
.one-chat-log-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #eef1f6;
}
.one-chat-log-wrap.has-history-btn .one-chat-log {
  padding-top: 46px;
}
.one-chat-log {
  flex: 1;
  overflow: auto;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.one-chat-scroll-down {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 8;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(11, 26, 46, 0.1);
  background: #fff;
  color: #1a5fcc;
  box-shadow: 0 4px 16px rgba(11, 26, 46, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.one-chat-scroll-down[hidden] {
  display: none !important;
}
.one-chat-scroll-down:hover {
  background: #f4f8ff;
  transform: translateX(-50%) translateY(-1px);
}
.one-chat-scroll-down:focus-visible {
  outline: 2px solid #8eb6f5;
  outline-offset: 2px;
}
.one-bubble-who { font-size: 10px; color: #5c6f8a; font-weight: 600; }
.one-bubble-time { font-size: 10px; color: #8aa; }

.one-composer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 8px 12px 10px;
  background: #fff;
  border-top: 1px solid rgba(11,26,46,.09);
}
.one-composer-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
}
#one-chat-input {
  flex: 1;
  border: 1px solid rgba(11,26,46,.12);
  background: #f4f7fb;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 13px;
  line-height: 1.45;
  outline: none;
  min-width: 0;
  min-height: 38px;
  max-height: 140px;
  resize: none;
  overflow-y: auto;
  font-family: inherit;
}
#one-chat-input:focus { border-color: #1a5fcc; background: #fff; }
.one-composer-row > button[type="submit"] {
  border: 0;
  background: #1a5fcc;
  color: #fff;
  border-radius: 6px;
  padding: 0 14px;
  height: 38px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}

.one-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.one-empty-card {
  max-width: 360px;
  background: #fff;
  border: 1px solid rgba(11,26,46,.09);
  border-radius: 8px;
  padding: 22px 18px;
}
.one-empty-card h2 { margin: 8px 0 4px; font-size: 16px; }
.one-empty-card p { margin: 0; font-size: 12px; color: #5c6f8a; line-height: 1.5; }

.one-info-panel {
  width: 300px;
  flex-shrink: 0;
  background: #fff;
  border-left: 1px solid rgba(11,26,46,.09);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.one-info-panel[hidden] { display: none !important; }
.one-info-head {
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(11,26,46,.09);
}
.one-info-head strong { font-size: 13px; }
.one-info-scroll {
  flex: 1;
  overflow: auto;
  min-height: 0;
  padding: 12px;
}
.one-info-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 4px 14px;
  border-bottom: 1px solid rgba(11,26,46,.08);
  margin-bottom: 12px;
}
.one-info-profile .one-row-avatar {
  width: 64px;
  height: 64px;
  font-size: 18px;
}
.one-info-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
}
.one-info-avatar-wrap .one-row-avatar {
  width: 64px;
  height: 64px;
}
.one-info-pencil {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  background: #f0f3f8;
  color: #1a5fcc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.one-info-pencil:hover { background: #e4eaf3; }
.one-info-avatar-wrap .one-info-pencil {
  position: absolute;
  right: -4px;
  bottom: -4px;
  background: #1a5fcc;
  color: #fff;
  border: 2px solid #fff;
}
.one-info-avatar-wrap .one-info-pencil:hover { background: #174ea8; }
.one-info-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
}
.one-info-name-row .one-info-profile-name {
  min-width: 0;
}
.one-info-name-edit {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 240px;
}
.one-info-name-edit input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(26,95,204,.45);
  border-radius: 6px;
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: #0b1a2e;
  outline: none;
}
.one-info-profile-name {
  font-size: 15px;
  font-weight: 700;
  color: #0b1a2e;
  word-break: break-word;
}
.one-info-profile-meta,
.one-info-profile-job,
.one-info-profile-dept {
  font-size: 11px;
  font-weight: 400;
  color: #5c6f8a;
}
.one-info-profile-dept {
  margin-top: -2px;
}
.one-info-section {
  margin-bottom: 14px;
}
.one-info-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.one-info-section-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #5c6f8a;
}
.one-info-section-head .one-info-section-title { margin: 0; }
.one-info-add {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: #e8f0fc;
  color: #1a5fcc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.one-info-add:hover { background: #d7e6fa; }
.one-info-member { position: relative; }
.one-info-member-row {
  cursor: default;
  align-items: flex-start;
}
.one-info-member-main {
  min-width: 0;
  flex: 1;
}
.one-info-member-main strong {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  line-height: 1.35;
}
.one-info-member-actions {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  align-self: flex-start;
  z-index: 1;
}
.one-info-member-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #5c6f8a;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s;
}
.one-info-member-row:hover .one-info-member-menu,
.one-info-member-menu:focus { opacity: 1; }
.one-info-member-menu:hover { background: #e4eaf3; }
.one-info-member-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  min-width: 180px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(11, 26, 46, 0.12);
}
.one-info-member-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border: none;
  background: none;
  text-align: left;
  font-size: 12px;
  color: #1a2740;
  cursor: pointer;
}
.one-info-member-dropdown button:hover { background: #eef4fc; }
@media (hover: none) {
  .one-info-member-menu { opacity: 1; }
}
.one-info-member-remove {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c8341b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  opacity: 0;
}
.one-info-member:hover .one-info-member-remove,
.one-info-member-remove:focus { opacity: 1; background: #fde8e4; }
@media (hover: none) {
  .one-info-member-remove { opacity: 1; }
}
.one-info-empty {
  margin: 0;
  font-size: 12px;
  color: #8aa0b8;
}
.one-info-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.one-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.one-info-row:hover { background: #eef4fc; }
.one-info-row .one-row-avatar {
  width: 32px;
  height: 32px;
  font-size: 10px;
}
.one-info-row-main { min-width: 0; flex: 1; }
.one-info-row-main strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.one-info-row-main span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #5c6f8a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.one-info-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.one-info-media-grid button {
  border: 0;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
  background: #e8eef6;
}
.one-info-media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.one-info-file,
.one-info-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  border: 1px solid rgba(11,26,46,.06);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 4px;
}
.one-info-file:hover,
.one-info-link:hover {
  background: #eef4fc;
  border-color: rgba(26,95,204,.25);
}
.one-info-file-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
  background: #5c6f8a;
}
.one-info-danger {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(11,26,46,.08);
}
.one-info-danger-btn {
  width: 100%;
  border: 1px solid rgba(200,52,27,.35);
  background: #fff;
  color: #c8341b;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}
.one-info-danger-btn:hover { background: #fde8e4; }
.one-info-danger-btn + .one-info-danger-btn { margin-top: 8px; }

@media (max-width: 1100px) {
  .one-nav-desktop a span,
  .one-nav-desktop a {
    font-size: 11px;
    padding: 4px 8px;
  }
}

@media (max-width: 900px) {
  .one-nav-desktop { display: none; }
  .one-nav-divider { display: none; }
  .one-apps-menu { display: block; }
  .one-pane {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    width: min(340px, 100%);
    max-width: 100%;
    transform: translateX(calc(-100% - 24px));
    visibility: hidden;
    pointer-events: none;
    transition: transform .18s ease, visibility 0s linear .18s;
    box-shadow: 8px 0 28px rgba(11,26,46,.18);
  }
  #app.is-pane-open .one-pane,
  .one-workspace.is-pane-open .one-pane {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .18s ease, visibility 0s;
  }
  .one-pane-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    left: 0;
    background: rgba(8,16,28,.35);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }
  #app.is-pane-open .one-pane-backdrop,
  .one-workspace.is-pane-open .one-pane-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .one-info-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 26;
    width: min(320px, 100%);
    box-shadow: -8px 0 28px rgba(11,26,46,.18);
  }
  .one-back { display: inline-flex; }
  .one-composer { padding: 8px 10px 10px; }
  #one-chat-input { max-height: 120px; }
}

@media (max-width: 480px) {
  .one-composer-row > button[type="submit"] { padding: 0 12px; }
  .one-app-header { padding: 0 10px; }
}
