:root {
  --mono: "SFMono-Regular", "Cascadia Code", "Fira Code", "IBM Plex Mono", Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.chooser {
  min-height: 100vh;
  padding: 44px;
  background:
    linear-gradient(90deg, rgba(147, 161, 161, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(147, 161, 161, 0.08) 1px, transparent 1px),
    #002b36;
  background-size: 44px 44px;
  color: #eee8d5;
  font-family: var(--mono);
}

.chooser-hero {
  display: grid;
  grid-template-columns: 160px minmax(0, 820px);
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto 42px;
}

.back-link,
.terminal-label,
.instrument-label,
.notebook-label,
.console-kicker,
.file-label,
.panel-title {
  color: #2aa198;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
}

.chooser h1 {
  max-width: 860px;
  margin: 8px 0 18px;
  color: #fdf6e3;
  font-family: var(--sans);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
}

.chooser p {
  max-width: 780px;
  color: #93a1a1;
  font-size: 17px;
  line-height: 1.7;
}

.chooser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}

.choice-card {
  position: relative;
  min-height: 340px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(238, 232, 213, 0.18);
  background: rgba(7, 54, 66, 0.78);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.choice-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px auto;
  width: 72px;
  height: 72px;
  border: 1px solid currentColor;
  opacity: 0.28;
}

.choice-card span {
  display: block;
  color: #586e75;
}

.choice-card h2 {
  margin: 70px 0 14px;
  font-size: 30px;
  line-height: 1.05;
}

.choice-card p {
  color: #839496;
  font-size: 15px;
}

.choice-card strong {
  display: inline-block;
  margin-top: 26px;
  color: #fdf6e3;
  font-size: 14px;
}

.runtime-choice {
  color: #2aa198;
}

.flight-choice {
  color: #b58900;
}

.workbench-choice {
  color: #268bd2;
}

/* Variation 1: /skills shell */
.runtime-shell {
  color: #eee8d5;
  background:
    linear-gradient(90deg, rgba(88, 110, 117, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(88, 110, 117, 0.12) 1px, transparent 1px),
    #002b36;
  background-size: 22px 22px;
  font-family: var(--mono);
}

.runtime-page {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 22px 0 76px;
}

.runtime-topbar,
.flight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 58px;
  border-bottom: 1px solid rgba(147, 161, 161, 0.2);
}

.runtime-brand {
  color: #fdf6e3;
  font-weight: 800;
}

.runtime-topbar nav,
.flight-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #93a1a1;
  font-size: 14px;
}

.runtime-topbar a:hover,
.flight-header a:hover {
  color: #fdf6e3;
}

.runtime-hero {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
  min-height: 620px;
  padding: 38px 0 24px;
}

