


.hero h1{font-size:clamp(36px,4vw,60px);}
.hero .lede{max-width:42ch;}
.onpage{margin-top:clamp(36px,5vh,56px); border-top:1px solid var(--line); padding-top:16px;}
.onpage ul{list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px 28px;}
.onpage a{font-size:16px; color:var(--fg-2); text-decoration:none;}
.onpage a:hover{color:var(--fg); text-decoration:underline;}
@media (max-width:560px){ .onpage ul{gap:8px 20px;} }


.flow{list-style:none; padding:0; border-bottom:1px solid var(--line);}
.flow li{display:grid; grid-template-columns:minmax(0,3fr) minmax(0,5fr) minmax(0,4fr); gap:clamp(20px,3vw,40px); padding:26px 0; border-top:1px solid var(--line); align-items:start;}
.flow .head{display:grid; grid-template-columns:28px minmax(0,1fr); gap:8px; align-items:baseline;}
.flow .n{font-size:14px; color:var(--fg-2); font-variant-numeric:tabular-nums;}
.flow .txt{color:var(--fg-2); max-width:52ch;}
.flow .txt code{color:var(--fg); font-size:.88em;}
.flow .ev{display:grid; gap:2px; background:var(--panel); border:1px solid var(--line); border-radius:var(--r-ctl); padding:10px 12px;}
.flow .ev code{display:block; font-size:13px; line-height:1.55; color:var(--fg); overflow-wrap:anywhere;}
.flow .ev .nw{white-space:nowrap;}

.flow .ev.kill{background:var(--ember); border-color:var(--ember);}
.flow .ev.kill code{color:var(--t-bone);}
.foot-note{margin-top:20px; font-size:15px; color:var(--fg-2);}
.foot-note code{color:var(--fg); font-size:.88em;}
@media (max-width:960px){
  .flow li{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); row-gap:14px;}
  .flow .ev{grid-column:2;}
}
@media (max-width:720px){
  .flow li{grid-template-columns:minmax(0,1fr); gap:10px; padding:22px 0;}
  .flow .ev{grid-column:auto; margin-top:4px;}
  .flow .txt{max-width:none;}
}


.dtable{width:100%; border-collapse:collapse; font-size:15px; line-height:1.5;}
.dtable caption{text-align:left; font-weight:500; font-size:15px; padding-bottom:12px; color:var(--fg);}
.dtable th, .dtable td{text-align:left; vertical-align:top; padding:14px 20px 14px 0; border-top:1px solid var(--line); color:var(--fg-2);}
.dtable tr:last-child th, .dtable tr:last-child td{border-bottom:1px solid var(--line);}
.dtable thead th{font-weight:400; font-size:14px; border-top:0; padding-top:0;}
.dtable tbody th{font-weight:500; color:var(--fg); width:19%;}
.dtable td:nth-child(2){width:27%;}
.dtable td:nth-child(3){width:15%; color:var(--fg);}
.dtable td code{font-size:13px; color:var(--fg); overflow-wrap:anywhere;}
.dtable td:last-child{padding-right:0;}
@media (max-width:720px){
  .dtable thead{display:none;}
  .dtable, .dtable tbody, .dtable tr{display:block;}
  .dtable tr{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 16px; padding:14px 0; border-top:1px solid var(--line);}
  .dtable tr:last-child{border-bottom:1px solid var(--line);}
  .dtable caption{display:block;}
  .dtable th, .dtable td, .dtable tr:last-child th, .dtable tr:last-child td, .dtable tbody th, .dtable td:nth-child(2), .dtable td:nth-child(3){border:0; padding:0; width:auto;}
  .dtable tbody th{grid-column:1;}
  .dtable td:nth-child(3){grid-column:2; grid-row:1; font-size:14px; color:var(--fg-2); text-align:right;}
  .dtable td:nth-child(2), .dtable td:last-child{grid-column:1 / -1;}
  .dtable td:nth-child(2){margin-top:2px;}
}

