:root {
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #26382d;
  background: #f7f8f4;
  font-synthesis: none;
  --ink: #26382d;
  --muted: #80867e;
  --line: #e5e8df;
  --green: #527d48;
  --accent: #d8edb8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #87ae65;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  border: 0;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.7px;
  font-weight: 600;
}
h2 {
  font-size: 18px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  font-weight: 500;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #7c8777;
  margin-bottom: 16px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.small {
  font-size: 11px;
  line-height: 1.7;
}
.primary,
.secondary {
  border-radius: 7px;
  min-height: 41px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  background: var(--ink);
  color: #fff;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid #dce1d5;
}
.full {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.text-button {
  color: #718268;
  background: transparent;
  padding: 7px 0;
  font-size: 11px;
}
.icon-button {
  background: transparent;
  color: inherit;
  font-size: 20px;
  padding: 5px 9px;
}
.wordmark {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wordmark > span {
  color: #bfe391;
}
.wordmark b {
  font-size: 15px;
  letter-spacing: -0.3px;
  font-weight: 500;
  line-height: 1.1;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 210px;
  background: #1d2d24;
  color: #e5eddd;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 37px 25px 23px;
  display: flex;
  flex-direction: column;
}
.sidebar .wordmark {
  margin-bottom: 65px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #81937f;
  margin-bottom: 20px;
}
.nav-item {
  font-size: 12px;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px 12px;
  margin: 0 -7px;
  border-radius: 6px;
}
.nav-item.active {
  background: #314232;
}
.nav-item > span:first-child {
  font-size: 18px;
  color: #c9deaf;
}
.nav-arrow {
  margin-left: auto;
  color: #aeca97;
}
.sidebar-note {
  margin-top: auto;
  padding-bottom: 37px;
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.sidebar-note p {
  color: #899d86;
  font-size: 11px;
  line-height: 2;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8bb363;
}
.account {
  border-top: 1px solid #344438;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
.account > span {
  max-width: 83px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avatar {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #44583f;
  color: #d7e6ca;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.account .icon-button {
  margin-left: auto;
  color: #869e7f;
}
main {
  margin-left: 210px;
  width: calc(100% - 210px);
  padding: 0 42px;
}
header {
  height: 77px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 11px;
  color: #8b9186;
}
.breadcrumb span {
  padding: 0 12px;
  color: #bcc2b6;
}
.top-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #8c9585;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 41px 0 29px;
}
.page-heading .eyebrow {
  margin-bottom: 11px;
}
.page-heading .muted {
  margin-top: 12px;
}
.heading-dot {
  color: #84a46f;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  border: 1px solid var(--line);
  background: #fcfdf9;
  border-radius: 9px;
  padding: 25px 0;
  margin-bottom: 35px;
}
.stats > div {
  padding: 0 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stats > div:last-child {
  border: 0;
}
.stats p {
  font-size: 11px;
  color: #838d7a;
  margin-bottom: 13px;
}
.stats strong {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -1px;
}
.stats .stat-word {
  font-size: 22px;
  line-height: 41px;
  letter-spacing: 0;
}
.stats span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #9ba392;
  margin-top: 13px;
}
.stats .green {
  color: #719359;
}
.green .live-dot {
  width: 5px;
  height: 5px;
  margin-right: 5px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(380px, 1.7fr);
  gap: 27px;
  align-items: start;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  height: 26px;
}
.section-title h2 {
  font-size: 14px;
}
.section-title h2 span {
  font-size: 10px;
  border: 1px solid #dde4d7;
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 7px;
  font-weight: 400;
  color: #7f8c75;
}
.empty-device {
  border: 1px dashed #d6dfcc;
  border-radius: 9px;
  min-height: 375px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f3f5ee;
  padding: 20px;
}
.empty-icon {
  font-size: 30px;
  color: #738c64;
  background: #e8edde;
  width: 63px;
  height: 63px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.empty-device h3 {
  font-size: 14px;
}
.empty-device p {
  font-size: 11px;
  color: #8c9484;
  line-height: 1.9;
  margin: 13px 0 23px;
}
.device-card {
  padding: 21px;
  border: 1px solid var(--line);
  background: #fcfdf9;
  border-radius: 9px;
  margin-bottom: 12px;
}
.device-card.selected {
  border-color: #8fa57b;
  background: #f0f5e8;
}
.device-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.device-icon {
  font-size: 20px;
  background: #edf1e7;
  border-radius: 9px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}
.device-top h3 {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.device-top p {
  font-size: 10px;
  color: #939d89;
  margin-top: 5px;
}
.device-top .status {
  margin-left: auto;
}
.device-meta {
  font-size: 10px;
  color: #8d9785;
  margin: 21px 0 15px;
}
.device-actions {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.device-actions .text-button {
  font-size: 10px;
  color: #8d9387;
}
.device-actions .secondary {
  font-size: 10px;
  min-height: 32px;
  padding: 7px 12px;
}
.status {
  font-size: 9px;
  border-radius: 30px;
  padding: 5px 9px;
  white-space: nowrap;
  background: #e9f1dd;
  color: #66874a;
}
.status.neutral {
  background: #eceedf;
  color: #8c957f;
}
.session-empty {
  background: #fcfdf9;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 375px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
}
.orbit {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #dbe3d1;
  outline: 9px solid #f6f8f1;
  font-size: 26px;
  color: #889e75;
  margin-bottom: 31px;
}
.session-empty h3 {
  font-size: 15px;
}
.session-empty p {
  font-size: 11px;
  color: #929b8a;
  line-height: 2;
  margin-top: 14px;
}
.flow {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: #8f9e82;
  margin-top: 27px;
}
.flow b {
  letter-spacing: 5px;
  font-weight: 300;
}
#session-body {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #fcfdf9;
}
.session-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}
.session-toolbar strong {
  font-size: 13px;
}
.session-toolbar .small {
  margin-bottom: 4px;
}
.service-bar {
  display: flex;
  padding: 0 20px;
  gap: 8px;
  align-items: center;
}
.service-bar select {
  min-width: 0;
  flex: 1;
}
.service-bar .secondary {
  padding: 9px 10px;
  font-size: 11px;
}
.policy {
  margin: 11px 20px 19px;
  font-size: 10px;
  color: #909b85;
}
.terminal-head {
  background: #1e2b24;
  color: #758771;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #344238;
}
.terminal-head > span {
  display: flex;
  gap: 5px;
}
.terminal-head i {
  width: 6px;
  height: 6px;
  background: #6f7d66;
  border-radius: 50%;
}
.terminal-head i:first-child {
  background: #ae9b79;
}
.terminal-head i:nth-child(2) {
  background: #9daa7f;
}
.terminal-head p {
  font-size: 8px;
  letter-spacing: 1.7px;
}
.terminal-head button {
  font-size: 9px;
  padding: 0;
  color: #a3b397;
}
.terminal {
  margin: 0;
  padding: 19px;
  height: 265px;
  overflow: auto;
  background: #1e2b24;
  color: #c1d4b1;
  font:
    11px/1.9 "SFMono-Regular",
    Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#run-form {
  padding: 16px;
}
#prompt {
  border: 0;
  padding: 3px;
  background: transparent;
  resize: vertical;
  min-height: 65px;
  font-size: 12px;
}
#prompt:focus {
  outline: 0;
}
.composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 9px;
  gap: 6px;
}
.composer-footer > span {
  font-size: 9px;
  color: #9ba38f;
}
.composer-footer .primary,
.composer-footer .secondary {
  font-size: 11px;
  min-height: 34px;
  padding: 9px 12px;
}
footer {
  margin: 39px 0 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a2ac99;
  letter-spacing: 0.6px;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.auth-story {
  padding: 45px 65px;
  background: #1d2d24;
  color: #e6efdc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.auth-story .wordmark {
  font-size: 19px;
}
.auth-story h1 {
  font-size: 58px;
  font-weight: 400;
  line-height: 1.25;
}
.auth-story .eyebrow {
  color: #8cae77;
  font-size: 9px;
  margin-bottom: 28px;
}
.intro {
  font-size: 14px;
  line-height: 2;
  color: #94a98a;
  margin-top: 28px;
}
.connection-art {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 48px;
  color: #93ab82;
  font-size: 11px;
}
.connection-art span {
  border: 1px solid #40563a;
  padding: 12px;
  border-radius: 7px;
}
.connection-art .central {
  color: #cfe6b5;
  border-color: #789b57;
}
.connection-art i {
  font-style: normal;
}
.auth-foot {
  font-size: 10px;
  color: #819975;
  letter-spacing: 2px;
}
.auth-card {
  width: 330px;
  max-width: calc(100% - 50px);
  align-self: center;
  justify-self: center;
}
.auth-card h2 {
  font-size: 27px;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.auth-card form {
  margin-top: 30px;
}
.auth-card .text-button {
  margin: 20px 0;
}
.auth-card > .small {
  font-size: 10px;
}
label {
  display: block;
  font-size: 11px;
  color: #697860;
  margin-bottom: 19px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #dce3d4;
  background: #fcfdf9;
  color: #35432e;
  border-radius: 6px;
  padding: 12px;
  margin-top: 8px;
  outline-color: #94ad7d;
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #a9b0a0;
}
select {
  margin: 0;
}
textarea {
  line-height: 1.7;
}
dialog {
  border: 1px solid #dce2d4;
  border-radius: 13px;
  padding: 30px;
  width: 510px;
  max-width: calc(100% - 32px);
  background: #f9fbf5;
  color: var(--ink);
  box-shadow: 0 30px 120px #14201030;
}
dialog::backdrop {
  background: #1b291f80;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 25px;
}
.dialog-head .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
}
dialog form {
  margin-top: 24px;
}
dialog .muted {
  font-size: 12px;
}
.expiry {
  font-size: 10px;
  background: #ecf2e0;
  color: #7c8c61;
  padding: 10px;
  border-radius: 5px;
  margin: 17px 0;
}
#install-result label {
  margin: 18px 0 9px;
}
#install-result textarea {
  font:
    10px/1.8 Consolas,
    monospace;
  background: #eef2e7;
}
#install-result > .small {
  margin-top: 20px;
}
.notice {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 13px 22px;
  border: 1px solid #d4ddc7;
  background: #fcfff7;
  color: #455437;
  box-shadow: 0 7px 30px #192a1920;
  border-radius: 8px;
  font-size: 12px;
  max-width: 90vw;
}
.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;
}
@media (min-width: 1600px) {
  main {
    padding: 0 65px;
  }
  .workspace-grid {
    gap: 36px;
    grid-template-columns: 1fr 2fr;
  }
  .page-heading {
    padding: 50px 0 40px;
  }
  .stats {
    margin-bottom: 45px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 170px;
    padding: 30px 19px;
  }
  main {
    margin-left: 170px;
    width: calc(100% - 170px);
    padding: 0 25px;
  }
  .workspace-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .empty-device {
    min-height: 190px;
  }
  .empty-device .empty-icon {
    display: none;
  }
  .stats > div {
    padding: 0 17px;
  }
  .stats span {
    font-size: 7px;
  }
  #device-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .device-card {
    padding: 15px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 48px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 15px 20px;
    flex-direction: row;
    align-items: center;
  }
  .sidebar .wordmark {
    margin: 0;
    font-size: 20px;
  }
  .wordmark b {
    font-size: 12px;
  }
  .sidebar .nav-label,
  .sidebar .nav-item,
  .sidebar-note {
    display: none;
  }
  .account {
    margin-left: auto;
    border: 0;
    padding: 0;
  }
  .shell {
    display: block;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 0 20px;
  }
  header {
    height: 55px;
  }
  .top-label {
    font-size: 7px;
  }
  .page-heading {
    padding: 30px 0 25px;
    gap: 12px;
  }
  h1 {
    font-size: 29px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
  }
  .page-heading .muted {
    font-size: 11px;
  }
  .page-heading .primary {
    padding: 10px;
    font-size: 10px;
  }
  .stats {
    padding: 19px 0;
    grid-template-columns: 1fr 1fr 1.35fr;
  }
  .stats > div {
    padding: 0 12px;
  }
  .stats strong {
    font-size: 26px;
  }
  .stats .stat-word {
    font-size: 14px;
    line-height: 31px;
  }
  .stats span {
    font-size: 6px;
    letter-spacing: 0.4px;
  }
  .stats p {
    font-size: 9px;
  }
  #device-list {
    grid-template-columns: 1fr;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: 230px;
    padding: 25px;
  }
  .auth-story h1 {
    font-size: 29px;
  }
  .auth-story h1 br {
    display: none;
  }
  .auth-story .intro,
  .auth-story .connection-art,
  .auth-story .auth-foot {
    display: none;
  }
  .auth-story .eyebrow {
    margin: 30px 0 10px;
  }
  .auth-card {
    padding: 40px 0;
    width: 350px;
  }
  .composer-footer {
    flex-wrap: wrap;
  }
  .session-empty h3 {
    font-size: 13px;
  }
  footer {
    font-size: 7px;
  }
  .service-bar {
    padding: 0 13px;
    gap: 5px;
  }
  .service-bar .secondary {
    font-size: 10px;
    padding: 8px;
  }
  .terminal {
    height: 260px;
  }
  .notice {
    width: 90vw;
    text-align: center;
  }
}
