:root {
  --bg-canvas: #ffffff;
  --bg-sidebar: #fafafa;
  --bg-panel: #ffffff;
  --bg-panel-strong: #ffffff;
  --bg-muted: rgba(0, 0, 0, 0.03);
  --bg-chip: rgba(0, 0, 0, 0.05);
  --bg-hero: #faf7f2;
  --bg-hero-accent: rgba(190, 168, 141, 0.24);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text: #1a1a1a;
  --text-soft: #666666;
  --text-faint: #999999;
  --accent: #1a1a1a;
  --accent-soft: rgba(0, 0, 0, 0.06);
  --accent-green: #22c55e;
  --danger: #dc2626;
  --warning-bg: #fefce8;
  --warning-border: #fde68a;
  --warning-text: #92400e;
  --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-canvas);
  color: var(--text);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea,
a {
  font: inherit;
}

a {
  color: inherit;
}

code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
}

.hidden {
  display: none !important;
}

/* ── Auth screen ────────────────────────────── */

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: var(--bg-canvas);
}

.auth-card {
  width: min(480px, 100%);
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
}

.auth-kicker {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  text-transform: none;
}

.landing-kicker,
.section-label,
.brand-kicker,
.workspace-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.auth-card h1 {
  margin: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
}

.landing-title,
.workspace-title {
  margin: 0;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text);
}

.auth-copy,
.landing-subtitle,
.setup-card p,
.install-card p,
.onboarding-card p,
.account-copy span,
.composer-hint {
  color: var(--text-soft);
  line-height: 1.5;
}

.auth-copy,
.auth-error,
.auth-status {
  margin-top: 16px;
}

.auth-status {
  color: var(--text-soft);
}

.auth-error {
  color: var(--danger);
}

.auth-mode-switch {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-muted);
}

.auth-mode-button {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.auth-mode-button.is-active {
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.auth-actions,
.setup-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--text-faint);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-soft);
}

.auth-link-button {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-link-button:hover {
  color: var(--text);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--text);
}

input {
  padding: 10px 14px;
}

textarea {
  resize: none;
  min-height: 56px;
  max-height: 200px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 15px;
  line-height: 1.5;
}

textarea:focus,
input:focus {
  outline: none;
  border-color: var(--border-strong);
}

/* ── Buttons ────────────────────────────────── */

.primary-button,
.secondary-button,
.ghost-button,
.icon-button,
.nav-button,
.new-task-button,
.machine-pill,
.composer-target,
.suggestion-chip {
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.primary-button,
.secondary-button,
.ghost-button,
.new-task-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.primary-button {
  background: var(--text);
  color: #ffffff;
  border-radius: 999px;
}

.primary-button:hover {
  background: #333333;
}

.secondary-button {
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
}

.secondary-button:hover {
  background: var(--bg-muted);
}

.primary-button.is-disabled,
.secondary-button.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.ghost-button {
  background: transparent;
  color: var(--text-soft);
}

.ghost-button:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.danger-button {
  color: var(--danger);
}

.danger-button:hover {
  color: #b91c1c;
  background: #fef2f2;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-soft);
  border: none;
  font-size: 13px;
}

.icon-button:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled,
.icon-button:disabled,
.nav-button:disabled,
.new-task-button:disabled,
.machine-pill:disabled,
.composer-target:disabled,
.suggestion-chip:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

/* ── App layout ─────────────────────────────── */

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  height: 100vh;
  overflow: hidden;
}

/* ── Sidebar ────────────────────────────────── */

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 12px;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background: var(--bg-sidebar);
}

.sidebar-head,
.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar-head {
  padding: 4px 4px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-lockup .brand-kicker {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
}

.brand-lockup h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-faint);
}

.setup-card h3,
.install-card h3,
.onboarding-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.setup-card p:not(.section-label),
.install-card p:not(.section-label),
.onboarding-card p:not(.section-label) {
  margin: 0;
}

.sidebar-close {
  display: none;
}

.new-task-button {
  width: 100%;
  margin-top: 20px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  min-height: 40px;
  font-size: 14px;
}

.new-task-button:hover {
  background: var(--bg-muted);
}

.nav-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  padding: 0 4px;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-soft);
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
}

.nav-button:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.nav-button.is-active {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 500;
}

.setup-card,
.install-card,
.onboarding-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
}

.setup-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  box-shadow: var(--shadow-sm);
}

.composer-shell,
.workspace,
.message,
.approval-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
}

/* ── Sidebar task list ──────────────────────── */

