/* Molecule: app window frame, title bar and code colours. */

.code-card, .window { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s ease-out; will-change: transform; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); font: 12px/1 var(--mono); color: var(--muted); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-bar i:nth-child(1) { background: #f0616d; }
.win-bar i:nth-child(2) { background: #f2c45a; }
.win-bar i:nth-child(3) { background: #45d6a8; }
.win-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code-card pre { margin: 0; padding: 20px; overflow-x: auto; font: 13.5px/1.75 var(--mono); }
.k { color: var(--warm); }
.t { color: var(--accent); }
.s { color: color-mix(in srgb, var(--accent) 60%, var(--text)); }
.n { color: var(--warm); }

@media (max-width: 720px) {
  .code-card pre { font-size: 12px; padding: 16px; }
}
