@font-face {
  font-family: system;
  src: local("Inter"), local("Arial");
}
:root {
  font-family:
    system,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #292a27;
  background: #fafbf9;
  font-synthesis: none;
  --muted: #83877e;
  --border: #e5e7e0;
  --accent: #315342;
  --soft: #eff3eb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
input,
textarea {
  width: 100%;
  border: 1px solid #dce0d5;
  border-radius: 7px;
  background: #fff;
  padding: 11px 12px;
  color: inherit;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
input:focus,
textarea:focus {
  outline: 2px solid #adc3a8;
  border-color: transparent;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 15px 0 8px;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 550;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.45px;
  font-weight: 550;
}
[hidden] {
  display: none !important;
}
.primary,
.secondary,
.small-button {
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  padding: 12px 16px;
}
.primary {
  background: var(--accent);
  color: #fff;
}
.primary:hover {
  background: #284b37;
}
.secondary {
  background: #fff;
  border: 1px solid var(--border);
}
.small-button {
  padding: 6px 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 11px;
  gap: 5px;
}
.text-button {
  font-size: 12px;
  background: transparent;
  color: #63695d;
  padding: 6px;
}
.text-button:hover {
  color: #253c2e;
}
.icon-button {
  background: transparent;
  color: var(--muted);
  font-size: 21px;
  padding: 0 5px;
}
.error {
  color: #9c3d34;
  min-height: 16px;
  font-size: 12px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #829878;
  flex-shrink: 0;
}
.dashboard {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 223px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  background: #f3f4ef;
  border-right: 1px solid var(--border);
  padding: 29px 17px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  font-size: 17px;
  letter-spacing: -0.4px;
  font-weight: 600;
}
.brand-sub {
  font-size: 11px;
  color: #858a7b;
  display: block;
  letter-spacing: 1.2px;
  font-weight: 400;
  margin-top: 1px;
}
.sidebar-heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8b9082;
  margin: 46px 9px 14px;
}
#computer-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#computer-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: #7c8075;
  padding: 11px;
  border-radius: 6px;
  text-align: left;
  font-size: 12px;
  overflow: hidden;
}
#computer-list button.active {
  background: #e5eadf;
  color: #32472c;
  font-weight: 600;
}
#computer-list button span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-footer {
  margin-top: auto;
  padding: 18px 9px 0;
  color: #939889;
  font-size: 10px;
  line-height: 2;
}
.sidebar-footer .dot {
  width: 5px;
  height: 5px;
  margin-right: 5px;
}
.sidebar-footer button {
  display: block;
  padding: 7px 0;
}
main {
  margin-left: 223px;
  width: calc(100% - 223px);
}
.topbar {
  height: 69px;
  padding: 0 35px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #7d8276;
  background: #fff;
}
.breadcrumb {
  padding: 0 12px;
  color: #bfc2b9;
}
.topbar a {
  font-size: 10px;
}
.page {
  padding: 36px;
  max-width: 1660px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #a2a794;
  margin-bottom: 9px;
}
.page-heading p {
  color: #909585;
  font-size: 12px;
  margin-top: 9px;
}
.status {
  font-size: 10px;
  padding: 6px 10px;
  border: 1px solid #dce5d3;
  background: #eff4e9;
  border-radius: 20px;
  color: #6c8157;
  text-transform: capitalize;
  max-width: 150px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.desktop-card,
.task-card,
.details-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}
.card-toolbar {
  padding: 14px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 8px;
  min-height: 55px;
}
.card-toolbar > span {
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
  font-size: 11px;
}
.card-toolbar strong {
  font-weight: 500;
}
.toolbar-actions {
  display: flex;
  gap: 5px;
}
.screen-wrap {
  aspect-ratio: 16/9;
  background: #e8ebe4;
  position: relative;
}
#screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  inset: 0;
}
#screen-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: radial-gradient(ellipse at center, #f5f7ef, #e8ece2);
  text-align: center;
  padding: 20px;
}
#screen-placeholder strong {
  font-weight: 500;
  font-size: 13px;
}
#screen-placeholder > span:last-child {
  font-size: 11px;
  color: #8c9580;
}
.empty-symbol {
  display: block;
  font-size: 46px;
  color: #96a68b;
  margin-bottom: 10px;
  font-weight: 300;
}
.desktop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 8px 13px;
  font-size: 9px;
  color: #929a89;
}
.desktop-footer > div {
  display: flex;
  gap: 7px;
}
.desktop-footer .text-button {
  font-size: 10px;
}
.task-card {
  padding: 22px;
}
.task-symbol {
  font-size: 25px;
  color: #748c59;
}
.task-heading h2 {
  font-size: 16px;
  margin: 15px 0 9px;
}
.task-heading p {
  font-size: 11px;
  color: #919786;
}
.task-card label {
  font-size: 10px;
  margin-top: 24px;
  color: #6e7663;
}
.task-card textarea {
  font-size: 12px;
  background: #fafbf8;
  border-color: #e5e8df;
  min-height: 135px;
}
.task-card .primary,
.task-card .secondary {
  width: 100%;
  font-size: 11px;
  margin-top: 14px;
  justify-content: space-between;
}
.model-info {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #838d77;
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 17px;
  word-break: break-word;
}
.task-note {
  font-size: 9px;
  color: #abb29f;
  margin-top: 9px;
  line-height: 1.6;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
}
.checkbox input {
  width: auto;
  margin: 0;
}
.details-card {
  margin-top: 24px;
}
.tabs {
  padding: 0 19px;
  display: flex;
  align-items: center;
  gap: 23px;
  border-bottom: 1px solid var(--border);
}
.tabs [role="tab"] {
  padding: 16px 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #909785;
  font-size: 11px;
}
.tabs [aria-selected="true"] {
  color: #415137;
  border-color: #667e4f;
}
.tabs #file-count {
  font-size: 9px;
  background: #f0f3ea;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 3px;
}
.tabs #destroy {
  margin-left: auto;
  font-size: 10px;
}
.danger {
  color: #a08477;
}
.activity-list,
.files-list {
  padding: 8px 21px;
  max-height: 340px;
  overflow: auto;
}
.list-empty {
  padding: 29px 0;
  color: #a1a894;
  font-size: 11px;
}
.activity-item,
.file-item {
  padding: 17px 0;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border-bottom: 1px solid #f0f2eb;
}
.activity-item:last-child,
.file-item:last-child {
  border: 0;
}
.activity-icon {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e7ecdf;
  border-radius: 50%;
  color: #8d9c7b;
  font-size: 12px;
}
.activity-body {
  flex: 1;
  min-width: 0;
}
.activity-body p {
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.activity-body .result {
  font-size: 11px;
  color: #7f8873;
  margin-top: 5px;
  white-space: pre-wrap;
  max-height: 130px;
  overflow: auto;
}
.activity-meta {
  color: #a0a894;
  font-size: 9px;
  white-space: nowrap;
}
.file-item {
  align-items: center;
}
.file-item > div {
  flex: 1;
}
.file-item p {
  font-size: 11px;
}
.file-item small {
  display: block;
  color: #929a86;
  font-size: 9px;
  margin-top: 5px;
}
.file-item a {
  font-size: 11px;
  color: var(--accent);
}
.file-item video {
  width: 180px;
  max-height: 100px;
}
.file-item img {
  width: 80px;
  border-radius: 3px;
}
.empty-state {
  text-align: center;
  background: #fff;
  border: 1px dashed #d9e0d0;
  border-radius: 10px;
  padding: 85px 25px;
}
.empty-state h2 {
  margin-bottom: 14px;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.8;
  color: #949d87;
  margin-bottom: 27px;
}
.empty-state .primary {
  font-size: 12px;
}
#notice {
  padding: 12px 15px;
  background: #fff6e8;
  border: 1px solid #efdfc5;
  border-radius: 7px;
  color: #8e633b;
  margin-bottom: 18px;
  font-size: 12px;
}
.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3ec;
}
.login-card {
  width: 400px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid var(--border);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 14px 70px #253d2910;
}
.login-card h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 24px 0 12px;
}
.login-card > p {
  color: #87917b;
  font-size: 12px;
}
.login-card label {
  margin-top: 30px;
}
.login-card .primary {
  width: 100%;
  justify-content: space-between;
  margin: 17px 0;
}
.login-card .error {
  color: #9c3d34;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 27px;
  width: 400px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 20px 80px #0002;
}
dialog::backdrop {
  background: #26312155;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
dialog p {
  font-size: 12px;
  color: #929986;
  line-height: 1.7;
  margin: 15px 0;
}
dialog .primary {
  margin-top: 20px;
  width: 100%;
}
#terminal-panel {
  padding: 17px 20px;
}
.shell-input {
  display: flex;
  gap: 12px;
}
.shell-input input {
  font-family: monospace;
  font-size: 12px;
}
.shell-input button {
  white-space: nowrap;
  font-size: 11px;
}
#shell-output {
  font-size: 11px;
  line-height: 1.7;
  color: #637458;
  background: #f4f6f0;
  padding: 16px;
  border-radius: 5px;
  max-height: 240px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (min-width: 1500px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .task-card textarea {
    min-height: 180px;
  }
}
@media (max-width: 1160px) {
  .sidebar {
    width: 185px;
  }
  main {
    margin-left: 185px;
    width: calc(100% - 185px);
  }
  .page {
    padding: 27px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 15px;
  }
  .task-card {
    padding: 17px;
  }
  .card-toolbar {
    flex-wrap: wrap;
  }
  .desktop-footer {
    flex-wrap: wrap;
  }
  .task-heading h2 {
    font-size: 14px;
  }
}
@media (max-width: 950px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .task-card {
    display: block;
  }
  .task-card textarea {
    min-height: 90px;
  }
  .task-heading h2 {
    display: inline;
    margin-left: 8px;
  }
  .task-heading p {
    margin-top: 7px;
  }
  .task-card label {
    margin-top: 13px;
  }
  .model-info {
    margin-top: 14px;
  }
  .task-note {
    margin-bottom: 0;
  }
}
@media (max-width: 600px) {
  .dashboard {
    display: block;
  }
  .sidebar {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand-sub {
    display: inline;
    margin-left: 5px;
    letter-spacing: 0;
    font-size: 15px;
  }
  .brand {
    font-size: 15px;
  }
  .brand-mark {
    width: 27px;
    height: 27px;
    font-size: 20px;
  }
  .sidebar-heading {
    margin: 17px 7px 5px;
  }
  .sidebar-footer {
    display: none;
  }
  #computer-list {
    flex-direction: row;
    overflow: auto;
  }
  #computer-list button {
    width: auto;
    min-width: 130px;
  }
  main {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 45px;
    padding: 0 22px;
    font-size: 10px;
  }
  .page {
    padding: 24px 16px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .card-toolbar {
    padding: 10px;
  }
  .small-button {
    font-size: 9px;
    padding: 6px 8px;
  }
  .screen-wrap {
    min-height: 170px;
  }
  .tabs {
    gap: 17px;
    padding: 0 13px;
  }
  .tabs #destroy {
    font-size: 9px;
  }
  .activity-list,
  .files-list {
    padding: 5px 13px;
  }
  .activity-meta {
    font-size: 8px;
  }
  .empty-state {
    padding: 50px 16px;
  }
  .file-item video {
    width: 100px;
  }
  .shell-input {
    flex-wrap: wrap;
  }
}