.runtime-sidebar,
.terminal-window,
.runtime-grid article {
  border: 1px solid rgba(147, 161, 161, 0.22);
  background: rgba(7, 54, 66, 0.88);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.runtime-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.traffic {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dc322f;
}

.traffic span:nth-child(2) {
  background: #b58900;
}

.traffic span:nth-child(3) {
  background: #859900;
}

.cmd {
  width: 100%;
  min-height: 42px;
  border: 1px solid transparent;
  padding: 0 12px;
  color: #93a1a1;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.cmd:hover,
.cmd.is-active {
  border-color: rgba(42, 161, 152, 0.38);
  color: #fdf6e3;
  background: rgba(42, 161, 152, 0.1);
}

.cmd-link {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.terminal-window {
  display: grid;
  grid-template-rows: 46px 1fr;
  min-width: 0;
}

.terminal-chrome {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(147, 161, 161, 0.18);
  color: #586e75;
  font-size: 13px;
}

.terminal-output {
  padding: clamp(28px, 5vw, 70px);
}

.terminal-output p {
  margin: 0;
  color: #93a1a1;
  line-height: 1.7;
}

.terminal-output h1 {
  max-width: 900px;
  margin: 24px 0;
  color: #fdf6e3;
  font-family: var(--sans);
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.94;
}

.prompt {
  color: #859900;
}

.terminal-output .lead {
  max-width: 820px;
  color: #eee8d5;
  font-size: clamp(17px, 2vw, 21px);
}

.runtime-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.runtime-tags span {
  border: 1px solid rgba(181, 137, 0, 0.4);
  padding: 8px 10px;
  color: #b58900;
  background: rgba(181, 137, 0, 0.08);
  font-size: 13px;
}

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

.runtime-grid article {
  min-height: 260px;
  padding: 24px;
}

.runtime-grid h2 {
  margin: 38px 0 12px;
  color: #fdf6e3;
  font-family: var(--sans);
  font-size: 27px;
  line-height: 1.08;
}

.runtime-grid p {
  color: #93a1a1;
  line-height: 1.65;
}

/* Variation 2: career flight recorder */
.flight-recorder {
  color: #f9f1d5;
  background:
    linear-gradient(115deg, rgba(181, 137, 0, 0.1), transparent 24%),
    linear-gradient(180deg, #140f08 0%, #20170b 46%, #090806 100%);
  font-family: var(--mono);
}

.flight-page {
  width: min(1300px, calc(100% - 44px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.flight-header {
  color: #b58900;
}

.flight-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 390px;
  gap: 28px;
  padding: 42px 0 20px;
  align-items: end;
}

.flight-copy h1 {
  max-width: 860px;
  margin: 14px 0 18px;
  color: #fff6d8;
  font-family: var(--sans);
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.95;
}

.flight-copy p {
  max-width: 760px;
  color: #d6c9a2;
  font-size: 18px;
  line-height: 1.65;
}

.flight-console,
.route-board,
.flight-readouts article {
  border: 1px solid rgba(181, 137, 0, 0.32);
  background:
    linear-gradient(180deg, rgba(181, 137, 0, 0.08), transparent),
    rgba(20, 15, 8, 0.9);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.flight-console {
  min-height: 250px;
  padding: 24px;
}

.flight-console h2 {
  margin: 38px 0 12px;
  color: #ffc94a;
  font-family: var(--sans);
  font-size: 36px;
}

.flight-console p {
  color: #d6c9a2;
  line-height: 1.7;
}

.route-board {
  position: relative;
  height: 560px;
  overflow: hidden;
  margin-top: 18px;
  background:
    linear-gradient(90deg, rgba(42, 161, 152, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(42, 161, 152, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, rgba(181, 137, 0, 0.2), transparent 260px),
    #151009;
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.route-board::before {
  content: "route: 2002 -> now";
  position: absolute;
  left: 22px;
  top: 18px;
  color: rgba(249, 241, 213, 0.48);
  font-size: 13px;
}

.route-line {
  position: absolute;
  inset: 21% 6% 18% 6%;
  border-top: 2px solid rgba(181, 137, 0, 0.52);
  border-right: 2px solid rgba(42, 161, 152, 0.38);
  transform: skewY(-11deg);
}

.route-line::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -7px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #ffc94a;
  border-top: 2px solid #ffc94a;
  transform: rotate(45deg);
  animation: pulseRoute 1.8s ease-in-out infinite;
}

.waypoint {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  gap: 6px;
  min-width: 132px;
  border: 1px solid rgba(249, 241, 213, 0.2);
  padding: 12px 14px;
  color: #f9f1d5;
  background: rgba(9, 8, 6, 0.78);
  text-align: left;
  cursor: pointer;
}

.waypoint::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #2aa198;
  background: #151009;
  transform: translateY(-50%) rotate(45deg);
}

.waypoint span {
  color: #b58900;
  font-size: 12px;
}

.waypoint:hover,
.waypoint.is-active {
  border-color: #ffc94a;
  color: #ffc94a;
  transform: translateY(-3px);
}

.flight-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.flight-readouts article {
  min-height: 190px;
  padding: 22px;
}

.flight-readouts span {
  color: #2aa198;
  font-size: 13px;
}

.flight-readouts strong {
  display: block;
  margin: 28px 0 12px;
  color: #ffc94a;
  font-family: var(--sans);
  font-size: 28px;
}

.flight-readouts p {
  color: #d6c9a2;
  line-height: 1.65;
}

@keyframes pulseRoute {
  50% {
    transform: rotate(45deg) translate(5px, -5px);
  }
}

/* Variation 3: systems workbench */
.systems-workbench {
  color: #17313a;
  background:
    linear-gradient(90deg, rgba(38, 139, 210, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(38, 139, 210, 0.1) 1px, transparent 1px),
    #e7eef0;
  background-size: 28px 28px;
  font-family: var(--sans);
}

.workbench-page {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 100vh;
}

.workbench-rail {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100vh;
  padding: 24px 16px;
  border-right: 1px solid rgba(23, 49, 58, 0.18);
  background: rgba(231, 238, 240, 0.88);
  font-family: var(--mono);
}

.workbench-rail a {
  min-height: 38px;
  padding: 10px;
  color: #586e75;
}

.workbench-rail a:hover,
.workbench-rail a.is-active {
  color: #073642;
  background: rgba(38, 139, 210, 0.12);
}

.workbench-main {
  padding: 46px clamp(24px, 5vw, 72px) 72px;
}

.workbench-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: 44px;
  align-items: end;
  max-width: 1220px;
  margin: 0 auto 34px;
}

.workbench-hero h1 {
  margin: 12px 0 0;
  color: #073642;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.96;
  font-weight: 700;
}

.workbench-hero p {
  margin: 0;
  color: #35515a;
  font-size: 18px;
  line-height: 1.75;
}

.workbench-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
}

.trace-panel,
.notes-panel,
.lab-strip article {
  border: 1px solid rgba(23, 49, 58, 0.18);
  background: rgba(247, 250, 250, 0.86);
  box-shadow: 0 22px 70px rgba(23, 49, 58, 0.12);
}

.panel-title {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(23, 49, 58, 0.12);
  color: #268bd2;
}

.trace-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(23, 49, 58, 0.12);
}

.trace-steps li {
  min-height: 210px;
  padding: 24px;
  background: rgba(247, 250, 250, 0.96);
}

.trace-steps span {
  color: #859900;
  font-family: var(--mono);
  font-size: 13px;
}

.trace-steps strong {
  display: block;
  margin: 46px 0 10px;
  color: #073642;
  font-size: 26px;
}

.trace-steps p,
.note-output p {
  color: #586e75;
  line-height: 1.65;
}

.notes-panel {
  display: flex;
  flex-direction: column;
}

.note-tab {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(23, 49, 58, 0.12);
  padding: 0 18px;
  color: #586e75;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.note-tab:hover,
.note-tab.is-active {
  color: #073642;
  background: rgba(133, 153, 0, 0.12);
}

.note-output {
  margin-top: auto;
  padding: 24px;
  border-top: 1px solid rgba(23, 49, 58, 0.12);
}

.note-output h2 {
  margin: 0 0 12px;
  color: #073642;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.05;
}

.lab-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1220px;
  margin: 18px auto 0;
}

.lab-strip article {
  min-height: 118px;
  padding: 18px;
}

.lab-strip span {
  display: block;
  margin-bottom: 24px;
  color: #268bd2;
  font-family: var(--mono);
  font-size: 12px;
}

.lab-strip strong {
  color: #073642;
  font-size: 17px;
  line-height: 1.3;
}

@media (max-width: 920px) {
  .chooser {
    padding: 24px;
  }

  .chooser-hero,
  .runtime-hero,
  .flight-hero,
  .workbench-hero,
  .workbench-layout,
  .workbench-page {
    grid-template-columns: 1fr;
  }

  .chooser-grid,
  .runtime-grid,
  .flight-readouts,
  .lab-strip {
    grid-template-columns: 1fr;
  }

  .runtime-topbar,
  .flight-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 16px;
  }

  .runtime-hero {
    min-height: auto;
  }

  .terminal-output {
    padding: 28px;
  }

  .route-board {
    height: 720px;
  }

  .waypoint {
    min-width: 118px;
  }

  .workbench-rail {
    position: static;
    flex-flow: row wrap;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 49, 58, 0.18);
  }

  .trace-steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Runtime v2: match the generated IDE/terminal concept more closely. */
.runtime-shell {
  min-height: 100vh;
  overflow-x: hidden;
  color: #eee8d5;
  background:
    radial-gradient(circle at 82% 16%, rgba(42, 161, 152, 0.12), transparent 28rem),
    linear-gradient(90deg, rgba(88, 110, 117, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, rgba(88, 110, 117, 0.11) 1px, transparent 1px),
    #002b36;
  background-size: auto, 24px 24px, 24px 24px, auto;
  font-family: var(--mono);
}

.runtime-os {
  min-height: 100vh;
  padding-bottom: 34px;
}

.runtime-app {
  display: grid;
  grid-template-columns: 52px 268px minmax(0, 1fr);
  min-height: calc(100vh - 34px);
  border-bottom: 1px solid rgba(147, 161, 161, 0.18);
}

.activity-bar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 19px;
  padding: 17px 10px;
  border-right: 1px solid rgba(147, 161, 161, 0.18);
  background: rgba(0, 31, 39, 0.74);
}

.activity-bar a,
.activity-bar button {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(147, 161, 161, 0.22);
  color: #93a1a1;
  background: transparent;
  cursor: pointer;
}

.activity-bar .runtime-menu-toggle {
  display: none;
  gap: 4px;
}

.runtime-menu-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.activity-bar a:hover,
.activity-bar button:hover {
  border-color: rgba(42, 161, 152, 0.72);
  color: #2aa198;
}

.activity-bar [data-tooltip]::after {
  position: absolute;
  z-index: 20;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(42, 161, 152, 0.42);
  padding: 5px 8px;
  color: #fdf6e3;
  background: rgba(0, 31, 39, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  content: attr(data-tooltip);
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 140ms ease, transform 140ms ease;
}

.activity-bar [data-tooltip]:hover::after,
.activity-bar [data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(2px, -50%);
}

.runtime-nav {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-right: 1px solid rgba(147, 161, 161, 0.2);
  background: linear-gradient(180deg, rgba(7, 54, 66, 0.96), rgba(0, 43, 54, 0.96));
}

.runtime-nav-brand {
  min-height: 46px;
  padding: 15px 18px 0;
  color: #5fd7e7;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.runtime-nav-section {
  border-top: 1px solid rgba(147, 161, 161, 0.18);
  padding: 14px 18px;
}

.runtime-nav-section h2 {
  margin: 0 0 13px;
  color: #839496;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.runtime-nav-section button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0 0 10px;
  color: #5fd7e7;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.runtime-nav-section button strong {
  display: block;
  color: #5fd7e7;
  font-size: 15px;
  line-height: 1.3;
}

.runtime-nav-section button span,
.runtime-stack p,
.runtime-status p {
  display: block;
  margin: 4px 0 0;
  color: #93a1a1;
  font-size: 13px;
  line-height: 1.45;
}

.runtime-nav-section button:hover strong {
  color: #fdf6e3;
}

.runtime-stack {
  margin-top: 0;
}

.runtime-stack p,
.runtime-status p {
  margin: 0 0 10px;
}

.runtime-stack span,
.runtime-status span {
  color: #b58900;
}

.runtime-workspace {
  min-width: 0;
  padding: 22px clamp(24px, 4vw, 72px) 78px;
}

.runtime-workspace-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  border-bottom: 1px solid rgba(238, 232, 213, 0.28);
  color: #859900;
  font-weight: 700;
}

.runtime-workspace-top span:last-child {
  color: #586e75;
  font-weight: 500;
}

.runtime-intro {
  max-width: 1010px;
  padding: 34px 0 24px;
}

.runtime-intro h1 {
  margin: 0;
  color: #eee8d5;
  font-size: clamp(54px, 7.2vw, 96px);
  line-height: 0.95;
  font-weight: 800;
  text-shadow: 0 10px 50px rgba(238, 232, 213, 0.08);
}

.cursor-mark {
  color: #859900;
}

.runtime-role {
  margin: 8px 0 20px;
  color: #5fd7e7;
  font-size: clamp(22px, 2.8vw, 31px);
  font-weight: 800;
}

.runtime-intro p:not(.runtime-role) {
  max-width: 760px;
  color: #d8d0b8;
  font-size: 18px;
  line-height: 1.65;
}

.runtime-focus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: #5fd7e7;
}

.runtime-focus-row button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(42, 161, 152, 0.42);
  border-radius: 4px;
  padding: 7px 12px;
  color: #5fd7e7;
  background: rgba(7, 54, 66, 0.68);
  box-shadow: inset 0 0 0 1px rgba(0, 43, 54, 0.62);
  cursor: pointer;
}

.runtime-focus-row button:hover,
.runtime-focus-row button:focus-visible,
.runtime-focus-row button.is-active {
  border-color: rgba(181, 137, 0, 0.68);
  color: #fdf6e3;
  background: rgba(42, 161, 152, 0.2);
}

.experience-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 18px;
  max-width: 930px;
  border: 1px solid rgba(147, 161, 161, 0.26);
  margin-top: 18px;
  padding: 18px;
  background: rgba(7, 54, 66, 0.72);
}

.panel-kicker {
  margin: 0 0 8px;
  color: #859900;
  font-size: 13px;
  font-weight: 800;
}

.experience-search-panel h2 {
  margin: 0 0 10px;
  color: #eee8d5;
  font-family: var(--sans);
  font-size: clamp(22px, 2.5vw, 32px);
}

.experience-search-panel p {
  margin: 0;
  color: #d8d0b8;
  line-height: 1.6;
}

.experience-result-grid {
  display: grid;
  gap: 10px;
}

.experience-result-grid a {
  display: grid;
  gap: 4px;
  border-left: 2px solid rgba(42, 161, 152, 0.65);
  padding-left: 12px;
}

.experience-result-grid span {
  color: #b58900;
  font-size: 12px;
  font-weight: 800;
}

.experience-result-grid strong {
  color: #5fd7e7;
  line-height: 1.3;
}

.runtime-terminal,
.career-trace,
.commit-pulse-panel {
  max-width: 1060px;
  border: 1px solid rgba(147, 161, 161, 0.34);
  background:
    linear-gradient(180deg, rgba(7, 54, 66, 0.92), rgba(0, 43, 54, 0.96)),
    #073642;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.terminal-titlebar {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 18px;
  min-height: 40px;
  align-items: center;
  border-bottom: 1px solid rgba(147, 161, 161, 0.24);
  padding: 0 18px;
  color: #5fd7e7;
}

.terminal-titlebar span:not(:first-child) {
  color: #d8d0b8;
}

.terminal-screen {
  min-height: clamp(360px, 58vh, 760px);
  max-height: min(78vh, 900px);
  overflow: auto;
  padding: 24px 20px 10px;
  scrollbar-color: rgba(147, 161, 161, 0.32) transparent;
}

.terminal-screen p {
  margin: 0 0 8px;
  color: #d8d0b8;
  line-height: 1.48;
}

.runtime-prompt {
  color: #859900;
  font-weight: 800;
}

.command-table {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 7px 22px;
  max-width: 760px;
  margin: 8px 0 0 10px;
}

.command-table button {
  border: 0;
  padding: 0;
  color: #5fd7e7;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.command-table button:hover {
  color: #fdf6e3;
}

.command-table span {
  color: #d8d0b8;
}

.runtime-result {
  max-width: 900px;
  margin: 10px 0 18px;
  border-left: 2px solid rgba(42, 161, 152, 0.6);
  padding: 4px 0 4px 16px;
}

.runtime-result-enter {
  animation: runtime-result-enter 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes runtime-result-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.runtime-agent-response > * {
  animation: runtime-response-part 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.runtime-agent-response > *:nth-child(1) {
  animation-delay: 60ms;
}

.runtime-agent-response > *:nth-child(2) {
  animation-delay: 130ms;
}

.runtime-agent-response > *:nth-child(3) {
  animation-delay: 220ms;
}

.runtime-agent-response > *:nth-child(4) {
  animation-delay: 300ms;
}

.runtime-agent-response > *:nth-child(5) {
  animation-delay: 360ms;
}

@keyframes runtime-response-part {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.runtime-search-result {
  max-width: 940px;
  border-left-color: rgba(181, 137, 0, 0.72);
}

.runtime-search-result .experience-search-panel {
  margin-top: 0;
  background: rgba(0, 43, 54, 0.52);
}

.runtime-result h2 {
  margin: 0 0 8px;
  color: #fdf6e3;
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.runtime-result p {
  color: #d8d0b8;
}

.runtime-result a {
  color: #5fd7e7;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.runtime-proof-grid article {
  border: 1px solid rgba(42, 161, 152, 0.28);
  padding: 12px;
  background: rgba(7, 54, 66, 0.72);
}

.runtime-proof-grid span {
  display: block;
  margin-bottom: 8px;
  color: #b58900;
  font-size: 12px;
  font-weight: 800;
}

.runtime-proof-grid strong {
  display: block;
  margin-bottom: 7px;
  color: #fdf6e3;
  font-size: 15px;
  line-height: 1.25;
}

.runtime-proof-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.42;
}

.runtime-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.runtime-mini-tags span {
  border: 1px solid rgba(181, 137, 0, 0.45);
  padding: 5px 8px;
  color: #b58900;
  font-size: 12px;
}

.runtime-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.runtime-result-actions a {
  border: 1px solid rgba(42, 161, 152, 0.4);
  padding: 8px 12px;
  color: #2aa198;
  text-decoration: none;
}

.runtime-result-actions a:hover {
  border-color: rgba(95, 215, 231, 0.72);
  color: #fdf6e3;
  background: rgba(42, 161, 152, 0.14);
}

.runtime-podcast-widget {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 16px 0;
  border: 1px solid rgba(95, 215, 231, 0.28);
  background: rgba(7, 54, 66, 0.56);
  padding: 14px;
}

.runtime-podcast-widget span,
.runtime-podcast-widget small {
  display: block;
  color: #93a1a1;
}

.runtime-podcast-widget strong {
  display: block;
  margin: 4px 0;
  color: #fdf6e3;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.15;
}

.runtime-podcast-widget audio {
  width: 100%;
  accent-color: #5fd7e7;
}

.runtime-podcast-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.runtime-podcast-controls button,
.podcast-player-controls button {
  border: 1px solid rgba(95, 215, 231, 0.36);
  padding: 8px 12px;
  color: #5fd7e7;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.runtime-podcast-controls button:hover,
.podcast-player-controls button:hover {
  border-color: #5fd7e7;
  color: #fdf6e3;
  background: rgba(95, 215, 231, 0.08);
}

.runtime-overlay[hidden] {
  display: none;
}

.runtime-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: stretch end;
}

.runtime-overlay-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 20, 26, 0.62);
  cursor: pointer;
}

.runtime-overlay-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(920px, calc(100vw - 76px));
  height: calc(100vh - 48px);
  margin: 24px 24px 24px 0;
  border: 1px solid rgba(95, 215, 231, 0.32);
  background:
    linear-gradient(180deg, rgba(0, 43, 54, 0.97), rgba(7, 54, 66, 0.98)),
    #002b36;
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  animation: runtime-overlay-enter 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes runtime-overlay-enter {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes runtime-overlay-mobile-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.runtime-overlay-top {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(147, 161, 161, 0.18);
  padding: 12px 16px;
  color: #93a1a1;
}

.runtime-overlay-top button {
  border: 1px solid rgba(95, 215, 231, 0.35);
  padding: 7px 10px;
  color: #5fd7e7;
  background: transparent;
  cursor: pointer;
}

.runtime-overlay-top button:hover {
  color: #fdf6e3;
  background: rgba(42, 161, 152, 0.14);
}

.runtime-overlay-content {
  min-height: 0;
  overflow: auto;
  padding: 22px;
}

.runtime-overlay-content .content-command {
  margin-top: 0;
}

.runtime-overlay-content .content-hero {
  margin-top: 0;
}

.runtime-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(147, 161, 161, 0.2);
  padding: 12px 18px;
}

.runtime-input label {
  color: #859900;
  font-weight: 800;
}

.runtime-input input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fdf6e3;
  background: transparent;
  caret-color: #859900;
}

.runtime-input input.is-typing {
  text-shadow: 0 0 10px rgba(133, 153, 0, 0.38);
}

.runtime-input button,
.section-command button,
.section-command a {
  border: 1px solid rgba(42, 161, 152, 0.42);
  padding: 8px 12px;
  color: #5fd7e7;
  background: rgba(42, 161, 152, 0.08);
  cursor: pointer;
  transform: translateY(0);
  transition: background 120ms ease, color 120ms ease, transform 120ms ease, border-color 120ms ease;
}

.runtime-input button:hover,
.section-command button:hover,
.section-command a:hover {
  color: #fdf6e3;
  background: rgba(42, 161, 152, 0.16);
}

.runtime-input button.is-running {
  border-color: rgba(181, 137, 0, 0.82);
  color: #fdf6e3;
  background: rgba(181, 137, 0, 0.2);
  transform: translateY(2px) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .runtime-result-enter,
  .runtime-agent-response > * {
    animation: none;
  }

  .runtime-input button,
  .section-command button,
  .section-command a {
    transition: none;
  }
}

.career-trace,
.commit-pulse-panel {
  margin-top: 20px;
  padding: 18px 20px 22px;
  scroll-margin-top: 82px;
}

.section-command {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(147, 161, 161, 0.22);
  padding-bottom: 14px;
}

.section-command h2 {
  margin: 0;
  color: #eee8d5;
  font-family: var(--sans);
  font-size: 22px;
}

.section-command p {
  margin: 5px 0 0;
  color: #93a1a1;
}

.trace-list {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 20px;
  padding-left: 34px;
}

.trace-list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 20px;
  border-left: 2px dashed #5fd7e7;
}

.trace-list article {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  padding: 0 0 24px;
}

.trace-list article span {
  grid-row: 1 / span 2;
}

.trace-list article::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 2px solid #5fd7e7;
  border-radius: 50%;
  background: #073642;
}

