:root {
  color-scheme: dark;
  --site-bg: #111312;
  --site-panel: #181a18;
  --site-panel-raised: #20231f;
  --site-text: #f2f1eb;
  --site-muted: #a6aaa4;
  --site-line: #30342f;
  --site-accent: #0093d1;
  --site-accent-strong: #8bd7f4;
  --site-accent-soft: #082536;
  --site-accent-warm: #f78f1e;
  --site-danger: #ff8f8f;
  --site-danger-bg: #351a1a;
  --site-warning: #f78f1e;
  --site-success: #8bd7a1;
  --site-shadow: rgba(0, 0, 0, 0.28);
  --site-page: min(100% - 36px, 1280px);
  --site-heading-font: "Segoe UI Light", "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --site-bg: #f5f6f4;
    --site-panel: #ffffff;
    --site-panel-raised: #eef2ee;
    --site-text: #20231f;
    --site-muted: #676d66;
    --site-line: #d9ded6;
    --site-accent: #0077a8;
    --site-accent-strong: #005f85;
    --site-accent-soft: #e4f5fb;
    --site-accent-warm: #c96500;
    --site-danger: #a33d3d;
    --site-danger-bg: #fff1f1;
    --site-warning: #8a5a00;
    --site-success: #146c43;
    --site-shadow: rgba(42, 49, 43, 0.12);
  }
}

:root[data-site-theme="dark"] {
  color-scheme: dark;
  --site-bg: #111312;
  --site-panel: #181a18;
  --site-panel-raised: #20231f;
  --site-text: #f2f1eb;
  --site-muted: #a6aaa4;
  --site-line: #30342f;
  --site-accent: #0093d1;
  --site-accent-strong: #8bd7f4;
  --site-accent-soft: #082536;
  --site-accent-warm: #f78f1e;
  --site-danger: #ff8f8f;
  --site-danger-bg: #351a1a;
  --site-warning: #f78f1e;
  --site-success: #8bd7a1;
  --site-shadow: rgba(0, 0, 0, 0.28);
}

:root[data-site-theme="light"] {
  color-scheme: light;
  --site-bg: #f5f6f4;
  --site-panel: #ffffff;
  --site-panel-raised: #eef2ee;
  --site-text: #20231f;
  --site-muted: #676d66;
  --site-line: #d9ded6;
  --site-accent: #0077a8;
  --site-accent-strong: #005f85;
  --site-accent-soft: #e4f5fb;
  --site-accent-warm: #c96500;
  --site-danger: #a33d3d;
  --site-danger-bg: #fff1f1;
  --site-warning: #8a5a00;
  --site-success: #146c43;
  --site-shadow: rgba(42, 49, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    linear-gradient(90deg, var(--site-bg) 0%, color-mix(in srgb, var(--site-bg) 76%, transparent) 44%, var(--site-bg) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--site-bg) 18%, transparent) 0%, var(--site-bg) 68%),
    url("media/background/hosting_cloud_services_and_support.png") center top / min(1480px, 100vw) auto no-repeat,
    var(--site-bg);
  color: var(--site-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--site-page);
  margin: 0 auto;
  padding: 14px 0;
  background: color-mix(in srgb, var(--site-bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo {
  display: block;
  width: min(188px, 48vw);
  height: auto;
}

.site-logo-light {
  display: none;
}

@media (prefers-color-scheme: light) {
  .site-logo-dark {
    display: none;
  }

  .site-logo-light {
    display: block;
  }
}

:root[data-site-theme="dark"] .site-logo-dark {
  display: block;
}

:root[data-site-theme="dark"] .site-logo-light {
  display: none;
}

:root[data-site-theme="light"] .site-logo-dark {
  display: none;
}

:root[data-site-theme="light"] .site-logo-light {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--site-muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.site-nav a,
.site-nav-button,
.site-nav > .operational-status {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav-button:hover,
.site-nav-button:focus-visible {
  border-color: var(--site-line);
  color: var(--site-text);
  outline: none;
}

.site-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  padding: 7px;
}

.site-nav a.site-nav-icon {
  padding: 7px;
}

.site-nav-icon svg,
.site-nav-button svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.operational-status {
  --operational-status-color: var(--site-muted);
  color: var(--operational-status-color);
}

.operational-status--clear {
  color: color-mix(in srgb, var(--site-muted) 72%, transparent);
  cursor: default;
}

.operational-status--info {
  --operational-status-color: var(--site-accent-strong);
}

.operational-status--planned {
  --operational-status-color: var(--site-accent-warm);
}

.operational-status--degraded {
  --operational-status-color: var(--site-warning);
}

.operational-status--outage {
  --operational-status-color: var(--site-danger);
}

.operational-status svg {
  width: 19px;
  height: 19px;
}

.site-nav-button.operational-status:hover,
.site-nav-button.operational-status:focus-visible {
  border-color: color-mix(in srgb, var(--operational-status-color) 44%, transparent);
  color: var(--operational-status-color);
}

.site-theme-toggle {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--site-muted);
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
}

.site-theme-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 40px;
  height: 22px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: var(--site-panel-raised);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--site-accent);
  transition: transform 140ms ease;
}

.site-theme-toggle input:checked + .toggle-track .toggle-thumb {
  transform: translateX(18px);
}

.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.theme-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-theme-toggle:hover,
.site-theme-toggle:has(input:focus-visible),
.site-nav-button:hover,
.site-nav-button:focus-visible {
  border-color: var(--site-line);
  color: var(--site-accent-warm);
  outline: 0;
}

