/* ============================================================
   Hermes command animation — "Your agents. Your command."
   Live, dependency-free illustration for the Lucy AIOS
   capability section. Replaces the static
   assets/aios-preview/hermes-workflow-official-mark.webp plate.
   Palette follows the site: black, off-white, greys, red accent.
   One 6.6s loop drives every beat.

   Layout: the command bar owns a full-width row so a long
   instruction is never clipped; the agent card and the output
   tray sit side by side underneath.
   ============================================================ */

.hc {
  /* One unit per authored pixel. Below the desktop breakpoint it is a real
     pixel; from 1200px up it tracks the plate width, so the whole mock scales
     as one object instead of growing an empty band when the section is taller
     than its fixed-size contents. */
  --hc-u: 1px;
  --hc-red: #ef625b;
  --hc-line: #353535;
  --hc-line-2: #242424;
  --hc-text: #f5f5f3;
  --hc-muted: #b5b5b0;
  --hc-dim: #83837d;
  --hc-wire-len: calc(44 * var(--hc-u));
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--hc-u));
  padding: calc(18 * var(--hc-u)) calc(18 * var(--hc-u)) calc(13 * var(--hc-u));
  border: calc(1 * var(--hc-u)) solid var(--hc-line);
  border-radius: calc(6 * var(--hc-u));
  background: #080808;
  color: var(--hc-text);
  font: 400 calc(13 * var(--hc-u))/1.5 var(--font-body);
  overflow: hidden;
}

/* ---------- layout ---------- */

/* The plate scales from its own width: 760 authored px fills the column, so
   type, cards, and the step rail all grow together and the plate keeps its
   shape at every desktop size. */
@media screen and (min-width: 1200px) {
  #aios-agents .aios-visual { container-type: inline-size; }
  .hc { --hc-u: max(1.1px, calc(100cqw / 760)); }
}

.hc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) var(--hc-wire-len) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  row-gap: calc(12 * var(--hc-u));
  align-items: start;
  flex: 1;
}

.hc-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hc-pane--command {
  grid-column: 1 / -1;
  grid-row: 1;
}

.hc-pane--agent {
  grid-column: 1;
  grid-row: 2;
}

.hc-pane--output {
  grid-column: 3;
  grid-row: 2;
}

.hc-wire--b {
  grid-column: 2;
  grid-row: 2;
}

.hc-pane-label {
  margin: 0 0 calc(7 * var(--hc-u));
  font-size: calc(11 * var(--hc-u));
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--hc-dim);
}

/* ---------- phase label slot (children share one grid cell) ---------- */

.hc-slot {
  display: inline-grid;
  vertical-align: middle;
}

.hc-slot > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
}

/* ---------- command terminal ---------- */

.hc-term {
  border: calc(1 * var(--hc-u)) solid var(--hc-line);
  border-radius: calc(5 * var(--hc-u));
  background: #0d0d0d;
  overflow: hidden;
  animation: hc-term-live 6.6s linear infinite;
}

.hc-term-bar {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--hc-u));
  padding: calc(7 * var(--hc-u)) calc(12 * var(--hc-u));
  border-bottom: calc(1 * var(--hc-u)) solid var(--hc-line-2);
  font-size: calc(11 * var(--hc-u));
  color: var(--hc-dim);
}

.hc-term-dot {
  width: calc(6 * var(--hc-u));
  height: calc(6 * var(--hc-u));
  border-radius: 50%;
  background: var(--hc-line);
}

.hc-term-bar .hc-slot {
  margin-left: auto;
}