.trace-list span {
  color: #f5c542;
  font-weight: 800;
}

.trace-list strong {
  display: block;
  grid-column: 2;
  color: #fdf6e3;
}

.trace-list p {
  grid-column: 2;
  margin: 3px 0 0;
  color: #d8d0b8;
  line-height: 1.5;
}

.commit-pulse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 18px;
}

.commit-pulse-chart {
  position: relative;
  min-height: 680px;
  border: 1px solid rgba(147, 161, 161, 0.22);
  background:
    radial-gradient(circle at 18% 16%, rgba(181, 137, 0, 0.14), transparent 26%),
    radial-gradient(circle at 78% 36%, rgba(42, 161, 152, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(88, 110, 117, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(88, 110, 117, 0.075) 1px, transparent 1px),
    rgba(0, 43, 54, 0.5);
  background-size: auto, auto, 46px 46px, 46px 46px, auto;
  overflow: hidden;
  padding: 16px;
}

.commit-pulse-chart p {
  margin: 0;
  color: #93a1a1;
}

.agent-shift-viz {
  position: relative;
}

.agent-shift-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(147, 161, 161, 0.2);
  padding: 0 0 14px;
}

.agent-shift-toolbar button {
  border: 1px solid rgba(181, 137, 0, 0.44);
  padding: 7px 12px;
  color: #f5c542;
  background: rgba(181, 137, 0, 0.08);
  cursor: pointer;
}

.agent-shift-toolbar button:hover {
  color: #fdf6e3;
  background: rgba(181, 137, 0, 0.16);
}

.agent-shift-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #d8d0b8;
  font-size: 12px;
  font-weight: 800;
}

