/* Coherent Farming shell — "Harvest Light" skin, mobile first.
 *
 * Light/dark follow the system preference; [data-cf-theme] set by the
 * in-app toggle wins in both directions. Layout mirrors the
 * agricoltura-coerente-v2 structure: numbered step cards in a main flow
 * column with a sticky Session Preview / Detected Configuration sidebar
 * on desktop (≥960px).
 */

.cf-app {
  --cf-bg: #f6f5ee;            /* warm paper */
  --cf-surface: #ffffff;
  --cf-surface-soft: #f0efe4;
  --cf-border: #dfddc8;
  --cf-text: #24301c;
  --cf-muted: #6b7360;
  --cf-accent: #3e7d32;        /* field green */
  --cf-accent-strong: #2c5e23;
  --cf-accent-soft: #e4efdc;
  --cf-accent-text: #ffffff;
  --cf-gold: #c9a227;          /* harvest gold accent */
  --cf-danger: #b3261e;
  --cf-shadow: 0 1px 2px rgba(36, 48, 28, 0.06), 0 6px 18px rgba(36, 48, 28, 0.05);
  --cf-radius: 14px;

  box-sizing: border-box;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px;
  color: var(--cf-text);
  background: var(--cf-bg);
  border-radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  .cf-app {
    --cf-bg: #131b10;
    --cf-surface: #1b2616;
    --cf-surface-soft: #202c1a;
    --cf-border: #33422a;
    --cf-text: #e9f1e2;
    --cf-muted: #a3b399;
    --cf-accent: #7cb668;
    --cf-accent-strong: #5d9c4a;
    --cf-accent-soft: #24371d;
    --cf-accent-text: #0e1808;
    --cf-gold: #d8b94a;
    --cf-danger: #ef9a9a;
    --cf-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.25);
  }
}

.cf-app[data-cf-theme="dark"] {
  --cf-bg: #131b10;
  --cf-surface: #1b2616;
  --cf-surface-soft: #202c1a;
  --cf-border: #33422a;
  --cf-text: #e9f1e2;
  --cf-muted: #a3b399;
  --cf-accent: #7cb668;
  --cf-accent-strong: #5d9c4a;
  --cf-accent-soft: #24371d;
  --cf-accent-text: #0e1808;
  --cf-gold: #d8b94a;
  --cf-danger: #ef9a9a;
  --cf-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.25);
}

.cf-app[data-cf-theme="light"] {
  --cf-bg: #f6f5ee;
  --cf-surface: #ffffff;
  --cf-surface-soft: #f0efe4;
  --cf-border: #dfddc8;
  --cf-text: #24301c;
  --cf-muted: #6b7360;
  --cf-accent: #3e7d32;
  --cf-accent-strong: #2c5e23;
  --cf-accent-soft: #e4efdc;
  --cf-accent-text: #ffffff;
  --cf-gold: #c9a227;
  --cf-danger: #b3261e;
  --cf-shadow: 0 1px 2px rgba(36, 48, 28, 0.06), 0 6px 18px rgba(36, 48, 28, 0.05);
}

.cf-app *,
.cf-app *::before,
.cf-app *::after { box-sizing: inherit; }

.cf-app button,
.cf-app input,
.cf-app textarea,
.cf-app select,
.cf-app label,
.cf-app span,
.cf-app strong,
.cf-app p,
.cf-app li { max-width: 100%; }

/* ---------------- header ---------------- */

.cf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--cf-border);
}

.cf-title {
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.cf-title span { color: var(--cf-accent); }

.cf-nav { display: flex; gap: 6px; flex-wrap: wrap; }

.cf-nav button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--cf-muted);
  padding: 6px 12px;
  min-height: 34px;
  font-size: 0.82rem;
  cursor: pointer;
}

.cf-nav button:hover { color: var(--cf-text); background: var(--cf-surface-soft); }
.cf-nav button.is-active {
  color: var(--cf-accent-text);
  background: var(--cf-accent);
  border-color: var(--cf-accent);
  box-shadow: var(--cf-shadow);
}
.cf-nav button:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 1px; }

/* ---------------- hero / views ---------------- */

.cf-hero {
  background: linear-gradient(135deg, var(--cf-accent-soft), transparent 70%);
  border-radius: var(--cf-radius);
  padding: 20px 18px;
  margin-bottom: 16px;
}

.cf-hero h2 { margin: 0 0 6px; font-size: 1.25rem; }
.cf-hero p { margin: 0; color: var(--cf-muted); }