.site-theme-toggle:hover .toggle-track,
.site-theme-toggle:has(input:focus-visible) .toggle-track {
  border-color: var(--site-accent-warm);
}

.page {
  width: var(--site-page);
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 0 clamp(46px, 7vw, 74px);
}

.auth-panel,
.error-panel,
.confirm-panel,
.admin-panel {
  max-width: 430px;
  margin: 48px auto;
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--site-panel) 92%, transparent), color-mix(in srgb, var(--site-panel-raised) 64%, transparent)),
    var(--site-panel);
  box-shadow: 0 18px 48px var(--site-shadow);
}

.admin-panel {
  max-width: 980px;
}

.admin-panel--workspace {
  display: grid;
  gap: 18px;
}

.auth-panel h1,
.error-panel h1,
.confirm-panel h1,
.admin-panel h1,
.dashboard-heading h1 {
  margin: 0;
  font-family: var(--site-heading-font);
  font-weight: 300;
  letter-spacing: 0;
}

.auth-panel h1,
.error-panel h1,
.confirm-panel h1,
.admin-panel h1 {
  margin-bottom: 22px;
  font-size: 2rem;
  line-height: 1.1;
}

.dashboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--site-line);
}

.dashboard-heading h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
}

.dashboard-heading h1 span {
  display: block;
  margin-bottom: 8px;
  color: var(--site-accent-warm);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.dashboard-heading__tools {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.dashboard-updated {
  margin: 0;
  color: var(--site-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.2;
}

.ip-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  border: 0;
}

.ip-filter legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ip-filter label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
  user-select: none;
}

.ip-filter input {
  width: 14px;
  height: 14px;
  accent-color: var(--site-accent);
}

.ip-filter label:has(input:checked) {
  border-color: color-mix(in srgb, var(--site-accent) 42%, var(--site-line));
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
}

.ip-filter label:hover,
.ip-filter label:focus-within {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
}

.dashboard-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 2fr) auto;
  gap: 8px;
  align-items: center;
  margin: -6px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--site-line);
}

.dashboard-filter-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.dashboard-filter-search svg {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  color: var(--site-muted);
  pointer-events: none;
}

.dashboard-filter-search input,
.dashboard-filter-selects select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--site-panel) 76%, transparent);
  color: var(--site-text);
  font: inherit;
  font-size: 0.8rem;
}

.dashboard-filter-search input {
  padding: 7px 10px 7px 32px;
}

.dashboard-filter-selects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 6px;
  min-width: 0;
}

.dashboard-filter-selects label {
  min-width: 0;
}

.dashboard-filter-selects select {
  padding: 6px 8px;
}

.dashboard-filter-search input:hover,
.dashboard-filter-search input:focus-visible,
.dashboard-filter-selects select:hover,
.dashboard-filter-selects select:focus-visible {
  border-color: var(--site-accent-warm);
  outline: none;
}

.dashboard-filter-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--site-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.dashboard-filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: transparent;
  color: var(--site-muted);
  cursor: pointer;
}

.dashboard-export-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  color: var(--site-muted);
  font-weight: 800;
  text-decoration: none;
}

.dashboard-export-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.dashboard-filter-clear svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.dashboard-export-button:hover,
.dashboard-export-button:focus-visible,
.dashboard-filter-clear:hover,
.dashboard-filter-clear:focus-visible {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: none;
}

.dashboard-filter-clear:disabled {
  cursor: default;
  opacity: 0.42;
}

.dashboard-filter-empty {
  margin: 0 0 16px;
}

.dashboard-filter-empty[hidden] {
  display: none;
}

.network-list {
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--site-accent-warm);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form {
  display: grid;
  gap: 10px;
}

.form label {
  color: var(--site-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.form input,
.form select,
.form textarea {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-text);
  font: inherit;
}

.form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 18px,
    calc(100% - 12px) 18px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 34px;
}

.form textarea {
  min-height: 138px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--site-accent-warm);
  outline: 3px solid color-mix(in srgb, var(--site-accent) 22%, transparent);
}

.form button,
.danger-button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.form button {
  width: 100%;
  margin-top: 12px;
}

.form button:hover,
.form button:focus-visible,
.button-link:hover,
.button-link:focus-visible,
.danger-button:hover,
.danger-button:focus-visible {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: 0;
}

.auth-helper {
  margin: 18px 0 0;
  color: var(--site-muted);
  font-size: 0.88rem;
  text-align: center;
}

.auth-helper a {
  color: var(--site-accent-strong);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auth-helper a:hover,
.auth-helper a:focus-visible {
  color: var(--site-accent-warm);
  outline: 0;
}

.button-link--danger,
.danger-button {
  background: var(--site-danger-bg);
  color: var(--site-danger);
}

.button-link--warning {
  background: color-mix(in srgb, var(--site-accent-warm) 18%, var(--site-panel));
  color: var(--site-accent-warm);
}

.button-link--secondary {
  background: var(--site-panel-raised);
  color: var(--site-muted);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: none;
}

.secondary-button--icon {
  gap: 7px;
}

.secondary-button--icon svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
}

.check-row input {
  min-height: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--site-accent);
}

.button-row {
  display: flex;
  justify-content: flex-end;
}

.admin-hero,
.admin-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-hero {
  padding-bottom: 4px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-summary div,
.admin-section {
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--site-panel-raised) 72%, transparent);
}

