/* Shared Git chrome is the only source for typography, controls and panels. */
@import url("../../../progressive-git/attachments/lab/lab.css");

/* Only command-line model layouts are specific to these lessons. */
.cli-panel-head, .cli-status-group, .cli-inspection-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cli-status-group { justify-content: flex-end; }
.cli-source { display: block; font-family: var(--font-mono); font-size: .78rem; overflow-wrap: anywhere; }
.cli-model-arrow { padding: .1rem 1rem; color: var(--pen); }
.cli-arguments { display: flex; flex-wrap: wrap; gap: .55rem; }
.cli-argument { min-width: 5rem; max-width: 100%; }
.cli-argument small { display: block; font-size: .68rem; color: var(--pencil-60); }
.cli-argument code { font-family: var(--font-mono); font-size: .78rem; overflow-wrap: anywhere; }
.cli-variables { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.cli-variables span { display: inline-flex; gap: .5rem; }
.cli-variables code { font-family: var(--font-mono); font-size: .78rem; }
.cli-pipeline { display: grid; grid-template-columns: repeat(var(--steps),minmax(0,1fr)); gap: .65rem; margin: .5rem 0; }
.cli-step { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 0 .35rem; min-width: 0; text-align: left; }
.cli-step > span { grid-row: span 2; font-size: .75rem; color: var(--pencil-60); align-self: center; }
.cli-step b { font-family: var(--font-mono); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cli-step small { grid-column: 2; font-size: .68rem; }
.cli-step[aria-pressed=true]:not(:hover) { background: var(--postit); border-color: var(--pen); }
.cli-step:not(:last-child)::after { content: '→'; position: absolute; right: -.7rem; top: .4rem; color: var(--pen); }
.cli-step.skipped { border-style: dashed; opacity: .65; }
.cli-inspection-head { border-top: 1.5px dashed var(--pencil-25); padding-top: .5rem; margin-top: .5rem; }
.cli-inspection-head code { font-family: var(--font-mono); font-size: .75rem; }
.cli-inspection-head > span { font-size: .68rem; white-space: nowrap; }
.cli-sheets, .cli-file-pair { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: .55rem; align-items: start; }
.cli-channels { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.cli-transfer-arrow { align-self: center; color: var(--pen); }
.cli-file-pair { border-top: 1.5px dashed var(--pencil-25); padding-top: .55rem; margin-top: .6rem; }
.cli-text-row { display: flex; gap: .4rem; }
.cli-text-row code { font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cli-line-number { color: var(--pencil-45); min-width: 1rem; text-align: right; user-select: none; }
.cli-full-text { font-size: .72rem; color: var(--pencil-60); margin-top: .3rem; }
.cli-full-text summary { cursor: pointer; }
.cli-full-text pre { font: inherit; color: var(--pencil); white-space: pre-wrap; overflow-wrap: anywhere; }
.cli-files { margin-top: .85rem; }
.cli-files > summary { cursor: pointer; margin-bottom: 0; }
.cli-files .file-tabs { margin: .5rem 0; }
.cli-files [aria-pressed=true] { border-color: var(--pen); background: var(--postit); }
.cli-files .cell-name .lab-btn { margin-left: auto; }
.cli-hint { grid-column: 1 / -1; }
@media (max-width:560px) {
  .cli-pipeline { grid-template-columns: repeat(min(var(--steps),3),minmax(0,1fr)); gap: .5rem; }
  .cli-step:not(:last-child)::after { display: none; }
  .cli-sheets, .cli-file-pair { grid-template-columns: minmax(0,1fr); }
  .cli-transfer-arrow { justify-self: center; transform: rotate(90deg); }
}