.hc-term-body {
  display: flex;
  align-items: flex-start;
  gap: calc(8 * var(--hc-u));
  min-height: calc(40 * var(--hc-u));
  padding: calc(11 * var(--hc-u)) calc(12 * var(--hc-u));
  font: 400 calc(12.5 * var(--hc-u))/1.6 "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

.hc-prompt {
  color: var(--hc-red);
  flex: none;
}

.hc-typed {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  color: var(--hc-text);
  animation: hc-type 6.6s linear infinite;
}

.hc-caret-wrap {
  flex: none;
  margin-top: calc(3 * var(--hc-u));
  width: calc(7 * var(--hc-u));
  height: calc(15 * var(--hc-u));
  animation: hc-caret-phase 6.6s linear infinite;
}

.hc-caret {
  display: block;
  width: calc(7 * var(--hc-u));
  height: calc(15 * var(--hc-u));
  background: var(--hc-red);
  animation: hc-blink 1s steps(1, end) infinite;
}

.hc-term-foot {
  margin: 0;
  padding: 0 calc(12 * var(--hc-u)) calc(11 * var(--hc-u));
  font-size: calc(11.5 * var(--hc-u));
  color: var(--hc-dim);
  animation: hc-fade-in 6.6s linear infinite;
}

/* ---------- wire between agent and output ---------- */

.hc-wire {
  position: relative;
  align-self: center;
  height: calc(1 * var(--hc-u));
  background: var(--hc-line);
}

.hc-wire-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: calc(8 * var(--hc-u));
  height: calc(8 * var(--hc-u));
  margin: -calc(4 * var(--hc-u)) 0 0 -calc(4 * var(--hc-u));
  border-radius: 50%;
  background: var(--hc-red);
  opacity: 0;
}

.hc-wire--b .hc-wire-dot {
  animation: hc-deliver 6.6s linear infinite;
}

/* ---------- agent card ---------- */

.hc-agent {
  padding: calc(11 * var(--hc-u)) calc(13 * var(--hc-u)) calc(10 * var(--hc-u));
  border: calc(1 * var(--hc-u)) solid var(--hc-line);
  border-radius: calc(5 * var(--hc-u));
  background: #0d0d0d;
  animation: hc-agent-live 6.6s linear infinite;
}

.hc-agent-head {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--hc-u));
}

/* The site rule `.aios-visual img` sets width:100% on every image inside
   the figure, which would blow up the inline agent mark. Override it with
   higher specificity so the mark keeps its own box. */
.hc img.hc-agent-icon {
  width: calc(22 * var(--hc-u));
  height: calc(22 * var(--hc-u));
  max-width: calc(22 * var(--hc-u));
  object-fit: contain;
  object-position: center;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.hc-agent-name {
  font-size: calc(14 * var(--hc-u));
  font-weight: 600;
}

.hc-status {
  margin-left: auto;
  padding: calc(1 * var(--hc-u)) calc(9 * var(--hc-u));
  border: calc(1 * var(--hc-u)) solid var(--hc-line);
  border-radius: calc(999 * var(--hc-u));
  font-size: calc(11 * var(--hc-u));
  color: var(--hc-muted);
  animation: hc-status-live 6.6s linear infinite;
}

.hc-agent-sub {
  margin: calc(6 * var(--hc-u)) 0 0;
  font-size: calc(12 * var(--hc-u));
  color: var(--hc-dim);
}

.hc-tasks {
  margin: calc(9 * var(--hc-u)) 0 0;
  padding: 0;
  list-style: none;
}

.hc-task {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: calc(2 * var(--hc-u)) calc(10 * var(--hc-u));
  padding: calc(6 * var(--hc-u)) 0;
  border-top: calc(1 * var(--hc-u)) solid var(--hc-line-2);
}

.hc-task-name {
  font-size: calc(12 * var(--hc-u));
  color: var(--hc-text);
}

.hc-task-note {
  font-size: calc(11 * var(--hc-u));
  color: var(--hc-dim);
}

.hc-task-mark {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: calc(8 * var(--hc-u));
  margin-top: calc(5 * var(--hc-u));
}

.hc-track {
  flex: 1;
  height: calc(2 * var(--hc-u));
  border-radius: calc(2 * var(--hc-u));
  background: var(--hc-line);
  overflow: hidden;
}

.hc-track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--hc-red);
}