.terminal-toolbar { display: flex; align-items: center; gap: 12px; padding: 20px 24px; }
.terminal-toolbar > div { flex: 1; }
.terminal-toolbar p, .terminal-note { color: var(--muted, #71776e); font-size: 13px; line-height: 1.5; }
.terminal-toolbar p { margin: 5px 0 0; }
#terminal-host { height: 360px; background: #17201c; padding: 14px; margin: 0 24px; border-radius: 8px; overflow: hidden; }
#terminal-host .xterm { height: 100%; }
.terminal-note { margin: 12px 24px 20px; }
@media (max-width: 600px) {
  .terminal-toolbar { flex-wrap: wrap; padding: 16px; }
  .terminal-toolbar > div { flex-basis: 100%; }
  #terminal-host { margin: 0 16px; height: 320px; }
  .terminal-note { margin: 12px 16px 16px; }
}

.guest-files { padding: 22px 24px 12px; display: grid; gap: 10px; }
.guest-files h3, .guest-files p { margin: 0; }
.guest-files p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.guest-files label { font-size: 13px; }
.guest-files input[type="text"] { width: 100%; }
.guest-files input[type="file"] { min-width: 0; max-width: 100%; font-size: 13px; }
.guest-file-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.guest-files #guest-file-status { color: #292a27; overflow-wrap: anywhere; }
.captures-heading { margin: 12px 24px 0; font-size: 14px; }

.previews-content { padding: 24px; }
.previews-content h3 { margin: 0 0 12px; }
.previews-content > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.preview-form { display: flex; align-items: center; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.preview-form input { width: 110px; }
.preview-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.preview-row > span { margin-right: auto; font-size: 13px; }
.preview-row a { text-decoration: none; }