.task-groups-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.task-groups-label span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.task-groups {
  flex: 1;
  min-height: 0;
  overflow: auto;
  margin-top: 8px;
  padding-right: 4px;
}

.task-group {
  margin-bottom: 4px;
}

.task-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  font-size: 14px;
}

.task-group-header:hover {
  background: var(--bg-muted);
}

.task-group-header.is-selected {
  background: var(--accent-soft);
}

.task-group-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.task-group-title,
.task-item-title {
  font-weight: 500;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-group-meta,
.task-item-meta {
  color: var(--text-faint);
  font-size: 12px;
}

.task-group-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: 12px;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d5db;
}

.status-dot.online {
  background: var(--accent-green);
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 2px;
  padding-left: 0;
}

.task-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
}

.task-item:hover {
  background: var(--bg-muted);
}

.task-item.is-active {
  background: var(--accent-soft);
}

.task-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-faint);
  font-size: 14px;
}

.task-item-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.context-menu {
  position: fixed;
  z-index: 80;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.context-menu-item {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.context-menu-item:hover {
  background: #fef2f2;
}

.sidebar-footer {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.account-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.account-card:hover {
  background: var(--bg-muted);
}

.account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.account-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.account-copy strong {
  font-size: 13px;
  font-weight: 600;
}

.account-copy span {
  font-size: 12px;
}

.account-copy strong,
.account-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Workspace ──────────────────────────────── */

.workspace {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: var(--bg-panel);
  box-shadow: none;
  overflow: hidden;
}

.workspace-header {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  min-height: 56px;
  flex-shrink: 0;
}

.workspace-header-left,
.workspace-header-right,
.workspace-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.workspace-copy {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.workspace-label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}

.workspace-title {
  display: none; /* Hidden in Manus style - content is centered in landing */
}

.workspace-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.machine-pill,
.composer-target {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.machine-pill:hover,
.composer-target:hover {
  background: var(--bg-muted);
}

.machine-pill.is-empty,
.composer-target.is-empty {
  color: var(--text-faint);
}

.privilege-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.privilege-badge.is-admin {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.privilege-badge.is-user {
  border-color: var(--border);
  background: var(--bg-muted);
  color: var(--text-soft);
}

.connection-banner {
  margin: 12px 24px 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-text);
  font-weight: 500;
  font-size: 13px;
  flex-shrink: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(8px);
}

.modal-card {
  width: min(440px, 100%);
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
}

.modal-kicker {
  margin: 0 0 10px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.modal-copy {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.modal-inline-note {
  margin-top: 12px;
  font-size: 13px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.modal-danger-button {
  background: var(--danger);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.2);
}

.modal-danger-button:hover {
  background: #b91c1c;
}

.share-modal-card {
  width: min(720px, calc(100% - 32px));
}

.share-dialog-list {
  margin-top: 18px;
}

.share-dialog-form {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(140px, 0.9fr) auto;
  gap: 10px;
  margin-top: 16px;
}

.share-dialog-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--text);
}

.share-dialog-form select:focus {
  outline: none;
  border-color: var(--border-strong);
}

/* ── Landing state ──────────────────────────── */

.landing-state,
.computer-overview,
.task-thread {
  flex: 1;
  min-height: 0;
}

.task-thread {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.landing-state {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 32px;
  overflow: hidden;
}

.landing-state::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  background:
    radial-gradient(circle at top, var(--bg-hero-accent), transparent 62%),
    linear-gradient(180deg, var(--bg-hero) 0%, rgba(250, 247, 242, 0) 100%);
  pointer-events: none;
}

.landing-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(860px, 100%);
}

.landing-copy {
  max-width: 720px;
  text-align: center;
}

.landing-cards {
  width: min(720px, 100%);
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  color: var(--text-soft);
}

.landing-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.landing-subtitle {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 16px;
  text-wrap: balance;
}

.install-card,
.onboarding-card {
  max-width: none;
  text-align: left;
}

.install-card {
  position: relative;
  padding: 26px;
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
}

.install-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.92), rgba(26, 26, 26, 0.2));
}

.install-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.install-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a1a 0%, #434343 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(26, 26, 26, 0.18);
  flex-shrink: 0;
}

.install-card-heading .section-label {
  margin-bottom: 6px;
}

.install-card-copy {
  max-width: 52ch;
  margin-top: 18px;
  font-size: 15px;
}

.install-card-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.install-step {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}

.install-actions {
  margin-top: 22px;
  flex-wrap: wrap;
}