.agent-shift-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.agent-shift-legend i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  box-shadow: 0 0 16px currentColor;
}

.legend-solo {
  color: #b58900;
  background: #b58900;
}

.legend-assisted {
  color: #2aa198;
  background: #2aa198;
}

.legend-agent {
  color: #dc322f;
  background: #dc322f;
}

.agent-shift-stage {
  position: relative;
  overflow: hidden;
}

.commit-pulse-svg {
  width: 100%;
  min-height: 520px;
  display: block;
  cursor: grab;
  touch-action: none;
}

.commit-pulse-svg:active {
  cursor: grabbing;
}

.shift-phase rect {
  fill: rgba(7, 54, 66, 0.28);
  stroke: rgba(147, 161, 161, 0.12);
}

.shift-phase-solo rect {
  fill: rgba(181, 137, 0, 0.06);
}

.shift-phase-assist rect {
  fill: rgba(42, 161, 152, 0.07);
}

.shift-phase-agent rect {
  fill: rgba(220, 50, 47, 0.055);
}

.shift-phase text,
.shift-lane-label,
.shift-month-label,
.shift-marker text {
  fill: #93a1a1;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.shift-total-area {
  fill: url(#shiftVolumeGradient);
  stroke: rgba(147, 161, 161, 0.18);
}

.shift-transition-band {
  opacity: 0.36;
}

.shift-transition-assisted {
  fill: rgba(42, 161, 152, 0.24);
}

.shift-transition-agent {
  fill: rgba(220, 50, 47, 0.22);
}

.shift-lane {
  stroke: rgba(147, 161, 161, 0.18);
  stroke-width: 1;
  stroke-dasharray: 5 8;
}

.shift-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  opacity: 0.62;
}

