:root {
  --bg: #101419;
  --chrome: #171d24;
  --chrome-2: #202833;
  --panel: #f7f8fb;
  --panel-2: #ffffff;
  --ink: #1b2430;
  --muted: #657282;
  --line: #d8dee8;
  --dark-line: #303a47;
  --blue: #3858e9;
  --blue-2: #1f3fbf;
  --cyan: #007cba;
  --green: #16845f;
  --green-soft: #e5f6ef;
  --yellow: #e6ad21;
  --yellow-soft: #fff3c7;
  --red: #b42318;
  --red-soft: #fff0ed;
  --violet: #6d4aff;
  --shadow: 0 22px 60px rgba(4, 10, 18, 0.24);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(56, 88, 233, 0.08), transparent 320px),
    var(--bg);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.app-shell {
  min-height: 100vh;
}

.topbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 260px minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 16px;
  background: var(--chrome);
  color: #f4f7fb;
  border-bottom: 1px solid var(--dark-line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-block,
.status-actions,
.address-cluster,
.quick-links,
.button-row,
.inspector-actions,
.filter-pills,
.file-actions,
.blueprint-actions,
.header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark,
.site-avatar,
.wp-mini,
.wp-admin-bar span:first-child {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 800;
}

.brand-block strong,
.brand-block span {
  display: block;
}

.brand-block span {
  color: #aeb8c5;
  font-size: 12px;
}

.path-input {
  min-width: 0;
  flex: 1;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #3d4856;
  border-radius: 7px;
  background: #0f151c;
}

.path-input span {
  color: #9ca9b8;
  font-size: 12px;
}

.path-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4f7fb;
}

.icon-button,
.quiet-button,
.save-button,
.primary,
.secondary,
.danger-button,
.filter-pills button,
.file-actions button,
.blueprint-actions button,
.site-page button {
  border: 1px solid transparent;
  border-radius: 7px;
  min-height: 36px;
  padding: 8px 11px;
  font-weight: 650;
}

.icon-button {
  width: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #dce4ee;
  background: #222b36;
  border-color: #3a4654;
}

.quiet-button {
  color: #dce4ee;
  background: #222b36;
  border-color: #3a4654;
}

.save-button {
  background: #ffd84d;
  color: #201704;
  border-color: #ffd84d;
}

.save-state {
  color: #ffd84d;
  font-weight: 750;
  white-space: nowrap;
}

.runbook {
  display: grid;
  grid-template-columns: 314px minmax(0, 1fr) 300px;
  gap: 14px;
  padding: 14px;
}

.runbook-rail,
.live-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.current-site-card,
.progress-card,
.rail-note,
.workspace,
.mini-terminal,
.next-actions {
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: var(--shadow);
}