.install-method-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.install-method-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.install-method-kicker {
  margin: 0;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-method-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.install-method-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.install-method-card .install-actions {
  margin-top: 4px;
}

.install-method-card .install-platform-actions {
  padding: 0;
}

.install-method-card .install-platform-status {
  min-height: 0;
}

.install-platform-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.install-action-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.install-download-button {
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
}

.install-download-button.primary-button,
.install-download-button.is-recommended {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.install-download-button.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.install-download-button.secondary-button {
  background: rgba(255, 255, 255, 0.72);
}

.install-platform-status {
  margin: 0;
  min-height: 2.8em;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.install-status {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.install-share-link-row {
  margin-top: 14px;
}

.install-copy-link-wrap {
  position: relative;
  display: flex;
  width: 100%;
}

.install-copy-link-button {
  width: 100%;
  min-width: 184px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border-color: rgba(0, 0, 0, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 247, 0.94));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.install-copy-link-button .button-icon {
  opacity: 0.72;
}

.install-copy-link-button:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(242, 242, 242, 0.96));
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.install-copy-link-button[aria-busy="true"] {
  opacity: 0.92;
}

.install-remote-actions {
  margin-top: auto;
}

.install-copy-link-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.94);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.install-copy-link-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  width: 10px;
  height: 10px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.install-copy-link-tooltip.is-success {
  background: rgba(21, 128, 61, 0.96);
}

.install-copy-link-tooltip.is-error {
  background: rgba(185, 28, 28, 0.96);
}

/* ── Computer overview ─────────────────────── */

.computers-dashboard,
.computer-overview {
  overflow: auto;
  padding: 24px 24px 32px;
}

.computers-dashboard-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.computer-overview-shell {
  width: min(880px, 100%);
  margin: 0 auto;
}

.computers-dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-install-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-sm);
}