.hc-task--model .hc-track i { animation: hc-bar-model 6.6s linear infinite; }
.hc-task--files .hc-track i { animation: hc-bar-files 6.6s linear infinite; }
.hc-task--qa .hc-track i { animation: hc-bar-qa 6.6s linear infinite; }

.hc-task-check {
  flex: none;
  width: calc(12 * var(--hc-u));
  height: calc(12 * var(--hc-u));
  color: var(--hc-red);
  opacity: 0;
}

.hc-task--model .hc-task-check { animation: hc-check-model 6.6s linear infinite; }
.hc-task--files .hc-task-check { animation: hc-check-files 6.6s linear infinite; }
.hc-task--qa .hc-task-check { animation: hc-check-qa 6.6s linear infinite; }

.hc-agent-foot {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--hc-u));
  margin: calc(9 * var(--hc-u)) 0 0;
  padding-top: calc(8 * var(--hc-u));
  border-top: calc(1 * var(--hc-u)) solid var(--hc-line-2);
  font-size: calc(11 * var(--hc-u));
  color: var(--hc-dim);
  min-height: calc(18 * var(--hc-u));
}

.hc-live {
  flex: none;
  width: calc(6 * var(--hc-u));
  height: calc(6 * var(--hc-u));
  animation: hc-live-on 6.6s linear infinite;
}

.hc-live i {
  display: block;
  width: calc(6 * var(--hc-u));
  height: calc(6 * var(--hc-u));
  border-radius: 50%;
  background: var(--hc-red);
  animation: hc-pulse 1.1s ease-in-out infinite;
}

/* ---------- output column ---------- */

.hc-out {
  flex: 1;
  min-height: calc(132 * var(--hc-u));
  padding: calc(10 * var(--hc-u));
  border: calc(1 * var(--hc-u)) dashed var(--hc-line);
  border-radius: calc(5 * var(--hc-u));
  animation: hc-out-live 6.6s linear infinite;
}

.hc-out-empty {
  margin: 0;
  padding: calc(3 * var(--hc-u)) 0;
  font-size: calc(12 * var(--hc-u));
  color: var(--hc-dim);
  animation: hc-empty-out 6.6s linear infinite;
}

.hc-file {
  display: flex;
  align-items: flex-start;
  gap: calc(8 * var(--hc-u));
  margin: 0;
  padding: calc(8 * var(--hc-u)) calc(9 * var(--hc-u));
  border: calc(1 * var(--hc-u)) solid var(--hc-line);
  border-radius: calc(4 * var(--hc-u));
  background: #111111;
  font: 400 calc(11.5 * var(--hc-u)) "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  color: var(--hc-text);
  opacity: 0;
}

.hc-file + .hc-file {
  margin-top: calc(8 * var(--hc-u));
}

.hc-file--notes { animation: hc-file-notes 6.6s linear infinite; }
.hc-file--qa { animation: hc-file-qa 6.6s linear infinite; }

.hc-file-dot {
  flex: none;
  width: calc(6 * var(--hc-u));
  height: calc(6 * var(--hc-u));
  margin-top: calc(5 * var(--hc-u));
  border-radius: 50%;
  background: var(--hc-muted);
}

.hc-file--qa .hc-file-dot {
  background: var(--hc-red);
}

.hc-file-body {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--hc-u));
  min-width: 0;
}

.hc-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-file-flag {
  font: 400 calc(10 * var(--hc-u))/1.4 var(--font-body);
  color: var(--hc-red);
}

/* ---------- stage rail ---------- */

.hc-steps {
  display: flex;
  align-items: center;
  gap: calc(7 * var(--hc-u));
  font-size: calc(11 * var(--hc-u));
  color: var(--hc-dim);
}

.hc-step {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--hc-u));
  white-space: nowrap;
}

.hc-step::before {
  content: "";
  width: calc(5 * var(--hc-u));
  height: calc(5 * var(--hc-u));
  border-radius: 50%;
  background: currentColor;
}

.hc-step--1 { animation: hc-step-1 6.6s linear infinite; }
.hc-step--2 { animation: hc-step-2 6.6s linear infinite; }
.hc-step--3 { animation: hc-step-3 6.6s linear infinite; }
.hc-step--4 { animation: hc-step-4 6.6s linear infinite; }

