.shell-root {
  min-height: 100vh;
  padding: 12px 14px 16px;
}

.shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  min-height: 44px;
}

.shell-main {
  min-height: calc(100vh - 66px);
}

.shell-prompt-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 1.1em;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.shell-prompt-shell {
  display: inline-flex;
  align-items: center;
  min-height: 1.1em;
  min-width: 12ch;
  justify-content: flex-start;
}

.shell-prompt-dollar {
  color: var(--blue);
}

.shell-prompt-text {
  display: inline-block;
  color: var(--green);
  min-height: 1em;
  white-space: pre;
}

.shell-prompt-cursor {
  display: inline-block;
  width: 0.64em;
  height: 1.02em;
  background: #ffffff;
  margin-left: 0.04em;
  flex: 0 0 auto;
  opacity: 1;
  animation: none;
  will-change: opacity;
}

.shell-prompt-cursor[data-state="typing"],
.shell-prompt-cursor[data-state="deleting"] {
  opacity: 1;
  animation: none;
}

.shell-prompt-cursor[data-state="holding"] {
  opacity: 1;
  animation: shellPromptBlink 0.92s steps(1, end) infinite;
}

@keyframes shellPromptBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.shell-header-right {
  margin-left: auto;
  color: var(--hint);
  font-size: 11px;
}

.shell-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.shell-action:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.placeholder-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px;
}

.placeholder-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.placeholder-copy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 840px) {
  .shell-root {
    padding: 10px;
  }
  .shell-main {
    min-height: calc(100vh - 60px);
  }
}