.shift-flow-solo {
  stroke: #b58900;
}

.shift-flow-assisted {
  stroke: #2aa198;
}

.shift-flow-agent {
  stroke: #dc322f;
}

.shift-bubble {
  cursor: pointer;
  filter: url("#shiftGlow");
  opacity: 0.88;
  stroke-width: 2;
  transition: opacity 140ms ease, transform 140ms ease, stroke-width 140ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.shift-bubble-solo {
  fill: rgba(181, 137, 0, 0.72);
  stroke: #f5c542;
}

.shift-bubble-assisted {
  fill: rgba(42, 161, 152, 0.72);
  stroke: #5fd7e7;
}

.shift-bubble-agent {
  fill: rgba(220, 50, 47, 0.68);
  stroke: #ff6a5f;
}

.shift-bubble:hover,
.shift-bubble.is-selected {
  opacity: 1;
  stroke-width: 4;
  transform: scale(1.16);
}

.shift-bubble.is-dim {
  opacity: 0.3;
}

.shift-bubble.is-windowed-out {
  opacity: 0.16;
}

.shift-month {
  opacity: 0;
}

.agent-shift-viz.is-ready .shift-month {
  animation: shift-pop 880ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 130ms);
}

@keyframes shift-pop {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shift-marker line {
  stroke-width: 2;
  stroke-dasharray: 7 8;
}

.shift-marker circle {
  fill: #fdf6e3;
  stroke-width: 3;
}

.shift-marker-launch line {
  stroke: rgba(42, 161, 152, 0.58);
}

.shift-marker-launch circle {
  stroke: #2aa198;
}

.shift-marker-assist-start line,
.shift-marker-assist-full line {
  stroke: rgba(181, 137, 0, 0.42);
}

.shift-marker-assist-start circle,
.shift-marker-assist-full circle {
  stroke: #b58900;
}

.shift-marker-threshold line {
  stroke: rgba(220, 50, 47, 0.58);
}

.shift-marker-threshold circle {
  stroke: #dc322f;
}

.shift-scanline {
  stroke: rgba(253, 246, 227, 0.72);
  stroke-width: 2;
  opacity: 0;
}

.agent-shift-viz.is-ready .shift-scanline {
  animation: shift-scan 4200ms cubic-bezier(0.22, 0.85, 0.22, 1) 260ms both;
}

@keyframes shift-scan {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(1040px);
  }
}

.agent-shift-tooltip {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 4px;
  max-width: min(360px, calc(100% - 32px));
  min-width: 260px;
  border: 1px solid rgba(95, 215, 231, 0.42);
  border-radius: 4px;
  padding: 11px;
  color: #d8d0b8;
  background: rgba(0, 43, 54, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 100ms ease, transform 100ms ease;
  backdrop-filter: blur(10px);
}

.agent-shift-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.agent-shift-tooltip strong {
  color: #fdf6e3;
}

.agent-shift-tooltip span {
  color: #93a1a1;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .agent-shift-viz.is-ready .shift-month,
  .agent-shift-viz.is-ready .shift-scanline {
    animation: none;
    opacity: 1;
  }
}

.runtime-statusbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 102px 1fr auto auto auto auto;
  gap: 24px;
  min-height: 34px;
  align-items: center;
  border-top: 1px solid rgba(147, 161, 161, 0.22);
  padding: 0 20px;
  color: #93a1a1;
  background: rgba(0, 43, 54, 0.96);
}

.runtime-statusbar span:first-child {
  display: grid;
  height: 24px;
  place-items: center;
  color: #002b36;
  background: #5fd7e7;
  font-weight: 800;
}

.runtime-shell[data-theme="light"] {
  color: #073642;
  background:
    radial-gradient(circle at 82% 16%, rgba(38, 139, 210, 0.16), transparent 28rem),
    linear-gradient(90deg, rgba(88, 110, 117, 0.15) 1px, transparent 1px),
    linear-gradient(180deg, rgba(88, 110, 117, 0.15) 1px, transparent 1px),
    #fdf6e3;
  background-size: auto, 24px 24px, 24px 24px, auto;
}

.runtime-shell[data-theme="light"] .activity-bar {
  background: rgba(238, 232, 213, 0.84);
}

.runtime-shell[data-theme="light"] .activity-bar a,
.runtime-shell[data-theme="light"] .activity-bar button,
.runtime-shell[data-theme="light"] .runtime-content-top nav,
.runtime-shell[data-theme="light"] .runtime-nav-section h2,
.runtime-shell[data-theme="light"] .runtime-nav-section button span,
.runtime-shell[data-theme="light"] .runtime-stack p,
.runtime-shell[data-theme="light"] .runtime-status p,
.runtime-shell[data-theme="light"] .runtime-workspace-top span:last-child,
.runtime-shell[data-theme="light"] .section-command p,
.runtime-shell[data-theme="light"] .agent-shift-tooltip span,
.runtime-shell[data-theme="light"] .runtime-statusbar {
  color: #586e75;
}