.cf-view > h2 { font-size: 1.1rem; margin: 8px 0 12px; }

.cf-lead { color: var(--cf-text); margin: 8px 0 16px; }
.cf-hint { color: var(--cf-muted); font-size: 0.85rem; }
.cf-center { text-align: center; }
.cf-counter { color: var(--cf-muted); font-size: 0.78rem; text-align: right; margin-top: -6px; }

.cf-status { min-height: 1.2em; font-size: 0.9rem; color: var(--cf-muted); }
.cf-status--error { color: var(--cf-danger); }

/* ---------------- buttons ---------------- */

.cf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  min-height: 46px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 0.06s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.cf-button:active { transform: scale(0.98); }
.cf-button:focus-visible { outline: 3px solid var(--cf-gold); outline-offset: 2px; }
.cf-button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.cf-button--primary { background: var(--cf-accent); color: var(--cf-accent-text); box-shadow: var(--cf-shadow); }
.cf-button--primary:hover:not(:disabled) { background: var(--cf-accent-strong); }
.cf-button--secondary {
  background: var(--cf-surface);
  color: var(--cf-text);
  border: 1px solid var(--cf-border);
}
.cf-button--secondary:hover:not(:disabled) { border-color: var(--cf-accent); }
.cf-button--big { width: 100%; padding: 16px; font-size: 1.05rem; margin-top: 14px; }

/* Loading state: spinner replaces interaction, label stays readable. */
.cf-button.is-loading { position: relative; color: transparent; }
.cf-button.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--cf-accent-text);
  border-top-color: transparent;
  animation: cf-spin 0.7s linear infinite;
}
.cf-button--secondary.is-loading::after { border-color: var(--cf-accent); border-top-color: transparent; }

@keyframes cf-spin { to { transform: rotate(360deg); } }

.cf-inline-button {
  background: none;
  border: none;
  color: var(--cf-muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 10px 6px;
  min-height: 40px;
}
.cf-inline-button:hover { color: var(--cf-text); }
.cf-inline-button:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 1px; border-radius: 6px; }

.cf-danger { color: var(--cf-danger); }

.cf-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0; min-width: 0; }

/* ---------------- panels / cards ---------------- */

.cf-panel {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--cf-shadow);
}

.cf-panel h3 { margin: 0 0 6px; font-size: 1rem; }

.cf-field { display: block; margin: 10px 0; }
.cf-field > span { display: block; font-size: 0.85rem; color: var(--cf-muted); margin-bottom: 4px; }
.cf-field input,
.cf-field textarea,
.cf-field select,
.cf-row input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 11px 12px;
  min-height: 44px;
  border: 1px solid var(--cf-border);
  border-radius: 10px;
  background: var(--cf-surface);
  color: var(--cf-text);
  font-size: 1rem;
}

.cf-field input:focus-visible,
.cf-field textarea:focus-visible,
.cf-field select:focus-visible,
.cf-row input:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 1px; }

.cf-field--inline { flex: 1 1 160px; min-width: 0; margin: 0; }
.cf-coord-row { align-items: flex-end; }
.cf-coord-row .cf-inline-button { flex: 0 1 auto; }
.cf-row input { width: auto; flex: 1 1 110px; min-width: 0; }

/* ---------------- program picker ---------------- */

.cf-program-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 12px 0; }

.cf-program-card {
  text-align: left;
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 16px;
  cursor: pointer;
  color: var(--cf-text);
  box-shadow: var(--cf-shadow);
  transition: border-color 0.15s ease, transform 0.06s ease;
}

.cf-program-card:hover { border-color: var(--cf-accent); }
.cf-program-card:focus-visible { outline: 3px solid var(--cf-gold); outline-offset: 2px; }
.cf-program-card:active { transform: scale(0.99); }
.cf-program-card strong { display: block; font-size: 1rem; }
.cf-program-card span { color: var(--cf-muted); font-size: 0.8rem; }

.cf-details {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 10px 0;
}

.cf-details summary { cursor: pointer; color: var(--cf-muted); font-size: 0.9rem; min-height: 32px; }
.cf-details summary:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 1px; }

/* ---------------- setup: layout + step cards ---------------- */

.cf-layout { display: block; }
.cf-flow { min-width: 0; }
.cf-sidebar { min-width: 0; margin-top: 16px; }

.cf-step-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--cf-shadow);
  min-width: 0;
}

.cf-step-num {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: var(--cf-accent-soft);
  color: var(--cf-accent-strong);
  border-radius: 50%;
  font-weight: 700;
}