.current-site-card {
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.current-site-card h1 {
  margin: 3px 0 6px;
  font-size: 22px;
  line-height: 1.1;
}

.current-site-card p,
.rail-note p,
.lede,
.route small,
.flow-card p,
.commit-card p,
.saved-row small,
.rename-delete p,
.database-grid p,
.logs-grid p,
.transfer-grid p,
.settings-two-up p,
.blueprint-detail p,
.blueprint-card small,
.next-actions span,
.result-row,
.consequence {
  color: var(--muted);
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.progress-card,
.rail-note {
  padding: 14px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
}

.progress-track {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: #dfe6ef;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.task-list {
  display: grid;
  gap: 6px;
}

.task {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #202833;
  color: #f4f7fb;
  padding: 10px;
}

.task span:last-child {
  min-width: 0;
}

.task strong,
.task small {
  display: block;
}

.task small {
  margin-top: 2px;
  color: #aeb8c5;
}

.task-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #111820;
  color: #aeb8c5;
  font-weight: 800;
  font-size: 12px;
}

.task.is-active {
  background: #eef3ff;
  color: var(--blue-2);
  border-color: #8fa4ff;
}

.task.is-active small {
  color: #506084;
}

.task.is-done .task-index {
  background: var(--green-soft);
  color: var(--green);
}

.workspace {
  min-width: 0;
  background: var(--panel);
  overflow: hidden;
}

.panel {
  display: none;
  padding: 18px;
}

.panel.is-active {
  display: block;
}

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

.panel-header h2 {
  margin: 4px 0 7px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.lede {
  max-width: 780px;
  margin: 0;
  line-height: 1.45;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.warning {
  color: #66460a;
  background: var(--yellow-soft);
  border: 1px solid #efce70;
}

.badge.ok {
  color: #07563a;
  background: var(--green-soft);
  border: 1px solid #9bd8bd;
}

.badge.neutral {
  color: #354052;
  background: #edf1f6;
  border: 1px solid #ced7e3;
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  gap: 14px;
}

.route-stack {
  display: grid;
  gap: 8px;
}

.route {
  text-align: left;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 12px;
}

.route span,
.route small {
  display: block;
}

.route span {
  font-weight: 800;
}

.route small {
  margin-top: 3px;
}

.route.is-active {
  border-color: var(--blue);
  box-shadow: inset 4px 0 0 var(--blue);
  background: #f0f4ff;
}

.route.danger {
  border-color: #f2b8b2;
}

.route-inspector,
.commit-card,
.rename-delete,
.manager-shell,
.blueprint-detail,
.transfer-grid article,
.settings-two-up article,
.site-preview,
.flow-card,
.saved-row {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
}

.route-inspector {
  min-width: 0;
  overflow: hidden;
}

.inspector-top,
.terminal-title {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 12px;
  color: #eef4fb;
  background: #1e2732;
  border-bottom: 1px solid var(--dark-line);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dot.green {
  background: #49c581;
}

.terminal-dot.yellow {
  background: #f1c34a;
}

.terminal-dot.red {
  background: #ef6a63;
}

.route-inspector > p,
.consequence,
.inspector-actions,
.route-inspector .field-grid {
  margin-left: 14px;
  margin-right: 14px;
}

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

label {
  display: grid;
  gap: 6px;
  color: #4a5565;
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  min-width: 0;
  width: 100%;
  min-height: 38px;
  border: 1px solid #c8d0dc;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 7px 9px;
}

.check-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.check-row input {
  width: auto;
  min-height: auto;
}

.consequence {
  margin-top: 14px;
  padding: 12px;
  border-left: 4px solid var(--yellow);
  background: #fffaf0;
}

.inspector-actions {
  margin-top: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.secondary {
  color: var(--blue-2);
  background: #fff;
  border-color: #a9b7d9;
}

.danger-button {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.flow-proof {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.flow-card {
  padding: 12px;
  min-width: 0;
}

.flow-card span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #536173;
  font-weight: 900;
  font-size: 12px;
}

.flow-card.checked span {
  background: var(--green);
}

.flow-card.alert span {
  background: var(--yellow);
  color: #1d1605;
}

.flow-card strong {
  display: block;
  margin-top: 10px;
}

.flow-card p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.42;
}

.save-grid,
.saved-layout,
.catalog-layout,
.settings-two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.commit-card,
.rename-delete,
.transfer-grid article,
.settings-two-up article,
.blueprint-detail {
  padding: 14px;
}

.commit-card.selected {
  border-color: var(--blue);
  box-shadow: inset 0 4px 0 var(--blue);
}

.card-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.copy-progress div {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
}

.copy-progress span {
  display: block;
  width: 81%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.copy-progress.local span {
  width: 38%;
  background: linear-gradient(90deg, var(--violet), var(--green));
}

.copy-progress strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 13px;
}

.result-row {
  margin: 10px 0;
  padding: 10px;
  border-radius: 7px;
  background: #f3f6fb;
  font-size: 13px;
}

.saved-layout {
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
}

.saved-list {
  display: grid;
  gap: 8px;
}

.saved-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.saved-row.selected {
  border-color: var(--blue);
  background: #f0f4ff;
}

.wp-mini,
.file-mini {
  color: var(--ink);
}

.file-mini {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #243141;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.danger-zone,
.danger-card {
  border: 1px solid #f2b8b2;
  border-radius: 8px;
  background: var(--red-soft);
  padding: 12px;
  margin-top: 14px;
}

.manager-shell {
  overflow: hidden;
}

.manager-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  background: #eef2f7;
  border-bottom: 1px solid var(--line);
}

.manager-tab {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 12px 16px;
  font-weight: 800;
  color: #4c5868;
  white-space: nowrap;
}

.manager-tab.is-active {
  color: var(--blue-2);
  background: #fff;
  box-shadow: inset 0 -3px 0 var(--blue);
}

.manager-view {
  display: none;
  padding: 14px;
}

.manager-view.is-active {
  display: block;
}

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

.reset-strip,
.notice-card {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #f0f4ff;
  border-left: 4px solid var(--cyan);
}

.file-workbench {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.file-tree {
  min-width: 0;
  background: #f9fbfd;
  border-right: 1px solid var(--line);
}

.file-actions {
  padding: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.file-actions button,
.blueprint-actions button {
  min-height: 30px;
  padding: 5px 8px;
  background: #fff;
  border-color: #c9d2df;
  color: #253245;
  font-size: 12px;
}

.file-tree ul {
  margin: 0;
  padding: 8px;
  list-style: none;
}

.file-tree li {
  padding: 7px 8px;
  border-radius: 5px;
  font-size: 13px;
}

.file-tree li.selected,
.file-tree li:hover {
  background: #e7efff;
}

.folder::before {
  content: "dir ";
  color: var(--muted);
  font-size: 11px;
}

.code-editor {
  min-width: 0;
  margin: 0;
  padding: 14px;
  overflow: auto;
  color: #eaf1fb;
  background: #111820;
  line-height: 1.55;
}

.blueprint-actions {
  padding: 10px;
  align-items: stretch;
  flex-direction: column;
}

.small-primary {
  min-height: 30px;
  font-size: 12px;
}

.database-grid dl {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 8px 12px;
}

.database-grid dt {
  font-weight: 800;
}

.database-grid dd {
  margin: 0;
  min-width: 0;
}

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

.logs-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfe;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.filter-pills {
  flex-wrap: wrap;
}

.filter-pills button {
  min-height: 32px;
  color: #445164;
  background: #e9eef5;
  border-color: #d3dbe7;
}

.filter-pills button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.catalog-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

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

.blueprint-card {
  min-width: 0;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.blueprint-card.selected {
  border-color: var(--blue);
  background: #f0f4ff;
}

.blueprint-card strong,
.blueprint-card small {
  display: block;
}

.thumb {
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.thumb.rss { background: linear-gradient(135deg, #2364aa, #57b8ff); }
.thumb.art { background: linear-gradient(135deg, #8f5e1f, #d9a441); }
.thumb.shop { background: linear-gradient(135deg, #4a216f, #df7a49); }
.thumb.news { background: linear-gradient(135deg, #0f172a, #e04f32); }
.thumb.org { background: linear-gradient(135deg, #6b1e45, #d98c54); }
.thumb.blog { background: linear-gradient(135deg, #7a113d, #b987a8); }
.thumb.code { background: linear-gradient(135deg, #14213d, #2ab7ca); }
.thumb.plugin { background: linear-gradient(135deg, #215732, #70c1b3); }

.blueprint-detail {
  align-self: start;
}

.blueprint-detail h3 {
  margin: 4px 0 8px;
  font-size: 22px;
}

.blueprint-detail dl {
  display: grid;
  gap: 6px;
}

.blueprint-detail dt {
  font-weight: 800;
}

.blueprint-detail dd {
  margin: 0 0 8px;
  color: var(--muted);
}

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

.site-preview {
  overflow: hidden;
}

.wp-admin-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  color: #f7f7f7;
  background: #1d2327;
}

.wp-admin-bar .push {
  margin-left: auto;
}

.site-page {
  background: #fff;
}

.site-page nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 30px;
  border-bottom: 1px solid #f0f0f0;
}

.site-page nav span:first-of-type {
  margin-left: auto;
}

.site-page section {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(250px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
}

.page-copy h3 {
  margin: 0 0 16px;
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.05;
}

.page-copy b {
  color: var(--blue);
  font-weight: 500;
}

.page-copy p {
  max-width: 470px;
  font-size: 18px;
  line-height: 1.45;
}

.page-copy mark {
  background: #fff0a6;
}

.site-page button {
  margin-top: 12px;
  color: #fff;
  background: var(--blue);
}

.wp-orbit {
  width: min(420px, 52vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: clamp(24px, 5vw, 48px) solid #30df74;
  border-radius: 50%;
  color: #1e1e1e;
  font-family: Georgia, serif;
  font-size: clamp(100px, 20vw, 210px);
  font-weight: 900;
}

.mini-terminal,
.frame-snapshot,
.next-actions {
  overflow: hidden;
}

.mini-terminal pre {
  margin: 0;
  padding: 14px;
  color: #d8e6f3;
  background: #111820;
  overflow: auto;
  line-height: 1.55;
  font-size: 13px;
}

.frame-snapshot {
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.snapshot-bar {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  color: #dce4ee;
  background: #1d2327;
  font-size: 12px;
}

.snapshot-bar span {
  color: #aeb8c5;
}

.snapshot-page {
  padding: 12px;
}

.snapshot-nav {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  color: #23282d;
  font-size: 12px;
}

.snapshot-page h2 {
  margin: 22px 0 8px;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
}

.snapshot-page b {
  color: var(--blue);
  font-weight: 500;
}

.snapshot-page p {
  color: var(--muted);
  font-size: 13px;
}

.snapshot-page button {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.next-actions {
  padding: 14px;
}

.next-actions h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.action-row {
  width: 100%;
  display: block;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.action-row + .action-row {
  margin-top: 8px;
}

.action-row strong,
.action-row span {
  display: block;
}

.action-row.danger {
  border-color: #f2b8b2;
  background: var(--red-soft);
}

.bottom-nav {
  display: none;
}

@media (max-width: 1180px) {
  .runbook {
    grid-template-columns: 286px minmax(0, 1fr);
  }

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

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

  .topbar {
    grid-template-columns: 220px minmax(220px, 1fr) auto;
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    position: static;
  }

  .status-actions {
    justify-content: space-between;
  }

  .desktop-only {
    display: none;
  }

  .runbook {
    grid-template-columns: 1fr;
    padding-bottom: 82px;
  }

  .runbook-rail {
    grid-template-columns: 1fr;
  }

  .task-list {
    display: none;
  }

  .live-column {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .start-grid,
  .save-grid,
  .saved-layout,
  .catalog-layout,
  .catalog-tools,
  .settings-two-up {
    grid-template-columns: 1fr;
  }

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

  .field-grid,
  .settings-grid,
  .transfer-grid,
  .logs-grid {
    grid-template-columns: 1fr;
  }

  .file-workbench {
    grid-template-columns: 1fr;
  }

  .file-tree {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-page nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-page nav span:first-of-type {
    margin-left: 0;
  }

  .site-page section {
    grid-template-columns: 1fr;
  }

  .wp-orbit {
    width: min(320px, 74vw);
  }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    padding: 8px;
    background: rgba(16, 20, 25, 0.94);
    border-top: 1px solid var(--dark-line);
    backdrop-filter: blur(10px);
  }

  .bottom-nav button {
    min-width: 0;
    min-height: 42px;
    border: 1px solid #364353;
    border-radius: 8px;
    background: #202833;
    color: #dce4ee;
    font-weight: 800;
  }

  .bottom-nav button.is-active {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
  }
}

@media (max-width: 620px) {
  .topbar,
  .runbook {
    padding-left: 10px;
    padding-right: 10px;
  }

  .panel {
    padding: 12px;
  }

  .panel-header {
    display: grid;
  }

  .header-badges {
    flex-wrap: wrap;
  }

  .route-stack,
  .flow-proof,
  .blueprint-grid {
    grid-template-columns: 1fr;
  }

  .saved-row {
    grid-template-columns: auto 1fr;
  }

  .saved-row button {
    grid-column: 1 / -1;
  }

  .database-grid dl {
    grid-template-columns: 1fr;
  }

  .button-row,
  .quick-links {
    align-items: stretch;
    flex-direction: column;
  }

  .site-page section {
    padding: 22px;
  }

  .page-copy p {
    font-size: 16px;
  }
}