.admin-summary div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
}

.admin-summary dt {
  color: var(--site-muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--site-text);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.admin-workspace {
  display: grid;
  gap: 14px;
}

.admin-section {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.admin-section h2 {
  margin: 0;
  font-family: var(--site-heading-font);
  font-size: 1.25rem;
  font-weight: 350;
  letter-spacing: 0;
  line-height: 1.15;
}

.admin-section .eyebrow {
  margin-bottom: 4px;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  color: var(--site-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-status--active {
  border-color: color-mix(in srgb, var(--site-accent-warm) 45%, transparent);
  background: color-mix(in srgb, var(--site-accent-warm) 13%, transparent);
  color: var(--site-accent-warm);
}

.admin-current-notice {
  margin: 0;
  padding: 8px 10px;
  border-left: 3px solid var(--site-accent-warm);
  background: color-mix(in srgb, var(--site-accent-warm) 10%, transparent);
  color: var(--site-text);
  overflow-wrap: anywhere;
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-field-grid > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-field-grid--notice {
  grid-template-columns: minmax(170px, 0.6fr) minmax(0, 1.4fr);
}

.admin-form--notice textarea {
  min-height: 104px;
}

.admin-button-row button {
  width: auto;
  min-width: 150px;
}

.admin-inline-form {
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 0;
}

.admin-form {
  margin-top: 0;
}

.admin-form h2 {
  margin: 2px 0 4px;
  font-family: var(--site-heading-font);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: 0;
}

.admin-note {
  margin: 0 0 10px;
  color: var(--site-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.admin-lock-form {
  margin-top: 16px;
}

.admin-lock-form--hero {
  margin: 0;
}

.form-error,
.inline-error {
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--site-danger) 32%, transparent);
  border-radius: 6px;
  background: var(--site-danger-bg);
  color: var(--site-danger);
}

.flash-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.flash {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--site-accent) 28%, transparent);
  border-radius: 6px;
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
}

.operational-banner,
.operational-notice-panel {
  --operational-notice-color: var(--site-accent-strong);
  --operational-notice-bg: color-mix(in srgb, var(--operational-notice-color) 12%, var(--site-panel));
}

.operational-banner--planned,
.operational-notice-panel--planned {
  --operational-notice-color: var(--site-accent-warm);
}

.operational-banner--degraded,
.operational-notice-panel--degraded {
  --operational-notice-color: var(--site-warning);
}

.operational-banner--outage,
.operational-notice-panel--outage {
  --operational-notice-color: var(--site-danger);
}

.operational-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--operational-notice-color) 38%, transparent);
  border-radius: 8px;
  background: var(--operational-notice-bg);
  color: var(--site-text);
}

.operational-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--operational-notice-color);
}

.operational-banner__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.operational-banner__copy {
  min-width: 0;
}

.operational-banner__copy span {
  display: block;
  margin-bottom: 1px;
  color: var(--operational-notice-color);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.operational-banner__copy strong {
  display: block;
  overflow-wrap: anywhere;
}

.operational-banner__copy p {
  margin: 2px 0 0;
  color: var(--site-muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.operational-banner__button {
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--operational-notice-color) 42%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--operational-notice-color) 12%, transparent);
  color: var(--operational-notice-color);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.operational-banner__button:hover,
.operational-banner__button:focus-visible {
  border-color: var(--operational-notice-color);
  outline: none;
}

.account-scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.38);
}

.account-scrim[hidden] {
  display: none;
}

.account-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 36;
  display: grid;
  align-content: start;
  gap: 18px;
  width: min(430px, 100vw);
  height: 100vh;
  height: 100dvh;
  padding: 20px;
  border-left: 1px solid var(--site-line);
  background: color-mix(in srgb, var(--site-panel) 98%, transparent);
  box-shadow: -18px 0 48px var(--site-shadow);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.account-panel[data-open="true"] {
  transform: translateX(0);
}

.account-panel--notepad {
  width: min(560px, 100vw);
}

.account-panel--snapshot {
  width: min(500px, 100vw);
}

.account-panel--history {
  width: min(380px, 100vw);
}

.account-panel--notice {
  width: min(420px, 100vw);
  border-left-color: color-mix(in srgb, var(--operational-notice-color) 42%, var(--site-line));
}

.account-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--site-line);
}

.account-panel h2,
.account-panel h3 {
  margin: 0;
  font-family: var(--site-heading-font);
  font-weight: 300;
  letter-spacing: 0;
}

.account-panel h2 {
  font-size: 1.65rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.account-panel h3 {
  margin-bottom: 10px;
  color: var(--site-text);
  font-size: 1.16rem;
  line-height: 1.2;
}

.account-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  cursor: pointer;
}

.account-panel__header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.notepad-export-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.account-panel__close svg,
.notepad-export-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.account-panel__close:hover,
.account-panel__close:focus-visible,
.notepad-export-button:hover,
.notepad-export-button:focus-visible {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: none;
}

.account-summary {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: var(--site-panel-raised);
}

.account-summary div {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  gap: 10px;
}

.account-summary dt {
  color: var(--site-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.account-summary dd {
  min-width: 0;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.account-summary--compact {
  gap: 6px;
  padding: 8px 10px;
}

.account-summary--compact div {
  grid-template-columns: 80px minmax(0, 1fr);
}

.account-feedback {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--site-accent) 30%, transparent);
  border-radius: 8px;
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
}

.account-feedback p {
  margin: 0;
  overflow-wrap: anywhere;
}

.operational-notice-message {
  margin: 0;
  color: var(--site-text);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.operational-notice-meta {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--operational-notice-color) 28%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--operational-notice-color) 10%, var(--site-panel-raised));
}