.dashboard-install-status {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.dashboard-install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.dashboard-install-method {
  height: 100%;
}

.dashboard-install-actions {
  width: 100%;
  margin-top: 0;
  flex-shrink: 0;
}

.computers-dashboard-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.computers-dashboard-caption {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.computers-dashboard-table-wrap {
  min-width: 0;
  overflow: hidden;
}

.computers-dashboard-table {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.computers-dashboard-head,
.computers-dashboard-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1.8fr)
    minmax(0, 1.15fr)
    minmax(0, 0.8fr)
    minmax(0, 0.85fr)
    minmax(0, 0.8fr)
    minmax(0, 1.25fr)
    minmax(0, 0.9fr)
    minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.computers-dashboard-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.computers-dashboard-row {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  text-align: left;
  transition: background-color 0.15s ease;
}

.computers-dashboard-row:last-child {
  border-bottom: none;
}

.computers-dashboard-row:hover {
  background: #fcfcfc;
}

.computers-dashboard-cell {
  min-width: 0;
  overflow: hidden;
}

.computers-dashboard-head > span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.computers-dashboard-name {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.computers-dashboard-open,
.computers-dashboard-share-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
}

.computers-dashboard-open:hover .computers-dashboard-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.computers-dashboard-share-button {
  cursor: pointer;
}

.computers-dashboard-share-button:hover .computers-dashboard-chip {
  filter: brightness(0.97);
}

.computers-dashboard-subtext {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.computers-dashboard-value {
  display: block;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.computers-dashboard-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.computers-dashboard-chip.is-online {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.computers-dashboard-chip.is-offline {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.computers-dashboard-chip.is-admin {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.computers-dashboard-chip.is-user {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.computers-dashboard-chip.is-shared {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.computers-dashboard-chip.is-direct {
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
}

.computers-dashboard-cell .access-role-chip {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.computers-dashboard-empty {
  padding: 20px 18px 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.computer-overview-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.computer-overview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 18px;
}

.computer-overview-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.computer-overview-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.computer-overview-meta,
.computer-history-meta,
.computer-history-action {
  color: var(--text-soft);
  font-size: 13px;
}

.computer-overview-meta {
  margin: 0;
  white-space: nowrap;
}

.overview-card {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.overview-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.overview-card-title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.access-role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.access-role-badge.is-owner,
.access-role-chip.is-owner {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.access-role-badge.is-admin,
.access-role-chip.is-admin {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.access-role-badge.is-manager,
.access-role-chip.is-manager {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
}

.access-role-badge.is-viewer,
.access-role-chip.is-viewer {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}

.access-role-badge.is-superadmin,
.access-role-chip.is-superadmin {
  background: rgba(126, 34, 206, 0.14);
  color: #7e22ce;
}

.computer-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.computer-detail-row {
  min-width: 0;
}

.computer-detail-row dt {
  margin: 0 0 4px;
  color: var(--text-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.computer-detail-row dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.computer-access-summary,
.computer-share-feedback,
.computer-share-empty,
.computer-share-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.computer-share-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.computer-share-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.96), rgba(255, 255, 255, 0.98));
}

.computer-share-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.computer-share-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.computer-share-email {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.access-role-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.computer-share-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.role-menu {
  position: relative;
  min-width: 136px;
}

.role-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.role-menu-trigger:hover {
  background: var(--bg-muted);
}

.role-menu-trigger[aria-expanded="true"] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.role-menu-trigger.is-admin {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.16);
  color: #15803d;
}

.role-menu-trigger.is-manager {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.16);
  color: #b45309;
}

.role-menu-trigger.is-viewer {
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.16);
  color: #475569;
}

.role-menu-caret {
  font-size: 11px;
  line-height: 1;
  opacity: 0.72;
  transition: transform 0.15s ease;
}

.role-menu.is-open .role-menu-caret {
  transform: rotate(180deg);
}

.role-menu-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  min-width: 164px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.role-menu-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.role-menu-option:hover {
  background: var(--bg-muted);
}

.role-menu-option.is-current {
  font-weight: 600;
}

.role-menu-option.is-admin.is-current {
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
}

.role-menu-option.is-manager.is-current {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
}

.role-menu-option.is-viewer.is-current {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
}

.role-menu-option:disabled,
.role-menu-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.role-menu-create {
  min-width: 0;
}

.role-menu-create .role-menu-trigger {
  min-height: 42px;
  border-radius: var(--radius-sm);
}

.role-menu-create .role-menu-list {
  left: 0;
  right: 0;
  min-width: 0;
}

.computer-share-revoke {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(254, 242, 242, 0.9);
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.computer-share-form {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(140px, 0.9fr) auto;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.computer-share-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.computer-share-field span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}

.computer-share-field input,
.computer-share-form .role-menu-trigger {
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
}

.computer-share-field input {
  border-radius: var(--radius-sm);
}

.computer-share-submit-button {
  align-self: end;
  min-height: 42px;
  padding: 0 16px;
}

.computer-share-feedback {
  margin-top: 12px;
}

.computer-share-feedback.is-error {
  color: var(--danger);
}

.computer-share-feedback.is-success {
  color: #15803d;
}

.modal-confirm-field {
  margin-top: 18px;
}

.computer-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.computer-history-item,
.computer-history-empty {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}

.computer-history-item {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.computer-history-item:hover {
  background: #fcfcfc;
}

.computer-history-item.is-active {
  border-color: var(--border-strong);
  background: var(--accent-soft);
}

.computer-history-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.computer-history-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.computer-history-action {
  font-weight: 500;
}

.computer-history-empty h3,
.computer-history-empty p:not(.section-label) {
  margin: 0;
}

.computer-history-empty h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.computer-history-empty p:not(.section-label) {
  margin-top: 8px;
}

/* ── Chat thread ────────────────────────────── */

.thread-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 24px 24px 10px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.message {
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  line-height: 1.6;
  color: var(--text);
  font-size: 14px;
}

.message-user {
  align-self: flex-end;
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.message-user.message-user-other {
  align-self: flex-start;
  background: #fff7ed;
  border-color: #fed7aa;
}

.message-assistant {
  align-self: flex-start;
  background: var(--bg-panel);
  border-color: var(--border);
}

.message-system,
.message-error {
  align-self: center;
  max-width: 90%;
  text-align: center;
}

.message-system {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.message-error {
  background: #fef2f2;
  color: var(--danger);
  border-color: #fecaca;
}

.message.markdown-body {
  white-space: normal;
}

.message.markdown-body p,
.message.markdown-body ul,
.message.markdown-body ol,
.message.markdown-body pre,
.message.markdown-body blockquote,
.message.markdown-body table,
.message.markdown-body h1,
.message.markdown-body h2,
.message.markdown-body h3 {
  margin: 0 0 0.6em;
}

.message.markdown-body p:last-child,
.message.markdown-body ul:last-child,
.message.markdown-body ol:last-child,
.message.markdown-body pre:last-child,
.message.markdown-body blockquote:last-child,
.message.markdown-body table:last-child {
  margin-bottom: 0;
}

.message.markdown-body code {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  padding: 0.15em 0.35em;
  font-size: 13px;
}

.message.markdown-body pre {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #1e1e1e;
  color: #d4d4d4;
  overflow-x: auto;
}

.message.markdown-body pre code {
  background: transparent;
  padding: 0;
}

.message.markdown-body blockquote {
  margin-left: 0;
  padding-left: 14px;
  border-left: 3px solid var(--border-strong);
  color: var(--text-soft);
}

.message.markdown-body table {
  width: 100%;
  border-collapse: collapse;
}

.message.markdown-body th,
.message.markdown-body td {
  padding: 6px 10px;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 13px;
}

.message.is-rtl {
  text-align: right;
}

.message-author {
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.message-body {
  white-space: pre-wrap;
}

/* ── Approval / Tool cards ──────────────────── */

.approval-card {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}

.approval-card {
  overflow: hidden;
}

.approval-header {
  padding: 12px 16px;
}

.approval-header-compact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.approval-explanation {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 14px;
}

.approval-risk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.approval-risk-badge,
.approval-decided,
.status-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg-chip);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-running {
  gap: 6px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.status-running-indicator {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  animation: status-pulse 0.9s ease-in-out infinite;
}

.approval-risk-reason {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 13px;
}

.approval-details {
  display: none;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.approval-details.show {
  display: block;
}

.approval-details-toggle {
  border: none;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.approval-details-toggle-icon {
  min-width: 26px;
  min-height: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

.approval-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}

.approval-buttons button {
  min-height: 44px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.approval-buttons button:first-child {
  border-right: 1px solid var(--border);
}

.btn-allow {
  color: #16a34a;
}

.btn-allow:hover {
  background: #f0fdf4;
}

.btn-deny {
  color: var(--danger);
}

.btn-deny:hover {
  background: #fef2f2;
}

.status-completed {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.status-denied,
.status-cancelled,
.status-timeout,
.status-failed {
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger);
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ── Composer ───────────────────────────────── */

.composer-panel {
  margin: auto 24px 24px;
  width: min(800px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
}

.composer-shell {
  padding: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.workspace.is-new-task .composer-panel {
  margin: auto auto;
  width: min(720px, calc(100% - 48px));
}

.workspace.is-computer-overview .composer-panel {
  order: 1;
  margin: 24px auto 0;
  width: min(880px, calc(100% - 48px));
  flex-shrink: 0;
}

.workspace.is-computer-overview .computer-overview {
  order: 2;
}

.workspace.is-computer-overview .computer-overview-panels,
.workspace.is-computer-overview .computer-overview-status {
  display: none;
}

.workspace.is-new-task .composer-shell {
  padding: 20px;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-xl);
}

.workspace.is-new-task .composer-meta {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  text-align: center;
}

.workspace.is-new-task .composer-hint {
  max-width: 56ch;
  text-align: center;
}

.workspace.is-new-task .composer-footer {
  justify-content: flex-end;
}

.workspace.is-new-task textarea {
  min-height: 72px;
  font-size: 17px;
  line-height: 1.6;
}

.composer-meta,
.composer-footer,
.suggestion-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.composer-meta {
  justify-content: space-between;
  margin-bottom: 10px;
}

.composer-footer {
  justify-content: space-between;
  margin-top: 12px;
  gap: 12px;
}

.suggestion-row {
  flex-wrap: wrap;
  gap: 8px;
}

.suggestion-chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-soft);
  border: 1px solid var(--border);
  font-size: 13px;
}

.suggestion-chip:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.send-button {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.claim-output {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  color: #166534;
  font-weight: 600;
  font-size: 13px;
}

.sidebar-backdrop {
  display: none;
}

/* ── Scrollbar ──────────────────────────────── */

.thread-scroll::-webkit-scrollbar,
.task-groups::-webkit-scrollbar {
  width: 6px;
}

.thread-scroll::-webkit-scrollbar-thumb,
.task-groups::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
}

.thread-scroll::-webkit-scrollbar-track,
.task-groups::-webkit-scrollbar-track {
  background: transparent;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.75);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@supports (height: 100dvh) {
  .app-shell {
    height: 100dvh;
  }
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 960px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 85vw);
    height: 100vh;
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    border-right: 1px solid var(--border);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-close,
  .sidebar-toggle {
    display: inline-flex;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    z-index: 30;
    background: rgba(0, 0, 0, 0.3);
  }

  .workspace {
    height: 100%;
  }
}

@media (min-width: 961px) {
  .sidebar-toggle {
    display: none;
  }
}

@media (max-width: 760px) {
  .workspace-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .workspace-header-right,
  .composer-footer {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .computer-overview-status {
    width: 100%;
    justify-content: space-between;
  }

  .machine-pill,
  .composer-target {
    width: 100%;
    justify-content: center;
  }

  .composer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .message {
    max-width: 100%;
  }

  .composer-panel {
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }

  .workspace.is-computer-overview .composer-panel {
    width: calc(100% - 32px);
    margin: 16px auto 0;
  }

  .workspace.is-new-task .composer-panel {
    width: calc(100% - 32px);
    margin: auto 16px;
  }

  .workspace.is-new-task .composer-meta {
    align-items: flex-start;
    text-align: left;
  }

  .workspace.is-new-task .composer-hint {
    text-align: left;
  }

  .computers-dashboard,
  .computer-overview {
    padding: 18px 16px 24px;
  }

  .computers-dashboard-header,
  .computer-overview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-install-panel {
    padding: 18px;
  }

  .dashboard-install-grid {
    grid-template-columns: 1fr;
  }

  .install-copy-link-wrap {
    display: flex;
  }

  .install-copy-link-button {
    width: 100%;
  }

  .computer-overview-status {
    flex-direction: column;
    align-items: flex-start;
  }

  .computer-overview-meta {
    white-space: normal;
  }

  .computer-overview-panels,
  .computer-details-grid {
    grid-template-columns: 1fr;
  }

  .overview-card-head,
  .computer-share-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .share-dialog-form {
    grid-template-columns: 1fr;
  }

  .computer-share-item {
    grid-template-columns: 1fr;
  }

  .computer-share-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .access-role-badge {
    align-self: flex-start;
  }

  .computer-share-revoke,
  .computer-share-actions .role-menu,
  .computer-share-actions .role-menu-trigger,
  .computer-share-submit-button {
    width: 100%;
  }

  .computer-share-actions .role-menu-list {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .computer-history-item {
    align-items: flex-start;
  }

  .modal-card {
    padding: 20px;
    border-radius: 18px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions .primary-button,
  .modal-actions .secondary-button,
  .share-dialog-form .primary-button {
    width: 100%;
  }

  .landing-cards {
    width: 100%;
  }

  .install-card {
    padding: 22px;
  }

  .install-card-header {
    align-items: flex-start;
  }

  .install-actions .primary-button,
  .install-actions .secondary-button {
    width: 100%;
  }

  .install-platform-actions {
    grid-template-columns: 1fr;
  }

  .install-platform-status {
    min-height: 0;
  }
}

/* ── Simon App Wireframe overrides ─────────── */

.app-shell {
  grid-template-columns: 260px minmax(0, 1fr);
}

.sidebar {
  padding: 16px;
  background: #fafafa;
}

.sidebar-head {
  padding: 0;
}

.new-task-button {
  min-height: 34px;
  margin-top: 16px;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  background: #1a1a1a;
  color: #ffffff;
  font-weight: 500;
}

.new-task-button:hover {
  background: #111111;
}

.nav-row {
  gap: 10px;
  margin-top: 16px;
  padding: 0;
}

.nav-button {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.nav-button svg,
.computer-card-folder svg,
.install-download-button .button-icon {
  flex-shrink: 0;
}

.nav-button.nav-section {
  justify-content: flex-start;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  color: #888888;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-button.nav-section:hover {
  background: #f1f1f1;
  color: #52525b;
}

.nav-button.nav-section.is-active {
  background: #ececec;
  color: #1a1a1a;
}

.nav-button.nav-search {
  justify-content: flex-start;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  background: #ffffff;
  color: #a1a1aa;
  font-size: 13px;
  cursor: default;
  pointer-events: none;
}

.nav-button.nav-search:hover {
  background: #ffffff;
  color: #a1a1aa;
}

.task-groups {
  margin-top: 12px;
  padding-right: 0;
}

.computer-group {
  margin-bottom: 12px;
}

.computer-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f5f5f5;
  text-align: left;
}

.computer-card:hover {
  background: #f1f1f1;
}

.computer-card.is-selected {
  border-color: #e5e5e5;
  background: #f0f0f0;
}

.computer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.computer-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.computer-card-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
}

.computer-card-folder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #737373;
  transition: color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
  opacity: 0.95;
}

.computer-card:hover .computer-card-folder,
.computer-card.is-selected .computer-card-folder {
  color: #1f2937;
}

.computer-card-folder.is-collapsed {
  transform: translateY(0.5px);
}

.computer-card-folder.is-expanded {
  color: #52525b;
}

.computer-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #888888;
  font-size: 11px;
}

.computer-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.computer-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}

.computer-card-badge.is-admin {
  background: #dcfce7;
  color: #16a34a;
}

.computer-card-badge.is-ready {
  background: #eef2ff;
  color: #4f46e5;
}

.computer-card-badge.is-viewer,
.computer-card-badge.is-offline {
  background: #f0f0f0;
  color: #888888;
}

.computer-card-status,
.computer-card-platform {
  color: #888888;
}

.computer-task-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
  padding-left: 14px;
}

.computer-task-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}

.computer-task-item:hover,
.computer-task-item.is-active {
  background: #f5f5f5;
}

.computer-task-item.is-empty {
  cursor: default;
}

.computer-task-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 500;
}

.computer-task-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #888888;
  font-size: 11px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e4e4e7;
}

.account-card {
  gap: 10px;
  padding: 12px 0 0;
  border-radius: 0;
}

.account-card:hover {
  background: transparent;
}

.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
}

.account-copy strong {
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 500;
}

.account-copy span {
  color: #888888;
  font-size: 11px;
}

.sidebar-footer .ghost-button {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
}

.sidebar-footer .ghost-button:hover {
  background: transparent;
  color: #1d4ed8;
}

.workspace-header {
  min-height: 56px;
  padding: 0 24px;
}

.workspace-copy {
  gap: 0;
}

.workspace-label {
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 500;
}

.workspace-header-right {
  gap: 12px;
}

.machine-pill {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: #ffffff;
  color: #888888;
  font-size: 13px;
  font-weight: 400;
}

.machine-pill::after {
  content: "▾";
  margin-left: 8px;
  color: #a1a1aa;
  font-size: 10px;
}

.machine-pill.is-empty {
  color: #888888;
}

.machine-pill:hover {
  background: #fafafa;
}

#account-avatar-header {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666666;
  font-size: 12px;
  font-weight: 600;
}

.landing-state {
  align-items: stretch;
  justify-content: center;
  padding: 56px 40px 40px;
  background: #ffffff;
}

.landing-state::before {
  display: none;
}

.landing-copy {
  display: none;
}

.landing-shell {
  width: 100%;
  max-width: none;
  gap: 0;
}

.landing-cards {
  width: 100%;
  display: flex;
  justify-content: center;
}

.install-card {
  width: min(480px, 100%);
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  backdrop-filter: none;
}

.install-card::before {
  display: none;
}

.install-card-header {
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 40px 40px 24px;
}

.install-card-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #f5f5f5;
  color: #1a1a1a;
  box-shadow: none;
}

.install-card-heading .section-label {
  display: none;
}

.install-card h3 {
  font-size: 22px;
  font-weight: 600;
}

.install-card-copy {
  margin: 0;
  padding: 0 40px 24px;
  color: #888888;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.install-card-divider {
  height: 1px;
  background: #f0f0f0;
}

.install-method-grid {
  gap: 16px;
  margin-top: 0;
  padding: 24px 40px 20px;
}

.install-method-card {
  gap: 12px;
  padding: 18px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fafafa;
  text-align: left;
}

.install-method-kicker {
  color: #888888;
  font-size: 11px;
}

.install-method-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.install-method-copy {
  color: #666666;
  font-size: 13px;
  line-height: 1.6;
}

.install-method-card .install-actions {
  margin: 0;
}

.install-method-card .install-platform-actions {
  padding: 0;
}

.install-method-card .install-platform-status {
  text-align: left;
}

.install-actions {
  margin: 0;
}

.install-platform-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px 40px 20px;
}

.install-action-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.install-download-button {
  width: 100%;
  min-height: 48px;
  gap: 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.install-download-button.primary-button {
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  background: #1a1a1a;
  box-shadow: none;
}

.install-download-button.primary-button:hover {
  background: #1a1a1a;
}

.install-download-button.secondary-button {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #ffffff;
  color: #555555;
}

.install-download-button.secondary-button:hover {
  background: #fafafa;
}

.install-download-button.is-disabled {
  background: #ffffff;
  color: #aaaaaa;
  opacity: 1;
}

.install-copy-link-button {
  width: 100%;
  min-width: 0;
  gap: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
}

.install-copy-link-button:hover {
  background: #fafafa;
  border-color: #e5e5e5;
  box-shadow: none;
  transform: none;
}

.install-copy-link-button[aria-busy="true"] {
  opacity: 0.75;
}

.install-platform-status {
  min-height: 0;
  margin: 0;
  color: #aaaaaa;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.install-card-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 40px 20px;
}

.install-step {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #888888;
  font-size: 12px;
}

.install-step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #888888;
  font-size: 11px;
  font-weight: 500;
}

.install-step.is-active {
  color: #1a1a1a;
  font-weight: 500;
}

.install-step.is-active .install-step-dot {
  background: #1a1a1a;
  color: #ffffff;
}

.install-status {
  margin: 0;
  padding: 0 40px 20px;
  border-top: none;
  color: #888888;
  font-size: 12px;
  text-align: left;
}

@media (max-width: 960px) {
  .landing-state {
    padding: 24px;
  }

  .install-card {
    width: 100%;
  }

  .install-card-header,
  .install-card-copy,
  .install-method-grid,
  .install-platform-actions,
  .install-card-steps,
  .install-status {
    padding-left: 24px;
    padding-right: 24px;
  }

  .install-card-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Signed-out homepage */

.auth-screen {
  position: relative;
  place-items: stretch;
  padding: 40px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(190, 168, 141, 0.22), transparent 34%),
    linear-gradient(180deg, #faf7f2 0%, #ffffff 58%);
}

.auth-screen-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 40px;
  width: min(1180px, 100%);
  margin: auto;
}

.auth-screen.is-single-panel {
  background: #ffffff;
}

.auth-screen.is-single-panel .auth-screen-shell {
  grid-template-columns: minmax(0, 1fr);
  width: min(480px, 100%);
}

.auth-screen.is-install-invite .auth-screen-shell {
  grid-template-columns: minmax(0, 1fr);
  width: min(860px, 100%);
}

.auth-screen.is-install-invite .auth-card-wrap {
  display: none;
}

.public-home {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.public-home-copy {
  max-width: 680px;
}

.public-home-kicker {
  margin-bottom: 18px;
}

.public-home-title {
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(2.8rem, 6vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 550;
  text-wrap: balance;
}

.public-install-owner-callout {
  display: grid;
  gap: 6px;
  width: fit-content;
  max-width: min(100%, 520px);
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(190, 168, 141, 0.34);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 242, 0.98));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.public-install-owner-label,
.public-install-owner-name,
.public-install-owner-detail {
  margin: 0;
}

.public-install-owner-label {
  color: #7b6a56;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-install-owner-name {
  color: #1a1a1a;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.public-install-owner-detail {
  max-width: 40ch;
  color: #555555;
  font-size: 14px;
  line-height: 1.5;
}

.public-home-subtitle {
  max-width: 56ch;
  margin: 18px 0 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.65;
  text-wrap: balance;
}

.auth-card-wrap {
  width: min(420px, 100%);
  justify-self: end;
}

.auth-screen.is-single-panel .auth-card-wrap {
  width: min(480px, 100%);
  justify-self: center;
}

.auth-card {
  width: 100%;
  padding: 38px 34px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.auth-card .auth-kicker {
  margin-bottom: 16px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.auth-card h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.auth-card .auth-copy {
  max-width: 42ch;
}

#public-install-card {
  width: min(560px, 100%);
  margin: 0;
  text-align: left;
}

#public-install-card .install-card-header {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 28px 28px 20px;
}

#public-install-card .install-card-heading .section-label {
  display: block;
}

#public-install-card .install-card-copy {
  padding: 0 28px 22px;
  text-align: left;
}

#public-install-card .install-platform-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px 28px 20px;
}

#public-install-card .install-platform-status,
#public-install-card .install-status {
  text-align: left;
}

#public-install-card .install-card-steps {
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 28px 22px;
}

#public-install-card .install-status {
  padding: 0 28px 24px;
}

@media (max-width: 960px) {
  .auth-screen {
    padding: 24px;
  }

  .auth-screen-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: min(720px, 100%);
  }

  .auth-card-wrap {
    width: 100%;
    justify-self: stretch;
  }

  #public-install-card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .auth-screen {
    padding: 18px;
  }

  .public-home-title {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .public-install-owner-callout {
    padding: 14px 16px;
  }

  .public-home-subtitle {
    font-size: 15px;
  }

  .auth-card {
    padding: 28px 22px;
  }

  #public-install-card .install-card-header,
  #public-install-card .install-card-copy,
  #public-install-card .install-platform-actions,
  #public-install-card .install-card-steps,
  #public-install-card .install-status {
    padding-left: 22px;
    padding-right: 22px;
  }

  .install-method-grid {
    padding-left: 22px;
    padding-right: 22px;
  }

  #public-install-card .install-platform-actions {
    grid-template-columns: 1fr;
  }

  #public-install-card .install-card-steps {
    flex-direction: column;
    align-items: flex-start;
  }
}