.cf-step-body h3 { margin: 0; font-size: 1rem; }
.cf-step-body { min-width: 0; }
.cf-step-desc { margin: 2px 0 10px; color: var(--cf-muted); font-size: 0.88rem; }

.cf-select-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 8px; }

.cf-option-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--cf-border);
  border-radius: 12px;
  padding: 12px;
  margin: 8px 0;
  cursor: pointer;
  background: var(--cf-surface);
  min-width: 0;
}

.cf-option-card:hover { border-color: var(--cf-accent); }
.cf-option-card input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cf-accent); flex: none; }
.cf-option-card input:focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 2px; }
.cf-option-card strong { display: block; font-size: 0.95rem; }
.cf-option-card span { min-width: 0; }
.cf-option-card small { color: var(--cf-muted); font-size: 0.8rem; line-height: 1.35; overflow-wrap: anywhere; }

.cf-ref-modes { display: grid; grid-template-columns: 1fr; gap: 8px; }

.cf-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--cf-surface-soft);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0;
  font-size: 0.83rem;
  color: var(--cf-muted);
}

.cf-info strong {
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cf-accent);
  color: var(--cf-accent-text);
  font-size: 0.75rem;
}

.cf-info--warn strong { background: var(--cf-gold); color: #3a2f08; }

/* ---------------- uploads / media ---------------- */

.cf-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cf-upload-box {
  display: block;
  border: 1.5px dashed var(--cf-border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  margin: 8px 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cf-upload-box:hover { border-color: var(--cf-accent); background: var(--cf-surface-soft); }
.cf-file-input:focus-visible + .cf-upload-box { outline: 2px solid var(--cf-accent); outline-offset: 2px; }

.cf-upload-title { display: block; font-weight: 600; font-size: 0.92rem; }
.cf-upload-name { display: block; color: var(--cf-muted); font-size: 0.82rem; margin: 2px 0; word-break: break-all; }
.cf-upload-meta { display: block; color: var(--cf-muted); font-size: 0.72rem; }

.cf-extra-preview { display: flex; gap: 6px; flex-wrap: wrap; }
.cf-extra-preview img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--cf-border);
}

.cf-video-preview video { width: 100%; border-radius: 10px; max-height: 220px; background: #000; }

/* ---------------- overlay: image + coherence grid + HoloTag ---------- */

.cf-overlay {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--cf-border);
  background: #0b1408;
}

.cf-overlay-img { display: block; width: 100%; max-height: 340px; object-fit: cover; }

.cf-overlay-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 12.5%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 12.5%);
  mix-blend-mode: overlay;
}

.cf-overlay-holotag {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cf-overlay-holotag svg,
.cf-overlay-holotag .cf-holotag-placeholder {
  width: clamp(96px, 42%, 180px);
  max-width: 180px;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* ---------------- holotag ---------------- */

.cf-holotag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 12px;
  box-shadow: var(--cf-shadow);
}

.cf-holotag-code { font-size: 1.3rem; letter-spacing: 0.08em; word-break: break-all; text-align: center; }
.cf-holotag-graphic,
.cf-side-holotag-graphic,
.cf-overlay-holotag { min-width: 0; }
.cf-holotag-graphic svg,
.cf-holotag-graphic img { display: block; max-width: min(220px, 100%); height: auto; }
.cf-holotag-graphic:empty { display: none; }

.cf-holotag-placeholder {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--cf-accent);
  box-shadow: inset 0 0 0 6px var(--cf-accent-soft), 0 0 0 3px var(--cf-surface), 0 0 0 4px var(--cf-gold);
  display: grid;
  place-items: center;
  background: var(--cf-surface);
}

.cf-holotag-placeholder span { font-weight: 700; letter-spacing: 0.12em; color: var(--cf-accent-strong); }

/* ---------------- sidebar preview ---------------- */

.cf-side-card {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--cf-shadow);
}

.cf-side-card h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cf-muted);
}

.cf-summary-list { display: flex; flex-direction: column; }
.cf-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--cf-border);
}
.cf-summary-row:last-child { border-bottom: none; }
.cf-summary-row span { color: var(--cf-muted); flex: 0 1 46%; min-width: 0; overflow-wrap: anywhere; }
.cf-summary-row strong { flex: 1 1 auto; min-width: 0; text-align: right; overflow-wrap: anywhere; font-weight: 600; }

