/* Interim terminal page. Zero dependencies, no inline styles, strict-CSP safe. */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:#0b0b0c;
  color:#d6d6d2;
  font:16px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  -webkit-font-smoothing:antialiased;
  -webkit-text-size-adjust:100%;
}
.term{
  height:100%;
  padding:calc(env(safe-area-inset-top) + 16px) 14px 0 calc(env(safe-area-inset-left) + 14px);
  cursor:text;
}
.scroll{
  height:100%;
  overflow-y:auto;
  padding-bottom:calc(env(safe-area-inset-bottom) + 28px);
  -webkit-overflow-scrolling:touch;
}
.line{margin:0 0 2px;white-space:pre-wrap;word-break:break-word}
.dim{color:#6f6f6a}
.dim b{color:#a9a9a2;font-weight:400}
.log{margin:0}
.log .line{margin:0}
.log .echo{margin-top:12px}
.log .block{margin:2px 0 0}
.log .gap{height:10px}
.ok{color:#8fbf7f}
.key{color:#7fa8c9}
.warn{color:#c9a227}
.err{color:#c96a5a}
.bar{color:#4e4e49}

/* prompt + input */
.entry{display:flex;align-items:baseline;flex-wrap:wrap;margin-top:12px}
.prompt{white-space:nowrap;cursor:text}
.user{color:#8fbf7f}
.host{color:#7fa8c9}
.path{color:#c9a227}
.field{position:relative;flex:1 1 220px;min-width:0;margin-left:.6ch;display:inline-flex;align-items:baseline}
.mirror{white-space:pre;overflow:hidden;max-width:100%}
.input{
  position:absolute;
  inset:0;
  width:100%;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  color:transparent;
  caret-color:transparent;
  font:inherit;
  outline:none;
}
.cursor{
  display:inline-block;
  width:.62em;
  height:1.05em;
  flex:none;
  vertical-align:-.18em;
  background:#d6d6d2;
  animation:blink 1.06s steps(1,end) infinite;
}
.cursor.is-idle{background:#5a5a56;animation:none}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.cursor{animation:none;opacity:1}}
@media(max-width:600px){body{font-size:14px}}