.where-go{margin-top:clamp(48px,7vh,72px);}
.placements{margin:0; border-bottom:1px solid var(--line);}
.placements > div{display:grid; grid-template-columns:minmax(0,10em) minmax(0,1fr); gap:20px; padding:14px 0; border-top:1px solid var(--line);}
.placements dt{font-weight:500; font-size:16px;}
.placements dd{margin:0; color:var(--fg-2); font-size:16px; max-width:58ch;}
@media (max-width:560px){ .placements > div{grid-template-columns:minmax(0,1fr); gap:4px;} }

.trio{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,48px); margin-top:clamp(48px,7vh,72px); padding-top:28px; border-top:1px solid var(--line);}
.trio h3{margin-bottom:8px;}
.trio p{color:var(--fg-2); max-width:40ch;}
@media (max-width:860px){ .trio{grid-template-columns:minmax(0,1fr); gap:28px;} .trio p{max-width:58ch;} }


.note.under{margin-top:14px;}
.addr-line{margin-top:16px; font-size:14px; color:var(--fg-2);}
.addr-line a{font-family:var(--mono); font-size:13px; color:var(--fg); user-select:all;}


.toggle{border:1px solid var(--quiet-line); background:transparent; border-radius:var(--r-ctl); min-height:32px; padding:0 12px; font-size:13px; font-weight:500; cursor:pointer; color:var(--fg);}
.toggle:hover{border-color:var(--fg);}
@keyframes breathe{50%{opacity:.25;}}



.world, .con{--well:var(--t-bone);}
.world{background:var(--panel); border:1px solid var(--line); border-radius:var(--r-panel); overflow:hidden;}
.world-head{display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:13px 18px; border-bottom:1px solid var(--line); font-size:14px; color:var(--fg-2);}
.world-head code{color:var(--fg); font-size:13px;}
.world-head .wstate{white-space:nowrap;}
.world-head .wstate span{font-family:var(--mono); font-size:13px; color:var(--fg);}
.group-name{padding:14px 18px 6px; font-size:13px; color:var(--fg-2);}
.files{list-style:none; margin:0; padding:0 8px 10px;}
.file{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; width:100%; min-height:40px; padding:0 10px; border:0; border-radius:var(--r-ctl); background:transparent; text-align:left; cursor:pointer; font-family:var(--mono); font-size:14px; color:var(--fg);}
.file > span:first-child{min-width:0; overflow-wrap:break-word;}
.file .nm{display:inline-block; max-width:100%; overflow-wrap:anywhere;}
.file:hover{background:var(--well);}
.file .size{font-size:12px; color:var(--fg-2); font-variant-numeric:tabular-nums;}
.file .dir{color:var(--fg-2);}
.file[aria-pressed="true"]{background:var(--well); box-shadow:inset 2px 0 0 var(--fg);}
.file:focus-visible{outline-offset:-2px;}
.file.hit{background:var(--ember); color:var(--t-bone); box-shadow:none;}
.file.hit .dir, .file.hit .size{color:var(--t-bone);}
.file:disabled{cursor:not-allowed; opacity:.38;}
.file.hit:disabled{opacity:1;}
.tools{display:flex; flex-wrap:wrap; gap:6px; padding:0 18px 16px;}
.tools .file{width:auto; grid-template-columns:auto; border:1px solid var(--line); font-size:13px; min-height:36px;}
.tools .file:focus-visible{outline-offset:2px;}
.preview{border-top:1px solid var(--line); padding:20px 18px 22px; min-height:190px; background:var(--well);}
.preview .hint{color:var(--fg-2); font-size:16px; max-width:46ch;}
.preview .hint code{color:var(--fg);}
.preview .path{font-family:var(--mono); font-size:13px; color:var(--fg-2); margin-bottom:12px;}
.preview pre{margin:0; font-size:13px; line-height:1.6; white-space:pre-wrap; word-break:break-word; max-height:220px; overflow:auto;}
.preview .note{margin-top:14px; font-size:15px;}
.verdict{font-family:var(--wide); font-stretch:125%; font-weight:600; font-size:clamp(22px,2.2vw,28px); line-height:1.15; letter-spacing:-0.02em; margin:0 0 16px; max-width:22ch;}
.logline{display:block; background:var(--ember); color:var(--t-bone); font-family:var(--mono); font-size:13px; padding:9px 12px; border-radius:var(--r-ctl); margin-bottom:16px; overflow-x:auto; white-space:pre;}
.preview .explain{font-size:16px; max-width:54ch;}
.preview .explain code{font-size:14px;}
.preview .btn{margin-top:20px;}
@media (max-width:560px){
  .logline{white-space:pre-wrap; word-break:break-all;}
  .world-head{flex-wrap:wrap; gap:4px 16px; padding:12px 14px;}
  .group-name{padding-left:14px; padding-right:14px;}
  .files{padding:0 4px 10px;}
  .tools{padding:0 14px 14px;}
  .preview{padding:18px 14px 20px;}
}