.cf-side-holotag { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.cf-side-holotag-graphic {
  width: 64px;
  min-height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cf-side-holotag-graphic svg,
.cf-side-holotag-graphic img,
.cf-side-holotag-graphic .cf-holotag-placeholder { display: block; width: 56px; max-width: 56px; height: auto; }
.cf-side-holotag-graphic .cf-holotag-placeholder { border-width: 2px; box-shadow: inset 0 0 0 3px var(--cf-accent-soft); }
.cf-side-holotag-graphic .cf-holotag-placeholder span { font-size: 0.7rem; }
.cf-side-holotag strong { min-width: 0; overflow-wrap: anywhere; font-size: 0.9rem; }

/* ---------------- run / field ---------------- */

.cf-run {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  box-shadow: var(--cf-shadow);
}

.cf-run-step { font-size: 1.1rem; }
.cf-run-meta { color: var(--cf-muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; }

.cf-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--cf-surface-soft);
  border: 1px solid var(--cf-border);
  overflow: hidden;
}

.cf-progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cf-accent), var(--cf-gold));
  transition: width 0.5s linear;
}

.cf-clock { font-variant-numeric: tabular-nums; font-size: 1.15rem; color: var(--cf-muted); }
.cf-clock--big { display: block; text-align: center; font-size: 2.6rem; color: var(--cf-text); margin: 18px 0; }

/* ---------------- lists / history / stats ---------------- */

.cf-list { list-style: none; margin: 8px 0; padding: 0; }
.cf-list li { padding: 9px 4px; border-bottom: 1px solid var(--cf-border); font-size: 0.9rem; }

.cf-history li { display: flex; flex-direction: column; gap: 2px; }
.cf-history li em { font-style: normal; font-size: 0.78rem; color: var(--cf-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cf-history-completed em { color: var(--cf-accent); }
.cf-history-interrupted em,
.cf-history-error em { color: var(--cf-danger); }

.cf-kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.cf-kpi {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--cf-shadow);
}
.cf-kpi strong { display: block; font-size: 1.3rem; word-break: break-word; }
.cf-kpi span { color: var(--cf-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }

.cf-resume {
  background: var(--cf-surface);
  border: 1.5px dashed var(--cf-accent);
  border-radius: var(--cf-radius);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.cf-active-sessions {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 14px 16px;
  margin: 12px 0;
  box-shadow: var(--cf-shadow);
}

.cf-active-sessions h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.cf-active-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cf-active-session {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px dashed var(--cf-border);
}
.cf-active-session:first-child { border-top: none; }
.cf-active-session strong,
.cf-active-session span { min-width: 0; overflow-wrap: anywhere; }
.cf-active-session em {
  color: var(--cf-muted);
  font-style: normal;
  font-size: 0.78rem;
}
.cf-active-session .cf-progress { grid-column: 1 / -1; height: 8px; }

.cf-screen-footer {
  margin: 18px 0 0;
  text-align: center;
  color: var(--cf-muted);
  font-size: 0.72rem;
}

.cf-footer {
  margin-top: 22px;
  text-align: center;
  color: var(--cf-muted);
  font-size: 0.75rem;
}

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

@media (min-width: 480px) {
  .cf-program-grid { grid-template-columns: 1fr 1fr; }
  .cf-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .cf-select-grid { grid-template-columns: 1fr 1fr; }
  .cf-ref-modes { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .cf-app { max-width: 1100px; padding: 24px 32px; }

  .cf-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
    gap: 20px;
    align-items: start;
  }

  .cf-sidebar {
    margin-top: 0;
    position: sticky;
    top: 16px;
  }

  /* Views without the sidebar keep a comfortable reading width. */
  .cf-view > .cf-panel,
  .cf-view > .cf-holotag,
  .cf-view > .cf-run,
  .cf-view > .cf-resume { max-width: 720px; }
}

@media (max-width: 520px) {
  .cf-app { padding: 14px 12px; border-radius: 14px; }
  .cf-nav { width: 100%; }
  .cf-nav button { flex: 1 1 auto; min-height: 40px; padding: 8px 10px; }
  .cf-button { width: 100%; padding-inline: 14px; }
  .cf-panel .cf-button + .cf-button,
  .cf-panel .cf-otp + .cf-button,
  .cf-panel [data-cf-otp-request] + .cf-otp,
  .cf-panel [data-cf-otp-request] + .cf-otp + .cf-button { margin-top: 10px; }
  .cf-otp { display: grid; gap: 10px; }
  .cf-coord-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .cf-coord-row .cf-inline-button { justify-self: start; }
  .cf-summary-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cf-summary-row strong { text-align: left; }
  .cf-active-session { grid-template-columns: minmax(0, 1fr); }
}
