@font-face {
  font-family: Geist;
  src: url("/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f8f9fc;
  --surface: #fff;
  --ink: #20232d;
  --muted: #666c7d;
  --line: #e5e7ef;
  --action: #305dd9;
  --wash: #f0f4ff;
  --warning: #685323;
  --warning-bg: #fbf7ed;
  --radius: 12px;
  font-family: Geist, system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
  scrollbar-color: #bcc4d6 transparent;
  scrollbar-width: thin;
}
body {
  margin: 0;
  min-height: 100dvh;
  /* Continue the navigation surface through the entire document. */
  background: linear-gradient(to right, #181c27 224px, var(--paper) 224px);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.primary {
  cursor: pointer;
}
button,
input,
select,
textarea,
.primary {
  border: 1px solid #ccd1dd;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
}
button {
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}
button:hover {
  background: #f4f6fb;
  border-color: #abb6d1;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 550;
}
.primary:hover {
  background: #244cb9;
  border-color: #244cb9;
  color: #fff;
}
a {
  color: var(--action);
  text-underline-offset: 3px;
}
:is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid #6586e9;
  outline-offset: 3px;
}
::selection {
  background: #dce6ff;
  color: #183c99;
}
input,
textarea {
  caret-color: var(--action);
}
input::placeholder,
textarea::placeholder {
  color: #727788;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 550;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
small,
.muted {
  color: var(--muted);
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  height: 100dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #181c27;
  color: #c3c8d8;
  padding: 28px 18px 20px;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  color: #fafbff;
  padding: 0 4px;
}
.brand-mark {
  width: 34px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #a8bdff;
}
.brand-mark svg {
  width: 30px;
  height: 30px;
}
.brand-name {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name > span {
  display: block;
  color: #a3acc1;
  font-size: 12px;
  font-weight: 450;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 50px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  background: transparent;
  color: #aeb7ca;
  font-size: 13px;
  font-weight: 450;
}
nav button:hover {
  background: #242b3a;
  color: #f5f7ff;
}
nav button[aria-current="page"] {
  background: #2e3c64;
  color: #f2f5ff;
}
.sidebar-credit {
  font-size: 11px;
  line-height: 1.65;
  color: #a4adc2;
  margin-top: auto;
  padding: 24px 8px;
}
#identity {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 4px 0;
  border-top: 1px solid #343b4b;
  font-size: 11px;
}
#identity > span {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
#identity button {
  background: transparent;
  color: #c8d0e0;
  border-color: #424b60;
  font-size: 11px;
  padding: 7px 8px;
  white-space: nowrap;
}
.policy-banner {
  margin-left: 224px;
  min-height: 53px;
  display: flex;
  align-items: center;
  padding: 12px 38px;
  font-size: 11px;
  line-height: 1.5;
  color: #5e6679;
  background: white;
  border-bottom: 1px solid var(--line);
}
#feedback {
  margin-left: 224px;
  background: #edf3ff;
  color: #244cb9;
  padding: 0 38px;
  font-size: 13px;
}
#feedback:not(:empty) {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
#feedback.error {
  background: #fbeeee;
  color: #973c3c;
}
main {
  margin-left: 224px;
  max-width: 1800px;
  padding: 40px 38px 64px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.page-heading p {
  margin-top: 10px;
  font-size: 14px;
}
.people-heading button {
  padding: 12px 18px;
}
.people-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
}
.directory-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
}
.directory-tabs > strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 550;
}
.directory-tabs > .muted {
  font-size: 12px;
}
.count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  font-size: 11px;
  border-radius: 5px;
  color: #5a6582;
  background: #e9edf6;
}
.directory-search {
  width: 230px;
}
.directory-search input {
  background: #fff;
  padding: 10px 12px;
  font-size: 12px;
}
.people-grid {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: auto;
}
.directory {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}
.directory th {
  color: #6b7489;
  font-size: 12px;
  font-weight: 500;
  background: #fcfcfe;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.directory th:first-child {
  width: 27%;
}
.directory th:nth-child(2) {
  width: 26%;
}
.directory th:nth-child(3) {
  width: 18%;
}
.directory th:nth-child(4) {
  width: 13%;
}
.directory th:last-child {
  width: 16%;
}
.directory td {
  padding: 22px 20px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.directory tr:last-child td {
  border-bottom: 0;
}
.directory tbody tr:hover {
  background: #fafbff;
}
.person-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #e5ebff;
  color: #4a5f9f;
  display: grid;
  place-items: center;
  font-weight: 550;
  font-size: 13px;
}
.directory tr:nth-child(3n + 2) .avatar {
  background: #f1eaf5;
  color: #7a5485;
}
.directory tr:nth-child(3n) .avatar {
  background: #e5eef2;
  color: #4d7485;
}
.person-head > div {
  min-width: 0;
}
.person-title {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.person-title strong {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.person-email {
  display: block;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.role {
  font-size: 11px;
  line-height: 1.4;
  padding: 3px 5px;
  border-radius: 4px;
  background: #f0f2f7;
  color: #56627b;
  text-transform: capitalize;
}
.account-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.account-tags span {
  font-size: 12px;
  border: 1px solid #e4e8f4;
  border-radius: 5px;
  padding: 4px 6px;
  overflow-wrap: anywhere;
}
.account-tags .muted {
  border: 0;
  padding: 0;
}
.device-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 5px 0;
}
.device-row > div {
  flex: 1;
  min-width: 90px;
}
.device-row strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.device-row small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}
.device-row > .icon {
  width: 17px;
  height: 17px;
  color: #7b869e;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #687389;
}
.status:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a2aabd;
}
.status.online:before {
  background: #39846c;
}
.status.online {
  color: #286a55;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--action);
  font-size: 12px;
  padding: 5px 0;
}
.text-button:hover {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.device-row .text-button {
  font-size: 12px;
}
.person-actions .connect-button {
  font-size: 12px;
  padding: 7px 9px;
  white-space: nowrap;
}
.person-actions .text-button {
  display: block;
  font-size: 12px;
  margin-top: 8px;
}
.connection-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0f2f8;
  max-height: 184px;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 28px;
  padding: 24px 30px;
  gap: 24px;
}
.connection-note h2 {
  font-size: 19px;
}
.connection-note p {
  font-size: 12px;
  margin: 9px 0 12px;
  max-width: 48ch;
}
.connection-note img {
  height: 184px;
  width: 260px;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.add-person-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin: 0 0 24px;
  max-width: 560px;
}
.dialog-form {
  display: grid;
  gap: 18px;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-heading button {
  border: 0;
  font-size: 12px;
}
.dialog-form p,
.dialog-form small {
  font-size: 12px;
}
.add-person-panel:not([hidden]) {
  animation: unfold 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes unfold {
  from {
    clip-path: inset(0 0 80%);
    transform: translateY(-4px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}
.search {
  display: flex;
  gap: 12px;
  align-items: end;
  padding-bottom: 24px;
}
.search-field {
  flex: 1;
  min-width: 160px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
label input,
label select,
label textarea {
  font-size: 15px;
  font-weight: 400;
  width: 100%;
}
.search label:not(.search-field) {
  width: 160px;
}
.search button {
  min-height: 44px;
}
.workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  min-height: 570px;
}
aside {
  border-right: 1px solid var(--line);
  min-width: 0;
  background: #fbfcff;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.list-heading h2 {
  font-size: 16px;
}
.list-heading span {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.session-link {
  width: 100%;
  text-align: left;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  background: transparent;
}
.session-link[aria-current="true"] {
  background: #f0f4ff;
  box-shadow: inset 0 0 0 1px #b8caf8;
}
.session-link strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.session-link .preview {
  margin: 9px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.session-link .meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}
#more-sessions {
  margin: 16px;
}
#conversation {
  padding: 30px 36px;
  min-width: 0;
}
.empty {
  max-width: 50ch;
  margin: 72px auto;
  padding: 0 20px;
}
.empty h2 {
  margin-bottom: 10px;
}
.session-title {
  overflow-wrap: anywhere;
}
.facts {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
  font-variant-numeric: tabular-nums;
}
.notice {
  background: var(--warning-bg);
  color: var(--warning);
  padding: 12px 16px;
  border-radius: 9px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.5;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.actions button,
.message-head button {
  font-size: 13px;
  padding: 7px 10px;
}
.message {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.message-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.message-head strong {
  font-size: 14px;
  text-transform: capitalize;
}
.message-head small {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.message-head button {
  margin-left: auto;
}
.message-content {
  font:
    400 16px/1.65 Geist,
    system-ui,
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 70ch;
  margin: 0;
}
.message.selected {
  background: #f6f8ff;
  outline: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 16px;
  margin-inline: -16px;
}
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
details p {
  margin-top: 12px;
  max-width: 75ch;
}
details pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  max-height: 480px;
  overflow: auto;
  background: var(--paper);
  padding: 12px;
}
#review-panel {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 16px;
}
#review-panel > p {
  margin-top: 8px;
  font-size: 14px;
}
.review {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.review p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink);
  margin-top: 8px;
  max-width: 70ch;
}
.review small {
  display: block;
  font-size: 13px;
}
.review .rating {
  font-weight: 600;
  color: var(--action);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
  max-width: 800px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.form-grid button {
  justify-self: start;
  align-self: end;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.inline {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 20px 0;
}
.account {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  margin: 16px 0;
}
.account h2 {
  margin-bottom: 6px;
}
.quota {
  margin-top: 12px;
  padding: 12px 0;
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.quota small {
  color: var(--muted);
}
.member {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.member button {
  margin-left: auto;
  font-size: 13px;
}

#login {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 670px;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}
.login-art {
  display: grid;
  align-items: center;
  background: #f0f2f7;
  overflow: hidden;
}
.login-art img {
  width: 150%;
  max-width: none;
  margin-left: -25%;
  height: auto;
}
.login-copy {
  padding: 64px 44px;
  max-width: 510px;
}
.login-copy h1 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.login-copy > p {
  margin: 20px 0 30px;
  font-size: 14px;
}
.login-form {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}
.login-form small {
  font-size: 12px;
}
.sso {
  font-size: 13px;
}
.credit {
  font-size: 12px;
}
footer {
  margin-left: 224px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 38px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.skip {
  position: absolute;
  top: -100px;
  left: 240px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .directory td {
    padding: 24px;
  }
  .person-title strong {
    font-size: 15px;
  }
  .person-email {
    font-size: 12px;
  }
  .device-row strong {
    font-size: 13px;
  }
  .device-row small {
    font-size: 11px;
  }
  .directory th {
    font-size: 12px;
  }
  .person-actions .connect-button {
    font-size: 12px;
  }
  .account-tags span {
    font-size: 12px;
  }
}
@media (max-width: 1200px) {
  body {
    background: linear-gradient(to right, #181c27 200px, var(--paper) 200px);
  }
  header {
    width: 200px;
    padding-inline: 14px;
  }
  main,
  .policy-banner,
  #feedback,
  footer {
    margin-left: 200px;
  }
  main {
    padding: 32px 24px;
  }
  .policy-banner,
  #feedback {
    padding-inline: 24px;
  }
  .directory {
    table-layout: auto;
  }
  .directory th,
  .directory td {
    padding: 18px 14px;
  }
  .directory th:first-child {
    width: 25%;
  }
  .directory th:nth-child(3) {
    width: 16%;
  }
  .person-head {
    gap: 8px;
  }
  .avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .directory th:last-child {
    width: auto;
  }
  .person-title strong {
    font-size: 12px;
  }
  .workspace {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  #conversation {
    padding: 24px;
  }
  .login-copy {
    padding: 36px 28px;
  }
  .login-copy h1 {
    font-size: 32px;
  }
}
@media (max-width: 960px) {
  .directory th:nth-child(3),
  .directory td:nth-child(3) {
    display: none;
  }
  .directory-tabs {
    gap: 12px;
  }
  .connection-note img {
    width: 210px;
  }
  .login-art {
    display: none;
  }
  #login {
    display: block;
    min-height: 0;
  }
  .login-copy {
    margin: auto;
    padding: 44px;
  }
}
@media (max-width: 760px) {
  body {
    background: var(--paper);
  }
  header {
    height: auto;
    overflow-y: visible;
    position: relative;
    width: 100%;
    padding: 18px 16px 12px;
    background: #181c27;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 22px;
  }
  .brand {
    padding: 0;
  }
  .brand-name {
    font-size: 13px;
  }
  .brand-mark {
    width: 28px;
  }
  .brand-name > span {
    font-size: 11px;
  }
  .sidebar-credit {
    display: none;
  }
  nav {
    width: 100%;
    order: 3;
    margin: 0;
    flex-direction: row;
    gap: 4px;
  }
  nav button {
    flex: 1;
    padding: 10px 8px;
    justify-content: center;
    font-size: 11px;
    gap: 6px;
  }
  nav .icon {
    width: 15px;
    height: 15px;
  }
  #identity {
    margin-left: auto;
    border: 0;
    padding: 0;
    max-width: 136px;
    font-size: 12px;
  }
  #identity button {
    font-size: 12px;
    padding: 6px;
  }
  .policy-banner,
  #feedback,
  main,
  footer {
    margin-left: 0;
  }
  .policy-banner {
    padding: 10px 18px;
    font-size: 12px;
    min-height: 0;
  }
  main {
    padding: 28px 16px 40px;
  }
  .page-heading {
    gap: 16px;
    margin-bottom: 24px;
  }
  h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 24ch;
    line-height: 1.6;
    margin-top: 8px;
  }
  .people-heading button {
    font-size: 12px;
    padding: 10px 12px;
    white-space: nowrap;
  }
  .people-toolbar {
    align-items: end;
    gap: 12px;
  }
  .directory-tabs {
    display: block;
  }
  .directory-tabs > .muted {
    font-size: 12px;
    display: block;
    margin-top: 7px;
  }
  .directory-search {
    width: 150px;
  }
  .directory-search input {
    font-size: 11px;
  }
  .directory {
    display: block;
  }
  .directory thead {
    display: none;
  }
  .directory tbody {
    display: block;
  }
  .directory tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 22px 18px;
    border-bottom: 1px solid var(--line);
  }
  .directory tr:last-child {
    border: 0;
  }
  .directory td {
    display: block;
    padding: 0;
    border: 0;
  }
  .directory td:first-child {
    grid-column: 1/-1;
  }
  .directory td:nth-child(2),
  .directory td:nth-child(3) {
    display: block;
    grid-column: 1/-1;
  }
  .directory td:nth-child(2)::before,
  .directory td:nth-child(3)::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: #7a8192;
    margin-bottom: 8px;
  }
  .person-head {
    gap: 12px;
  }
  .avatar {
    height: 40px;
    width: 40px;
  }
  .person-title strong {
    font-size: 14px;
  }
  .person-email {
    font-size: 12px;
  }
  .role {
    font-size: 12px;
  }
  .device-row strong {
    font-size: 12px;
  }
  .device-row small {
    font-size: 11px;
  }
  .device-row {
    gap: 9px;
  }
  .person-actions {
    text-align: right;
  }
  .person-actions .text-button {
    margin-left: auto;
  }
  .person-actions .connect-button {
    font-size: 11px;
  }
  .account-tags span {
    font-size: 11px;
  }
  .connection-note {
    padding: 22px;
    position: relative;
    min-height: 154px;
    gap: 0;
  }
  .connection-note > div {
    position: relative;
    z-index: 1;
    max-width: 62%;
  }
  .connection-note h2 {
    font-size: 17px;
  }
  .connection-note p {
    font-size: 11px;
  }
  .connection-note img {
    position: static;
    width: 112px;
    height: 112px;
    opacity: 1;
    flex-shrink: 0;
    object-fit: cover;
  }
  .search {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .search label:not(.search-field) {
    width: auto;
  }
  .search button {
    grid-column: 1/-1;
  }
  .workspace {
    display: block;
  }
  aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  #session-list {
    max-height: 310px;
    overflow-y: auto;
  }
  #conversation {
    padding: 24px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .inline {
    flex-wrap: wrap;
  }
  .message-head button {
    margin-left: 0;
  }
  .message.selected {
    margin-inline: -8px;
    padding-inline: 8px;
  }
  footer {
    display: block;
    padding: 20px 16px;
    font-size: 12px;
  }
  footer span {
    display: block;
    margin-top: 8px;
  }
  #feedback {
    padding-inline: 16px;
  }
  .login-copy {
    padding: 28px;
  }
  .login-copy h1 {
    font-size: 32px;
  }
  .member {
    flex-wrap: wrap;
  }
  .skip {
    left: 16px;
  }
}
@media (max-width: 760px) {
  nav button {
    font-size: 13px;
    flex-direction: column;
    gap: 7px;
    min-height: 52px;
    padding: 9px 6px;
  }
  nav .icon {
    width: 18px;
    height: 18px;
  }
  .directory td:nth-child(2),
  .directory td:nth-child(3) {
    grid-column: auto;
  }
  .directory .has-devices td:nth-child(2) {
    grid-column: 1/-1;
  }
  .directory td:nth-child(2)::before,
  .directory td:nth-child(3)::before {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .directory td,
  .directory-search input,
  .device-row strong,
  .device-row small,
  .person-email,
  .account-tags span,
  .directory-tabs > .muted {
    font-size: 13px;
  }
  .directory-search input,
  label input,
  label select,
  label textarea {
    font-size: 16px;
    min-height: 44px;
  }
  .directory-search {
    width: 165px;
  }
  .directory .person-actions {
    grid-column: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    align-items: center;
  }
  .person-actions .text-button {
    margin: 0;
    font-size: 13px;
    min-height: 40px;
  }
  .person-actions .connect-button,
  .session-count,
  .device-row .text-button {
    font-size: 13px;
    min-height: 40px;
  }
  .person-title strong {
    font-size: 15px;
  }
  .device-row {
    gap: 10px;
  }
  .status {
    font-size: 12px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .people-heading button {
    font-size: 14px;
    min-height: 44px;
  }
  #identity button {
    min-height: 36px;
    font-size: 12px;
  }
  .search label {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Activity is measured evidence: one shared surface, not decorative score cards. */
.analytics {
  margin: 12px 0 40px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.analytics-heading,
.analytics-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.analytics-heading {
  justify-content: space-between;
}
.analytics-heading h2 {
  margin: 0;
  font-size: 21px;
}
.analytics-controls label {
  margin: 0;
}
.activity-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 18px 0 28px;
  color: var(--muted);
}
.activity-facts strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
  gap: 32px 40px;
}
.analytics-grid h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}
.activity-chart svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 12px;
}
.chart-bar {
  fill: var(--action);
}
.chart-bar:hover {
  fill: #183c9e;
}
.chart-rule {
  stroke: var(--line);
  stroke-width: 1;
}
.chart-label {
  fill: #606879;
  font-size: 11px;
  font-family: inherit;
}
.chart-caption {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.breakdown-row {
  margin: 12px 0;
}
.breakdown-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}
.breakdown-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breakdown-row strong {
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.bar-track {
  height: 5px;
  background: #e8edf6;
  margin-top: 6px;
  border-radius: 2px;
}
.bar-fill {
  display: block;
  height: 100%;
  background: var(--action);
  border-radius: 2px;
}
.bar-fill.unknown {
  background: #7b8495;
}
.chart-coverage {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}
.chart-coverage p {
  max-width: 75ch;
}
.chart-data {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.chart-data th,
.chart-data td {
  text-align: left;
  padding: 5px 8px;
  border-bottom: 1px solid var(--line);
}
.chart-empty {
  padding: 25px 0;
}
#device-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--surface);
}
#device-dialog::backdrop {
  background: rgb(17 23 39 / 48%);
}
#device-dialog .dialog-heading h2 {
  font-size: 25px;
  margin: 0;
}
.setup-steps {
  padding-left: 24px;
  margin: 28px 0;
}
.setup-steps > li {
  padding-left: 8px;
  margin-bottom: 28px;
}
.setup-steps h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.setup-steps p {
  margin: 0 0 12px;
  font-size: 14px;
}
.setup-steps small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.download-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.download-primary {
  display: inline-block;
  background: var(--action);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 550;
}
.download-primary:hover {
  background: #244cb9;
  color: white;
}
#connection-status {
  margin-top: 12px;
}
#device-dialog details {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px;
}
@media (max-width: 760px) {
  .analytics {
    padding: 20px 0;
    margin-bottom: 28px;
  }
  .analytics-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .activity-facts {
    gap: 8px 18px;
  }
  #device-dialog {
    padding: 20px;
  }
  .setup-steps {
    padding-left: 20px;
  }
}
.work-summary {
  margin: 24px 0;
}
.work-summary h3 {
  margin: 0 0 16px;
  font-size: 19px;
}
.work-summary h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.work-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 0;
}
.work-context div:nth-child(2) {
  grid-column: 1/-1;
  grid-row: 2;
}
.work-context dt {
  font-size: 12px;
  color: var(--muted);
}
.work-context dd {
  margin: 2px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.work-summary p,
.session-provenance p {
  font-size: 13px;
}
.missing-evidence {
  margin: 22px 0 6px;
  font-weight: 550;
}
.result-excerpt {
  white-space: pre-wrap;
  max-width: 75ch;
  overflow-wrap: anywhere;
}
.file-table-scroll {
  max-height: 280px;
  overflow: auto;
}
.work-files {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.work-files th,
.work-files td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.work-files td:first-child {
  width: 65%;
}
.session-provenance,
.session-tools {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.session-tools .actions {
  margin: 14px 0;
}
.transcript {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.transcript > summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.transcript-messages {
  max-height: 62vh;
  overflow: auto;
  overscroll-behavior: contain;
  margin-top: 12px;
}
.message-preview {
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.full-message .message-content {
  max-height: 420px;
  overflow: auto;
}
.full-message > summary {
  font-size: 13px;
}
@media (max-width: 760px) {
  .work-context {
    grid-template-columns: 1fr;
  }
  .work-context div:nth-child(2) {
    grid-row: auto;
    grid-column: auto;
  }
  .message-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