.hc-step-sep {
  flex: 1;
  height: calc(1 * var(--hc-u));
  background: var(--hc-line-2);
}

/* ============================================================
   Timeline — 6.6s loop
   ============================================================ */

/* typed command: 19 characters revealed one at a time */
@keyframes hc-type {
  0% { width: 0ch; }
  2.2% { width: 0ch; animation-timing-function: steps(19, end); }
  20.5% { width: 19ch; animation-timing-function: linear; }
  92.4% { width: 19ch; }
  100% { width: 0ch; }
}

@keyframes hc-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes hc-caret-phase {
  0%, 2.4% { opacity: 0; }
  2.8% { opacity: 1; }
  20.5% { opacity: 1; }
  21.6% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes hc-term-live {
  0%, 21.9% { border-color: var(--hc-line); }
  22.5% { border-color: rgba(239, 98, 91, .5); }
  92.4% { border-color: rgba(239, 98, 91, .5); }
  100% { border-color: var(--hc-line); }
}

@keyframes hc-fade-in {
  0%, 30% { opacity: 0; }
  33% { opacity: 1; }
  92.4% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hc-deliver {
  0%, 65% { opacity: 0; transform: translateX(0); }
  65.5% { opacity: 1; transform: translateX(0); }
  74.8% { opacity: 1; transform: translateX(calc(var(--hc-wire-len) - calc(4 * var(--hc-u)))); }
  75.3% { opacity: 0; transform: translateX(calc(var(--hc-wire-len) - calc(4 * var(--hc-u)))); }
  100% { opacity: 0; transform: translateX(0); }
}

@keyframes hc-agent-live {
  0%, 22% { border-color: var(--hc-line); background-color: #0d0d0d; }
  30% { border-color: rgba(239, 98, 91, .58); background-color: #100e0e; }
  92.4% { border-color: rgba(239, 98, 91, .58); background-color: #100e0e; }
  100% { border-color: var(--hc-line); background-color: #0d0d0d; }
}

@keyframes hc-status-live {
  0%, 22% { border-color: var(--hc-line); color: var(--hc-muted); }
  30% { border-color: rgba(239, 98, 91, .5); color: var(--hc-red); }
  92.4% { border-color: rgba(239, 98, 91, .5); color: var(--hc-red); }
  100% { border-color: var(--hc-line); color: var(--hc-muted); }
}

/* status pill: exactly one label visible at a time */
.hc-slot-idle { animation: hc-slot-idle 6.6s linear infinite; }
.hc-slot-receiving { animation: hc-slot-receiving 6.6s linear infinite; }
.hc-slot-working { animation: hc-slot-working 6.6s linear infinite; }
.hc-slot-done { animation: hc-slot-done 6.6s linear infinite; }

/* terminal bar phase */
.hc-slot-waiting { animation: hc-slot-waiting 6.6s linear infinite; }
.hc-slot-running { animation: hc-slot-running 6.6s linear infinite; }
.hc-slot-finished { animation: hc-slot-finished 6.6s linear infinite; }

/* agent foot: exactly one line visible at a time */
.hc-slot-standby { animation: hc-slot-standby 6.6s linear infinite; }
.hc-slot-files { animation: hc-slot-files 6.6s linear infinite; }
.hc-slot-model { animation: hc-slot-model 6.6s linear infinite; }
.hc-slot-qa { animation: hc-slot-qa 6.6s linear infinite; }
.hc-slot-complete { animation: hc-slot-complete 6.6s linear infinite; }

@keyframes hc-slot-idle {
  0%, 21.9% { opacity: 1; }
  22.5%, 92.4% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes hc-slot-receiving {
  0%, 22.4% { opacity: 0; }
  23%, 30.5% { opacity: 1; }
  31%, 100% { opacity: 0; }
}

@keyframes hc-slot-working {
  0%, 30.9% { opacity: 0; }
  31.4%, 74.8% { opacity: 1; }
  75.3%, 100% { opacity: 0; }
}

@keyframes hc-slot-done {
  0%, 75.2% { opacity: 0; }
  75.6%, 92.4% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hc-slot-waiting {
  0%, 21.9% { opacity: 1; }
  22.5%, 100% { opacity: 0; }
}

@keyframes hc-slot-running {
  0%, 22.4% { opacity: 0; }
  23%, 74.8% { opacity: 1; }
  75.3%, 100% { opacity: 0; }
}

@keyframes hc-slot-finished {
  0%, 75.2% { opacity: 0; }
  75.6%, 92.4% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hc-slot-standby {
  0%, 21.9% { opacity: 1; }
  22.5%, 92.4% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes hc-slot-files {
  0%, 22.4% { opacity: 0; }
  23%, 35.5% { opacity: 1; }
  36%, 100% { opacity: 0; }
}

@keyframes hc-slot-model {
  0%, 35.9% { opacity: 0; }
  36.4%, 49.9% { opacity: 1; }
  50.4%, 100% { opacity: 0; }
}

@keyframes hc-slot-qa {
  0%, 50.3% { opacity: 0; }
  50.8%, 64.9% { opacity: 1; }
  65.4%, 100% { opacity: 0; }
}

@keyframes hc-slot-complete {
  0%, 75.2% { opacity: 0; }
  75.6%, 92.4% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hc-live-on {
  0%, 30.9% { visibility: hidden; }
  31.4% { visibility: visible; }
  74.8% { visibility: visible; }
  75.3%, 100% { visibility: hidden; }
}

@keyframes hc-bar-model {
  0%, 31% { width: 0; }
  44.7% { width: 100%; }
  92.4% { width: 100%; }
  100% { width: 0; }
}

@keyframes hc-bar-files {
  0%, 35.6% { width: 0; }
  50% { width: 100%; }
  92.4% { width: 100%; }
  100% { width: 0; }
}

@keyframes hc-bar-qa {
  0%, 40.9% { width: 0; }
  56.8% { width: 100%; }
  92.4% { width: 100%; }
  100% { width: 0; }
}

@keyframes hc-check-model {
  0%, 44.7% { opacity: 0; transform: scale(.7); }
  46% { opacity: 1; transform: none; }
  92.4% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.7); }
}

@keyframes hc-check-files {
  0%, 50% { opacity: 0; transform: scale(.7); }
  51.3% { opacity: 1; transform: none; }
  92.4% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.7); }
}

@keyframes hc-check-qa {
  0%, 56.8% { opacity: 0; transform: scale(.7); }
  58.1% { opacity: 1; transform: none; }
  92.4% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.7); }
}

@keyframes hc-out-live {
  0%, 64.8% { border-style: dashed; border-color: var(--hc-line); }
  65.6% { border-style: solid; border-color: rgba(239, 98, 91, .35); }
  92.4% { border-style: solid; border-color: rgba(239, 98, 91, .35); }
  100% { border-style: dashed; border-color: var(--hc-line); }
}

@keyframes hc-empty-out {
  0%, 65% { opacity: 1; }
  67% { opacity: 0; }
  92.4% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes hc-file-notes {
  0%, 68.9% { opacity: 0; transform: translateY(calc(6 * var(--hc-u))); }
  71% { opacity: 1; transform: none; }
  92.4% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(calc(6 * var(--hc-u))); }
}

@keyframes hc-file-qa {
  0%, 72.7% { opacity: 0; transform: translateY(calc(6 * var(--hc-u))); }
  74.8% { opacity: 1; transform: none; }
  92.4% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(calc(6 * var(--hc-u))); }
}

@keyframes hc-step-1 {
  0%, 21.9% { color: var(--hc-red); }
  22.5%, 100% { color: var(--hc-dim); }
}

@keyframes hc-step-2 {
  0%, 22.4% { color: var(--hc-dim); }
  23%, 30.5% { color: var(--hc-red); }
  31%, 100% { color: var(--hc-dim); }
}

@keyframes hc-step-3 {
  0%, 30.9% { color: var(--hc-dim); }
  31.4%, 64.9% { color: var(--hc-red); }
  65.4%, 100% { color: var(--hc-dim); }
}

@keyframes hc-step-4 {
  0%, 65.3% { color: var(--hc-dim); }
  65.6%, 92.4% { color: var(--hc-red); }
  100% { color: var(--hc-dim); }
}

@keyframes hc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

/* ---------- offscreen pause ---------- */

.hc-paused *,
.hc-paused *::before,
.hc-paused *::after {
  animation-play-state: paused !important;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .hc { --hc-wire-len: calc(32 * var(--hc-u)); }
}

@media (max-width: 800px) {
  .hc-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: calc(16 * var(--hc-u));
  }
  .hc-pane--command,
  .hc-pane--agent,
  .hc-pane--output { grid-column: 1; grid-row: auto; }
  .hc-wire { display: none; }
  .hc-out { min-height: calc(118 * var(--hc-u)); }
  .hc-step { font-size: calc(10.5 * var(--hc-u)); }
}

/* ---------- reduced motion: freeze on the finished frame ---------- */

@media (prefers-reduced-motion: reduce) {
  .hc *,
  .hc *::before,
  .hc *::after {
    animation: none !important;
    transition: none !important;
  }
  .hc-typed { width: 19ch; }
  .hc-caret-wrap { opacity: 0; }
  .hc-term { border-color: rgba(239, 98, 91, .5); }
  .hc-term-foot { opacity: 1; }
  .hc-agent { border-color: rgba(239, 98, 91, .58); background-color: #100e0e; }
  .hc-status { border-color: rgba(239, 98, 91, .5); color: var(--hc-red); }
  .hc .hc-slot > .hc-slot-idle,
  .hc .hc-slot > .hc-slot-receiving,
  .hc .hc-slot > .hc-slot-waiting,
  .hc .hc-slot > .hc-slot-standby,
  .hc .hc-slot > .hc-slot-files,
  .hc .hc-slot > .hc-slot-model,
  .hc .hc-slot > .hc-slot-qa { opacity: 0; }
  .hc .hc-slot > .hc-slot-done,
  .hc .hc-slot > .hc-slot-running,
  .hc .hc-slot > .hc-slot-finished,
  .hc .hc-slot > .hc-slot-complete { opacity: 1; }  .hc-track i { width: 100%; }
  .hc-task-check { opacity: 1; }
  .hc-out { border-style: solid; border-color: rgba(239, 98, 91, .35); }
  .hc-out-empty { opacity: 0; }
  .hc-file { opacity: 1; }
  .hc-live { visibility: hidden; }
  .hc-step--4 { color: var(--hc-red); }
}

/* Flatten the command plate: tighten internal rows so it can sit shorter
   without clipping; the plate height itself is set in wide-layout.css. */
.hc-body { row-gap: calc(9 * var(--hc-u)); }
.hc-term-bar { padding-block: calc(5 * var(--hc-u)); }
.hc-term-body { min-height: calc(34 * var(--hc-u)); padding-block: calc(8 * var(--hc-u)); }
.hc-term-foot { padding-bottom: calc(8 * var(--hc-u)); }
.hc-tasks { margin-top: calc(6 * var(--hc-u)); }
.hc-task { padding-block: calc(2 * var(--hc-u)); }
.hc-task-mark { margin-top: calc(2 * var(--hc-u)); }
.hc-agent { padding: calc(8 * var(--hc-u)) calc(12 * var(--hc-u)) calc(7 * var(--hc-u)); }
.hc-agent-sub { margin-top: calc(4 * var(--hc-u)); }
.hc-agent-foot { margin-top: calc(6 * var(--hc-u)); padding-top: calc(5 * var(--hc-u)); }
@media (min-width: 801px) and (max-width: 960px) {
  .hc-file-name { white-space: normal; overflow-wrap: anywhere; }
}
