*{box-sizing:border-box}html,body{height:100%;margin:0}body{min-width:1100px;overflow:hidden;background:#000;color:#eee;font:14.4px Consolas,monospace}.app{height:100vh;display:grid;grid-template-rows:58px 1fr}header{display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #333;background:#0b0b0b;font-size:16.9px}header span{color:#7ee787;font-size:12px}.backlink{color:inherit;text-decoration:none;border-radius:4px}.backlink:hover b,.backlink:focus-visible b{text-decoration:underline}.backlink:focus-visible{outline:2px solid #7ee787;outline-offset:2px}.grid{min-height:0;display:grid;grid-template-columns:42% 58%}.guide{overflow:auto;padding:22px;border-right:1px solid #333;background:#0c0c0c}.guide h1{font-size:28.6px;margin:0 0 16px}.guide h2{font-size:22.1px;margin-top:26px}.notice,.privacy{padding:14px;border-left:4px solid #f2cc60;background:#151515;line-height:1.5}.privacy{margin-top:18px;border-color:#6dd5ed}ol{padding-left:28px}li{padding:8px 0 10px}li::marker{color:#6dd5ed;font-weight:bold}p{font:14.4px/1.55 Segoe UI,sans-serif;color:#aaa;margin:5px 0}code,kbd{color:#f2cc60;background:#181818;border:1px solid #333;padding:2px 5px}.command{display:flex;margin-top:8px;border:1px solid #444;background:#020202}.command code{flex:1;border:0;padding:10px}.command button,.bar button,.bar a{border:1px solid #465;background:#151515;color:#7ee787;padding:9px 12px;text-decoration:none;font:12px Consolas;cursor:pointer}.accord{border-top:1px solid #333}details{border-bottom:1px solid #333;padding:12px;background:#101010}summary{cursor:pointer;color:#eee;font-weight:bold}.editor{min-height:0;display:grid;grid-template-rows:54px 1fr 30px;position:relative}.bar{display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid #333;background:#101010;color:#7ee787}.bar div{display:flex;gap:8px}.bar a{background:#7ee787;color:#000;font-weight:bold}.code{min-height:0;display:grid;grid-template-columns:58px 1fr}.code pre{margin:0;padding:14px 10px;text-align:right;overflow:hidden;background:#0b0b0b;color:#555;font:15.6px/1.55 Consolas}.code textarea{resize:none;border:0;outline:0;padding:14px 18px;background:#060606;color:#eee;white-space:pre;overflow:auto;font:15.6px/1.55 Consolas}footer{display:flex;align-items:center;justify-content:space-between;padding:0 10px;background:#eee;color:#111;font-size:12px}#toast{position:absolute;right:18px;bottom:45px;padding:12px;background:#102014;color:#7ee787;border:1px solid #487b50;opacity:0;transition:.2s}#toast.show{opacity:1}@media(max-width:1400px){.grid{grid-template-columns:46% 54%}.bar>span{display:none}}
.legend{padding:14px;margin-bottom:14px;background:#111;border:1px solid #333;font:14.4px/1.55 Segoe UI,sans-serif}.legend ul,.detail ul{padding-left:22px}.legend li,.detail li{margin:7px 0}.ok{color:#7ee787}.warn{color:#f2cc60}.skip{color:#6dd5ed}.detail{padding-top:8px}.detail h3{margin:14px 0 5px;color:#6dd5ed;font:700 14.4px Consolas}.detail p,.detail li{color:#b5b5b5;font:14.4px/1.55 Segoe UI,sans-serif}.accord details[open]{background:#121712;border-left:3px solid #7ee787}.accord summary{font-size:15.6px}.accord summary::marker{color:#7ee787}
/* Director (this round): "cater to... down to phone size." body's
   min-width:1100px floor meant this whole two-pane code-viewer app never
   reflowed below 1100px -- overflow:hidden on body clipped the right pane
   (the actual diagnose.txt viewer + its download button) completely off
   screen and unreachable on any phone, not just visually cramped. .guide
   and .code's textarea already scroll internally (overflow:auto), so
   stacking the two grid panes vertically, each getting a share of the
   fixed 100vh app shell, keeps that same "independently scrolling panes"
   architecture instead of restructuring it -- just turns the split from
   side-by-side to top-and-bottom. */
@media(max-width:700px){
  body{min-width:0}
  .grid{grid-template-columns:1fr;grid-template-rows:1fr 1fr}
  .guide{border-right:0;border-bottom:1px solid #333}
}
