:root {
  --ink: #202f38;
  --muted: #75818a;
  --line: #e7ebed;
  --bg: #f7f9fa;
  --green: #247b65;
  --pale: #edf5f1;
  --blue: #278dbb;
  --red: #b64343;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #65ae98;
  outline-offset: 3px;
}
input,
textarea {
  width: 100%;
  border: 1px solid #dfe5e7;
  border-radius: 9px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #909ba1;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
label input,
label textarea {
  margin-top: 7px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.9px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.35px;
  font-weight: 650;
}
h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
h2 .icon {
  vertical-align: -4px;
  margin-right: 8px;
}
p.muted {
  margin-top: 8px;
}
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 43px;
  padding: 10px 17px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  text-align: center;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #1b6654;
}
.secondary {
  background: white;
  border-color: #dfe6e4;
  color: #344b43;
}
.secondary:hover {
  background: #f4f8f6;
}
.white {
  background: white;
  color: #315d4d;
}
.danger {
  background: #fff7f7;
  border-color: #f1dddd;
  color: var(--red);
}
.small-button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.text-button {
  padding: 5px 0;
  background: none;
  border: 0;
  color: var(--green);
  font-size: 12px;
  white-space: nowrap;
  min-height: 32px;
}
.icon-button {
  background: none;
  border: 0;
  padding: 9px;
  color: var(--muted);
  border-radius: 8px;
}
.icon-button:hover {
  background: var(--bg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1.2;
}
.brand:hover {
  text-decoration: none;
}
.brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 41px;
  border-radius: 12px;
  background: var(--green);
  color: white;
}
.brand-symbol .icon {
  width: 23px;
  height: 23px;
}
.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #85918d;
  font-weight: 650;
  margin-top: 5px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 244px;
  flex-shrink: 0;
  padding: 30px 19px 0;
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
}
.sidebar .brand {
  margin: 0 12px 49px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #939ba0;
  font-weight: 650;
  margin: 0 13px 13px;
}
.admin-label {
  margin-top: 30px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-height: 46px;
  color: #758089;
  font-size: 13px;
  margin: 3px 0;
  border-radius: 9px;
  font-weight: 500;
  position: relative;
}
.nav-item:hover {
  text-decoration: none;
  background: #f8faf9;
}
.nav-item.active {
  color: var(--green);
  background: var(--pale);
  font-weight: 650;
}
.nav-item .icon {
  width: 19px;
  height: 19px;
}
.nav-item i {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
}
.privacy-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #98a29f;
  font-size: 11px;
  padding: 25px 12px;
}
.privacy-mini .icon {
  width: 18px;
  height: 18px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 2px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #edf2ed;
  color: #5a7164;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 650;
  flex-shrink: 0;
}
.profile strong {
  display: block;
  font-size: 12px;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.profile form {
  margin-left: auto;
}
.workspace {
  margin-left: 244px;
  width: calc(100% - 244px);
}
.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 44px;
  background: white;
  font-size: 12px;
  color: #919ba1;
}
.topbar strong {
  font-weight: 500;
  color: #58666e;
}
.slash {
  margin: 0 12px;
  color: #ced5d8;
}
.top-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7e9186;
  font-size: 10px;
}
.top-tag .icon {
  width: 14px;
  height: 14px;
}
.main {
  max-width: 1270px;
  margin: auto;
  padding: 40px 44px 24px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.eyebrow {
  display: block;
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 650;
  color: #819088;
  margin-bottom: 11px;
}
.page-heading .muted {
  font-size: 13px;
  max-width: 700px;
}
.page-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a6b1ab;
  background: white;
}
.welcome {
  background: #e8f1eb;
  border: 1px solid #e0ebe3;
  border-radius: var(--radius);
  padding: 32px 35px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  min-height: 287px;
  margin-bottom: 32px;
  color: #2c4b3b;
}
.welcome-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: #6b8c76;
}
.welcome h2 {
  font-size: 31px;
  line-height: 1.22;
  letter-spacing: -0.9px;
  margin: 13px 0 12px;
  font-weight: 600;
}
.welcome p {
  font-size: 12px;
  line-height: 1.8;
  color: #738b7c;
}
.welcome .button {
  margin-top: 21px;
  min-height: 39px;
  font-size: 12px;
  padding: 8px 14px;
  box-shadow: 0 3px 7px #36513b08;
}
.welcome-art {
  width: 330px;
  position: relative;
  min-height: 235px;
  align-self: center;
}
.orbit {
  position: absolute;
  border: 1px solid #d2e3d6;
  border-radius: 50%;
  width: 215px;
  height: 215px;
  top: 10px;
  left: 60px;
}
.orbit-two {
  width: 305px;
  height: 305px;
  top: -35px;
  left: 15px;
  opacity: 0.65;
}
.art-token {
  position: absolute;
  width: 95px;
  height: 95px;
  top: 70px;
  left: 121px;
  background: #6c9e7d;
  border: 9px solid #dae8dc;
  box-shadow: 0 10px 28px #5f866b20;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: rotate(-12deg);
}
.art-token .icon {
  width: 43px;
  height: 43px;
  transform: rotate(12deg);
}
.art-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffffec;
  box-shadow: 0 5px 16px #436a4f0a;
  border: 1px solid white;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  color: #657b6a;
}
.art-note .icon {
  width: 14px;
  height: 14px;
  color: #6b9276;
}
.note-top {
  top: 26px;
  left: 5px;
  transform: rotate(-5deg);
}
.note-bottom {
  bottom: 20px;
  right: 5px;
  transform: rotate(4deg);
}
.spark {
  position: absolute;
  border-radius: 50%;
  background: #a9c5af;
  width: 7px;
  height: 7px;
}
.spark-one {
  top: 28px;
  right: 54px;
}
.spark-two {
  bottom: 30px;
  left: 53px;
  width: 5px;
  height: 5px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 16px;
}
.section-heading > .muted {
  font-size: 11px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 20px;
}
.card > h2 {
  margin-bottom: 10px;
}
.card > p {
  font-size: 13px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pale);
  color: var(--green);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
}
.feature-icon.blue {
  background: #eef6fa;
  color: #3490b6;
}
.feature-icon.violet {
  background: #f1eff9;
  color: #8b7ab1;
}
.feature-icon.small {
  width: 35px;
  height: 35px;
  border-radius: 10px;
}
.feature-icon.small .icon {
  width: 17px;
  height: 17px;
}
.feature-icon.large {
  width: 60px;
  height: 60px;
  border-radius: 17px;
}
.feature-icon.large .icon {
  width: 30px;
  height: 30px;
}
.step {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #a3adb2;
}
.two-column .card {
  display: flex;
  flex-direction: column;
}
.two-column .card > p {
  font-size: 12px;
  line-height: 1.8;
  min-height: 43px;
}
.two-column .card > form,
.two-column .card > .button {
  margin-top: auto;
  align-self: flex-start;
}
.two-column .card > .text-link {
  margin-top: 12px;
}
.inline-info {
  font-size: 11px;
  line-height: 1.7;
  color: #829087;
  background: #f7f9f8;
  border: 1px solid #eef2ef;
  border-radius: 8px;
  padding: 11px 13px;
  margin: 16px 0 19px;
}
.connection-state {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 20px 0;
}
.connection-state strong {
  font-size: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 4px 8px;
  color: #8a7b57;
  background: #f7f4ec;
  font-size: 10px;
  font-weight: 550;
  white-space: nowrap;
}
.badge.green {
  background: #edf6f0;
  color: #528269;
}
.badge.red {
  background: #fff0f0;
  color: #b25757;
}
.dot {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.messages-card {
  padding-bottom: 5px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: #98a2a7;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
td {
  font-size: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #f0f3f4;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
th:not(:first-child),
td:not(:first-child) {
  padding-left: 20px;
}
.message-cell {
  max-width: 410px;
  min-width: 160px;
}
.message-cell p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-height: 140px;
  overflow: auto;
}
.message-cell small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
.nowrap {
  white-space: nowrap;
}
.empty {
  text-align: center;
  padding: 35px 20px 40px;
  color: #a3adb1;
}
.empty > .icon {
  width: 30px;
  height: 30px;
  color: #b6c8bd;
  background: #f3f7f4;
  box-sizing: content-box;
  padding: 13px;
  border-radius: 16px;
  margin-bottom: 15px;
}
.empty h3 {
  font-size: 13px;
  color: #74817b;
  font-weight: 500;
}
.empty p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 7px;
}
.empty.compact {
  padding: 20px;
}
.privacy-note {
  display: flex;
  gap: 12px;
  color: #8b9990;
  font-size: 11px;
  align-items: center;
  padding: 3px 6px;
}
.privacy-note .icon {
  width: 18px;
  height: 18px;
}
.privacy-note strong {
  color: #7b8b80;
  font-weight: 550;
}
.footer {
  display: flex;
  justify-content: space-between;
  color: #a7afb3;
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 40px;
}
.copy-field {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: #f6f8f7;
  border: 1px solid #e4eae6;
  border-radius: 9px;
  padding: 13px 14px;
  margin: 9px 0 14px;
  min-width: 0;
}
.copy-field code {
  font-size: 12px;
  color: #516c5e;
  word-break: break-all;
  user-select: all;
  white-space: pre-wrap;
}
.copy-button {
  flex-shrink: 0;
  border: 1px solid #dae3dd;
  padding: 7px 9px;
  border-radius: 6px;
  color: #557562;
  background: white;
  font-size: 11px;
  min-height: 32px;
}
.instructions {
  padding-left: 22px;
  color: #78867d;
  font-size: 12px;
  line-height: 1.8;
  margin: 18px 0;
}
.instructions li {
  padding-left: 5px;
  margin-bottom: 9px;
}
.instructions li::marker {
  font-size: 11px;
  color: #a1b0a5;
}
.inline-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 20px;
}
.inline-form label {
  flex: 1;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 25px;
}
.narrow {
  max-width: 530px;
}
.fineprint {
  font-size: 11px !important;
  color: #8b9690;
  margin-top: 20px;
  line-height: 1.8;
}
.counter {
  background: #f3f5f4;
  color: #929d97;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
}
.grant {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.grant:last-child {
  border: 0;
}
.grant-info {
  flex: 1;
  min-width: 0;
}
.grant-info strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.grant-info small {
  display: block;
  font-size: 10px;
  color: #93a097;
  margin-top: 2px;
}
.prompt-card {
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px dashed #dce5df;
  border-radius: var(--radius);
  padding: 23px;
  margin-top: 24px;
}
.prompt-card h3 {
  font-size: 13px;
}
.prompt-card p {
  font-size: 12px;
  color: #829087;
  margin-top: 5px;
}
.secret-card {
  background: #f0f7ee;
  border-color: #dbe9d8;
}
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #edf7ef;
  border: 1px solid #d9e8dc;
  padding: 14px 18px;
  font-size: 12px;
  border-radius: 10px;
  color: #487b58;
  margin: 0 0 23px;
}
.notice.warning {
  background: #fff7eb;
  border-color: #eddfca;
  color: #8f7346;
}
.error-text {
  color: var(--red);
}
.user-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 16px;
  margin-top: 23px;
}
.cell-sub {
  display: block;
  color: #9aa3a7;
  font-size: 10px;
  margin-top: 3px;
}
.row-actions {
  display: flex;
  gap: 16px;
}
.bot-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bot-summary .badge {
  margin-top: 12px;
}
.checkbox {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11px;
  font-weight: 400;
  color: #85928a;
}
.checkbox input {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  display: flex;
  flex-direction: column;
  padding: 45px 60px;
  background: #e8f1eb;
  color: #345342;
}
.story-body {
  margin: auto 0;
  padding: 55px 0;
  max-width: 430px;
}
.story-body .eyebrow {
  color: #7b9884;
  font-size: 10px;
}
.story-body h1 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 550;
  margin-top: 25px;
}
.story-body > p {
  font-size: 14px;
  line-height: 1.9;
  color: #849789;
  margin-top: 25px;
}
.story-demo {
  background: #ffffffb8;
  border: 1px solid #fff;
  border-radius: 14px;
  padding: 20px;
  max-width: 330px;
  margin-top: 42px;
  transform: rotate(-2deg);
  box-shadow: 0 12px 30px #44634d08;
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #6b8a76;
}
.demo-head .icon {
  width: 18px;
  height: 18px;
}
.demo-head span {
  margin-left: auto;
  font-size: 9px;
  color: #9bad9f;
  font-weight: 400;
}
.story-demo p {
  font-size: 12px;
  line-height: 1.8;
  color: #7a8c80;
  margin: 12px 0;
}
.story-demo small {
  font-size: 9px;
  color: #a7b7ab;
}
.story-foot {
  font-size: 10px;
  color: #91a396;
}
.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 55px 35px;
  background: #fbfcfb;
}
.auth-card {
  width: 100%;
  max-width: 365px;
  margin: auto 0;
  padding: 30px 0;
}
.auth-card h2 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.auth-card > .muted {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 12px;
}
.auth-card .notice {
  margin-top: 20px;
}
.auth-foot {
  font-size: 10px;
  max-width: 365px;
  text-align: center;
  color: #a6afaa;
  margin-top: 35px;
}
.consent-user {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f0f5f1;
  padding: 13px;
  border-radius: 9px;
  margin: 25px 0;
}
.consent-user strong,
.consent-user small {
  display: block;
  font-size: 12px;
}
.consent-user small {
  font-size: 10px;
  color: #819187;
}
.permission {
  display: flex;
  gap: 13px;
  margin: 20px 0;
}
.permission > .icon {
  color: var(--green);
  margin-top: 4px;
}
.permission strong {
  font-size: 12px;
}
.permission p {
  font-size: 11px;
  color: #8d9a91;
  margin-top: 3px;
}
.consent-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}
.error-page {
  max-width: 600px;
  margin: 12vh auto;
  padding: 30px;
}
.error-page h1 {
  font-size: 27px;
}
.error-page p {
  margin: 20px 0;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .main {
    padding-top: 50px;
  }
  .welcome {
    padding: 40px 45px;
  }
  .welcome-art {
    margin-right: 50px;
  }
  .auth-story {
    padding-left: 12vw;
  }
  .auth-form {
    padding-right: 8vw;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 214px;
    padding: 26px 13px 0;
  }
  .workspace {
    margin-left: 214px;
    width: calc(100% - 214px);
  }
  .main {
    padding: 32px 28px 20px;
  }
  .topbar {
    padding: 0 28px;
  }
  .welcome {
    padding: 28px;
  }
  .welcome-art {
    width: 260px;
    transform: scale(0.88);
    transform-origin: center right;
    margin-left: -20px;
  }
  .welcome h2 {
    font-size: 28px;
  }
  .welcome-label {
    font-size: 8px;
  }
  .user-form {
    grid-template-columns: 1fr 1fr;
  }
  .user-form > .button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .auth-story {
    padding: 35px;
  }
  .story-body h1 {
    font-size: 40px;
  }
  .card {
    padding: 22px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
}
@media (max-width: 800px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    padding: 18px 22px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .sidebar .brand {
    margin: 0 0 18px;
    font-size: 17px;
  }
  .brand-symbol {
    width: 33px;
    height: 35px;
    border-radius: 10px;
  }
  .brand-symbol .icon {
    width: 20px;
    height: 20px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .nav-label,
  .privacy-mini,
  .sidebar-bottom,
  .admin-label {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .sidebar nav[aria-label='Администрирование'] {
    margin-top: 5px;
  }
  .nav-item {
    flex-shrink: 0;
    padding: 8px 10px;
    margin: 0;
    min-height: 38px;
    gap: 7px;
    font-size: 11px;
  }
  .nav-item .icon {
    width: 15px;
    height: 15px;
  }
  .nav-item i {
    display: none;
  }
  .workspace {
    width: 100%;
    margin-left: 0;
  }
  .topbar {
    height: 49px;
    padding: 0 23px;
    font-size: 10px;
  }
  .top-tag {
    font-size: 9px;
  }
  .main {
    padding: 27px 22px 20px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading .muted {
    font-size: 12px;
  }
  .page-mark {
    display: none;
  }
  .welcome {
    min-height: 270px;
  }
  .welcome-art {
    margin-right: 10px;
  }
  .section-heading > .muted {
    font-size: 10px;
  }
  .two-column {
    gap: 15px;
  }
  .two-column .card {
    padding: 20px;
  }
  .two-column .card h3 {
    font-size: 16px;
  }
  .auth-story {
    padding: 30px;
  }
  .story-body h1 {
    font-size: 34px;
  }
  .auth-form {
    padding: 40px 28px;
  }
  .auth-card h2 {
    font-size: 25px;
  }
  .profile-mobile {
    display: block;
  }
}
@media (max-width: 560px) {
  .sidebar {
    padding: 17px 16px 10px;
  }
  .sidebar nav {
    margin-left: -4px;
    margin-right: -4px;
  }
  .nav-item {
    font-size: 10px;
    padding: 8px;
    gap: 5px;
  }
  .nav-item .icon {
    width: 14px;
    height: 14px;
  }
  .topbar {
    padding: 0 18px;
  }
  .top-tag {
    display: none;
  }
  .main {
    padding: 25px 17px 18px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .muted {
    font-size: 11px;
    max-width: 310px;
  }
  .welcome {
    padding: 25px 22px;
    min-height: 275px;
  }
  .welcome h2 {
    font-size: 27px;
  }
  .welcome-label {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .welcome p {
    font-size: 11px;
    max-width: 215px;
  }
  .welcome-art {
    position: absolute;
    width: 210px;
    height: 200px;
    right: -115px;
    bottom: 22px;
    transform: scale(0.7);
    opacity: 0.65;
    pointer-events: none;
  }
  .note-top,
  .note-bottom {
    display: none;
  }
  .welcome > div:first-child {
    position: relative;
    z-index: 1;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .section-heading > .muted {
    max-width: 105px;
    text-align: right;
    font-size: 9px;
  }
  .two-column {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .two-column .card {
    padding: 22px;
    margin-bottom: 15px;
  }
  .two-column .card > p {
    min-height: 0;
  }
  .card {
    padding: 21px;
    margin-bottom: 15px;
    border-radius: 13px;
  }
  .card h2 {
    font-size: 17px;
  }
  .messages-card .section-heading h2 {
    font-size: 14px;
  }
  .messages-card .text-link {
    font-size: 10px;
  }
  .privacy-note {
    align-items: flex-start;
    font-size: 10px;
    padding-top: 6px;
  }
  .privacy-note .icon {
    margin-top: 3px;
  }
  .footer {
    font-size: 9px;
    margin-top: 30px;
  }
  .footer span:last-child {
    max-width: 135px;
    text-align: right;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .inline-form .button {
    align-self: start;
  }
  .copy-field {
    padding: 11px;
    gap: 8px;
  }
  .copy-field code {
    font-size: 10px;
  }
  .copy-button {
    font-size: 9px;
    padding: 6px;
  }
  .grant {
    gap: 9px;
  }
  .grant-info small {
    font-size: 9px;
  }
  .grant .small-button {
    font-size: 10px;
    padding: 5px 8px;
  }
  .prompt-card {
    padding: 18px;
    align-items: flex-start;
    gap: 12px;
  }
  .prompt-card p {
    font-size: 11px;
  }
  .user-form {
    grid-template-columns: 1fr;
  }
  .row-actions {
    gap: 10px;
  }
  .bot-summary {
    align-items: flex-start;
    gap: 14px;
  }
  .bot-summary h2 {
    font-size: 17px;
  }
  .bot-summary p {
    font-size: 11px;
  }
  .auth-shell {
    display: block;
  }
  .auth-story {
    padding: 22px 25px;
    background: #e8f1eb;
  }
  .auth-story .brand {
    font-size: 17px;
  }
  .story-body,
  .story-foot {
    display: none;
  }
  .auth-form {
    min-height: calc(100vh - 80px);
    padding: 25px;
  }
  .auth-card {
    max-width: 390px;
    padding: 20px 0;
  }
  .auth-foot {
    font-size: 9px;
  }
  .auth-card h2 {
    font-size: 26px;
  }
  .card > .section-heading {
    flex-wrap: wrap;
  }
  .notice {
    font-size: 11px;
    padding: 12px;
  }
  .auth-card .stack {
    gap: 17px;
  }
  .error-page {
    margin: 8vh auto;
    padding: 24px;
  }
  th,
  td {
    font-size: 10px;
  }
  th:not(:first-child),
  td:not(:first-child) {
    padding-left: 14px;
  }
  .message-cell {
    min-width: 180px;
  }
  .table-scroll {
    margin: 0 -4px;
    padding: 0 4px;
  }
  input,
  textarea {
    font-size: 16px;
  }
  label {
    font-size: 12px;
  }
  .bot-summary .feature-icon.large {
    width: 44px;
    height: 44px;
  }
  .bot-summary .feature-icon.large .icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 560px) {
  .desktop-break {
    display: none;
  }
  .welcome p {
    max-width: 260px;
  }
  .messages-table,
  .messages-table tbody {
    display: block;
    width: 100%;
  }
  .messages-table thead {
    display: none;
  }
  .messages-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    gap: 10px;
  }
  .messages-table tr:last-child {
    border-bottom: 0;
  }
  .messages-table td {
    display: block;
    padding: 0 !important;
    border: 0;
    font-size: 11px;
  }
  .messages-table td.message-cell {
    grid-column: 1 / -1;
    max-width: none;
    min-width: 0;
  }
  .messages-table td.message-cell p {
    max-height: 150px;
  }
  .messages-table td.nowrap {
    font-size: 10px;
    align-self: center;
  }
  .table-scroll table:not(.messages-table) {
    min-width: 520px;
  }
}