.operational-notice-meta div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
}

.operational-notice-meta dt {
  color: var(--operational-notice-color);
  font-weight: 800;
}

.operational-notice-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.account-panel__section {
  padding-top: 16px;
  border-top: 1px solid var(--site-line);
}

.account-panel__section--first {
  padding-top: 0;
  border-top: 0;
}

.account-form textarea {
  min-height: 96px;
}

.account-panel--notepad {
  gap: 12px;
  font-size: 0.82rem;
}

.account-panel--notepad h3 {
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.account-panel--notepad .account-panel__section {
  padding-top: 10px;
}

.account-panel--notepad .account-panel__section--first {
  display: grid;
  gap: 4px;
  padding-top: 0;
}

.account-panel--notepad .form label {
  font-size: 0.7rem;
}

.account-panel--notepad .form input,
.account-panel--notepad .form textarea,
.notepad-search {
  min-height: 30px;
  padding: 5px 7px;
  font-size: 0.76rem;
}

.notepad-form--new {
  padding: 7px;
}

.notepad-create {
  border: 1px solid var(--site-line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--site-panel-raised) 86%, transparent);
  overflow: hidden;
}

.notepad-create[open] .notepad-summary--create {
  border-bottom: 1px solid var(--site-line);
}

.notepad-form--new textarea,
.notepad-form--edit textarea {
  min-height: 112px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  line-height: 1.45;
  tab-size: 2;
}

.notepad-form--edit {
  gap: 6px;
}

.notepad-form--edit button,
.notepad-form--new button {
  min-height: 28px;
  margin-top: 2px;
  padding: 4px 7px;
  font-size: 0.72rem;
}

.notepad-search {
  width: 100%;
  margin: 0 0 6px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-text);
  font: inherit;
}

.notepad-search:focus {
  border-color: var(--site-accent-warm);
  outline: 3px solid color-mix(in srgb, var(--site-accent) 22%, transparent);
}

.notepad-list {
  display: grid;
  gap: 4px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.notepad-item {
  min-width: 0;
}

.notepad-item[hidden],
.notepad-search-empty[hidden] {
  display: none;
}

.notepad-note {
  min-width: 0;
  border: 1px solid var(--site-line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--site-panel-raised) 86%, transparent);
  overflow: hidden;
}

.notepad-summary {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-height: 26px;
  padding: 4px 6px;
  cursor: pointer;
  list-style: none;
}

.notepad-summary::-webkit-details-marker {
  display: none;
}

.notepad-summary::before {
  content: "+";
  display: inline-grid;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--site-line);
  border-radius: 3px;
  color: var(--site-muted);
  font-size: 0.7rem;
  line-height: 1;
}

.notepad-note[open] .notepad-summary {
  border-bottom: 1px solid var(--site-line);
}

.notepad-note[open] .notepad-summary::before {
  content: "-";
  color: var(--site-accent-warm);
}

.notepad-summary__title {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--site-text);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notepad-summary__meta {
  grid-column: 3;
  grid-row: 1;
  color: var(--site-muted);
  font-size: 0.66rem;
  font-weight: 750;
  white-space: nowrap;
}

.notepad-detail {
  display: grid;
  gap: 5px;
  padding: 6px;
}

.notepad-markdown-preview {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 7px;
  border-left: 2px solid var(--site-accent-warm);
  background: color-mix(in srgb, var(--site-panel) 74%, transparent);
  color: var(--site-text);
  overflow-wrap: anywhere;
}

.notepad-source {
  border: 1px solid var(--site-line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--site-panel-raised) 80%, transparent);
  overflow: hidden;
}

.notepad-source[open] .notepad-source__summary {
  border-bottom: 1px solid var(--site-line);
}

.notepad-source:not([open]) .notepad-form--edit {
  display: none;
}

.notepad-source__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-height: 26px;
  padding: 4px 6px;
  color: var(--site-text);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  list-style: none;
}

.notepad-source__summary::-webkit-details-marker {
  display: none;
}

.notepad-source__summary span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notepad-source__summary span:last-child {
  color: var(--site-muted);
  font-size: 0.66rem;
  font-weight: 750;
}

.notepad-source .notepad-form--edit {
  padding: 6px;
}

.notepad-rendered p,
.notepad-rendered ul,
.notepad-rendered ol,
.notepad-rendered blockquote,
.notepad-rendered pre,
.notepad-rendered h1,
.notepad-rendered h2,
.notepad-rendered h3,
.notepad-rendered h4,
.notepad-rendered h5,
.notepad-rendered h6 {
  margin: 0;
}

.notepad-rendered p {
  line-height: 1.45;
}

.notepad-rendered h1,
.notepad-rendered h2,
.notepad-rendered h3,
.notepad-rendered h4,
.notepad-rendered h5,
.notepad-rendered h6 {
  font-size: 0.82rem;
  line-height: 1.25;
}

.notepad-rendered a {
  color: var(--site-accent-warm);
  font-weight: 750;
  text-decoration: none;
}

.notepad-rendered a:hover,
.notepad-rendered a:focus-visible {
  text-decoration: underline;
}