.runtime-shell[data-theme="light"] .runtime-nav,
.runtime-shell[data-theme="light"] .runtime-content-top,
.runtime-shell[data-theme="light"] .runtime-terminal,
.runtime-shell[data-theme="light"] .runtime-overlay-panel,
.runtime-shell[data-theme="light"] .commit-pulse-panel,
.runtime-shell[data-theme="light"] .experience-search-panel,
.runtime-shell[data-theme="light"] .runtime-search-result .experience-search-panel,
.runtime-shell[data-theme="light"] .runtime-podcast-widget,
.runtime-shell[data-theme="light"] .content-grid-runtime aside,
.runtime-shell[data-theme="light"] .content-grid-runtime article,
.runtime-shell[data-theme="light"] .content-list a,
.runtime-shell[data-theme="light"] .article-brief,
.runtime-shell[data-theme="light"] .runtime-writing-list,
.runtime-shell[data-theme="light"] .runtime-post-panel,
.runtime-shell[data-theme="light"] .runtime-writing-row,
.runtime-shell[data-theme="light"] .related-links,
.runtime-shell[data-theme="light"] .podcast-panel {
  background:
    linear-gradient(180deg, rgba(253, 246, 227, 0.9), rgba(238, 232, 213, 0.96)),
    #eee8d5;
  box-shadow: 0 26px 70px rgba(88, 110, 117, 0.2);
}

.runtime-shell[data-theme="light"] .runtime-nav-brand,
.runtime-shell[data-theme="light"] .runtime-nav-section button strong,
.runtime-shell[data-theme="light"] .runtime-focus-row,
.runtime-shell[data-theme="light"] .runtime-focus-row button,
.runtime-shell[data-theme="light"] .experience-result-grid strong,
.runtime-shell[data-theme="light"] .terminal-titlebar,
.runtime-shell[data-theme="light"] .runtime-result a,
.runtime-shell[data-theme="light"] .command-table button,
.runtime-shell[data-theme="light"] .runtime-input button,
.runtime-shell[data-theme="light"] .section-command a,
.runtime-shell[data-theme="light"] .content-grid-runtime h2,
.runtime-shell[data-theme="light"] .article-brief h2,
.runtime-shell[data-theme="light"] .content-grid-runtime a,
.runtime-shell[data-theme="light"] .article-brief a,
.runtime-shell[data-theme="light"] .runtime-podcast-controls button,
.runtime-shell[data-theme="light"] .podcast-player-controls button,
.runtime-shell[data-theme="light"] .podcast-actions a,
.runtime-shell[data-theme="light"] .podcast-actions button {
  color: #268bd2;
}

.runtime-shell[data-theme="light"] .runtime-intro h1,
.runtime-shell[data-theme="light"] .experience-search-panel h2,
.runtime-shell[data-theme="light"] .runtime-result h2,
.runtime-shell[data-theme="light"] .section-command h2,
.runtime-shell[data-theme="light"] .runtime-input input,
.runtime-shell[data-theme="light"] .content-hero h1,
.runtime-shell[data-theme="light"] .runtime-post-header h1,
.runtime-shell[data-theme="light"] .content-list strong,
.runtime-shell[data-theme="light"] .writing-title,
.runtime-shell[data-theme="light"] .related-links h2,
.runtime-shell[data-theme="light"] .runtime-podcast-widget strong,
.runtime-shell[data-theme="light"] .runtime-proof-grid strong,
.runtime-shell[data-theme="light"] .podcast-player h2 {
  color: #073642;
}

.runtime-shell[data-theme="light"] .runtime-intro p:not(.runtime-role),
.runtime-shell[data-theme="light"] .experience-search-panel p,
.runtime-shell[data-theme="light"] .runtime-result p,
.runtime-shell[data-theme="light"] .terminal-screen p,
.runtime-shell[data-theme="light"] .command-table span,
.runtime-shell[data-theme="light"] .content-hero p,
.runtime-shell[data-theme="light"] .content-grid-runtime p,
.runtime-shell[data-theme="light"] .content-grid-runtime li,
.runtime-shell[data-theme="light"] .article-brief p,
.runtime-shell[data-theme="light"] .article-brief li,
.runtime-shell[data-theme="light"] .runtime-post-content,
.runtime-shell[data-theme="light"] .runtime-writing-row p,
.runtime-shell[data-theme="light"] .runtime-podcast-widget span,
.runtime-shell[data-theme="light"] .runtime-podcast-widget small,
.runtime-shell[data-theme="light"] .runtime-proof-grid p,
.runtime-shell[data-theme="light"] .proof-table,
.runtime-shell[data-theme="light"] .podcast-player p {
  color: #35515a;
}

.runtime-shell[data-theme="light"] .runtime-proof-grid article {
  border-color: rgba(38, 139, 210, 0.22);
  background: rgba(253, 246, 227, 0.64);
}

.runtime-shell[data-theme="light"] .proof-table th {
  background: rgba(238, 232, 213, 0.72);
}

.runtime-shell[data-theme="light"] .proof-table td:first-child {
  color: #073642;
}

.runtime-shell[data-theme="light"] .runtime-role,
.runtime-shell[data-theme="light"] .runtime-workspace-top,
.runtime-shell[data-theme="light"] .runtime-prompt,
.runtime-shell[data-theme="light"] .runtime-input label,
.runtime-shell[data-theme="light"] .content-command {
  color: #859900;
}

.runtime-shell[data-theme="light"] .runtime-focus-row button,
.runtime-shell[data-theme="light"] .runtime-input button,
.runtime-shell[data-theme="light"] .section-command a {
  background: rgba(38, 139, 210, 0.08);
  box-shadow: inset 0 0 0 1px rgba(238, 232, 213, 0.68);
}

.runtime-shell[data-theme="light"] .runtime-focus-row button:hover,
.runtime-shell[data-theme="light"] .runtime-focus-row button:focus-visible,
.runtime-shell[data-theme="light"] .runtime-focus-row button.is-active,
.runtime-shell[data-theme="light"] .runtime-input button:hover,
.runtime-shell[data-theme="light"] .section-command a:hover {
  color: #073642;
  background: rgba(42, 161, 152, 0.18);
}

