:root{
  --void:#010403;
  --ink:#020705;
  --panel:rgba(4,15,9,.92);
  --panel-soft:rgba(5,22,12,.76);
  --panel-deep:rgba(1,8,5,.86);
  --green:#7dff9e;
  --green-hot:#b2ffc4;
  --green-mid:#37d96b;
  --green-low:#185f32;
  --cyan:#70e8d0;
  --amber:#e8c66d;
  --text:#d9e7dc;
  --text-soft:#adbeb1;
  --muted:#718478;
  --dim:#46564c;
  --line:rgba(125,255,158,.22);
  --line-soft:rgba(125,255,158,.09);
  --line-bright:rgba(125,255,158,.42);
  --shadow:0 35px 110px rgba(0,0,0,.62);
  --mono:"Cascadia Code","JetBrains Mono","SFMono-Regular",Consolas,"Liberation Mono",monospace;
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}

*{box-sizing:border-box}
html{background:var(--void);scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  min-height:100svh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 74% -10%,rgba(56,220,108,.08),transparent 34rem),
    radial-gradient(circle at -10% 72%,rgba(48,181,144,.06),transparent 30rem),
    var(--void);
  color:var(--text);
  font-family:var(--mono);
}

button,a{font:inherit;color:inherit}
button{border:0}
a{text-decoration:none}
img{display:block;max-width:100%}
[hidden]{display:none!important}
::selection{background:var(--green);color:#001a08}

.skip-link{
  position:fixed;
  z-index:100;
  top:10px;
  left:10px;
  transform:translateY(-160%);
  padding:10px 14px;
  border:1px solid var(--green);
  background:#020b06;
  color:var(--green);
}
.skip-link:focus{transform:none}

#matrix{
  position:fixed;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  opacity:.54;
}
.environment-grid{
  position:fixed;
  z-index:1;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(125,255,158,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(125,255,158,.025) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.6),transparent 82%);
}
.scanlines{
  position:fixed;
  z-index:3;
  inset:0;
  pointer-events:none;
  opacity:.7;
  background:
    repeating-linear-gradient(0deg,rgba(255,255,255,.014) 0 1px,transparent 1px 4px),
    linear-gradient(90deg,rgba(0,0,0,.48),transparent 15% 85%,rgba(0,0,0,.48));
  box-shadow:inset 0 0 220px #000;
}

.site-shell{
  position:relative;
  z-index:2;
  width:min(1780px,100%);
  min-height:100svh;
  margin:0 auto;
  display:flex;
  flex-direction:column;
}

.topbar{
  min-height:78px;
  padding:14px clamp(16px,2.8vw,46px);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  border-bottom:1px solid var(--line-soft);
  background:linear-gradient(180deg,rgba(1,7,4,.96),rgba(1,7,4,.62));
  backdrop-filter:blur(16px);
}
.identity{
  justify-self:start;
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
}
.identity-mark{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border:1px solid var(--green);
  color:var(--green);
  font-size:.875rem;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow:inset 0 0 18px rgba(125,255,158,.08),0 0 24px rgba(125,255,158,.07);
  clip-path:polygon(0 0,82% 0,100% 18%,100% 100%,18% 100%,0 82%);
}
.identity-copy{min-width:0;display:flex;flex-direction:column}
.identity-copy strong{
  overflow:hidden;
  color:var(--green);
  font-size:.9rem;
  font-weight:650;
  letter-spacing:.08em;
  text-overflow:ellipsis;
}
.identity-copy small{
  margin-top:4px;
  color:var(--dim);
  font-size:.75rem;
  letter-spacing:.1em;
}
.identity:focus-visible,.effect-toggle:focus-visible{
  outline:1px solid var(--green);
  outline-offset:5px;
}