.notepad-rendered code,
.notepad-rendered pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.notepad-rendered code {
  padding: 1px 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--site-line) 55%, transparent);
  font-size: 0.72rem;
}

.notepad-rendered pre {
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--site-line);
  border-radius: 4px;
  overflow-x: auto;
  white-space: pre-wrap;
}

.notepad-rendered pre code {
  padding: 0;
  background: transparent;
}

.notepad-rendered blockquote {
  padding-left: 7px;
  border-left: 2px solid var(--site-line);
  color: var(--site-muted);
}

.notepad-rendered hr {
  width: 100%;
  margin: 1px 0;
  border: 0;
  border-top: 1px solid var(--site-line);
}

.notepad-rendered-list {
  display: grid;
  gap: 3px;
  padding-left: 16px;
}

.notepad-rendered-list--tasks {
  padding-left: 0;
  list-style: none;
}

.notepad-complete-section {
  display: grid;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--site-line);
}

.notepad-complete-section h4 {
  color: var(--site-muted);
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.notepad-rendered-list--complete {
  opacity: 0.82;
}

.notepad-rendered-list-item--depth-1 {
  margin-left: 14px;
}

.notepad-rendered-list-item--depth-2 {
  margin-left: 28px;
}

.notepad-rendered-list-item--depth-3 {
  margin-left: 42px;
}

.notepad-rendered-list-item--depth-4,
.notepad-rendered-list-item--depth-5,
.notepad-rendered-list-item--depth-6 {
  margin-left: 56px;
}

.notepad-rendered-list-item--task {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  min-height: 20px;
  list-style: none;
}

.notepad-task-form {
  display: flex;
  align-items: flex-start;
  margin: 0;
}

.notepad-rendered-list-item--complete > span {
  color: var(--site-muted);
}

.notepad-rendered-list-item--task input[type="checkbox"],
.notepad-task-form input[type="checkbox"] {
  width: 13px;
  height: 13px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--site-accent);
}

.notepad-task-form input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.notepad-delete-form {
  display: flex;
  justify-content: flex-end;
}

.notepad-delete-form .secondary-button {
  min-height: 26px;
  padding: 3px 7px;
  font-size: 0.7rem;
}

.login-history {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  overflow: hidden;
  list-style: none;
}

.login-history li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  border-bottom: 1px solid var(--site-line);
}

.login-history li:last-child {
  border-bottom: 0;
}

.login-history__time,
.login-history__meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

.login-history__time {
  color: var(--site-text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
}

.login-history__meta {
  color: var(--site-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.account-panel--history {
  gap: 12px;
  font-size: 0.84rem;
}

.account-panel--history h2 {
  font-size: 1.35rem;
}

.account-panel--history h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.login-history--drawer li {
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 8px 9px;
}

.login-history--drawer .login-history__time,
.login-history--drawer .login-history__meta {
  font-size: 0.74rem;
}

.empty-state--compact {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
}

.session-warning {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--site-accent-warm) 48%, var(--site-line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--site-panel) 96%, transparent);
  box-shadow: 0 18px 48px var(--site-shadow);
}

.session-warning[hidden] {
  display: none;
}

.session-warning div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.session-warning strong {
  color: var(--site-accent-warm);
  font-size: 0.82rem;
  line-height: 1.2;
}

.session-warning span {
  color: var(--site-muted);
  font-size: 0.8rem;
}

.session-warning button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--site-accent) 38%, var(--site-line));
  border-radius: 6px;
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}

.session-warning button:hover,
.session-warning button:focus-visible {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: 0;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vm-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--site-panel) 86%, transparent);
  box-shadow: 0 18px 48px var(--site-shadow);
}

.vm-card--error {
  border-color: color-mix(in srgb, var(--site-danger) 42%, var(--site-line));
}

.vm-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.vm-card__identity {
  min-width: 0;
}

.vm-card__controls {
  display: grid;
  gap: 7px;
  justify-items: stretch;
  min-width: 106px;
}

.vm-card h2 {
  margin: 0;
  color: var(--site-text);
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.state-pill {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--site-success) 42%, var(--site-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-success) 16%, var(--site-panel));
  color: var(--site-success);
  font-size: 0.72rem;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-align: center;
}

.vm-card--error .state-pill {
  border-color: color-mix(in srgb, var(--site-warning) 42%, var(--site-line));
  background: color-mix(in srgb, var(--site-warning) 14%, var(--site-panel));
  color: var(--site-warning);
}

.resource-summary,
.uptime-summary {
  margin: 4px 0 0;
  color: var(--site-muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uptime-summary {
  margin-top: 2px;
}

.status-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--site-line);
}

.status-list div {
  display: grid;
  grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--site-line);
}

.status-list div[hidden] {
  display: none;
}

.status-list div:last-child {
  border-bottom: 0;
}

.status-list dt {
  color: var(--site-muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.status-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.usage-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--site-line);
  color: var(--site-text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.45;
}

.usage-strip span {
  min-width: 0;
  white-space: nowrap;
}

.usage-strip b {
  color: var(--site-accent-strong);
  font-weight: 800;
}

.usage-strip span:nth-child(2) b {
  color: var(--site-success);
}

.usage-strip span:nth-child(3) b {
  color: var(--site-accent-warm);
}

.usage-strip span:nth-child(4) b {
  color: var(--site-muted);
}

.snapshot-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  margin: 8px 0 0;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--site-accent-warm) 38%, var(--site-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-accent-warm) 13%, var(--site-panel));
  color: var(--site-accent-warm);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.snapshot-status-pill[hidden] {
  display: none;
}

