/* PTY Terminal CSS - Linear Graphite */
@media(max-width:768px){
  .pty-shell { font-size: 11px; }
  .pty-header { flex-wrap: wrap; padding: 12px; gap: 8px; }
  .pty-actions { width: 100%; justify-content: flex-end; }
  .pty-output { font-size: 11px; }
  .pty-input-line { flex-wrap: wrap; }
  .pty-prompt { flex: 0 0 100%; }
  
  /* Mobile Keyboard Action Bar */
  .pty-mobile-keys {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: #151816;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .pty-mobile-keys button {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f4f0e7;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
  }
}
.pty-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  background: #0d0f0e;
  color: #f4f0e7;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}
.pty-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #151816;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pty-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.pty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fb087;
  box-shadow: 0 0 8px #8fb087;
}
.pty-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #afb6ad;
  user-select: none;
}
.pty-actions {
  display: flex;
  gap: 8px;
}
.pty-actions button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #afb6ad;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}
.pty-actions button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #f4f0e7;
}
.pty-viewport {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pty-output {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #d8dee9;
  white-space: pre-wrap;
  word-break: break-all;
}
.pty-input-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pty-prompt {
  color: #8fb087;
  font-weight: 700;
  font-size: 13px;
  user-select: none;
}
#pty-input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #f4f0e7;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
#pty-input::placeholder {
  color: #565f59;
}
