/* Heyming OS — embedded app surfaces (terminal, calculator) hosted inside .os-window-content.
 *
 * Brand-routed: the terminal fallback keeps a green-on-black identity by
 * routing through --success + --pure-black so the terminal still reads
 * as a terminal but the palette comes from /brand.css. The calculator
 * fallback uses brand surfaces / accent.
 */

/* Terminal Specific Styles */
.terminal-content {
  padding: 12px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.4;
  background: var(--pure-black);
  color: var(--success);
  height: 100%;
  overflow-y: auto;
}

.terminal-line {
  margin-bottom: 4px;
}

.terminal-prompt {
  color: var(--success);
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--success);
  font-family: inherit;
  font-size: inherit;
  width: 100%;
  caret-color: var(--success);
}

.terminal-input::placeholder {
  color: var(--success);
  opacity: 0.6;
}

/* Application Content Styles */
.calculator-content {
  padding: 16px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calculator-display {
  background: var(--pure-black);
  color: var(--success);
  padding: 12px;
  text-align: right;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.calculator-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.calculator-button {
  height: 40px;
  background: var(--surface-1);
  border: 1px solid var(--hairline-strong);
  color: var(--text-1);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.calculator-button:hover {
  background: var(--accent-primary-soft);
  border-color: var(--accent-primary);
}

.calculator-button:active {
  transform: scale(0.95);
}

.calculator-button.operator {
  background: var(--accent-primary-bg);
  color: var(--text-on-accent);
  border-color: var(--accent-primary-bg-hover);
}

.calculator-button.equals {
  background: var(--success);
  color: var(--text-on-accent);
  border-color: var(--success);
}