.muted-value {
  color: var(--site-muted);
}

.ip-text,
.ip-select {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.35;
}

.ip-text {
  color: var(--site-text);
  overflow-wrap: anywhere;
}

.ip-value-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.ip-text[hidden],
.ip-select[hidden] {
  display: none;
}

.ip-select {
  width: min(100%, 270px);
  min-height: 28px;
  padding: 3px 7px;
  border: 1px solid var(--site-line);
  border-radius: 5px;
  background: var(--site-panel-raised);
  color: var(--site-text);
}

.ip-select:focus {
  border-color: var(--site-accent-warm);
  outline: 2px solid color-mix(in srgb, var(--site-accent) 20%, transparent);
}

.ip-list-empty {
  color: var(--site-muted);
  font-size: 0.82rem;
}

.ip-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  cursor: pointer;
}

.ip-copy-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ip-copy-button:hover,
.ip-copy-button:focus-visible {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: 0;
}

.ip-copy-button[data-copied="true"] {
  border-color: color-mix(in srgb, var(--site-success) 42%, var(--site-line));
  background: color-mix(in srgb, var(--site-success) 16%, var(--site-panel));
  color: var(--site-success);
}

.ip-copy-button[data-copied="failed"] {
  border-color: color-mix(in srgb, var(--site-danger) 34%, var(--site-line));
  background: var(--site-danger-bg);
  color: var(--site-danger);
}

.vm-actions,
.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.vm-actions {
  justify-content: flex-end;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--site-line);
}

.vm-actions--compact {
  width: 100%;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.vm-actions form,
.confirm-actions form {
  display: inline-flex;
  margin: 0;
}

.action-menu {
  position: relative;
  width: 100%;
}

.action-menu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.1;
  list-style: none;
  user-select: none;
}

.action-menu__trigger::-webkit-details-marker {
  display: none;
}

.action-menu__trigger svg,
.action-menu__item svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.action-menu__trigger:hover,
.action-menu__trigger:focus-visible,
.action-menu[open] .action-menu__trigger {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--site-accent-warm) 18%, transparent);
}

.action-menu__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 176px;
  padding: 5px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--site-panel) 96%, transparent);
  box-shadow: 0 18px 48px var(--site-shadow);
}

.action-menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 8px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--site-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.action-menu__item:hover,
.action-menu__item:focus-visible {
  background: var(--site-panel-raised);
  color: var(--site-accent-warm);
  outline: 0;
}

.action-menu__item--login,
.action-menu__item--start {
  color: var(--site-accent-strong);
}

.action-menu__item--stop {
  color: var(--site-danger);
}

.action-menu__item--reset {
  color: var(--site-accent-warm);
}

.action-menu__item--snapshot {
  color: var(--site-accent);
}

.action-menu__item--disabled {
  color: var(--site-muted);
  cursor: not-allowed;
  opacity: 0.72;
}

.action-menu__item--disabled > span {
  display: grid;
  gap: 1px;
}

.action-menu__item--disabled small {
  color: color-mix(in srgb, var(--site-muted) 78%, var(--site-panel-raised));
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.25;
}

.action-menu__item--disabled:hover,
.action-menu__item--disabled:focus-visible {
  background: transparent;
  color: var(--site-muted);
  outline: 0;
}

.action-menu__divider {
  display: block;
  height: 1px;
  margin: 5px 4px;
  background: var(--site-line);
}

.action-menu__section-label {
  display: block;
  margin: 5px 4px 2px;
  padding-top: 5px;
  border-top: 1px solid var(--site-line);
  color: var(--site-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.action-menu__item[aria-disabled="true"] {
  color: var(--site-muted);
  cursor: not-allowed;
  opacity: 0.68;
}

.action-menu__item[aria-disabled="true"]:hover,
.action-menu__item[aria-disabled="true"]:focus-visible {
  background: transparent;
  color: var(--site-muted);
}

.action-menu form {
  margin: 0;
}

.action-menu [hidden] {
  display: none;
}

.confirm-actions button,
.confirm-actions .button-link {
  min-width: 104px;
}

.confirm-warning {
  display: grid;
  gap: 3px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--site-accent-warm) 34%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--site-accent-warm) 12%, var(--site-panel));
  color: var(--site-text);
  font-size: 0.88rem;
  line-height: 1.35;
}

.confirm-warning strong {
  color: var(--site-accent-warm);
}

.confirm-approval {
  flex-basis: 100%;
  margin-bottom: 4px;
}

.snapshot-panel {
  display: grid;
  gap: 16px;
}

.snapshot-actions,
.snapshot-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.snapshot-list {
  display: grid;
  gap: 10px;
}

.account-panel--snapshot {
  gap: 12px;
  font-size: 0.83rem;
}

.account-panel--snapshot h2 {
  font-size: 1.28rem;
}

.account-panel--snapshot h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.snapshot-create-button {
  min-height: 30px;
  padding: 5px 9px;
}

.snapshot-drawer-warning {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--site-danger) 28%, var(--site-line));
  border-radius: 6px;
  background: color-mix(in srgb, var(--site-danger-bg) 70%, transparent);
  color: var(--site-text);
  font-size: 0.78rem;
}

.snapshot-drawer-warning strong {
  color: var(--site-danger);
}

.snapshot-drawer-warning span {
  color: var(--site-muted);
}