.runtime-shell[data-theme="light"] .commit-pulse-chart {
  background:
    radial-gradient(circle at 18% 16%, rgba(181, 137, 0, 0.14), transparent 26%),
    radial-gradient(circle at 78% 36%, rgba(38, 139, 210, 0.13), transparent 30%),
    linear-gradient(90deg, rgba(88, 110, 117, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(88, 110, 117, 0.13) 1px, transparent 1px),
    rgba(238, 232, 213, 0.64);
}

.runtime-shell[data-theme="light"] .agent-shift-tooltip {
  color: #073642;
  background: rgba(253, 246, 227, 0.86);
}

.runtime-shell[data-theme="light"] .runtime-statusbar {
  background: rgba(238, 232, 213, 0.96);
}

.runtime-shell[data-theme="light"] .runtime-content-top button {
  border-color: rgba(88, 110, 117, 0.32);
  color: #586e75;
  background: rgba(253, 246, 227, 0.48);
}

.runtime-shell[data-theme="light"] .runtime-content-top button:hover {
  color: #073642;
  background: rgba(42, 161, 152, 0.14);
}

.runtime-shell[data-theme="light"] .runtime-overlay-backdrop {
  background: rgba(238, 232, 213, 0.62);
}

.runtime-shell[data-theme="light"] .runtime-statusbar span:first-child {
  color: #fdf6e3;
  background: #268bd2;
}

@media (max-width: 1000px) {
  .runtime-shell {
    scroll-padding-top: 72px;
  }

  .runtime-app {
    grid-template-columns: 1fr;
  }

  .activity-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid rgba(147, 161, 161, 0.18);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    order: 0;
  }

  .activity-bar .runtime-menu-toggle {
    display: inline-grid;
  }

  .runtime-nav {
    position: fixed;
    top: 64px;
    right: 12px;
    left: 12px;
    z-index: 19;
    display: none;
    min-height: 0;
    max-height: min(76vh, 680px);
    overflow: auto;
    border: 1px solid rgba(147, 161, 161, 0.28);
    background: linear-gradient(180deg, rgba(7, 54, 66, 0.98), rgba(0, 43, 54, 0.99));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  }

  .runtime-app.is-menu-open .runtime-nav {
    display: flex;
  }

  .runtime-app.is-menu-open .runtime-menu-toggle {
    border-color: rgba(181, 137, 0, 0.72);
    color: #fdf6e3;
    background: rgba(42, 161, 152, 0.18);
  }

  .runtime-nav-brand {
    min-height: auto;
    padding: 15px 16px 12px;
  }

  .runtime-nav-section {
    padding: 13px 16px;
  }

  .runtime-workspace {
    order: 1;
    padding: 20px 22px 70px;
  }

  .runtime-terminal,
  .commit-pulse-panel {
    scroll-margin-top: 72px;
  }

  .runtime-focus-row button {
    padding: 7px 9px;
  }

  .command-table,
  .experience-search-panel,
  .runtime-proof-grid,
  .trace-list article,
  .commit-pulse-grid {
    grid-template-columns: 1fr;
  }

  .command-table {
    gap: 4px;
  }

  .runtime-input {
    grid-template-columns: 1fr;
  }

  .terminal-screen {
    min-height: clamp(380px, 64vh, 720px);
    max-height: 72vh;
  }

  .runtime-overlay {
    display: block;
  }

  .runtime-overlay-panel {
    position: fixed;
    inset: 72px 10px 16px;
    width: auto;
    height: auto;
    margin: 0;
    animation-name: runtime-overlay-mobile-enter;
  }

  .runtime-overlay-content {
    padding: 14px;
  }

  .sdlc-flow,
  .sdlc-layers {
    grid-template-columns: 1fr;
  }

  .trace-list {
    padding-left: 26px;
  }

  .trace-list article span,
  .trace-list strong,
  .trace-list p {
    grid-column: 1;
    grid-row: auto;
  }

  .runtime-statusbar {
    grid-template-columns: auto 1fr auto;
  }

  .runtime-statusbar span:nth-child(4),
  .runtime-statusbar span:nth-child(5),
  .runtime-statusbar span:nth-child(6) {
    display: none;
  }
}

.runtime-content-body {
  padding-bottom: 42px;
}

.runtime-content-top {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  border-bottom: 1px solid rgba(147, 161, 161, 0.22);
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(0, 43, 54, 0.92);
  backdrop-filter: blur(14px);
}

.runtime-content-top > a {
  color: #5fd7e7;
  font-weight: 800;
}

.runtime-content-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: #93a1a1;
}