.con{margin-top:var(--after-intro); background:var(--panel); border:1px solid var(--line); border-radius:var(--r-panel); overflow:hidden;}
.con-top{display:flex; align-items:center; gap:18px; padding:10px 16px 10px 18px; border-bottom:1px solid var(--line); font-size:14px;}
.con-brand{display:inline-flex; align-items:center; gap:10px; font-weight:500;}
.con-brand .mark{width:20px; height:20px;}
.con-dot{fill:var(--fg); transition:fill .25s;}
.con.ended .con-dot{fill:var(--ember);}
.con-conn{margin-left:auto; display:inline-flex; align-items:center; gap:8px; color:var(--fg-2); white-space:nowrap;}
.con-conn i{width:7px; height:7px; border-radius:50%; background:var(--ash);}
.con.running .con-conn i{background:var(--fg); animation:breathe 1.6s ease-in-out infinite;}
.con-main{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,340px);}
.con-stage{min-width:0; padding:24px 28px 32px; border-right:1px solid var(--line); min-height:560px;}
.con-session{display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 24px; margin-bottom:20px;}
.con-session h3{margin:0; font-size:20px;}
.con-session h3 code{font-family:var(--mono); font-weight:400; font-size:16px; letter-spacing:0;}
.con-session p{color:var(--fg-2); font-size:15px;}
.con-session p b{color:var(--fg); font-weight:500;}

.con-ended{border-left:4px solid var(--ember); padding:2px 0 2px 22px; margin:4px 0 28px; animation:arrive .35s var(--ease);}
@keyframes arrive{from{opacity:0; transform:translateX(-8px);}}
.con-ended h4{font-family:var(--wide); font-stretch:125%; font-weight:600; font-size:clamp(32px,4.2vw,56px); line-height:1; letter-spacing:-0.035em; margin:0 0 14px;}
.con-ended p{font-size:17px; max-width:60ch;}
.con-ended p code{font-size:14px;}
.con-ended p + p{margin-top:8px; color:var(--fg-2); font-size:15px;}

.calls{width:100%; table-layout:fixed; border-collapse:collapse; font-variant-numeric:tabular-nums;}
.calls th.n{width:40px;} .calls th.time{width:120px;} .calls th.dec{width:84px;} .calls th.ms{width:96px;}
.calls th{text-align:left; font-weight:400; font-size:13px; color:var(--fg-2); padding:0 12px 10px 0; border-bottom:1px solid var(--line); white-space:nowrap;}
.calls th:first-child, .calls td:first-child{padding-left:10px;}
.calls th.ms, .calls td.ms{text-align:right; padding-right:10px;}
.calls td{padding:11px 12px 11px 0; border-bottom:1px solid var(--line); font-family:var(--mono); font-size:13.5px; vertical-align:baseline;}
.calls td.time, .calls td.ms{color:var(--fg-2); white-space:nowrap;}
.calls td.dec{font-family:var(--sans); font-size:14px; color:var(--fg-2);}
.calls td.call{overflow-wrap:anywhere;}
.calls .tgt{color:var(--fg-2);}
.calls .note{display:block; margin-top:3px; font-family:var(--sans); font-size:13px; color:var(--fg-2);}
.calls tr.row{cursor:pointer;}
.calls tr.row:hover td{background:var(--well);}
.calls tr.row.sel td{background:var(--well); box-shadow:inset 0 -1px 0 var(--fg);}
.calls tr.row.sel td:first-child{box-shadow:inset 2px 0 0 var(--fg), inset 0 -1px 0 var(--fg);}