.snapshot-list--drawer {
  gap: 7px;
}

.snapshot-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: var(--site-panel-raised);
}

.snapshot-row--drawer {
  display: grid;
  gap: 8px;
  padding: 9px;
  border-radius: 6px;
}

.snapshot-row--expired {
  opacity: 0.72;
}

.snapshot-row h2 {
  margin: 0 0 8px;
  font-family: var(--site-heading-font);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.snapshot-row--drawer h2 {
  margin-bottom: 6px;
  font-size: 0.88rem;
  line-height: 1.2;
}

.snapshot-meta {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--site-muted);
  font-size: 0.78rem;
}

.snapshot-meta div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
}

.snapshot-meta dt {
  font-weight: 800;
}

.snapshot-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.snapshot-row--drawer .snapshot-meta {
  gap: 3px;
  font-size: 0.72rem;
}

.snapshot-row--drawer .snapshot-meta div {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 7px;
}

.snapshot-row__actions--drawer {
  justify-content: flex-start;
  gap: 6px;
}

.snapshot-row__actions--drawer .button-link {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 0.76rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.vm-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
}

.vm-action-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vm-action-button:hover,
.vm-action-button:focus-visible {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--site-accent-warm) 18%, transparent);
}

.vm-action-button--start {
  border-color: color-mix(in srgb, var(--site-accent) 38%, var(--site-line));
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
}

.vm-action-button--console {
  border-color: color-mix(in srgb, var(--site-accent) 38%, var(--site-line));
  background: color-mix(in srgb, var(--site-accent) 12%, var(--site-panel));
  color: var(--site-accent-strong);
}

.vm-action-button--stop {
  border-color: color-mix(in srgb, var(--site-danger) 34%, var(--site-line));
  background: var(--site-danger-bg);
  color: var(--site-danger);
}

.vm-action-button--reset {
  border-color: color-mix(in srgb, var(--site-accent-warm) 38%, var(--site-line));
  background: color-mix(in srgb, var(--site-accent-warm) 14%, var(--site-panel));
  color: var(--site-accent-warm);
}

.console-shell {
  display: grid;
  gap: 14px;
}

.console-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--site-line);
}

.console-title {
  min-width: 0;
}

.console-dashboard-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--site-accent-warm) 60%, var(--site-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-accent-warm) 14%, var(--site-panel-raised));
  color: var(--site-accent-warm);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--site-accent-warm) 8%, transparent);
}

.console-dashboard-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.console-dashboard-link:hover,
.console-dashboard-link:focus-visible {
  border-color: var(--site-accent-warm);
  background: color-mix(in srgb, var(--site-accent-warm) 22%, var(--site-panel-raised));
  color: var(--site-text);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-accent-warm) 18%, transparent);
}

.console-title h1 {
  margin: 0;
  font-family: var(--site-heading-font);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.console-toolbar__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.console-action-menu {
  width: auto;
}

.console-action-menu .action-menu__trigger {
  min-width: 106px;
}

.console-status {
  min-width: 96px;
  padding: 4px 8px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  font-size: 0.75rem;
  font-weight: 750;
  text-align: center;
}

.console-status[data-state="connected"] {
  border-color: color-mix(in srgb, var(--site-success) 42%, var(--site-line));
  background: color-mix(in srgb, var(--site-success) 16%, var(--site-panel));
  color: var(--site-success);
}

.console-status[data-state="error"],
.console-status[data-state="disconnected"] {
  border-color: color-mix(in srgb, var(--site-danger) 34%, var(--site-line));
  background: var(--site-danger-bg);
  color: var(--site-danger);
}

.console-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--site-danger) 34%, var(--site-line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--site-danger-bg) 82%, var(--site-panel));
  color: var(--site-danger);
  font-size: 0.86rem;
  font-weight: 750;
}

.console-alert[hidden] {
  display: none;
}

.console-alert button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--site-danger) 42%, var(--site-line));
  border-radius: 999px;
  background: var(--site-danger-bg);
  color: var(--site-danger);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.console-alert button:hover,
.console-alert button:focus-visible {
  border-color: var(--site-accent-warm);
  color: var(--site-accent-warm);
  outline: 0;
}

.console-paste-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--site-accent) 34%, var(--site-line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--site-panel) 94%, transparent);
  box-shadow: 0 14px 36px var(--site-shadow);
}

.console-paste-panel[hidden] {
  display: none;
}

.console-paste-panel__header,
.console-paste-panel__footer,
.console-paste-panel__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.console-paste-panel__header,
.console-paste-panel__footer {
  justify-content: space-between;
}

.console-paste-panel h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.console-paste-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: var(--site-panel-raised);
  color: var(--site-muted);
  cursor: pointer;
}

.console-paste-panel__close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.console-paste-panel textarea {
  width: 100%;
  min-height: 126px;
  padding: 10px 11px;
  border: 1px solid var(--site-line);
  border-radius: 7px;
  background: var(--site-bg);
  color: var(--site-text);
  font: 0.9rem/1.45 Consolas, "Cascadia Mono", "Segoe UI Mono", monospace;
  resize: vertical;
}

.console-paste-panel textarea:focus,
.console-paste-panel__close:hover,
.console-paste-panel__close:focus-visible,
.console-paste-panel__button:hover,
.console-paste-panel__button:focus-visible {
  border-color: var(--site-accent-warm);
  outline: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--site-accent-warm) 18%, transparent);
}