.runtime-content-top button {
  border: 1px solid rgba(147, 161, 161, 0.28);
  width: 30px;
  height: 30px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.runtime-content-top a:hover,
.runtime-content-top button:hover {
  color: #fdf6e3;
}

.runtime-content {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 88px;
}

.content-command {
  border-bottom: 1px solid rgba(147, 161, 161, 0.24);
  padding-bottom: 14px;
  color: #859900;
  font-weight: 800;
}

.content-hero {
  padding: 42px 0 34px;
}

.content-hero h1 {
  max-width: 940px;
  margin: 0;
  color: #eee8d5;
  font-family: var(--sans);
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.95;
}

.content-hero p {
  max-width: 820px;
  color: #d8d0b8;
  font-size: 20px;
  line-height: 1.65;
}

.content-grid-runtime {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
}

.content-grid-runtime aside,
.content-grid-runtime article,
.content-list a,
.article-brief {
  border: 1px solid rgba(147, 161, 161, 0.28);
  background: rgba(7, 54, 66, 0.86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}

.content-grid-runtime aside,
.content-grid-runtime article {
  padding: 24px;
}

.content-grid-runtime h2,
.article-brief h2 {
  margin: 0 0 14px;
  color: #5fd7e7;
  font-family: var(--sans);
}

.content-grid-runtime p,
.content-grid-runtime li,
.article-brief p,
.article-brief li {
  color: #d8d0b8;
  line-height: 1.7;
}

.content-grid-runtime a,
.article-brief a {
  color: #5fd7e7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.proof-table {
  width: 100%;
  margin: 18px 0 8px;
  border-collapse: collapse;
  color: #d8d0b8;
  font-size: 14px;
  line-height: 1.45;
}

.proof-table th,
.proof-table td {
  border: 1px solid rgba(147, 161, 161, 0.22);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.proof-table th {
  color: #b58900;
  background: rgba(0, 43, 54, 0.52);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-table td:first-child {
  color: #fdf6e3;
  font-weight: 800;
}

.podcast-hero p {
  max-width: 900px;
}

.podcast-panel {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
  border: 1px solid rgba(147, 161, 161, 0.28);
  background: rgba(7, 54, 66, 0.9);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
  padding: 24px;
}

.podcast-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: center;
}

.podcast-player span {
  color: #b58900;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.podcast-player h2 {
  margin: 8px 0;
  color: #fdf6e3;
  font-family: var(--sans);
  font-size: clamp(26px, 4vw, 46px);
}

.podcast-player p {
  margin: 0;
  color: #93a1a1;
}

.podcast-player audio {
  width: 100%;
  accent-color: #5fd7e7;
}

.podcast-player-controls,
.podcast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.podcast-player-controls button,
.podcast-actions a,
.podcast-actions button {
  border: 1px solid rgba(95, 215, 231, 0.36);
  padding: 8px 12px;
  color: #5fd7e7;
  background: transparent;
  font: inherit;
  text-decoration: none;
}

.podcast-player-controls button:hover,
.podcast-actions a:hover,
.podcast-actions button:hover {
  border-color: #5fd7e7;
  color: #fdf6e3;
  background: rgba(95, 215, 231, 0.08);
}

.podcast-notes article p strong {
  color: #b58900;
}

.content-list {
  display: grid;
  gap: 14px;
}

.content-list a {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px 22px;
  padding: 20px;
}

.content-list span {
  color: #b58900;
  font-weight: 800;
}

.content-list strong {
  color: #fdf6e3;
  font-size: 20px;
}

.content-list p {
  grid-column: 2;
  margin: 0;
  color: #93a1a1;
  line-height: 1.6;
}

.runtime-writing-list {
  display: grid;
  border: 1px solid rgba(147, 161, 161, 0.28);
  margin-top: 22px;
  padding: 0 24px;
  background: rgba(7, 54, 66, 0.86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}

.runtime-writing-row {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid rgba(147, 161, 161, 0.22);
  padding: 24px 0;
}

.runtime-writing-row:first-child {
  padding-top: 24px;
}

.runtime-writing-row:last-child {
  border-bottom: 0;
}

.writing-title {
  color: #fdf6e3;
  font-family: var(--sans);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 800;
  line-height: 1.08;
}

.writing-title:hover {
  color: #5fd7e7;
}

.runtime-writing-row p {
  margin: 0;
  color: #93a1a1;
  line-height: 1.6;
}

.runtime-writing-row .writing-related {
  color: #d8d0b8;
  font-size: 14px;
}

.runtime-writing-row .writing-related a {
  color: #5fd7e7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.writing-browser {
  max-width: 980px;
}

.writing-filter-row {
  margin-top: 0;
}

.writing-filter-status {
  margin-top: 12px;
  color: #93a1a1;
  font-size: 14px;
}

.writing-meta {
  justify-self: start;
  padding-top: 2px;
  color: #839496 !important;
  font-size: 12px;
  font-weight: 700;
}

.article-stack {
  display: grid;
  gap: 18px;
}

.article-brief {
  padding: 24px;
}

.article-brief .meta {
  margin: 0 0 14px;
  color: #b58900;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.related-links {
  border: 1px solid rgba(147, 161, 161, 0.28);
  margin-top: 22px;
  padding: 24px;
  background: rgba(7, 54, 66, 0.82);
}

.related-links h2 {
  margin: 0 0 16px;
  color: #5fd7e7;
  font-family: var(--sans);
}

.related-links div {
  display: grid;
  gap: 10px;
}

.related-links a {
  border-bottom: 1px solid rgba(147, 161, 161, 0.2);
  padding-bottom: 10px;
  color: #eee8d5;
}

.related-links a:hover {
  color: #5fd7e7;
}

.commit-panel {
  border: 1px solid rgba(42, 161, 152, 0.32);
  margin-top: 28px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(0, 43, 54, 0.82), rgba(7, 54, 66, 0.9)),
    #073642;
}

.commit-panel h3 {
  margin: 0 0 10px;
  color: #b58900;
  font-family: var(--sans);
}

.commit-months {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.commit-months span {
  border: 1px solid rgba(147, 161, 161, 0.22);
  padding: 12px;
  background: rgba(0, 43, 54, 0.72);
}

.commit-months strong,
.commit-months em {
  display: block;
}

.commit-months strong {
  color: #fdf6e3;
  font-size: 22px;
}

.commit-months em {
  color: #93a1a1;
  font-style: normal;
  font-size: 12px;
}

.commit-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-height: 170px;
  overflow-x: auto;
  border-left: 1px solid rgba(147, 161, 161, 0.22);
  border-bottom: 1px solid rgba(147, 161, 161, 0.22);
  padding: 0 0 18px 8px;
}

.commit-bars span {
  position: relative;
  flex: 0 0 10px;
  height: calc((var(--v) / 119) * 138px + 4px);
  min-height: 4px;
  background: linear-gradient(180deg, #b58900, #2aa198);
}

.commit-bars i {
  position: absolute;
  left: -16px;
  bottom: -18px;
  color: #586e75;
  font-style: normal;
  font-size: 9px;
  transform: rotate(-38deg);
  transform-origin: left center;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .runtime-content-top {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .content-grid-runtime,
  .content-list a,
  .runtime-writing-row {
    grid-template-columns: 1fr;
  }

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

  .content-list p,
  .runtime-writing-row p {
    grid-column: 1;
  }
}

.runtime-post-body {
  padding-bottom: 42px;
}

.runtime-post {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 96px;
}

.runtime-post-panel {
  border: 1px solid rgba(147, 161, 161, 0.28);
  margin-top: 28px;
  background:
    linear-gradient(180deg, rgba(7, 54, 66, 0.92), rgba(0, 43, 54, 0.96)),
    #073642;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2);
}

.runtime-post-header {
  border-bottom: 1px solid rgba(147, 161, 161, 0.22);
  padding: clamp(28px, 5vw, 58px);
}

.runtime-post-header > p:first-child {
  margin: 0 0 18px;
  color: #b58900;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.runtime-post-header h1 {
  max-width: 820px;
  margin: 0;
  color: #eee8d5;
  font-family: var(--sans);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
}

.runtime-post-excerpt {
  max-width: 720px;
  margin: 22px 0 0;
  color: #d8d0b8;
  font-size: 20px;
  line-height: 1.55;
}

.runtime-post-content {
  padding: clamp(28px, 5vw, 58px);
}

.runtime-post-content h1,
.runtime-post-content h2,
.runtime-post-content h3 {
  color: #5fd7e7;
  font-family: var(--sans);
  line-height: 1.12;
}

.runtime-post-content h1 {
  font-size: 36px;
}

.runtime-post-content h2 {
  margin-top: 36px;
  font-size: 28px;
}

.runtime-post-content h3 {
  margin-top: 28px;
  font-size: 22px;
}

.runtime-post-content p,
.runtime-post-content li {
  color: #d8d0b8;
  font-size: 18px;
  line-height: 1.75;
}

.runtime-post-content a {
  color: #5fd7e7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.runtime-post-content ul,
.runtime-post-content ol {
  padding-left: 24px;
}

.runtime-post-content blockquote {
  border-left: 2px solid #b58900;
  margin: 28px 0;
  padding-left: 18px;
  color: #eee8d5;
}

.runtime-post-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(147, 161, 161, 0.24);
}

.runtime-post-content .article-agentic-shift {
  margin: 36px 0;
  max-width: none;
  padding: 16px;
}

.runtime-post-content .article-agentic-shift .commit-pulse-chart {
  min-height: 620px;
}

.sdlc-flow,
.sdlc-layers {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.sdlc-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sdlc-flow div,
.sdlc-layers article {
  border: 1px solid rgba(147, 161, 161, 0.24);
  background: rgba(7, 54, 66, 0.58);
}

.sdlc-flow div {
  min-height: 178px;
  padding: 14px;
}

.sdlc-flow span {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  place-items: center;
  color: #002b36;
  background: #5fd7e7;
  font-weight: 800;
}

.sdlc-flow strong,
.sdlc-layers strong {
  display: block;
  color: #fdf6e3;
  font-family: var(--sans);
  line-height: 1.15;
}

.sdlc-flow p,
.sdlc-layers p {
  margin: 10px 0 0;
  color: #d8d0b8;
  font-size: 14px;
  line-height: 1.45;
}

.sdlc-layers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sdlc-layers article {
  padding: 16px;
}

@media (max-width: 760px) {
  .runtime-content {
    width: min(100% - 28px, 1080px);
    padding-top: 34px;
  }

  .runtime-content-top {
    align-items: flex-start;
    padding: 10px 14px;
  }

  .runtime-content-top nav {
    gap: 8px 10px;
  }

  .content-hero h1 {
    font-size: clamp(38px, 14vw, 58px);
  }

  .content-grid-runtime,
  .podcast-player {
    grid-template-columns: 1fr;
  }

  .proof-table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .podcast-panel {
    padding: 18px;
  }
}