.calls tr.row.killed td, .calls tr.row.killed .tgt, .calls tr.row.killed .note{background:var(--ember); color:var(--t-bone); border-bottom-color:var(--ember);}
.calls tr.row.killed.sel td{box-shadow:inset 0 -2px 0 var(--obsidian);}
.calls tr.row:focus-visible{outline:2px solid var(--focus); outline-offset:-2px;}
.calls tr.row.killed:focus-visible{outline-color:var(--t-bone); outline-offset:-4px;}
.calls .msm{display:none;}
.calls tr.row.killed .msm{color:var(--t-bone);}

.con-side{min-width:0;}
.con-side section{padding:22px; border-bottom:1px solid var(--line);}
.con-side section:last-child{border-bottom:0;}
.con-side h4{font-family:var(--sans); font-weight:500; font-size:16px; margin:0 0 4px;}
.con-side .sub{color:var(--fg-2); font-size:14px; margin-bottom:14px;}
.decoys{list-style:none; margin:0; padding:0;}
.decoy{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; padding:12px 0; border-top:1px solid var(--line);}
.decoy:first-child{border-top:0; padding-top:0;}
.decoy .name{font-weight:500;}
.decoy .where{grid-column:1 / -1; font-size:14px; color:var(--fg-2);}
.decoy .where code{font-size:12.5px; color:var(--fg);}
.decoy .state{font-size:14px; color:var(--fg-2);}
.decoy.touched .state{color:var(--t-bone); background:var(--ember); padding:0 8px; border-radius:var(--r-ctl);}
.con-side .hint{color:var(--fg-2); font-size:15px;}
.kv{display:grid; grid-template-columns:88px minmax(0,1fr); gap:8px 12px; margin:0;}
.kv dt{color:var(--fg-2); font-size:14px;}
.kv dd{margin:0; font-family:var(--mono); font-size:13px; overflow-wrap:anywhere;}
.con-side h5{font-family:var(--sans); font-weight:500; font-size:14px; color:var(--fg-2); margin:18px 0 8px;}
.con-side pre{margin:0; font-size:12px; line-height:1.55; background:var(--well); border:1px solid var(--line); border-radius:var(--r-ctl); padding:10px 12px; white-space:pre-wrap; word-break:break-word; max-height:230px; overflow:auto;}
.con-side pre:focus-visible{outline-offset:-2px;}
.con-side .why{margin-top:14px; font-size:14px; color:var(--fg);}
#console .more{margin-top:12px;}

@media (max-width:1000px){
  .con-main{grid-template-columns:minmax(0,1fr);}
  .con-stage{border-right:0; border-bottom:1px solid var(--line); min-height:0; padding:20px 18px 28px;}
  .calls td.time, .calls th.time{display:none;}
}
@media (max-width:560px){
  .calls td.ms, .calls th.ms{display:none;}
  .calls .msm{display:block; margin-top:3px; font-size:12px; color:var(--fg-2);}
  .calls th.n{width:28px;} .calls th.dec{width:66px;}
  .calls td{font-size:12.5px;}
  .con-stage{padding:18px 12px 24px;}
  .con-side section{padding:18px 14px;}
  .con-ended{padding-left:14px;}
  .con-ended p{font-size:15px;}
  .con-top{gap:12px; padding:8px 12px;}
}


#install .status{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,3vw,40px); margin-top:40px;}
#install .status h3{font-size:17px; padding-bottom:12px; border-bottom:1px solid var(--line);}
#install .status ul{list-style:none; padding:0; margin:0;}
#install .status li{padding:12px 0; border-bottom:1px solid var(--line); color:var(--fg-2); font-size:15px; line-height:1.5;}
#install .status li code{color:var(--fg); font-size:13px;}
#install .speed{margin-top:40px;}
#install .speed tbody th{width:62%;}
#install .speed td{color:var(--fg); white-space:nowrap; font-variant-numeric:tabular-nums;}
#install .speed + .note{margin-top:12px;}
@media (max-width:560px){
  #install .status{grid-template-columns:minmax(0,1fr); gap:28px;}
  #install .speed td{white-space:normal;}
}


#pilot .lede{color:var(--fg-2);}
#pilot .actions{margin-top:28px;}

@media (max-width:560px){ body{font-size:16px;} }