.node-state{
  display:flex;
  align-items:center;
  gap:10px;
  color:#6f8576;
  font-size:.75rem;
  letter-spacing:.12em;
  white-space:nowrap;
}
.state-light{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 14px var(--green);
  animation:status-pulse 2.8s ease-in-out infinite;
}
.node-state .divider{color:#294333}
#clock{color:#9eb3a4}
.effect-toggle{
  justify-self:end;
  padding:9px 0;
  background:transparent;
  color:#668071;
  cursor:pointer;
  font-size:.75rem;
  letter-spacing:.08em;
}
.effect-toggle:hover{color:var(--green)}
.effect-toggle[aria-pressed="true"]{color:var(--green)}
.effect-toggle[aria-pressed="false"]{color:var(--amber)}

.workspace{
  flex:1;
  display:grid;
  grid-template-columns:174px minmax(0,1fr) 318px;
  gap:16px;
  width:100%;
  min-height:0;
  padding:clamp(14px,2vw,30px);
}

.command-nav{
  min-width:0;
  height:max-content;
  padding:13px 0;
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  background:linear-gradient(180deg,rgba(3,15,8,.7),rgba(1,7,4,.46));
}
.nav-label{
  padding:2px 14px 13px;
  color:#4c6254;
  font-size:.75rem;
  letter-spacing:.18em;
}
.command-nav>button{
  position:relative;
  width:100%;
  min-height:67px;
  display:grid;
  grid-template-columns:30px 1fr;
  grid-template-rows:auto auto;
  align-items:center;
  padding:12px 12px;
  border-left:2px solid transparent;
  border-top:1px solid transparent;
  border-bottom:1px solid transparent;
  background:transparent;
  text-align:left;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease;
}
.command-nav>button::after{
  content:"";
  position:absolute;
  right:0;
  top:0;
  width:16px;
  height:1px;
  background:transparent;
}
.command-nav>button>span{
  grid-row:1/3;
  color:#3e5848;
  font-size:.75rem;
}
.command-nav>button>b{
  color:#84988a;
  font-size:.875rem;
  font-weight:550;
  letter-spacing:.04em;
}
.command-nav>button>small{
  color:#3f5447;
  font-size:.75rem;
  letter-spacing:.03em;
}
.command-nav>button:hover,.command-nav>button:focus-visible{
  outline:none;
  border-left-color:var(--green-low);
  background:linear-gradient(90deg,rgba(125,255,158,.055),transparent);
}
.command-nav>button:hover b,.command-nav>button:focus-visible b{color:var(--green)}
.command-nav>button[aria-current="page"]{
  border-left-color:var(--green);
  border-top-color:var(--line-soft);
  border-bottom-color:var(--line-soft);
  background:linear-gradient(90deg,rgba(125,255,158,.1),rgba(125,255,158,.012));
}
.command-nav>button[aria-current="page"]::after{background:var(--green)}
.command-nav>button[aria-current="page"] b{color:var(--green-hot)}
.command-nav>button[aria-current="page"] span{color:var(--green)}
.nav-foot{
  margin:28px 14px 4px;
  display:grid;
  gap:6px;
  color:#405347;
  font-size:.75rem;
  letter-spacing:.12em;
}
.nav-foot b{color:#668071;font-size:.75rem;font-weight:500}
.nav-foot i{width:100%;height:1px;margin:5px 0;background:linear-gradient(90deg,var(--green-low),transparent)}
.nav-foot small{font-size:.75rem;line-height:1.7}

.terminal-window{
  position:relative;
  min-width:0;
  height:calc(100svh - 150px);
  min-height:680px;
  overflow:hidden;
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(4,17,10,.965),rgba(1,8,5,.94));
  box-shadow:var(--shadow),0 0 52px rgba(72,255,121,.055);
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));
}
.terminal-window::before,.terminal-window::after{
  content:"";
  position:absolute;
  z-index:4;
  pointer-events:none;
}
.terminal-window::before{
  inset:0;
  background:
    linear-gradient(90deg,var(--green) 0 22px,transparent 22px) top left/100% 1px no-repeat,
    linear-gradient(180deg,var(--green) 0 22px,transparent 22px) top left/1px 100% no-repeat;
  opacity:.42;
}
.terminal-window::after{
  left:0;
  right:0;
  top:-35%;
  height:26%;
  background:linear-gradient(180deg,transparent,rgba(125,255,158,.025),transparent);
  animation:screen-sweep 11s linear infinite;
}
.terminal-bar{
  position:relative;
  z-index:5;
  height:46px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:0 15px;
  border-bottom:1px solid var(--line-soft);
  background:rgba(3,20,10,.82);
}
.window-lights{display:flex;gap:7px}
.window-lights span{width:8px;height:8px;border-radius:50%;background:#24412d}
.window-lights span:first-child{background:#4a8b5b}
.window-lights span:nth-child(2){background:#526f58}
.terminal-route{color:#76917e;font-size:.75rem;letter-spacing:.06em}
.terminal-meta{justify-self:end;color:#405649;font-size:.75rem;letter-spacing:.12em}
.terminal-stage{
  position:relative;
  height:calc(100% - 46px);
  min-height:0;
}
.terminal-panel{
  height:100%;
  overflow:auto;
  padding:clamp(28px,3vw,54px);
  scrollbar-width:thin;
  scrollbar-color:var(--green-low) transparent;
}
.terminal-panel::-webkit-scrollbar{width:8px}
.terminal-panel::-webkit-scrollbar-thumb{background:var(--green-low)}
.terminal-panel.is-active{animation:panel-enter .28s ease both}

.prompt-line{
  margin-bottom:29px;
  color:#6d8274;
  font-size:.875rem;
  letter-spacing:.02em;
}
.prompt-line span{color:var(--green)}
.overline{
  margin:0 0 13px;
  color:var(--green-mid);
  font-size:.75rem;
  letter-spacing:.17em;
}
h1,h2,h3,p{margin-top:0}
h1{
  max-width:970px;
  margin-bottom:24px;
  color:#eef7f0;
  font-size:clamp(3.2rem,6.3vw,7.3rem);
  line-height:.88;
  letter-spacing:-.068em;
  font-weight:650;
  text-wrap:balance;
}
h1 em{display:block;color:var(--green);font-style:normal;font-weight:520}
h2{
  max-width:940px;
  margin-bottom:26px;
  color:#edf6ef;
  font-size:clamp(2.1rem,4.3vw,4.9rem);
  line-height:.96;
  letter-spacing:-.052em;
  font-weight:630;
  text-wrap:balance;
}

.hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  gap:clamp(26px,4vw,58px);
  align-items:end;
}
.hero-lede{
  max-width:790px;
  margin-bottom:0;
  color:var(--text-soft);
  font-family:var(--sans);
  font-size:clamp(1rem,1.35vw,1.2rem);
  line-height:1.7;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:27px}
.hero-actions button{
  padding:11px 14px;
  border:1px solid var(--line);
  background:rgba(125,255,158,.03);
  color:#a9c9b2;
  cursor:pointer;
  font-size:.875rem;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.hero-actions button span{color:var(--green)}
.hero-actions button:hover,.hero-actions button:focus-visible{
  outline:none;
  transform:translateY(-2px);
  border-color:var(--line-bright);
  background:rgba(125,255,158,.085);
  color:var(--green-hot);
}
.operator-card{
  border:1px solid var(--line-soft);
  background:linear-gradient(145deg,rgba(125,255,158,.04),rgba(0,0,0,.2));
}
.operator-card-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px;
  border-bottom:1px solid var(--line-soft);
  color:#536c5b;
  font-size:.75rem;
  letter-spacing:.12em;
}
.operator-card-head b{color:var(--green);font-weight:500}
.operator-card dl{margin:0}
.operator-card dl div{
  min-height:54px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-bottom:1px dotted rgba(125,255,158,.1);
}
.operator-card dl div:last-child{border-bottom:0}
.operator-card dt{color:#607567;font-size:.75rem}
.operator-card dd{margin:0;color:#b9cdbd;font-size:.875rem;text-align:right}

.protocol{margin-top:38px;border-top:1px solid var(--line-soft)}
.protocol-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:11px 0;
  color:#58705e;
  font-size:.75rem;
  letter-spacing:.13em;
}
.protocol-head small{color:#394b3f;font-size:.75rem}
.protocol ol{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line-soft);
  border-left:1px solid var(--line-soft);
}
.protocol li{
  min-height:112px;
  padding:14px;
  display:flex;
  flex-direction:column;
  border-right:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  background:rgba(125,255,158,.018);
}
.protocol li>span{color:var(--green);font-size:.75rem}
.protocol li>b{margin:14px 0 6px;color:#c2d3c6;font-size:.875rem;font-weight:560}
.protocol li>small{color:#617466;font-family:var(--sans);font-size:.875rem;line-height:1.45}
.home-fragment{
  margin-top:24px;
  padding:15px 18px;
  border-left:2px solid var(--green);
  background:linear-gradient(90deg,rgba(125,255,158,.065),transparent 72%);
}
.fragment-label{color:#4f6b58;font-size:.75rem;letter-spacing:.13em}
.home-fragment blockquote{margin:9px 0 0;color:#a9bcad;font-size:.875rem;line-height:1.6}

.copy-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  max-width:1040px;
}
.copy-columns p,.section-heading p,.section-copy{
  color:var(--text-soft);
  font-family:var(--sans);
  font-size:1rem;
  line-height:1.72;
}
.principle-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:34px;
}
.principle-grid article{
  min-height:214px;
  padding:18px;
  border:1px solid var(--line-soft);
  background:linear-gradient(145deg,rgba(125,255,158,.025),rgba(0,0,0,.12));
  transition:border-color .18s ease,transform .18s ease;
}
.principle-grid article:hover{transform:translateY(-2px);border-color:var(--line)}
.principle-grid article>span{color:var(--green);font-size:.75rem}
.principle-grid h3{margin:50px 0 10px;color:#cad8cd;font-size:.95rem;font-weight:580}
.principle-grid p{margin-bottom:0;color:#708277;font-family:var(--sans);font-size:.875rem;line-height:1.55}
.command-output{
  margin-top:25px;
  padding:14px 17px;
  border-left:2px solid var(--green-low);
  background:rgba(0,0,0,.22);
}
.command-output span,.command-output code{display:block}
.command-output span{margin-bottom:7px;color:#4f6a57;font-size:.75rem}
.command-output code{color:#a9c3af;font-family:var(--mono);font-size:.875rem}

.stack-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:30px;
}
.stack-grid article{
  position:relative;
  min-height:142px;
  padding:18px 18px 18px 73px;
  overflow:hidden;
  border:1px solid var(--line-soft);
  background:rgba(125,255,158,.017);
}
.stack-index{
  position:absolute;
  top:17px;
  left:16px;
  color:var(--green);
  font-size:.75rem;
  letter-spacing:.12em;
}
.stack-grid article::after{
  content:"";
  position:absolute;
  left:54px;
  top:15px;
  bottom:15px;
  width:1px;
  background:linear-gradient(var(--green-low),transparent);
}
.stack-grid h3{margin:0 0 10px;color:#c3d3c6;font-size:.91rem;font-weight:580}
.stack-grid p{margin:0;color:#75887a;font-family:var(--sans);font-size:.875rem;line-height:1.6}
.system-path{
  margin-top:24px;
  padding:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  color:#718a78;
  font-size:.75rem;
  letter-spacing:.05em;
}
.system-path i{color:var(--green);font-style:normal}

.section-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:34px;
}
.section-heading p{max-width:760px}
.credential-total{display:flex;align-items:flex-end;gap:10px;flex:0 0 auto}
.credential-total strong{color:var(--green);font-size:4rem;line-height:.8;font-weight:500}
.credential-total span{color:#566b5c;font-size:.75rem;line-height:1.55;letter-spacing:.08em}
.section-label{
  margin:38px 0 13px;
  padding-top:14px;
  border-top:1px solid var(--line-soft);
  color:#718578;
  font-size:.75rem;
  font-weight:520;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.section-label span{margin-right:8px;color:var(--green)}
.badge-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.badge-grid-featured{grid-template-columns:repeat(3,minmax(0,1fr))}
.badge-card{
  min-width:0;
  min-height:96px;
  padding:11px;
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line-soft);
  background:linear-gradient(145deg,rgba(125,255,158,.026),rgba(0,0,0,.15));
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.badge-card:hover{
  transform:translateY(-2px);
  border-color:rgba(125,255,158,.29);
  background:rgba(125,255,158,.045);
}
.badge-card img{
  width:72px;
  height:72px;
  flex:0 0 72px;
  object-fit:contain;
  filter:drop-shadow(0 9px 13px rgba(0,0,0,.42));
}
.badge-card b,.badge-card span{display:block}
.badge-card b{color:#c0d1c4;font-size:.875rem;line-height:1.35}
.badge-card span{margin-top:6px;color:#5d7564;font-size:.75rem}
.ccna-path{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  gap:9px;
  align-items:center;
}
.ccna-path>.badge-card{min-height:176px;display:block;text-align:center}
.ccna-path>.badge-card img{width:104px;height:104px;margin:0 auto 8px}
.ccna-path>i{color:#4ca164;font-size:.75rem;font-style:normal;writing-mode:vertical-rl}
.external-command{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:28px;
  padding:11px 14px;
  border:1px solid var(--line);
  color:#9fbea7;
  font-size:.875rem;
}
.external-command span,.external-command b{color:var(--green)}
.external-command:hover,.external-command:focus-visible{outline:none;background:rgba(125,255,158,.07);border-color:var(--line-bright)}

.notes-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:30px;
}
.notes-grid article{
  min-height:194px;
  padding:17px;
  border:1px solid var(--line-soft);
  background:linear-gradient(145deg,rgba(125,255,158,.023),rgba(0,0,0,.12));
}
.notes-grid article>div{display:flex;justify-content:space-between;gap:12px}
.notes-grid article>div span{color:var(--green);font-size:.75rem;letter-spacing:.12em}
.notes-grid time{color:#475d4e;font-size:.75rem}
.notes-grid h3{margin:38px 0 10px;color:#c2d3c6;font-size:.92rem;font-weight:580}
.notes-grid p{margin:0;color:#75887b;font-family:var(--sans);font-size:.875rem;line-height:1.62}

.endpoint-list{display:grid;gap:10px;margin-top:34px}
.endpoint-list a{
  display:grid;
  grid-template-columns:46px minmax(190px,.7fr) minmax(260px,1fr);
  align-items:center;
  gap:18px;
  padding:17px;
  border:1px solid var(--line-soft);
  background:rgba(125,255,158,.018);
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.endpoint-list a:hover,.endpoint-list a:focus-visible{
  outline:none;
  transform:translateX(4px);
  border-color:var(--line-bright);
  background:rgba(125,255,158,.055);
}
.endpoint-index{color:var(--green);font-size:.75rem}
.endpoint-list div{display:flex;flex-direction:column;gap:6px}
.endpoint-list strong{color:#c6d5c9;font-size:.9rem}
.endpoint-list small{color:#617568;font-size:.75rem}
.endpoint-list b{color:#6f8876;font-size:.75rem;font-weight:500;text-align:right;overflow-wrap:anywhere}
.integrity-report{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin-top:28px;
  border-top:1px solid var(--line-soft);
  border-left:1px solid var(--line-soft);
}
.integrity-report div{padding:14px;border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.integrity-report span,.integrity-report b{display:block}
.integrity-report span{color:#53695a;font-size:.75rem}
.integrity-report b{margin-top:10px;color:var(--green);font-size:.875rem;font-weight:500}

.signal-rail{
  min-width:0;
  height:calc(100svh - 150px);
  min-height:680px;
  display:grid;
  grid-template-rows:auto minmax(300px,1fr) auto;
  gap:10px;
}
.rail-module{
  min-width:0;
  border:1px solid var(--line-soft);
  background:linear-gradient(155deg,rgba(3,16,9,.88),rgba(1,8,5,.75));
  backdrop-filter:blur(10px);
}
.module-head{
  min-height:35px;
  padding:0 11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--line-soft);
  color:#607768;
  font-size:.75rem;
  letter-spacing:.13em;
}
.module-head small{color:#394f40;font-size:.75rem}
.module-head button{
  padding:5px 0;
  background:transparent;
  color:#5c7563;
  cursor:pointer;
  font-size:.75rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.module-head button:hover,.module-head button:focus-visible{outline:none;color:var(--green)}
.module-head button[aria-pressed="true"]{color:var(--amber)}
.service{display:flex;justify-content:space-between;gap:10px;padding:9px 11px;border-bottom:1px dotted rgba(125,255,158,.08);font-size:.75rem}
.service:last-child{border-bottom:0}
.service>span{color:#6e8274;overflow:hidden;text-overflow:ellipsis}
.service b{display:flex;align-items:center;gap:6px;color:var(--green);font-size:.75rem;font-weight:500}
.service b i{width:5px;height:5px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}
.service b.inactive{color:#526259}
.service b.inactive i{box-shadow:none}
.service b.masked{color:var(--amber)}

.stream-module{min-height:0;display:flex;flex-direction:column}
.stream-command{padding:11px;color:#667a6d;font-size:.75rem;border-bottom:1px solid rgba(125,255,158,.05)}
.stream-command span{color:var(--green)}
.typed-feed{
  flex:1;
  min-height:0;
  overflow:hidden;
  padding:12px 11px 4px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
}
.feed-line{
  color:#83978a;
  font-size:.75rem;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.feed-line span{margin-right:6px;color:var(--green);font-size:.75rem}
.feed-line[data-kind="joke"]{color:#b5a376}
.feed-line[data-kind="joke"] span{color:var(--amber)}
.feed-line[data-kind="fact"] span{color:var(--cyan)}
.feed-line[data-kind="field"] span{color:var(--green)}
.feed-line[data-kind="observe"] span{color:#a5bba9}
.feed-line.seed{color:#526759}
.stream-cursor{padding:8px 11px 12px;color:#53695a;font-size:.75rem}
.stream-cursor span{color:#66836f}
.stream-cursor i{
  display:inline-block;
  width:7px;
  height:12px;
  margin-left:5px;
  background:var(--green);
  vertical-align:-2px;
  animation:cursor-blink 1s steps(1,end) infinite;
}
.method-module ol{list-style:none;margin:0;padding:10px 11px}
.method-module li{display:grid;grid-template-columns:26px 1fr;gap:7px;padding:6px 0;color:#718579;font-size:.75rem}
.method-module li span{color:#4f7058}
.method-module blockquote{
  margin:0 11px 12px;
  padding:10px 11px;
  border-left:2px solid var(--green-low);
  background:rgba(125,255,158,.02);
  color:#879b8d;
  font-size:.75rem;
  line-height:1.55;
}

.page-footer{
  min-height:42px;
  padding:0 clamp(16px,2.8vw,46px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line-soft);
  color:#405248;
  font-size:.75rem;
  letter-spacing:.1em;
}

@keyframes cursor-blink{50%{opacity:0}}
@keyframes status-pulse{50%{opacity:.45;box-shadow:0 0 5px var(--green)}}
@keyframes panel-enter{
  from{opacity:0;transform:translateY(8px);filter:blur(2px)}
  to{opacity:1;transform:none;filter:none}
}
@keyframes screen-sweep{
  0%{transform:translateY(-10%)}
  100%{transform:translateY(560%)}
}

.effects-off .terminal-window::after{display:none}
.effects-off .state-light,.effects-off .stream-cursor i{animation:none}

@media (max-width:1320px){
  .workspace{grid-template-columns:154px minmax(0,1fr) 288px}
  .command-nav>button{padding-inline:10px}
  .terminal-panel{padding:32px}
  h1{font-size:clamp(3rem,5.7vw,6.2rem)}
  .badge-grid-featured{grid-template-columns:repeat(2,minmax(0,1fr))}
  .principle-grid{grid-template-columns:repeat(2,1fr)}
  .principle-grid article{min-height:180px}
  .principle-grid h3{margin-top:34px}
}

@media (max-width:1080px){
  .topbar{grid-template-columns:1fr auto}
  .node-state{display:none}
  .workspace{grid-template-columns:154px minmax(0,1fr)}
  .signal-rail{
    grid-column:1/-1;
    height:auto;
    min-height:0;
    grid-template-columns:.8fr 1.55fr 1fr;
    grid-template-rows:minmax(240px,auto);
  }
  .typed-feed{min-height:170px}
  .hero{grid-template-columns:1fr}
  .operator-card{max-width:620px}
}

@media (max-width:760px){
  .scanlines{opacity:.48}
  #matrix{opacity:.4}
  .topbar{
    position:relative;
    min-height:68px;
    padding:12px;
    grid-template-columns:1fr auto;
  }
  .identity-mark{width:38px;height:38px;flex-basis:38px}
  .identity-copy small{display:none}
  .effect-toggle{font-size:.75rem}
  .workspace{
    display:block;
    padding:0 7px 14px;
  }
  .command-nav{
    position:sticky;
    z-index:20;
    top:0;
    margin:0 -7px 8px;
    padding:7px;
    display:flex;
    gap:5px;
    overflow-x:auto;
    border-top:0;
    background:rgba(1,9,5,.96);
    backdrop-filter:blur(15px);
    scrollbar-width:none;
  }
  .command-nav::-webkit-scrollbar{display:none}
  .nav-label,.nav-foot{display:none}
  .command-nav>button{
    width:auto;
    min-width:88px;
    min-height:54px;
    flex:0 0 auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:8px 10px;
    border:1px solid var(--line-soft);
  }
  .command-nav>button>span{display:none}
  .command-nav>button>b{font-size:.875rem}
  .command-nav>button>small{margin-top:3px;font-size:.75rem}
  .command-nav>button[aria-current="page"]{border:1px solid var(--line-bright)}
  .terminal-window{
    height:auto;
    min-height:0;
    clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
  }
  .terminal-stage{height:auto}
  .terminal-panel{height:auto;min-height:610px;overflow:visible;padding:25px 18px 32px}
  .terminal-bar{height:42px}
  .terminal-meta{display:none}
  .terminal-route{grid-column:2;white-space:nowrap}
  .prompt-line{margin-bottom:24px;font-size:.8rem;overflow-wrap:anywhere}
  h1{font-size:clamp(2.75rem,14vw,5rem)}
  h2{font-size:clamp(2rem,10vw,3.7rem)}
  .hero-lede{font-size:1rem}
  .protocol ol{grid-template-columns:1fr 1fr}
  .copy-columns{grid-template-columns:1fr;gap:5px}
  .principle-grid{grid-template-columns:1fr 1fr}
  .stack-grid{grid-template-columns:1fr}
  .badge-grid,.badge-grid-featured{grid-template-columns:1fr}
  .ccna-path{grid-template-columns:1fr}
  .ccna-path>i{justify-self:center;writing-mode:horizontal-tb;transform:rotate(90deg)}
  .ccna-path>.badge-card{min-height:0;display:flex;text-align:left}
  .ccna-path>.badge-card img{width:82px;height:82px;margin:0}
  .notes-grid{grid-template-columns:1fr}
  .endpoint-list a{grid-template-columns:36px 1fr}
  .endpoint-list a>b{grid-column:2;text-align:left}
  .integrity-report{grid-template-columns:1fr 1fr}
  .signal-rail{
    margin-top:10px;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(320px,auto) auto;
  }
  .page-footer{
    min-height:0;
    padding:13px;
    display:grid;
    justify-content:center;
    text-align:center;
    line-height:1.6;
  }
}

@media (max-width:480px){
  .identity-copy strong{font-size:.875rem}
  .effect-toggle span{display:none}
  .terminal-panel{padding:23px 14px 28px}
  h1{font-size:2.75rem}
  .operator-card dl div{grid-template-columns:1fr auto}
  .protocol-head{display:block}
  .protocol-head small{display:block;margin-top:5px}
  .protocol ol{grid-template-columns:1fr}
  .protocol li{min-height:92px}
  .principle-grid{grid-template-columns:1fr}
  .principle-grid article{min-height:0}
  .principle-grid h3{margin-top:24px}
  .system-path{justify-content:flex-start}
  .section-heading{display:block}
  .credential-total{margin:22px 0 10px}
  .badge-card img{width:66px;height:66px;flex-basis:66px}
  .endpoint-list a{padding:13px}
  .integrity-report{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  html:not(.effects-on),
  html:not(.effects-on) *,
  html:not(.effects-on) *::before,
  html:not(.effects-on) *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.001ms!important;
  }
  html:not(.effects-on) #matrix{display:none}
  html:not(.effects-on) .terminal-window::after{display:none}
}