.console-paste-panel__status {
  min-height: 1.2em;
  color: var(--site-muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.console-paste-panel__status[data-state="success"] {
  color: var(--site-success);
}

.console-paste-panel__status[data-state="warning"] {
  color: var(--site-warning);
}

.console-paste-panel__status[data-state="error"] {
  color: var(--site-danger);
}

.console-paste-panel__button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: var(--site-panel-raised);
  color: var(--site-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.console-paste-panel__button--primary {
  border-color: color-mix(in srgb, var(--site-accent) 48%, var(--site-line));
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
}

.console-screen {
  position: relative;
  width: 100%;
  min-height: min(72vh, 760px);
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: #050705;
  box-shadow: 0 18px 48px var(--site-shadow);
}

.console-screen:focus {
  border-color: var(--site-accent-warm);
  outline: 3px solid color-mix(in srgb, var(--site-accent) 20%, transparent);
}

.console-screen canvas,
.console-screen video {
  max-width: none;
}

.confirm-copy {
  margin: -12px 0 18px;
  color: var(--site-muted);
}

.confirm-status {
  margin-top: 16px;
}

.empty-state {
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--site-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--site-panel) 70%, transparent);
  color: var(--site-muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  width: var(--site-page);
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid var(--site-line);
  color: var(--site-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  justify-self: center;
}

.site-footer p:last-child {
  justify-self: end;
  text-align: right;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--site-accent-warm);
  outline: 0;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    display: grid;
    gap: 14px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .site-footer {
    gap: 7px;
  }

  .site-footer p,
  .site-footer p:nth-child(2),
  .site-footer p:last-child {
    justify-self: start;
    text-align: left;
  }

  .vm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-summary {
    grid-template-columns: 1fr;
  }

  .admin-field-grid,
  .admin-field-grid--notice {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --site-page: min(100% - 32px, 1280px);
  }

  .site-header {
    gap: 12px;
    padding: 14px 0 10px;
  }

  .site-brand {
    justify-self: center;
  }

  .site-logo {
    width: min(178px, 68vw);
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .site-nav a,
  .site-nav-button,
  .site-nav > .operational-status,
  .site-theme-toggle {
    min-height: 36px;
    justify-content: center;
    padding: 7px 6px;
    border: 1px solid color-mix(in srgb, var(--site-line) 72%, transparent);
    border-radius: 7px;
    background: color-mix(in srgb, var(--site-panel) 58%, transparent);
    font-size: 0.82rem;
    text-align: center;
  }

  .site-nav-icon {
    width: auto;
    min-width: 0;
  }

  .site-nav a.site-nav-icon,
  .site-nav-button.site-nav-icon {
    padding: 7px 6px;
  }

  .operational-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .operational-banner__button {
    grid-column: 2;
    justify-self: start;
  }

  .account-panel {
    width: min(100vw, 430px);
    padding: 18px;
  }

  .site-theme-toggle {
    grid-template-columns: auto auto;
  }

  .page {
    padding: 30px 0 48px;
  }

  .auth-panel,
  .error-panel,
  .confirm-panel,
  .admin-panel {
    margin: 24px auto;
    padding: 20px;
  }

  .admin-hero,
  .admin-section__header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .admin-status {
    justify-self: start;
    width: fit-content;
  }

  .admin-button-row,
  .admin-inline-form {
    justify-content: stretch;
  }

  .admin-button-row button,
  .admin-inline-form .secondary-button,
  .admin-lock-form--hero .secondary-button {
    width: 100%;
  }

  .dashboard-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-heading__tools {
    justify-items: start;
  }

  .ip-filter {
    justify-content: flex-start;
  }

  .dashboard-filters {
    grid-template-columns: 1fr;
    margin-top: -4px;
  }

  .dashboard-filter-selects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-filter-meta {
    justify-content: space-between;
    white-space: normal;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .vm-card__header {
    grid-template-columns: 1fr;
  }

  .vm-card__controls {
    justify-items: start;
    min-width: 0;
  }

  .vm-actions--compact {
    width: auto;
    justify-content: flex-start;
  }

  .action-menu {
    width: auto;
  }

  .action-menu__trigger {
    min-width: 106px;
  }

  .action-menu__panel {
    right: auto;
    left: 0;
  }

  .state-pill {
    width: auto;
    max-width: 100%;
  }

  .console-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .console-toolbar__actions {
    justify-content: flex-start;
  }

  .console-alert,
  .console-paste-panel__footer,
  .session-warning {
    align-items: stretch;
    flex-direction: column;
  }

  .console-paste-panel__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .console-paste-panel__button {
    width: 100%;
  }

  .status-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .confirm-actions button,
  .confirm-actions .button-link {
    width: 100%;
  }

  .snapshot-row,
  .snapshot-row__actions,
  .snapshot-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .snapshot-row__actions .button-link,
  .snapshot-actions .button-link {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .site-nav {
    gap: 5px;
  }

  .site-nav a,
  .site-nav-button,
  .site-theme-toggle {
    font-size: 0.78rem;
  }

  .toggle-track {
    width: 36px;
  }

  .site-theme-toggle input:checked + .toggle-track .toggle-thumb {
    transform: translateX(14px);
  }
}

@supports not (background: color-mix(in srgb, black 50%, white)) {
  .site-header,
  .vm-card,
  .auth-panel,
  .error-panel,
  .confirm-panel,
  .account-panel,
  .account-summary,
  .empty-state {
    background: var(--site-panel);
  }
}
